Messages in this thread | | | Date | Tue, 14 Sep 1999 08:49:56 -0400 (EDT) | From | "Richard B. Johnson" <> | Subject | Re: reboot after oops? |
| |
On Tue, 14 Sep 1999, Yoink! wrote:
> I've been having a problem with a linux box oopsing. (Probably hardware, if > not, I'll post the oopsen later.) My question is this: is it possible to > configure a linux box to reboot itself after an oops? If not, why? > > This is a remote machine, getting to console over a serial line is impossible. > My only connection to it is it's network interface. A rare situation I know, > but having this function could be useful. > The reason for a 'panic' is so the machine is halted long enough for someone to find the problem. Registers, data values, etc., are preserved.
There exists a panic_timeout in panic() (../linux/kernel.panic.c). If this is nonzero, the machine should reboot after a panic. However, I can't find any documentation about how to set it. The code seems to show that this value can be set in /proc/sys/kernel/panic. I have never tried it.
Cheers, Dick Johnson **** FILE SYSTEM WAS MODIFIED **** Penguin : Linux version 2.3.13 on an i686 machine (400.59 BogoMips). Warning : It's hard to remain at the trailing edge of technology.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |