LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 01-04-2006, 07:31 PM   #1
fobster
LQ Newbie
 
Registered: Jan 2006
Location: ca, usa
Distribution: rh9
Posts: 12

Rep: Reputation: 0
Talking Kernel not loading all modules on boot


hi,

i just updated my kernel from 2.4.20-31.9 to 2.6.14.4 for rh9. i am running into problems loading all modules. when i run lsmod, it'll list a few modules that did run from boot. I need the module nls_cp437.ko (and some other modules) to load on boot so i can mount vfat partitions. I can load the module manually with insmod but was wondering why doesn't the module load on boot. I checked modules.dep and found the module listed so im feeling kinda stuck now. when i reboot back into 2.4.20-31.0, everything seems to work fine, all modules loaded.

after i compiled and booted into 2.6.14.4, alot of modules failed to load (ie 8139cp.ko driver for my network card), because modprobe somehow did not work correctly. I had to compile the driver into the kernel to get around this problem. maybe this has something to do with why not all the modules load during boot??
depmod -V returns "module-init-tools 3.2" so i think my modprobe is up-to-date? ?

TIA

kent

Last edited by fobster; 01-04-2006 at 09:37 PM.
 
Old 01-04-2006, 07:40 PM   #2
Digital Surgeon
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Ubuntu 7.10 - Gutsy Gibbon(Desktop Edition)
Posts: 184

Rep: Reputation: 30
bug in the update version??? just wait till new updates arrive
 
Old 01-04-2006, 09:16 PM   #3
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Going from 2.4 to 2.6 is always a bit triky, especially in an out of date OS...
 
Old 01-04-2006, 10:56 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
Check the documentation for that rpm.

Does it require you to run /sbin/depmod -A after installing the new kernel?

Did you run /sbin/dempod -A?

Does the new kernel upgrade also provide new /lib/modules and /etc/modules.conf?
 
Old 01-05-2006, 12:55 PM   #5
fobster
LQ Newbie
 
Registered: Jan 2006
Location: ca, usa
Distribution: rh9
Posts: 12

Original Poster
Rep: Reputation: 0
i didnt use rpm cause i couldnt find one, i did run /sbin/depmod -A after the install. Yes, the new kernel upgrade did provide new modules, all the modules in 2.6 end in .ko where as 2.4 ended in .o i believe. The problem is that some modules (ie the usb modules) do load yet other modules (ones required by vfat) failed to load on boot. From my understanding, modules do not load unless they are required. During boot, some modules failed to load, and i am not sure why that is because i can manually load them with insmod (module). On the same note, how do i access the log that shows which modules loaded correctly. I checked the boot.log and dmesg, both logs dont show the same information shown during the boot when the kernel tries to load the modules.


TIA
 
Old 01-05-2006, 01:32 PM   #6
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
I don't know of such a log file to see what modules loaded. In SuSE, there is a file called /etc/sysconfig/kernel which can be edited to add modules to load on boot. You may have a similar file in rh9.

SuSE also has a file called /etc/init.d/boot.local in which the user can add modules to load on boot. The syntax is a bit different in the two files, but the end result is the same. You may have a file similar to that as well.
 
  


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
No Modules loading at boot. mpyusko Slackware 11 09-25-2006 04:39 PM
Loading modules at boot paddyjoy Linux - Newbie 2 06-27-2005 10:23 PM
How do I stop modules from loading on boot? brandor Fedora 14 08-05-2004 09:16 AM
loading modules at boot Davidian1024 Linux From Scratch 3 06-25-2004 01:19 AM
loading modules at boot schatoor Linux - General 2 11-29-2002 05:16 AM


All times are GMT -5. The time now is 12:16 AM.

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