Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Sep 1999 21:17:36 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, mike@smith.net.au
Cc:        current@freebsd.org, msmith@freebsd.org
Subject:   Re: early panics broken
Message-ID:  <199909041117.VAA21720@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> panic() no longer works when called early.  E.g., after booting with -d,
>> typing `panic<newline>' at the debugger prompt produces no output and
>> hangs.
>> 
>> This may be because panic() now depends on uninitialized event handlers.

This is because no shutdown_final event handlers have been registered.
The loop at the end of boot() is reached and loops endlessly.

>That would only be an issue if panic() then calls boot() without 
>initialising it.  Until boot() has been told how to restart the 
>particular hardware it's running on in an appropriate fashion, it's 
>somewhat difficult to do this "right".
>
>Perhaps exit() needs to be implemented?

Initialisation just needs to be unobfuscated so that it doesn't trip over
its own boot.

Bruce


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?199909041117.VAA21720>