ASUS TUF Gaming B550-PLUS with RTL8125

ASUS TUF Gaming B550-PLUS. --> RTL8125 Chip.
Internet not working. Used an "USB to LAN converter".
Extra-Modules R8169 did not work. Definitly.
So: visited Realtek, got the Linux-Driver (r8125-9.003.05.tar.bz2)
installed for each Kernel; that worked.
But I think, every kernel-update will call me "Sysiphos".
...
WHO IS EXPERT?!

Hi!
You can try with r8125-dkms from aur repo, it would work with next kernel

Hi!
I tried this on current kernels (5.8rc5 / 5.7.8 /5.4.51)
but I get an error while compiling...)

Zusammenfassung

Vorbereitung...
Klone r8125 Build-Dateien...
Überprüfe r8125-dkms Abhängigkeiten...
Abhängigkeiten werden aufgelöst...
Interne Konflikte werden überprüft...

Erstelle r8125...
==> Erstelle Paket: r8125 9.003.05-0 (Do 16 Jul 2020 09:25:25 CEST)
==> Prüfe Laufzeit-Abhängigkeiten...
==> Prüfe Buildtime-Abhängigkeiten...
==> Empfange Quellen...
-> Lade 9.003.05.tar.gz herunter...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 125 100 125 0 0 206 0 --:--:-- --:--:-- --:--:-- 206

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 88475 0 88475 0 0 74099 0 --:--:-- 0:00:01 --:--:-- 305k
-> dkms.conf gefunden
==> Überprüfe source Dateien mit sha256sums...
9.003.05.tar.gz ... Durchgelaufen
dkms.conf ... Durchgelaufen
==> Entferne existierendes $srcdir/ Verzeichnis...
==> Entpacke Quellen...
-> Entpacke 9.003.05.tar.gz mit bsdtar
==> Beginne build()...
/var/tmp/pamac-build-hartmut/r8125/PKGBUILD: Zeile 21: /usr/src/linux/version: Datei oder Verzeichnis nicht gefunden
make: *** /lib/modules//build: Datei oder Verzeichnis nicht gefunden. Schluss.
==> FEHLER: Ein Fehler geschah in build().
Breche ab...

The -dkms Version makes sense anyway, as a new kernel is supported automatic, i understand?

Hi!
That's right, if you use dkms version the new kernel should config and load their module automaticly

1 Like

It works - but with this: with this PKGBUILD:

1 Like

Hi!
Glad It work, anyway!!!

2 Likes

Good, glad it worked. As I do not have this card, could you do a quick and dirty write-up here?

Good, glad it worked. As I do not have this card, could you do a quick and dirty write-up here?

Pleas tell me: what do you mean with " do a quick and dirty write-up".
I think I am too old (69) to get the point.
Otherwise I will do "it", no question , give me some points (Lastenheft).
.........................
Off Topic: in latest testing kernel 5.7 the driver did not install.
At time I am installing Manjaro testing new, as I got crashes with the Installation
from the old motherboard. Live stick worked for hours, old system crashed
when ever it wanted so (accidentally :upside_down_face:)

I am no spring chicken :smiley:

Just which kernel and anything you did to make it work.

I am no spring chicken :smiley:
Just which kernel and anything you did to make it work.

I try my very best.
EDIT:
zunächst in Deutsch:
Den Treiber für den LAN-Chip RTL8125 erzeugen.

Es gibt im AUR "r8125-dkms" mit version z.Z. 9.003.05-0
Hat den Nachteil, das das PKGBUILD zur Zeit einen Fehler hat:
Statt:
make -C "/lib/modules/$(</usr/src/linux/version)/build" M="$(pwd)" modules
muss es heißen (Manjaro):
make -C "/lib/modules/$(uname -r)/build" M="$(pwd)" modules

Zu ändern ist das nach dem ersten Fehlstart in:
/var/tmp/pamac-build-(user)/PKGBUILD
Dann nochmal "build" drücken, und es läuft durch.
Es bietet an, für welche (!) Kernel.

Da liegt ein Nachteil:
fügt man nachträglich einen anderen Kernel zu,
meldet der Installer einen Fehler und tut nichts.
Hinterher wird das System sehr unstabil (Warnung!).
Man muss also beim ersten Start alle Kernel auswählen, die man hat.
Noch einmal "build" aufrufen bring nichts, weil keine Auswahl der/des Kernel erscheint!


Einfacher ist es für mich,
den Treiber von Realtek zu laden:

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

Entpacken und README lesen!
Kurz: gehe ins Verzeichnis: cd r8125-8.aaa.bb
sudo ./autorun.sh
installiert den Treiber für den laufenden Kernel.
Das muss man für jeden installierten Kernel wiederholen,
indem man neu startet und in den betreffenden Kernel wechselt!
Das System bleibt stabil.
Man sollte NICHT versuchen, danach "r8125-dkms" (AUR) zu installieren.
Das bringt Unglück...
Einziger Nachteil: der Treiber erscheint nicht in der Liste der installierten Programme!


Für Ubuntu gibt es die Anleitung:
https://forum.ubuntuusers.de/topic/installationsanleitung-realtek-lan-treiber-r81/

Hi there I'm having the same problem but running sudo ./autorun returns:

Check old driver and unload it
Build the module and install 
make[2]: *** No rule to make target `clean'.  Stop.
make[1]: Makefile: 98 clean] Error 2
make**: Makefile: 47 clean] Error 2 

Any ideas?

Leftovers of previous installations in /usr/lib/modules;
clean AUR Build files

It was a clean install (new PC)

I had the same problem some times before...
Same errors...
Finally i noticed, that the kernel and the kernel header version did not match.
Or a combination of certain versions of kernel and header casted this error.
--> after an update, i tried again, an the error-messages had gone. Brave install.
BUT: the version of "realtek-r8125-dkms" is broken, because it does not survive
a kernel update!
Alternatively I looked for: "realtek-r8125-dkms_9.003.05-1_amd64.deb" from


convert it with "debtap" to manjaro-packet.
Install (ignore the warnings, they regard to ubuntu "things").
This version survives kernel-updates, the AUR version has broken DKMS.
I told this to Developres/maintainers.

uname -r
5.7.9-1-MANJARO
sudo lspci -v 
28:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7c35
        Flags: bus master, fast devsel, latency 0, IRQ 39, IOMMU group 29
        I/O ports at c000 [size=256]
        Memory at fbc70000 (64-bit, non-prefetchable) [size=64K]
        Memory at fbc9c000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
        Capabilities: [70] Express Endpoint, MSI 01
        Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
        Capabilities: [d0] Vital Product Data
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [148] Virtual Channel
        Capabilities: [168] Device Serial Number 
        Capabilities: [178] Alternative Routing-ID Interpretation (ARI)
        Capabilities: [188] Single Root I/O Virtualization (SR-IOV)
        Capabilities: [1c8] Transaction Processing Hints
        Capabilities: [254] Latency Tolerance Reporting
        Capabilities: [25c] L1 PM Substates
        Capabilities: [26c] Vendor Specific Information: ID=0002 Rev=4 Len=100 <?>
        Kernel driver in use: r8169
        Kernel modules: r8169

I've been using rtl8125 for a while, and I haven't had any big problems.
It just seems that WOL is not available.
Maybe it's because I'm using rtl8125a, and you're using rtl8125b. Isn't the latter driver yet?

rtl8125A - is supported by the kernels (>= 5.4) with driver: r8169.
rtl8125B - no kernel support, maybe in kernel 5.9.

lspci -v

05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 04)
Subsystem: ASUSTeK Computer Inc. Device 87d7
Flags: bus master, fast devsel, latency 0, IRQ 94, IOMMU group 15
I/O ports at f000 [size=256]
Memory at fcd00000 (64-bit, non-prefetchable) [size=64K]
Memory at fcd10000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable+ 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Count=32 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Virtual Channel
Capabilities: [168] Device Serial Number 01-00-00-00-68-4c-e0-00
Capabilities: [178] Transaction Processing Hints
Capabilities: [204] Latency Tolerance Reporting
Capabilities: [20c] L1 PM Substates
Capabilities: [21c] Vendor Specific Information: ID=0002 Rev=4 Len=100 <?>
Kernel driver in use: r8125
Kernel modules: r8169, r8125

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by