Changes

Jump to: navigation, search

Linux Mint: Watchdog configuration

2,088 bytes added, 06:28, 10 August 2018
/* List of tested devices */
Device: fitlet2
CPU: Intel(R) Atom(TM) Processor E3950
BIOS: 05/14/2018 American Megatrends Inc. FLT2.0.40.01.00
OS: Linux Mint 19 Tara
Kernel: 4.15.0-2023-generic
Kernel module: iTCO_wdt
Device: fitlet1
CPU: AMD A10 Micro-6700T APU+AMD Radeon R6 Graphics
BIOS: 11/30/2015 American Megatrends Inc. SBCFLT_0.08.08
OS: Linux Mint 19 Tara
Kernel: 4.15.0-2023-generic
Kernel module: sp5100_tco
 
Device: IPC2
CPU: Intel(R) Core(TM) i5-4300U
BIOS: 05/30/2017 Compulab Ltd. IPC2_3.330.5
OS: Linux Mint 19 Tara
Kernel: 4.15.0-23-generic
Kernel module: iTCO_wdt
 
Device: IPC3
CPU: Intel(R) Core(TM) i5-7200U
BIOS: 08/09/2018 American Megatrends Inc. 5.12_IPC3K.PRD.0.25.7
OS: Linux Mint 19 Tara
Kernel: 4.15.0-23-generic
Kernel module: wdat_wdt
<br>
* == Notes for ==*'''fitlet1''': kernel module i2c_piix4 should be unloaded and blacklisted** Expand the below guide<div class="toccolours mw-collapsible mw-collapsed" overflow:auto;"> sudo Add the following lines to the /etc/modprobe -r i2c_piix4.d/blacklist.conf echo "# fitlet1: sp5100_tco conflicts with i2c_piix4 for I/O address 0x0cd6 blacklist i2c_piix4" | Then, unload i2c_piix4 and update initramfs $ sudo tee modprobe -a r i2c_piix4 $ sudo update-initramfs -u</div>*'''IPC2-Haswell''': iTCO Watchdog does not reset ACPI Watchdog timer** Expand the below guide<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* '''Note:''' On Ubuntu versions below 18.04, ioport should be installed manually from: https://packages.ubuntu.com/bionic/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/modproberc.dlocal.If you do not have such file, create it.  #!/blacklistbin/sh -e # # rc.conflocal # # 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>*'''IPC3''': kernel module wdat_wdt does not produce debug messages, dmesg output will be empty
<br>
* The following usage example represented on fitlet2 with kernel module iTCO_wdt
** For fitlet1 use kernel module sp5100_tco** For IPC3 use kernel module wdat_wdt<br>
* Verify it can be loaded successfully and information about the device appears in dmesg output
$ sudo modprobe iTCO_wdt
uncomment line: watchdog-device = /dev/watchdog
* NOTE: bugfix required for LinuxMint18Linux Mint 18.3
/lib/systemd/system/watchdog.service
add "WantedBy=default.target" line under [Install] header, as per below:
425
edits