You are not logged in.

#1 2009-09-22 23:43:52

Horris
Member
Registered: 2009-04-05
Posts: 30

Question: Kernel Update and Modules

Newbie Question:

Why I have to rebuild Nvidia Module (or virtualbox module) when I updated kernel version and how do this?

( if I don't want wait new version of that modules)

Thank's in advance.

Offline

#2 2009-09-23 00:41:16

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 749

Re: Question: Kernel Update and Modules

Modules dir for kernel 2.6.30-ARCH would be /lib/modules/2.6.30-ARCH/
When you upgrade to kernel 2.6.31-ARCH that dir changes to  /lib/modules/2.6.31-ARCH/
This only affects major kernel ver updates (2.6.30 to 2.6.31, but not 2.6.30.1 to 2.6.30.2)
On kernel upgrade you have to rebuild your modules that don't install with kernel (such as nvidia, ati, and many other third-party drivers) to reflect that change by simply changing kernelver in PKGBUILD and recompiling (any good kernel module PKGBUILD has such variable).

Also, if you have custom kernel, you have to rebuild modules for that kernel (for example modules dir for kernel26-fbcondecor is /lib/modules/2.6.30-fbcondecor/).

Point is that you cannot use same kernel module for differnet kernels (if kernels are not the same, it's very possible that modules are also somewhat different - that's why it's better to rebuld them).

It's a very simplified explanation, but I hope explained it well enough. wink

Last edited by Xabre (2009-09-23 00:45:45)

Offline

Board footer

Powered by FluxBB