Date: Mon, 12 Apr 2004 15:36:04 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Mark Murray <markm@freebsd.org> Cc: "Simon L. Nielsen" <simon@freebsd.org> Subject: Re: random(4) related panic: sleeping without a mutex Message-ID: <20040412223603.GA16967@Odin.AC.HMC.Edu> In-Reply-To: <200404122219.i3CMJxIn091105@grimreaper.grondar.org> References: <20040412182518.GB797@zaphod.nitro.dk> <200404122219.i3CMJxIn091105@grimreaper.grondar.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 12, 2004 at 11:19:59PM +0100, Mark Murray wrote: > "Simon L. Nielsen" writes: > > > Yeah. Part of the startup does a "kickstart" of the device by writing > > > garbage to it. I wonder why it didn't do that this time. Is your > > > /etc/rc* completely up to date? What is in your rc.conf? > >=20 > > The problem is that I use initdiskless which is run as the very first > > rc.d script, even before initrandom. It has to run first since /etc is > > replaced by that script. >=20 > Hmmm. Methinks initdiskless should depend on initrandom. As it stands, initdiskless can't really depend on initrandom because initrandom depends on /etc/rc.conf existing and /etc may not exist until after initdiskless does. For the purposes of initdiskless, feeding /dev/random noisy command output should be sufficent so either adding that directly or creating a preseedrandom script that runs before initdiskless should be OK. -- Brooks --=20 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 --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAexnSXY6L6fI4GtQRAlCXAKDi3PE6V0sHcfJ8pKPvvKHA9SYjbACg04i/ l3IcifE8MIxh3SLAh9fR5LU= =7lz0 -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040412223603.GA16967>