Re: [PATCH] Introduce softpanic

From: Bodo Eggert
Date: Fri Jan 25 2008 - 12:32:16 EST


On Fri, 25 Jan 2008, Andi Kleen wrote:
> 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.

I have no idea on how to do it. If somebody has a big red arrow pointing to
a HOWTO, I can give it a try.

OTOH, I think the panic timeout should do the job nicely.
--
If you talk about race, it does not make you a racist. If you see distinctions
between the genders, it does not make you a sexist. If you think critically
about a denomination, it does not make you anti-religion. If you accept but
don't celebrate homosexuality, it does not make you a homophobe.Charlton Heston
--
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/