FS#80337 - [linux] udev settle blocked due to malfunction AMD devices kernel driver

Attached to Project: Arch Linux
Opened by Wei Hao (whao) - Thursday, 23 November 2023, 18:14 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:13 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

This bug was introduced in May of kernel 6.7.

My device info is:

-` whao@beelink-gtr6
.o+` -----------------
`ooo/ OS: Arch Linux x86_64
`+oooo: Host: GTR V02
`+oooooo: Kernel: 6.1.63-1-lts
-+oooooo+: Uptime: 23 mins
`/:-:++oooo+: Packages: 1632 (pacman)
`/++++/+++++++: Shell: zsh 5.9
`/++++++++++++++: Resolution: 3840x2160
`/+++ooooooooooooo/` DE: Plasma 5.27.9
./ooosssso++osssssso+` WM: kwin
.oossssso-````/ossssss+` Theme: [Plasma], Breeze [GTK2/3]
-osssssso. :ssssssso. Icons: [Plasma], breeze [GTK2/3]
:osssssss/ osssso+++. Terminal: kitty
/ossssssss/ +ssssooo/- CPU: AMD Ryzen 9 6900HX with Radeon Graphics (16) @ 3.300GHz
`/ossssso+/:- -:/+osssso+- GPU: AMD ATI Radeon 680M
`+sso+:-` `.-/+oso: Memory: 5729MiB / 27823MiB
`++:. `-/+/
.` `/

Product specs is https://minixpc.com/products/beelink-gtr6-amd-ryzen-r9-6900hx-processor-which-is-8-core-16-thread-processor-4-9ghz-windows11-pro-gaming-pc

udev blocks every time the machine from shutdown or reboot. Also blocks after pacman update when processing post-transaction hooks and preventing task finished.

As it is shown in attached kernel log. The blocking device is

[ 6.571418] pcie_mp2_amd 0000:05:00.7: Failed to discover, sensors not enabled is 1
[ 6.571430] pcie_mp2_amd: probe of 0000:05:00.7 failed with error -95

which is 05:00.7 Signal processing controller: Advanced Micro Devices, Inc. [AMD] Sensor Fusion Hub in lspci.

This bug still persists at the time I am reporting this bug with stable kernel version of 6.6.2-arch1-1

6.1.63-1-lts works fine.

Steps to reproduce:

1. Using mainline stable kernel, as for now it is 6.6.2-arch1-1

2. Update the all packages to the latest. (Should have seen udev block here)

3. Try to shutdown or reboot the machine.
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:13 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/linux/issues/7
Comment by Wei Hao (whao) - Thursday, 23 November 2023, 18:16 GMT
Sorry for the typo. The first paragraph should be:

This bug was introduced in May of kernel 6.3.
Comment by loqs (loqs) - Thursday, 23 November 2023, 18:25 GMT Comment by Wei Hao (whao) - Thursday, 23 November 2023, 18:36 GMT
Yes blacklist does the trick thank you :). But I am wondering if this bug should be reported to the upstream?
Comment by loqs (loqs) - Thursday, 23 November 2023, 18:50 GMT
> Yes blacklist does the trick thank you :). But I am wondering if this bug should be reported to the upstream?
Yes it should be reported upstream after being triaged [1]. Before starting on the bisection as well as testing linux-mainline I would suggest trying [2] which does not appear to have ever been added to the kernel.

[1]: https://wiki.archlinux.org/title/Kernel#Debugging_regressions
[2]: https://lore.kernel.org/linux-input/20230620200117.22261-1-mario.limonciello%40amd.com/
Comment by loqs (loqs) - Friday, 24 November 2023, 23:48 GMT
Built package for 6.6.2.arch1 with [1] applied and pkgrel incremented to 1.2 linked below:
https://drive.google.com/file/d/1haZVjINZF64jK6EXgmGT_C_0ZKd_1M_4/view?usp=sharing linux-6.6.2.arch1-1.2-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1wlwls53sNtggCivi4s-HTe0210686KSt/view?usp=sharing linux-headers-6.6.2.arch1-1.2-x86_64.pkg.tar.zst

[1]: https://lore.kernel.org/linux-input/20230620200117.22261-1-mario.limonciello%40amd.com/

Loading...