From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 30 21:51:33 2010 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 8BED8106566B for ; Wed, 30 Jun 2010 21:51:33 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 4EDA48FC1A for ; Wed, 30 Jun 2010 21:51:33 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 519A11FFC34; Wed, 30 Jun 2010 21:51:32 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id CBCB5844F3; Wed, 30 Jun 2010 23:49:20 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Matthew Jacob References: <4C2B07F5.6030801@delphij.net> <4C2B4D35.8060903@feral.com> Date: Wed, 30 Jun 2010 23:49:20 +0200 In-Reply-To: <4C2B4D35.8060903@feral.com> (Matthew Jacob's message of "Wed, 30 Jun 2010 06:57:09 -0700") Message-ID: <86lj9wmbrz.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: Supermicro BIOS's watchdog feature? 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: Wed, 30 Jun 2010 21:51:33 -0000 Matthew Jacob writes: > Xin LI writes: > > It seems that ICH10R's watchdog is supported by ichwd(4) but > > Supermicro BIOS needs some special treatments which is beyond what > > ichwd(4) and watchdogd(8) would do... > What do mean "special" treatment? The watchdog timer can be disabled in hardware (by pulling the speaker pin high during boot, IIRC). Even if it is enabled, it can be caught and ignored by the SMM firmware. Some BIOSes have options to enable or disable the watchdog timer, which I assume means that they flip a bit that tells the firmware to either catch it or pass it through. Unfortunately, although it is possible for the ichwd driver to detect programatically (by checking an MSR) if the watchdog timer is disabled in hardware, it is not possible to determine whether it is disabled in firmware. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no