Generating NMI due to WDT expiry

Andriy Gapon avg at FreeBSD.org
Sat Feb 11 11:06:55 UTC 2012


on 11/02/2012 00:42 Sushanth Rai said the following:
> Basically I would like to force system panic (and take kernel dump) when
> watchdog time expires. Assuming that timer expired due to some OS bug, kernel
> memory dump would be very useful. I'm running freebsd 7.2 on Intel IbexPeak
> chipset. According to specs, the watchdog timer on IbexPeak first generates
> an SMI and then resets the CPU. Since SMI is handled within the BIOS, is
> there a way to generate NMI from within BIOS SMI handler ? I see that kernel
> has support to either enter the debugger or force panic upon receipt of a
> NMI.
> 
> This is not necessarily a FreeBSD question, but would like to hear any
> thoughts/pointers.

See this:
http://www.intel.com/content/dam/doc/datasheet/5-chipset-3400-chipset-datasheet.pdf
Search for NMI2SMI_EN.  Maybe it's what you want.


-- 
Andriy Gapon


More information about the freebsd-hackers mailing list