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

[USB 3.0] xchi_hcd dropping endpoints



Hi list,

I have a Toshiba Canvio external HD drive attached via USB 3.0 to an
Asus Fatality board, but the two do not quite get along.  Sometimes
forever, sometimes just for about 20 minutes, all I get is (in
/var/log/messages and similarly in dmesg):

Sep 24 23:32:19 calcox kernel: [19729.969142] usb 3-8: reset high-speed
USB device number 3 using xhci_hcd
Sep 24 23:32:19 calcox kernel: [19729.991973] xhci_hcd 0000:00:14.0:
xHCI xhci_drop_endpoint called with disabled ep f70fbb40
Sep 24 23:32:19 calcox kernel: [19729.991975] xhci_hcd 0000:00:14.0:
xHCI xhci_drop_endpoint called with disabled ep f70fbb6c

every 10-20 seconds.

When I detach and re-attach the usb cable, I get a reasonable connection
sequence:

Sep 24 23:34:09 calcox kernel: [19839.832698] usb 4-4: new SuperSpeed
USB device number 4 using xhci_hcd
Sep 24 23:34:09 calcox mtp-probe: checking bus 4, device 4:
"/sys/devices/pci0000:00/0000:00:14.0/usb4/4-4"
Sep 24 23:34:09 calcox kernel: [19839.850108] usb 4-4: New USB device
found, idVendor=0480, idProduct=d010
Sep 24 23:34:09 calcox kernel: [19839.850110] usb 4-4: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Sep 24 23:34:09 calcox kernel: [19839.850111] usb 4-4: Product: External
USB 3.0
Sep 24 23:34:09 calcox kernel: [19839.850112] usb 4-4: Manufacturer: TOSHIBA
Sep 24 23:34:09 calcox kernel: [19839.850113] usb 4-4: SerialNumber:
20130705086424
Sep 24 23:34:09 calcox kernel: [19839.850682] scsi9 : usb-storage 4-4:1.0
Sep 24 23:34:09 calcox mtp-probe: bus: 4, device: 4 was not an MTP device
Sep 24 23:34:19 calcox kernel: [19850.096409] scsi 9:0:0:0:
Direct-Access     TOSHIBA  External USB 3.0 0201 PQ: 0 ANSI: 6
Sep 24 23:34:19 calcox kernel: [19850.097754] sd 9:0:0:0: Attached scsi
generic sg7 type 0
Sep 24 23:34:19 calcox kernel: [19850.110871] sd 9:0:0:0: [sdg] Very big
device. Trying to use READ CAPACITY(16).
Sep 24 23:34:19 calcox kernel: [19850.136999] sd 9:0:0:0: [sdg]
732566645 4096-byte logical blocks: (3.00 TB/2.72 TiB)
Sep 24 23:34:19 calcox kernel: [19850.142374] sd 9:0:0:0: [sdg] Write
Protect is off
Sep 24 23:34:19 calcox kernel: [19850.147811] sd 9:0:0:0: [sdg] Write
cache: disabled, read cache: enabled, doesn't support DPO or FUA
Sep 24 23:34:19 calcox kernel: [19850.162287] sd 9:0:0:0: [sdg]
732566645 4096-byte logical blocks: (3.00 TB/2.72 TiB)
Sep 24 23:34:19 calcox kernel: [19850.298840]  sdg: sdg1
Sep 24 23:34:20 calcox kernel: [19850.322475] sd 9:0:0:0: [sdg]
732566645 4096-byte logical blocks: (3.00 TB/2.72 TiB)
Sep 24 23:34:20 calcox kernel: [19850.348758] sd 9:0:0:0: [sdg] Attached
SCSI disk
Sep 24 23:34:21 calcox halevt: Running: halevt-mount -u
/org/freedesktop/Hal/devices/volume_uuid_4c3b80f3_7d86_4e1d_b0ec_df090d6e3bb0
-o sync -m 002; chown -R halevt.plugdev `mount | grep /dev/sdg1 | cut
-d' ' -f 3`

Sometimes, it works after that, sometimes it doesn't.

If I remove the power from the external device, the messages go on.
Apparently, USB power is enough to try to establish a connection.

If I connect the drive to a USB 2.0 port, the problem persists.

lspci yields the relevant entry

root@calcox:~# lspci -v -s 00:14
00:14.0 USB controller: Intel Corporation Lynx Point USB xHCI Host
Controller (rev 05) (prog-if 30 [XHCI])
	Subsystem: ASRock Incorporation Device 8c31
	Flags: bus master, medium devsel, latency 0, IRQ 44
	Memory at f3220000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [70] Power Management version 2
	Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
	Kernel driver in use: xhci_hcd

The Debian installation is up-to-date Wheezy

root@calcox:~# uname -a
Linux calcox 3.2.0-4-686-pae #1 SMP Debian 3.2.60-1+deb7u3 i686 GNU/Linux


I have searched around a bit, and most solutions revolve around the uas
(USB-attached SCSI) module, but that is not loaded, according to lsmod.


Where can I look further?

-- 
Have fun,
Felix


Reply to: