The LAN connection is lost. Realtek RTL8125 2.5GbE driver is not loaded

The LAN connection does not start at all.

Operating System: openSUSE Tumbleweed 20230430 works correctly.

The latest versions of these are installed:
i+ | r8125-blacklist-r8169 | To favour r8125 blacklist the r8169 device driver | package
i+ | r8125-kmp-default | Linux device driver for Realtek Ethernet controllers | package
i+ | r8125-ueficert | UEFI Secure Boot Certificate For Package r8125-kmp | package

Operating System: openSUSE Tumbleweed 20230504
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.3.1-1-default (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 9 5900HX with Radeon Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: MINIPC PN52

kone1:~ # inxi -N


kone1:~ # zypper lr -d

| Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service

–±---------------------------------------±---------------------------------------±--------±----------±--------±---------±-------±------------------------------------------------------------------------------------------±-------
1 | Sauerland | Sauerland | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/repositories/home:/Sauerland:/hardware/openSUSE_Tumbleweed/ |
2 | download.opensuse.org-non-oss | Pääasennuslähde (NON-OSS) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/ |
3 | download.opensuse.org-oss | Pääasennuslähde (OSS) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/ |
4 | download.opensuse.org-tumbleweed | Perusasennuslähde päivityksille | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/tumbleweed/ |
5 | ftp.gwdg.de-Essentials | Packman Essentials Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/Essentials |
6 | ftp.gwdg.de-openSUSE_Tumbleweed_1 | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ |
7 | opensuse-guide.org-openSUSE_Tumbleweed | libdvdcss repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/ |
8 | repo-openh264 | Open H.264 Codec (openSUSE Tumbleweed) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed |
9 | teamviewer | TeamViewer - x86_64 | Yes | (r ) Yes | Yes

Half of the text did not make it to this site.

kone1:~ # inxi -N
Network:
Device-1: Realtek RTL8125 2.5GbE driver: N/A
Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
driver: mt7921e
kone1:~ #

kone1:~ # /sbin/lspci -nnk | grep -iA3 net
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
Subsystem: ASUSTeK Computer Inc. Device [1043:87d7]
Kernel modules: r8169, r8125
03:00.0 Network controller [0280]: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616]
Subsystem: Foxconn International, Inc. Device [105b:e0cd]
Kernel driver in use: mt7921e
Kernel modules: mt7921e, wl

This application performs as poorly as Windows. It takes time to figure out how to edit the text. Where are the instructions?!

Please use Code Tags for terminal output, its the small </> Button.

Post:
zypper se -si r8125 r8168

kone1:~ # zypper se -si r8125 r8168
Loading repository data...
Reading installed packages...

S  | Name                  | Type    | Version                          | Arch   | Repository
---+-----------------------+---------+----------------------------------+--------+------------------------------
i+ | r8125-blacklist-r8169 | package | 9.011.00-6.9                     | x86_64 | Sauerland
i+ | r8125-kmp-default     | package | 9.011.00_k6.2.12_1-6.7           | x86_64 | (System Packages)
i+ | r8125-kmp-default     | package | 9.011.00_k6.3.1_1-6.9            | x86_64 | Sauerland
i+ | r8125-ueficert        | package | 9.011.00-6.9                     | x86_64 | Sauerland
i+ | r8168-kmp-default     | package | 8.051.02_k6.2.12_1-1599.1.pm.102 | x86_64 | (System Packages)
i+ | r8168-kmp-default     | package | 8.051.02_k6.3.1_1-1699.1.pm.104  | x86_64 | Packman Essentials Repository
i+ | r8168-kmp-default     | package | 8.051.02_k6.3.1_1-1699.1.pm.104  | x86_64 | Packman Repository
kone1:~ #

Edit by Sauerland: add Code-Tags

i+ | r8168-kmp-default | package | 8.051.02_k6.2.12_1-1599.1.pm.102 | x86_64 | (System Packages)
i+ | r8168-kmp-default | package | 8.051.02_k6.3.1_1-1699.1.pm.104 | x86_64 | Packman Essentials Repository
i+ | r8168-kmp-default | package | 8.051.02_k6.3.1_1-1699.1.pm.104 | x86_64 | Packman Repository

Delete them and add a lock to them.

Also post:
zypper lr -d
I think, you have 2 Packman Repos enabled…

I don’t know how to set add lock…

kone1:~ # zypper lr -d

| Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service

–±---------------------------------------±---------------------------------------±--------±----------±--------±---------±-------±------------------------------------------------------------------------------------------±-------
1 | Sauerland | Sauerland | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/repositories/home:/Sauerland:/hardware/openSUSE_Tumbleweed/ |
2 | download.opensuse.org-non-oss | Pääasennuslähde (NON-OSS) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/ |
3 | download.opensuse.org-oss | Pääasennuslähde (OSS) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/ |
4 | download.opensuse.org-tumbleweed | Perusasennuslähde päivityksille | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/tumbleweed/ |
5 | ftp.gwdg.de-Essentials | Packman Essentials Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/Essentials |
6 | ftp.gwdg.de-openSUSE_Tumbleweed_1 | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ |
7 | opensuse-guide.org-openSUSE_Tumbleweed | libdvdcss repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/ |
8 | repo-openh264 | Open H.264 Codec (openSUSE Tumbleweed) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed |
9 | teamviewer | TeamViewer - x86_64 | Yes | (r ) Yes | Yes | 99 | rpm-md | https://linux.teamviewer.com/yum/stable/main/binary-x86_64/ |
kone1:~ #

I think I did the locking?

kone1:~ # zypper se r8168-kmp-default
Loading repository data…
Reading installed packages…

S | Name | Summary | Type
—±----------------------------±-------------------------------------------------------±-------
l | r8168-kmp-default | Device driver for RealTek Gigabit Ethernet controllers | package
| r8168-kmp-default-debuginfo | Debug information for package r8168-kmp-default | package

Now the LAN connection works, but I don’t know if this went exactly right.
It looks like the driver is r8169…?

kone1:~ # inxi -N
Network:
Device-1: Realtek RTL8125 2.5GbE driver: r8169
Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
driver: mt7921e
kone1:~ # zypper se r8125
Loading repository data…
Reading installed packages…

S | Name | Summary | Type
—±----------------------±-----------------------------------------------------±----------
| r8125 | Linux device driver for Realtek Ethernet controllers | srcpackage
| r8125-blacklist-r8169 | To favour r8125 blacklist the r8169 device driver | package
i+ | r8125-kmp-default | Linux device driver for Realtek Ethernet controllers | package
| r8125-kmp-pae | Linux device driver for Realtek Ethernet controllers | package
i+ | r8125-ueficert | UEFI Secure Boot Certificate For Package r8125-kmp | package
kone1:~ # zypper se r8169
Loading repository data…

Reading installed packages…

S | Name | Summary | Type
–±----------------------±--------------------------------------------------±-------
| r8101-blacklist-r8169 | To favour r8101 blacklist the r8169 device driver | package
| r8125-blacklist-r8169 | To favour r8125 blacklist the r8169 device driver | package
| r8168-blacklist-r8169 | To favour r8168 blacklist the r8169 device driver | package
kone1:~ #
kone1:~ #

Delete Repo 5, Repo 6 offers more packages than Repo 5.
zypper rr http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/Essentials

Show
zypper se -s r8168

Please use Code-Tags, click on the </> Button and paste the copied text from Terminal
between the both quotation marks.

kone1:~ # zypper rr http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/Essentials
Removing repository 'Packman Essentials Repository' ...................................................................................................[done]
Repository 'Packman Essentials Repository' has been removed.
kone1:~ # zypper se -s r8168
Loading repository data...
Reading installed packages...

S  | Name                        | Type       | Version                         | Arch   | Repository
---+-----------------------------+------------+---------------------------------+--------+-------------------
   | r8168                       | srcpackage | 8.051.02-1699.1.pm.104          | noarch | Packman Repository
   | r8168                       | srcpackage | 8.051.02-69.106                 | noarch | Sauerland
   | r8168-blacklist-r8169       | package    | 8.051.02-1699.1.pm.104          | x86_64 | Packman Repository
   | r8168-blacklist-r8169       | package    | 8.051.02-69.106                 | x86_64 | Sauerland
   | r8168-blacklist-r8169       | package    | 8.051.02-1699.1.pm.104          | i586   | Packman Repository
   | r8168-blacklist-r8169       | package    | 8.051.02-69.106                 | i586   | Sauerland
   | r8168-debugsource           | package    | 8.051.02-1699.1.pm.104          | x86_64 | Packman Repository
   | r8168-debugsource           | package    | 8.051.02-1699.1.pm.104          | i586   | Packman Repository
 l | r8168-kmp-default           | package    | 8.051.02_k6.3.1_1-1699.1.pm.104 | x86_64 | Packman Repository
 l | r8168-kmp-default           | package    | 8.051.02_k6.3.1_1-69.106        | x86_64 | Sauerland
 l | r8168-kmp-default           | package    | 8.051.02_k6.2.9_1-1699.1.pm.104 | i586   | Packman Repository
 l | r8168-kmp-default           | package    | 8.051.02_k6.2.9_1-69.106        | i586   | Sauerland
   | r8168-kmp-default-debuginfo | package    | 8.051.02_k6.3.1_1-1699.1.pm.104 | x86_64 | Packman Repository
   | r8168-kmp-default-debuginfo | package    | 8.051.02_k6.2.9_1-1699.1.pm.104 | i586   | Packman Repository
   | r8168-kmp-pae               | package    | 8.051.02_k6.2.9_1-1699.1.pm.104 | i586   | Packman Repository
   | r8168-kmp-pae               | package    | 8.051.02_k6.2.9_1-69.106        | i586   | Sauerland
   | r8168-kmp-pae-debuginfo     | package    | 8.051.02_k6.2.9_1-1699.1.pm.104 | i586   | Packman Repository
   | r8168-ueficert              | package    | 8.051.02-69.106                 | x86_64 | Sauerland
   | r8168-ueficert              | package    | 8.051.02-69.106                 | i586   | Sauerland
kone1:~ # 

r8169 from kernel has support for some Realtek Chips like r8168 or r8101 or r8125.

Realtek offers for any chip a separate driver.
And if r8168 is installed, this will disagree with the r8125 driver.

Sorry, but now I’m completely confused with the Realtek RTL8125 2.5GbE drivers.
If I manage to download the r169 driver, then it works the same as in the post The LAN connection is interrupted approximately once a day
But I can’t get the r6125 driver loaded on the Realtek RTL8125 card. So I mean I’m not sure if I’m doing it right but the result is the same as at the beginning of this post. This problem appeared when the kernel version changed from 6.2.12-1 to 6.3.1-1.
Now the situation is this and the LAN connection works, but tomorrow it will probably break again.

kone1:~ # inxi -N
Network:
  Device-1: Realtek RTL8125 2.5GbE driver: r8169
  Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    driver: mt7921e
kone1:~ # /sbin/lspci -nnk | grep -iA3 net
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
        Subsystem: ASUSTeK Computer Inc. Device [1043:87d7]
        Kernel driver in use: r8169
        Kernel modules: r8169, r8125
03:00.0 Network controller [0280]: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616]
        Subsystem: Foxconn International, Inc. Device [105b:e0cd]
        Kernel driver in use: mt7921e
        Kernel modules: mt7921e, wl
kone1:~ # 
type or paste code here

I have been researching this problem for many hours but I can’t get it resolved. It seems to me that the r8125-kmp-default package is somehow broken or otherwise not accepted.

1. r8125-blacklist-r8169 is installed and LAN connection on missing

kone1:~ # zypper se 125
Loading repository data...
Reading installed packages...

S  | Name                  | Summary                                              | Type
---+-----------------------+------------------------------------------------------+-----------
   | libm4ri-0_0_20200125  | Library for linear arithmetic over GF(2)             | package
   | libm4rie-0_0_20200125 | Library for linear arithmetic over GF(2^e)           | package
   | r8125                 | Linux device driver for Realtek Ethernet controllers | srcpackage
i+ | r8125-blacklist-r8169 | To favour r8125 blacklist the r8169 device driver    | package
i+ | r8125-kmp-default     | Linux device driver for Realtek Ethernet controllers | package
   | r8125-kmp-pae         | Linux device driver for Realtek Ethernet controllers | package
i+ | r8125-ueficert        | UEFI Secure Boot Certificate For Package r8125-kmp   | package
kone1:~ # 
kone1:~ # /sbin/lspci -nnk | grep -iA3 net
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
        Subsystem: ASUSTeK Computer Inc. Device [1043:87d7]
        Kernel modules: r8169, r8125
03:00.0 Network controller [0280]: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616]
        Subsystem: Foxconn International, Inc. Device [105b:e0cd]
        Kernel driver in use: mt7921e
        Kernel modules: mt7921e, wl
kone1:~ # 
kone1:~ # journalctl -k | grep -Ei 'r8125|r816|firmware|eth0|wlan1'
May 08 22:56:00 kone1 kernel: Spectre V2 : Enabling Restricted Speculation for firmware calls
May 08 22:56:00 kone1 kernel: ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
May 08 22:56:00 kone1 kernel: acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-7f] only partially covers this bridge
May 08 22:56:02 kone1 kernel: [drm] Loading DMUB firmware via PSP: version=0x01010024
May 08 22:56:02 kone1 kernel: [drm] Found VCN firmware Version ENC: 1.19 DEC: 5 VEP: 0 Revision: 0
May 08 22:56:02 kone1 kernel: amdgpu 0000:05:00.0: amdgpu: Will use PSP to load VCN firmware
May 08 22:56:06 kone1 kernel: mt7921e 0000:03:00.0: WM Firmware Version: ____000000, Build Time: 20230328143313
kone1:~ # 
-------------------------------------------------
2. r8125-blacklist-r8169 is removed and LAN connection is established but it breaks down in few hours.

kone1:~ # zypper rm r8125-blacklist-r8169
Reading installed packages...
Resolving package dependencies...

The following package is going to be REMOVED:
  r8125-blacklist-r8169

1 package to remove.
After the operation, 231.0 B will be freed.
Continue? [y/n/v/...? shows all options] (y): y
(1/1) Removing r8125-blacklist-r8169-9.011.00-12.3.x86_64 .............................................................................................[done]
 
kone1:~ # reboot ....

kone1:~ # /sbin/lspci -nnk | grep -iA3 net
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
        Subsystem: ASUSTeK Computer Inc. Device [1043:87d7]
        Kernel driver in use: r8169
        Kernel modules: r8169, r8125
03:00.0 Network controller [0280]: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616]
        Subsystem: Foxconn International, Inc. Device [105b:e0cd]
        Kernel driver in use: mt7921e
        Kernel modules: mt7921e, wl
kone1:~ # 
kone1:~ # journalctl -k | grep -Ei 'r8125|r816|firmware|eth0|wlan1'
May 08 23:01:23 kone1 kernel: Spectre V2 : Enabling Restricted Speculation for firmware calls
May 08 23:01:23 kone1 kernel: ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
May 08 23:01:23 kone1 kernel: acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-7f] only partially covers this bridge
May 08 23:01:25 kone1 kernel: [drm] Loading DMUB firmware via PSP: version=0x01010024
May 08 23:01:25 kone1 kernel: [drm] Found VCN firmware Version ENC: 1.19 DEC: 5 VEP: 0 Revision: 0
May 08 23:01:25 kone1 kernel: amdgpu 0000:05:00.0: amdgpu: Will use PSP to load VCN firmware
May 08 23:01:29 kone1 kernel: r8169 0000:02:00.0 eth0: RTL8125B, 50:eb:f6:ef:ec:13, XID 641, IRQ 81
May 08 23:01:29 kone1 kernel: r8169 0000:02:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
May 08 23:01:29 kone1 kernel: r8169 0000:02:00.0 enp2s0: renamed from eth0
May 08 23:01:29 kone1 kernel: mt7921e 0000:03:00.0: WM Firmware Version: ____000000, Build Time: 20230328143313
May 08 23:01:29 kone1 kernel: RTL8226B_RTL8221B 2.5Gbps PHY r8169-0-200:00: attached PHY driver (mii_bus:phy_addr=r8169-0-200:00, irq=MAC)
May 08 23:01:30 kone1 kernel: r8169 0000:02:00.0 enp2s0: Link is Down
May 08 23:01:32 kone1 kernel: r8169 0000:02:00.0 enp2s0: Link is Up - 1Gbps/Full - flow control rx/tx
May 08 23:01:32 kone1 kernel: r8169 0000:02:00.0 enp2s0: Link is Up - 1Gbps/Full - flow control rx/tx
May 08 23:01:38 kone1 kernel: r8169 0000:02:00.0: invalid VPD tag 0x00 (size 0) at offset 0; assume missing optional EEPROM
kone1:~ # 


Post:
zypper se -si kernel-default r8125 r8168

r8168-kmp-default is locked.

kone1:~ # zypper se -si kernel-default r8125 r8168
Loading repository data...
Reading installed packages...

S  | Name              | Type    | Version                | Arch   | Repository
---+-------------------+---------+------------------------+--------+----------------------
i+ | kernel-default    | package | 6.2.12-1.1             | x86_64 | (System Packages)
i+ | kernel-default    | package | 6.3.1-1.1              | x86_64 | Pääasennuslähde (OSS)
i+ | r8125-kmp-default | package | 9.011.00_k6.3.1_1-12.3 | x86_64 | Sauerland
i+ | r8125-ueficert    | package | 9.011.00-12.3          | x86_64 | Sauerland
kone1:~ # 

This is not installed:

r8125-blacklist-r8169

you have 2 choices:

  1. delete all r8125 packages and use the r8169 from kernel
  2. Install all 3 r8125 packages and use this one.

But you are not alone with this card not working on Kernel 6.3.

The problem here is that if I install r8125-blacklist-r8169, no driver is loaded and the connection is lost. Installation r8125-blacklist-r8169 package causes the r8125 driver not to load.

kone1:~ # zypper se -si kernel-default r8125 r8168
Loading repository data...
Reading installed packages...

S  | Name                  | Type    | Version                | Arch   | Repository
---+-----------------------+---------+------------------------+--------+----------------------
i+ | kernel-default        | package | 6.2.12-1.1             | x86_64 | (System Packages)
i+ | kernel-default        | package | 6.3.1-1.1              | x86_64 | Pääasennuslähde (OSS)
i+ | r8125-blacklist-r8169 | package | 9.011.00-12.3          | x86_64 | Sauerland
i+ | r8125-kmp-default     | package | 9.011.00_k6.3.1_1-12.3 | x86_64 | Sauerland
i+ | r8125-ueficert        | package | 9.011.00-12.3          | x86_64 | Sauerland
kone1:~ # 
kone1:~ # /sbin/lspci -nnk | grep -iA3 net
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
        Subsystem: ASUSTeK Computer Inc. Device [1043:87d7]
        Kernel modules: r8169, r8125
03:00.0 Network controller [0280]: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616]
        Subsystem: Foxconn International, Inc. Device [105b:e0cd]
        Kernel driver in use: mt7921e
        Kernel modules: mt7921e, wl
kone1:~ # 
kone1:~ # inxi -N
Network:
  Device-1: Realtek RTL8125 2.5GbE driver: N/A
  Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    driver: mt7921e
kone1:~ # 

Delete the r8125 packages and open an bugreport.

The r8125 packages are build without any warning and errors in the OBS, so I can not help anymore.

Thank you!
I will file a bug report.