External Drive USB 3.0 mounted as 2.0

Issues related to hardware problems
Post Reply
toty_Centos
Posts: 27
Joined: 2017/04/01 00:45:49

External Drive USB 3.0 mounted as 2.0

Post by toty_Centos » 2017/10/15 23:03:04

Hello there guys, Im having problems mounting my WD external drive as 3.0.
My MSI motherboard has two blue 3.0 ports but none of them seem to work with CentOS.

some info:

Code: Select all

Device: ID 1058:10b8 Western Digital Technologies, Inc. Elements Portable (WDBU6Y, WDBUZG)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x1058 Western Digital Technologies, Inc.
  idProduct          0x10b8 Elements Portable (WDBU6Y, WDBUZG)
  bcdDevice           10.12
  iManufacturer           1 Western Digital
  iProduct                2 Elements 10B8
  iSerial                 5 575832314539343041523139
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength           22
  bNumDeviceCaps          2
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000f0e
      Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   1
      Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat          10 micro seconds
    bU2DevExitLat          32 micro seconds
Device Status:     0x0000
  (Bus Powered)
As you can see my external drive can operate at superspeed and currently is mounted as 2.0

more info:

Code: Select all

[root@ server1-centos ~]$ cat /var/log/dmesg | grep -i "xhc"
[    1.263766] xhci_hcd 0000:03:00.0: xHCI Host Controller
[    1.263838] xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 8
[    1.263975] xhci_hcd 0000:03:00.0: hcc params 0x014042cb hci version 0x96 quirks 0x00000004
[    1.264006] xhci_hcd 0000:03:00.0: irq 27 for MSI/MSI-X
[    1.264014] xhci_hcd 0000:03:00.0: irq 28 for MSI/MSI-X
[    1.264023] xhci_hcd 0000:03:00.0: irq 29 for MSI/MSI-X
[    1.264031] xhci_hcd 0000:03:00.0: irq 30 for MSI/MSI-X
[    1.264040] xhci_hcd 0000:03:00.0: irq 31 for MSI/MSI-X
[    1.264134] usb usb8: Product: xHCI Host Controller
[    1.264135] usb usb8: Manufacturer: Linux 3.10.0-693.2.2.el7.x86_64 xhci-hcd
[    1.264339] xhci_hcd 0000:03:00.0: xHCI Host Controller
[    1.264440] xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 9
[    1.267347] usb usb9: Product: xHCI Host Controller
[    1.267348] usb usb9: Manufacturer: Linux 3.10.0-693.2.2.el7.x86_64 xhci-hcd
3.0 module is loaded at boot time, so Why isn't mounted as 3.0?

Code: Select all

[root@ server1-centos ~]$ lsusb
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 005: ID 1058:10b8 Western Digital Technologies, Inc. Elements Portable (WDBU6Y, WDBUZG)
Bus 004 Device 003: ID 04d9:0171 Holtek Semiconductor, Inc. 
Bus 004 Device 004: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I hope you guys can give some advice!!!!

Thank you very much!!!

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: External Drive USB 3.0 mounted as 2.0

Post by hunter86_bg » 2017/10/16 03:21:43

Is it happening only with this device? Are you really sure that the USB3.0 is working?
I'm asking this as mine died a long time ago...

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: External Drive USB 3.0 mounted as 2.0

Post by TrevorH » 2017/10/16 09:35:34

Maybe my eyes don't work properly but which bit of that output tells you that it's only using USB 2.0?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

toty_Centos
Posts: 27
Joined: 2017/04/01 00:45:49

Re: External Drive USB 3.0 mounted as 2.0

Post by toty_Centos » 2017/10/16 22:18:32

Thanks for your reply hunter, yeah I'm positive it works. This box used to have Windows before installing centOS.
Trevor if I'm not wrong the last output shows my HD listed as 2.0 and the 3.0 bus empty. I'm not expert on this but it does transfer data really slow (20mb/s) and in my windows laptop around 90MB/s!
Besides in the 1st output lsusb -D details it shows bcdUSB 2.0 with my HD mounted on it.
And if I do an lsusb -v I see the details for the 3.0 bcdUSB which is unused.

edit: I unplugged it and plugged it again, now it was mounted on BUS 001 Device 005 which again shows bcdUSB 2.10

and the 3.0 bus empty:

Code: Select all

Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         3 
  bMaxPacketSize0         9
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0003 3.0 root hub
  bcdDevice            3.10
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           31
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
        bMaxBurst               0

I have it plugged with an usb extensor, I'll try whit out it and let you know!!!

sorry for my delay in replying, I'm having troubles with my ISP!

toty_Centos
Posts: 27
Joined: 2017/04/01 00:45:49

Re: External Drive USB 3.0 mounted as 2.0

Post by toty_Centos » 2017/10/16 22:38:10

I think we have a winner.

I left aside the usb extensor and plugged it without it and now... check out bcdUSB:

Code: Select all

[root@ server1-centos log]$ lsusb -D /dev/bus/usb/009/003 
Device: ID 1058:10b8 Western Digital Technologies, Inc. Elements Portable (WDBU6Y, WDBUZG)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         9
  idVendor           0x1058 Western Digital Technologies, Inc.
  idProduct          0x10b8 Elements Portable (WDBU6Y, WDBUZG)
  bcdDevice           10.12
  iManufacturer           1 Western Digital
  iProduct                2 Elements 10B8
  iSerial                 5 575832314539343041523139
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           44
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              224mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength           22
  bNumDeviceCaps          2
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000f0e
      Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   1
      Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat          10 micro seconds
    bU2DevExitLat          32 micro seconds
Device Status:     0x0000
  (Bus Powered)

Besides there are differences in dmesg -c output:

Code: Select all

[194165.637771] [b]usb 1-5: new high-speed USB device number 5 using ehci-pci[/b]
[194165.754458] usb 1-5: New USB device found, idVendor=1058, idProduct=10b8
[194165.754470] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[194165.754476] usb 1-5: Product: Elements 10B8
[194165.754482] usb 1-5: Manufacturer: Western Digital
[194165.754487] usb 1-5: SerialNumber: 575832314539343041523139
[194165.757339] usb-storage 1-5:1.0: USB Mass Storage device detected
[194165.759173] scsi host10: usb-storage 1-5:1.0
[194166.761617] scsi 10:0:0:0: Direct-Access     WD       Elements 10B8    1012 PQ: 0 ANSI: 6
[194166.763488] sd 10:0:0:0: Attached scsi generic sg1 type 0
[194166.771172] sd 10:0:0:0: [sdb] Spinning up disk...
[194167.773793] ......ready
[194172.799594] sd 10:0:0:0: [sdb] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
[194172.800712] sd 10:0:0:0: [sdb] Write Protect is off
[194172.800725] sd 10:0:0:0: [sdb] Mode Sense: 47 00 10 08
[194172.801872] sd 10:0:0:0: [sdb] No Caching mode page found
[194172.801881] sd 10:0:0:0: [sdb] Assuming drive cache: write through
[194172.862576]  sdb: sdb1
[194172.867227] sd 10:0:0:0: [sdb] Attached SCSI disk
[194659.614101] usb 1-5: USB disconnect, device number 5
[194703.769619] [b]usb 9-1: new SuperSpeed USB device number 2 using xhci_hcd[/b]
[194703.784307] usb 9-1: New USB device found, idVendor=1058, idProduct=10b8
[194703.784319] usb 9-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[194703.784326] usb 9-1: Product: Elements 10B8
[194703.784331] usb 9-1: Manufacturer: Western Digital
[194703.784386] usb 9-1: SerialNumber: 575832314539343041523139
[194703.785989] usb-storage 9-1:1.0: USB Mass Storage device detected
[194703.787034] scsi host11: usb-storage 9-1:1.0
[194704.344410] usb 9-1: USB disconnect, device number 2
[194704.551633][b] usb 9-1: new SuperSpeed USB device number 3 using xhci_hcd[/b]
[194704.566306] usb 9-1: New USB device found, idVendor=1058, idProduct=10b8
[194704.566317] usb 9-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[194704.566324] usb 9-1: Product: Elements 10B8
[194704.566385] usb 9-1: Manufacturer: Western Digital
[194704.566391] usb 9-1: SerialNumber: 575832314539343041523139
[194704.567644] usb-storage 9-1:1.0: USB Mass Storage device detected
[194704.568218] scsi host12: usb-storage 9-1:1.0
[194705.570304] scsi 12:0:0:0: Direct-Access     WD       Elements 10B8    1012 PQ: 0 ANSI: 6
[194705.571700] sd 12:0:0:0: Attached scsi generic sg1 type 0
[194705.574124] sd 12:0:0:0: [sdb] Spinning up disk...
[194706.575472] ......ready
[194711.590890] sd 12:0:0:0: [sdb] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
[194711.591461] sd 12:0:0:0: [sdb] Write Protect is off
[194711.591475] sd 12:0:0:0: [sdb] Mode Sense: 47 00 10 08
[194711.592050] sd 12:0:0:0: [sdb] No Caching mode page found
[194711.592061] sd 12:0:0:0: [sdb] Assuming drive cache: write through
[194711.658487]  sdb: sdb1
[194711.660574] sd 12:0:0:0: [sdb] Attached SCSI disk
Do you guys know any software to make some tests under CentOS?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: External Drive USB 3.0 mounted as 2.0

Post by TrevorH » 2017/10/16 23:00:31

Just run hdparm -tT on it. If the second line shows output > 40MB/s then it's using USB 3.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

toty_Centos
Posts: 27
Joined: 2017/04/01 00:45:49

Re: External Drive USB 3.0 mounted as 2.0

Post by toty_Centos » 2017/10/17 01:20:20

TrevorH wrote:Just run hdparm -tT on it. If the second line shows output > 40MB/s then it's using USB 3.
Ok guys, I think we can close!!!

Code: Select all

[root@ server1-centos ~]$ hdparm -tT /dev/sdb
/dev/sdb:
 Timing cached reads:   3960 MB in  2.00 seconds = 1979.87 MB/sec
 Timing buffered disk reads: 304 MB in  3.00 seconds = 101.23 MB/sec
The cable extensor has ages, probably it wasn't made for 3.0 tech!!!!

thx both of you!!!

Post Reply