From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 11 11:06:55 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 B6C9A106566B for ; Sat, 11 Feb 2012 11:06:55 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 109208FC19 for ; Sat, 11 Feb 2012 11:06:54 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id NAA28861; Sat, 11 Feb 2012 13:06:50 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1RwAn3-000DCc-So; Sat, 11 Feb 2012 13:06:49 +0200 Message-ID: <4F364BC7.3030906@FreeBSD.org> Date: Sat, 11 Feb 2012 13:06:47 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0) Gecko/20120202 Thunderbird/10.0 MIME-Version: 1.0 To: Sushanth Rai References: <1328913733.43669.YahooMailClassic@web180008.mail.gq1.yahoo.com> In-Reply-To: <1328913733.43669.YahooMailClassic@web180008.mail.gq1.yahoo.com> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 11:06:55 -0000 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