Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USB device from Kingston causing slow boot caused by xhci_hcd / USB 3 #17

Closed
mika opened this issue May 5, 2017 · 3 comments
Closed
Labels
Milestone

Comments

@mika
Copy link
Member

mika commented May 5, 2017

Booting up with USB 3 devices causes very slow boot, at least on certain systems like the Lenovo x230 laptop with:

00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)

System:

Linux grml 4.9.0-1-grml-amd64 #1 SMP Debian 4.9.17-1+grml.1 (2017-03-22) x86_64 GNU/Linux

dmesg output:

[    5.455783] work still pending
[   66.718555] usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
[   71.958162] usb 2-1: device descriptor read/8, error -110
[   72.065680] usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
[   77.329767] usb 2-1: device descriptor read/8, error -110
[   77.585613] usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
[   82.700615] usb 2-1: device descriptor read/8, error -110
[   82.808344] usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
[   88.072499] usb 2-1: device descriptor read/8, error -110
[   88.328101] usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
[   93.443305] usb 2-1: device descriptor read/8, error -110
[   93.550973] usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
[   98.814713] usb 2-1: device descriptor read/8, error -110
[   99.070675] usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
[  104.185939] usb 2-1: device descriptor read/8, error -110
[  104.293571] usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd
[  109.558590] usb 2-1: device descriptor read/8, error -110
[  109.721672] usb 2-1: USB disconnect, device number 2
[  109.745032] md: linear personality registered for level -1
[...]
[  113.649686] work still pending
[  115.440152] usb 2-1: device descriptor read/8, error -110
[  115.547827] usb 2-1: new SuperSpeed USB device number 3 using xhci_hcd
[  120.811484] usb 2-1: device descriptor read/8, error -110
[  121.067137] usb 2-1: new SuperSpeed USB device number 4 using xhci_hcd
[  126.182787] usb 2-1: device descriptor read/8, error -110
[  126.290429] usb 2-1: new SuperSpeed USB device number 4 using xhci_hcd
[  131.554290] usb 2-1: device descriptor read/8, error -110
[  131.809856] usb 2-1: new SuperSpeed USB device number 5 using xhci_hcd
[  136.925516] usb 2-1: device descriptor read/8, error -110
[  137.033152] usb 2-1: new SuperSpeed USB device number 5 using xhci_hcd
[  142.296821] usb 2-1: device descriptor read/8, error -110
[  142.552438] usb 2-1: new SuperSpeed USB device number 6 using xhci_hcd
[  147.668198] usb 2-1: device descriptor read/8, error -110
[  147.775815] usb 2-1: new SuperSpeed USB device number 6 using xhci_hcd
[  153.039712] usb 2-1: device descriptor read/8, error -110
[  153.175458] usb usb2-port1: unable to enumerate USB device
[  156.364493] floppy0: no floppy controllers found

@mika mika added the bug label May 5, 2017
@mika mika added this to the Grml 2017.05 milestone May 5, 2017
@mika
Copy link
Member Author

mika commented May 5, 2017

Ok, that's caused by the actual Kingston USB stick, even lsusb -v hangs on Debian jessie systems (running 4.8.0-0.bpo.2-amd64):

Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         9
  idVendor           0x0951 Kingston Technology
  idProduct          0x1666
  bcdDevice            1.00
  iManufacturer           1 (error)
  iProduct                2 (error)
  iSerial                 3 (error)
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           44
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              126mA
    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               3
      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               3

@mika mika changed the title USB 3 devices causing slow boot USB device from Kingston causing slow boot caused by xhci_hcd / USB 3 May 5, 2017
@mika mika modified the milestones: Grml 2017.05, Grml 2017.12 Nov 17, 2017
@jkirk
Copy link
Collaborator

jkirk commented May 25, 2018

The current (custom) ISO boots fine on a Lenovo X280:

root@grml ~ # uname -a 
Linux grml 4.15.0-1-grml-amd64 #1 SMP Debian 4.15.18-1+grml.1 (2018-04-24) x86_64 GNU/Linux

root@grml ~ # lsusb -v -s 002:002                 

Bus 002 Device 002: ID 0951:1666 Kingston Technology DataTraveler 100 G3/G4/SE9 G2
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         9
  idVendor           0x0951 Kingston Technology
  idProduct          0x1666 DataTraveler 100 G3/G4/SE9 G2
  bcdDevice            1.00
  iManufacturer           1 Kingston
  iProduct                2 DataTraveler 3.0
  iSerial                 3 1C6F654E3FD0B120D928C583
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           44
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              126mA
    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               3
      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               3
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   0x00000006
      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   2
      Lowest fully-functional device speed is High Speed (480Mbps)
    bU1DevExitLat          10 micro seconds
    bU2DevExitLat        2047 micro seconds
Device Status:     0x000c
  (Bus Powered)
  U1 Enabled
  U2 Enabled

Will test on a Lenovo X230 as soon as possible.

@jkirk
Copy link
Collaborator

jkirk commented May 27, 2018

The latest ISO boots fine on a Lenovo X230 too. Wohoo. Closing.

@jkirk jkirk closed this as completed May 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants