Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Tip 1 - Enabling the watchdog in Ubuntu 22.04

Step 1 - Remove the watchdog module from modprobe blacklists:
Code Block
grep -r sp5100_tco /lib/modprobe.d/c

And comment out every "blacklist sp5100_tco".

Step 2 - Create a new modprobe.d entry:
Code Block
echo "options sp5100_tco heartbeat=30 nowayout=1" > /etc/modprobe.d/sp5100_tco.conf
Step 3 - Install the watchdog package
Code Block
apt install -y watchdog
Step 4 - Update the watchdog config

Open the /etc/watchdog.conf file.

...

With:

watchdog-timeout = 30

Step 5 - reboot the system
Code Block
reboot

That’s it, it can be tested by triggering a kernel crash with the following command:

...