multi-user startup failure Pre-seeding PRNG:
Dan Nelson
dnelson at allantgroup.com
Tue Oct 19 14:56:26 PDT 2004
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
More information about the freebsd-current
mailing list