Changes

Jump to: navigation, search

Linux Mint: Watchdog configuration

1,796 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-23-generic
Kernel module: sp5100_tco
Device: IPC2
BIOS: 05/30/2017 Compulab Ltd. IPC2_3.330.5
OS: Linux Mint 19 Tara
Kernel: 4.15.0-2023-generic
Kernel module: iTCO_wdt
Device: fitlet1IPC3 CPU: Intel(R) Core(TM) i5-7200U BIOS: 1108/3009/2015 2018 American Megatrends Inc. SBCFLT_05.0812_IPC3K.08PRD.0.25.7
OS: Linux Mint 19 Tara
Kernel: 4.15.0-2023-generic Kernel module: sp5100_tcowdat_wdt
<br>
* == Notes for ==*'''fitlet1''': kernel module i2c_piix4 should be blacklisted ** Expand the below guide<div class="toccolours mw-collapsible mw-collapsed" overflow:auto;">
Add the following lines to the /etc/modprobe.d/blacklist.conf
# fitlet1: sp5100_tco conflicts with i2c_piix4 for I/O address 0x0cd6
$ sudo modprobe -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/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>
*'''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
425
edits