LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-29-2003, 06:43 PM   #1
Sarno
LQ Newbie
 
Registered: Dec 2003
Posts: 2

Rep: Reputation: 0
Question Loss of modules after 2.6 kernel upgrade


Ok I've upgraded from 2.4 to 2.6 following this guide: durham.randomwire.com/kernel.php with the exception of copying over my old .config file.

The problem is after the upgrade, The number of modules that load on startup has gone from 29 to 5. Notably network drivers and sound are gone.
I'm very new to this and as far as I know magical gnomes made those modules load before. How can I get them to load again?
 
Old 12-29-2003, 07:22 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 63
Re: Loss of modules after 2.6 kernel upgrade

Quote:
Originally posted by Sarno
Ok I've upgraded from 2.4 to 2.6 following this guide: durham.randomwire.com/kernel.php with the exception of copying over my old .config file.

The problem is after the upgrade, The number of modules that load on startup has gone from 29 to 5. Notably network drivers and sound are gone.
I'm very new to this and as far as I know magical gnomes made those modules load before. How can I get them to load again?
I see no mention of the new module-init-tools that are needed for the new kernel module format in that guide you may want to check on the proper way to install them in slackware.
 
Old 12-29-2003, 10:51 PM   #3
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
If he's using slack 9.1, the modinit tools are already included as part of the distro.
It's 2.6.0 "ready".

Now, to Sarno --

Each kernel version you compile will have its own kernel modules. It's likely that you didn't compile everything you needed as modules, or compiled some of it into the kernel.
You see, the kernel has two ways of dealing with drivers... The first method is to compile them directly into the kernel. When you boot, they're in there.
The second way is that it can load them as kernel modules -- inserted or removed from the kernel on a per-need basis.
With the stock 2.4.22 kernel, most everything is done in the modular fashion, making it easy for the one kernel to work on many different systems.

Your old kernel modules are still there, just reserved in /usr/lib/modules/2.4.22 instead of /usr/lib/modules/2.6.0/
2.6.0 needs its own kernel modules, of course.

So, you need to figure out if you compiled in or built as modules all the drivers you needed for the 2.6.0 kernel.



-Shade
 
  


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
Loss of USB on kernel 2.6 after upgrade bschmidt MEPIS 2 10-23-2005 05:02 AM
Modules Gone After Kernel Upgrade Corallis Linux - General 5 07-06-2004 02:34 AM
can't load external modules after kernel upgrade wascal2001 Linux - Newbie 3 06-28-2004 03:29 PM
Missing modules when upgrade kernel 2.6 letdoit Slackware 7 05-26-2004 12:42 AM
kernel upgrade and module names incompatibility and /etc/modules.conf concoran Linux - General 2 11-29-2001 07:48 AM


All times are GMT -5. The time now is 11:18 PM.

Main Menu
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