You are not logged in.

#1 2020-07-04 12:45:15

Rumcajs
Member
Registered: 2009-09-25
Posts: 37

[Solved] No network with RTL8125 2.5GbE Controller

Informations

MB : Gigabyte B550 AORUS ELITE

lspic :

08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)

lshw -class network :

  *-network UNCLAIMED
       description: Ethernet controller
       product: RTL8125 2.5GbE Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:08:00.0
       version: 05
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd cap_list
       configuration: latency=0
       resources: ioport:f000(size=256) memory:fc500000-fc50ffff memory:fc510000-fc513fff

Someone a idea how to fix it ?

Last edited by Rumcajs (2020-07-05 07:55:54)

Offline

#2 2020-07-04 22:08:01

lv
Member
Registered: 2014-10-18
Posts: 5

Re: [Solved] No network with RTL8125 2.5GbE Controller

I just had the same problem on an ASUS TUF GAMING B550-PLUS with this chipset.

lspci -v

05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 04)
	Subsystem: ASUSTeK Computer Inc. RTL8125 2.5GbE Controller
	Flags: bus master, fast devsel, latency 0, IRQ 58
	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: <access denied>
	Kernel driver in use: r8125
	Kernel modules: r8169, r8125

I installed the r8125-dkms package and it worked fine.

Here is a (somewhat) related thread which suggests blacklisting the r8169 module if installing r8125 alone doesn't help.

EDIT:
I had to manually add the r8125 module to load automatically at boot, see here.

Last edited by lv (2020-07-04 22:29:10)

Offline

#3 2020-07-05 07:55:12

Rumcajs
Member
Registered: 2009-09-25
Posts: 37

Re: [Solved] No network with RTL8125 2.5GbE Controller

lv, thx for the info.

so here the steps to solve it.

in Terminal :

/> cd /tmp
/> git clone https://aur.archlinux.org/r8125.git
/> cd r8125
/> makepkg
/> ls
/> sudo pacman -U r8125-dkms-9.003.05-0-x86_64.pkg.tar.gz
(for the -U parameter use the r8125-dkms-X.XXX.XX-X-x86_64.pkg.tar.gz filename that the ls command has displayed, it can be different)

now blacklist the r8169 module (it wil not be loaded anymore)
/> sudo bash -c 'echo "blacklist r8169" > /etc/modprobe.d/r8169.conf'

reboot now, the module r8125 should be loaded automatically.
to check it :
/> lsmod | grep r8125
it should return something like : r8125                 176128  0

if the module was not loaded automatically, you can force it to be loaded on boot:
/> sudo bash -c 'echo "r8125" > /etc/modules-load.d/r8125.cfg'

now reboot and check if the module is loaded.

Last edited by Rumcajs (2020-07-05 08:15:17)

Offline

#4 2020-07-27 08:48:19

tobiazl
Member
Registered: 2020-07-18
Posts: 9

Re: [Solved] No network with RTL8125 2.5GbE Controller

Rumcajs wrote:

lv, thx for the info.

so here the steps to solve it.

in Terminal :

/> cd /tmp
/> git clone https://aur.archlinux.org/r8125.git
/> cd r8125
/> makepkg
/> ls
/> sudo pacman -U r8125-dkms-9.003.05-0-x86_64.pkg.tar.gz
(for the -U parameter use the r8125-dkms-X.XXX.XX-X-x86_64.pkg.tar.gz filename that the ls command has displayed, it can be different)

now blacklist the r8169 module (it wil not be loaded anymore)
/> sudo bash -c 'echo "blacklist r8169" > /etc/modprobe.d/r8169.conf'

reboot now, the module r8125 should be loaded automatically.
to check it :
/> lsmod | grep r8125
it should return something like : r8125                 176128  0

if the module was not loaded automatically, you can force it to be loaded on boot:
/> sudo bash -c 'echo "r8125" > /etc/modules-load.d/r8125.cfg'

now reboot and check if the module is loaded.

Thank you 1000 times for the solution. It worked finde. But now I have a problem after kernel update yesterday.
Pacman had issue with r8125 and builded no vmlinuz.img :-(
How is the workflow with the module when I have to update the kernel.

Offline

#5 2020-08-14 22:49:03

timothychare
Member
Registered: 2020-08-14
Posts: 2

Re: [Solved] No network with RTL8125 2.5GbE Controller

Motherboard: asRock B550 Steel legend

lspci
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. R                                                                                TL8125 2.5GbE Controller (rev 05)


lshw

*-network UNCLAIMED
       description: Ethernet controller
       product: RTL8125 2.5GbE Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:07:00.0
       version: 05
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd cap_list
       configuration: latency=0
       resources: ioport:f000(size=256) memory:fc500000-fc50ffff memory:fc510000-fc513fff


Hi friends! I just built a new PC and my onboard NIC isnt working. I tried following the above suggestions installing the r8125-dkms

I am getting an error and I dont know what to do with it. Please help!

~ >>> yay -S r8125-dkms
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  r8125-9.003.05-1 (r8125-dkms)

  1 r8125 (r8125-dkms)                       (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> a
:: Deleting (1/1): /home/ape/.cache/yay/r8125
:: Downloaded PKGBUILD (1/1): r8125 (r8125-dkms)
  1 r8125 (r8125-dkms)                       (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
:: (1/1) Parsing SRCINFO: r8125 (r8125-dkms)
==> Making package: r8125 9.003.05-1 (Fri 14 Aug 2020 12:27:29 PM CDT)
==> Retrieving sources...
  -> Downloading 9.003.05.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   125  100   125    0     0    108      0  0:00:01  0:00:01 --:--:--   108
100 88475    0 88475    0     0  47927      0 --:--:--  0:00:01 --:--:-- 47927
  -> Found dkms.conf
==> Validating source files with sha256sums...
    9.003.05.tar.gz ... Passed
    dkms.conf ... Passed
==> Making package: r8125 9.003.05-1 (Fri 14 Aug 2020 12:27:32 PM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found 9.003.05.tar.gz
  -> Found dkms.conf
==> Validating source files with sha256sums...
    9.003.05.tar.gz ... Passed
    dkms.conf ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting 9.003.05.tar.gz with bsdtar
==> Sources are ready.
==> Making package: r8125 9.003.05-1 (Fri 14 Aug 2020 12:27:35 PM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
/home/ape/.cache/yay/r8125/PKGBUILD: line 19: /usr/src/linux/version: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
error making: %!s(func() string=0x558dfe1a1a60)

Offline

#6 2020-08-14 22:58:32

loqs
Member
Registered: 2014-03-06
Posts: 12,091

Re: [Solved] No network with RTL8125 2.5GbE Controller

@timothychare please start a new thread for your issue.  If you believe this one is related you can link back to it.
In the new thread please include the output of

pacman -Qs linux

Offline

Board footer

Powered by FluxBB