Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scsi emulation

Status
Not open for further replies.

pavNell

Technical User
Sep 27, 2002
178
US
I understand that since my cd burner is an IDE device, I need to setup scsi emulation into the kernel for it to work (write/rewrite). I don't know how to do this. Would anyone be able to point me into the right direction? I'm using RH7.1
Much thanks.
 
I would think you need to mess with the kernel. You should just have to edit a couple files and you'll be all set. If you type "cdrecord -scanbus" from the shell, it should show you a list of scsi devices. You won't see anything yet but I just wanted you to be impressed when we get done. :) The first file you will need to edit is /etc/modules.conf. Here is what you need to add. Just check for typos then copy and paste this into it.

options ide-cd ignore=hdb
alias scd0 sr_mod
pre-install sg modprobe ide-scsi
pre-install sr_mod modprobe ide-scsi
pre-install ide-scsi modprobe ide-cd

The first line tells ide-cd not to mess with out drive. I used hdb but you may have to use dmesg to see what your drives letter actually is. If you have more than one drive that you want this to work on, you can list them using a comma to seperate them i.e. hdc,hdd. You would do the same for alias.

The next thing you have to do is make a symlink to "cdrom" or what ever you want to call this drive. You would use this command:

cd /dev
ln -s scd0 cdrom

Now just create a mount point (create a dir called /mnt/cdrom). Then edit /etc/fstab to include the drive and you should be ready to go. It's been a while and I'm a self-inflickted windows sufferer again so It's a little hard for me to remember, but you may have to reboot. Run cdrecord -scanbus and see if your drive(s) are in there. Good Luck.
 
RhythmAce, that doesn't sound too difficult. I'm always leery about jackin' with the kernel, but no worries, my linux box is used primarily for jackin' with so I'll learn Linux and become more comfortable with it. Thanks a bunch. I'll try it. If it works, you'll get a nice star :)
 
Thank you for posting this information!!! With this I was successfully able to help a co-worker hook a CD burner up to a laptop running RedHat 7.1!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top