Re: [RFT PATCH] xhci: fix race when enabling slots.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I booted 200 times, and the USB2 of the hub failed to come up three times.

This happened twice:

[    7.320961] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[    8.826673] xhci_hcd 0000:00:14.0: xHCI host not responding to stop endpoint command.
[    8.826690] xhci_hcd 0000:00:14.0: Assuming host is dying, halting host.
[    8.826736] xhci_hcd 0000:00:14.0: HC died; cleaning up
[    8.826781] usb 1-3.3.4-port1: couldn't allocate usb_device
[    8.826802] usb 1-3: USB disconnect, device number 2
[    8.826809] usb 1-3.2: USB disconnect, device number 3
[    8.827079] usb 2-3: USB disconnect, device number 2
[    8.827088] usb 2-3.2: USB disconnect, device number 3
[    8.827399] usb 2-3.3: USB disconnect, device number 4
[    8.827451] xhci_hcd 0000:00:14.0: Slot 3 endpoint 2 not removed from BW list!
[    8.827458] usb 1-3.3: USB disconnect, device number 4
[    8.827461] usb 1-3.3.4: USB disconnect, device number 6
[    8.829160] xhci_hcd 0000:00:14.0: Slot 8 endpoint 2 not removed from BW list!
[    8.829400] xhci_hcd 0000:00:14.0: Slot 5 endpoint 2 not removed from BW list!
[    8.829408] usb 1-3.4: USB disconnect, device number 5
[    8.829411] usb 1-3.4.1: USB disconnect, device number 7
[    8.848552] xhci_hcd 0000:00:14.0: Slot 9 endpoint 2 not removed from BW list!
[    8.848563] usb 1-3.4.2: USB disconnect, device number 8
[    8.918853] xhci_hcd 0000:00:14.0: Slot 10 endpoint 2 not removed from BW list!
[    8.918863] xhci_hcd 0000:00:14.0: Slot 10 endpoint 4 not removed from BW list!
[    8.919240] xhci_hcd 0000:00:14.0: Slot 6 endpoint 2 not removed from BW list!
[    8.919574] xhci_hcd 0000:00:14.0: Slot 1 endpoint 2 not removed from BW list!

I haven't seen that particular error sequence before - it also resulted in
`lsusb` hanging, which hasn't happened before in my testing.

This happened once:

[    5.785880] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[    5.987246] usb 2-3: new SuperSpeed USB device number 2 using xhci_hcd
[    6.234026] usb 2-3: New USB device found, idVendor=2109, idProduct=0812
[    6.234032] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    6.234034] usb 2-3: Product: USB3.0 Hub             
[    6.234035] usb 2-3: Manufacturer: VIA Labs, Inc.         
[    6.234514] hub 2-3:1.0: USB hub found
[    6.599826] usb 2-3.2: new SuperSpeed USB device number 3 using xhci_hcd
[    6.850349] usb 2-3.2: New USB device found, idVendor=2109, idProduct=0812
[    6.850354] usb 2-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    6.850356] usb 2-3.2: Product: USB3.0 Hub             
[    6.850358] usb 2-3.2: Manufacturer: VIA Labs, Inc.         
[    6.850653] hub 2-3.2:1.0: USB hub found
[    6.915317] usb 2-3.3: new SuperSpeed USB device number 4 using xhci_hcd
[    7.162238] usb 2-3.3: New USB device found, idVendor=2109, idProduct=0812
[    7.162248] usb 2-3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    7.162260] usb 2-3.3: Product: USB3.0 Hub             
[    7.162262] usb 2-3.3: Manufacturer: VIA Labs, Inc.         
[    7.162758] hub 2-3.3:1.0: USB hub found
[    7.528368] usb 2-3.3.4: new SuperSpeed USB device number 5 using xhci_hcd
[    7.772281] usb 2-3.3.4: New USB device found, idVendor=2109, idProduct=8110
[    7.772286] usb 2-3.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    7.772288] usb 2-3.3.4: Product: USB3.0 Hub             
[    7.772290] usb 2-3.3.4: Manufacturer: VIA Labs, Inc.         
[    7.772744] hub 2-3.3.4:1.0: USB hub found
[    8.138772] usb 2-3.3.4.1: new SuperSpeed USB device number 6 using xhci_hcd
[    8.156285] usb 2-3.3.4.1: New USB device found, idVendor=0b95, idProduct=1790
[    8.156304] usb 2-3.3.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.156306] usb 2-3.3.4.1: Product: AX88179
[    8.156308] usb 2-3.3.4.1: Manufacturer: ASIX Elec. Corp.
[    8.156309] usb 2-3.3.4.1: SerialNumber: 00000000000001
[    9.491942] ax88179_178a 2-3.3.4.1:1.0 eth0: register 'ax88179_178a' at usb-0000:00:14.0-3.3.4.1, ASIX AX88179 USB 3.0 Gigabit Ethernet, 00:0a:cd:23:d5:98
[    9.491974] usbcore: registered new interface driver ax88179_178a
[   11.067033] usb 1-3: device descriptor read/all, error -110
--
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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux