[Voyage-linux] Re: Broken watchdog?

Robert Rawlins (spam-protected)
Mon Sep 15 17:54:47 HKT 2008


Hi Thomas,

Thanks for your advice on this. I will give this a try later today and see if it solves the issue. I did check that -no-action wasn’t listed in the watchdog options, I also made sure that it wasn’t defined in the daemon start script for watchdog.

I'll keep you posted on this.

Robert

-----Original Message-----
From: voyage-linux-bounces+robert.rawlins=thinkbluemedia.co.uk at list.voyage.hk [mailto:voyage-linux-bounces+robert.rawlins=thinkbluemedia.co.uk at list.voyage.hk] On Behalf Of Thomas Mueller
Sent: 14 September 2008 11:25
To: voyage-linux at voyage.hk
Subject: [Voyage-linux] Re: Broken watchdog?



On Wed, 10 Sep 2008 11:11:52 +0100, Robert Rawlins wrote:  
> My watchdog doesn't appear to be working quite correctly and I'm hoping
> you can help me out. I have it watching a process for me to ensure its
> still alive and I can see it logging this check in syslog like so:
> 
> 
>  
> Sep 10 08:50:11 voyage watchdog[3351]: still alive after 5661
> interval(s)
> 
> Sep 10 08:50:11 voyage watchdog[3351]: was able to ping process 3250
> (/var/run/myapp.pid).
> 
> Sep 10 08:50:26 voyage watchdog[3351]: still alive after 5662
> interval(s)
> 
> Sep 10 08:50:26 voyage watchdog[3351]: pinging process 3250
> (/var/run/myapp.pid) gave errno = 3 = 'No such process'
> 
> 
>  
> As you can see, it knows it cannot ping my process as it has crashed,
> yet the system doesn't appear to reboot itself. It just sits there like
> a dead duck J

i've stumbled upon the same "problem". I "fixed" this with loading the 
geodewdt module with "nowayout=1" option (place "option geodewdt 
nowayout=1"  in /etc/modprobe.d/options) . 

never used watchdog before the ALIX boards, but maybe it needs the 
"repair-binary" option set to a real binary. it seems that the default 
is /usr/sbin/repair which doesn't exist.

also check that /etc/default/watchdog doesn't contain "--no-action"

- Thomas

PS: replace geodewdt with your watchdog kernel module name


_______________________________________________
Voyage-linux mailing list
Voyage-linux at list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux





More information about the Voyage-linux mailing list