From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 10 22:55:02 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 4BE321065672 for ; Fri, 10 Feb 2012 22:55:02 +0000 (UTC) (envelope-from sushanth_rai@yahoo.com) Received: from nm4-vm0.access.bullet.mail.sp2.yahoo.com (nm4-vm0.access.bullet.mail.sp2.yahoo.com [98.139.44.110]) by mx1.freebsd.org (Postfix) with SMTP id 1CC768FC0A for ; Fri, 10 Feb 2012 22:55:01 +0000 (UTC) Received: from [98.139.44.104] by nm4.access.bullet.mail.sp2.yahoo.com with NNFMP; 10 Feb 2012 22:42:14 -0000 Received: from [98.139.44.90] by tm9.access.bullet.mail.sp2.yahoo.com with NNFMP; 10 Feb 2012 22:42:14 -0000 Received: from [127.0.0.1] by omp1027.access.mail.sp2.yahoo.com with NNFMP; 10 Feb 2012 22:42:14 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 97484.74941.bm@omp1027.access.mail.sp2.yahoo.com Received: (qmail 92341 invoked by uid 60001); 10 Feb 2012 22:42:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1328913733; bh=JbPH7NzJvl75hXRy9K15uuYmGWMtMbRERqI255VE9sU=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=nLgTDdkpTVKv0rs9VQaMbntMy+fjFuhotICUzY7+mdLXeXl6FEp2HNwpijYyyS16AGasn9IGyyNCULSMT3ZZVRZzmQF9VYTHOk0fpQJGySJD16siFn1sJB1hvhaqH+JrwSeRoGz1aL+kpuWYaCE6lG3NfwWztOo1dpqh5AZ8STA= 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:MIME-Version:Content-Type; b=IcKFRzBl8IL8ildSmGH7CtJ6fuFoDUHgNenFayzoM8tLVneyZ3mFFcdWy8wT6E97UYL99zrvBbr5L9F9bjBbpKU4ekVS/K1hj88p7kUZ97006X2RNaTh/xIiz+HHxmbB+p9u5ZU/mUnPT3jWu26oewOO/VUas9jD3F7blOHMxW4=; X-YMail-OSG: YXwj1JEVM1mWVUR_Eb75aTKsOQ7i7dWERylJZoYadMUT0N8 z5cluQgmmw2dzODhNiR5Ro8T92HbAMsfhw8_6As7H6NEuOPGHK6H_Jmxe8uA ZxRqoq4atuyxJj_2yJ9SVwVQ1pBuV4PGubiip70inLWRtQpzXDdNepc7iuhI KTaLielfNd17z3xJEh2IzvuPg8Tu6XIMWdKpBhskCsGdQQMa2TutMns_e4T5 1QApbYCCvf0dZ_0pBcdayKU_va2l9vZAQ85e7OXLI1lTIwCYCEi5YZAmTffK A5ZE7ZQZzwNGO2H8zoY_JslL5ZwYIdt3R_ut_TGqTnKzafQfCpOF_yuDl5AN Z44P1In853VtM_1BFEnk4d525Lywi2CdfMxVLLIaaK3QM0VIR6vxJgE88h6X 42Mlv_YKJbs.V4FtTF3w_Pq6V9xB8edP0ZCMB9hGt8FXtlLoZtzja7yhOEgW kzLjYdSk- Received: from [209.119.38.67] by web180008.mail.gq1.yahoo.com via HTTP; Fri, 10 Feb 2012 14:42:13 PST X-Mailer: YahooMailClassic/15.0.4 YahooMailWebService/0.8.116.338427 Message-ID: <1328913733.43669.YahooMailClassic@web180008.mail.gq1.yahoo.com> Date: Fri, 10 Feb 2012 14:42:13 -0800 (PST) From: Sushanth Rai To: freebsd-hackers@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: 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: Fri, 10 Feb 2012 22:55:02 -0000 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. Thanks, Sushanth