NMI trigger switch support for debugging
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]
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.txtandDocumentation/filesystems/proc.txtwould 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