Changes

Jump to: navigation, search

Fitlet Watchdog

898 bytes added, 13:27, 17 December 2015
/* Watchdog Usage in Linux */
== 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. <br>
3. BIOS Setup: <br>
* Enables/disables the Watchdog during BIOS phase
* Enter the BIOS menu, browse to ''Advanced -> Watchdog ConfigurationPower Settings'' sub-menu and enable the Watchdog option
*'''Notes''':
# After enabling Watchdog in Windows, the option in BIOS must be enabled
# 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: <br>
* Open the Command Prompt (CMD) in Administrator Mode
2. Watchdog uninstall: <br>
* Disable the Watchdog in Windows* Disable Restart the PC and disable Watchdog option in the BIOS
* Open the Watchdog folder in the Start Menu
* Click on the Uninstall Watchdogicon
* Restart the computer
 
== Watchdog in Linux ==
* Not supported in mainline Linux kernel yet
* [[Fitlet:_Linux:_Kernel | 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
watchdog_module="sp5100_tco"
* 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
== Links ==