I have a similar problem with a Western Digital Mybook 3.0 disk. I keep
it attached as a storage/backup drive to my server that accesses it a
few times per day. Sometimes the drive gets inaccessible with the
following (or similar) log entries

 kernel: [142236.119763] xhci_hcd 0000:05:00.0: WARN: transfer error on endpoint
 kernel: [142236.172137] usb 6-2: USB disconnect, address 2
 kernel: [142236.172276] sd 5:0:0:0: [sdc] Unhandled error code
 kernel: [142236.172287] sd 5:0:0:0: [sdc]  Result: hostbyte=DID_ERROR 
driverbyte=DRIVER_OK
 kernel: [142236.172299] sd 5:0:0:0: [sdc] CDB: Read(10): 28 00 8d 01 09 00 00 
00 08 00
 kernel: [142236.172321] end_request: I/O error, dev sdc, sector 2365655296

It seems like the driver hangs, because if I do

rmmod xhci-hdc
modprobe xhci-hdc

I usually get the drive back online.

The log messages I get when the usb drivers are restarted are

 kernel: [142465.647650] xhci_hcd 0000:05:00.0: remove, state 4
 kernel: [142465.647667] usb usb6: USB disconnect, address 1
 kernel: [142465.692007] xhci_hcd 0000:05:00.0: Host controller not halted, 
aborting reset.
 kernel: [142465.693609] xhci_hcd 0000:05:00.0: USB bus 6 deregistered
 kernel: [142465.693877] xhci_hcd 0000:05:00.0: PCI INT A disabled
 kernel: [142465.761992] xhci_hcd 0000:05:00.0: PCI INT A -> GSI 16 (level, 
low) -> IRQ 16
 kernel: [142465.762052] xhci_hcd 0000:05:00.0: setting latency timer to 64
 kernel: [142465.762064] xhci_hcd 0000:05:00.0: xHCI Host Controller
 kernel: [142465.762985] xhci_hcd 0000:05:00.0: new USB bus registered, 
assigned bus number 6
 kernel: [142465.920355] xhci_hcd 0000:05:00.0: irq 16, io mem 0xfbffe000
 kernel: [142465.920463] xhci_hcd 0000:05:00.0: irq 46 for MSI/MSI-X
 kernel: [142465.920475] xhci_hcd 0000:05:00.0: irq 47 for MSI/MSI-X
 kernel: [142465.920486] xhci_hcd 0000:05:00.0: irq 48 for MSI/MSI-X
 kernel: [142465.920497] xhci_hcd 0000:05:00.0: irq 49 for MSI/MSI-X
 kernel: [142465.920508] xhci_hcd 0000:05:00.0: irq 50 for MSI/MSI-X
 kernel: [142465.923674] usb usb6: No SuperSpeed endpoint companion for config 
1  interface 0 altsetting 0 ep 129: using minimum values
 kernel: [142465.923991] xHCI xhci_add_endpoint called for root hub
 kernel: [142465.924034] xHCI xhci_check_bandwidth called for root hub
 kernel: [142465.924186] hub 6-0:1.0: USB hub found
 kernel: [142465.924206] hub 6-0:1.0: 4 ports detected
 kernel: [142466.496231] usb 6-2: new SuperSpeed USB device using xhci_hcd and 
address 2
 kernel: [142466.513798] xhci_hcd 0000:05:00.0: WARN: short transfer on control 
ep
 kernel: [142466.514172] xhci_hcd 0000:05:00.0: WARN: short transfer on control 
ep
 kernel: [142466.514543] xhci_hcd 0000:05:00.0: WARN: short transfer on control 
ep
 kernel: [142466.514918] xhci_hcd 0000:05:00.0: WARN: short transfer on control 
ep
 kernel: [142466.516669] scsi10 : usb-storage 6-2:1.0
 kernel: [142467.516865] scsi 10:0:0:0: Direct-Access     WD       My Book 3.0 
1123 1006 PQ: 0 ANSI: 4
 kernel: [142467.518601] sd 10:0:0:0: [sde] 3907024896 512-byte logical blocks: 
(2.00 TB/1.81 TiB)
 kernel: [142467.518738] xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
 kernel: [142467.518844] sd 10:0:0:0: Attached scsi generic sg2 type 0
 kernel: [142467.519170] sd 10:0:0:0: [sde] Write Protect is off
 kernel: [142467.519179] sd 10:0:0:0: [sde] Mode Sense: 0a 00 10 00
 kernel: [142467.519553] sd 10:0:0:0: [sde] No Caching mode page present
 kernel: [142467.519562] sd 10:0:0:0: [sde] Assuming drive cache: write through
 kernel: [142467.521519] xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
 kernel: [142467.522554] sd 10:0:0:0: [sde] No Caching mode page present
 kernel: [142467.522568] sd 10:0:0:0: [sde] Assuming drive cache: write through
 kernel: [142477.169120]  sde: sde1
 kernel: [142477.170125] xhci_hcd 0000:05:00.0: WARN: Stalled endpoint
 kernel: [142477.170934] sd 10:0:0:0: [sde] No Caching mode page present
 kernel: [142477.170943] sd 10:0:0:0: [sde] Assuming drive cache: write through
 kernel: [142477.170950] sd 10:0:0:0: [sde] Attached SCSI disk
 kernel: [142486.661286] EXT4-fs (sde1): recovery complete
 kernel: [142486.661662] EXT4-fs (sde1): mounted filesystem with ordered data 
mode. Opts: (null)

The kernel I'm using is 2.6.38-9-generic.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/647973

Title:
  USB 3.0 on 10.10 x86_64 : xhci_hcd WARN: Stalled endpoint

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to