laurie-reeves/realtek-r8125-dkms

( forked from tjuberg/realtek-r8125-dkms )

Project ID: 75189

Description

UPDATE 2023-11-14: ths dkms build is currently broken. DO NOT USE. I'm not sure if it's the latest Realtek driver that's broken or compatibility with the latest Fedora kernel. Either way, it's not working and I haven't had a chance to look at it yet. I did find that the standard kernel module now seems to support 2500MB/s so it may just make sense to use that going forward.

UPDATE: the upstream module broke with the update to kernel 6.1. I updated to latest upstream, but still got the same error. I created a patch based on someone with a similar error and it seems to be working. This means the new version will likely not work for previous fedora kernels. Feedback welcome.

A port of Realtek's out of tree driver for the R8125 2.5G Ethernet chip to use dkms and be packaged with rpm.

Downloaded from here: https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software

Seems like it's been expected that the Linux kernel should have included this since 5.9, but as of 6.0.10 the card only works up to gigabit with the r8169 driver.

Installation Instructions

Just install the rpm. DKMS should build it for your kernel(s).

dnf copr enable laurie-reeves/realtek-r8125-dkms

dnf install realtek-r8125-dkms

Verify installation with dkms status

Currently shows a warning installedDeprecated feature: REMAKE_INITRD.

Try sudo modprobe r8125 to load the driver, without needing to reboot, after it is first installed. It should load on boot automatically, as is normal for kernel modules for auto-detectable hardware like PCI-e devices.

Verify kernel driver in use: lspci -knn | grep -A 3 10ec:8125

If for whatever reason the r8169 still insists on being used, blacklist it like this and reboot:

echo -e "# To use r8125 driver explicitly\nblacklist r8169" | sudo tee /etc/modprobe.d/blacklist-r8169.conf

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
Fedora 39 x86_64 (54)* Fedora 39 (0 downloads)

* Total number of downloaded packages.