Thursday, February 11, 2016

How to configure/force a kernel core dump on an x86 or x64 system using Non-Maskable Interrupt (NMI)


1) Make sure below 2 entries in the /etc/system file and reboot the system

set pcplusmp:apic_panic_on_nmi=1
set apix:apic_panic_on_nmi=1

2) Issue the NMI by either

* From ILOM's command-line interface (one of the following):
-> set /SP/diag generate_host_nmi=true 
 
or
 
-> set /HOST generate_host_nmi=true

or

* Pressing and releasing the NMI dump button on the server motherboard

or

* Use ipmitool to initiate the NMI remotely on the systems Service
Processor (SP)

ipmitool -H <SP IP Addr> -U root chassis power diag


This will create an NMI and a system crash core will be written to the dump device. 

No comments:

Post a Comment