Ubuntu

USB 3.0 xHCI driver fails to load no USB 3.0 ports work

Reported by porzech on 2012-10-29
44
This bug affects 8 people
Affects Status Importance Assigned to Milestone
System76
Medium
Unassigned
linux (Ubuntu)
Medium
Unassigned

Bug Description

As stated in summary xhci driver fails to load as a result no devices connected to USB 3.0 ports get recognized (they are powered up normally)
I think this is a relevant part of the dmesg (successfull USB 2.0 start followed by USB 3.0 xhci load failure
Ports are working ok in Windows 7 x64
Laptop is set to UEFI no secure bot

[ 1.152252] usb usb1: >New USB device found, idVendor=1d6b, idProduct=0002
[ 1.152256] usb usb1: >New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.152271] usb usb1: >Product: EHCI Host Controller
[ 1.152272] usb usb1: >Manufacturer: Linux 3.5.0-17-generic ehci_hcd
[ 1.152273] usb usb1: >SerialNumber: 0000:00:1a.0
[ 1.152342] hub 1-0:1.0: >USB hub found
[ 1.152345] hub 1-0:1.0: >2 ports detected
[ 1.152396] ehci_hcd 0000:00:1d.0: >setting latency timer to 64
[ 1.152399] ehci_hcd 0000:00:1d.0: >EHCI Host Controller
[ 1.152402] ehci_hcd 0000:00:1d.0: >new USB bus registered, assigned bus number 2
[ 1.152419] ehci_hcd 0000:00:1d.0: >debug port 2
[ 1.156304] ehci_hcd 0000:00:1d.0: >cache line size of 64 is not supported
[ 1.156307] ehci_hcd 0000:00:1d.0: >irq 16, io mem 0xd4738000
[ 1.168203] ehci_hcd 0000:00:1d.0: >USB 2.0 started, EHCI 1.00
[ 1.168225] usb usb2: >New USB device found, idVendor=1d6b, idProduct=0002
[ 1.168228] usb usb2: >New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.168231] usb usb2: >Product: EHCI Host Controller
[ 1.168247] usb usb2: >Manufacturer: Linux 3.5.0-17-generic ehci_hcd
[ 1.168248] usb usb2: >SerialNumber: 0000:00:1d.0
[ 1.168309] hub 2-0:1.0: >USB hub found
[ 1.168311] hub 2-0:1.0: >2 ports detected
[ 1.168347] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.168356] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.168374] xhci_hcd 0000:00:14.0: >can't derive routing for PCI INT A
[ 1.168375] xhci_hcd 0000:00:14.0: >PCI INT A: no GSI
[ 1.168375]
[ 1.168391] xhci_hcd 0000:00:14.0: >setting latency timer to 64
[ 1.168394] xhci_hcd 0000:00:14.0: >xHCI Host Controller
[ 1.168397] xhci_hcd 0000:00:14.0: >new USB bus registered, assigned bus number 3
[ 1.168479] xhci_hcd 0000:00:14.0: >cache line size of 64 is not supported
[ 1.168480] xhci_hcd 0000:00:14.0: >request interrupt 255 failed
[ 1.168482] xhci_hcd 0000:00:14.0: >USB bus 3 deregistered
[ 1.168493] xhci_hcd 0000:00:14.0: >can't derive routing for PCI INT A
[ 1.168495] xhci_hcd 0000:00:14.0: >init 0000:00:14.0 fail, -22
[ 1.168498] xhci_hcd: probe of 0000:00:14.0 failed with error -22
[ 1.168517] usbcore: registered new interface driver libusual

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: linux-image-3.5.0-17-generic 3.5.0-17.28
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: przemek 2544 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Date: Mon Oct 29 23:16:08 2012
HibernationDevice: RESUME=UUID=146cf391-1b75-489c-88da-5cae96cd2e42
InstallationDate: Installed on 2012-10-26 (3 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MachineType: Hewlett-Packard HP ProBook 6570b
MarkForUpload: True
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-17-generic root=UUID=c89aa36c-c37b-4676-8c8c-6bef8fc6c240 ro quiet splash vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.5.0-17-generic N/A
 linux-backports-modules-3.5.0-17-generic N/A
 linux-firmware 1.95
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/24/2012
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68ICE Ver. F.31
dmi.board.name: 17AB
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 42.32
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68ICEVer.F.31:bd09/24/2012:svnHewlett-Packard:pnHPProBook6570b:pvrA1029D1102:rvnHewlett-Packard:rn17AB:rvrKBCVersion42.32:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP ProBook 6570b
dmi.product.version: A1029D1102
dmi.sys.vendor: Hewlett-Packard

Brad Figg (brad-figg) on 2012-10-29
Changed in linux (Ubuntu):
status: New → Confirmed
porzech (porzech) wrote :

Tesetd with newest mainline kernel 3.7.0-030700rc2-generic under UEFI mode USB 3.0 still not working

porzech (porzech) wrote :
porzech (porzech) wrote :
porzech (porzech) wrote :
Joseph Salisbury (jsalisbury) wrote :

This issue appears to be an upstream bug, since you tested the latest upstream kernel. Would it be possible for you to open an upstream bug report[0]? That will allow the upstream Developers to examine the issue, and may provide a quicker resolution to the bug.

Please follow the instructions on the wiki page[0]. The first step is to email the appropriate mailing list. If no response is received, then a bug may be opened on bugzilla.kernel.org.

[0] https://wiki.ubuntu.com/Bugs/Upstream/kernel

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
status: Incomplete → Triaged
porzech (porzech) wrote :
  • cpuinfo Edit (3.8 KiB, application/octet-stream; name=cpuinfo)
  • modules Edit (5.9 KiB, application/octet-stream; name=modules)
  • iomem Edit (2.2 KiB, application/octet-stream; name=iomem)
  • ioports Edit (1.1 KiB, application/octet-stream; name=ioports)
  • lspci Edit (28.1 KiB, application/octet-stream; name=lspci)
  • lsusb Edit (44.8 KiB, application/octet-stream; name=lsusb)
  • dmesg Edit (64.7 KiB, application/octet-stream; name=dmesg)

I'v tested Ubuntu and mainline kernels.
In UEFI mode there is a problem loading xHCI module thus no USB 3.0 support.
In bios compatibility mode (no UEFI) ports work ok.
Link to related Launchpad thread
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1072918

# cat /proc/version
Linux version 3.7.0-030700rc2-generic (apw@gomeisa) (gcc version 4.6.3
(Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201210201535 SMP Sat Oct 20 19:35:47
UTC 2012

# lsb_release -rd
Description: Ubuntu 12.10
Release: 12.10

Attached files for UEFI bot only as in BIOS mode everything seems to work

Best regards

Frederik Himpe (fhimpe) wrote :

I have the same problem on a HP Elitebook 8470p running Debian Wheezy, both 3.2 as 3.7 kernel. I opened this thread upstream: http://thread.gmane.org/gmane.linux.usb.general/77179

Same for me with everything "latest and greatest" and “UEFI mode without CSM”:
- Linux version 3.8.0-030800rc5-generic (root@gomeisa) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201301251535 SMP Fri Jan 25 20:36:24 UTC 2013
- efi: EFI v2.10 by HPQ
- DMI: Hewlett-Packard HP ProBook 6570b/17AB, BIOS 68ICE Ver. F.32 12/05/2012

seems to be an ACPI-bug. HP: fix this!

Tested kernel parameters:
- acpi_osi=Linux -> nothing
- pci=nocrs -> nothing
- pci=noacpi -> breaks other hardware, but enables USB3 ports

dmesg snippet:
...
[ 0.699440] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes)
[ 0.699521] NET: Registered protocol family 1
[ 0.699532] pci 0000:00:02.0: Boot video device
[ 0.699540] pci 0000:00:14.0: enabling device (0000 -> 0002)
[ 0.699545] pci 0000:00:14.0: can't derive routing for PCI INT A
[ 0.699546] pci 0000:00:14.0: PCI INT A: no GSI
[ 0.699588] pci 0000:00:14.0: can't derive routing for PCI INT A
[ 0.699686] PCI: CLS 64 bytes, default 64
[ 0.699721] Trying to unpack rootfs image as initramfs...
[ 0.932915] Freeing initrd memory: 14840k freed
...
[ 1.174774] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.174795] xhci_hcd 0000:00:14.0: can't derive routing for PCI INT A
[ 1.174796] xhci_hcd 0000:00:14.0: PCI INT A: no GSI
[ 1.174813] xhci_hcd 0000:00:14.0: setting latency timer to 64
[ 1.174816] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 1.174820] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3
[ 1.174905] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[ 1.174907] xhci_hcd 0000:00:14.0: request interrupt 255 failed
[ 1.174933] xhci_hcd 0000:00:14.0: USB bus 3 deregistered
[ 1.174946] xhci_hcd 0000:00:14.0: can't derive routing for PCI INT A
[ 1.174947] xhci_hcd 0000:00:14.0: init 0000:00:14.0 fail, -22
[ 1.174971] xhci_hcd: probe of 0000:00:14.0 failed with error -22
...

Frederik Himpe (fhimpe) wrote :

This thread seems to be related and has patches: https://lkml.org/lkml/2012/2/13/453

Frederik Himpe (fhimpe) wrote :

A patch was posted to fix this problem: https://lkml.org/lkml/2013/2/18/115

the patch from frederik himpe works!

tested with 3.8.0-rc7 (built kernel according to https://wiki.ubuntu.com/KernelTeam/GitKernelBuild)

thanks frederik!

Marco Scacchi (scamar) wrote :

using kernel parameter

acpi=noirq

solve this issue on hp 8570p without breaking other hardware

........
[ 0.000000] Linux version 3.5.0-25-generic (buildd@komainu) (gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ) #39-Ubuntu SMP Mon Feb 25 18:26:58 UTC 2013 (Ubuntu 3.5.0-25.39-generic 3.5.7.4)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.5.0-25-generic.efi.signed root=UUID=f8ccd8b4-9642-48c1-b57d-258ebbb6ee14 ro quiet splash acpi=noirq vt.handoff=7
........
$ dmesg | grep xhci
[ 1.141906] xhci_hcd 0000:00:14.0: can't find IRQ for PCI INT A; please try using pci=biosirq
[ 1.141922] xhci_hcd 0000:00:14.0: setting latency timer to 64
[ 1.141924] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 1.141927] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3
[ 1.142008] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[ 1.142048] xhci_hcd 0000:00:14.0: irq 23 for MSI/MSI-X
[ 1.142087] usb usb3: Manufacturer: Linux 3.5.0-25-generic xhci_hcd
[ 1.142137] xHCI xhci_add_endpoint called for root hub
[ 1.142139] xHCI xhci_check_bandwidth called for root hub
[ 1.142196] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 1.142198] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 4
[ 1.142218] usb usb4: Manufacturer: Linux 3.5.0-25-generic xhci_hcd
[ 1.142260] xHCI xhci_add_endpoint called for root hub
[ 1.142261] xHCI xhci_check_bandwidth called for root hub
[ 15.089213] genirq: Flags mismatch irq 23. 00002001 (lis3lv02d) vs. 00000000 (xhci_hcd)
........

works now with kernel 3.8.5. download from http://kernel.ubuntu.com/~kernel-ppa/mainline/

HRJ (harshad-rj) wrote :

Going by comment #16, if it works in kernel 3.8.5, when can I expect it to be available on the 13.04 repos?

Or is it too late for 13.04? In which case, I can shift to the kernel-ppa.

Changed in system76:
status: New → Triaged
importance: Undecided → Medium
Julian Wiedmann (jwiedmann) wrote :

porzech,

could you please test this with the latest kernel for your release from -updates?

Ben West (bewest) wrote :

3.8.5 from mainline kernel is broken.

Ben West (bewest) wrote :

I've got a system76 galago ultrapro machine; adding acpi=noirq disables keyboard and mouse.

Ákos Maróy (akos-maroy) wrote :

I have the same issue on an HP Envy 15 laptop, this used to work with earlier kernels

porzech, as per http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdHome/?sp4ts.oid=5212928&spf_p.tpst=swdMain&spf_p.prp_swdMain=wsrp-navigationalState%3DswEnvOID%253D4060%257CswLang%253D%257Caction%253DlistDriver&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken#BIOS an update is available for your BIOS (F.45). If you update to this following https://help.ubuntu.com/community/BiosUpdate , does it change anything?

If not, could you please both specify what happened, and provide the output of the following terminal command:
sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date

Please note your current BIOS is already in the Bug Description, so posting this on the old BIOS would not be helpful.

For more on BIOS updates and linux, please see https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette .

Thank you for your understanding.

tags: added: bios-outdated-f.45
Changed in linux (Ubuntu):
status: Triaged → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers