grep -r sp5100_tco /lib/modprobe.d/c |
And comment out every "blacklist sp5100_tco".
echo "options sp5100_tco heartbeat=30 nowayout=1" > /etc/modprobe.d/sp5100_tco.conf |
apt install -y watchdog |
Open the /etc/watchdog.conf file.
Uncomment the following line:
#watchdog-device = /dev/watchdog
Replace the following line:
#watchdog-timeout = 60
With:
watchdog-timeout = 30
reboot |
That’s it, it can be tested by triggering a kernel crash, with the following command
echo c > /proc/sysrq-trigger |
The kernel should crash, and the system would reboot after up to 30 seconds