Recently, my NixOS system has started taking around 2 minutes to boot. The delay happens when stopping system-udevd and multiple USB errors are thrown during it. I’ve tried booting with zero usb devices connected, but the issue still occurs. I have also tried updating my mobo, disabling XHCI handoff, legacy USB support, and the builtin wireless chipset. I haven’t even been able to identify what USB port could be causing the issue. Motherboard is an MSI X670E TOMAHAWK WIFI.

Hastebin dump with the journalctl, lsusb -t, lsusb, lspci, and usb-devices output

Full dmesg dump

I would really appreciate any help, I’ve been losing my mind trying to fix this.

Edit: I looked at some dumps on linux-hardware.org, it seems likely that its the bluetooth chipset causing the issue. I’d already disabled this in the motherboard settings, but that apparently isn’t enough.

If anybody knows how to make systemd-udevd ignore this device, I would really appreciate it.

Edit 2: Stumbled onto this post from someone with a Gigabyte X670 which seems to use the same BT chipset, which led to this post which recommend unplugging the computer for a bit.

I left it unplugged overnight and lo and behold the next morning the issue is gone. What a bizarre problem.