kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #60527
[Bug 1319035] Re: All USB ports gradually fail on Ubuntu, rebooting relieves for days or hours, booting Windows once fixes for weeks.
> * Check BIOS version. Reference
http://www.asus.com/Notebooks_Ultrabooks/N55SF/HelpDesk_Download/
BIOS used is version 207, already the latest available from
manufacturer. Nothing to do here.
> * Test with latest upstream kernel as per the sentence "Would it be
possible for you to test the latest upstream kernel? Refer to
https://wiki.ubuntu.com/KernelMainlineBuilds ."
Now running
Linux n55sf-l 3.15.0-031500rc5-generic #201405091635 SMP Fri May 9 20:36:31 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
from http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.15-rc5-utopic/linux-image-3.15.0-031500rc5-generic_3.15.0-031500rc5.201405091635_amd64.deb
# Error in logs
Noticed that a message happen regularly in /var/log/kern.log. Here are
statistics since november 2012 (date when Ubuntu 13.10 installed). Don't
know if related to the problem, though, but it did just happened when
plugging smartphone in USB2 port. Unplugging then plugging again it
worked.
zgrep "device descriptor read" /var/log/kern.log* -h | grep -o usb.* |
sort | uniq -c
22 usb 1-1.1: device descriptor read/64, error -32
4 usb 1-1.4: device descriptor read/all, error -71
1 usb 2-1.3.4: device descriptor read/64, error -110
8 usb 2-1.3.4: device descriptor read/64, error -32
398 usb 2-1.3: device descriptor read/64, error -71
60 usb 2-1.3: device descriptor read/8, error -71
38 usb 2-1.3: device descriptor read/all, error -71
4 usb 2-1.4.4: device descriptor read/64, error -32
4 usb 2-1.4: device descriptor read/64, error -32
701 usb 2-1.4: device descriptor read/64, error -71
42 usb 2-1.4: device descriptor read/8, error -71
1 usb 2-1.4: device descriptor read/all, error -32
29 usb 2-1.4: device descriptor read/all, error -71
1 usb 3-1: device descriptor read/64, error -71
1 usb 3-2: device descriptor read/8, error -110
2 usb 3-2: device descriptor read/8, error -71
> * Test with Ubuntu 14.04 ?
Does testing latest kernel tagged with "utopic" makes testing Ubuntu
14.04 irrelevant ? Most natural path is that I'll install 14.04
eventually anyway.
# Next step
Latest kernel is not supported by DKMS:
ERROR (dkms apport): kernel package linux-
headers-3.15.0-031500rc5-generic is not supported
and I need DKMS for bumblebee support as this laptop had nVidia Optimus
technology and if bumblebee is not enabled it draws a lot of power at
all times, becomes bery hot, even when machine is idle.
grep . /sys/class/power_supply/BAT0/power_now
27258000
I believe this means that the machine draws 27W when idle.
It feels wrong to use the machine hot like this, I hope it doesn't
shorten its life span.
For this reason, I'll be running the regular kernel for daily work and
perhaps boot in the latest mainline kernel when bug is salient.
Any hint or instruction appreciated.
Thank you.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1319035
Title:
All USB ports gradually fail on Ubuntu, rebooting relieves for days or
hours, booting Windows once fixes for weeks.
Status in “linux” package in Ubuntu:
Confirmed
Bug description:
# Summary
On an Asus n55sf laptop running 64-bit Ubuntu, USB ports gradually
fail more and more until none of them works.
# Expected
* USB devices work at all times.
* Plugging optical mouse shows light under the mouse, the mouse works.
* Plugging USB memory, hard drive, phone, work and lsusb reports them.
# Observed, summary
To summarize:
* total (all USB port totally unusable) but progressive failure (first one, them more ports, progress can take weeks),
* rebooting provides partial relief (but symptoms come quicker, e.g. within days then within hours),
* can go on till all USB ports fail,
* booting Windows for a minute solves (no problem for weeks).
# Observed, details
Observed with all sort of devices. Not device dependent or trigger by
any specific device.
Partial fail:
* sometimes some port works but things behave like hard disk or USB key was unplugged/replugged -- can happen several times within minutes.
Total fail:
* if a device is plugged at failure time, Linux behaves as if it was unplugged (as shown in logs)
* plugging device into a failing port, device is not seen by Linux (nothing in dmesg or any log).
* port will continue to fail after un/plugging devices.
* port will continue to fail after suspend/resume to RAM (have not tried suspend to disk)
* port still provides power to e.g. recharge a mobile phone
Workarounds:
* rebooting the machine have ports work again (but symptoms come quicker, e.g. within days then within hours),
* boot Windows (see more below) then Linux, then everything works again in Linux for weeks.
Additional information:
* for months, the bug was thought to affect only USB3 ports, it actually affects USB3 ports first, then extend to USB2 ports. Machine has 2 USB3 ports on the left, 2 USB2 ports on the right.
* I have seen 2-3 times in months a temporary hang of the whole system (with audio still playing the last fraction of the audio in a loop), staying like this for about 20 seconds then everything becomes normal again even audio continues at the point it was. Not known if related.
* In one episode of erratic hardware behavior I have seen at least one device still appear in lsusb after being unplugged.
* The laptop is used daily with Ubuntu, put to suspend sometimes at night, seldom switched off.
* The laptop also has Windows 7 64-bit which is rarely used (say, 20 days in 2 years). All USB ports always work on Windows, no disconnect, no glitch, USB2 as well as USB3 ports fully work.
* Booting Windows fixes the USB problem! Just boot Windows then reboot to Ubuntu. All ports work again on Ubuntu, and work very well for weeks!
* laptop has internal components which Linux reports like they are connected via USB. No problem observed with them.
# Detail technical information
lsusb output with no device in any of the 4 ports:
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 1bcf:2883 Sunplus Innovation Technology Inc.
Bus 001 Device 009: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Machine is Asus n55sf laptop, Ubuntu 13.10.
Current kernel 3.11.0-20-generic #35-Ubuntu SMP Fri May 2 21:32:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
but bug has been happening for 6 months, so it's not specific to this kernel.
# Possible duplicate
* This may be the same bug #1132129 but I'm not sure so reporting here
after reading https://help.ubuntu.com/community/ReportingBugs about
duplicates . There are differences : #1132129 mentions crashes, which
happened for months but no longer. #1132129 affected only USB3 ports
not USB2.
# Next step
* Check BIOS version. Reference http://www.asus.com/Notebooks_Ultrabooks/N55SF/HelpDesk_Download/
* Test with latest upstream kernel as per the sentence "Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds ."
* Test with Ubuntu 14.04 ?
Thank you for your attention.
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: linux-image-3.11.0-20-generic 3.11.0-20.35
ProcVersionSignature: Ubuntu 3.11.0-20.35-generic 3.11.10.6
Uname: Linux 3.11.0-20-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: stephane 1909 F.... pulseaudio
Date: Tue May 13 13:40:13 2014
HibernationDevice: RESUME=UUID=d05e8def-662d-4d3a-b3b3-4d9d2997966d
MachineType: ASUSTeK Computer Inc. N55SF
MarkForUpload: True
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-20-generic root=UUID=12f862a8-f6b9-4c9e-8bf7-030b86b75241 ro quiet splash
RelatedPackageVersions:
linux-restricted-modules-3.11.0-20-generic N/A
linux-backports-modules-3.11.0-20-generic N/A
linux-firmware 1.116.2
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/29/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: N55SF.207
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: N55SF
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrN55SF.207:bd08/29/2011:svnASUSTeKComputerInc.:pnN55SF:pvr1.0:rvnASUSTeKComputerInc.:rnN55SF:rvr1.0:cvnASUSTeKComputerInc.:ct10:cvr1.0:
dmi.product.name: N55SF
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK Computer Inc.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1319035/+subscriptions
References