On 19.3.2023 2.37, Erhard Furtner wrote:
Greetings!
On my GIGABYTE GA-970-Gaming board (AM3+ board + AMD FX8370 CPU) I got this very annoying problem that onboard ethernet Atheros E2400 (alx) ceases to work when the USB 3.0 controller (VIA VL805/806 chipset) is enabled in BIOS.
# lspci 02:00.0 USB controller: ASMedia Technology Inc. ASM2142/ASM3142 USB 3.1 Host Controller 06:00.0 USB controller: VIA Technologies, Inc. VL805/806 xHCI USB 3.0 Controller (rev 01)
dmesg shows usb bus numbers are not ordered, xhci driver registers two usb buses per host.
xhci_hcd 0000:06:00.0: new USB bus registered, assigned bus number 1 xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 2 xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 3 xhci_hcd 0000:06:00.0: can't setup: -110
With the VIA VL805/806 USB-Controller disabled in BIOS I don't get this problem, everything works fine. But this way I loose front USB 3 ports... The other ASMedia USB 3.1 controller works fine without hampering the system.
Don't know whether this is a regression - the problem shows up on current kernel 6.2.x or 6.1.x TLS too. Kernel dmesg + .config attached.
Regards, Erhard
This could be related to another case with two xHC controllers, but different vendors. Bus numbers were interleaved there as well. Removing the asynch probe helped:
https://lore.kernel.org/linux-usb/d5ff9480-57bd-2c39-8b10-988ad0d14a7e@linux...
Does reverting: 4c2604a9a689 usb: xhci-pci: Set PROBE_PREFER_ASYNCHRONOUS help for you?
Thanks Mathias