Skip to contentSkip to conversation

NMI trigger switch support for debugging

PATCH Andi Kleen 1 participant 1 message May 26, 2004 6 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

Andi Kleen

author
#6 lore raw
Quoted 4 lines · Andrew Morton
Quoted 2 lines · AKIYAMA Nobuyuki

Sorry, I resend document and patch.

Quoted 8 lines

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