LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-05-2004, 11:58 PM   #1
Cyb3rPr0
LQ Newbie
 
Registered: Dec 2003
Posts: 16

Rep: Reputation: 0
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.
 
Old 07-06-2004, 02:42 AM   #2
comp12345
Member
 
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
Install discover or use modconf to add it
 
Old 07-06-2004, 10:21 PM   #3
Cyb3rPr0
LQ Newbie
 
Registered: Dec 2003
Posts: 16

Original Poster
Rep: Reputation: 0
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.
 
Old 07-07-2004, 09:25 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
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.
 
Old 07-07-2004, 11:07 PM   #5
Cyb3rPr0
LQ Newbie
 
Registered: Dec 2003
Posts: 16

Original Poster
Rep: Reputation: 0
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.
 
  


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
modprobe: FATAL: Could not load /lib/modules/.../modules.dep Ankardo Debian 9 02-01-2011 05:09 PM
Automatic loading of firewire modules and devices Ilici Linux - Software 1 04-09-2005 07:26 AM
Problems with automatic modules loading in kernels 2.6.X superandrzej Slackware 18 07-31-2004 04:33 AM
Loading modules error after loading compiled kernel td0l2 Linux - Newbie 12 07-28-2004 11:10 AM
Problem with module auto-loading (load on demand) in kernel 2.6.7 (2.6.x too) Cyb3rPr0 Linux - Software 4 07-02-2004 12:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:47 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
Open Source Consulting | Domain Registration