Re: [PATCH] Introduce softpanic

From: Andi Kleen
Date: Fri Jan 25 2008 - 10:01:40 EST


Bodo Eggert <7eggert@xxxxxx> writes:

> Enabling this option changes a hard panic on boot errors to a
> soft panic, which does not stop the system completely.
> You can still scroll the screen and read the messages.

I don't think it's a good idea to keep the network running in the
soft panic. A lot of people have set ups that use ping was a watchdog
and with nfsroot/ip=dhcp ping does work quite well before
mounting root and then the watchdog might not pick up the
soft panic.

Using a polled keyboard driver after panic seems to be the better
option to me, but if you want softpanic you should probably
at least add a suitable panic notifier to the network stack
to shut it all down.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/