LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   Problem with automatic module loading (http://www.linuxquestions.org/questions/red-hat-31/problem-with-automatic-module-loading-185146/)

Fonk 05-24-2004 07:00 AM

Problem with automatic module loading
 
Hello,

I updated my Red Hat 9.0 to Kernel 2.6.5 and now have Problems with some modules:

- The CD-Rom doesn't mount before I inserted ide-cd manually...
- The NFS Filesystems isn't supported befor I inserted nfs manually...

And I think there is a better solution than putting "modprobe ide-cd nfs" in rc.local - so what about the kernel module loader? Under Kernel 2.4 it works perfect even though there isn't anything in /etc/modules.conf! AFAIK the 2.6 Kernel uses /etc/modprobe.conf, so I inserted something like "alias block-major-22 ide-cd" but that doesn't work either...

Any clues?!

Greetings from Germany...
Fonk

Fonk 05-24-2004 12:22 PM

After spending lots of time on this problem I finally found the Problem:

After installing Kernel 2.6.5 /etc/rc.sysinit sets /proc/sys/kernel/modprobe to /sbin/true, because /proc/ksyms doesn't exist... To correct this and use modprobe for 2.4 and 2.6 kernels set the [ -f /proc/ksyms ] in /etc/rc.sysinit line 366 to [ -f /proc/ksyms -o /proc/kallsyms ]


All times are GMT -5. The time now is 11:17 AM.