[R8126] Realtek 5gbit NIC card stop working after last update 6.11.11-2

mrm

New Member
Mar 27, 2025
3
0
1
Hello everyone,
for several months I used the card in question without any problems (kernel 6.11).
However, with the latest kernel update to Linux 6.11.11-2-pve the card no longer works correctly.
Although detected, it seems that the cable is not inserted. Do you have any suggestions on how to solve this?
Thanks!

------
dmesg | grep 8126
[ 1.482788] pci 0000:04:00.0: [10ec:8126] type 00 class 0x020000 PCIe Endpoint
[ 3.822655] r8169 0000:04:00.0 eth1: RTL8126A, xx:xx:xx:xx:xx:xx, XID 649, IRQ 140
------
lspci | grep 8126
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Device 8126 (rev 01)
------
lsmod | grep realtek
realtek 45056 1
------
 
Hello mrm! Some questions:
  1. What does lspci -nnk show?
  2. What is the output of dkms status?
I was just wondering whether you installed the dkms driver for the R8126 but are missing the correct kernel headers for your current kernel version. But the output of the commands above should give us a bit more information.
 
1) 04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. Device [10ec:8126] (rev 01)
Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:0123]
2) dkms status
realtek-r8126/10.013.00: added

If I remember correctly, also looking history on terminal, last time I had only installed kernel 6.11!
 
Could you please try the following, in the following order:
  1. apt install proxmox-headers-6.11
  2. dkms autoinstall, or dkms install -m realtek-r8126/10.013.00 -k $(uname -r)
  3. Check the output of dkms status it should now say "installed" rather than "added".
  4. Reboot, or alternatively modprobe the new kernel module.