Hello, I've spent quite some time finding out how to use nmi watchdog to reboot the system. This feature is not documented at all, would it be possible to apply this patch to explain things at least a bit? thanks a lot! regards Nikola Ciprich -- ------------------------------------- Nikola CIPRICH LinuxBox.cz, s.r.o. 28. rijna 168, 709 01 Ostrava tel.: +420 596 603 142 fax: +420 596 621 273 mobil1: +358 449 307 780 (finsko) mobil2: +420 608 747 894 (pouze SMS) www.linuxbox.cz mobil servis: +420 737 238 656 email servis: servis@xxxxxxxxxxx -------------------------------------
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 86e9282..2973cb1 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -1002,6 +1002,7 @@ running once the system is up. entries. nmi_watchdog= [KNL,BUGS=IA-32] Debugging features for SMP kernels + Read nmi_watchdog.txt no387 [BUGS=IA-32] Tells the kernel to use the 387 maths emulation library even if a 387 maths coprocessor diff --git a/Documentation/nmi_watchdog.txt b/Documentation/nmi_watchdog.txt index c025a45..4272323 100644 --- a/Documentation/nmi_watchdog.txt +++ b/Documentation/nmi_watchdog.txt @@ -75,6 +75,11 @@ the NMI-oopser is enabled unconditionall On x86-64 the NMI oopser is on by default. On 64bit Intel CPUs it uses IO-APIC by default and on AMD it uses local APIC. +Causing kernel panic using NMI watchdog +NMI watchdog can also cause kernel panic when lockup is detected, this is enabled +by using nmi_watchdog=panic parameter. It can be useful in combination with +panic=xxx kernel parameter, causing machine reboot when lockup is detected. + [ feel free to send bug reports, suggestions and patches to Ingo Molnar <mingo@xxxxxxxxxx> or the Linux SMP mailing list at <linux-smp@xxxxxxxxxxxxxxx> ]
Attachment:
signature.asc
Description: This is a digitally signed message part