stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mathias Nyman <mathias.nyman@linux.intel.com>
To: Erhard Furtner <erhard_f@mailbox.org>, linux-usb@vger.kernel.org
Cc: Mathias Nyman <mathias.nyman@intel.com>,
	Chris Snook <chris.snook@gmail.com>,
	stable@vger.kernel.org
Subject: Re: When VIA VL805/806 xHCI USB 3.0 Controller is present Atheros E2400 (alx) ethernet does not work: NETDEV WATCHDOG: enp5s0 (alx): transmit queue 2 timed out
Date: Mon, 20 Mar 2023 11:26:39 +0200	[thread overview]
Message-ID: <d14a6e71-d7da-db8d-f901-52d6cdf1fa1d@linux.intel.com> (raw)
In-Reply-To: <20230319013706.016d96b2@yea>

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.intel.com/

Does reverting:
4c2604a9a689 usb: xhci-pci: Set PROBE_PREFER_ASYNCHRONOUS
help for you?

Thanks
Mathias

  reply	other threads:[~2023-03-20  9:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-19  0:37 When VIA VL805/806 xHCI USB 3.0 Controller is present Atheros E2400 (alx) ethernet does not work: NETDEV WATCHDOG: enp5s0 (alx): transmit queue 2 timed out Erhard Furtner
2023-03-20  9:26 ` Mathias Nyman [this message]
2023-03-21 19:50   ` Erhard Furtner
2023-03-26 15:58   ` Erhard Furtner
2023-03-29  9:51     ` Mathias Nyman
2023-04-01 12:21       ` Erhard F.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d14a6e71-d7da-db8d-f901-52d6cdf1fa1d@linux.intel.com \
    --to=mathias.nyman@linux.intel.com \
    --cc=chris.snook@gmail.com \
    --cc=erhard_f@mailbox.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mathias.nyman@intel.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).