From owner-freebsd-current@FreeBSD.ORG Mon Apr 12 16:39:20 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 163C916A4CE; Mon, 12 Apr 2004 16:39:20 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id E00A543D3F; Mon, 12 Apr 2004 16:39:19 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:smmsp@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.3) with ESMTP id i3CNYEko006378; Mon, 12 Apr 2004 16:39:00 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i3CMa4Uk026580; Mon, 12 Apr 2004 15:36:04 -0700 Date: Mon, 12 Apr 2004 15:36:04 -0700 From: Brooks Davis To: Mark Murray Message-ID: <20040412223603.GA16967@Odin.AC.HMC.Edu> References: <20040412182518.GB797@zaphod.nitro.dk> <200404122219.i3CMJxIn091105@grimreaper.grondar.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" Content-Disposition: inline In-Reply-To: <200404122219.i3CMJxIn091105@grimreaper.grondar.org> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: freebsd-current@freebsd.org cc: "Simon L. Nielsen" Subject: Re: random(4) related panic: sleeping without a mutex X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2004 23:39:20 -0000 --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--