Messages in this thread | | | Subject | Re: [PATCH] NMI trigger switch support for debugging | From | Andi Kleen <> | Date | Wed, 26 May 2004 13:23:12 +0200 |
| |
Andrew Morton <akpm@osdl.org> writes:
> AKIYAMA Nobuyuki <akiyama.nobuyuk@jp.fujitsu.com> wrote: >> >> Sorry, I resend document and patch. > > Great, thanks. Updates to Documentation/kernel-parameters.txt and > Documentation/filesystems/proc.txt would be nice. > > > If the machine locks up with interrupts enabled we can use sysrq-T and > sysrq-P. If it locks up with interrupts disabled the NMI watchdog will > automatically produce the same info as your patch. So what advantage does > the patch add?
His patch will still work e.g. if the interrupt locks are messed up. Then the keyboard interrupt will not work anymore, but NMI will. Arguably a bit obscure, but could happen.
The bigger advantage I see from the patch (and why i like it) is that distributions often disable sysrq by default for security reasons. This is not really needed for this NMI oopser, since you can assume that someone with access to the NMI switch can crash the machine at will.
-Andi
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |