LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-27-2004, 06:37 AM   #1
wascal2001
LQ Newbie
 
Registered: Jun 2004
Location: New York, NY USA
Distribution: Fedora 1
Posts: 4

Rep: Reputation: 0
Angry can't load external modules after kernel upgrade


Hello,

I setup my laptop with FC2 running kernel 2.6.5 with hostap-drivers, ipw2110 drivers, and smartlink modem drivers as Modules.

I upgraded the kernel to 2.6.7 by compiling the 2.6.7 kernel source.

When I boot into the new kernel, it does not load the hostap, ipw2100, or modem modules that I installed in the previous kernel. They are in /lib/modules/"previous kernel". Modprobe will not work. It can't see the modules.

How do I get them to load properly in 2.6.7?

Jose
 
Old 06-27-2004, 07:58 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
You have two options. First one will work for sure - compile the modules again, for the new kernel. Second - copy the modules to new kernel directories and try to modprobe them. WIth luck (and kernel compiled with support or module versions) it may work.
 
Old 06-27-2004, 08:50 PM   #3
wascal2001
LQ Newbie
 
Registered: Jun 2004
Location: New York, NY USA
Distribution: Fedora 1
Posts: 4

Original Poster
Rep: Reputation: 0
Unhappy

Quote:
Originally posted by Mara
You have two options. First one will work for sure - compile the modules again, for the new kernel. Second - copy the modules to new kernel directories and try to modprobe them. WIth luck (and kernel compiled with support or module versions) it may work.
Mara,

I used the first option that you gave because I didn't want to miss any modules (I couldn't remember them all).

I only had three modules that were built external to the kernel.....WHAT IF I HAD LOTS????

I went from 2.6.5 to 2.6.7. Is there anything that I could have done before compiling to transfer all the external modules to the new kernel /lib/modules automatically?

Another thing is it better to install all kernel modules to ONE directory below /lib/modules/<kernel version>/ e.g /lib/modules/<kernel version>/new_stuff to make the transfer easier?


Jose
 
Old 06-28-2004, 03:29 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
The bast thing I can recommend is to always keep source version of the modules in a safe place. Usually you need external modules only for special hardware (nvidia driver, modems, such things), so the number isn't very high. If you're unlucky and you have a huge collection of them, you need to do everything yourself - I'm not aware of any mechanism that would make the transitions easier.
There's no mechanism to transfer them between versions, either.
You can install the modules in the directories you like, but if they have non-strandard location, you may have problems loading them (I've not tried such a config, just guessing).
 
  


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
How to Load Kernel Modules? binarybob0001 Linux - General 5 11-16-2005 10:15 AM
Custom kernel does not load modules Ankardo Linux - Newbie 2 06-10-2005 06:30 AM
some modules fail to load after apt-get upgrade m_yates Debian 2 12-04-2004 08:12 AM
new kernel 2.6.7 cant load modules short101 Debian 8 08-21-2004 09:59 PM
Can't load modules because I'm using an old kernel with everything else updated... leeman_s Slackware 1 05-22-2004 03:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:54 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
Open Source Consulting | Domain Registration