Since that is not sufficient to stop watchdog from interfering with system shutdowns, what would be? Is there some way maybe to just ensure that it forcefully shuts down when given the signal to do so? Or that it can only timeout for a set amount of time?
blacklist the following as such:
blacklist iTCO_wdt
blacklist iTCO_vendor_support
call file watchdog.conf and place in /etc/modprobe.d/
In Grub add nmi_watchdog=0 and nowatchdog in kernel boot parameter and UPDATE GRUB
Check: cat /proc/sys/kernel/nmi_watchdog
cat /proc/sys/kernel/watchdog
Should show 0
watchdog and nmi_watchdog are two separate things with similar names.
Watchdog
The Linux kernel watchdog is used to monitor if a system is running.
It is supposed to automatically reboot hanged systems due to unrecoverable software errors.
The watchdog module is specific to the hardware or chip being used.
Personal computer users don’t need watchdog as they can reset the system manually.
However, it is useful for systems that are mission critical and need the ability to reboot
themselves without human intervention.
nmi_watchdog
A watchdog is usually a timer like mechanism which will generate an
interrupt at a specified time interval.
An NMI is a non maskable interrupt.
So an NMI watchdog is a watchdog which will generate a non maskable interrupt,
i.e. the interrupt handler will get executed no matter what the CPU state is.
This is very useful in scenarios where you are getting unexplained system freeze scenarios,
as the NMI watchdog interrupt handler will simply kill whatever process
happens to be freezing the CPU at the moment.
This way, your CPU gets freed up AND you get a detailed stack trace of why your
CPU got frozen up in the first place.
I have this problem with Arch. With Manjaro it disappeared, for whatever reason. Possibly it is due to the customized kernel.
=> Blacklist the modules in /etc/modeprobe.d/blacklist.conf (create this file if you don’t have it).
To disable watchdog timers (both software and hardware), append nowatchdog to your boot parameters:
sudo nano /etc/modprobe.d/blacklist.conf
# Disable intel mei (including mei_watchdog).
blacklist intel_pmc_bxt
blacklist iTCO_vendor_support
# Do not load the 'iTCO_wdt' watchdog module on boot.
blacklist iTCO_wdt
i had my computer on for almost 2 days before rebooting and did not encounter the issue, usually running the system for long and rebooting would make this issue very likely to occur, I am assuming it is resolved unless I encounter it again and marked your answer as the solution.