Re: How to compile kernel so it automatically reboots upon a crashinstead of generating stack trace and then hang.

From: Sebastien Dugue
Date: Wed Mar 12 2008 - 04:53:08 EST



Hi Prakhar,

On Tue, 11 Mar 2008 23:52:00 -0500 "Prakhar Krishna" <prakhar2@xxxxxxxxx> wrote:

> [I did search the mailing lists archives and the Web but did not find an answer,
> apololgies if this is duplicate question]
>
> i need my linux box to automatically reboot if it ever runs into a
> kernel panic/crash etc.
> For my production evvironment, it is not desired that kernel generate the stack
> trace and then wait there. We want it to reboot and comeback up again.
>
> if this has already been answered (i seriously think it should have
> been), please
> direct me to the answer else any details would be helpful.
>

This screams 'hardware watchdog' to me, as there are situations when the kernel
is completely hung.

Sebastien.
--
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/