Finn Thain wrote:
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
We should definitely try that.
(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
All good - now how do we generate a NMI - by software?
Cheers,
Michael
--
To UNSUBSCRIBE, email to debian-68k-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e817d29.3050...@biophys.uni-duesseldorf.de