All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 211097] New: Resume from suspend sometimes makes some programs freeze for 30s
@ 2021-01-08 20:52 bugzilla-daemon
  2021-07-14 17:21 ` [Bug 211097] " bugzilla-daemon
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon @ 2021-01-08 20:52 UTC (permalink / raw)
  To: linux-usb

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@kernel-bugs.kernel.org
          Reporter: yesmichel@gmail.com
        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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 211097] Resume from suspend sometimes makes some programs freeze for 30s
  2021-01-08 20:52 [Bug 211097] New: Resume from suspend sometimes makes some programs freeze for 30s bugzilla-daemon
@ 2021-07-14 17:21 ` bugzilla-daemon
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2021-07-14 17:21 UTC (permalink / raw)
  To: linux-usb

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

Anthony Vital (yesmichel@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |OBSOLETE

--- Comment #2 from Anthony Vital (yesmichel@gmail.com) ---
I haven't been able to reproduce this for a few weeks, I assume this has been
fixed in one of the recent releases. Closing.

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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-14 17:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-08 20:52 [Bug 211097] New: Resume from suspend sometimes makes some programs freeze for 30s bugzilla-daemon
2021-07-14 17:21 ` [Bug 211097] " bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.