Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Aug 1998 23:27:08 -0700
From:      Parag Patel <parag@cgt.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   NFS diskless booting (NFS root/swap) broken in -current?
Message-ID:  <199808030627.XAA01496@pinhead.parag.codegen.com>

next in thread | raw e-mail | index | archive | help

I haven't been able to boot my 486 test machine diskless with the 
latest -current.  It used to boot (using nb8390.com under DOS) and run 
fine when my server was -stable, but I unfortunately haven't tried it 
in weeks and didn't keep a copy of the working sources to compare.

My config file for the diskless node is unchanged from when it used to 
work.  The same kernel can boot off of the local UIDE disk or entirely 
off of NFS (both root and swap).  (I use it for testing CMD's UIDE chip 
and was trying to use it to debug the AppleTalk loop-back problem.)

The latest -current kernel will boot off of the disk, but won't off of 
NFS.  locore.s doesn't appear to recognize that it got a legit NFS boot 
request or a root and instead falls back to the default old-style boot 
(which fails for different reasons).

Forcing it to boot NFS by adding BOOTP_NFSROOT in the config file 
causes this crash:

	panic: nfs_mountroot: socreate(0000): 43

It's correct in that the protocol is not supported, but it shouldn't be 
using 0 for the protocol family.  It doesn't matter if I netboot the 
kernel, or copy it to the disk and then boot it.  Did something change 
such that I need some new magic incantation in the config file now?

(The BOOTP_NFSV3 option didn't make any difference.)

When I boot (root and swap) off of the local disk, it is quite happy 
NFS-mounting my server, so I suspect some kernel change in the past few 
weeks broke diskless.  I didn't notice anything obvious in the CVS logs 
for the few files I looked at, but I'm probably not looking at the 
right place.

Thanks in advance for any help.


	-- Parag Patel


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808030627.XAA01496>