[Soekris] sc520_wdt watchdog driver for Linux
johnl at blurbco.com
Thu Apr 18 17:40:55 UTC 2002
On Wed, 2002-04-17 at 21:20, Cyrus H. Behroozi wrote:
> Thanks for the great work on the LED driver!
No problem. There's an updated version at the same place. The 1.1
version will panic like mad if you switch to/from flashing modes at the
wrong time (which should happen > 1/2 the time!) Dumb mistake. I'm new
to kernel drivers. Version 1.2 is at the same place.
> Have you been able to get the hardware watchdog to work? I compiled
> sc520_wdt (from linux-2.4.19-pre7) against my 2.4.18 kernel as a module.
> I created /dev/watchdog (mknod /dev/watchdog c 10 130) and then
> insmodded mmcr_alias.o and sc520_wdt.o. I opened /dev/watchdog and saw
> "sc520_wdt: Watchdog timer is now enabled." in /var/log/messages, and
> about thirty seconds later, "sc520_wdt: Heartbeat lost! Will not ping
> the watchdog". The machine never rebooted, though. Any ideas?
I haven't done much testing with the watchdog yet, other than getting
the driver to load and the watchdog device to activate. I'm running the
actual watchdog daemon, and I've never purposely tried to trigger it.
I'm waiting on a reply from the authors of that driver about it. It
appears to me that it may not be "generic enough" to work on our board.
They were assuming MMCR aliasing by default and made some other
decisions I didn't understand. I'll check it out and see what i can see.
More information about the Soekris-tech