lkml.org 
[lkml]   [2004]   [May]   [26]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] NMI trigger switch support for debugging
FromAndi Kleen <>
DateWed, 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/

\
 
 \ /
  Last update: 2005-03-22 13:03    [from the cache]
©2003-2008