Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] USB3 and Linux

Need help with peripherals or devices?
Post Reply
Message
Author
akuankkis
Posts: 81
Joined: 2011-10-09 09:29

[SOLVED] USB3 and Linux

#1 Post by akuankkis »

What is wrong with Linux USB3 driver? There are over year old bug reports and even now USB3 is broken. Is there somethin that prevents fixing bug? Is Linux incompatible with USB3?
  • usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
    usb 2-1: New USB device found, idVendor=174c, idProduct=55aa
    usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
    usb 2-1: Product: USB 3.0 Device
    usb 2-1: Manufacturer: Intenso
    usb 2-1: SerialNumber: 306000000000000011CA
    scsi7 : usb-storage 2-1:1.0
    mtp-probe: checking bus 2, device 2: "/sys/devices/pci0000:00/0000:00:1c.7/0000:08:00.0/usb2/2-1"
    mtp-probe: bus: 2, device: 2 was not an MTP device
    scsi 7:0:0:0: Direct-Access Intenso USB 3.0 Device 0 PQ: 0 ANSI: 6
    sd 7:0:0:0: Attached scsi generic sg4 type 0
    sd 7:0:0:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
    usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
    xhci_hcd 0000:08:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff88040b8061c0
    xhci_hcd 0000:08:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff88040b806200
    usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
    xhci_hcd 0000:08:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff88040b8061c0
    xhci_hcd 0000:08:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff88040b806200
    usb 2-1: USB disconnect, device number 2
Last edited by akuankkis on 2014-09-24 04:14, edited 1 time in total.

nixer
Posts: 71
Joined: 2013-12-01 17:09
Has thanked: 1 time
Been thanked: 3 times

Re: USB3 and Linux

#2 Post by nixer »

$ lspci
...
02:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
...

Mine works fine. I used it a lot just yesterday to transfer lots of data between 500mb and 1tb drives. I was transferring data at 110-115mb per second. I noticed then how well it was working and I have been using it with multiple distros for over a year.

I am not contradicting you but wanted to report that it is working.

akuankkis
Posts: 81
Joined: 2011-10-09 09:29

Re: USB3 and Linux

#3 Post by akuankkis »

I have tried 3.16.1 and 3.17-rc2 kernels from kernel.org and that bug is still there. In USB2 slots USB3 disks works but they are slow. Maybe it is unfixable.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: USB3 and Linux

#4 Post by Head_on_a_Stick »

USB 2 port:

Code: Select all

sudo hdparm -t /dev/sdb

/dev/sdb:
 Timing buffered disk reads: 126 MB in  3.04 seconds =  41.44 MB/sec
USB 3 port (same stick)

Code: Select all

sudo hdparm -t /dev/sdb

/dev/sdb:
 Timing buffered disk reads: 520 MB in  3.01 seconds = 172.89 MB/sec
uname-r

Code: Select all

3.16.1-1-ARCH
Works here too...
I'll try it on my Debian box later.
:)

EDIT: Under Debian Sid:

Code: Select all

empty@Debian ~ % sudo hdparm -t /dev/sdb

/dev/sdb:
 Timing buffered disk reads: 472 MB in  3.00 seconds = 157.15 MB/sec
empty@Debian ~ % sudo hdparm -t /dev/sdb

/dev/sdb:
 Timing buffered disk reads: 122 MB in  3.05 seconds =  40.06 MB/sec
empty@Debian ~ % uname -r
3.14-2-rt-amd64
Seems fine to me...
deadbang

akuankkis
Posts: 81
Joined: 2011-10-09 09:29

Re: USB3 and Linux

#5 Post by akuankkis »

Now I have tested three USB3 disks and one USB3 card. Maybe my mobo (Asus P8Z77-V LE PLUS) is incompatible with Linux.

wrmelgaard
Posts: 87
Joined: 2010-08-23 16:05

Re: USB3 and Linux

#6 Post by wrmelgaard »

You don't say what hardware you are using.
This is just a guess. On my AMD64 machine, the four USB 3.0/2.0 ports are controlled by the northbridge, while the fourteen 2.0/1.1 ports are controlled by the southbridge. Reading the motherboard layout, the sockets are labled R_USB1, R_USB2, R_USB30. The front panel sockets are similar. If the front panel cable does not go to a northbridge controlled socket, that could be your problem
akuankkis wrote:What is wrong with Linux USB3 driver? There are over year old bug reports and even now USB3 is broken. Is there somethin that prevents fixing bug? Is Linux incompatible with USB3?
  • usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
    usb 2-1: New USB device found, idVendor=174c, idProduct=55aa
    usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
    usb 2-1: Product: USB 3.0 Device
    usb 2-1: Manufacturer: Intenso
    usb 2-1: SerialNumber: 306000000000000011CA
    scsi7 : usb-storage 2-1:1.0
    mtp-probe: checking bus 2, device 2: "/sys/devices/pci0000:00/0000:00:1c.7/0000:08:00.0/usb2/2-1"
    mtp-probe: bus: 2, device: 2 was not an MTP device
    scsi 7:0:0:0: Direct-Access Intenso USB 3.0 Device 0 PQ: 0 ANSI: 6
    sd 7:0:0:0: Attached scsi generic sg4 type 0
    sd 7:0:0:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
    usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
    xhci_hcd 0000:08:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff88040b8061c0
    xhci_hcd 0000:08:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff88040b806200
    usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
    xhci_hcd 0000:08:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff88040b8061c0
    xhci_hcd 0000:08:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff88040b806200
    usb 2-1: USB disconnect, device number 2

akuankkis
Posts: 81
Joined: 2011-10-09 09:29

Re: USB3 and Linux

#7 Post by akuankkis »

Reason is faulthy usb-sata bridge ASM1051 in USB3 drives. It has nothing to do with motherboards.
See this. https://git.kernel.org/cgit/linux/kerne ... b589975e6a
Workaround was made to kernel 3.17-rc5. Now those disks works. Some perfectly and some works but data transfer is not smooth.

Post Reply