netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Heiner Kallweit <hkallweit1@gmail.com>
To: Connor Abbott <cwabbott0@gmail.com>, netdev@vger.kernel.org
Cc: nic_swsd@realtek.com
Subject: Re: RTL8125D intermittent disconnects
Date: Sun, 24 Nov 2024 17:23:37 +0100	[thread overview]
Message-ID: <2e4cfd07-c8ee-470e-9a68-6a50dcd00e04@gmail.com> (raw)
In-Reply-To: <CACu1E7GJttr8EDjLxYMBkfkKSK2=ZS7hb4bsYAhqO00bt07QtQ@mail.gmail.com>

On 23.11.2024 23:35, Connor Abbott wrote:
> Hello,
> 
> I recently bought a motherboard with a builtin RTL8125D Ethernet chip
> (XID 688). I updated linux-firmware to get
> /lib/firmware/rtl_nic/rtl8125d-1.fw and tried out the patches enabling
> it, and while it mostly works the link intermittently disconnects and
> reconnects. It seems to be caused by high bandwidth, since doing a
> speed test in the browser seems to be a reliable trigger. There's
> nothing interesting in dmesg other than "r8169 0000:06:00.0 enp6s0:
> Link is Down":
> 
> [   36.133656] r8169 0000:06:00.0 enp6s0: Link is Up - 100Mbps/Full -
> flow control rx/tx
> [   36.476108] r8169 0000:06:00.0 enp6s0: Link is Down
> [   48.507244] r8169 0000:06:00.0 enp6s0: Link is Up - 100Mbps/Full -
> flow control rx/tx
> [   48.821220] r8169 0000:06:00.0 enp6s0: Link is Down
> [   60.947170] r8169 0000:06:00.0 enp6s0: Link is Up - 100Mbps/Full -
> flow control rx/tx
> ...
> 
> These are the messages at boot:
> 
> [    9.512877] r8169 0000:06:00.0 eth0: RTL8125D, cc:28:aa:a7:bd:85,
> XID 688, IRQ 100
> [    9.512880] r8169 0000:06:00.0 eth0: jumbo features [frames: 9194
> bytes, tx checksumming: ko]
> [    9.534565] r8169 0000:06:00.0 enp6s0: renamed from eth0
> [   10.716346] Realtek Internal NBASE-T PHY r8169-0-600:00: attached
> PHY driver (mii_bus:phy_addr=r8169-0-600:00, irq=MAC)
> 
> I tried this both on a branch based on 6.11 with enablement patches
> and some dependent patches backported, and on recent (today)
> netdev/main. This doesn't happen with a USB ethernet dongle I have
> laying around, so I don't think it's due to the network or something
> else in the stack. Is there anything I can do to help debug?
> 
Thanks for the report.
Does your LAN indeed support 100Mbps only? What looks somewhat suspicious
is that there's exactly 12s between link-down/-up in both cases.
May some network manager interfere here?

You could check whether behavior is the same with r8125 vendor driver.

> Best regards,
> 
> Connor Abbott


      reply	other threads:[~2024-11-24 16:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-23 22:35 RTL8125D intermittent disconnects Connor Abbott
2024-11-24 16:23 ` Heiner Kallweit [this message]

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=2e4cfd07-c8ee-470e-9a68-6a50dcd00e04@gmail.com \
    --to=hkallweit1@gmail.com \
    --cc=cwabbott0@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=nic_swsd@realtek.com \
    /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).