USB 3.0: xhci_hcd WARN: Stalled endpoint

Bug #647973 reported by Adrien Béraud
210
This bug affects 42 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I just bought an Asus N43JF with a USB 3.0 port, and I have a Supertalent 16GB USB 3.0 flash drive.
I'm using Ubuntu 10.10 x86_64 with kernel 2.6.35-22-generic

The flash drive is correctly recognized and I can successfully copy files, but it's very slow (max. 1.4MiB/sec).

I'm not sure which device provides the USB 3.0 port, but i think it corresponds to this line in lspci :
04:00.0 USB Controller: Device 1b73:1400 (rev 01)

Here is a typical part of kern.log I get. I would be happy to provide more informations.

Sep 26 16:25:14 adrien-laptop kernel: [12310.874322] xhci_hcd 0000:04:00.0: WARN: Stalled endpoint
Sep 26 16:25:14 adrien-laptop kernel: [12310.875131] xhci_hcd 0000:04:00.0: WARN: Stalled endpoint
Sep 26 16:25:14 adrien-laptop kernel: [12310.893659] xhci_hcd 0000:04:00.0: WARN: Stalled endpoint
Sep 26 16:25:14 adrien-laptop kernel: [12310.894346] xhci_hcd 0000:04:00.0: WARN: Stalled endpoint
Sep 26 16:25:14 adrien-laptop kernel: [12310.913759] xhci_hcd 0000:04:00.0: WARN: Stalled endpoint
Sep 26 16:25:45 adrien-laptop kernel: [12341.072246] usb 3-1: reset SuperSpeed USB device using xhci_hcd and address 2
Sep 26 16:25:45 adrien-laptop kernel: [12341.092602] xhci_hcd 0000:04:00.0: WARN: short transfer on control ep
Sep 26 16:25:45 adrien-laptop kernel: [12341.092651] xhci_hcd 0000:04:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff880099238680
Sep 26 16:25:45 adrien-laptop kernel: [12341.092664] xhci_hcd 0000:04:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800992386c0
Sep 26 16:25:45 adrien-laptop kernel: [12341.093288] sd 6:0:0:0: [sdb] Unhandled error code
Sep 26 16:25:45 adrien-laptop kernel: [12341.093295] sd 6:0:0:0: [sdb] Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
Sep 26 16:25:45 adrien-laptop kernel: [12341.093302] sd 6:0:0:0: [sdb] CDB: Read(10): 28 00 01 1d 86 d7 00 00 f0 00
Sep 26 16:25:45 adrien-laptop kernel: [12341.093319] end_request: I/O error, dev sdb, sector 18712279
Sep 26 16:25:45 adrien-laptop kernel: [12341.093327] quiet_error: 20 callbacks suppressed
Sep 26 16:25:45 adrien-laptop kernel: [12341.093333] Buffer I/O error on device sdb1, logical block 2339027
Sep 26 16:25:45 adrien-laptop kernel: [12341.093345] Buffer I/O error on device sdb1, logical block 2339028
Sep 26 16:25:45 adrien-laptop kernel: [12341.093351] Buffer I/O error on device sdb1, logical block 2339029
Sep 26 16:25:45 adrien-laptop kernel: [12341.093357] Buffer I/O error on device sdb1, logical block 2339030
Sep 26 16:25:45 adrien-laptop kernel: [12341.093362] Buffer I/O error on device sdb1, logical block 2339031
Sep 26 16:25:45 adrien-laptop kernel: [12341.093368] Buffer I/O error on device sdb1, logical block 2339032
Sep 26 16:25:45 adrien-laptop kernel: [12341.093374] Buffer I/O error on device sdb1, logical block 2339033
Sep 26 16:25:45 adrien-laptop kernel: [12341.093379] Buffer I/O error on device sdb1, logical block 2339034
Sep 26 16:25:45 adrien-laptop kernel: [12341.093385] Buffer I/O error on device sdb1, logical block 2339035
Sep 26 16:25:45 adrien-laptop kernel: [12341.093390] Buffer I/O error on device sdb1, logical block 2339036
Sep 26 16:25:45 adrien-laptop kernel: [12341.126947] xhci_hcd 0000:04:00.0: WARN: Stalled endpoint
Sep 26 16:25:45 adrien-laptop kernel: [12341.127492] xhci_hcd 0000:04:00.0: WARN: Stalled endpoint
Sep 26 16:25:45 adrien-laptop kernel: [12341.478532] xhci_hcd 0000:04:00.0: WARN: transfer error on endpoint
Sep 26 16:25:45 adrien-laptop kernel: [12341.592601] usb 3-1: reset SuperSpeed USB device using xhci_hcd and address 2
Sep 26 16:25:45 adrien-laptop kernel: [12341.611819] xhci_hcd 0000:04:00.0: WARN: short transfer on control ep
Sep 26 16:25:45 adrien-laptop kernel: [12341.611858] xhci_hcd 0000:04:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff880099238680
Sep 26 16:25:45 adrien-laptop kernel: [12341.611863] xhci_hcd 0000:04:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800992386c0
Sep 26 16:25:45 adrien-laptop kernel: [12341.612159] xhci_hcd 0000:04:00.0: WARN: Stalled endpoint
Sep 26 16:25:45 adrien-laptop kernel: [12341.612461] xhci_hcd 0000:04:00.0: WARN: Stalled endpoint

Adrien Béraud (aberaud)
description: updated
Revision history for this message
Adrien Béraud (aberaud) wrote : Re: USB 3.0 on 10.10 x86_64 : xhci_hcd WARN: Stalled endpoint

I search a bit on the web and the bug is probably the same as this one on OpenSUSE :
http://web.archiveorange.com/archive/v/u1yF73zHn2N1QI2D1LPY

description: updated
summary: - Slow speeds & I/O errors with USB 3.0
+ USB 3.0 on 10.10 x86_64 : xhci_hcd WARN: Stalled endpoint
tags: added: usb3.0
removed: 3.0
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Adrien,

Please be sure to confirm this issue exists with the latest development release of Ubuntu. ISO CD images are available from http://cdimage.ubuntu.com/daily/current/ . If the issue remains, please run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 647973

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Adrien Béraud (aberaud) wrote :

Hi,
OK, I followed your instructions and installed the last mainline kernel, but then my flashdrive was not recognized at all !
Absolutely nothing in kern.log or any other log when pluggin ou unpluggin.

I also tested with Windows 7 (with the proper driver installed) and I get 60-80 MB/s so there's no hardware problem.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Dylan Justice (dsjstc) wrote :

I have the same poor performance on a Gigabyte GA-890GPA-UD3H with usb3.0, and an 8GB usb3.0 super talent drive. My write performance is about 1/3 what it should be; I'm getting 7.49 MB/s sustained (7519499595 byte file written in written in 15m57s).

I also see the Stalled endpoint and short transfer warnings from xhci_hcd.

This is with the most current Maverick amd64 kernel, 2.6.35-24-generic.

Changed in linux (Ubuntu):
status: Expired → New
Revision history for this message
Dylan Justice (dsjstc) wrote :

Update:
Write speed on a USB2.0 port was precisely the expected 21.0MB/s.
Read speed on a USB2.0 port was 53.2MB/s.

Interestingly, *read* speed on the USB3.0 port was around the expected 60-80 MB/s.

Revision history for this message
Neil Green (neil-r-green) wrote :
Download full text (4.8 KiB)

I see similar problems when plugging in a USB3 hard drive. After connecting the hard drive, sometimes I can access it and other times it is unavailable. After some time it becomes unavailable. The drive works fine when connected to the same laptop on a USB2 port. The laptop is a Lenovo W510.

This makes USB3 completely unusable for me.

Mar 23 13:43:39 homer kernel: [13174.517769] usb 3-2: new SuperSpeed USB device using xhci_hcd and address 2
Mar 23 13:43:39 homer kernel: [13174.562390] xhci_hcd 0000:0f:00.0: WARN: short transfer on control ep
Mar 23 13:43:39 homer kernel: [13174.568240] xhci_hcd 0000:0f:00.0: WARN: short transfer on control ep
Mar 23 13:43:39 homer kernel: [13174.574225] xhci_hcd 0000:0f:00.0: WARN: short transfer on control ep
Mar 23 13:43:39 homer kernel: [13174.580251] xhci_hcd 0000:0f:00.0: WARN: short transfer on control ep
Mar 23 13:43:39 homer kernel: [13174.610439] xhci_hcd 0000:0f:00.0: WARN: short transfer on control ep
Mar 23 13:43:39 homer kernel: [13174.617689] xhci_hcd 0000:0f:00.0: WARN: short transfer on control ep
Mar 23 13:43:40 homer kernel: [13175.792548] xhci_hcd 0000:0f:00.0: WARN: Stalled endpoint
Mar 23 13:43:40 homer kernel: [13175.916785] xhci_hcd 0000:0f:00.0: WARN: Stalled endpoint
Mar 23 13:43:41 homer kernel: [13176.534112] xhci_hcd 0000:0f:00.0: WARN: Stalled endpoint
Mar 23 13:43:41 homer kernel: [13176.802625] xhci_hcd 0000:0f:00.0: WARN: Stalled endpoint
Mar 23 13:44:42 homer kernel: [13237.836603] usb 3-2: reset SuperSpeed USB device using xhci_hcd and address 2
Mar 23 13:44:42 homer kernel: [13237.877342] xhci_hcd 0000:0f:00.0: WARN: short transfer on control ep
Mar 23 13:44:42 homer kernel: [13237.877443] xhci_hcd 0000:0f:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8801cf0d5b00
Mar 23 13:44:42 homer kernel: [13237.877451] xhci_hcd 0000:0f:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8801cf0d5b40
Mar 23 13:44:44 homer kernel: [13239.357569] xhci_hcd 0000:0f:00.0: WARN: Stalled endpoint
Mar 23 13:44:44 homer kernel: [13239.397913] xhci_hcd 0000:0f:00.0: WARN: Stalled endpoint
Mar 23 13:44:44 homer kernel: [13239.472304] xhci_hcd 0000:0f:00.0: WARN: Stalled endpoint
Mar 23 13:44:44 homer kernel: [13239.582338] xhci_hcd 0000:0f:00.0: WARN: Stalled endpoint
Mar 23 13:44:44 homer kernel: [13239.864009] xhci_hcd 0000:0f:00.0: WARN: Stalled endpoint
Mar 23 13:44:45 homer kernel: [13240.827901] xhci_hcd 0000:0f:00.0: WARN: Stalled endpoint
Mar 23 13:44:45 homer kernel: [13240.903146] xhci_hcd 0000:0f:00.0: WARN: Stalled endpoint
Mar 23 13:44:45 homer kernel: [13240.977676] xhci_hcd 0000:0f:00.0: WARN: Stalled endpoint
Mar 23 13:44:46 homer kernel: [13241.249024] xhci_hcd 0000:0f:00.0: WARN: Stalled endpoint
Mar 23 13:44:46 homer kernel: [13241.560468] xhci_hcd 0000:0f:00.0: WARN: Stalled endpoint
Mar 23 13:45:49 homer kernel: [13304.742774] xhci_hcd 0000:0f:00.0: WARN: transfer error on endpoint
Mar 23 13:46:40 homer kernel: [13355.106191] xhci_hcd 0000:0f:00.0: Timeout while waiting for a slot
Mar 23 13:47:30 homer kernel: [13405.291735] xhci_hcd 0000:0f:00.0: Timeout while waiting for a slot
Mar 23 13:48:20 homer kernel: [13455.594495] xhci_hcd 0000:0f:00.0: Timeout w...

Read more...

Revision history for this message
Joshua R. Poulson (jrp) wrote :
Download full text (6.2 KiB)

This affects me on Natty as well (playing music to USB sound card):

Apr 11 13:00:10 bigthink kernel: [12768.612600] xhci_hcd 0000:0f:00.0: WARN: transfer error on endpoint
Apr 11 13:00:10 bigthink kernel: [12768.684540] xhci_hcd 0000:0f:00.0: WARN: transfer error on endpoint
Apr 11 13:00:10 bigthink kernel: [12768.684558] xhci_hcd 0000:0f:00.0: WARN: transfer error on endpoint
Apr 11 13:00:10 bigthink kernel: [12768.757815] usb 3-3.3.1: reset full speed USB device using xhci_hcd and address 7
Apr 11 13:00:10 bigthink kernel: [12768.777141] xhci_hcd 0000:0f:00.0: xHCI xhci_drop_endpoint called with disabled ep e9e7aa80
Apr 11 13:00:10 bigthink kernel: [12768.777144] xhci_hcd 0000:0f:00.0: xHCI xhci_drop_endpoint called with disabled ep e9e7a880
Apr 11 13:00:10 bigthink kernel: [12768.777151] usb 3-3.3.1: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
Apr 11 13:00:11 bigthink kernel: [12768.832528] xhci_hcd 0000:0f:00.0: WARN: transfer error on endpoint
Apr 11 13:00:11 bigthink kernel: [12768.940492] xhci_hcd 0000:0f:00.0: WARN: transfer error on endpoint
Apr 11 13:00:11 bigthink kernel: [12769.096420] xhci_hcd 0000:0f:00.0: WARN: transfer error on endpoint
Apr 11 13:00:11 bigthink kernel: [12769.384344] xhci_hcd 0000:0f:00.0: WARN: transfer error on endpoint
Apr 11 13:00:11 bigthink kernel: [12769.457216] usb 3-3.4: reset full speed USB device using xhci_hcd and address 5
Apr 11 13:00:11 bigthink kernel: [12769.476875] xhci_hcd 0000:0f:00.0: xHCI xhci_drop_endpoint called with disabled ep e7e89880
Apr 11 13:00:11 bigthink kernel: [12769.476881] xhci_hcd 0000:0f:00.0: xHCI xhci_drop_endpoint called with disabled ep e7e89dc0
Apr 11 13:00:11 bigthink kernel: [12769.692172] xhci_hcd 0000:0f:00.0: WARN: transfer error on endpoint
Apr 11 13:00:11 bigthink kernel: [12769.765017] usb 3-3.4: reset full speed USB device using xhci_hcd and address 5
Apr 11 13:00:11 bigthink kernel: [12769.784872] xhci_hcd 0000:0f:00.0: xHCI xhci_drop_endpoint called with disabled ep e7e89880
Apr 11 13:00:11 bigthink kernel: [12769.784878] xhci_hcd 0000:0f:00.0: xHCI xhci_drop_endpoint called with disabled ep e7e89dc0
Apr 11 13:00:11 bigthink kernel: [12769.792139] xhci_hcd 0000:0f:00.0: WARN: transfer error on endpoint
Apr 11 13:00:12 bigthink kernel: [12769.840158] xhci_hcd 0000:0f:00.0: WARN: transfer error on endpoint
Apr 11 13:00:12 bigthink kernel: [12770.459866] xhci_hcd 0000:0f:00.0: WARN: transfer error on endpoint
Apr 11 13:00:12 bigthink kernel: [12770.779740] xhci_hcd 0000:0f:00.0: WARN: transfer error on endpoint
Apr 11 13:00:13 bigthink kernel: [12770.991633] xhci_hcd 0000:0f:00.0: WARN: transfer error on endpoint
Apr 11 13:00:13 bigthink kernel: [12771.064684] usb 3-3.4: reset full speed USB device using xhci_hcd and address 5
Apr 11 13:00:13 bigthink kernel: [12771.084224] xhci_hcd 0000:0f:00.0: xHCI xhci_drop_endpoint called with disabled ep e7e89880
Apr 11 13:00:13 bigthink kernel: [12771.084230] xhci_hcd 0000:0f:00.0: xHCI xhci_drop_endpoint called with disabled ep e7e89dc0
Apr 11 13:00:13 bigthink kernel: [12771.091597] xhci_hcd 0000:0f:00.0: WARN: transfer error on endpoint
Apr 11 13:00:13 bigthink kernel: [12771.164650] u...

Read more...

Revision history for this message
Bug Reporter 11 (bugreporter11) wrote :

I think this is my issue too. It affects me on Maverick 64 bit as well as Natty beta2 32bit LiveCD.

My steps:

1. boot up with Natty 32bit beta 2 LiveUSB
2. install nfs-common
3. mount an nfs store
4. did some suspend-resume testing
5. inserted a USB flash drive

Error: Unable to mount CANON_DC
A job is pending on /dev/sdg1

Apr 24 15:59:04 ubuntu kernel: [ 3852.153784] usb 10-4: new high speed USB device using xhci_hcd and address 22
Apr 24 15:59:04 ubuntu kernel: [ 3852.171606] xhci_hcd 0000:02:00.0: WARN: short transfer on control ep
Apr 24 15:59:04 ubuntu kernel: [ 3852.172055] xhci_hcd 0000:02:00.0: WARN: short transfer on control ep
Apr 24 15:59:04 ubuntu kernel: [ 3852.172443] xhci_hcd 0000:02:00.0: WARN: short transfer on control ep
Apr 24 15:59:04 ubuntu kernel: [ 3852.172927] xhci_hcd 0000:02:00.0: WARN: short transfer on control ep
Apr 24 15:59:04 ubuntu kernel: [ 3852.174111] scsi46 : usb-storage 10-4:1.0
Apr 24 15:59:05 ubuntu kernel: [ 3853.173751] scsi 46:0:0:0: Direct-Access Single Flash Reader 1.00 PQ: 0 ANSI: 0
Apr 24 15:59:05 ubuntu kernel: [ 3853.175151] sd 46:0:0:0: Attached scsi generic sg7 type 0
Apr 24 15:59:05 ubuntu kernel: [ 3853.597743] sd 46:0:0:0: [sdg] 62720 512-byte logical blocks: (32.1 MB/30.6 MiB)
Apr 24 15:59:05 ubuntu kernel: [ 3853.597954] xhci_hcd 0000:02:00.0: WARN: Stalled endpoint
Apr 24 15:59:05 ubuntu kernel: [ 3853.598479] sd 46:0:0:0: [sdg] Write Protect is off
Apr 24 15:59:05 ubuntu kernel: [ 3853.598485] sd 46:0:0:0: [sdg] Mode Sense: 03 00 00 00
Apr 24 15:59:05 ubuntu kernel: [ 3853.599028] sd 46:0:0:0: [sdg] No Caching mode page present
Apr 24 15:59:05 ubuntu kernel: [ 3853.599034] sd 46:0:0:0: [sdg] Assuming drive cache: write through
Apr 24 15:59:05 ubuntu kernel: [ 3853.600561] xhci_hcd 0000:02:00.0: WARN: Stalled endpoint
Apr 24 15:59:05 ubuntu kernel: [ 3853.601439] sd 46:0:0:0: [sdg] No Caching mode page present
Apr 24 15:59:05 ubuntu kernel: [ 3853.601444] sd 46:0:0:0: [sdg] Assuming drive cache: write through
Apr 24 15:59:05 ubuntu kernel: [ 3853.604333] sdg: sdg1
Apr 24 15:59:05 ubuntu kernel: [ 3853.606715] xhci_hcd 0000:02:00.0: WARN: Stalled endpoint
Apr 24 15:59:05 ubuntu kernel: [ 3853.607607] sd 46:0:0:0: [sdg] No Caching mode page present
Apr 24 15:59:05 ubuntu kernel: [ 3853.607613] sd 46:0:0:0: [sdg] Assuming drive cache: write through
Apr 24 15:59:05 ubuntu kernel: [ 3853.607617] sd 46:0:0:0: [sdg] Attached SCSI removable disk
Apr 24 16:00:29 ubuntu kernel: [ 3937.126803] CE: hpet5 increased min_delta_ns to 7500 nsec
Apr 24 16:00:29 ubuntu kernel: [ 3937.126812] CE: hpet5 increased min_delta_ns to 11250 nsec

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Bruno Parente (brunoparente77) wrote :

Same warnings on Narty. I see the same transfer rates using a USB 3.0 or USB 2.0 port.

Revision history for this message
henriq (henriq) wrote :
Download full text (4.1 KiB)

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
 kern...

Read more...

Revision history for this message
Sten (multiverse) wrote :

Same problem here. When I plug in a USB mouse to my USB 3.0 port I get lots of warning messages in the kernel ring buffer (dmesg). I suspect this issue also causes my Laptop to completely freeze two or three times a day when I use that USB 3.0 port.

hardware: Lenovo Thinkpad 420s
OS: Xubuntu 11.04
uname -ir: 2.6.38-8-generic x86_64

Revision history for this message
deoncarr (deon-carrnz) wrote :

I'm seeing the same issue. Painfully slow USB 3.0 transfers with HP Elitebook 8560p and Seagate Freeagent USB 3.0 drive.

[ 4979.596702] xhci_hcd 0000:26:00.0: WARN: short transfer on control ep
[ 4979.597238] xhci_hcd 0000:26:00.0: WARN: short transfer on control ep
[ 4979.597859] xhci_hcd 0000:26:00.0: WARN: short transfer on control ep
[ 4979.598483] xhci_hcd 0000:26:00.0: WARN: short transfer on control ep
[ 4979.636909] usbcore: registered new interface driver uas
[ 4979.645287] Initializing USB Mass Storage driver...
[ 4979.645654] scsi6 : usb-storage 3-2:1.0
[ 4979.645887] usbcore: registered new interface driver usb-storage
[ 4979.645891] USB Mass Storage support registered.
[ 4980.644616] scsi 6:0:0:0: Direct-Access Seagate FreeAgent GoFlex 210 PQ: 0 ANSI: 0
[ 4980.646413] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 4980.647418] sd 6:0:0:0: [sdb] 1953525167 512-byte logical blocks: (1.00 TB/931 GiB)
[ 4980.647560] xhci_hcd 0000:26:00.0: WARN: Stalled endpoint
[ 4980.649408] sd 6:0:0:0: [sdb] Write Protect is off
[ 4980.649417] sd 6:0:0:0: [sdb] Mode Sense: 0f 00 00 00
[ 4980.649831] sd 6:0:0:0: [sdb] No Caching mode page present
[ 4980.649839] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 4980.651462] xhci_hcd 0000:26:00.0: WARN: Stalled endpoint
[ 4980.652442] sd 6:0:0:0: [sdb] No Caching mode page present
[ 4980.652449] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 4980.688587] sdb: sdb1
[ 4980.689580] xhci_hcd 0000:26:00.0: WARN: Stalled endpoint
[ 4980.690571] sd 6:0:0:0: [sdb] No Caching mode page present
[ 4980.690582] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 4980.690590] sd 6:0:0:0: [sdb] Attached SCSI disk
[ 5010.982511] xhci_hcd 0000:26:00.0: WARN: Stalled endpoint
[ 5010.983554] xhci_hcd 0000:26:00.0: WARN: Stalled endpoint
[ 5011.020524] xhci_hcd 0000:26:00.0: WARN: Stalled endpoint
[ 5011.054949] xhci_hcd 0000:26:00.0: WARN: Stalled endpoint
[ 5011.087080] xhci_hcd 0000:26:00.0: WARN: Stalled endpoint
[ 5011.087880] sd 6:0:0:0: [sdb] Sense Key : Recovered Error [current] [descriptor]
[ 5011.087895] Descriptor sense data with sense descriptors (in hex):
[ 5011.087900] 72 01 04 1d 00 00 00 0e 09 0c 00 00 00 00 00 00
[ 5011.087920] 00 4f 00 c2 40 50
[ 5011.087931] sd 6:0:0:0: [sdb] ASC=0x4 ASCQ=0x1d

Revision history for this message
Manfred Herrmann (herrmann-manfred) wrote :
Download full text (3.4 KiB)

Thinkpad W520 (Sandybridge USB3.0 + USB2.0/eSata Port)
Natty 11.04
uname -a ... "Linux tpw520 2.6.38-11-generic #45~pre201107080907-Ubuntu SMP Fri Jul 8 10:20:37 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux" (Kernel with fix for Sandybridge/Intel IGP hang check kernel-freeze)

USB-Device "congstar option gsm modem"

RESULT: during 3 tests (USB2.0/esata + USB3.0 ports) in a few seconds the syslog got >1 Million !!!
...
Jul 13 18:41:54 tpw520 kernel: [58619.475193] usb 2-1.2: new high speed USB device using ehci_hcd and address 5
Jul 13 18:41:54 tpw520 kernel: [58619.602067] scsi8 : usb-storage 2-1.2:1.0
Jul 13 18:41:55 tpw520 usb_modeswitch: switching 19d2:2000 (congstar Surfstick: congstar Surfstick)
Jul 13 18:41:56 tpw520 kernel: [58621.566326] usb 2-1.2: USB disconnect, address 5
Jul 13 18:41:57 tpw520 kernel: [58621.842828] usb 2-1.2: new high speed USB device using ehci_hcd and address 6
Jul 13 18:41:57 tpw520 kernel: [58621.961061] option 2-1.2:1.0: GSM modem (1-port) converter detected
...
MILLIONS
Jul 13 18:37:46 tpw520 NetworkManager[930]: <info> Activation (ttyUSB2) Stage 1 of 5 (Device Prepare) complete.
Jul 13 18:37:46 tpw520 NetworkManager[930]: <info> Activation (ttyUSB2) Stage 1 of 5 (Device Prepare) scheduled...
Jul 13 18:37:46 tpw520 NetworkManager[930]: <info> Activation (ttyUSB2) Stage 1 of 5 (Device Prepare) started...
Jul 13 18:37:46 tpw520 NetworkManager[930]: <info> (ttyUSB2): device state change: 6 -> 4 (reason 0)
Jul 13 18:37:46 tpw520 NetworkManager[930]: <info> (ttyUSB2): device state change: 4 -> 6 (reason 0)
Jul 13 18:37:46 tpw520 NetworkManager[930]: <info> Activation (ttyUSB2) Stage 1 of 5 (Device Prepare) complete.
Jul 13 18:37:46 tpw520 NetworkManager[930]: <info> Activation (ttyUSB2) Stage 1 of 5 (Device Prepare) scheduled...
Jul 13 18:37:46 tpw520 NetworkManager[930]: <info> Activation (ttyUSB2) Stage 1 of 5 (Device Prepare) started...
Jul 13 18:37:46 tpw520 NetworkManager[930]: <info> (ttyUSB2): device state change: 6 -> 4 (reason 0)
Jul 13 18:37:46 tpw520 NetworkManager[930]: <info> (ttyUSB2): device state change: 4 -> 6 (reason 0)
Jul 13 18:37:46 tpw520 NetworkManager[930]: <info> Activation (ttyUSB2) Stage 1 of 5 (Device Prepare) complete.
Jul 13 18:37:46 tpw520 NetworkManager[930]: <info> Activation (ttyUSB2) Stage 1 of 5 (Device Prepare) scheduled...
...
Jul 13 18:49:38 tpw520 NetworkManager[930]: <info> Activation (ttyUSB2) Stage 1 of 5 (Device Prepare) started...
Jul 13 18:49:38 tpw520 NetworkManager[930]: <info> (ttyUSB2): device state change: 6 -> 4 (reason 0)
Jul 13 18:49:38 tpw520 NetworkManager[930]: <info> (ttyUSB2): device state change: 4 -> 6 (reason 0)
Jul 13 18:49:38 tpw520 NetworkManager[930]: <info> Activation (ttyUSB2) Stage 1 of 5 (Device Prepare) complete.
Jul 13 18:49:38 tpw520 NetworkManager[930]: <info> Activation (ttyUSB2) Stage 1 of 5 (Device Prepare) scheduled...
Jul 13 18:49:38 tpw520 NetworkManager[930]: <info> Activation (ttyUSB2) Stage 1 of 5 (Device Prepare) started...
Jul 13 18:49:38 tpw520 NetworkManager[930]: <info> (ttyUSB2): device state change: 6 -> 4 (reason 0)
Jul 13 18:49:38 tpw520 NetworkManager[930]: <info> (ttyUSB2): device state change: 4 -> 6 (reason 0)
Jul 13 18:49:...

Read more...

Revision history for this message
Steve Smith (steve12487) wrote :

Same issue on ASUS G73JW . ADATA S102 32gb thumb drive writes at 27 MB/s in a USB 2.0 slot but only manages 400 KB/s in the 3.0 slot. On Windows partition it can write at over 70 MB/s on the same 3.0 slot.

dmesg:

[ 6966.205903] usb 3-1: new SuperSpeed USB device using xhci_hcd and address 3
[ 6966.226112] xhci_hcd 0000:04:00.0: WARN: short transfer on control ep
[ 6966.226215] xhci_hcd 0000:04:00.0: WARN: short transfer on control ep
[ 6966.226287] xhci_hcd 0000:04:00.0: WARN: short transfer on control ep
[ 6966.226448] xhci_hcd 0000:04:00.0: WARN: short transfer on control ep
[ 6966.227859] scsi12 : usb-storage 3-1:1.0
[ 6967.225417] scsi 12:0:0:0: Direct-Access ADATA USB Flash Drive 1.00 PQ: 0 ANSI: 5
[ 6967.227409] sd 12:0:0:0: Attached scsi generic sg3 type 0
[ 6967.227729] sd 12:0:0:0: [sdc] 61407232 512-byte logical blocks: (31.4 GB/29.2 GiB)
[ 6967.227924] sd 12:0:0:0: [sdc] Write Protect is off
[ 6967.227930] sd 12:0:0:0: [sdc] Mode Sense: 03 00 00 00
[ 6967.228429] sd 12:0:0:0: [sdc] No Caching mode page present
[ 6967.228436] sd 12:0:0:0: [sdc] Assuming drive cache: write through
[ 6967.230417] sd 12:0:0:0: [sdc] No Caching mode page present
[ 6967.230424] sd 12:0:0:0: [sdc] Assuming drive cache: write through
[ 6967.231749] sdc: unknown partition table
[ 6967.233211] sd 12:0:0:0: [sdc] No Caching mode page present
[ 6967.233217] sd 12:0:0:0: [sdc] Assuming drive cache: write through
[ 6967.233222] sd 12:0:0:0: [sdc] Attached SCSI removable disk

Revision history for this message
Manfred Herrmann (herrmann-manfred) wrote :

Problem with GSM-modem on USB2.0 AND USB3.0 port is not a USB issue )?).

The "loop" was generated by a "PIN" or "user" entry in NetworkManager Tray-Application.
After delete (no PIN/user entries) the GSM-modem connected o.k..

Integrated Storage (micro-SD) only o.k. on USB2.0 port.

Revision history for this message
Jesús (jbarcons) wrote :
Download full text (4.4 KiB)

Same problem here.

I have a Vantec 2-Port SuperSpeed USB 3.0 ExpressCard 34 connected to an external hard drive. My computer is a Lenovo T61p running Ubuntu 11.04 with kernel Linux 2.6.38-8-generic x86_64. The external hard drive gets unmounted and mounted back randomly. This issue happens often (every 10 minutes or so).

The hard drive works fine when it is connected to an USB 2.0 port. The same thing happens with another express card (AKE 5Gbps BC618T 54mm 2 Port USB 3.0).

This comes from the kernel ring buffer (dmesg):

[13673.999804] xhci_hcd 0000:05:00.0: WARN: transfer error on endpoint
[13673.999837] usb 8-1: USB disconnect, address 3
[13674.000221] sd 6:0:0:0: [sdb] Unhandled error code
[13674.000224] sd 6:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[13674.000228] sd 6:0:0:0: [sdb] CDB: Read(10): 28 00 00 95 c7 f8 00 00 f0 00
[13674.000237] end_request: I/O error, dev sdb, sector 9816056
[13674.000254] sd 6:0:0:0: [sdb] Unhandled error code
[13674.000256] sd 6:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[13674.000259] sd 6:0:0:0: [sdb] CDB: Read(10): 28 00 00 95 c8 e8 00 00 10 00
[13674.000266] end_request: I/O error, dev sdb, sector 9816296
[13674.031772] JBD2: Detected IO errors while flushing file data on sdb1-8
[13674.031787] Aborting journal on device sdb1-8.
[13674.031800] EXT4-fs error (device sdb1) in ext4_reserve_inode_write:5620: Journal has aborted
[13674.031806] EXT4-fs (sdb1): previous I/O error to superblock detected
[13674.031808] JBD2: I/O error detected when updating journal superblock for sdb1-8.
[13674.031819] journal commit I/O error
[13674.040187] EXT4-fs error (device sdb1) in ext4_dirty_inode:5747: Journal has aborted
[13674.040191] EXT4-fs (sdb1): previous I/O error to superblock detected
[13674.040220] EXT4-fs (sdb1): previous I/O error to superblock detected
[13674.040232] EXT4-fs error (device sdb1): ext4_journal_start_sb:260: Detected aborted journal
[13674.040236] EXT4-fs (sdb1): Remounting filesystem read-only
[13674.040238] EXT4-fs (sdb1): previous I/O error to superblock detected
[13674.111334] EXT4-fs error (device sdb1): ext4_read_block_bitmap:350: comm faac: Cannot read block bitmap - block_group = 452, block_bitmap = 14680068
[13674.111340] EXT4-fs error (device sdb1): ext4_discard_preallocations:3886: comm faac: Error reading block bitmap for 452
[13674.396333] EXT4-fs error (device sdb1): ext4_read_block_bitmap:350: comm ogmrip: Cannot read block bitmap - block_group = 1, block_bitmap = 1026
[13674.396347] EXT4-fs error (device sdb1): ext4_discard_preallocations:3886: comm ogmrip: Error reading block bitmap for 1
[13674.482947] EXT4-fs (sdb1): previous I/O error to superblock detected
[13674.482995] EXT4-fs error (device sdb1): ext4_put_super:737: Couldn't clean up the journal
[13700.670561] usb 8-1: new SuperSpeed USB device using xhci_hcd and address 4
[13700.693053] xhci_hcd 0000:05:00.0: WARN: short transfer on control ep
[13700.694049] xhci_hcd 0000:05:00.0: WARN: short transfer on control ep
[13700.694932] xhci_hcd 0000:05:00.0: WARN: short transfer on control ep
[13700.695932] xhci_hcd 0000:05:00.0: WARN: short transfer on control ep
[13700.6...

Read more...

Revision history for this message
Jesús (jbarcons) wrote :

And same problem with kernel 2.6.38-10-generic x86_64.

Revision history for this message
MCorven (inbox-x) wrote : apport information

AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: htpcuser 1362 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfe8fc000 irq 48'
   Mixer name : 'Realtek ALC662 rev1'
   Components : 'HDA:10ec0662,19daa125,00100101'
   Controls : 25
   Simple ctrls : 14
Card1.Amixer.info:
 Card hw:1 'NVidia'/'HDA NVidia at 0xfcf7c000 irq 16'
   Mixer name : 'Nvidia GPU 0b HDMI/DP'
   Components : 'HDA:10de000b,10de0101,00100200'
   Controls : 16
   Simple ctrls : 4
CurrentDmesg:

DistroRelease: Ubuntu 11.04
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcEnviron:
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-10-generic root=UUID=222c6fe8-e172-4bde-8b73-76e832f1fc9b ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-10-generic N/A
 linux-backports-modules-2.6.38-10-generic N/A
 linux-firmware 1.52
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Tags: natty
Uname: Linux 2.6.38-10-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom floppy fuse netdev plugdev sudo video
dmi.bios.date: 01/17/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 080016
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: To be filled by O.E.M.
dmi.board.vendor: To be filled by O.E.M.
dmi.board.version: To be filled by O.E.M.
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr080016:bd01/17/2011:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnTobefilledbyO.E.M.:rnTobefilledbyO.E.M.:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

tags: added: apport-collected natty
Revision history for this message
MCorven (inbox-x) wrote : .etc.asound.conf.txt

apport information

Revision history for this message
MCorven (inbox-x) wrote : AcpiTables.txt

apport information

Revision history for this message
MCorven (inbox-x) wrote : AlsaDevices.txt

apport information

Revision history for this message
MCorven (inbox-x) wrote : AplayDevices.txt

apport information

Revision history for this message
MCorven (inbox-x) wrote : BootDmesg.txt

apport information

Revision history for this message
MCorven (inbox-x) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
MCorven (inbox-x) wrote : Card0.Codecs.codec.2.txt

apport information

Revision history for this message
MCorven (inbox-x) wrote : Card1.Amixer.values.txt

apport information

Revision history for this message
MCorven (inbox-x) wrote : Card1.Codecs.codec.0.txt

apport information

Revision history for this message
MCorven (inbox-x) wrote : Card1.Codecs.codec.1.txt

apport information

Revision history for this message
MCorven (inbox-x) wrote : Card1.Codecs.codec.2.txt

apport information

Revision history for this message
MCorven (inbox-x) wrote : Card1.Codecs.codec.3.txt

apport information

Revision history for this message
MCorven (inbox-x) wrote : IwConfig.txt

apport information

Revision history for this message
MCorven (inbox-x) wrote : Lspci.txt

apport information

Revision history for this message
MCorven (inbox-x) wrote : Lsusb.txt

apport information

Revision history for this message
MCorven (inbox-x) wrote : PciMultimedia.txt

apport information

Revision history for this message
MCorven (inbox-x) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
MCorven (inbox-x) wrote : ProcCpuinfo_.txt

apport information

Revision history for this message
MCorven (inbox-x) wrote : ProcInterrupts.txt

apport information

Revision history for this message
MCorven (inbox-x) wrote : ProcModules.txt

apport information

Revision history for this message
MCorven (inbox-x) wrote : UdevDb.txt

apport information

Revision history for this message
MCorven (inbox-x) wrote : UdevLog.txt

apport information

Revision history for this message
MCorven (inbox-x) wrote : WifiSyslog.txt

apport information

Revision history for this message
Simon Detheridge (simon-widgit) wrote : Re: USB 3.0 on 10.10 x86_64 : xhci_hcd WARN: Stalled endpoint

I have been seeing a problem exactly like this on an IcyBox USB3 SATA enclosure (IB-351 series, model IB-351StU3-B) hooked up to a StarTech PEXUSB3S2 PCI-E USB card (identifies as NEC Corporation uPD720200 USB 3.0 Host Controller)

After trying a number of things without success, I gave the 3.1 mainline kernel a try. It now works perfectly.

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

This bug existed in natty and still exists in oneiric.

summary: - USB 3.0 on 10.10 x86_64 : xhci_hcd WARN: Stalled endpoint
+ USB 3.0: xhci_hcd WARN: Stalled endpoint
Bryce Harrington (bryce)
Changed in linux (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Medium
tags: added: oneiric
Revision history for this message
Gianluca Sartori (g-sartori-gmail) wrote :
Download full text (3.7 KiB)

Same Problem here on a Lenovo W520 i7 quad core, ubuntu 11.10

0e:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04) (prog-if 30 [XHCI])
 Subsystem: Lenovo Device 21cf
 Flags: bus master, fast devsel, latency 0, IRQ 18
 Memory at d7100000 (64-bit, non-prefetchable) [size=8K]
 Capabilities: <access denied>
 Kernel driver in use: xhci_hcd
 Kernel modules: xhci-hcd

Dec 30 22:39:09 beast kernel: [ 140.239306] usb 4-1: new SuperSpeed USB device number 4 using xhci_hcd
Dec 30 22:39:09 beast kernel: [ 140.257764] xhci_hcd 0000:0e:00.0: WARN: short transfer on control ep
Dec 30 22:39:09 beast kernel: [ 140.258382] xhci_hcd 0000:0e:00.0: WARN: short transfer on control ep
Dec 30 22:39:09 beast kernel: [ 140.259008] xhci_hcd 0000:0e:00.0: WARN: short transfer on control ep
Dec 30 22:39:09 beast kernel: [ 140.259631] xhci_hcd 0000:0e:00.0: WARN: short transfer on control ep
Dec 30 22:39:09 beast kernel: [ 140.260877] scsi7 : usb-storage 4-1:1.0
Dec 30 22:39:12 beast kernel: [ 143.950530] scsi 7:0:0:0: Direct-Access WDC WD10 TPVT-00U4RT1 01.0 PQ: 0 ANSI: 5
Dec 30 22:39:12 beast kernel: [ 143.950640] scsi: killing requests for dead queue
Dec 30 22:39:12 beast kernel: [ 143.951835] scsi: killing requests for dead queue
Dec 30 22:39:12 beast kernel: [ 143.955881] scsi: killing requests for dead queue
Dec 30 22:39:13 beast kernel: [ 144.019649] scsi: killing requests for dead queue
Dec 30 22:39:13 beast kernel: [ 144.060307] scsi: killing requests for dead queue
Dec 30 22:39:13 beast kernel: [ 144.060355] scsi: killing requests for dead queue
Dec 30 22:39:13 beast kernel: [ 144.079533] scsi: killing requests for dead queue
Dec 30 22:39:13 beast kernel: [ 144.147409] scsi: killing requests for dead queue
Dec 30 22:39:13 beast kernel: [ 144.147637] sd 7:0:0:0: Attached scsi generic sg2 type 0
Dec 30 22:39:13 beast kernel: [ 144.147908] sd 7:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
Dec 30 22:39:13 beast kernel: [ 144.148012] xhci_hcd 0000:0e:00.0: WARN: Stalled endpoint
Dec 30 22:39:13 beast kernel: [ 144.148751] sd 7:0:0:0: [sdb] Write Protect is off
Dec 30 22:39:13 beast kernel: [ 144.148755] sd 7:0:0:0: [sdb] Mode Sense: 23 00 00 00
Dec 30 22:39:13 beast kernel: [ 144.148860] xhci_hcd 0000:0e:00.0: WARN: Stalled endpoint
Dec 30 22:39:13 beast kernel: [ 144.149531] sd 7:0:0:0: [sdb] No Caching mode page present
Dec 30 22:39:13 beast kernel: [ 144.149533] sd 7:0:0:0: [sdb] Assuming drive cache: write through
Dec 30 22:39:13 beast kernel: [ 144.150394] xhci_hcd 0000:0e:00.0: WARN: Stalled endpoint
Dec 30 22:39:13 beast kernel: [ 144.151748] xhci_hcd 0000:0e:00.0: WARN: Stalled endpoint
Dec 30 22:39:13 beast kernel: [ 144.152547] sd 7:0:0:0: [sdb] No Caching mode page present
Dec 30 22:39:13 beast kernel: [ 144.152550] sd 7:0:0:0: [sdb] Assuming drive cache: write through
Dec 30 22:39:13 beast kernel: [ 144.160436] sdb: sdb1
Dec 30 22:39:13 beast kernel: [ 144.160984] xhci_hcd 0000:0e:00.0: WARN: Stalled endpoint
Dec 30 22:39:13 beast kernel: [ 144.161731] xhci_hcd 0000:0e:00.0: WARN: Stalled endpoint
Dec 30 22:39:13 beast kernel: [ 144.162531] sd 7:0:0:0: [sdb] No ...

Read more...

Revision history for this message
Gianluca Sartori (g-sartori-gmail) wrote :

Linux beast 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 i686 i386 GNU/Linux

Revision history for this message
Helge Klemm (helgeklemm) wrote :

Hi, sorry, just wanted to report, that I got the same problem and changed the status by accident from Triaged to In Progress. As I couldn't set it back to triaged I set it back to Confirmend. Apologies!

Changed in linux (Ubuntu):
status: Triaged → In Progress
status: In Progress → Confirmed
Revision history for this message
richud (richud.com) wrote :

in Oneiric
tried 3.1.4 Mainline kernel with same problems.
tried 3.2 rc4 I no longer get lots of stalled endpoint messages, but it still dies when copying data with different errors.

[ 129.684726] xhci_hcd 0000:03:00.0: WARN: transfer error on endpoint
[ 129.796906] usb 10-2: reset SuperSpeed USB device number 2 using xhci_hcd
[ 129.814377] xhci_hcd 0000:03:00.0: WARN: transfer error on endpoint
[ 129.815004] xhci_hcd 0000:03:00.0: WARN: transfer error on endpoint
[ 129.815020] usb 10-2: device firmware changed
[ 129.815038] usb 10-2: USB disconnect, device number 2
[ 129.816257] scsi 7:0:0:0: [sdd] killing request
[ 129.816260] scsi 7:0:0:0: [sdd] killing request
[ 129.816270] scsi 7:0:0:0: [sdd] Unhandled error code
[ 129.816272] scsi 7:0:0:0: [sdd] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[ 129.816275] scsi 7:0:0:0: [sdd] CDB: Read(10): 28 00 00 c6 a9 a8 00 00 f0 00
[ 129.816282] end_request: I/O error, dev sdd, sector 13019560
[ 129.816289] scsi 7:0:0:0: [sdd] Unhandled error code
[ 129.816291] scsi 7:0:0:0: [sdd] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[ 129.816293] scsi 7:0:0:0: [sdd] CDB: Read(10): 28 00 00 c6 aa 98 00 00 10 00
[ 129.816299] end_request: I/O error, dev sdd, sector 13019800
[ 129.832523] xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff880036b69740
[ 129.832527] xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff880036b69700
[ 129.948212] usb 10-2: new SuperSpeed USB device number 3 using xhci_hcd
[ 129.966608] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
[ 129.967106] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
[ 129.967857] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
[ 129.968359] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
[ 129.969316] scsi8 : usb-storage 10-2:1.0
[ 151.952897] usb 10-2: reset SuperSpeed USB device number 3 using xhci_hcd
[ 151.970213] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
[ 151.970712] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
[ 151.970848] xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff880057b55bc0
[ 151.970852] xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff880057b55b80
[ 162.080844] usb 10-2: reset SuperSpeed USB device number 3 using xhci_hcd
[ 162.098409] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
[ 162.098908] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
[ 162.099044] xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff880057b55bc0
[ 162.099048] xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff880057b55b80

Revision history for this message
epictete (p-latreyte) wrote :

Same problem:

« Feb 19 19:31:08 Dell-XPS17 kernel: [24865.796745] xhci_hcd 0000:04:00.0: WARN: Stalled endpoint »

with:

10.10 - Linux Dell-XPS17 3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:44:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

I upgraded my system to Ubuntu precise and with the 3.2 kernel this problem is gone.

Changed in linux (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Oliver (ok23) wrote :

I have Lucid (10.04 LTS) and I confirm the problem.

I can precisely describe the hardware in question, it is a PCI Express USB 3 card by manufacturer Delock. It uses the VIA VLI 800 chipset. Hard disks in USB-3-to-SATA adapters are only detected upon boot time. Rarely a plug&pray detection works, but then only once, not twice. Detection of a drive can be forced with rmmod xhci; modprobe xhci.

I also see numerous "WARN: short transfer on control ep" and "WARN: Stalled endpoint", but no buffer errors.

I suspect there might be a 64 bit issue behind this, and both on the side of the xhci kernel module, and the hardware (or the firmware - yes, this VLI chipset does have a firmware of it's own). The card runs absolutely perfect under Windows XP 32 Bit with the enclosed Windows driver V 1.40a. It also runs flawlessly under Windows 7 32 Bit. But under Windows Vista 64 Bit I get bluescreens of death upon each and every boot, even in safe mode. And that also applies to drivers version 1.50 and 1.90, so I suspect there is a compatibility issue underneath.

My kernel is a 2.6.32-42 - that is the latest that Lucid will install by itself. Lucid is still not declared dead. Yes, I know that there is Precise, and a point release has been issued. But migrating to Precise is no option for me as long as it forces me to use Unity, but that's another story.

Is there a way to move to a kernel 3 without breaking thousands of things?

Revision history for this message
Oliver (ok23) wrote :

http://www.spinics.net/lists/linux-usb/msg47791.html and
http://www.spinics.net/lists/linux-usb/msg47864.html

describe that bugfixing had already been undertaken with a 2.6.39 kernel, so hopefully such a kernel will appear on Lucid. Sometimes.

Revision history for this message
Oliver (ok23) wrote :

Since the fix is only implemented in kernels not directly available to Lucid, Maverick and Oneiric, maybe we should go back on the status to "Fix Commited", since is not actually released except for Precise?

Revision history for this message
qman (cs-cracker) wrote :

Agreed, can we get a patch for this in Lucid? I'm still seeing this bug with kernel 2.6.32-43-server.
.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.