From owner-freebsd-current Mon Oct 23 14:12:18 2000 Delivered-To: freebsd-current@freebsd.org Received: from femail2.sdc1.sfba.home.com (femail2.sdc1.sfba.home.com [24.0.95.82]) by hub.freebsd.org (Postfix) with ESMTP id A064B37B479; Mon, 23 Oct 2000 14:12:14 -0700 (PDT) Received: from beastie.localdomain ([24.19.158.41]) by femail2.sdc1.sfba.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20001023211149.KBEK12625.femail2.sdc1.sfba.home.com@beastie.localdomain>; Mon, 23 Oct 2000 14:11:49 -0700 Received: (from brian@localhost) by beastie.localdomain (8.9.3/8.8.7) id OAA46984; Mon, 23 Oct 2000 14:14:05 -0700 (PDT) (envelope-from brian) Date: Mon, 23 Oct 2000 14:14:05 -0700 From: "Brian O'Shea" To: "John W. De Boskey" Cc: "David O'Brien" , Donny Lee , Leif Neland , freebsd-current@FreeBSD.ORG Subject: Re: -current hangs during boot Message-ID: <20001023141405.Z622@beastie.localdomain> Reply-To: boshea@ricochet.net Mail-Followup-To: "John W. De Boskey" , David O'Brien , Donny Lee , Leif Neland , freebsd-current@FreeBSD.ORG References: <39F2A1D0.2FC92123@CoreBit.com> <20001022154231.C4742@dragon.nuxi.com> <20001022193539.A38460@bsdwins.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <20001022193539.A38460@bsdwins.com>; from John W. De Boskey on Sun, Oct 22, 2000 at 07:35:39PM -0400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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