From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 11 20:45:51 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3004E106566B for ; Sat, 11 Feb 2012 20:45:51 +0000 (UTC) (envelope-from sushanth_rai@yahoo.com) Received: from nm16.access.bullet.mail.sp2.yahoo.com (nm16.access.bullet.mail.sp2.yahoo.com [98.139.44.143]) by mx1.freebsd.org (Postfix) with SMTP id 011048FC0A for ; Sat, 11 Feb 2012 20:45:50 +0000 (UTC) Received: from [98.139.44.105] by nm16.access.bullet.mail.sp2.yahoo.com with NNFMP; 11 Feb 2012 20:45:50 -0000 Received: from [98.139.44.67] by tm10.access.bullet.mail.sp2.yahoo.com with NNFMP; 11 Feb 2012 20:45:50 -0000 Received: from [127.0.0.1] by omp1004.access.mail.sp2.yahoo.com with NNFMP; 11 Feb 2012 20:45:50 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 694286.19581.bm@omp1004.access.mail.sp2.yahoo.com Received: (qmail 26875 invoked by uid 60001); 11 Feb 2012 20:45:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1328993150; bh=IxK0FFC5SN8hrRcp/tbBHalefoMGLKdGIrvnFC1MMu0=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=yJJplZdjbU9M6FzpkCG6m/r0kKAi1AZ1AXCT02c0DOt7Chm8FOzo6rpJWSLbXtcjQZ37tvsSauQslbCB2jjARVQ0e68ObvWBFMA92/K+h/pi4Qy919hIlVDxVdzT2SodmSsMP+g4Uwdfi3Jbw+4XE+Ws/5Pp9TAC035TAoU2vPE= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=sNTSEGlUge/o2shGqOsIwIuUpGbfWnFRtCEXuOUlUqEgGTKrCUM8GAmpUmefE4W6tEyj762kob+WlIA1rS4DNs4QQ8fy5eoVX7/g90epdnsSg36J6kvvMOKKAKjBC+tr8nMlFbVXXSv8v/9osgRCt8aNa+JoOX9xcJRmt0hq9cE=; X-YMail-OSG: KDoI7nsVM1llJtpe36spYhpVa_lrYpJmfSpZgcSyjfA5KKL 0_Zs.UFTpqyoWmT33.5qIi75G7fmtVEVucTqrBRxfh6s0wPgna9VGGEUlio0 HjQ3IQ8LIHOPXcf1.qvc3bgA4YhBLj8.YLAAWXNMDh13mwErdz1rRWBpEU1t lPoCctoI0qGRf6ufqsFnxxCWtln4Q85cHEcxp4cPePzPP79JdTjnqVLNQzSD QamBNe1RznMlzFK0Ycs4atX9B7kK.LjOSm2JJUGu8VGL_9HB3wZtAWJznhyZ mPyopDAomCK0mIbxa3bjO9Lghe5n66gCf1WQfQQK_e4ZVjfA96WXsP7eT1ii HBwCev0e7lYf4nCz7E2KS9OYKiE1OqFUWtSz_pln0KRhG4Rkl_N1yvX.q_SJ fKBiB41zbXoPGGekI7v2toheGRxXnNaYSUqvZfNbrLsNPtmy3Mwn83F9.dY6 VQ_2Gv_h9OLyR8tHllKqJM3eXsZeVW6trto2BcnHV_d9LNcr4kfF6eSYKS4k T1uuY7Gy18nn6tvBOf6eQqfzISh96xNYSp.9bJWVmnc52bM3pOxF_ApSew9T 6PnROL2IPKCCjFuIiIFWa0g_uDOU- Received: from [76.211.224.115] by web180005.mail.gq1.yahoo.com via HTTP; Sat, 11 Feb 2012 12:45:50 PST X-Mailer: YahooMailClassic/15.0.4 YahooMailWebService/0.8.116.338427 Message-ID: <1328993150.2019.YahooMailClassic@web180005.mail.gq1.yahoo.com> Date: Sat, 11 Feb 2012 12:45:50 -0800 (PST) From: Sushanth Rai To: Andriy Gapon In-Reply-To: <4F364BC7.3030906@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@FreeBSD.org Subject: Re: Generating NMI due to WDT expiry X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Feb 2012 20:45:51 -0000 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 wrote: > From: Andriy Gapon > Subject: Re: Generating NMI due to WDT expiry > To: "Sushanth Rai" > 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= " >