You are not logged in.

#1 2024-04-06 01:31:41

Nilab
Member
Registered: 2024-01-25
Posts: 5

Kernel modules are in wrong kernel at /usr/lib/modules

The kernel modules aren't necessarily in the "wrong spot", but I'm using the wrong kernel. My Ethernet kernel modules, e1000e, as well as many others are located at

 /usr/lib/modules/6.8.4-arch1-1 

But uname -r outputs:

 6.8.2-arch1-1 

Also, there are three directories in /usr/lib/modules, being:

 6.8.2-arch1-1 6.8.2-arch2-1 6.8.4-arch1-1 

mkinitcpio -P doesn't change anything, as well as re-installing linux using both pacman and pacstrap in the archiso.

I am using both the core, extra, and core-testing, and extra-testing repositories, could this be the problem?
How can I make arch use the right kernel, and also not cause this error again?

Offline

#2 2024-04-06 01:35:57

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: Kernel modules are in wrong kernel at /usr/lib/modules

You're obviously booting the wrong kernel. Check your bootloader config. Is your /boot partition mounted in the right place when you re-install / run mkinitcio?

Offline

#3 2024-04-06 11:52:55

Nilab
Member
Registered: 2024-01-25
Posts: 5

Re: Kernel modules are in wrong kernel at /usr/lib/modules

skunktrader wrote:

You're obviously booting the wrong kernel. Check your bootloader config. Is your /boot partition mounted in the right place when you re-install / run mkinitcio?

Thank you so much, all I had to do was regenerate my grub config. Seems so simple, not sure how I didn’t realise this earlier

Offline

#4 2024-04-06 16:38:43

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

Re: Kernel modules are in wrong kernel at /usr/lib/modules

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

Board footer

Powered by FluxBB