watchdog and linux

Post Reply
ruben
Posts: 3
Joined: Fri Mar 27, 2009 4:58 pm

watchdog and linux

Post 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

fly
Posts: 162
Joined: Thu Jul 22, 2010 2:02 pm

Re: watchdog and linux

Post 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

ruben
Posts: 3
Joined: Fri Mar 27, 2009 4:58 pm

Re: watchdog and linux

Post by ruben »

Hello!

I uncommented these 3 lines and it seems to work well

admin = root
interval = 10
logtick = 1

Greetings.

Post Reply

Return to “fit-PC2 hardware”