You are not logged in.

#1 2025-03-11 03:05:51

eizengan
Member
Registered: 2025-02-13
Posts: 11

[SOLVED] USB-related failure causing boot time slowdown

Today my boot time increased by a full minute. I've found the following in dmesg output which clearly accounts for the entire increase, and indicates some USB-related culprit:

[    5.726820] usb 1-12: new high-speed USB device number 7 using xhci_hcd
[   11.026839] usb 1-12: device descriptor read/64, error -110
[   26.898766] usb 1-12: device descriptor read/64, error -110
[   27.183700] usb 1-12: new high-speed USB device number 8 using xhci_hcd
[   32.530751] usb 1-12: device descriptor read/64, error -110
[   48.402853] usb 1-12: device descriptor read/64, error -110
[   48.514313] usb usb1-port12: attempt power cycle
[   48.952815] usb 1-12: new high-speed USB device number 9 using xhci_hcd
[   53.753081] usb 1-12: Device not responding to setup address.
[   58.766197] usb 1-12: Device not responding to setup address.
[   58.973799] usb 1-12: device not accepting address 9, error -71
[   59.151689] usb 1-12: new high-speed USB device number 10 using xhci_hcd
[   63.952325] usb 1-12: Device not responding to setup address.
[   68.958354] usb 1-12: Device not responding to setup address.
[   69.165694] usb 1-12: device not accepting address 10, error -71
[   69.170230] usb usb1-port12: unable to enumerate USB device

This possibly stems from the following updates earlier today, before which I had no issues:

[2025-03-10T11:38:09-0400] [ALPM] transaction started
[2025-03-10T11:38:09-0400] [ALPM] upgraded alsa-card-profiles (1:1.2.7-1 -> 1:1.4.0-2)
[2025-03-10T11:38:09-0400] [ALPM] upgraded libx11 (1.8.11-1 -> 1.8.12-1)
[2025-03-10T11:38:09-0400] [ALPM] upgraded electron34 (34.3.1-1 -> 34.3.2-1)
[2025-03-10T11:38:09-0400] [ALPM] upgraded libpipewire (1:1.2.7-1 -> 1:1.4.0-2)
[2025-03-10T11:38:09-0400] [ALPM] upgraded libsm (1.2.5-1 -> 1.2.6-1)
[2025-03-10T11:38:10-0400] [ALPM] upgraded linux (6.13.5.arch1-1 -> 6.13.6.arch1-1)
[2025-03-10T11:38:10-0400] [ALPM] upgraded linux-headers (6.13.5.arch1-1 -> 6.13.6.arch1-1)
[2025-03-10T11:38:10-0400] [ALPM] upgraded pipewire (1:1.2.7-1 -> 1:1.4.0-2)
[2025-03-10T11:38:10-0400] [ALPM] installed libebur128 (1.2.6-2)
[2025-03-10T11:38:10-0400] [ALPM] upgraded pipewire-audio (1:1.2.7-1 -> 1:1.4.0-2)
[2025-03-10T11:38:10-0400] [ALPM] upgraded pipewire-session-manager (1:1.2.7-1 -> 1:1.4.0-2)
[2025-03-10T11:38:10-0400] [ALPM] upgraded pipewire-alsa (1:1.2.7-1 -> 1:1.4.0-2)
[2025-03-10T11:38:10-0400] [ALPM] upgraded pipewire-jack (1:1.2.7-1 -> 1:1.4.0-2)
[2025-03-10T11:38:10-0400] [ALPM] upgraded pipewire-pulse (1:1.2.7-1 -> 1:1.4.0-2)
[2025-03-10T11:38:10-0400] [ALPM] upgraded uwsm (0.21.1-1 -> 0.21.2-1)
[2025-03-10T11:38:10-0400] [ALPM] transaction completed

I've tried booting with no USB devices plugged in, but that changes nothing. Any idea how I might continue diagnosing this?

Last edited by eizengan (2025-03-11 15:04:09)

Offline

#2 2025-03-11 13:41:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 74,664

Re: [SOLVED] USB-related failure causing boot time slowdown

lsusb -tv

Offline

#3 2025-03-11 14:04:25

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,115

Re: [SOLVED] USB-related failure causing boot time slowdown

Most likely kernel related, you could try downgrading to 6.13.5 to confirm. Just from the kernel changelog nothing massively obvious unless you have a tegra/exynos USB chip... Is this a Samsung laptop? What do you get from

lspci
lsusb -tv #usbutils

Last edited by V1del (2025-03-11 14:04:47)

Online

#4 2025-03-11 14:22:23

eizengan
Member
Registered: 2025-02-13
Posts: 11

Re: [SOLVED] USB-related failure causing boot time slowdown

Recently built desktop sporting this ASRock mobo

I'd assumed usb 1-12 is bus 1, port 12. Is that correct? If so, it doesn't show up in lsusb output:

/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/12p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 002: Dev 002, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        ID 045e:0730 Microsoft Corp. Digital Media Keyboard 3000
    |__ Port 002: Dev 002, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
        ID 045e:0730 Microsoft Corp. Digital Media Keyboard 3000
    |__ Port 005: Dev 003, If 0, Class=Hub, Driver=hub/4p, 480M
        ID 174c:2074 ASMedia Technology Inc. ASM1074 High-Speed hub
        |__ Port 003: Dev 005, If 0, Class=Mass Storage, Driver=usb-storage, 480M
            ID 0781:5571 SanDisk Corp. Cruzer Fit
    |__ Port 010: Dev 004, If 0, Class=Audio, Driver=snd-usb-audio, 480M
        ID 26ce:0a08  
    |__ Port 010: Dev 004, If 1, Class=Audio, Driver=snd-usb-audio, 480M
        ID 26ce:0a08  
    |__ Port 010: Dev 004, If 2, Class=Audio, Driver=snd-usb-audio, 480M
        ID 26ce:0a08  
    |__ Port 010: Dev 004, If 3, Class=Audio, Driver=snd-usb-audio, 480M
        ID 26ce:0a08  
    |__ Port 010: Dev 004, If 4, Class=Audio, Driver=snd-usb-audio, 480M
        ID 26ce:0a08  
    |__ Port 010: Dev 004, If 5, Class=Audio, Driver=snd-usb-audio, 480M
        ID 26ce:0a08  
    |__ Port 010: Dev 004, If 6, Class=Human Interface Device, Driver=usbhid, 480M
        ID 26ce:0a08  
    |__ Port 011: Dev 006, If 0, Class=Hub, Driver=hub/4p, 480M
        ID 05e3:0610 Genesys Logic, Inc. Hub
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/5p, 20000M/x2
    ID 1d6b:0003 Linux Foundation 3.0 root hub
    |__ Port 005: Dev 002, If 0, Class=Hub, Driver=hub/4p, 5000M
        ID 174c:3074 ASMedia Technology Inc. ASM1074 SuperSpeed hub
/:  Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
/:  Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 20000M/x2
    ID 1d6b:0003 Linux Foundation 3.0 root hub
/:  Bus 005.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
/:  Bus 006.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 10000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
/:  Bus 007.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 002: Dev 002, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        ID 046d:c08b Logitech, Inc. G502 SE HERO Gaming Mouse
    |__ Port 002: Dev 002, If 1, Class=Human Interface Device, Driver=usbhid, 12M
        ID 046d:c08b Logitech, Inc. G502 SE HERO Gaming Mouse
/:  Bus 008.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 10000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
/:  Bus 009.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 001: Dev 002, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        ID 26ce:01a2  
/:  Bus 010.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/0p, 5000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub

Less sure what we're looking for from lspci

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge GPP Bridge
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Internal GPP Bridge to Bus [C:A]
00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Internal GPP Bridge to Bus [C:A]
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge Data Fabric; Function 7
01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev 11)
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch (rev 11)
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 32 [Radeon RX 7700 XT / 7800 XT] (rev c8)
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 HDMI/DP Audio
04:00.0 Non-Volatile memory controller: Micron/Crucial Technology T705 NVMe PCIe SSD
05:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Upstream Port (rev 01)
06:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
06:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
06:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
06:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
06:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
06:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
06:0c.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
06:0d.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
08:00.0 SATA controller: ASMedia Technology Inc. ASM1061/ASM1062 Serial ATA Controller (rev 02)
09:00.0 SATA controller: ASMedia Technology Inc. ASM1061/ASM1062 Serial ATA Controller (rev 02)
0a:00.0 Network controller: MEDIATEK Corp. Device 0717
0b:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
0d:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 43fc (rev 01)
0e:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset SATA Controller (rev 01)
0f:00.0 PCI bridge: ASMedia Technology Inc. ASM4242 PCIe Switch Upstream Port (rev 01)
10:00.0 PCI bridge: ASMedia Technology Inc. ASM4242 PCIe Switch Downstream Port (rev 01)
10:01.0 PCI bridge: ASMedia Technology Inc. ASM4242 PCIe Switch Downstream Port (rev 01)
10:02.0 PCI bridge: ASMedia Technology Inc. ASM4242 PCIe Switch Downstream Port (rev 01)
10:03.0 PCI bridge: ASMedia Technology Inc. ASM4242 PCIe Switch Downstream Port (rev 01)
71:00.0 USB controller: ASMedia Technology Inc. ASM4242 USB 3.2 xHCI Controller (rev 01)
72:00.0 USB controller: ASMedia Technology Inc. ASM4242 USB 4 / Thunderbolt 3 Host Router (rev 01)
73:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Granite Ridge [Radeon Graphics] (rev c2)
73:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
73:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP
73:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 3.1 xHCI
73:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 3.1 xHCI
73:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h/1ah HD Audio Controller
74:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Raphael/Granite Ridge USB 2.0 xHCI

I'll try playing kernel surgeon in a moment and report back

EDIT:

Was able to downgrade to 6.13.5-arch1-1, however the error persists

Last edited by eizengan (2025-03-11 14:41:00)

Offline

#5 2025-03-11 14:47:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 74,664

Re: [SOLVED] USB-related failure causing boot time slowdown

The device cannot be enumerated, so it won't show up - the question is what else is on the bus.
If you move keyboard, usb key/drive(?) and sound device to another hub, does the error follow any of them?

Also try the LTS kernel behavior.

Offline

#6 2025-03-11 15:00:26

eizengan
Member
Registered: 2025-02-13
Posts: 11

Re: [SOLVED] USB-related failure causing boot time slowdown

Paydirt!

Today the Search Algorithms deigned to show me this blog post, which suggested that there was a transient power issue which would disappear if the system was fully power cycled. I shut down, flipped the switch on the power supply, waited 60s to ensure full discharge, flipped the switch back, and then booted without any issues. (Re-)upgrading my kernel now to see if there's a regression, but hopefully this is solved.

Wish I knew root cause, but c'est la vie

EDIT:

Still stable after updating to 6.13.6-arch1-1. Thanks for the help folks; sorry there wasn't a more entertaining show

Last edited by eizengan (2025-03-11 15:03:52)

Offline

#7 2025-03-11 15:07:38

eizengan
Member
Registered: 2025-02-13
Posts: 11

Re: [SOLVED] USB-related failure causing boot time slowdown

Looks like the misbehaving device was my wireless card, if I'm reading this correctly?

/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/12p, 480M
...
    |__ Port 012: Dev 007, If 0, Class=Wireless, Driver=btusb, 480M
    |__ Port 012: Dev 007, If 1, Class=Wireless, Driver=btusb, 480M
    |__ Port 012: Dev 007, If 2, Class=Wireless, Driver=[none], 480M

Last edited by eizengan (2025-03-11 15:10:54)

Offline

#8 2025-03-11 15:10:35

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 74,664

Re: [SOLVED] USB-related failure causing boot time slowdown

Is there a parallel windows installation?

Offline

#9 2025-03-11 15:11:19

eizengan
Member
Registered: 2025-02-13
Posts: 11

Re: [SOLVED] USB-related failure causing boot time slowdown

Is there a parallel windows installation?

No sir - just Arch

Offline

#10 Yesterday 10:49:31

wilmannator
Member
Registered: Yesterday
Posts: 1

Re: [SOLVED] USB-related failure causing boot time slowdown

I signed up to these forums just to say thank you @eizengan for coming back to post the solution you found! I was never going to visit Daniel Lange's blog to see it.

This helped me out a heap. I'd moved my computer from one room to another and all of a sudden it was taking forever to boot. I identified the issue using journalctl and couldn't figure out why a USB error had suddenly cropped up. Unplugged for 30 seconds, and back to booting up so quickly! Amazing. Thank you, thank you!

Offline

#11 Yesterday 11:37:52

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,115

Re: [SOLVED] USB-related failure causing boot time slowdown

Glad to hear, but please not our guidelines on bumping old posts https://wiki.archlinux.org/title/Genera … bumping%22 (though this issue and it's resolution is common enough that something to that effect will often turn up in one shape or another regardless)

Closing this old thread.

Online

Board footer

Powered by FluxBB