Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Linux supports several types of watchdog hardware.

Is there a way to detect the available hardware watchdogs and load the appropriate kernel module (and "softdog" as fallback solution)?

I guess, just trying all available kernel modules is not an optimal solution.


I am surprised that modern systems do not have some kind of watchdog timer built into the CPU (at least no module is loaded for an AMD Athlon II). Are hardware watchdogs rare on consumer/prosumer systems?

share|improve this question
up vote 1 down vote accepted

Typically, if they are available, the kernel does load all modules that correspond to hardware found in the system during boot-up. If, for some reason, these devices are blacklisted or otherwise ignored during boot-up, you could use the lspci/lsusb utilities to see what hardware is attached to the system and respond accordingly.

As far as loading "softdog", that's a matter of some proper scripting around the tools above.

share|improve this answer
If the kernel does load such a driver, will it show up in the kernel message buffer? – Black Mar 30 '12 at 13:12
It should show up in dmesg and /var/log/messages (depending on your syslog configuration). dmesg does have a maximum length, though. You should also be able to see it in the output of lsmod. – Kyle Smith Mar 30 '12 at 13:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.