From owner-freebsd-stable Sat Mar 13 18:37:18 1999 Delivered-To: freebsd-stable@freebsd.org Received: from carbon.marathon.org (carbon.marathon.org [209.180.116.41]) by hub.freebsd.org (Postfix) with ESMTP id 0E17814F66; Sat, 13 Mar 1999 18:37:00 -0800 (PST) (envelope-from nje@carbon.marathon.org) Received: from localhost (nje@localhost) by carbon.marathon.org (8.9.2/8.9.2) with ESMTP id TAA49856; Sat, 13 Mar 1999 19:36:41 -0700 (MST) (envelope-from nje@carbon.marathon.org) Date: Sat, 13 Mar 1999 19:36:40 -0700 (MST) From: Nicholas Esborn To: current@FreeBSD.org, stable@FreeBSD.org Subject: Diskless boot stopping at "NFS ROOT:..." Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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-stable" in the body of the message