Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Dec 2008 14:32:25 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Won De Erick <won.derick@yahoo.com>
Cc:        freebsd-hackers@freebsd.org, Christoph Mallon <christoph.mallon@gmx.de>, Rink Springer <rink@FreeBSD.org>, freebsd-hardware@freebsd.org
Subject:   Re: Watchdog for Boser (HS-7001)
Message-ID:  <867i6kqavq.fsf@ds4.des.no>
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)")
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Won De Erick <won.derick@yahoo.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?867i6kqavq.fsf>