LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-06-2005, 11:17 AM   #1
CooManChu
Member
 
Registered: Dec 2004
Location: Chicago, IL
Distribution: Ubuntu 10
Posts: 46

Rep: Reputation: 15
Question modprobe Autoload and Kudzu Cleanup


Hi,

I have two small issues relating to a CD-RW/DVD drive I installed on my system. The drive is working just fine, but these two small items are bothering me and I'd like to fix them if I can.

1. To use cdrecord, I use the drive as an SCSI device so I need the ide-scsi module loaded to use it. I'd like this module loaded automatically every time I boot up, but right now I manually issue :

# modprobe -a ide-scsi

Q: How can I have this module automatically loaded when the system boots up? I've tried creating an /etc/modprobe.preload file and adding the ide-scsi line to it (as an ealier post suggested), but this approach does not work.

2. During installation of the CD-RW/DVD drive, the setup steps included creating a symbolic link to the device and removing /dev/hdd and /dev/dvd. Whenever I reboot, I get a failure message from Kudzu:

"Updating /etc/fstab... cannot stat /dev/hdd... no such file or directory"

Q: How can I clean things up so that this message does not appear?

Last edited by CooManChu; 05-06-2005 at 07:06 PM.
 
Old 09-22-2005, 06:10 PM   #2
JamieBrown
Member
 
Registered: Jan 2005
Location: Great Ayton, North Yorkshire, UK
Distribution: Gentoo, Mandriva, RHES, Debian
Posts: 61

Rep: Reputation: 15
Hi w_scott_cook!

I've just managed to sort out a similar issue with some help from some guys on the Mandriva forum, so I'll share my new-found knowledge!

To load your driver at start up log in as root and go to your /etc/rc.d. In that folder you'll find rc.local. Edit this file with your favourite text editor (nano / vim etc) and add a new line at the bottom of the file, with your command:

modprobe -a ide-scsi

Hopefully you should now find your drivers are loaded at startup.

For the error when you boot, you'll need to edit your fstab file. This file tells Linux which drives to mount at startup. Its at /etc/fstab. Again, edit it as root in your favourite text editor. You can probably just comment out the line that refers to /dev/hdd, but I'm not an expert so do some research before you do that!

Cheers!

Jamie.
 
  


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
Bookmark cleanup MBH LQ Suggestions & Feedback 2 05-19-2006 09:39 AM
Disk Cleanup bionicyeti Linux - Newbie 2 07-16-2004 08:51 AM
Making modprobe pcspkr stick with modprobe.preload? gm4jjj Fedora 3 06-16-2004 03:27 AM
modprobe: modprobe: Couldn't locate module nvnet.o/nvaudio.o xiojqwnko Linux - Newbie 2 12-08-2003 05:41 PM
modprobe: modprobe can't locate module ppp0 in redhat 7.1 while shutting down. cyberdude3k Linux - Networking 1 09-08-2003 12:01 PM


All times are GMT -5. The time now is 04: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration