You are not logged in.

#1 2019-02-21 15:11:31

bananabrain
Member
From: England
Registered: 2010-05-07
Posts: 78

[SOLVED] module load problem after kernel build

Good afternoon,

I've just compiled a stock kernel and a linux-zen kernel using the arch build system as described in the wiki.

In both cases, ethernet module r8168 (installed with pacman from the repos) fails to load after booting and 'ip a'/'ip l' show only the loopback device.

r8168.ko.xz is only present in the original kernel path /usr/lib/modules/extramodules-ARCH/

Even if I uninstall the r8168 module and reinstall it from the repos while running the new custom kernel, it is placed back into the old kernel's module path, while the new kernel's module path,

/usr/lib/modules/extramodules-custom/

remains empty.

This might be trivial but I'm stumped and hopefully someone can enlighten me if I've gone wrong somewhere...


Thanks in advance.

Last edited by bananabrain (2019-02-21 17:43:09)

Offline

#2 2019-02-21 15:21:01

loqs
Member
Registered: 2014-03-06
Posts: 17,327

Re: [SOLVED] module load problem after kernel build

The r8168 package is not a DKMS package the module is compiled at package build time for the kernel supplied by the linux package.
You would need to supply your own packages for linux-custom and linux-zen or use r8168-dkms.

Offline

#3 2019-02-21 17:39:16

bananabrain
Member
From: England
Registered: 2010-05-07
Posts: 78

Re: [SOLVED] module load problem after kernel build

dkms

Brilliant.

Thank you very much.

Offline

Board footer

Powered by FluxBB