The 'watchdog did not stop' message has returned

System:
  Kernel: 5.18.12-3-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0 Desktop: GNOME v: 42.3.1
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82B5 v: Lenovo Legion 5 15ARH05
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40688 WIN serial: <superuser required>
    UEFI-[Legacy]: LENOVO v: EUCN19WW date: 05/12/2020
Battery:
  ID-1: BAT0 charge: 43.8 Wh (99.1%) condition: 44.2/60.0 Wh (73.7%) volts: 17.1 min: 15.4
    model: Celxpert L19C4PC0 status: N/A
CPU:
  Info: 8-core model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 type: MT MCP arch: Zen 2
    rev: 1 cache: L1: 512 KiB L2: 4 MiB L3: 8 MiB
  Speed (MHz): avg: 1623 high: 2987 min/max: 1400/2900 boost: enabled cores: 1: 2041 2: 1397
    3: 1878 4: 1395 5: 1673 6: 1606 7: 1397 8: 1523 9: 1397 10: 1624 11: 1472 12: 1395 13: 1394
    14: 2987 15: 1397 16: 1397 bogomips: 92663
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] vendor: Lenovo driver: nvidia v: 470.129.06
    arch: Turing bus-ID: 01:00.0
  Device-2: AMD Renoir vendor: Lenovo driver: amdgpu v: kernel arch: GCN 5.1 bus-ID: 05:00.0
  Device-3: Chicony Integrated Camera type: USB driver: uvcvideo bus-ID: 1-3:2
  Display: x11 server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.3 driver: X:
    loaded: amdgpu,nvidia gpu: amdgpu resolution: 1920x1080~120Hz
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: NVIDIA driver: snd_hda_intel v: kernel bus-ID: 01:00.1
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo driver: N/A bus-ID: 05:00.5
  Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel
    bus-ID: 05:00.6
  Sound Server-1: ALSA v: k5.18.12-3-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.21 running: no
  Sound Server-3: PulseAudio v: 16.1 running: yes
  Sound Server-4: PipeWire v: 0.3.56 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169
    v: kernel port: 2000 bus-ID: 03:00.0
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus-ID: 04:00.0
  IF: wlp4s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-3:3
  Report: rfkill ID: hci0 rfk-id: 3 state: up address: see --recommends
Drives:
  Local Storage: total: 476.94 GiB used: 282.43 GiB (59.2%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HBJQ-000L2 size: 476.94 GiB temp: 39.9 C
Partition:
  ID-1: / size: 459.72 GiB used: 282.31 GiB (61.4%) fs: ext4 dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: partition size: 8.8 GiB used: 128.5 MiB (1.4%) dev: /dev/nvme0n1p2
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 40.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 379 Uptime: 50m Memory: 15 GiB used: 5.68 GiB (37.8%) Init: systemd Compilers:
  gcc: 12.1.0 clang: 14.0.6 Packages: 1601 Client: gnome-shell v: 42.3.1 inxi: 3.3.19

This message has comeback when rebooting. I got rid of this message or at least hide it way back when. For some reason it’s back. I just don’t want to see this message when rebooting. How do I do that?

check with these commands:
cat /proc/sys/kernel/watchdog
cat /proc/sys/kernel/nmi_watchdog
both should return ‘0’ if watchdog is disabled

According to arch wiki - some has reported the need to use a blacklist

@wildcard . There is an older post on this topic as well about what @linux-aarhus has quoted

https://forum.manjaro.org/t/watchdog-did-not-stop/83414

Hope this helps

Thanks! But I’ve already done all of this years ago. For some reason they don’t work anymore.

From:

Make backup a default grub file:

sudo cp /etc/default/grub /etc/default/grub.bak

Edit grub file in Your favorite text editor. For this HowTo I used nano.

sudo nano /etc/default/grub

Find line:

GRUB_CMDLINE_LINUX=""

Disabling Watchdog feature

nowatchdog

…don’t forget to

sudo update-grub

NOTE: blacklist Watchdogs modules too:
/etc/modprobe.d/blacklist.conf

blacklist iTCO_wdt
blacklist iTCO_vendor_support
1 Like

Thanks, but I already have all of this before the issue came back.

Did you check this:

Improving performance - ArchWiki

the boot parameter (depending on the correct name for it) should work

as well as the additions to the grub command line.


If it does not work
show your work :wink:

Hi,
Although I could not find the message which appears when I restart the system I also did the changes suggested in the posts and the result is the following:

cat /proc/sys/kernel/watchdog
0
[jochoa@nbjochoa ~]$ cat /proc/sys/kernel/nmi_watchdog
0

[jochoa@nbjochoa ~]$ cat /etc/modprobe.d/blacklist.conf
blacklist iTCO_wdt
blacklist iTCO_vendor_support

[jochoa@nbjochoa ~]$ cat /etc/default/grub | grep nowatchdog
GRUB_CMDLINE_LINUX="nowatchdog"

[jochoa@nbjochoa ~]$ journalctl -xe -b | grep watchdog

[jochoa@nbjochoa ~]$ dmesg  | grep watchdog
dmesg: fallo al leer el «buffer» del núcleo: Operación no permitida

[jochoa@nbjochoa ~]$ sudo dmesg  | grep watchdog
[sudo] contraseña para jochoa: 
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.18-x86_64 root=UUID=1f905f6b-acee-4acd-96d3-9501d3b47e6a rw nowatchdog quiet apparmor=1 security=apparmor udev.log_priority=3
[    0.048030] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.18-x86_64 root=UUID=1f905f6b-acee-4acd-96d3-9501d3b47e6a rw nowatchdog quiet apparmor=1 security=apparmor udev.log_priority=3

[jochoa@nbjochoa ~]$ wdctl
Dispositivo:   /dev/watchdog0
Identidad:     wdat_wdt [versión 0]
Tiempo de espera: 30 segundos
Tiempo restante:  0 segundos

Maybe, I missed some configuration.

Regards,

i had a similar issue. after issuing nowatchdog and blacklisting the two modules, i would still get watchdog did not end errors during reboots still. i had to also add nmi_watchdog=0 after nowatchdog.

so my grub line looks like the following:

GRUB_CMDLINE_LINUX_DEFAULT=“quiet resume=UUID=c11af399-b978-4bf0-9ef0-16d97c8cb8af udev.log_priority=3 nowatchdog nmi_watchdog=0”

edit:
scratch the above. on another reboot, i received another watchdog didn’t shutdown error again. so digging into it more, wdctl was showing me:

sp5100

was in use. so i added blacklist sp5100_tco to my blacklist.conf file and now watchdog is finally disabled for good. i also removed nmi_watchdog=0 from my grub line and just kept nowatchdog instead. wdctl is now reporting:

wdctl: No default device is available.: No such file or directory

so for j8a, your wdctl is reporting

wdat_wdt

so i would find the exact module name for that and blacklist. that should fix your problem. you still have one more watchdog module running. that’s your issue.

Please share

lsmod|sort

Hi @FadeMind ,
This is the output of the command in my laptop:

lsmod | sort
8250_dw                20480  0
ac97_bus               16384  1 snd_soc_core
acpi_thermal_rel       16384  1 int3400_thermal
aesni_intel           380928  3
af_alg                 36864  6 algif_hash,algif_skcipher
algif_hash             16384  1
algif_skcipher         16384  1
atkbd                  36864  0
bluetooth             876544  44 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
bnep                   32768  2
bpf_preload            24576  0
btbcm                  20480  1 btusb
btintel                49152  1 btusb
btmtk                  16384  1 btusb
btrtl                  28672  1 btusb
btusb                  65536  0
cfg80211             1085440  2 mac80211,rtl8xxxu
cmac                   16384  2
coretemp               20480  0
cqhci                  40960  1 sdhci_pci
crc16                  16384  2 bluetooth,ext4
crc32c_generic         16384  0
crc32c_intel           24576  4
crc32_pclmul           16384  0
crct10dif_pclmul       16384  1
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel
crypto_simd            16384  1 aesni_intel
crypto_user            24576  0
drm_buddy              20480  1 i915
drm_dp_helper         167936  1 i915
dw_dmac                16384  0
ecdh_generic           16384  1 bluetooth
ext4                 1015808  2
fat                    90112  1 vfat
fuse                  176128  5
ghash_clmulni_intel    16384  0
hid_multitouch         32768  0
i2c_hid                40960  1 i2c_hid_acpi
i2c_hid_acpi           16384  0
i2c_i801               45056  0
i2c_smbus              20480  1 i2c_i801
i8042                  45056  0
i915                 3428352  15
idma64                 20480  0
int3400_thermal        20480  0
int3403_thermal        20480  0
int340x_thermal_zone    20480  2 int3403_thermal,processor_thermal_device
intel_cstate           20480  0
intel_gtt              28672  1 i915
intel_hid              28672  0
intel_lpss             16384  1 intel_lpss_pci
intel_lpss_pci         28672  6
intel_pmc_bxt          16384  0
intel_powerclamp       20480  0
intel_punit_ipc        16384  1 intel_telemetry_pltdrv
intel_rapl_common      32768  2 intel_rapl_msr,processor_thermal_rapl
intel_rapl_msr         20480  0
intel_soc_dts_iosf     20480  1 processor_thermal_device_pci_legacy
intel_telemetry_core    20480  1 intel_telemetry_pltdrv
intel_telemetry_pltdrv    32768  0
intel_xhci_usb_role_switch    16384  0
ip_tables              36864  0
irqbypass              16384  1 kvm
jbd2                  192512  1 ext4
joydev                 28672  0
kvm                  1118208  1 kvm_intel
kvm_intel             389120  0
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_sof
libarc4                16384  1 mac80211
libphy                172032  3 r8169,mdio_devres,realtek
libps2                 20480  2 atkbd,psmouse
loop                   36864  0
lpc_ich                28672  0
mac80211             1249280  1 rtl8xxxu
mac_hid                16384  0
mbcache                16384  1 ext4
mc                     69632  5 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
mdio_devres            16384  1 r8169
mei                   172032  5 mei_hdcp,mei_pxp,mei_me
mei_hdcp               24576  0
mei_me                 53248  2
mei_pxp                20480  0
memstick               24576  1 rtsx_usb_ms
mmc_block              57344  0
mmc_core              229376  5 sdhci,rtsx_usb_sdmmc,cqhci,mmc_block,sdhci_pci
Module                  Size  Used by
mousedev               24576  0
mtd                    90112  3 spi_nor
pcspkr                 16384  0
processor_thermal_device    20480  1 processor_thermal_device_pci_legacy
processor_thermal_device_pci_legacy    16384  0
processor_thermal_mbox    16384  2 processor_thermal_rfim,processor_thermal_device
processor_thermal_rapl    20480  1 processor_thermal_device
processor_thermal_rfim    16384  1 processor_thermal_device
psmouse               212992  0
qrtr                   57344  4
r8169                 106496  0
rapl                   16384  0
realtek                36864  1
rfcomm                 94208  16
rfkill                 36864  5 bluetooth,cfg80211
rng_core               20480  1 tpm
roles                  16384  1 intel_xhci_usb_role_switch
rtl8xxxu              163840  0
rtsx_usb               32768  2 rtsx_usb_sdmmc,rtsx_usb_ms
rtsx_usb_ms            24576  0
rtsx_usb_sdmmc         32768  0
sdhci                  90112  1 sdhci_pci
sdhci_pci              81920  0
serio                  28672  6 serio_raw,atkbd,psmouse,i8042
serio_raw              20480  0
snd                   126976  23 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
snd_compress           28672  1 snd_soc_core
snd_hda_codec         184320  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
snd_hda_codec_hdmi     86016  1
snd_hda_codec_realtek   172032  1
snd_hda_core          118784  10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_hda_ext_core       36864  4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_hda_intel          61440  3
snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
snd_intel_dspcfg       36864  3 snd_hda_intel,snd_sof_intel_hda_common,snd_soc_skl
snd_intel_sdw_acpi     20480  2 snd_sof_intel_hda_common,snd_intel_dspcfg
snd_pcm               172032  13 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_rawmidi            49152  1 snd_usbmidi_lib
snd_seq_device         16384  1 snd_rawmidi
snd_soc_acpi           16384  3 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_soc_skl
snd_soc_acpi_intel_match    65536  3 snd_sof_intel_hda_common,snd_soc_skl,snd_sof_pci_intel_apl
snd_soc_core          393216  5 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl
snd_soc_hdac_hda       28672  2 snd_sof_intel_hda_common,snd_soc_skl
snd_soc_skl           217088  0
snd_soc_sst_dsp        40960  1 snd_soc_skl
snd_soc_sst_ipc        20480  1 snd_soc_skl
snd_sof               237568  2 snd_sof_pci,snd_sof_intel_hda_common
snd_sof_intel_hda      20480  1 snd_sof_intel_hda_common
snd_sof_intel_hda_common   139264  1 snd_sof_pci_intel_apl
snd_sof_pci            24576  2 snd_sof_intel_hda_common,snd_sof_pci_intel_apl
snd_sof_pci_intel_apl    16384  0
snd_sof_utils          20480  1 snd_sof
snd_sof_xtensa_dsp     20480  1 snd_sof_intel_hda_common
snd_timer              49152  1 snd_pcm
snd_usb_audio         385024  1
snd_usbmidi_lib        45056  1 snd_usb_audio
soc_button_array       20480  0
soundcore              16384  1 snd
soundwire_bus         122880  3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
soundwire_cadence      45056  1 soundwire_intel
soundwire_generic_allocation    16384  1 soundwire_intel
soundwire_intel        53248  1 snd_sof_intel_hda_common
sparse_keymap          16384  1 intel_hid
spi_intel              28672  1 spi_intel_platform
spi_intel_platform     16384  0
spi_nor               110592  0
spi_pxa2xx_platform    40960  0
squashfs               77824  0
tpm                   102400  3 tpm_tis,tpm_crb,tpm_tis_core
tpm_crb                20480  0
tpm_tis                16384  0
tpm_tis_core           28672  1 tpm_tis
ttm                    86016  1 i915
uinput                 20480  0
usbhid                 73728  0
uvcvideo              155648  0
vfat                   24576  1
video                  57344  1 i915
videobuf2_common       86016  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
videobuf2_memops       20480  1 videobuf2_vmalloc
videobuf2_v4l2         40960  1 uvcvideo
videobuf2_vmalloc      20480  1 uvcvideo
videodev              311296  3 videobuf2_v4l2,uvcvideo,videobuf2_common
vivaldi_fmap           16384  1 atkbd
wdat_wdt               20480  0
x86_pkg_temp_thermal    20480  0
xhci_pci               20480  0
xhci_pci_renesas       24576  1 xhci_pci
x_tables               57344  1 ip_tables

Regards,

this one

1 Like

Hello, I have done all the steps to make it 0 but after reboot it changes back to 1 again. Kindly help.

1a) you can use grub config from /etc/default/grub by adding nowatchdog to the end of the line:
GRUB_CMDLINE_LINUX_DEFAULT=“”
save the file and run in terminal:

sudo update-grub

1b) you can create config file in /etc/sysctl.d (for example 99-sysctl.conf) and directly set in it kernel parameters:

kernel.nmi_watchdog=0
kernel.soft_watchdog=0
kernel.watchdog=0
  1. make file in /etc/modprobe.d (for example 99-blacklist.conf)
    for intel cpu:
blacklist iTCO_wdt
blacklist iTCO_vendor_support

for amd ryzen:

blacklist sp5100_tco
  1. to regenerate all the initramfs images after a change run (check that in /etc/mkinitcpio.conf is preset hook modconf):
sudo mkinicpio -P
  1. reboot and check the status with:
wdctl

and

sudo sysctl -a | grep watchdog

note that if you want to disable watchdog timers (both software and hardware), append nowatchdog to your boot parameters (see 1a)

Can you tell me step by step i am quite a new Linux user.