http://bugzilla.opensuse.org/show_bug.cgi?id=1195813 Bug ID: 1195813 Summary: Cannot connect any USB device ("max number of devices this xHCI host supports is 32") Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: Ulrich.Windl@rz.uni-regensburg.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I was testing two different USB devices (actually SDHC/SDXC cards connected via card reader as sdf, all on same USB port). When I wanted to connect a plain USB stick, it was found, but I was unable to access it. From that moment on no USB device could be connected to any USB port! Some details from the syslog (kernel is 5.3.18-150300.59.46-preempt): (16GB card) Feb 10 22:32:47 pc7.site kernel: usb 4-4: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd Feb 10 22:32:47 pc7.site kernel: usb 4-4: New USB device found, idVendor=0781, idProduct=cfd2, bcdDevice= 0.06 Feb 10 22:32:47 pc7.site kernel: usb 4-4: New USB device strings: Mfr=3, Product=4, SerialNumber=2 Feb 10 22:32:47 pc7.site kernel: usb 4-4: Product: SDDR-399 Feb 10 22:32:47 pc7.site kernel: usb 4-4: Manufacturer: SanDisk Feb 10 22:32:47 pc7.site kernel: usb 4-4: SerialNumber: 012345678900 Feb 10 22:32:47 pc7.site kernel: usb-storage 4-4:1.0: USB Mass Storage device detected Feb 10 22:32:47 pc7.site kernel: scsi host6: usb-storage 4-4:1.0 eb 10 22:32:48 pc7.site kernel: scsi 6:0:0:0: Direct-Access SanDisk SDDR-399 HI06 PQ: 0 ANSI: 6 Feb 10 22:32:48 pc7.site kernel: sd 6:0:0:0: Attached scsi generic sg5 type 0 Feb 10 22:32:48 pc7.site kernel: sd 6:0:0:0: [sdf] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB) Feb 10 22:32:48 pc7.site kernel: sd 6:0:0:0: [sdf] Write Protect is off Feb 10 22:32:48 pc7.site kernel: sd 6:0:0:0: [sdf] Mode Sense: 21 00 00 00 Feb 10 22:32:48 pc7.site kernel: sd 6:0:0:0: [sdf] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA Feb 10 22:32:48 pc7.site kernel: sdf: sdf1 Feb 10 22:32:48 pc7.site kernel: sd 6:0:0:0: [sdf] Attached SCSI removable disk (When removing the card from the reader, the kernel did not notice it) (64GB card) Feb 10 22:45:56 pc7.site kernel: sd 6:0:0:0: [sdf] 121536512 512-byte logical blocks: (62.2 GB/58.0 GiB) Feb 10 22:45:56 pc7.site kernel: sdf: sdf1 (eject disk) Feb 10 23:04:48 pc7.site kernel: sdf: detected capacity change from 62226694144 to 0 Feb 10 23:04:55 pc7.site kernel: usb 4-4: USB disconnect, device number 2 (insert USB stick) eb 10 23:04:55 pc7.site kernel: usb 4-4: USB disconnect, device number 2 Feb 10 23:13:00 pc7.site kernel: usb 4-4: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd Feb 10 23:13:00 pc7.site kernel: usb 4-4: New USB device found, idVendor=18a5, idProduct=0252, bcdDevice=11.00 Feb 10 23:13:00 pc7.site kernel: usb 4-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Feb 10 23:13:00 pc7.site kernel: usb 4-4: Product: STORE N GO Feb 10 23:13:00 pc7.site kernel: usb 4-4: Manufacturer: Verbatim Feb 10 23:13:00 pc7.site kernel: usb 4-4: SerialNumber: 1234567890123456 Feb 10 23:13:00 pc7.site kernel: usb-storage 4-4:1.0: USB Mass Storage device detected Feb 10 23:13:00 pc7.site kernel: scsi host6: usb-storage 4-4:1.0 Feb 10 23:13:02 pc7.site kernel: scsi 6:0:0:0: Direct-Access Verbatim STORE N GO 1100 PQ: 0 ANSI: 6 Feb 10 23:13:02 pc7.site kernel: scsi 6:0:0:0: alua: supports implicit and explicit TPGS Feb 10 23:13:02 pc7.site kernel: scsi 6:0:0:0: alua: No target port descriptors found Feb 10 23:13:02 pc7.site kernel: sd 6:0:0:0: Attached scsi generic sg5 type 0 Feb 10 23:13:02 pc7.site kernel: sd 6:0:0:0: [sdf] 123750400 512-byte logical blocks: (63.4 GB/59.0 GiB) Feb 10 23:13:02 pc7.site kernel: sd 6:0:0:0: [sdf] Write Protect is off Feb 10 23:13:02 pc7.site kernel: sd 6:0:0:0: [sdf] Mode Sense: 43 00 00 00 Feb 10 23:13:02 pc7.site kernel: sd 6:0:0:0: [sdf] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA Feb 10 23:13:02 pc7.site kernel: sdf: sdf1 sdf2 Feb 10 23:13:02 pc7.site kernel: sd 6:0:0:0: [sdf] Attached SCSI removable disk Feb 10 23:13:37 pc7.site kernel: usb 4-4: Disable of device-initiated U1 failed. Feb 10 23:13:42 pc7.site kernel: usb 4-4: Disable of device-initiated U2 failed. eb 10 23:13:47 pc7.site kernel: xhci_hcd 0000:00:14.0: ERROR mismatched command completion event Feb 10 23:13:47 pc7.site kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command Feb 10 23:13:50 pc7.site kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command Feb 10 23:13:50 pc7.site kernel: usb 4-4: device not accepting address 3, error -62 Feb 10 23:14:00 pc7.site kernel: xhci_hcd 0000:00:14.0: Command completion event does not match command Feb 10 23:14:00 pc7.site kernel: xhci_hcd 0000:00:14.0: ERROR mismatched command completion event Feb 10 23:14:02 pc7.site kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for stop endpoint command Feb 10 23:14:02 pc7.site systemd-udevd[1202]: sdf: Worker [7736] processing SEQNUM=5195 is taking a long time (command to access device hangs) (try re-plug) Feb 10 23:14:37 pc7.site kernel: xhci_hcd 0000:00:14.0: ERROR mismatched command completion event Feb 10 23:14:39 pc7.site kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command Feb 10 23:14:40 pc7.site kernel: usb 4-4: device not accepting address 3, error -62 Feb 10 23:14:45 pc7.site kernel: xhci_hcd 0000:00:14.0: ERROR mismatched command completion event Feb 10 23:14:50 pc7.site kernel: xhci_hcd 0000:00:14.0: ERROR mismatched command completion event Feb 10 23:14:52 pc7.site kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for stop endpoint command Feb 10 23:14:56 pc7.site kernel: usb usb4-port4: Cannot enable. Maybe the USB cable is bad? Feb 10 23:15:00 pc7.site kernel: usb usb4-port4: Cannot enable. Maybe the USB cable is bad? Feb 10 23:15:00 pc7.site kernel: usb 4-4: USB disconnect, device number 3 Feb 10 23:15:00 pc7.site kernel: sd 6:0:0:0: [sdf] tag#0 FAILED Result: hostbyte=DID_TIME_OUT driverbyte=DRIVER_OK Feb 10 23:15:00 pc7.site kernel: sd 6:0:0:0: [sdf] tag#0 CDB: Read(10) 28 00 07 60 47 fc 00 00 01 00 Feb 10 23:15:00 pc7.site kernel: blk_update_request: I/O error, dev sdf, sector 123750396 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 Feb 10 23:15:00 pc7.site kernel: sd 6:0:0:0: tag#0 timing out command, waited 60s Feb 10 23:15:00 pc7.site kernel: blk_update_request: I/O error, dev sdf, sector 123750392 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 Feb 10 23:15:00 pc7.site kernel: Buffer I/O error on dev sdf, logical block 15468799, async page read eb 10 23:15:00 pc7.site multipath[7833]: sysfs_is_multipathed: error scanning /sys/block/sdf/holders Feb 10 23:15:06 pc7.site kernel: xhci_hcd 0000:00:14.0: ERROR mismatched command completion event Feb 10 23:15:11 pc7.site kernel: xhci_hcd 0000:00:14.0: ERROR mismatched command completion event Feb 10 23:15:13 pc7.site kernel: xhci_hcd 0000:00:14.0: Unsuccessful disable slot 11 command, status 25 Feb 10 23:15:18 pc7.site kernel: xhci_hcd 0000:00:14.0: ERROR mismatched command completion event Feb 10 23:15:23 pc7.site kernel: xhci_hcd 0000:00:14.0: ERROR mismatched command completion event Feb 10 23:15:25 pc7.site kernel: xhci_hcd 0000:00:14.0: Error while assigning device slot ID Feb 10 23:15:25 pc7.site kernel: xhci_hcd 0000:00:14.0: Max number of devices this xHCI host supports is 32. Feb 10 23:15:25 pc7.site kernel: usb usb4-port4: couldn't allocate usb_device Feb 10 23:17:45 pc7.site kernel: xhci_hcd 0000:00:14.0: ERROR mismatched command completion event Feb 10 23:17:50 pc7.site kernel: xhci_hcd 0000:00:14.0: ERROR mismatched command completion event (and so on) Hardware: # lspci |grep USB 00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05) 00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05) 00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05) Devices connected (since boot): # lsusb Bus 003 Device 002: ID 8087:8000 Intel Corp. Integrated Rate Matching Hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 8087:8008 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 002 Device 010: ID 085c:0300 ColorVision, Inc. Spyder 3 Bus 002 Device 004: ID 06a3:0006 Saitek PLC Cyborg Gold Joystick Bus 002 Device 009: ID 0781:5583 SanDisk Corp. Ultra Fit Bus 002 Device 007: ID 062a:7223 MosArt Semiconductor Corp. Full-Speed Mouse Bus 002 Device 008: ID 056d:0002 EIZO Corp. HID Monitor Controls Bus 002 Device 006: ID 0409:005a NEC Corp. HighSpeed Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub I suspect the problem has something to do with these messages: usb 4-4: Disable of device-initiated U1 failed. usb 4-4: Disable of device-initiated U2 failed. I had been using the USB stick on the same hardware before, and I had been using it with the same kernel on a different hardware, too. When I tried "hwinfo --usb", the command first hung, then killed my USB mouse (it does not move any more now, and the mouse LED indicates that it has no power any more). -- You are receiving this mail because: You are the assignee for the bug.