You are not logged in.

#1 2022-04-08 02:25:15

xstraok
Member
Registered: 2022-03-16
Posts: 8

xhci_hcd adds 15 seconds to boot, how to blacklist a device from xhci?

This issue is happening in every single distro that I use. There are 5 dmesg logs related to this:

[    5.279045] pci 0000:01:00.2: xHCI HW not ready after 5 sec (HC bug?) status = 0x801
(...)
[   16.273196] xhci_hcd 0000:01:00.2: can't setup: -110
[   16.273198] xhci_hcd 0000:01:00.2: USB bus 3 deregistered
[   16.273279] xhci_hcd 0000:01:00.2: init 0000:01:00.2 fail, -110
[   16.273304] xhci_hcd: probe of 0000:01:00.2 failed with error -110

Cause:
I've noticed that 0000:01:00.2 is a usb controller (nvidia corporation).  0000:01:00.0 is my gpu (RTX 2060), it does not have usb at all.

Question:
Is there a way to blacklist the gpu from xhci_hcd?
xhci handoff is disabled in the bios, changing it does nothing.

Offline

#2 2022-04-08 11:38:45

seth
Member
Registered: 2012-09-03
Posts: 51,632

Re: xhci_hcd adds 15 seconds to boot, how to blacklist a device from xhci?

Remove it w/ a udev rule?
https://superuser.com/a/760592

Should™ be "…/0000:00:01.0/0000:01:00.2/remove"

Edit:
https://wiki.archlinux.org/title/Udev
nb. that the device enumeration can change when you change the HW or update the BIOS in which case you might have to adjust the rule offline (eg. from a live distro) if you nuke a relevant device.
Also please post the output of "lspci" and "xrandr -q", this might actually be a legit USB-over-DP hub.

Last edited by seth (2022-04-08 11:42:04)

Offline

#3 2022-04-08 11:58:45

xstraok
Member
Registered: 2022-03-16
Posts: 8

Re: xhci_hcd adds 15 seconds to boot, how to blacklist a device from xhci?

Thanks, I'll try the udev rule method when I get home, in around 8 hours. It should theoretically work.
Edit: Nevermind, due to bad weather conditions in my area, my bus did not arrive today, so I'm back home now.

Last edited by xstraok (2022-04-08 12:59:32)

Offline

#4 2022-04-08 13:47:24

xstraok
Member
Registered: 2022-03-16
Posts: 8

Re: xhci_hcd adds 15 seconds to boot, how to blacklist a device from xhci?

Added a udev rule, it works, but too late, so the boot time is still long. Udev is in mkinitcpio.conf hooks. I also removed 01:00.3, since it was reporting itself as usb. (it was also doing timeout errors in dmesg) Heres lspci without the udev rule:

00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 07)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
00:14.2 Signal processing controller: Intel Corporation 200 Series PCH Thermal Subsystem
00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI #1
00:17.0 SATA controller: Intel Corporation 200 Series PCH SATA controller [AHCI mode]
00:1c.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #5 (rev f0)
00:1c.6 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #7 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device a2ca
00:1f.2 Memory controller: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller
00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
00:1f.4 SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller
01:00.0 VGA compatible controller: NVIDIA Corporation TU106 [GeForce RTX 2060 Rev. A] (rev a1)
01:00.1 Audio device: NVIDIA Corporation TU106 High Definition Audio Controller (rev a1)
01:00.2 USB controller: NVIDIA Corporation TU106 USB 3.1 Host Controller (rev a1)
01:00.3 Serial bus controller: NVIDIA Corporation TU106 USB Type-C UCSI Controller (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)

And here's xrandr -q

Screen 0: minimum 8 x 8, current 3000 x 1920, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1080x1920+0+0 left (normal left inverted right x axis y axis) 480mm x 270mm
   1920x1080     74.97*+  60.00    59.94    50.00  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1400x1050     59.98  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    59.94    59.93  
DP-4 connected primary 1920x1080+1080+420 (normal left inverted right x axis y axis) 521mm x 293mm
   1920x1080     60.00 + 144.00*  119.98   119.88    99.93    59.94    50.00  
   1680x1050     59.88  
   1280x1024     75.02    60.02  
   1280x720      60.00    59.94    50.00  
   1024x768     119.99    99.97    75.03    70.07    60.00  
   800x600      119.97    99.66    75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480      119.52    99.77    75.00    72.81    59.94    59.93  
DP-5 disconnected (normal left inverted right x axis y axis)

Offline

#5 2022-04-08 13:54:31

seth
Member
Registered: 2012-09-03
Posts: 51,632

Re: xhci_hcd adds 15 seconds to boot, how to blacklist a device from xhci?

https://forums.developer.nvidia.com/t/u … er/75826/3

Check if a firmware/vbios update for your card is available…

Offline

#6 2022-04-08 14:46:44

xstraok
Member
Registered: 2022-03-16
Posts: 8

Re: xhci_hcd adds 15 seconds to boot, how to blacklist a device from xhci?

I checked. My GPU model specifically is Gigabyte RTX 2060 windforce OC rev 2, but there is only a bios update for the non-oc version. I still attempted to update it, but it gave me an error: Bios version incorrect, and "no display adapters were found that were compatible with this update". I even looked at Techpowerup bios collection, but they were all old and incompatible.

Offline

#7 2024-04-19 13:10:51

XReaper95
Member
Registered: 2024-04-19
Posts: 1

Re: xhci_hcd adds 15 seconds to boot, how to blacklist a device from xhci?

Hello, I'm facing the same problem. Is a vBIOS update still the only solution? Mine is a Galax and can't find any updates for it.

Offline

Board footer

Powered by FluxBB