From owner-freebsd-current@FreeBSD.ORG Sun Dec 10 15:10:26 2006 Return-Path: X-Original-To: current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 94DEE16A407 for ; Sun, 10 Dec 2006 15:10:26 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from smtp-4.orange.nl (smtp-4.orange.nl [193.252.22.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BA0A43C9D for ; Sun, 10 Dec 2006 15:09:15 +0000 (GMT) (envelope-from nick@van-laarhoven.org) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf6307.orange.nl (SMTP Server) with ESMTP id B9D0B7000089 for ; Sun, 10 Dec 2006 16:10:24 +0100 (CET) Received: from uitsmijter.van-laarhoven.org (ap-zvhz-13f05.adsl.wanadoo.nl [81.69.93.5]) by mwinf6307.orange.nl (SMTP Server) with ESMTP id 9121F7000085 for ; Sun, 10 Dec 2006 16:10:24 +0100 (CET) X-ME-UUID: 20061210151024594.9121F7000085@mwinf6307.orange.nl Received: (qmail 29430 invoked from network); 10 Dec 2006 15:10:24 -0000 Received: from 10.66.0.143 by uitsmijter.van-laarhoven.org (envelope-from , uid 82) with qmail-scanner-1.25 (clamdscan: 0.88.4/2187. f-prot: 4.6.6/3.16.14. spamassassin: 3.1.7. Clear:RC:1(10.66.0.143):. Processed in 0.382402 secs); 10 Dec 2006 15:10:24 -0000 X-Qmail-Scanner-Mail-From: nick@van-laarhoven.org via uitsmijter.van-laarhoven.org X-Qmail-Scanner: 1.25 (Clear:RC:1(10.66.0.143):. Processed in 0.382402 secs) Received: from unknown (HELO van-laarhoven.org) (nick@10.66.0.143) by uitsmijter.van-laarhoven.org with SMTP; 10 Dec 2006 15:10:23 -0000 Received: (nullmailer pid 50652 invoked by uid 1001); Sun, 10 Dec 2006 15:10:23 -0000 Date: Sun, 10 Dec 2006 16:10:23 +0100 (CET) From: Nick Hibma X-X-Sender: nick@localhost To: Poul-Henning Kamp In-Reply-To: <12904.1165755807@critter.freebsd.dk> Message-ID: <20061210160457.W42195@localhost> References: <12904.1165755807@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Nick Hibma , FreeBSD CURRENT Mailing List Subject: Re: Slight interface change on the watchdog fido X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Dec 2006 15:10:26 -0000 >> cognet@freebsd.org i80321_wdog.c (*) >> (*) The i80321_wdog.c cannot be disarmed. Is this correct? > > If true, then this is a poster-child for the WD_PASSIVE need, the idea > being that if userland says "I'll not pat the dog anymore" and the hardware > cannot be disabled, the kernel shoul do it. ~he implementation of the WD_PASSIVE part is on my list. I don't quite agree with you on the kernel taking over though. When testing watchdogs you should be able to see that you could not disarm it, as you would otherwise get mysterious hard reboots. I'd rather have watchdogd refuse to exit if it cannot disarm the watchdog. I'll put that on my list too. Nick