netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RTL8125D intermittent disconnects
@ 2024-11-23 22:35 Connor Abbott
  2024-11-24 16:23 ` Heiner Kallweit
  0 siblings, 1 reply; 2+ messages in thread
From: Connor Abbott @ 2024-11-23 22:35 UTC (permalink / raw)
  To: netdev; +Cc: Heiner Kallweit, nic_swsd

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?

Best regards,

Connor Abbott

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: RTL8125D intermittent disconnects
  2024-11-23 22:35 RTL8125D intermittent disconnects Connor Abbott
@ 2024-11-24 16:23 ` Heiner Kallweit
  0 siblings, 0 replies; 2+ messages in thread
From: Heiner Kallweit @ 2024-11-24 16:23 UTC (permalink / raw)
  To: Connor Abbott, netdev; +Cc: nic_swsd

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-24 16:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-23 22:35 RTL8125D intermittent disconnects Connor Abbott
2024-11-24 16:23 ` Heiner Kallweit

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).