[Voyage-linux] Watchdog in Alix.3d3
Konstantinos Birkos
(spam-protected)
Mon Mar 26 05:25:15 HKT 2012
Again, in another reply to myself :) , I'd like to mention that by issuing
lsof +D /dev | grep 'watchdog'
I saw that 'watchdog' and 'wd_keepalive' were using /dev/watchdog so I
had to stop them. Yet, I don't know whether this is a secure option for
my machine...
On 03/25/2012 11:26 PM, Konstantinos Birkos wrote:
> 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
>
>
> _______________________________________________
> 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