Forwarding this message to linux-usb. Summary of the problem: A SuperSpeed disk drive works when plugged in after boot but not when plugged in before boot. It usually (but not always) works when attached to a USB-2 port. Alan Stern ---------- Forwarded message ---------- Date: Tue, 06 Mar 2012 10:01:57 -0500 From: covici@xxxxxxxxxxxxxx To: Theodore Kilgore <kilgota@xxxxxxxxxxxxxxxxxxxxxx> Cc: Matthew Dharm <mdharm-usb@xxxxxxxxxxxxxxxxxx>, usb-storage@xxxxxxxxxxxxxxxxxxxxxxxx Subject: Re: [usb-storage] Problems using usb mass storage with Supermicro c7p67-o mobo Well, Here is what I did and it seems to work -- the problem is that if I reboot with the USB disk drive connected, it does not work and however many times I unplug and replug, it never works, but if I unplug before I reboot and reboot and plug in the drive that seems to fix things. I am curious if anyone knows why this is so -- should I build in something into the kernel or something? Thanks. > > >> >> On Sat, Feb 25, 2012 at 11:28 PM, �<covici@xxxxxxxxxxxxxx> wrote: > > >> >> > Hi. �I have a Supermicro c7P67-o motherboard and I have another system > > >> >> > using windows with no problems. �However, when I am trying to use the > > >> >> > board with gentoo -- various kernels -- including 3.2.6-gentoo -- I am > > >> >> > having lots of problems with USB. �The board has two usb3 connectors and > > >> >> > most of the time when I plug a usb3 enclosure into one of those, I get > > >> >> > lots of errors such as > > >> >> > Feb 23 10:27:31 ccs kernel: xhci_hcd 0000:04:00.0: Timeout while waiting > > >> >> > for address device command > > >> >> > Feb 23 10:27:31 ccs kernel: usb 3-1: device not accepting address 2, > > >> >> > error -62 > > >> >> > > > >> >> > Once in a while if I reboot I can get it to work, but usually not. �Now > > >> >> > usb2 works for about a day or so and then either slows way down or the > > >> >> > drive is just not seen at all. �In those cases there are no log messages > > >> >> > at all to give any hint. > > >> >> > > > >> >> > So, does anyone have any ideas as to why this is happening -- the > > >> >> > Supermicro people have noclue whatsoever. > > >> >> > > > >> >> > As of this writing, it is working, but that is because I rebooted > > >> >> > yesterday. �Here is the lsusb -v in case that can help diagnose the > > >> >> > problem. > > >> >> > 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-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 � 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 � 1 > > >> >> > � � �Lowest fully-functional device speed is Full Speed (12Mbps) > > >> >> > � �bU1DevExitLat � � � � �10 micro seconds > > >> >> > � �bU2DevExitLat � � � �2047 micro seconds > > >> >> > Device Status: � � 0x0001 > > >> >> > �Self Powered > > >> >> > > > >> >> > Bus 003 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.02 > > >> >> > �iManufacturer � � � � � 3 Linux 3.2.6-gentoo 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 � � � � � � 2 > > >> >> > �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 � �0x00 > > >> >> > �PortPwrCtrlMask � �0xff > > >> >> > �Hub Port Status: > > >> >> > � Port 1: 0000.0100 power > > >> >> > � Port 2: 0000.0100 power > > >> >> > Device Status: � � 0x0001 > > >> >> > �Self Powered > > >> >> > > > >> >> > 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.02 > > >> >> > �iManufacturer � � � � � 3 Linux 3.2.6-gentoo 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 � � � � � � 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 > > >> >> > Binary Object Store Descriptor: > > >> >> > �bLength � � � � � � � � 5 > > >> >> > �bDescriptorType � � � �15 > > >> >> > �wTotalLength � � � � � 15 > > >> >> > �bNumDeviceCaps � � � � �1 > > >> >> > �SuperSpeed USB Device Capability: > > >> >> > � �bLength � � � � � � � �10 > > >> >> > � �bDescriptorType � � � �16 > > >> >> > � �bDevCapabilityType � � �3 > > >> >> > � �bmAttributes � � � � 0x00 > > >> >> > � � �Latency Tolerance Messages (LTM) Supported > > >> >> > � �wSpeedsSupported � 0x0008 > > >> >> > � � �Device can operate at SuperSpeed (5Gbps) > > >> >> > � �bFunctionalitySupport � 3 > > >> >> > � � �Lowest fully-functional device speed is SuperSpeed (5Gbps) > > >> >> > � �bU1DevExitLat � � � � � 0 micro seconds > > >> >> > � �bU2DevExitLat � � � � � 0 micro seconds > > >> >> > Device Status: � � 0x0001 > > >> >> > �Self Powered -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html