[parisc-linux] Changing hppa default on panic to "reboot after
carlos at baldric.uwo.ca
Sat May 1 22:33:41 MDT 2004
> We already output the msg; doing this would output it twice ...
So... the box is burning and in flames, printing it twice is a double
reminder of the error?
The first time we print it along with a long string of other items,
followed by a register dump. The second time the kernel prints it just
before it does a proper panic and honours the panic=XX kernel option.
The cleanest fix is to register show_regs on the panic notifiers so it
can get printed after the panic() message. That way we don't have to
print our message, instead panic() prints it for us and then runs the
list of panic notification functions (the pdc chassis lights are
registered here too). Now that sounds like a lot of work for a dying
We just print it twice... <- Easy fix ;o)
More information about the parisc-linux