From owner-freebsd-current@FreeBSD.ORG Mon Apr 12 20:46:59 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 B133616A4CE; Mon, 12 Apr 2004 20:46:59 -0700 (PDT) Received: from mtaw4.prodigy.net (mtaw4.prodigy.net [64.164.98.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7806143D41; Mon, 12 Apr 2004 20:46:59 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (9de2b9e7eb70ab95bfcbae4608e869c2@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128]) by mtaw4.prodigy.net (8.12.10/8.12.10) with ESMTP id i3D3kv1O007865; Mon, 12 Apr 2004 20:46:57 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 4400452322; Mon, 12 Apr 2004 20:46:57 -0700 (PDT) Date: Mon, 12 Apr 2004 20:46:57 -0700 From: Kris Kennaway To: Brooks Davis Message-ID: <20040413034657.GA24029@xor.obsecurity.org> References: <20040413020656.GA22971@xor.obsecurity.org> <20040413022652.GA29222@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: <20040413022652.GA29222@Odin.AC.HMC.Edu> User-Agent: Mutt/1.4.2.1i cc: current@freebsd.org cc: Kris Kennaway Subject: Re: Netbooting broken 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: Tue, 13 Apr 2004 03:46:59 -0000 --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--