LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-30-2002, 11:07 AM   #1
Alan Lakin
Member
 
Registered: Sep 2002
Location: Wallington, Surrey, UK
Distribution: Ubuntu, Android phone
Posts: 119

Rep: Reputation: 15
Kernel Modules at boot


I have successfully configured an ISA network card module by passing io and irq info in /etc/modules.conf and then installing the module with insmod. The only problem is I have to manually repeat the insmod after a reboot. How do I automate this process?

Thanks.
 
Old 09-30-2002, 11:22 AM   #2
wartstew
Member
 
Registered: Apr 2002
Location: Albuquerque, NM USA
Distribution: Slackware, Ubuntu, Debian, Maemo
Posts: 464

Rep: Reputation: 30
This is very distribution dependant. Assuming you are running Mandrake 8.2 as you indicated in your profile, these settings are stored in /etc/modules.conf. The actual module loading is done elsewhere however.

Last edited by wartstew; 09-30-2002 at 11:24 AM.
 
Old 09-30-2002, 11:29 AM   #3
Alan Lakin
Member
 
Registered: Sep 2002
Location: Wallington, Surrey, UK
Distribution: Ubuntu, Android phone
Posts: 119

Original Poster
Rep: Reputation: 15
Absolutely. The module info is in /etc/modules.conf. It is the automatic module loading on booting that I need to sort out. I assume there is a script somewhere that I need to insert the module name/alias but I'm blowed if I can find it
 
Old 09-30-2002, 11:45 AM   #4
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
is there a boot.local script in /etc/rc.d or /etc/init.d directory(s), if so add your insmod to the end of it.
 
Old 09-30-2002, 12:08 PM   #5
wartstew
Member
 
Registered: Apr 2002
Location: Albuquerque, NM USA
Distribution: Slackware, Ubuntu, Debian, Maemo
Posts: 464

Rep: Reputation: 30
There is a "correct" place where mandrake's configuration programs like to put things like this. I not sure where it is, which is one of the reasons I use Slackware instead.

Doesn't Mandrake still use a modified version of Linuxconf (drakeconfig or something?) to configure all this stuff? You should be able to convince it to do the right thing, or at least get close, then manually edit the /etc/modules.conf to dial it in.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot problem after loading modules into kernel scr02bcg Linux - General 2 07-21-2005 10:23 AM
how to configure loading of kernel modules at boot? eigenyeugen Debian 2 06-26-2005 03:35 PM
Loading kernel modules during boot. alexeyak Fedora 4 12-20-2004 09:04 AM
kernel modules loaded at boot time gusgorman Slackware 10 04-14-2003 10:45 AM
Loading kernel modules at boot burk Linux - General 7 06-10-2002 07:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:35 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