From: bugzilla-daemon@bugzilla.kernel.org
To: linux-usb@vger.kernel.org
Subject: [Bug 211097] New: Resume from suspend sometimes makes some programs freeze for 30s
Date: Fri, 08 Jan 2021 20:52:47 +0000 [thread overview]
Message-ID: <bug-211097-208809@https.bugzilla.kernel.org/> (raw)
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.
next reply other threads:[~2021-01-08 20:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-08 20:52 bugzilla-daemon [this message]
2021-07-14 17:21 ` [Bug 211097] Resume from suspend sometimes makes some programs freeze for 30s bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-211097-208809@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@bugzilla.kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox