Last modified on 18 October 2020, at 07:23

Fitlet Watchdog

Watchdog Setup in Windows

1. Watchdog installation:

  • Installs and enables the watchdog timer in OS mode with default timeout of 60 seconds. Once OS failure has occurred, and watchdog service stopped responding, after timeout period computer will restart.
  • Run the fitlet_watchdog_x64.exe file and follow the on-screen instructions

2. Restart the computer and enter BIOS

3. BIOS Setup:

  • Enables/disables the Watchdog during BIOS phase
  • Enter the BIOS menu, browse to Advanced -> Power Settings sub-menu and enable the Watchdog option
  • Notes:
  1. After enabling Watchdog in Windows, the option in BIOS must be enabled
  2. After disabling Watchdog in Windows, the option in BIOS must be disabled
  3. The timeout period of the BIOS Watchdog must be long enough to ensure that Windows has enough time to boot up and starts the Watchdog service

Watchdog Usage in Windows

1.1. Command Prompt:

  • Open the Command Prompt (CMD) in Administrator Mode
  • Browse to the Watchdog folder (C:\Watchdog)
  • Run the watchdog.exe file with appropriate arguments:
 watchdog [command] [time] 
[command] enable - Enables the watchdog and sets its time period to the value specified in the 'time' argument
disable - Disables the watchdog
help - Displays this help
[time] Time in seconds. Supported range [20-240]
watchdog enable 60 - Enable watchdog and set its period to 60 sec
watchdog disable - Disable watchdog

1.2. Predefined Scripts:

  • Open the Watchdog folder in the Start Menu
  • Run one of the predefined scripts in Administrator Mode

2. Watchdog uninstall:

  • Restart the PC and disable Watchdog option in BIOS
  • Open the Watchdog folder in the Start Menu
  • Click on the Uninstall Watchdog icon
  • Restart the computer

Watchdog in Linux

  • Not supported in mainline Linux kernel yet
  • Linux Kernel for Fitlet should be installed to make this feature work
  • The AMD FCH (Fusion Controller Hub) supports a user configurable watchdog
  • Once the watchdog is enabled the system restarts once the timeout period elapses, in order to prevent it the user needs to either feed the watchdog or to disable it
$ sudo apt-get install watchdog
  • Uncomment watchdog-device line in /etc/watchdog.conf
watchdog-device = /dev/watchdog
  • Set responsible kernel module to sp5100_tco in /etc/default/watchdog
  • By default the timeout value is 60 sec and the watchdog deamon feeds the watchdog every 10 sec
  • As example you can simulate kernel panic (as root user):
$ echo c > /proc/sysrq-trigger
  • As a result, the watchdog is not fed and the system will reboot after 60 sec