Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jun 2006 01:02:54 -0700 (PDT)
From:      Nash Nipples <trashy_bumper@yahoo.com>
To:        lukem.freebsd@cse.unsw.edu.au
Cc:        freebsd-net@freebsd.org
Subject:   Re: Trouble booting NFS root
Message-ID:  <20060602080254.22583.qmail@web36309.mail.mud.yahoo.com>
In-Reply-To: <Pine.LNX.4.62.0606021053550.2594@wagner.orchestra.cse.unsw.EDU.AU>

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

Umm... 
I hope you didnt cut this portion out of your diskless kernel
options  NFS_ROOT # NFS usable as /, requires NFSCLIENT
options         NFSCLIENT               # Network Filesystem Client
options         NFSSERVER               # Network Filesystem Server

You migh also want to re-read FreeBSD Handbook chapter 27.6.2.4 Booting with PXE
(just in case)

and my /var/run/dmesg.boot has these lines instead
...
+Timecounter "TSC" frequency 1997211896 Hz quality 800
Timecounters tick every 1.000 msec
+IPv6 packet filtering initialized, unlimited logging
+ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to deny, logging unlimited
+ad0: 76319MB <WDC WD800JB-00ETA0 77.07W77> at ata0-master UDMA100
+acd0: DVDROM <HL-DT-STDVD-ROM GDR8161B/0102> at ata1-master UDMA33
+ad4: 35304MB <WDC WD360GD-00FLC0 33.08F33> at ata2-master SATA150
+Trying to mount root from ufs:/dev/ad4s1a
+rl0: link state changed to UP

so basicaly, may i suggest to ensure that you dont have your firewall cutting off the cord and there is no problems initializing on-board ata devices?

Nash





lukem.freebsd@cse.unsw.edu.au wrote: > make sure you have this: -rw-r--r-- 1 root wheel diskless_root/etc/rc

> diskless_root/etc/rc:
> /bin/sh #which points your rc file to shell so that you are your own rc!

While that is a useful tip, the NFS trace shows that the kernel doesn't 
even try to read any files. The last thing that gets read by anything is 
/etc/fstab, however it seems most likely that fstab was read by the 
bootloader rather than the kernel proper.

-- 
Luke
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


		
---------------------------------
Ring'em or ping'em. Make  PC-to-phone calls as low as 1¢/min with Yahoo! Messenger with Voice.



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