From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 1 13:32:28 2008 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 76E131065672; Mon, 1 Dec 2008 13:32:27 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 2EF198FC13; Mon, 1 Dec 2008 13:32:27 +0000 (UTC) (envelope-from des@des.no) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 319C46D43F; Mon, 1 Dec 2008 13:32:26 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 10069844A0; Mon, 1 Dec 2008 14:32:26 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Won De Erick References: <547602.79284.qm@web45809.mail.sp1.yahoo.com> <4933A29B.8060907@gmx.de> <20081201090421.GA99082@rink.nu> <611173.7111.qm@web45805.mail.sp1.yahoo.com> <4933AFD4.3070501@gmx.de> <86fxl8qf8i.fsf@ds4.des.no> <576032.29521.qm@web45815.mail.sp1.yahoo.com> Date: Mon, 01 Dec 2008 14:32:25 +0100 In-Reply-To: <576032.29521.qm@web45815.mail.sp1.yahoo.com> (Won De Erick's message of "Mon, 1 Dec 2008 04:48:31 -0800 (PST)") Message-ID: <867i6kqavq.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, Christoph Mallon , Rink Springer , freebsd-hardware@freebsd.org Subject: Re: Watchdog for Boser (HS-7001) 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: Mon, 01 Dec 2008 13:32:28 -0000 Won De Erick writes: > this is a great info. i am used to settings like the following when using= ipmi-compliant platform. > #bmc-watchdog -s -a 1 -i 100 (#set timeout action to hard reset after = a timeout of 100 seconds) > then daemonize to constantly reset the timer, and prevent the box from re= starting. > > I installed watchdog(/usr/ports/sysutils/watchdog) from ports, Firt of all, that port won't help you; it only supports the AMD Elan SoC. Second, we've had kernel support for the Elan watchdog longer than the port has existed. > then noticed the following from the manual. > watchdog [-d] [-t timeout] That's the base system watchdog(8); the port installs a watchdogd(8) that works *only* for Elan chips. There is a watchdogd(8) in the base system as well. > # watchdog -d -t 50 > Timeout is 2^36 nanoseconds > watchdog: patting the dog: Operation not supported You need to load the appropriate watchdog driver first - and as far as I know, we don't have one for the Boser HS-7001. > but I don't know how it is linked with watchdogd(8). > > Little more explanation is appreciated, and/or an example. man -k watchdog DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no