-   Linux - Newbie (
-   -   Kernel not loading all modules on boot (

fobster 01-04-2006 06:31 PM

Kernel not loading all modules on boot

i just updated my kernel from 2.4.20-31.9 to 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, 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?:confused: ?



Digital Surgeon 01-04-2006 06:40 PM

bug in the update version??? just wait till new updates arrive

amosf 01-04-2006 08:16 PM

Going from 2.4 to 2.6 is always a bit triky, especially in an out of date OS...

bigrigdriver 01-04-2006 09:56 PM

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?

fobster 01-05-2006 11:55 AM

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.


bigrigdriver 01-05-2006 12:32 PM

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.

All times are GMT -5. The time now is 08:49 AM.