#1054231 WatchDog broken since version 5.17

Package:
src:linux
Source:
src:linux
Submitter:
программист некто
Date:
2025-02-28 05:51:02 UTC
Severity:
normal
Tags:
#1054231#5
Date:
2023-10-19 15:44:48 UTC
From:
To:
Hello. WatchDog broken since version 5.17. Kernel write an error to syslog.
Tested versions: 5.10, 5.15, 5.16, 5.17, 5.19, 6.1, 6.5.

From syslog:
KERNEL 5.16 (and lower)
Oct 19 12:24:12 debian-gateway kernel: Linux version 5.16.0-6-amd64 (debian-kernel@lists.debian.org) (gcc-11 (Debian 11.2.0-19) 11.2.0, GNU ld (GNU Binutils for Debian) 2.38) #1 SMP PREEMPT Debian 5.16.18-1 (2022-03-29)
...
Oct 19 12:24:13 debian-gateway kernel: sp5100_tco: SP5100/SB800 TCO WatchDog Timer Driver

KERNEL 5.17 (and higher)
Oct 18 20:36:00 debian-gateway kernel: Linux version 5.17.0-3-amd64 (debian-kernel@lists.debian.org) (gcc-11 (Debian 11.3.0-3) 11.3.0, GNU ld (GNU Binutils for Debian) 2.38) #1 SMP PREEMPT Debian 5.17.11-1 (2022-05-26)
...
Oct 18 20:36:01 debian-gateway kernel: sp5100_tco: SP5100/SB800 TCO WatchDog Timer Driver
Oct 18 20:36:01 debian-gateway kernel: sp5100-tco sp5100-tco: Failed to reserve MMIO or alternate MMIO region
Oct 18 20:36:01 debian-gateway kernel: sp5100-tco: probe of sp5100-tco failed with error -16

$ lspci | grep SB
00:12.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 Non-Raid-5 SATA
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB (OHCI0)
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB (OHCI1)
00:13.3 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB (OHCI3)
00:13.4 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB (OHCI4)
00:13.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB600 USB Controller (EHCI)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 14)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB600 IDE
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB600 PCI to LPC Bridge
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge

#1054231#12
Date:
2025-02-20 14:36:17 UTC
From:
To:
Hi

This bug was filed for a very old kernel or the bug is old itself
without resolution.

If you can reproduce it with

- the current version in unstable/testing
- the latest kernel from backports

please reopen the bug, see https://www.debian.org/Bugs/server-control
for details.

Regards,
Salvatore

#1054231#15
Date:
2025-02-20 14:36:17 UTC
From:
To:
Hi

This bug was filed for a very old kernel or the bug is old itself
without resolution.

If you can reproduce it with

- the current version in unstable/testing
- the latest kernel from backports

please reopen the bug, see https://www.debian.org/Bugs/server-control
for details.

Regards,
Salvatore

#1054231#22
Date:
2025-02-21 18:03:12 UTC
From:
To:
Hello.
Linux versions 6.11, 6.12, 6.13 also affected.
Errors in syslog is same.

#1054231#27
Date:
2025-02-21 18:53:11 UTC
From:
To:
Hi,

thanks for reporting back.

Actually I'm unsure if this is a kernel problem. The behaviour change
is induced by:

5559598742fb ("drm/amd/display: Pass non-null to dcn20_validate_apply_pipe_split_flags")
(https://git.kernel.org/linus/1f182aca230086d4a4469c0f9136a6ea762d6385)

which is in 5.18-rc1 (and got backported to v5.17.10 and v5.15.42.

Can you plese double check your MMIO related BIOS settings?

Regards,
Salvatore

#1054231#40
Date:
2025-02-28 02:38:40 UTC
From:
To:
Hello.
I have tested old kernels
linux-image-5.17.0-2-amd64-unsigned (5.7.6-1)
linux-image-5.17.0-3-amd64-unsigned (5.7.11-1)
In first case - error is absent, in second - error is  present.
Also, I check the BIOS settings. There is no any MMIO settings. This is
notebook, it have very small BIOS settings at all.