LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to load modules on demand (automatic loading)? (https://www.linuxquestions.org/questions/linux-software-2/how-to-load-modules-on-demand-automatic-loading-201578/)

Cyb3rPr0 07-05-2004 11:58 PM

How to load modules on demand (automatic loading)?
 
The new kernel (2.6.x) has a problem that has happened to several people. The problem consists of non automatic loading of modules. The only way to "load" the modules is put a call in /etc/rc.d scripts to run modprobe at system initialization, or manual load of modules.

The file /etc/modprobe.conf doesn't work for load on demand for modules. I test (and use) the script called "generate-modprobe.conf" (part of module-init-tools package) for converts my current modules setup (modules.conf on kernel 2.4.x) to modprobe.conf (kernel 2.6.x).

I upgrade all packages that kernel needs.

Somebody could make it work, with AUTOMATIC load of modules?.

Thanks.

comp12345 07-06-2004 02:42 AM

Install discover or use modconf to add it

Cyb3rPr0 07-06-2004 10:21 PM

Quote:

Originally posted by comp12345
Install discover or use modconf to add it
Thanks!

I will test this Debian script for load modules (modconf).

Bye.

DavidPhillips 07-07-2004 09:25 PM

If you still cannot get this to work for some modules then I think the standard for most distros would be to have a file named rc.modules with the modprobe commands in it.

Cyb3rPr0 07-07-2004 11:07 PM

Quote:

Originally posted by DavidPhillips
If you still cannot get this to work for some modules then I think the standard for most distros would be to have a file named rc.modules with the modprobe commands in it.
Yes, I think this would be happen.

But perhaps another solution exists:

I found that Fedora Core 2 (kernel 2.6.5) and another new distributions (as Mandrake 10 or others) so that the modules are loaded by demand without loading them in the beginning with script (like rc.modules or another init-runlevel script).
There is an appz that's called "modconf" that it seems that it makes these work (load modules on demand). Debian has this script. And this script can interact (apparently) with kerneld daemon and both scripts maybe would have the work for us.

I would test it.

Bye.


All times are GMT -5. The time now is 01:35 AM.