Reinstalled network-r8168
drivers using mhwd
after updating
inxi -Na
shows no r8168 driver loaded or available, only r8169
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK P8 series driver: N/A modules: r8169 pcie: gen: 1
sudo modprobe r8168
fails to find driver
modprobe: FATAL: Module r8168 not found in directory /lib/modules/6.5.4-1-MANJARO
But pamac shows it is installed
$ pamac list -f linux65-r8168
/usr/lib/modules/extramodules-6.5-MANJARO/r8168.ko.xz
$ pamac search -f /usr/lib/modules/extramodules-6.5-MANJARO/r8168.ko.xz
/usr/lib/modules/extramodules-6.5-MANJARO/r8168.ko.xz is owned by linux65-r8168
I think you mean network-r8168
. There is no network-r8169
, because r8169
is already included in the kernel.
It will commonly only be loaded after a reboot.
It must be a bug in pamac
(again), because… 
[nx-74205:/dev/pts/3][/home/aragorn]
[aragorn] > uname -r
6.1.53-1-MANJARO
[nx-74205:/dev/pts/3][/home/aragorn]
[aragorn] > pamac list -f linux61-r8168
/usr/lib/modules/extramodules-6.1-MANJARO/r8168.ko.gz
[nx-74205:/dev/pts/3][/home/aragorn]
[aragorn] > ls -l /usr/lib/modules/extramodules-6.1-MANJARO/
total 4
-rw-r--r-- 1 root root 17 Sep 13 14:00 version
[nx-74205:/dev/pts/3][/home/aragorn]
[aragorn] >
System was rebooted twice for both kernels before reporting issue with linux65-r8168
Repository updates were installed via pacman
as I expected any comment might be derided
Package versions are consistent with versions listed in release announcement
https://gitlab.manjaro.org/-/snippets/927/raw
PACKAGE 2023-09-16 2023-09-22
-------------------------------------------------------------------------------
linux61 6.1.53-1 6.1.54-1
linux61-headers 6.1.53-1 6.1.54-1
linux65 6.5.3-1 6.5.4-1
linux65-headers 6.5.3-1 6.5.4-1
linux61-r8168 8.051.02-3 8.051.02-4
linux65-r8168 8.051.02-4 8.051.02-6
pacman -Qi linux61 linux65
Name : linux61
Version : 6.1.54-1
Description : The Linux61 kernel and modules
Architecture : x86_64
URL : https://www.kernel.org/
Licenses : GPL2
Groups : None
Provides : linux=6.1.54 VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE KSMBD-MODULE
Depends On : coreutils linux-firmware kmod initramfs
Optional Deps : wireless-regdb: to set the correct wireless channels of your country [installed]
Required By : linux61-nvidia-470xx linux61-r8168
Optional For : base
Conflicts With : None
Replaces : None
Installed Size : 143.20 MiB
Packager : Manjaro Build Server <build@manjaro.org>
Build Date : Tue 19 Sep 2023 14:18:51 BST
Install Date : Fri 22 Sep 2023 15:32:52 BST
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
Name : linux65
Version : 6.5.4-1
Description : The Linux65 kernel and modules
Architecture : x86_64
URL : https://www.kernel.org/
Licenses : GPL2
Groups : None
Provides : linux=6.5.4 VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE KSMBD-MODULE
Depends On : coreutils linux-firmware kmod initramfs
Optional Deps : wireless-regdb: to set the correct wireless channels of your country [installed]
Required By : linux65-nvidia-470xx linux65-r8168
Optional For : base
Conflicts With : None
Replaces : None
Installed Size : 133.89 MiB
Packager : Manjaro Build Server <build@manjaro.org>
Build Date : Tue 19 Sep 2023 14:17:45 BST
Install Date : Fri 22 Sep 2023 15:33:11 BST
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
ls -l /usr/lib/modules/extramodules-6.5-MANJARO/ /usr/lib/modules/extramodules-6.1-MANJARO/
/usr/lib/modules/extramodules-6.1-MANJARO/:
total 33716
-rw-r--r-- 1 root root 706880 Sep 19 17:49 nvidia-drm.ko.xz
-rw-r--r-- 1 root root 26448884 Sep 19 17:49 nvidia.ko.xz
-rw-r--r-- 1 root root 727200 Sep 19 17:49 nvidia-modeset.ko.xz
-rw-r--r-- 1 root root 82072 Sep 19 17:49 nvidia-peermem.ko.xz
-rw-r--r-- 1 root root 6448372 Sep 19 17:49 nvidia-uvm.ko.xz
-rw-r--r-- 1 root root 74160 Sep 19 17:54 r8168.ko.xz
-rw-r--r-- 1 root root 17 Sep 19 14:18 version
/usr/lib/modules/extramodules-6.5-MANJARO/:
total 37028
-rw-r--r-- 1 root root 829124 Sep 19 16:55 nvidia-drm.ko.xz
-rw-r--r-- 1 root root 27355464 Sep 19 16:55 nvidia.ko.xz
-rw-r--r-- 1 root root 776344 Sep 19 16:55 nvidia-modeset.ko.xz
-rw-r--r-- 1 root root 97232 Sep 19 16:55 nvidia-peermem.ko.xz
-rw-r--r-- 1 root root 8749244 Sep 19 16:55 nvidia-uvm.ko.xz
-rw-r--r-- 1 root root 83760 Sep 19 16:59 r8168.ko.xz
-rw-r--r-- 1 root root 16 Sep 19 14:17 version
So you do have r8168
installed. Well, then if it’s not loaded into the kernel and you do still want to stick with r8168
— for reasons I don’t understand, unless your hardware is very old — then you probably don’t have a blacklist on r8169
anymore.
So check /etc/modprobe.d
for the blacklist file. If it’s not there and r8168
is installed, then the kernel will still use the native r8169
driver instead of r8168
.
[2023-09-22T15:32:52+0100] [ALPM] upgraded linux61 (6.1.53-1 -> 6.1.54-1)
[2023-09-22T15:33:01+0100] [ALPM] upgraded linux61-headers (6.1.53-1 -> 6.1.54-1)
[2023-09-22T15:33:11+0100] [ALPM] upgraded linux65 (6.5.3-1 -> 6.5.4-1)
[2023-09-22T15:33:18+0100] [ALPM] upgraded linux65-headers (6.5.3-1 -> 6.5.4-1)
[2023-09-22T15:59:38+0100] [ALPM] installed linux61-r8168 (8.051.02-4)
[2023-09-22T15:59:43+0100] [ALPM] installed linux65-r8168 (8.051.02-6)
grep -i r8169 /etc/modprobe.d/*.conf
/etc/modprobe.d/r8169_blacklist.conf:blacklist r8169
for kernel v6.1
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
driver: r8168
see post #1 for kernel v6.5
Then you know what to do. Ditch r8168
and use r8169
. 
Following up on comments in other topics asking about kernel v5.15:
Reinstalling kernel via mhwd
also installed r8168 driver no problem
:: Retrieving packages...
linux515-5.15.132-1-x86_64 downloading...
linux515-r8168-8.051.02-3-x86_64 downloading...
inxi -N
for working linux515-r8168
8.051.02-3
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
driver: r8168
As new version of r8168 driver is working for v6.1 and v5.15 kernels it probably also works for earlier LTS kernels 4.19; 5.4 and 5.10
Given that you have yet failed to provide any reasonable explanation as to why you insist on using the out-of-tree r8168
driver module when the in-tree r8169
driver clearly works flawlessly, I shall hereby take my leave from this thread.

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