Date: Mon, 12 Apr 2004 19:26:52 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Kris Kennaway <kris@obsecurity.org> Cc: current@freebsd.org Subject: Re: Netbooting broken Message-ID: <20040413022652.GA29222@Odin.AC.HMC.Edu> In-Reply-To: <20040413020656.GA22971@xor.obsecurity.org> References: <20040413020656.GA22971@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040413022652.GA29222>