From owner-freebsd-current Sun Oct 15 15:29:38 2000 Delivered-To: freebsd-current@freebsd.org Received: from burka.carrier.kiev.ua (burka.carrier.kiev.ua [193.193.193.107]) by hub.freebsd.org (Postfix) with ESMTP id 55C0037B66D for ; Sun, 15 Oct 2000 15:29:33 -0700 (PDT) Received: from netch@localhost by burka.carrier.kiev.ua id BLJ84794 for freebsd-current@freebsd.org; Mon, 16 Oct 2000 01:29:30 +0300 (EEST) (envelope-from netch) Date: Mon, 16 Oct 2000 01:29:30 +0300 From: Valentin Nechayev To: freebsd-current@freebsd.org Subject: Re: (1) hanging up on ldconfig; (2) entropy file read failed Message-ID: <20001016012930.A84518@lucky.net> Reply-To: netch@lucky.net References: <20001015205259.F11062@lucky.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20001015205259.F11062@lucky.net>; from netch@lucky.net on Sun, Oct 15, 2000 at 08:52:59PM +0300 X-42: On Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sun, Oct 15, 2000 at 20:52:59, netch wrote about "(1) hanging up on ldconfig; (2) entropy file read failed": This is also entropy file and random device problem. ldconfig which hangs: pid=107, flag=004006, stat=3, wchan=c0336f80, wmesg=rndblk - waits for random data (?) This handing appeared with new random driver and setting entropy_file="NO" Why driver hangs when no seed was set? > System is: FreeBSD 5.0(13)-CURRENT-20001014 > > Three times, it hung up during boot after message: > setting ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/li > b > > trace from DDB said: > > .... [scgets and neighbours stuff] > atbkd_isa_intr() > ithd_loop() at ithd_loop+0x8a > fork_trampoline() at fork_trampoline+0x1b > > After that, I booted it to single mode, and after "ldconfig" (without > params) the hanging happened again. At 4th boot, it booted normally, > hence I came too late with idea to read kernel debugging section of handbook;| > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > About entropy file. At my home system, /var is not at / (it is symlink to > /usr/var). /etc/rc reads entropy file before mounting all filesystems, > and it failed and fell back to cat'ing /etc/* ;| > Should it be better to read entropy file after mounting all filesystems? > Imho it is incorrect to place it on root FS. /netch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message