[Voyage-linux] Watchdog in Alix.3d3

Konstantinos Birkos (spam-protected)
Mon Mar 26 04:26:32 HKT 2012


Following my previous mail, I figured out that I had to modprobe softdog 
in order to create /dev/watchdog. However, when I try to open 
/dev/watchdog, I receive a 'Device or resource busy' error. The same 
application runs successfully in Ubuntu.

This is how I do it:

fdw = open(dev, O_RDWR);

where dev points to /dev/watchdog.

Any hint?

On 03/24/2012 05:25 PM, Konstantinos Birkos wrote:
> Hello all,
> I have an Alix.3d3 board running Voyage Linux MPD 0.7.
> I am writing a program in C in which a certain function writes in 
> /dev/watchdog in order to keep the machine working. Actually it is 
> based on this tutorial 
> http://embeddedfreak.wordpress.com/2010/08/23/howto-use-linux-watchdog/
> The computer is supposed to reboot if the function does not reset the 
> watchdog timer on time.
> Are there any configurations I should make? There is no /dev/watchdog 
> file (I can make it with mknod). Am I supposed to disable any watchdog 
> keepalive daemons? How can I find my watchdog driver to use it in the 
> insmod command? Hands-on instructions would be highly appreciated as I 
> am an inexperienced Linux user and a bit confused about the usage of 
> geodewdt and sc520_wdt.
>
> Thank you,
> Kostas Birkos
>
> _______________________________________________
> 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