Page 1 of 1

watchdog and linux

Posted: Sun Sep 19, 2010 4:39 pm
by ruben
Hello!

Sorry for my little English.

When I active the module sbc_fitpc2_wdt, after a few seconds, the fitpc2 restarts.

How should set watchdog.conf?

Thanks

Greetings

Re: watchdog and linux

Posted: Sun Sep 19, 2010 9:07 pm
by fly
When I active the module sbc_fitpc2_wdt, after a few seconds, the fitpc2 restarts.
So at least you know that the watchdog is working :)
How should set watchdog.conf?
I don't use the watchdog, but looking at the man page, you should try
interval = <interval>
watchdog-device = <device>
--edit--

The fitpc2 wiki [1] mentioned to use the margin variable of the watchdog:
The range is defined by the "Watchdog Timer Value" in the BIOS or by margin parameter of the watchdog driver.
--edit--
Okay, i toyed around a bit with watchdog. Software based watchdog runs fine, but when using hw watchdog i get
sbc_fitpc2_wdt WATCHDOG: Device closed unexpectedly - timer will not stop
and shortly after that the pc reboots.

As I said, I don't use watchdogs, so it might just be my wrong config, and I don't have spare time to devote to this things right now, but maybe you can look into this further.


[1] http://compulab.co.il/workspace/mediawi ... ux:_Kernel

Re: watchdog and linux

Posted: Tue Oct 12, 2010 4:25 pm
by ruben
Hello!

I uncommented these 3 lines and it seems to work well

admin = root
interval = 10
logtick = 1

Greetings.