From owner-freebsd-net@FreeBSD.ORG Thu Jun 1 05:46:40 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAAFE16A6DC for ; Thu, 1 Jun 2006 05:46:40 +0000 (UTC) (envelope-from lukem@cse.unsw.edu.au) Received: from tone.orchestra.cse.unsw.EDU.AU (tone.orchestra.cse.unsw.EDU.AU [129.94.242.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE99243D49 for ; Thu, 1 Jun 2006 05:46:39 +0000 (GMT) (envelope-from lukem@cse.unsw.edu.au) Received: From wagner.orchestra.cse.unsw.EDU.AU ([129.94.242.19]) (ident-user root) (for ) By tone With Smtp ; Thu, 1 Jun 2006 15:46:38 +1000 Received: From wagner With LocalMail ; Thu, 1 Jun 2006 15:46:38 +1000 From: lukem.freebsd@cse.unsw.edu.au Sender: lukem@cse.unsw.edu.au To: freebsd-net@freebsd.org Date: Thu, 1 Jun 2006 15:46:37 +1000 (EST) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Trouble booting NFS root X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 05:46:41 -0000 I'm trying to set up a small cluster of diskless boxes using FreeBSD 6.1. So Far, PXE loads pxeboot which loads the kernel. But the kernel stops in the middle of booting for no apparent reason. The last thing on the console is "Timecounters tick every 1.000 msec", which usually occurs just before the root partition is mounted. When I do a traffic dump on the NFS server, I see: mount /mnt/local/tinny/root lookup /etc lookup fstab.split (this fails as there is no /etc/fstab.split) mount /mnt/local/tinny/root lookup /etc lookup /etc/fstab.gz.split (also fails) mount /mnt/local/tinny/root lookup /etc lookup /etc/fstab.gz (also fails) mount /mnt/local/tinny/root lookup /etc lookup /etc/fstab (this time it succeeds) read from filehandle (contents of /etc/fstab look correct in packet) second read from the filehandle (returns empty --- I assume this is EOF) /mnt/local/tinny/fstab contains: :/mnt/local/tinny/root / nfs ro 0 0 :/mnt/local/tinny/usr /usr nfs ro 0 0 The root partition contains the base and generic kernel from the freebsd install cd, and the usr partition is empty for now. (Yes, I'm using the GENERIC kernel, though I've also tried it with BOOTP, BOOTP_NFSROOT and BOOTP_COMPAT options, which shouldn't, and didn't make any difference). Questions: 1) Are the reads to fstab from the kernel or the bootloader? 2) Why does the kernel stop at this point, and how can I fix it? -- Luke