Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2000 01:29:30 +0300
From:      Valentin Nechayev <netch@lucky.net>
To:        freebsd-current@freebsd.org
Subject:   Re: (1) hanging up on ldconfig; (2) entropy file read failed
Message-ID:  <20001016012930.A84518@lucky.net>
In-Reply-To: <20001015205259.F11062@lucky.net>; from netch@lucky.net on Sun, Oct 15, 2000 at 08:52:59PM %2B0300
References:  <20001015205259.F11062@lucky.net>

next in thread | previous in thread | raw e-mail | index | archive | help
 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001016012930.A84518>