Changes

Jump to: navigation, search

Linux Mint: Watchdog configuration

70 bytes added, 12:13, 27 June 2018
* Notes for fitlet1: kernel module i2c_piix4 should be blacklisted
* Notes for IPC2-Haswell: iTCO Watchdog does not reset ACPI Watchdog timer<div class="toccolours mw-collapsible mw-collapsed" overflow:auto;">* if the iTCO BIOS does not reset the ACPI Watchdog timer, you may need to disable the BIOS configuration from Linux BIOS --> South bridge --> Watchdog Get super-user permissions: $ su Password:   $ apt install ioport And then run the following command: $ outl 0x1854 0x2000 To read it for validation please run (also as super-user): $ printf "0x%x\n" $(inl 0x1854) 0x2000 To run this command automatically on each boot add it to file named /etc/rc.local.If you do not have such file, create it.  #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. outl 0x1854 0x2000 exit 0 Make it executable  $ sudo chmod +x /etc/rc.local</div>
Add the following lines to the /etc/modprobe.d/blacklist.conf
# fitlet1: sp5100_tco conflicts with i2c_piix4 for I/O address 0x0cd6
* As a result, the watchdog mechanism should reboot the system within 30 seconds.
 
== Troubleshooting ==
=== iTCO Watchdog does not reset ACPI Watchdog timer ===
* if the iTCO BIOS does not reset the ACPI Watchdog timer, you may need to disable the BIOS configuration from Linux
BIOS --> South bridge --> Watchdog
 
Get super-user permissions:
$ su
Password:
 
$ apt install ioport
 
And then run the following command:
$ outl 0x1854 0x2000
 
To read it for validation please run (also as super-user):
$ printf "0x%x\n" $(inl 0x1854)
0x2000
 
To run this command automatically on each boot add it to file named /etc/rc.local.
If you do not have such file, create it.
 
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
outl 0x1854 0x2000
exit 0
 
Make it executable
 
$ sudo chmod +x /etc/rc.local
1,586
edits