Bugzilla – Bug 1212629
All USB ports and attached devices are abruptly disconnected, and data is lost.
Last modified: 2023-09-26 14:40:30 UTC
Issue https://bugzilla.opensuse.org/show_bug.cgi?id=1200781 endures in installed openSuSE Leap 15.5. It takes little time to USB stops. The bug affects all USB ports and attached devices (hard disks, ethernet adapter, keyboard, mouse, &c.), so all devices are abruptly disconnected, and data is lost. Same hardware as referred in the bug 1200781. uname -a Linux $HOSTNAME 5.14.21-150500.53-default #1 SMP PREEMPT_DYNAMIC Wed May 10 07:56:26 UTC 2023 (b630043) x86_64 x86_64 x86_64 GNU/Linux The bug does not happen while using Live KDE media or during installation (installer works fine).
Do the kernel in Live KDE media or installation DVD has any difference or or different parameters passed, than the installed kernel? Which are they?
Some packages might tune the parameters for power-saving, and it might change the behavior, too. For example, tlp is notorious about too aggressive setups. Please give the hwinfo output from both working (Live image) and non-working (installed Leap 15.5) systems. Take the dmesg outputs on both, and attach all outputs to Bugzilla.
Created attachment 867847 [details] dsmeg kde-live 15.5
Created attachment 867848 [details] dsmeg installed system 15.5
Created attachment 867849 [details] hwinfo kde-live 15.5
Created attachment 867850 [details] hwinfo installed system 15.5
The log contains: [ 790.313485] xhci_hcd 0000:02:00.3: xHCI host not responding to stop endpoint command [ 790.313514] xhci_hcd 0000:02:00.3: xHCI host controller not responding, assume dead [ 790.313556] xhci_hcd 0000:02:00.3: HC died; cleaning up So it looks like a USB host issue. Is it a built-in USB or a docking station? In anyway, tossed to Oliver, as this seems to be a USB driver problem.
(In reply to Takashi Iwai from comment #7) > The log contains: > > [ 790.313485] xhci_hcd 0000:02:00.3: xHCI host not responding to stop > endpoint command > [ 790.313514] xhci_hcd 0000:02:00.3: xHCI host controller not responding, > assume dead > [ 790.313556] xhci_hcd 0000:02:00.3: HC died; cleaning up > > So it looks like a USB host issue. > > Is it a built-in USB or a docking station? > > In anyway, tossed to Oliver, as this seems to be a USB driver problem. Hello. It is a built-in USB.
Created attachment 867980 [details] cat dsmeg installed system 15.5 (larger ouput, after rmmod/modprobe xhci_pci, xhci_hcd). rmmod/modprobe xhci_pci, xhci_hcd are not always successful, and their effect last 60 seconds, 80 seconds, when the issue occurs. Then, all devices are disconnected (external hdd, keyboard, mouse, &c.). I tlp is disabled. Issue endures.
(In reply to Takashi Iwai from comment #2) > Some packages might tune the parameters for power-saving, and it might > change the behavior, too. For example, tlp is notorious about too > aggressive setups. > > Please give the hwinfo output from both working (Live image) and non-working > (installed Leap 15.5) systems. Take the dmesg outputs on both, and attach > all outputs to Bugzilla. But I do think that it is power management related, because the issue is more likely to occur when the laptop is un-plugged to AC/DC (it is powered by battery).
Issue endures after kernel update: Linux $HOSTNAME 5.14.21-150500.55.7-default #1 SMP PREEMPT_DYNAMIC Mon Jul 10 18:53:13 UTC 2023 (4204a3a) x86_64 x86_64 x86_64 GNU/Linux Issue is more likely to occur when laptop is powered by battery, although battery was 100% charged. It has no threshold of battery drainage to begin to occur. TLP is not running.
Issue endures after kernel update. New kernel: Linux $HOSTNAME 5.14.21-150500.55.12-default #1 SMP PREEMPT_DYNAMIC Fri Jul 28 08:40:19 UTC 2023 (52c1db3) x86_64 x86_64 x86_64 GNU/Linux
(40 days ago,) I deleted tlp, tlp-rdw, and installed power-profiles-daemon and the issue is not reproduced in a way noticeable to the user, any longer. Kernel command line usbcore.autosuspend=-1 was not enough to solve or mitigate the issue, although I keep it: BOOT_IMAGE=/boot/vmlinuz-5.14.21-150500.55.19-default root=UUID=xxxx splash=silent resume=/dev/xxx preempt=full quiet security=apparmor usbcore.autosuspend=-1 mitigations=auto