Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2000 14:14:05 -0700
From:      "Brian O'Shea" <boshea@ricochet.net>
To:        "John W. De Boskey" <jwd@FreeBSD.ORG>
Cc:        "David O'Brien" <obrien@FreeBSD.ORG>, Donny Lee <donny@CoreBit.com>, Leif Neland <leifn@neland.dk>, freebsd-current@FreeBSD.ORG
Subject:   Re: -current hangs during boot
Message-ID:  <20001023141405.Z622@beastie.localdomain>
In-Reply-To: <20001022193539.A38460@bsdwins.com>; from John W. De Boskey on Sun, Oct 22, 2000 at 07:35:39PM -0400
References:  <Pine.BSF.4.21.0010220956440.32758-100000@arnold.neland.dk> <39F2A1D0.2FC92123@CoreBit.com> <20001022154231.C4742@dragon.nuxi.com> <20001022193539.A38460@bsdwins.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
boshea@ricochet.net


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?20001023141405.Z622>