LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-07-2004, 06:07 PM   #1
Cikotic
Member
 
Registered: Jun 2004
Location: Vancouver
Distribution: Slackware Linux 10, Fedora Core 2
Posts: 37

Rep: Reputation: 15
Unneeded modules load at startup


Hi all,
Just a quick question about modules. Is there anyway to stop the loading of a particular module at startup? My computer loads floppy.ko and ohci1394 at startup but since I don't have a floppy drive or a firewire drive, they fail and give a FATAL error message. I was wondering how I could stop these modules from being loaded.

Thank you for your time,
Cikotic.
 
Old 07-07-2004, 07:16 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
take a look at /etc/modules.conf

=)
 
Old 07-08-2004, 04:00 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Also, man chkconfig
 
Old 07-09-2004, 01:51 PM   #4
Cikotic
Member
 
Registered: Jun 2004
Location: Vancouver
Distribution: Slackware Linux 10, Fedora Core 2
Posts: 37

Original Poster
Rep: Reputation: 15
/etc/modules.conf:
Code:
alias eth0 sis900
alias usb-controller usb-ohci
alias usb-controller1 ehci-hcd
alias ieee1394-controller ohci1394
alias char-major-195 nvidia
insmod_opt=-f -s
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
# Note: for use under 2.6, changes must also be made to modprobe.conf!
I had looked at this file before but don't understand what it's got to do with startup. Should I just comment out the line with ohci1394?
-----------------------------------------------------------------------------------------------------------------
JZL240I-U, I can read man chkconfig but the command it self doesn't run. I get:
# chkconfig
bash: chkconfig: command not found

help appreciated,
Cikotic
 
Old 07-09-2004, 04:13 PM   #5
comp12345
Member
 
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
Use modconf to unload them
 
Old 07-09-2004, 05:08 PM   #6
Cikotic
Member
 
Registered: Jun 2004
Location: Vancouver
Distribution: Slackware Linux 10, Fedora Core 2
Posts: 37

Original Poster
Rep: Reputation: 15
comp12345, no modconf either!!!
 
Old 07-10-2004, 03:11 PM   #7
comp12345
Member
 
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
Yeah, it's not available for Red Hat. I haven't had to deal with module configuration files in quite some time. 2.4 kernels relied on /etc/modules.conf for modules configuration. 2.6 kernels switched to /etc/modprobe.conf. You may be able to just comment the relevant entries and run update-modules. In addition, you may have a file called /etc/modules that contains modules to load at startup.
 
Old 07-12-2004, 06:36 AM   #8
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Oops, sorry, I use SuSE, so maybe RH / F doesn't have it. Did you search their site? It is a really easy to use tool, you can name the service, action (on, off, restart) and define for wich runlevel(s)...
 
  


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
modprobe: FATAL: Could not load /lib/modules/.../modules.dep Ankardo Debian 9 02-01-2011 05:09 PM
Parallel port/printer modules don't load on startup senorsnor Slackware 4 07-03-2004 12:58 PM
Network Install With Gigabit E-1000, how do I load the modules at startup SourCreamAndOni Linux - Networking 1 05-26-2004 04:38 AM
FATAL: could not load /lib/modules/2.6.1/modules.dep Fr33B33R Slackware 3 01-12-2004 05:40 AM
how to load modules at startup sasquash Fedora 1 11-18-2003 08:35 PM

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

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