From owner-freebsd-stable Sun Nov 10 20:28:43 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 911E337B404 for ; Sun, 10 Nov 2002 20:28:41 -0800 (PST) Received: from ambrisko.com (adsl-64-174-51-42.dsl.snfc21.pacbell.net [64.174.51.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 000DF43E3B for ; Sun, 10 Nov 2002 20:28:40 -0800 (PST) (envelope-from ambrisko@www.ambrisko.com) Received: from www.ambrisko.com (localhost [127.0.0.1]) by ambrisko.com (8.12.6/8.12.6) with ESMTP id gAB3DUDl057684; Sun, 10 Nov 2002 19:13:30 -0800 (PST) (envelope-from ambrisko@www.ambrisko.com) Received: (from ambrisko@localhost) by www.ambrisko.com (8.12.6/8.12.6/Submit) id gAB3DUdq057683; Sun, 10 Nov 2002 19:13:30 -0800 (PST) From: Doug Ambrisko Message-Id: <200211110313.gAB3DUdq057683@www.ambrisko.com> Subject: Re: Any support for Intel ICH Watchdog ? In-Reply-To: To: Don Bowman Date: Sun, 10 Nov 2002 19:13:29 -0800 (PST) Cc: "'freebsd-stable@freebsd.org'" X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Don Bowman writes: | http://www.intel.com/design/chipsets/applnots/29227301.pdf | describes what is needed to support the watchdog (so that | stuck servers get unstuck :) I have some code at: http://www.ambrisko.com/doug/watchdog/ The implements SW & HW watch dogs. If HW exists it links in via syctl patches that lets the SW watch dog control HW watch dogs if they are in the system. This was done to permit better watch dog timeouts then HW since some hardware is very limited on the time duration so it is used to "enforce" the SW watch dog is still running. If the SW watch dog stops updated the HW watch dog then the machine reboots. The other advantage is that if the SW can provide the main watch dog service then it can cause a panic to figure out what went wrong. It has support for the Intel TCO watchdog and SIS630 chipset. This is prototype code that works. A scheme to add in sub drivers needs to be added. When FreeBSD decides how this should work then I'll probably redo in that sense. Caveat is no real HW bounds checks are done for valid timeout. The sysctl interface is nice in that you can kld{load,unload} the HW part and leave the SW part working. It also allows the watch dogs to be disabled when you enter the debugger etc. | Is there any support for this in freebsd stable? Yes it runs on -stable. Doug A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message