Re: Netbooting broken

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Mon, 12 Apr 2004 20:46:57 -0700
On Mon, Apr 12, 2004 at 07:26:52PM -0700, Brooks Davis wrote:
> 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

Thanks, this works around the problem for me too.

Kris

Received on Mon Apr 12 2004 - 18:46:59 UTC

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