LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-25-2004, 02:55 AM   #1
JJX
Member
 
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 339

Rep: Reputation: 31
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 ?
 
Old 04-25-2004, 04:53 AM   #2
Qucho
Member
 
Registered: Mar 2004
Location: Colorado, US
Distribution: Debian "Sarge"
Posts: 228

Rep: Reputation: 30
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.
 
Old 04-25-2004, 06:59 AM   #3
JJX
Member
 
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 339

Original Poster
Rep: Reputation: 31
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)
 
Old 04-25-2004, 07:09 AM   #4
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
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.
 
Old 04-25-2004, 07:37 AM   #5
JJX
Member
 
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 339

Original Poster
Rep: Reputation: 31
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" ?
 
Old 04-25-2004, 07:20 PM   #6
Qucho
Member
 
Registered: Mar 2004
Location: Colorado, US
Distribution: Debian "Sarge"
Posts: 228

Rep: Reputation: 30
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)
 
Old 04-26-2004, 12:58 AM   #7
JJX
Member
 
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 339

Original Poster
Rep: Reputation: 31
If i copy the third party modules will work?
 
Old 04-26-2004, 01:43 AM   #8
Qucho
Member
 
Registered: Mar 2004
Location: Colorado, US
Distribution: Debian "Sarge"
Posts: 228

Rep: Reputation: 30
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
modules problems when update kernel amimusa Linux - General 3 04-09-2005 03:55 PM
d'oh! kernel update make modules scotoma Linux - Newbie 5 11-02-2004 12:06 PM
New kernel & modules JJX Linux - Newbie 9 09-19-2004 03:35 AM
kernel failing loading unnessary modules && issues upgrading to kde 3.2.2 promark Slackware 2 06-09-2004 05:03 PM
modules prob after kernel update CycloneInDC Linux - Hardware 6 11-14-2003 06:35 PM


All times are GMT -5. The time now is 08:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration