[Bug 211097] New: Resume from suspend sometimes makes some programs freeze for 30s

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=211097

            Bug ID: 211097
           Summary: Resume from suspend sometimes makes some programs
                    freeze for 30s
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.10
          Hardware: Intel
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: USB
          Assignee: drivers_usb@xxxxxxxxxxxxxxxxxxxxxx
          Reporter: yesmichel@xxxxxxxxx
        Regression: No

Created attachment 294577
  --> https://bugzilla.kernel.org/attachment.cgi?id=294577&action=edit
dmesg

Sometimes (it seems random but let's say about 50% of the time), when my system
resumes from suspend, some programs are frozen for about 30s, then become
usable again after that. 
When I say "some programs", I actually mean 2 programs in particular:
plasmashell and lsusb. When they are frozen, I can use pretty much any other
program in the meantime, firefox, dolphin, kwin, etc... without any visible
problem.


What I noticed is that after a freeze, dmesg always ouputs the following
messages several times:
[43629.789713] usb usb3-port4: Cannot enable. Maybe the USB cable is bad?
[43633.849690] usb usb3-port4: Cannot enable. Maybe the USB cable is bad?
[43633.849786] usb usb3-port4: unable to enumerate USB device
And when I check lsusb on that bus it say: 
 Hub Port Status:
   Port 1: 0000.02a0 5Gbps power Rx.Detect
   Port 2: 0000.02a0 5Gbps power Rx.Detect
   Port 3: 0000.02b0 5Gbps power Rx.Detect RESET
   Port 4: 0000.02b0 5Gbps power Rx.Detect RESET
I don't know what RESET is exactly (a state I assume), but when I resume and
the issue doesn't happen, I get this ouput instead:
 Hub Port Status:
   Port 1: 0000.02a0 5Gbps power Rx.Detect
   Port 2: 0000.02a0 5Gbps power Rx.Detect
   Port 3: 0000.02b0 5Gbps power Rx.Detect
   Port 4: 0000.02b0 5Gbps power Rx.Detect


Additional info:
The bug can happen wether something is plugged in the usb ports or not.
(Besides the webcam and the touchscreen, always plugged internally)
The bug was introduced in kernel 5.9.0. I've been able to reproduce with every
kernel release (from the archlinux repositories) after that. I can't reproduce
with an older kernel.
I'm not sure if this this is actually usb related, but given what I've written
above, I tend to think so. But feel free to reassign to another component if
needed.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux