usb3 hd not detected

hi

i use linux kernel: 3.0.3-41

i bought an usb 3 express card

when i boot, i add this option: pci=nomsi

when i do: lspci i get

04:00.0 USB Controller: Fresco Logic FL1000G USB 3.0 Host Controller (rev 01)

so the card seem to be detected

dmesg | grep xhci

18.798868] xhci_hcd 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
18.798920] xhci_hcd 0000:04:00.0: setting latency timer to 64
18.798926] xhci_hcd 0000:04:00.0: xHCI Host Controller
18.798954] xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus number 6
18.911875] xhci_hcd 0000:04:00.0: irq 17, io mem 0xca000000
18.911945] usb usb6: Manufacturer: Linux 3.0.3-41-desktop xhci_hcd
18.912099] xHCI xhci_add_endpoint called for root hub
18.912102] xHCI xhci_check_bandwidth called for root hub
18.912233] xhci_hcd 0000:04:00.0: xHCI Host Controller
18.912243] xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus number 7
18.912278] usb usb7: Manufacturer: Linux 3.0.3-41-desktop xhci_hcd
18.912360] xHCI xhci_add_endpoint called for root hub
18.912363] xHCI xhci_check_bandwidth called for root hub

when i plug an usb hd to this card, nothing is detected…

any idea?

thanks

So I have a USB 3.0 Hard Drive, NTFS partition which I mount from my /etc/fstab file and it works just fine. Consider that there are two parts, the USB 3.0 hub and the USB 3.0 drive. So, the lsusb command should find two entries:

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 002: ID 174c:55aa ASMedia Technology Inc.

The first entry is for the usb 3.0 hub while the second is the hard drive. Your example only shows the hub. The entry I use to mount the drive from my fstab file is:


/dev/disk/by-id/usb-WDC_WD20_EARS-00MVWB0_0123456789ABCDEF-0:0-part1 /DataSafe            ntfs-3g    defaults                                     0 0

I used the YaST Partitioner to make this entry and mount command. Using the fdisk -l command here is hat I get:

Disk /dev/sde: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x4a4068c8

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1            2048  3907026943  1953512448    7  HPFS/NTFS/exFAT

If I enter a df command here is the part for this drive:

/dev/sde1            1953512444 208147644 1745364800  11% /DataSafe

Using this command I can get detailed infor on both the hub and the hard drive:

sudo lsusb -v | less

Here is the detail on the info provided by this command for the hub and hard drive:

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
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.00
  iManufacturer           3 Linux 3.0.0-0.5-desktop xhci_hcd
  iProduct                2 xHCI Host Controller
  iSerial                 1 0000:05:00.0
  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
Hub Descriptor:
  bLength              12
  bDescriptorType      42
  nNbrPorts             2
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  bHubDecLat          0.0 micro seconds
  wHubDelay             0 nano seconds
  DeviceRemovable    0x00
 Hub Port Status:
   Port 1: 0000.0203 5Gbps power U0 enable connect
   Port 2: 0000.02a0 5Gbps power Rx.Detect
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 004 Device 002: ID 174c:55aa ASMedia Technology Inc. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         9
  idVendor           0x174c ASMedia Technology Inc.
  idProduct          0x55aa 
  bcdDevice            1.00
  iManufacturer           2 ASMedia
  iProduct                3 AS2105
  iSerial                 1 0123456789ABCDEF
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           44
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      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   0x00000002
      Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
      Latency Tolerance Messages (LTM) Supported
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   0
      Lowest fully-functional device speed is Low Speed (1Mbps)
    bU1DevExitLat           1 micro seconds
    bU2DevExitLat        2815 micro seconds
Device Status:     0x0001
  Self Powered

I am using kernel version 3.0.3 just as you.

Thank You,

i see Linux Foundation 3.0 root hub with lsusb too

do you need to put this option pci=nomsi to be able to detect usb 3?

will try the rest of the operation and give more news after

i see Linux Foundation 3.0 root hub with lsusb too

do you need to put this option pci=nomsi to be able to detect usb 3?

will try the rest of the operation and give more news after

I have not needed to add any kernel load options to use USB 3.0 drives, but I have been adding them into my fstab file as I leave them connected and don’t disconnect the drive normally. If it’s an NTFS hard drive and if you’re using openSUSE 11.4: there’s a bug in openSUSE 11.4 that stops NTFS from being recognised.

You have to open the text file “filesystems” located at /etc/filesystems and edit it so it looks like this:

vfat
hfs
minix
reiserfs
ntfs
*

Using KDE, the following command (Alt-F2) can be used to edit this file:

kdesu kwrite /etc/filesystems

Thank You,

if i don’t put pci=nomsi, linux don’t see my usb 3 express card

lsusb return

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 046d:c51a Logitech, Inc. MX Revolution/G7 Cordless Mouse
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

lsusb -v return

lsusb -v

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 3.00
iManufacturer 3 Linux 3.0.3-41-desktop ehci_hcd
iProduct 2 EHCI Host Controller
iSerial 1 0000:00:1d.7
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
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
Hub Descriptor:
bLength 11
bDescriptorType 41
nNbrPorts 8
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00 0x00
PortPwrCtrlMask 0xff 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Port 3: 0000.0100 power
Port 4: 0000.0100 power
Port 5: 0000.0100 power
Port 6: 0000.0100 power
Port 7: 0000.0100 power
Port 8: 0000.0100 power
Device Status: 0x0003
Self Powered
Remote Wakeup Enabled

Bus 003 Device 002: ID 046d:c51a Logitech, Inc. MX Revolution/G7 Cordless Mouse
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x046d Logitech, Inc.
idProduct 0xc51a MX Revolution/G7 Cordless Mouse
bcdDevice 41.01
iManufacturer 1 Logitech
iProduct 2 USB Receiver
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 59
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 4 RR41.01_B0025
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 98mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 67
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 79
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1
Device Status: 0x0000
(Bus Powered)

Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 3.00
iManufacturer 3 Linux 3.0.3-41-desktop xhci_hcd
iProduct 2 xHCI Host Controller
iSerial 1 0000:04:00.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
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
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 1
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x02
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.000a oc enable
Device Status: 0x0003
Self Powered
Remote Wakeup Enabled

Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
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.00
iManufacturer 3 Linux 3.0.3-41-desktop xhci_hcd
iProduct 2 xHCI Host Controller
iSerial 1 0000:04:00.0
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
Hub Descriptor:
bLength 12
bDescriptorType 42
nNbrPorts 1
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
bHubDecLat 0.0 micro seconds
wHubDelay 0 nano seconds
DeviceRemovable 0x02
Hub Port Status:
Port 1: 0000.000a 5Gbps U0 oc enable
Device Status: 0x0003
Self Powered
Remote Wakeup Enabled

drive not detected

I can not say for sure, but perhaps adding in USB3 support to your Initrd file could be helpful. I am putting in the full treatment on how to do this. Please note, that if you are NOT TRYING TO BOOT from USB3, skip to number 3 and use any text editor you wish AS a ROOT user: In KDE do a Alt-F2 then enter kdesu kwrite /etc/sysconfig/kernel to edit the file as root when skipping to option 3.

  1. Boot from a LiveCD AFTER you have installed openSUSE properly, but where it does not boot into openSUSE properly.
  2. Open Up a terminal session and execute the following commands.

mkdir /mnt/sysimage
mount /dev/sdXY /mnt/sysimage
chroot /mnt/sysimage

NOTE: X=disk name as in a, b, c or d AND Y=1, 2, 3 or 4 as to partition number. Ex:sdb1 where you have installed the main or root openSUSE partition called /

  1. Use VI or other text editor (Look up the VI editor command first) and edit the file /etc/sysconfig/kernel
  2. In the text file called kernel look for the line that starts with INITRD_MODULES=" and add the name xhci-hcd to the line and save the file. For instances, here is what my line says with this option added:

INITRD_MODULES=“xhci-hcd pata_jmicron ata_generic thermal processor fan”

Your line will likely be different than mine.

  1. Issue the following terminal commands after you have edited the above text file called kernel located in the folder /etc/sysconfig/

mount -tproc none /proc
mkinitrd

This should create a new image in the /boot folder that might be named: initrd-2.6.37.1-1.2-desktop and is being loaded in your /boot/grub/menu.lst file.

Now looking at the kernel option you have, here is what I find:

pci=option,option...]    [PCI] various PCI subsystem options:
    nomsi        [MSI] If the PCI_MSI kernel config parameter is
            enabled, this kernel boot option can be used to
            disable the use of MSI interrupts system-wide.

I really have no idea what PCI_MSI does or how you get it enabled. I can only say I don’t need for USB 3 to work on my PC.

Thank You,

ok i added value you specifed to the Initrd, now the card is detected without nomsi…

hd is detected only if it connected to the system when i boot…
also i can’t write on the hd,

when i boot i can see

sd 5:0:0:0: Attached scsi generic sg3 type 0
[sdc] 312581808 512-byte logical blocks: (160 GB/149 GiB)
[sdc] Write Protect is off
[sdc] Mode Sense: 23 00 00 00
[sdc] No Caching mode page present
[sdc] Assuming drive cache: write through
[sdc] No Caching mode page present
[sdc] Assuming drive cache: write through

if i umount the hd, i’m not able to mount it again

if i umount the hd, i’m not able to mount it again

Well I am happy to see we have made some sort of progress but there may be some sort of mounting bug for USB3, but I am not sure. If it was me, I would leave the USB3 drive connected and add it to my fstab file to be auto mounted and not hot plug it in and out during a typical openSUSE session. You could put in a bug report, but I am not sure whose fault this might be, kernel or openSUSE or even a desktop issue.

Thank You,

If you plug your USB3 drive after boot, is there any associated ‘dmesg|tail’ output?