Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 2004 20:46:57 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Netbooting broken
Message-ID:  <20040413034657.GA24029@xor.obsecurity.org>
In-Reply-To: <20040413022652.GA29222@Odin.AC.HMC.Edu>
References:  <20040413020656.GA22971@xor.obsecurity.org> <20040413022652.GA29222@Odin.AC.HMC.Edu>

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

--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
> >=20
> > 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
> >=20
> > 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.
>=20
> Adding the following early in etc/rc.d/initdiskless made things work for
> me (code stolen from initrandom):
>=20
> > # 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=3D/dev/random bs=3D8k 2>/dev/null
> > cat /bin/ls | dd of=3D/dev/random bs=3D8k 2>/dev/null

Thanks, this works around the problem for me too.

Kris

--tKW2IUtsqtDRztdT
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAe2KwWry0BWjoQKURAgRPAKDYYwXF0P70dwZZcKddtBMv/qBs2QCeO4iR
efMeUYisBwLXTqurZeC0R8Y=
=nblB
-----END PGP SIGNATURE-----

--tKW2IUtsqtDRztdT--



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