Sudden USB failure in NixOS

Hi,

After 2 weeks of not using it, I turned on my computer to suddenly see errors during boot about xHCI controller not working. I am unable to use my keyboard or mouse (both usb) and hence can’t do anything. These are the errors. Sorry about the photo since I couldn’t fetch dmesg logs.

USB devices work fine in the bios and I am also able to choose the NixOS revision, but after selecting them (I have so older ones with different kernels as well 6.12 and 6.14), all of them fail with this error. And while I get the login screen, I am unable to do anything with it. Can someone help me with this?

Edit: Even the NixOS live usb errors out on stage 1 on mounting the root fs and makes me unable to boot into live session.

Turns out, it was a hardware issue. I had to reset my bios and do a flashback with the latest firmware and it started working.

1 Like