Re: multi-user startup failure Pre-seeding PRNG:

From: Dan Nelson <dnelson_at_allantgroup.com>
Date: Tue, 19 Oct 2004 16:56:25 -0500
In the last episode (Oct 19), Randy Bush said:
> >> lock up while going multi-user.  last message on console is
> >> "Pre-seeding PRNG:"
> >> this is an old problem.  it is solved by removing the 'sysctl -a;'
> >> from 
> >>   /etc/rc.d/preseedrandom
> >>   /etc/rc.d/initrandom
> > The real question is: why is 'sysctl -a' hanging?
> 
> of course.  considering that it will lock up the system and
> all i will be able to do is take a digital camera picture
> (no serial port on thinkpad t4x), what would you suggest i
> do to help refine the problem?

Does it really lock up, or does sysctl just not return?  Can you hit
^C?  Does ^T print anything?  Can you break into the debugger via
Ctrl-Alt-ESC?  After you comment them out, does "sysctl -a" lock the
system if you run it after the system boots up?

Something to try might be to change the script to run "truss sysctl
-a" and remove the 2>/dev/null, which should list all the syscalls it
does to the screen and you can tell which one it is hanging on (or at
least the last one that worked).

-- 
	Dan Nelson
	dnelson_at_allantgroup.com
Received on Tue Oct 19 2004 - 19:56:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:18 UTC