From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 3 17:18:04 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D306016A41C for ; Fri, 3 Jun 2005 17:18:04 +0000 (GMT) (envelope-from dipjyoti.saikia@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D19443D49 for ; Fri, 3 Jun 2005 17:18:04 +0000 (GMT) (envelope-from dipjyoti.saikia@gmail.com) Received: by zproxy.gmail.com with SMTP id 12so1114103nzp for ; Fri, 03 Jun 2005 10:18:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=OzfwwtL3z0zMXrghALIzjmodKDB9yc+8afkJaLtrSeZJHhazmqkkEl4UA8qVu6jyTj56xKXWZHYbKyy8JKwiRKBaIVtIzRvep9LozqDPYkBWyxCbAXlhgLk7IboTryHHQoSOIoSqmG+bP1erznf6tZ5AtESrFU1HJVItWoeZ75Q= Received: by 10.36.222.61 with SMTP id u61mr1429152nzg; Fri, 03 Jun 2005 10:18:04 -0700 (PDT) Received: by 10.36.77.20 with HTTP; Fri, 3 Jun 2005 10:18:04 -0700 (PDT) Message-ID: Date: Fri, 3 Jun 2005 22:48:04 +0530 From: Dipjyoti Saikia To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: NMI handlers ?? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dipjyoti Saikia List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2005 17:18:04 -0000 Hi, I am working on IPMI watchdog implementation . The problem that I am facing is that in case of improper system shutdown or powerfail the watchdog keeps running and the next time system boots up , BIOS complains of FRB2 timeout and fails one of the CPU's ( Working on SMP system ) . My idea is to handle NMI generated by abruptly pushing power button and disabling the timer in the routine. Can we have a handlers for NMI ?? I am not very sure what is happening inside the kernel when NMI is delivered . Please provide me some inputs. Dip