Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2000 18:30:29 -0400
From:      "John W. De Boskey" <jwd@bsdwins.com>
To:        "Brian O'Shea" <boshea@ricochet.net>
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 (UPDATING entry)
Message-ID:  <20001023183029.A45262@bsdwins.com>
In-Reply-To: <20001023141405.Z622@beastie.localdomain>; from boshea@ricochet.net on Mon, Oct 23, 2000 at 02:14:05PM -0700
References:  <Pine.BSF.4.21.0010220956440.32758-100000@arnold.neland.dk> <39F2A1D0.2FC92123@CoreBit.com> <20001022154231.C4742@dragon.nuxi.com> <20001022193539.A38460@bsdwins.com> <20001023141405.Z622@beastie.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
I'm beginning to think we need an updating entry.

1. Make sure /dev/random exists 'cd /dev && sh MAKEDEV std'

2. Make sure your kernel includes:

device		random		# Entropy device

3. Make sure /etc/rc is at rev 1.237 or higher.

4. Make sure /etc/rc.shutdown is at rev 1.13 or 1.15

5. At this time, remove ALL MFS filesystems from /etc/fstab.
   They can be hand mounted after bootup or via a local rc
   startup script.
   
6. Reboot your system via 'init 6' or 'shutdown -r now' (or similar).
   Do not use 'reboot'.

7. If at any time during the boot process a 'cntrl-t' shows a
   process hung in 'rndblk', hit 'cntrl-\', 'ls -al /etc > /dev/random',
   and then 'exit'. This should get your machine to boot for this
   session until you figure out which of the above are not done.

-John

----- Brian O'Shea's Original Message -----
> 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


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?20001023183029.A45262>