Date: Sat, 11 Feb 2012 12:45:50 -0800 (PST) From: Sushanth Rai <sushanth_rai@yahoo.com> To: Andriy Gapon <avg@FreeBSD.org> Cc: freebsd-hackers@FreeBSD.org Subject: Re: Generating NMI due to WDT expiry Message-ID: <1328993150.2019.YahooMailClassic@web180005.mail.gq1.yahoo.com> In-Reply-To: <4F364BC7.3030906@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I had looked at this. It seems to be doing the opposite of what I want. Tha= t is, it routes a NMI as an SMI and I need SMI to trigger an NMI. Watchdog = timer on 3100 chipset had the ability to send either an NMI or SMI when the= timer fired for the first time. I used NMI to generate kernel panic. With = 3400 no longer generating NMI on WDT expiry, I'm trying to figure out how I= can force memory dump on watchdog expiry. Sushanth =20 --- On Sat, 2/11/12, Andriy Gapon <avg@FreeBSD.org> wrote: > From: Andriy Gapon <avg@FreeBSD.org> > Subject: Re: Generating NMI due to WDT expiry > To: "Sushanth Rai" <sushanth_rai@yahoo.com> > Cc: freebsd-hackers@FreeBSD.org > Date: Saturday, February 11, 2012, 3:06 AM > 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. > >=20 > > This is not necessarily a FreeBSD question, but would > like to hear any > > thoughts/pointers. >=20 > See this: > http://www.intel.com/content/dam/doc/datasheet/5-chipset-3400-chipset-dat= asheet.pdf > Search for NMI2SMI_EN.=A0 Maybe it's what you want. >=20 >=20 > --=20 > Andriy Gapon > _______________________________________________ > freebsd-hackers@freebsd.org > mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1328993150.2019.YahooMailClassic>