Comment 9 for bug 1094534

Revision history for this message
Ivan Danov (danov) wrote : Re: USB 3.0 ports don't work after suspend, xhci_hcd errors in kernel log

I have tested it with the mainline kernel provided by #6, the problem still persist. However the addition from my comment in #7 about the misbehaviour after restart with more than one USB device attached, turned out to be false, probably caused by me being confused.

The problem is apparent only after returning from suspend.

I am using Ubuntu 12.10 64 bit with kernel version 3.5.0-25-generic. The log for dmesg | grep xhci in normal state is:
[ 0.957071] xhci_hcd 0000:03:00.0: xHCI Host Controller
[ 0.957076] xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 2
[ 0.962406] xhci_hcd 0000:03:00.0: irq 16, io mem 0xf0500000
[ 0.962488] xhci_hcd 0000:03:00.0: irq 41 for MSI/MSI-X
[ 0.962494] xhci_hcd 0000:03:00.0: irq 42 for MSI/MSI-X
[ 0.962500] xhci_hcd 0000:03:00.0: irq 43 for MSI/MSI-X
[ 0.962506] xhci_hcd 0000:03:00.0: irq 44 for MSI/MSI-X
[ 0.962512] xhci_hcd 0000:03:00.0: irq 45 for MSI/MSI-X
[ 0.962639] usb usb2: Manufacturer: Linux 3.5.0-25-generic xhci_hcd
[ 0.962710] xHCI xhci_add_endpoint called for root hub
[ 0.962712] xHCI xhci_check_bandwidth called for root hub
[ 0.962795] xhci_hcd 0000:03:00.0: xHCI Host Controller
[ 0.962799] xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 3
[ 0.965919] usb usb3: Manufacturer: Linux 3.5.0-25-generic xhci_hcd
[ 0.965983] xHCI xhci_add_endpoint called for root hub
[ 0.965985] xHCI xhci_check_bandwidth called for root hub
[ 1.512127] usb 2-1: new full-speed USB device number 2 using xhci_hcd
[ 2.755406] usb 3-2: new SuperSpeed USB device number 2 using xhci_hcd
[ 636.593490] usb 3-2: new SuperSpeed USB device number 3 using xhci_hcd

Where after going back from suspend is:
[ 695.184718] xhci_hcd 0000:03:00.0: WARN Event TRB for slot 2 ep 19 with no TDs queued?
[ 695.185086] xhci_hcd 0000:03:00.0: WARN Event TRB for slot 2 ep 6 with no TDs queued?
[ 695.185462] xhci_hcd 0000:03:00.0: WARN Event TRB for slot 2 ep 0 with no TDs queued?
[ 695.188239] xhci_hcd 0000:03:00.0: WARN Event TRB for slot 1 ep 4 with no TDs queued?
[ 695.189247] xhci_hcd 0000:03:00.0: WARN Event TRB for slot 1 ep 2 with no TDs queued?
[ 695.190219] xhci_hcd 0000:03:00.0: WARN Event TRB for slot 1 ep 0 with no TDs queued?
[ 695.994486] xhci_hcd 0000:03:00.0: WARN: xHC restore state timeout
[ 695.994498] xhci_hcd 0000:03:00.0: PCI post-resume error -110!
[ 695.994500] xhci_hcd 0000:03:00.0: HC died; cleaning up
[ 695.994503] xhci_hcd 0000:03:00.0: HC died; cleaning up
[ 702.068320] xhci_hcd 0000:03:00.0: Timeout while waiting for configure endpoint command
[ 707.134334] xhci_hcd 0000:03:00.0: Timeout while waiting for configure endpoint command