The sp5100_tco module works out-of-the-box with newer kernels.
dmesg |grep 5100 sp5100_tco: SP5100/SB800 TCO WatchDog Timer Driver v0.05 sp5100_tco: PCI Revision ID: 0x42 sp5100_tco: Using 0xfed80b00 for watchdog MMIO address sp5100_tco: Last reboot was not triggered by watchdog. sp5100_tco: initialized (0xffffc9000074cb00). heartbeat=60 sec (nowayout=0)
yum --enablerepo=elrepo-kernel install kernel-ml
yum install watchdog
ping = 1.2.3.4
chkconfig watchdog on
service watchdog start
May 16 22:22:12 sms watchdog[1342]: no response from ping (target: 1.2.3.4) May 16 22:22:52 sms watchdog[1342]: shutting down the system because of error 101
# modprobe sp5100_tco heartbeat=300 # dmesg | grep sp5100_tco [ 3.995335] sp5100_tco: SP5100/SB800 TCO WatchDog Timer Driver v0.05 [ 3.995571] sp5100_tco: PCI Revision ID: 0x42 [ 3.995680] sp5100_tco: Using 0xfed80b00 for watchdog MMIO address [ 3.995696] sp5100_tco: Last reboot was not triggered by watchdog. [ 3.995880] sp5100_tco: initialized (0xffffc90000746b00). heartbeat=60 sec (nowayout=0) [ 208.726037] sp5100_tco: SP5100/SB800 TCO Watchdog Module Unloaded [ 218.427251] sp5100_tco: SP5100/SB800 TCO WatchDog Timer Driver v0.05 [ 218.427436] sp5100_tco: PCI Revision ID: 0x42 [ 218.427547] sp5100_tco: Using 0xfed80b00 for watchdog MMIO address [ 218.427564] sp5100_tco: Last reboot was not triggered by watchdog. [ 218.431145] sp5100_tco: initialized (0xffffc9000074eb00). heartbeat=300 sec (nowayout=0)
# vi /etc/modprobe.d/watchdog.conf options sp5100_tco heartbeat=300