Bug in xhci_hcd? Related to powersave mode?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,

I use an external 2.5'' HD for backups, filesystem is btrfs. System: openSuse 12.3, kernel 3.8.9, but the bug ocurred earlier, at least it was present in 12.2:

If I connect the cable to the USB 3.0 port of my notebook (Thinkpad T 420s), up and running KDE, the HD (as well capable of USB 3.0) is not recognized by KDE. The device notifier shows no device. But there is something wrong, e.g. s2ram no longer works.

My workaround for a long time was to suspend the notebook, connect the cable, wake it up and then the computer "found" the HD.

If I put the plug of the 2.5' HD into the USB 3.0 port and ask, being root:

========================
dmesg | tail -50
...

[ 7402.732517] usb 3-1: new high-speed USB device number 2 using xhci_hcd
[ 7407.720250] xhci_hcd 0000:0d:00.0: Timeout while waiting for address device command
[ 7423.926379] xhci_hcd 0000:0d:00.0: Stopped the command ring failed, maybe the host is dead
[ 7423.978212] xhci_hcd 0000:0d:00.0: Host not halted after 16000 microseconds.
[ 7423.978217] xhci_hcd 0000:0d:00.0: Abort command ring failed
[ 7423.979085] [sched_delayed] sched: RT throttling activated
[ 7423.980776] xhci_hcd 0000:0d:00.0: HC died; cleaning up
[ 7429.168320] xhci_hcd 0000:0d:00.0: Timeout while waiting for address device command
[ 7429.168337] xhci_hcd 0000:0d:00.0: Abort the command ring, but the xHCI is dead.
[ 7429.368829] usb 3-1: device not accepting address 2, error -108
[ 7429.368852] hub 3-0:1.0: cannot disable port 1 (err = -19)
[ 7434.356530] xhci_hcd 0000:0d:00.0: Timeout while waiting for a slot
[ 7434.356547] xhci_hcd 0000:0d:00.0: Abort the command ring, but the xHCI is dead.
[ 7434.356575] hub 3-0:1.0: cannot reset port 1 (err = -19)
[ 7434.356588] hub 3-0:1.0: cannot disable port 1 (err = -19)
[ 7434.356597] xHCI xhci_free_dev called with unaddressed device
[ 7439.344340] xhci_hcd 0000:0d:00.0: Timeout while waiting for a slot
[ 7439.344353] xhci_hcd 0000:0d:00.0: Abort the command ring, but the xHCI is dead.
[ 7439.344376] hub 3-0:1.0: cannot reset port 1 (err = -19)
[ 7439.344384] hub 3-0:1.0: cannot disable port 1 (err = -19)
[ 7439.344390] xHCI xhci_free_dev called with unaddressed device
[ 7444.331946] xhci_hcd 0000:0d:00.0: Timeout while waiting for a slot
[ 7444.331960] xhci_hcd 0000:0d:00.0: Abort the command ring, but the xHCI is dead.
[ 7444.331982] hub 3-0:1.0: cannot reset port 1 (err = -19)
[ 7444.331990] hub 3-0:1.0: cannot disable port 1 (err = -19)
[ 7444.331997] xHCI xhci_free_dev called with unaddressed device
[ 7444.332005] hub 3-0:1.0: unable to enumerate USB device on port 1
[ 7444.332010] hub 3-0:1.0: cannot disable port 1 (err = -19)
================================================

AND:

================================================
tail /var/log/messages
2013-04-29T10:36:52.150008+02:00 linux-ik7b rtkit-daemon[2840]: Successfully demoted thread 2847 of process 2839 (/usr/bin/pulseaudio).
2013-04-29T10:36:52.150916+02:00 linux-ik7b rtkit-daemon[2840]: Successfully demoted thread 2846 of process 2839 (/usr/bin/pulseaudio).
2013-04-29T10:36:52.151957+02:00 linux-ik7b rtkit-daemon[2840]: Successfully demoted thread 2839 of process 2839 (/usr/bin/pulseaudio).
2013-04-29T10:36:52.152877+02:00 linux-ik7b rtkit-daemon[2840]: Demoted 3 threads.
2013-04-29T10:37:01.621692+02:00 linux-ik7b kernel: [ 7407.720250] xhci_hcd 0000:0d:00.0: Timeout while waiting for address device command
2013-04-29T10:37:01.621720+02:00 linux-ik7b kernel: [ 7423.926379] xhci_hcd 0000:0d:00.0: Stopped the command ring failed, maybe the host is dead
2013-04-29T10:37:01.621723+02:00 linux-ik7b kernel: [ 7423.978212] xhci_hcd 0000:0d:00.0: Host not halted after 16000 microseconds.
2013-04-29T10:37:01.621725+02:00 linux-ik7b kernel: [ 7423.978217] xhci_hcd 0000:0d:00.0: Abort command ring failed
2013-04-29T10:37:01.624254+02:00 linux-ik7b kernel: [ 7423.979085] [sched_delayed] sched: RT throttling activated
2013-04-29T10:37:01.624266+02:00 linux-ik7b kernel: [ 7423.980776] xhci_hcd 0000:0d:00.0: HC died; cleaning up
=================================================

Some seconds later:

=================================================

tail /var/log/messages
2013-04-29T10:37:17.026654+02:00 linux-ik7b kernel: [ 7439.344376] hub 3-0:1.0: cannot reset port 1 (err = -19)
2013-04-29T10:37:17.026659+02:00 linux-ik7b kernel: [ 7439.344384] hub 3-0:1.0: cannot disable port 1 (err = -19)
2013-04-29T10:37:17.026665+02:00 linux-ik7b kernel: [ 7439.344390] xHCI xhci_free_dev called with unaddressed device
2013-04-29T10:37:22.026625+02:00 linux-ik7b kernel: [ 7444.331946] xhci_hcd 0000:0d:00.0: Timeout while waiting for a slot
2013-04-29T10:37:22.026661+02:00 linux-ik7b kernel: [ 7444.331960] xhci_hcd 0000:0d:00.0: Abort the command ring, but the xHCI is dead.
2013-04-29T10:37:22.026666+02:00 linux-ik7b kernel: [ 7444.331982] hub 3-0:1.0: cannot reset port 1 (err = -19)
2013-04-29T10:37:22.026670+02:00 linux-ik7b kernel: [ 7444.331990] hub 3-0:1.0: cannot disable port 1 (err = -19)
2013-04-29T10:37:22.026676+02:00 linux-ik7b kernel: [ 7444.331997] xHCI xhci_free_dev called with unaddressed device
2013-04-29T10:37:22.026681+02:00 linux-ik7b kernel: [ 7444.332005] hub 3-0:1.0: unable to enumerate USB device on port 1
2013-04-29T10:37:22.026684+02:00 linux-ik7b kernel: [ 7444.332010] hub 3-0:1.0: cannot disable port 1 (err = -19)

=================================================

If I can do something to help bug hunting, please let me know. Beware, my skills are very limited on that area. I installed kernel 3.9.0, but no better result.

Kind regards,

Alexander


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux