Re: Netbooting broken

From: Brooks Davis <brooks_at_one-eyed-alien.net>
Date: Mon, 12 Apr 2004 19:26:52 -0700
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

Received on Mon Apr 12 2004 - 17:27:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:50 UTC