Bug 1184349 - USB devices are not working after suspend (restart fixes it)
USB devices are not working after suspend (restart fixes it)
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: Kernel
Leap 15.3
Other Other
: P2 - High : Normal (vote)
: ---
Assigned To: openSUSE Kernel Bugs
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-04-06 08:07 UTC by Lubos Kocman
Modified: 2021-04-06 13:28 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
full dmesg output (138.20 KB, text/plain)
2021-04-06 08:07 UTC, Lubos Kocman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lubos Kocman 2021-04-06 08:07:08 UTC
Created attachment 848000 [details]
full dmesg output

Hello I'm using a company Dell Precision 5530 and seems like USB devices connected either via docking station or directly to laptop stop working. 

I'm using latest published Beta build 117.13

Other devices such as Display connected trough the same dock simply work.

This dmesg out seems suspicious

[ 1075.466114] usb 4-1: Manufacturer: Microchip
[ 1075.467663] hub 4-1:1.0: USB hub found
[ 1075.467716] hub 4-1:1.0: 7 ports detected
[ 1075.673718] usb 4-1: USB disconnect, device number 2
[ 1075.673731] usb 4-1: Failed to suspend device, error -19
[ 1075.965539] usb 4-1: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[ 1075.989762] usb 4-1: New USB device found, idVendor=0424, idProduct=5807, bcdDevice= 2.04
[ 1075.989763] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1075.989763] usb 4-1: Product: USB5807 Hub
[ 1075.989764] usb 4-1: Manufacturer: Microchip
[ 1075.990553] hub 4-1:1.0: USB hub found
[ 1075.990628] hub 4-1:1.0: 7 ports detected
...
Comment 1 Lubos Kocman 2021-04-06 08:08:49 UTC
lkocman@localhost:~> rpm -qa | egrep -e "kernel|kmod"
kernel-devel-5.3.18-47.7.noarch
kernel-firmware-realtek-20210208-2.4.noarch
kernel-firmware-i915-20210208-2.4.noarch
kmod-bash-completion-28-2.1.noarch
kernel-default-optional-5.3.18-52.3.x86_64
kernel-firmware-prestera-20210208-2.4.noarch
kernel-firmware-brcm-20210208-2.4.noarch
nfs-kernel-server-2.1.1-10.10.1.x86_64
kernel-firmware-nfp-20210208-2.4.noarch
kernel-firmware-atheros-20210208-2.4.noarch
kernel-default-devel-5.3.18-52.3.x86_64
libkmod2-28-2.1.x86_64
kernel-firmware-mellanox-20210208-2.4.noarch
kernel-firmware-amdgpu-20210208-2.4.noarch
kernel-default-extra-5.3.18-52.3.x86_64
kernel-firmware-ueagle-20210208-2.4.noarch
kernel-firmware-platform-20210208-2.4.noarch
kernel-firmware-marvell-20210208-2.4.noarch
kernel-firmware-bnx2-20210208-2.4.noarch
kernel-preempt-devel-5.3.18-47.7.x86_64
kernel-macros-5.3.18-52.3.noarch
kernel-syms-5.3.18-52.1.x86_64
kernel-firmware-all-20210208-2.4.noarch
kernel-firmware-serial-20210208-2.4.noarch
kernel-firmware-network-20210208-2.4.noarch
kernel-firmware-intel-20210208-2.4.noarch
kernel-firmware-ath11k-20210208-2.4.noarch
kernel-default-5.3.18-47.7.x86_64
kernel-firmware-mediatek-20210208-2.4.noarch
kernel-firmware-chelsio-20210208-2.4.noarch
kernel-devel-5.3.18-52.3.noarch
purge-kernels-service-0-6.2.noarch
kernel-firmware-qlogic-20210208-2.4.noarch
kernel-default-extra-5.3.18-47.7.x86_64
kernel-firmware-ti-20210208-2.4.noarch
kernel-firmware-nvidia-20210208-2.4.noarch
kernel-firmware-liquidio-20210208-2.4.noarch
kernel-firmware-bluetooth-20210208-2.4.noarch
kernel-preempt-devel-5.3.18-52.3.x86_64
kernel-default-devel-5.3.18-47.7.x86_64
kernel-syms-5.3.18-47.6.x86_64
kmod-28-2.1.x86_64
kernel-firmware-mwifiex-20210208-2.4.noarch
kernel-firmware-ath10k-20210208-2.4.noarch
kernel-firmware-usb-network-20210208-2.4.noarch
kernel-firmware-media-20210208-2.4.noarch
kernel-default-5.3.18-52.3.x86_64
kernel-firmware-sound-20210208-2.4.noarch
kernel-firmware-iwlwifi-20210208-2.4.noarch
kernel-firmware-radeon-20210208-2.4.noarch
kernel-default-optional-5.3.18-47.7.x86_64
kernel-firmware-dpaa2-20210208-2.4.noarch
Comment 2 Lubos Kocman 2021-04-06 08:14:22 UTC
ah here is bunch of errors

[ 1073.865411] xhci_hcd 0000:3a:00.0: xHCI host controller not responding, assume dead
[ 1073.869806] xhci_hcd 0000:3a:00.0: USB bus 4 deregistered
[ 1073.869821] xhci_hcd 0000:3a:00.0: remove, state 4
[ 1073.869823] usb usb3: USB disconnect, device number 1
[ 1073.869938] xhci_hcd 0000:3a:00.0: Host halt failed, -19
[ 1073.869945] xhci_hcd 0000:3a:00.0: Host not accessible, reset failed.
[ 1073.870019] xhci_hcd 0000:3a:00.0: USB bus 3 deregistered
[ 1073.870154] pcieport 0000:03:01.0: Refused to change power state, currently in D3
[ 1073.870279] pcieport 0000:03:00.0: Refused to change power state, currently in D3
[ 1073.870395] pci_bus 0000:04: busn_res: [bus 04] is released
[ 1073.870459] pci_bus 0000:05: busn_res: [bus 05-39] is released
[ 1073.870543] pci_bus 0000:3a: busn_res: [bus 3a] is released
[ 1073.870760] pci_bus 0000:03: busn_res: [bus 03-3a] is released
[ 1074.759734] usb 1-5-port6: cannot reset (err = -71)
[ 1074.759907] usb 1-5-port6: cannot reset (err = -71)
[ 1074.759962] usb 1-5-port6: cannot reset (err = -71)
[ 1074.760127] usb 1-5-port6: cannot reset (err = -71)
[ 1074.760183] usb 1-5-port6: cannot reset (err = -71)
[ 1074.760185] usb 1-5-port6: Cannot enable. Maybe the USB cable is bad?
Comment 3 Takashi Iwai 2021-04-06 09:03:32 UTC
Could you retest with the latest kernel in OBS Kernel:SLE15-SP3 repo?
It's likely the USB audio bug that has been already fixed in the git repo.
Comment 4 Lubos Kocman 2021-04-06 10:59:43 UTC
Will test during today! Thank you Takashi!
Comment 5 Lubos Kocman 2021-04-06 12:35:40 UTC
Updated to 5.3.18-135.g64d6137-default, rebooted I did something like 5 suspend tests and no issue so far. I'm marking issue as resolved. Please make sure that it lands in SLE soon otherwise it's a pretty annoying issue on Workstation/Desktop.

Thank you team!
Comment 6 Libor Pechacek 2021-04-06 13:28:55 UTC
(In reply to Lubos Kocman from comment #5)
> Please make sure that it lands in SLE soon otherwise it's a pretty annoying issue
> on Workstation/Desktop.

For the record, the fix, which Takashi mentioned, was merged into SLE15-SP3 on March 18th (commit 15a2a71f1bdc) and will be shipped with the next SLE milestone.