You are not logged in.

#1 2024-05-30 15:17:43

LyCC
Member
Registered: 2012-09-05
Posts: 174

[SOLVED] Ethernet kernel driver not auto-loading after kernel upgrade

Hello everyone,

today I upgraded my system, my network adapter uses the r8169 driver. When the system boots up,
the driver isn't loaded, but it's loading manually (modprobe r8169) and after restarting netctl profile the ethernet card works just fine.

Linux ArchPC 6.9.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 26 May 2024 01:30:29 +0000 x86_64 GNU/Linux

In the system logs I see the following (related to this):

May 30 17:20:41 ArchPC systemd[1]: Expecting device /sys/subsystem/net/devices/enp5s0...
... 
May 30 17:22:11 ArchPC systemd[1]: sys-subsystem-net-devices-enp5s0.device: Job sys-subsystem-net-devices-enp5s0.device/start timed out. 
May 30 17:22:11 ArchPC systemd[1]: Timed out waiting for device /sys/subsystem/net/devices/enp5s0. 
May 30 17:22:11 ArchPC systemd[1]: Dependency failed for Networking for netctl profile wired. 
May 30 17:22:11 ArchPC systemd[1]: netctl@wired.service: Job netctl@wired.service/start failed with result 'dependency'. 
May 30 17:22:11 ArchPC systemd[1]: sys-subsystem-net-devices-enp5s0.device: Job sys-subsystem-net-devices-enp5s0.device/start failed with result 'timeout'. 
May 30 17:22:11 ArchPC systemd[1]: Reached target Network. 
May 30 17:22:11 ArchPC systemd[1]: Reached target Network is Online.
...

and this is when i load the module by hand (searched for r8169 but nothing in the log):

May 30 17:58:49 ArchPC kernel: r8169 0000:05:00.0 eth0: RTL8168g/8111g, b4:2e:99:92:e1:67, XID 4c0, IRQ 81 
May 30 17:58:49 ArchPC kernel: r8169 0000:05:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko] 
May 30 17:58:49 ArchPC kernel: r8169 0000:05:00.0 enp5s0: renamed from eth0

Any ideas? Thank you.

Last edited by LyCC (2024-05-30 16:48:32)

Offline

#2 2024-05-30 16:33:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,272

Re: [SOLVED] Ethernet kernel driver not auto-loading after kernel upgrade

modprobe -c | grep -v alias | grep 8169
pacman -Qs 8168

If you had r8168 installed, r8169 is blacklisted but  r8168 dropped into the AUR and wasn't therefore automatically updated to match your kernel.

Offline

#3 2024-05-30 16:47:10

LyCC
Member
Registered: 2012-09-05
Posts: 174

Re: [SOLVED] Ethernet kernel driver not auto-loading after kernel upgrade

Yes, thank you, that's seams to be what I have

modprobe -c | grep -v alias | grep 8169
blacklist r8169
softdep r8169 pre: realtek

pacman -Qs 8168
local/r8168 8.053.00-5
    A kernel module for Realtek 8168 network cards

Solution if anyone encounters this: remove r8168 package.

Thank you.

Last edited by LyCC (2024-05-30 16:47:51)

Offline

Board footer

Powered by FluxBB