lsusb hangs

Bug #1534856 reported by Sam Shepperd
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

When plugging an external sound card into USB3 ports on my ASUSTeK P9X79 motherboard, lsusb hangs and the usb device no longer works. If I plug the sound card into a USB2 port, lsusb does not hang but the device is not detected and there are 0 messages printed in dmesg.

bash$ strace lsusb -v
munmap(0x7fa344ff3000, 4096) = 0
open("/sys/bus/usb/devices/usb3/descriptors", O_RDONLY) = 6
read(6,

It hangs on this read and Ctrl-C cannot kill it until I unplug the usb device.

This device was working until maybe 1-2 months ago, I believe when signed UEFI kernels started getting pushed to LTS although that is just a guess on my part. I've tried falling back but I can't find a kernel that works anymore.

bash$ uname -a
3.13.0-74-generic x86_64

bash$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty

Revision history for this message
Sam Shepperd (samshepperd) wrote :

I just confirmed that this external USB device functions properly in Windows 10.

So this is either a problem with my motherboard's USB (unlikely since the rest of my USB devices work) or some USB driver in Ubuntu

tags: added: lsusb
Revision history for this message
Sam Shepperd (samshepperd) wrote :

I just tried upgrading to linux-image-generic-lts-wily (4.2.0-23-generic) and the same problem exists there.

lsusb hangs and the device does not work

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.4 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-wily

affects: linux-lts-trusty (Ubuntu) → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1534856

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: trusty
Revision history for this message
Sam Shepperd (samshepperd) wrote :

Confirmed that this bug also affects linux-image-4.4.0-040400-generic

This device did work on trusty on some older 3.X kernel so this must be an upstream regression.

tags: added: kernel-bug-exists-upstream
removed: lsusb
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Sam Shepperd, while booted into a Ubuntu kernel (not mainline/third party) please execute the following command only once, as it will automatically gather debugging information, in a terminal:
apport-collect 1534856

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in linux (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Sam Shepperd (samshepperd) wrote :

Attached apport log

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Sam Shepperd, please don't manually attach apport logs, as it doesn't allow automatic parsing of the data. Instead, could you please run the command as previously requested?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Sam Shepperd (samshepperd) wrote :

Running apport for this kernel issue is close to useless as it only provides unrelated userland package versions.

Maybe you should worry less about having a perfect apport log and more about a lack of programming background that prevents you from contributing anything useful other than changing categories in launchpad.

Revision history for this message
penalvch (penalvch) wrote :

Sam Shepperd, I'm not sure how being rude and attacking folks who have knowledge about the linux kernel is going to motivate anyone to want to help you, let alone fix your problem.

Despite this, in order to allow additional upstream developers to examine the issue, at your earliest convenience, could you please test the latest upstream kernel available from http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D ? Please keep in mind the following:
1) The one to test is at the very top line at the top of the page (not the daily folder).
2) The release names are irrelevant.
3) The folder time stamps aren't indicative of when the kernel actually was released upstream.
4) Install instructions are available at https://wiki.ubuntu.com/Kernel/MainlineBuilds .

If testing on your main install would be inconvenient, one may:
1) Install Ubuntu to a different partition and then test this there.
2) Backup, or clone the primary install.

If the latest kernel did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this issue is fixed in the mainline kernel, please add the following tags by clicking on the yellow circle with a black pencil icon, next to the word Tags, located at the bottom of the report description:
kernel-fixed-upstream
kernel-fixed-upstream-X.Y-rcZ

Where X, and Y are the first two numbers of the kernel version, and Z is the release candidate number if it exists.

If the mainline kernel does not fix the issue, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-X.Y-rcZ

Please note, an error to install the kernel does not fit the criteria of kernel-bug-exists-upstream.

Once testing of the latest upstream kernel is complete, please mark this report's Status as Confirmed. Please let us know your results.

Thank you for your understanding.

Revision history for this message
Sam Shepperd (samshepperd) wrote :

Problem exists on 4.4 and 4.5-rc1, verified from Ubuntu Mainline builds

tags: added: kernel-bug-exists-upstream-4.5-rc1
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Sam Shepperd, to confirm the kernel regression point, could you please test successively older kernels until the issue is not reproducible following https://wiki.ubuntu.com/Kernel/KernelBisection ?

Changed in linux (Ubuntu):
importance: Low → Medium
status: Confirmed → Incomplete
Revision history for this message
Sam Shepperd (samshepperd) wrote :

This seems to be a regression specifically with the C-Media USB Audio chipset. At least C-Media CM6632 and CM6631A are affected:
http://article.gmane.org/gmane.linux.usb.general/136685

Unfortunately I have not been able to find an older Ubuntu kernel where this works yet. But I can at least confirm the following kernels all contain the problem:

3.5.0-17.28
3.7.0-0
3.9.0-generic
3.10.0-generic
3.12.0-2-generic
3.12.0-4-generic
3.13.0-24-generic
3.13.0-30-generic
3.13.0-40-generic
3.13.0-51-generic
3.13.0-76-generic
4.2.0-25-generic
4.4
4.5-rc1
4.5-rc2

I will continue testing older kernels.

tags: added: kernel-bug-exists-upstream-4.5-rc2
removed: kernel-bug-exists-upstream-4.5-rc1
Revision history for this message
olza (olly-gonj) wrote :

I believe that I have the same problem, however it is my mouse that (I think) causes it.
At least my mouse loses power (not mouses fault as tested by plugging into other computers/usb power outlets).
Anything I can do to help?

Revision history for this message
penalvch (penalvch) wrote :

olza, it will help immensely if you filed a new report with the Ubuntu repository kernel (not mainline/upstream) via a terminal:
ubuntu-bug linux

Please feel free to subscribe me to it.

For more on why this is helpful, please see https://wiki.ubuntu.com/ReportingBugs.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.