Netbooting broken

Brooks Davis brooks at one-eyed-alien.net
Mon Apr 12 19:27:13 PDT 2004


On Mon, Apr 12, 2004 at 07:06:56PM -0700, Kris Kennaway wrote:
> Some time in the last 5 or 6 days days diskless booting has become
> broken:
> 
> Mounting root from nfs:
> NFS ROOT: 216.136.204.23:/a/nfs/5.dir3
> Interface fxp0 IP-Address 216.136.204.57 Broadcast 216.136.204.127
> load: 1.00  cmd: newfs 66 [block] 0.00u 0.01s 0% 640k
> 
> It looks like it's hanging at the point where it tries to create the
> md filesystems.  I tried going back to kernels from 2-4 days ago, but
> they all panic for various mutex-related reasons.

Adding the following early in etc/rc.d/initdiskless made things work for
me (code stolen from initrandom):

> # XXX temporary until we can improve the entropy
> # harvesting rate.
> # Entropy below is not great, but better than nothing.
> # This unblocks the generator at startup
> ( ps -fauxww; sysctl -a; date; df -ib; dmesg; ps -fauxww; ) \
>     | dd of=/dev/random bs=8k 2>/dev/null
> cat /bin/ls | dd of=/dev/random bs=8k 2>/dev/null

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040412/2844aa9c/attachment.bin


More information about the freebsd-current mailing list