On Sun, Oct 22, 2000 at 07:35:39PM -0400, John W. De Boskey wrote:
> ----- David O'Brien's Original Message -----
> > On Sun, Oct 22, 2000 at 04:14:08PM +0800, Donny Lee wrote:
> > >  with the mfs enable, it hangs there right after FILESYSTEM
> > >  checking, and with random_load set to YES, it hangs at ldconfig.
> > 
> > mount_mfs is blocking on "rndblk".  Our /dev/*random is fubar'ed *again*.
> 
>    I saw this the other day...
> 
>    I've been examining the mfs code, and I'm not really sure why
> it needs to use random values...

When ldconfig hangs, it is in a mkstemp() call.  The mkstemp()
function probably uses random numbers to generate unique file names:

#0  0x8054340 in read ()
#1  0x804c966 in mktemp ()
#2  0x804ca33 in arc4random_stir ()
#3  0x804cad9 in arc4random ()
#4  0x804c791 in mktemp ()
#5  0x804c692 in mkstemp ()
#6  0x804886a in write_elf_hints ()
#7  0x8048818 in update_elf_hints ()
#8  0x8048c61 in main ()
#9  0x8048139 in _start ()


-brian

-- 
Brian O'Shea
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to