Package Details: r8125-dkms 9.013.02-1

Git Clone URL: https://aur.archlinux.org/r8125-dkms.git (read-only, click to copy)
Package Base: r8125-dkms
Description: Kernel module for RTL8125
Upstream URL: https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software
Licenses: GPL2
Conflicts: r8125
Submitter: ptb
Maintainer: aravance
Last Packager: aravance
Votes: 15
Popularity: 0.013543
First Submitted: 2020-11-21 14:53 (UTC)
Last Updated: 2024-04-07 19:01 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

1 2 3 4 5 6 Next › Last »

Korialo commented on 2024-10-29 22:19 (UTC) (edited on 2024-10-29 22:25 (UTC) by Korialo)

@Melody666 Support for rtl8125 is already included in the r8169 driver, a simple modinfo into r8169 module will show the following:

❯ modinfo r8169
filename:       /lib/modules/6.11.5-arch1-1/kernel/drivers/net/ethernet/realtek/r8169.ko.zst
firmware:       rtl_nic/rtl8126a-2.fw
firmware:       rtl_nic/rtl8125b-2.fw <-- look here 
firmware:       rtl_nic/rtl8125a-3.fw <-- look also here
firmware:       rtl_nic/rtl8107e-2.fw 
firmware:       rtl_nic/rtl8168fp-3.fw
firmware:       rtl_nic/rtl8168h-2.fw
firmware:       rtl_nic/rtl8168g-3.fw
firmware:       rtl_nic/rtl8168g-2.fw
firmware:       rtl_nic/rtl8106e-2.fw
firmware:       rtl_nic/rtl8106e-1.fw
firmware:       rtl_nic/rtl8411-2.fw
firmware:       rtl_nic/rtl8411-1.fw
firmware:       rtl_nic/rtl8402-1.fw
firmware:       rtl_nic/rtl8168f-2.fw
firmware:       rtl_nic/rtl8168f-1.fw
firmware:       rtl_nic/rtl8105e-1.fw
firmware:       rtl_nic/rtl8168e-3.fw
firmware:       rtl_nic/rtl8168e-2.fw
firmware:       rtl_nic/rtl8168e-1.fw
firmware:       rtl_nic/rtl8168d-2.fw
firmware:       rtl_nic/rtl8168d-1.fw
license:        GPL
softdep:        pre: realtek
description:    RealTek RTL-8169 Gigabit Ethernet driver
author:         Realtek and the Linux r8169 crew <netdev@vger.kernel.org>
srcversion:     03BE299419F20E3AF93C3BF
alias:          pci:v000010ECd00003000sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008126sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008125sv*sd*bc*sc*i* <-- check lspci
alias:          pci:v00000001d00008168sv*sd00002410bc*sc*i*
alias:          pci:v00001737d00001032sv*sd00000024bc*sc*i*
alias:          pci:v000016ECd00000116sv*sd*bc*sc*i*
alias:          pci:v00001259d0000C107sv*sd*bc*sc*i*
alias:          pci:v00001186d00004302sv*sd*bc*sc*i*
alias:          pci:v00001186d00004300sv*sd*bc*sc*i*
alias:          pci:v00001186d00004300sv00001186sd00004B10bc*sc*i*
alias:          pci:v000010ECd00008169sv*sd*bc*sc*i*
alias:          pci:v000010FFd00008168sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008168sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008167sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008162sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008161sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008136sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008129sv*sd*bc*sc*i*
alias:          pci:v000010ECd00002600sv*sd*bc*sc*i*
alias:          pci:v000010ECd00002502sv*sd*bc*sc*i*
depends:        libphy,mdio_devres
retpoline:      Y
intree:         Y
name:           r8169
vermagic:       6.11.5-arch1-1 SMP preempt mod_unload 
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        26:5B:4C:74:B5:2A:1C:69:CD:81:4A:65:46:35:E3:E1:71:30:AF:ED
sig_hashalgo:   sha512
signature:      30:64:02:30:49:53:45:D9:62:BD:38:7A:F5:BD:75:D7:1C:38:47:B7:
        F9:FF:F9:84:B1:FC:0D:96:9F:95:57:56:E4:B0:DB:9A:75:82:5D:47:
        57:F1:DC:3E:74:00:02:61:89:08:41:73:02:30:5F:53:89:46:50:68:
        AB:40:1B:45:32:36:DD:F7:BA:31:9D:8B:C5:1B:FA:5A:19:02:9B:25:
        9F:07:2B:56:C0:39:16:49:19:A5:57:01:51:EE:0B:DE:3A:78:8B:B6:
        6B:5E

I generally use this driver for testing and to compare it to the builtin kernel module, I have no issues with the r8169 driver.

javum commented on 2024-10-29 01:33 (UTC)

@Melody666 You can use patch from devome https://aur.archlinux.org/packages/r8125-dkms#comment-977750 I can build successfully after applying it.

Melody666 commented on 2024-10-20 10:13 (UTC)

Just to save people time, this driver does not work out of the box with the latest kernel and does not install. This is probably meant for LTS kernels.

powerLien commented on 2024-08-14 05:44 (UTC) (edited on 2024-08-14 05:45 (UTC) by powerLien)

@barand3

Copy everything in the code block and save it as a text file with the extension .patch. Then run

patch /path/to/file/r8125_n.c yourfile.patch

where /path/to/file is most likely going to be /usr/src/r8125-<version>.

Then regenerate your kernel and you should be good to go.

barand3 commented on 2024-08-08 09:27 (UTC) (edited on 2024-08-08 09:32 (UTC) by barand3)

@devome, a stupid question, how do I apply this patch? he asks me for a file to patch

actionless commented on 2024-07-07 17:01 (UTC)

i forgot to mention the problem because of which i actually started looking into it :)

i have such systemd link config:

$ cat /etc/systemd/network/50-wired.link
[Match]
OriginalName=eno1

[Link]
NamePolicy=kernel database onboard slot path
AutoNegotiation=no
Duplex=full
BitsPerSecond=1G

and with both stock r8169 and this custom-built module i see this in boot logs:

(udev-worker)[434]: eno1: Could not disable auto negotiation, ignoring: Invalid argument
(udev-worker)[434]: eno1: Could not set speed to 1000Mbps, ignoring: Invalid argument
(udev-worker)[434]: eno1: Could not set duplex to full, ignoring: Invalid argument

actionless commented on 2024-07-07 16:49 (UTC) (edited on 2024-07-07 16:50 (UTC) by actionless)

also it seems that the readme is from extremely old version of the module (or even the module for another controller),

because documented kernel parameters are not recognized,

and advertise numbers not match between readme and actual code of the module

actionless commented on 2024-07-07 16:27 (UTC)

upstream url is dead, the new url should be:

https://www.realtek.com/Download/List?cate_id=584

or

https://www.realtek.com/Download/ToDownload?type=direct&downloadid=3763

Korialo commented on 2024-06-12 19:02 (UTC)

@devome Thanks for the patch.