View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001513 | channel: elrepo/el9 | kmod-r8125 | public | 2025-02-24 00:17 | 2025-02-28 10:54 |
Reporter | stilger67 | Assigned To | tqhoang | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x86_64 | OS | EL9 | OS Version | 9.5 |
Summary | 0001513: r8125 for EL9 x86_64 | ||||
Description | I'm hoping there maybe plans to build the Realtek RTL-8125 driver for RHEL EL9 and derivatives? Dmesg is reporting "r8169 xxxx:yy:zz.z: error -ENODEV: unknown chip XID 688, contact r8169 maintainers" when it attempts to using the built-in Realtek 8169 kernel drivers. The board is a Gigabyte B850M-DS3H with a Realtek RTL8125 2.5 Gb network chipset. I see that a "kmod-r8125" package has been compiled for EL8 [0],[1] using the Realtek sources [2]. I've tested this version successfully on a Rocky Linux 8.10 install, but I am looking to go with Rocky 9.x as it is newer and has a longer life, newer 5.14 Linux kernel, and I plan on running ZFS and prefer to use a newer release for EL9. I sent an email to the elrepo@lists.elrepo.org and Tuan Hoang replied asking me to open a ticket under your bug tracking system. So I am doing this here. If you need any other information from me, for other dmesg or lspci information, please let me know. But I'm fairly certain compiling the driver under EL9 should likely resolve my issue. Thanks! [0] https://elrepo.org/linux/elrepo/el8/x86_64/RPMS/ [1] https://elrepo.org/bugs/view.php?id=1158 [2] https://www.realtek.com/Download/List?cate_id=584 | ||||
Tags | No tags attached. | ||||
|
See also: https://elrepo.org/bugs/view.php?id=1512 |
|
@stilger67 We have the following packages syncing to our testing repo: kmod-r8125-9.015.00-1.el9_5.elrepo.x86_64.rpm kmod-r8126-10.015.00-1.el9_5.elrepo.x86_64.rpm To install: sudo dnf install --enablerepo elrepo-testing kmod-r8125 If by chance you also have any cards with the RTL8126 chip, could you please test the kmod-r8126 too? UPDATE: This is currently missing a blacklist config file to disable the in-kernel r8169 driver. Please let us know if it's working without it. |
|
Hello @tqhoang, I enabled elrepo-testing repository and was successful in installing and getting the "kmod-r8125" kernel module loaded I know have network working with the built-in NIC on this Gigabyte B850M-DS3H mainboard. Unfortunately I do not have a R8126 NIC or a board with this chip to test the kmod-r8126 driver. Hopefully the R8169 maintainers can get the drivers updated and EL9 will eventually backport them. But I was impatient and wasn't looking forward to waiting 6-12 (or more) months and hope it would eventually be supported. I also have not blacklisted the "r8169" kernel module, but I may look into doing that. But then, hopefully this NIC will eventually find itself supported on R8169 and maybe don't want to handicap this system when that eventually will happen. Hopefully with this successful test, this "kmod-r8125" kmod can find itself in the main elrepo channel for EL9. Thanks again! -- Greg ELRepo-bug-0001513-r8125-EL9_20250224.txt (3,358 bytes)
Diagnostic info: ================= # sudo lspci -knn | grep Eth -A3 07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 0c) Subsystem: Gigabyte Technology Co., Ltd Device [1458:e000] Kernel driver in use: r8125 Kernel modules: r8169, r8125 # sudo lshw -class network *-network description: Ethernet interface product: RTL8125 2.5GbE Controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:07:00.0 logical name: enp7s0 version: 0c serial: 10:ff:e0:xx:yy:75 size: 1000Mbit/s capacity: 2500Mbit/s width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd 2500bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8125 driverversion=9.015.00-NAPI-PTP-RSS duplex=full firmware=rtl8125d-1_0.0.7 10/15/24 ip=172.xx.yyy.191 latency=0 link=yes multicast=yes port=twisted pair speed=1000Mbit/s resources: irq:36 ioport:f000(size=256) memory:f6c00000-f6c0ffff memory:f6c10000-f6c13fff # sudo ethtool enp7s0 Settings for enp7s0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full 2500baseT/Full Supported pause frame use: Symmetric Receive-only Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full 2500baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Link partner advertised pause frame use: No Link partner advertised auto-negotiation: Yes Link partner advertised FEC modes: Not reported Speed: 1000Mb/s Duplex: Full Auto-negotiation: on Port: Twisted Pair PHYAD: 0 Transceiver: internal MDI-X: on Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000033 (51) drv probe ifdown ifup Link detected: yes # sudo dmesg | grep r8169 [ 4.224583] r8169 0000:07:00.0: error -ENODEV: unknown chip XID 688, contact r8169 maintainers (see MAINTAINERS file) # sudo dmesg | grep r8125 [ 6.341484] r8125 Ethernet controller driver 9.015.00-NAPI-PTP-RSS loaded [ 6.365415] r8125: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625. [ 6.366317] r8125 Copyright (C) 2024 Realtek NIC software team <nicfae@realtek.com> [ 6.391606] r8125 0000:07:00.0 enp7s0: renamed from eth0 [ ... ] [ 25.733702] r8125: enp7s0: link up |
|
Thanks for the positive feedback. We will likely move the driver to the main repo in due time but we need to decide if we should be blacklisting the r8169 automatically in the RPM. For now we’ll close this as resolved, but if we modify the RPM I’ll come back and update this ticket. |
|
FYI the r8125 and r8126 drivers have been moved to the main elrepo repository. |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-02-24 00:17 | stilger67 | New Issue | |
2025-02-24 00:17 | stilger67 | Status | new => assigned |
2025-02-24 00:17 | stilger67 | Assigned To | => pperry |
2025-02-24 03:42 | toracat | Assigned To | pperry => tqhoang |
2025-02-24 03:42 | toracat | Category | --elrepo--request-for-enhancement-- => kmod-r8125 |
2025-02-24 05:06 | pperry | Relationship added | related to 0001512 |
2025-02-24 05:06 | pperry | Note Added: 0010320 | |
2025-02-24 10:20 | tqhoang | Note Added: 0010325 | |
2025-02-24 10:20 | tqhoang | Status | assigned => feedback |
2025-02-24 11:58 | tqhoang | Note Edited: 0010325 | |
2025-02-24 20:05 | stilger67 | Note Added: 0010331 | |
2025-02-24 20:05 | stilger67 | File Added: ELRepo-bug-0001513-r8125-EL9_20250224.txt | |
2025-02-24 20:05 | stilger67 | Status | feedback => assigned |
2025-02-24 22:20 | tqhoang | Note Added: 0010333 | |
2025-02-24 22:20 | tqhoang | Status | assigned => closed |
2025-02-24 22:20 | tqhoang | Resolution | open => fixed |
2025-02-28 10:54 | tqhoang | Note Added: 0010340 |