Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Mar 1999 19:36:40 -0700 (MST)
From:      Nicholas Esborn <nje@carbon.marathon.org>
To:        current@FreeBSD.org, stable@FreeBSD.org
Subject:   Diskless boot stopping at "NFS ROOT:..."
Message-ID:  <Pine.BSF.4.05.9903131848020.47883-100000@carbon.marathon.org>

next in thread | raw e-mail | index | archive | help
This is a problem I have had on two seperate systems, running
3.0-RELEASE and now 3.1-STABLE built about a week ago.  The systems were
brought up seperately.

Unfortunately since this machine never comes up to any usable state, I
don't have detailed logs of its boot output.  I'll try to summarize:

I compiled the 3.1-S kernel with KERNFORMAT=aout and placed it in
/usr/local/netboot/fs/, my NFS rootfs.  The following dirs were cpio'd
from the host system:

drwxr-xr-x   2 root  wheel      512 Mar 13 17:51 bin
drwxr-xr-x   2 root  wheel     1024 Mar 13 17:52 lkm
drwxr-xr-x   2 root  wheel     1536 Mar 13 17:52 sbin
drwxr-xr-x   4 root  wheel      512 Mar 13 17:52 stand

I made usr and cpio'd the following dirs into it:

drwxr-xr-x   2 root  wheel  6144 Mar 13 18:03 bin
drwxr-xr-x   3 root  wheel   512 Mar 13 18:03 compat
drwxr-xr-x   4 root  wheel  3584 Mar 13 18:05 lib
drwxr-xr-x   9 root  wheel   512 Mar 13 18:05 libdata
drwxr-xr-x   7 root  wheel  1024 Mar 13 18:07 libexec
drwxr-xr-x   2 root  wheel  3584 Mar 13 18:07 sbin
drwxr-xr-x  26 root  wheel   512 Mar 13 18:15 share

I made etc and copied ttys into it.  I made the following rc:

#!/bin/sh
echo 'STARTING UP'
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
export PATH
ifconfig lo0 inet 127.0.0.1 netmask 0xffffffff
mount -t nfs -u 10.0.0.1:/export/boot/fs /
mount -a
/sbin/ldconfig -elf /usr/lib /usr/lib/compat /usr/X11R6/lib
while [ 1 -eq 1 ]; do
        /usr/X11R6/bin/XF86_S3 -bpp 16 -query deimos
done

The mounting stuff may be problematic, but it doesn't look like rc is
even running...

The clients find the kernel and start booting, goes through its bootpc
configuration obtaining all the right numbers, prints:

NFS ROOT: 10.0.0.1:/usr/local/netboot/fs

and stops.  I have to hard power cycle the client.

The kernel is GENERIC with BOOTP, BOOTP_NFSROOT, "BOOTP_NFSV3", and
BOOTP_COMPAT.  I can't tell if the nfs flags are getting set in the
kernel, as the machine never comes up to a shell.

Here's the irony: I can currently get 2.2.x booting through almost the
same procedures and setups (only differing where 2.2.x and 3.x features
differ).

Any ideas?  Thank you for your time either way.  Please respond to me by
email as I'm not on the mailing lists.

Nick Esborn



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?Pine.BSF.4.05.9903131848020.47883-100000>