[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Status



On Thu, 22 Sep 2011, Geert Uytterhoeven wrote:

> Isn't there a kernel config option for reboot-on-panic?

I've certainly seen linux/ppc do that (by default) but not m68k...

>From Documentation/sysctl/kernel.txt --

"panic:

The value in this file represents the number of seconds the
kernel waits before rebooting on a panic. When you use the
software watchdog, the recommended setting is 60."

There's also,

sysctl -w kernel.panic_on_oops=1

(I seem to recall that RHEL sets this by default.)

Generating an NMI might be another approach for remote reboot --

# sysctl -a | grep panic
error: permission denied on key 'net.ipv4.route.flush'
kernel.panic = 0
kernel.panic_on_oops = 0
kernel.unknown_nmi_panic = 0
kernel.panic_on_unrecovered_nmi = 0
kernel.panic_on_io_nmi = 0
vm.panic_on_oom = 0

Finn


Reply to: