lkml.org 
[lkml]   [1999]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.056 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site