Bugzilla – Bug 1192091
5.14.14 assumes USB controller as dead
Last modified: 2022-01-28 10:12:50 UTC
Description : No USB(-C) at all when running `5.14.14` on a Lenovo Thinkpad X1 Yoga Gen 6 Steps to reproduce : 1. Boot `5.14.14` Excpected : Working USB like in `5.14.11` Result : Kernel assumes the USB contoller as dead System info : https://paste.opensuse.org/5d9b92f7 Log : https://paste.opensuse.org/f5553d43 Other info : The assumption of the USB controller being dead is at line 1005 (xhci error), it works with no issue on both `5.14.11` and `5.15.0-rc3-next-20210930-1.gd782f60-vanilla`
Could you use Bugzilla attachments? It's more persistent and better to get files. Also, please give the dmesg output from the working case (5.14.11), too.
Also I'm building a test kernel with the revert of a few USB patches that are included between 5.14.12 and 5.14.14. It's being built in OBS home:tiwai:bsc1192091 repo. Please give it a try later.
FWIW, the test kernel is available at http://download.opensuse.org/repositories/home:/tiwai:/bsc1192091/standard/ It's be appreciated if you can test it quickly.
Some updates, HEAD kernel (5.15.0-2.1.ge9c94fc) from Kernel:HEAD has the same issues, only linux-next (`5.15.0-rc3-next-20210930-1.gd782f60-vanilla`) worked for me after `5.14.11`, will try your kernel
Created attachment 853486 [details] Log from custom kernel
Your `5.14.15-1.g6917cb6-default` works, just joined the log
Thanks. So the situation looks like: - Some USB-related patches in 5.15 made things broken, and those are backported between 5.14.11 and 5.14.14 - It's fixed eventually in linux-next for 5.16-rc1 FWIW, the patches I disabled are: patches.kernel.org/5.14.12-001-Partially-revert-usb-Kconfig-using-select-for.patch patches.kernel.org/5.14.12-002-usb-cdc-wdm-Fix-check-for-WWAN.patch patches.kernel.org/5.14.12-003-usb-chipidea-ci_hdrc_imx-Also-search-for-phys.patch patches.kernel.org/5.14.12-004-usb-gadget-f_uac2-fixed-EP-IN-wMaxPacketSize.patch patches.kernel.org/5.14.12-005-USB-cdc-acm-fix-racy-tty-buffer-accesses.patch patches.kernel.org/5.14.12-006-USB-cdc-acm-fix-break-reporting.patch patches.kernel.org/5.14.12-007-usb-typec-tcpci-don-t-handle-vSafe0V-event-if.patch patches.kernel.org/5.14.12-008-usb-typec-tcpm-handle-SRC_STARTUP-state-if-cc.patch patches.kernel.org/5.14.12-009-usb-typec-tipd-Remove-dependency-on-connector.patch patches.kernel.org/5.14.14-048-usb-musb-dsps-Fix-the-probe-error-path.patch
Thanks for that info, will try compiling my kernel from scratch and post upstream if it is still broken
(In reply to Nicolas FORMICHELLA from comment #8) > Thanks for that info, will try compiling my kernel from scratch and post > upstream if it is still broken Thanks! Meanwhile, I'm building three kernels to identify which patch breaks. OBS home:tiwai:bsc1192091-1 repo is with the revert of patches.kernel.org/5.14.12-007-usb-typec-tcpci-don-t-handle-vSafe0V-event-if.patch, OBS home:tiwai:bsc1192091-2 repo is with the revert of patches.kernel.org/5.14.12-008-usb-typec-tcpm-handle-SRC_STARTUP-state-if-cc.patch, OBS home:tiwai:bsc1192091-3 repo is with the revert of patches.kernel.org/5.14.12-009-usb-typec-tipd-Remove-dependency-on-connector.patch. Once when those get ready, please try one by one.
Sure, will do
Do still have the problem with the latest TW kernel? If yes, it might be fixed by the test kernel in OBS home:tiwai:bsc1192569 repo. The package will be available later at: http://download.opensuse.org/repositories/home:/tiwai:/bsc1192569/standard/
5.16.x resolved the issue, thanks anyways for the effort