From owner-freebsd-current@FreeBSD.ORG Mon Apr 12 19:27:13 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 7268E16A4CE for ; Mon, 12 Apr 2004 19:27:13 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5504F43D53 for ; Mon, 12 Apr 2004 19:27:11 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.3) with ESMTP id i3D2QqkS007881; Mon, 12 Apr 2004 19:26:52 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i3D2QqNS007880; Mon, 12 Apr 2004 19:26:52 -0700 Date: Mon, 12 Apr 2004 19:26:52 -0700 From: Brooks Davis To: Kris Kennaway Message-ID: <20040413022652.GA29222@Odin.AC.HMC.Edu> References: <20040413020656.GA22971@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline In-Reply-To: <20040413020656.GA22971@xor.obsecurity.org> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: current@freebsd.org 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 02:27:13 -0000 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. 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=3D/dev/random bs=3D8k 2>/dev/null > cat /bin/ls | dd of=3D/dev/random bs=3D8k 2>/dev/null -- 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 --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAe0/CXY6L6fI4GtQRAluOAKDe679pbuXZCgsIdqH9XMNt7EpgtgCg0VOo MOUsYTCXrbzLhYvbmV33rBY= =Ec7O -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2--