You are not logged in.

#1 2022-02-28 17:02:12

Blaiz0r
Member
Registered: 2022-02-02
Posts: 5

[SOLVED] No LAN available (Cable Unplugged) with Realtek RTL8125

I'm running Linux-zen 5.16.11-zen1-1-zen and recently (Just today) I found that my LAN network no longer is available. I can use Wireless.

Motherboard: MAG B550M MORTAR WIFI (MS-7C94)

lspci:

2a:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 04)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7c94
	Flags: bus master, fast devsel, latency 0, IRQ 36, IOMMU group 15
	I/O ports at f000 [size=256]
	Memory at fcb00000 (64-bit, non-prefetchable) [size=64K]
	Memory at fcb10000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: r8125
	Kernel modules: r8169, r8125

I have experimented with r8168-dkms from the AUR but this was never used as a driver for my NIC, and r8125-dkms does load as you can see in the above output, but I still have no network response.

r8196 is successfully blacklisted, and isn't listed in lsmod, but r8125 which is listed shows 0 in the Used by column.

journalctl -b:

Feb 28 16:24:48 arch-desk kernel: r8125: loading out-of-tree module taints kernel.
Feb 28 16:24:48 arch-desk kernel: r8125: module verification failed: signature and/or required key missing - tainting kernel
Feb 28 16:24:48 arch-desk kernel: r8125 2.5Gigabit Ethernet driver 9.007.01-NAPI loaded
Feb 28 16:24:48 arch-desk kernel: r8125 0000:2a:00.0: enabling device (0000 -> 0003)
Feb 28 16:24:48 arch-desk kernel: piix4_smbus 0000:00:14.0: SMBus Host Controller at 0xb00, revision 0
Feb 28 16:24:48 arch-desk kernel: piix4_smbus 0000:00:14.0: Using register 0x02 for SMBus port selection
Feb 28 16:24:48 arch-desk kernel: piix4_smbus 0000:00:14.0: Auxiliary SMBus Host Controller at 0xb20
Feb 28 16:24:48 arch-desk kernel: ccp 0000:2f:00.1: enabling device (0000 -> 0002)
Feb 28 16:24:48 arch-desk kernel: ccp 0000:2f:00.1: ccp: unable to access the device: you might be running a broken BIOS.
Feb 28 16:24:48 arch-desk kernel: RAPL PMU: API unit is 2^-32 Joules, 1 fixed counters, 163840 ms ovfl timer
Feb 28 16:24:48 arch-desk kernel: RAPL PMU: hw unit of domain package 2^-16 Joules
Feb 28 16:24:48 arch-desk kernel: input: PC Speaker as /devices/platform/pcspkr/input/input2
Feb 28 16:24:48 arch-desk kernel: cryptd: max_cpu_qlen set to 1000
Feb 28 16:24:48 arch-desk kernel: usb 3-1: New USB device found, idVendor=0424, idProduct=2734, bcdDevice= 1.30
Feb 28 16:24:48 arch-desk kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 28 16:24:48 arch-desk kernel: usb 3-1: Product: USB2734
Feb 28 16:24:48 arch-desk kernel: usb 3-1: Manufacturer: Microchip Tech
Feb 28 16:24:48 arch-desk kernel: r8125: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
Feb 28 16:24:48 arch-desk kernel: r8125  Copyright (C) 2021  Realtek NIC software team <nicfae@realtek.com> 
                                   This program comes with ABSOLUTELY NO WARRANTY; for details, please see <http://www.gnu.org/licenses/>. 
                                   This is free software, and you are welcome to redistribute it under certain conditions; see <http://www.gnu.org/licenses/>. 

Relevant network output:

Feb 28 16:24:49 arch-desk kernel: r8125 0000:2a:00.0 enp42s0: renamed from eth0
...
Feb 28 16:24:49 arch-desk NetworkManager[644]: <info>  [1646065489.9650] manager: (enp42s0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
Feb 28 16:24:49 arch-desk NetworkManager[644]: <info>  [1646065489.9654] settings: (enp42s0): created default wired connection 'Wired connection 1'
Feb 28 16:24:49 arch-desk NetworkManager[644]: <info>  [1646065489.9655] device (enp42s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Feb 28 16:24:49 arch-desk kernel: enp42s0: 0xffffbc8d01e20000, 2c:f0:5d:57:81:25, IRQ 36

ip address:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp42s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 2c:f0:5d:57:81:25 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether e0:d4:e8:18:69:56 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.110/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0
       valid_lft 84502sec preferred_lft 84502sec
    inet6 fe80::8247:ad1a:453c:e632/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

Not sure what else to try, any help would be really appreciated.

Last edited by Blaiz0r (2022-03-03 17:27:15)

Offline

#2 2022-02-28 18:18:24

seth
Member
Registered: 2012-09-03
Posts: 51,864

Re: [SOLVED] No LAN available (Cable Unplugged) with Realtek RTL8125

Looks like https://bbs.archlinux.org/viewtopic.php?id=274481
Is this a regression and does it work w/ the lts kernel for you?

Offline

#3 2022-02-28 22:08:42

Blaiz0r
Member
Registered: 2022-02-02
Posts: 5

Re: [SOLVED] No LAN available (Cable Unplugged) with Realtek RTL8125

I've not found any help from that post unfortunately, I will try another Kernel, but I want to use zen

Offline

#4 2022-03-01 06:44:15

seth
Member
Registered: 2012-09-03
Posts: 51,864

Re: [SOLVED] No LAN available (Cable Unplugged) with Realtek RTL8125

The main question is wether

seth wrote:

Is this a regression

If this has never worked w/ this setup yet, it's probably the cable.

Offline

#5 2022-03-01 11:44:51

Blaiz0r
Member
Registered: 2022-02-02
Posts: 5

Re: [SOLVED] No LAN available (Cable Unplugged) with Realtek RTL8125

Yeah the machine has been working since the end of last year, also the same network cable had been used on another machine prior.

I have changed the cable and still no response, not even a flutter.

Offline

#6 2022-03-01 14:47:11

seth
Member
Registered: 2012-09-03
Posts: 51,864

Re: [SOLVED] No LAN available (Cable Unplugged) with Realtek RTL8125

If this is possibly a regression, you should absolutely check the LTS kernel to verify that.

Offline

#7 2022-03-03 09:54:03

Blaiz0r
Member
Registered: 2022-02-02
Posts: 5

Re: [SOLVED] No LAN available (Cable Unplugged) with Realtek RTL8125

OK 'looks' like it was a false alarm, I use a homeplug which has two ports one for my PC and the other for my NAS, before I installed the LTS kernel, I decided to see if switching the cables around would work in the homeplug ports.

My NAS was still accessing the network just fine, so I plugged in the PC into that port and it picked up the network fine, the strange thing is, my NAS is working fine on the previously dead port...

Offline

#8 2022-03-03 13:24:21

seth
Member
Registered: 2012-09-03
Posts: 51,864

Re: [SOLVED] No LAN available (Cable Unplugged) with Realtek RTL8125

Loose plug? What happens when you switch back?

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#9 2022-03-03 17:26:26

Blaiz0r
Member
Registered: 2022-02-02
Posts: 5

Re: [SOLVED] No LAN available (Cable Unplugged) with Realtek RTL8125

Thanks for the reminder, I'll continue to monitor and see if anything changes.

Offline

Board footer

Powered by FluxBB