Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 01-07-2003, 02:39 PM   #1
Registered: Oct 2002
Location: Michigan
Distribution: Slackware Linux 10.0
Posts: 289

Rep: Reputation: 30
Question Loading modules at boot-time

Could someone tell me how to load modules at boot-time? I know it has something to do with /etc/modules.conf , but I dont know how to enter the modules in there? Do I just put "aic7xxx.o" in the file or what?

Old 01-07-2003, 08:07 PM   #2
Registered: Dec 2002
Location: Sydney
Distribution: Debian
Posts: 55

Rep: Reputation: 15
What is this module for anyway?

try modconf,
Old 01-08-2003, 08:24 AM   #3
Registered: Oct 2002
Location: Michigan
Distribution: Slackware Linux 10.0
Posts: 289

Original Poster
Rep: Reputation: 30
I'm trying to load "scsi_mod" and "aic7xxx" for my Adaptec 2940 SCSI Controller. I currently have those modules being loaded in the rc.sysinit script. I believe this method is incorrect, because I should have to load them in the /etc/modules.conf. How would I add these to the modules.conf file?

Old 01-12-2003, 05:11 PM   #4
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 451

Rep: Reputation: 32
The following line should work for the lower level driver in /etc/modules.conf:

alias scsi_hostadapter aic7xxx

Personally, I build the mid level support (scsi_mod) into the kernel. This module would have to be loaded before the upper (tape drive/disk) or lower (adapter) support. I suspect that when you load the aic7xxx module, it might force the loading of scsi_mod if it is not already present, but perhaps the following might force it:

add below aix7xxx scsi_mod

This specifies that if the aix7xxx module is needed, the scsi_mod will be loaded as well, and first.

Then again, I understand it is the scsi_mod module that requests the scsi_hostadapter so results are of course not guaranteed.

Old 01-12-2003, 05:27 PM   #5
Registered: Jun 2001
Location: USA
Distribution: Slackware
Posts: 825

Rep: Reputation: 30
try loading them in /etc/rc.d/rc.modules
Old 01-12-2003, 11:43 PM   #6
LQ Newbie
Registered: Jan 2003
Distribution: slack
Posts: 21

Rep: Reputation: 15
i've done /sbin/modprobe blah

from rc.local once before. the quick and easy way out


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading modules at boot paddyjoy Linux - Newbie 2 06-27-2005 09:23 PM
automatically modules loading at booting time ourlinuxid Linux - General 1 01-12-2005 05:31 PM
Stopping modules from loading at boot time kpg Debian 9 01-07-2005 08:03 AM
Loading modules at boot time Musikolo Linux - Software 3 07-18-2004 11:29 AM
Loading modules at boot time dancar Linux - Newbie 6 02-28-2004 06:00 PM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration