LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel Update & Modules (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-update-and-modules-174284/)

JJX 04-25-2004 01:55 AM

Kernel Update & Modules
 
I am using kernel 2.4.25 and i want update to 2.4.26.

All the modules now are in "/lib/modules/2.4.25".
So after update will not be loaded.
Is any way to automatically load the same modules after the update without installing again all drivers, etc ? I dont want reinstall hostap, i2c etc....

Can i cp all modules from 2.4.25 to 2.4.26 ?

Qucho 04-25-2004 03:53 AM

I thought also my modules were not loading at first due to soem misleading message from the kernel.

just make sure your modules are not loading by typing:

~# lsmod

if nothing comes up, then no modules were loaded.

JJX 04-25-2004 05:59 AM

My modules with kernel 2.4.25 are being loaded and working...

When i load kernel 2.4.26 no modules are loaded! Obviously, because doesnt exist in "/lib/modules/2.4.26". [correct ? ]

The question is how to load these modules without reinstalling all applications! (hostap, i2c,etc)

Demonbane 04-25-2004 06:09 AM

They will be installed in /lib/modules/2.4.26 if you did a "make modules_install" when you compiled your kernel. If you have any third party modules you have to recompile them against 2.4.26.

JJX 04-25-2004 06:37 AM

Quote:

Originally posted by Demonbane
If you have any third party modules you have to recompile them against 2.4.26.
Is there any "workaround" ?

Qucho 04-25-2004 06:20 PM

Quote:

They will be installed in /lib/modules/2.4.26 if you did a "make modules_install" when you compiled your kernel. If you have any third party modules you have to recompile them against 2.4.26.
You dont need to do "make modules_install" if you compile the kernel in the 'debian way'

here is a nice totorial for kernel compilation in the 'debian way'

http://newbiedoc.sourceforge.net/system/kernel-pkg.html

modules should be install automatically except third party ones. (like nVidia, and otheres)

JJX 04-25-2004 11:58 PM

If i copy the third party modules will work? :)

Qucho 04-26-2004 12:43 AM

Quote:

If i copy the third party modules will work?
More likely will freeze your system.

Read the link I posted about compiling customs kernels, it tells you how to compile the third party modules for you kernel. (as Demonbane already mentioned)


All times are GMT -5. The time now is 07:28 PM.