LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   SCSI emulation for a CD-RW drive (https://www.linuxquestions.org/questions/linux-general-1/scsi-emulation-for-a-cd-rw-drive-5867/)

cauchy 08-25-2001 09:59 PM

SCSI emulation for a CD-RW drive
 
I am running Slackware 7.2 with the 2.4.8 kernel. I have two CD drives: /dev/hdc is a CD-ROM drive, while /dev/hdd is CD-RW. I would like to use SCSI emulation on /dev/hdd so I can burn CDs normally, but I am hoping that I can still treat /dev/hdc as an IDE drive. What do I need to configure to make this work properly?

Thanks,
cauchy

linuxcool 08-25-2001 10:56 PM

I believe all you have to do is edit your lilo.conf file and add the line append="hdd=ide-scsi" and then as root run the command /sbin/lilo. I hope this works.

cauchy 08-27-2001 09:47 AM

How I got it working
 
It turns out that I didn't even need to edit lilo.conf (which was a good thing, because I couldn't access either drive for some reason when I did). I did the following things:

1) Recompile the kernel. I made IDE/ATAPI CDROM support a module (effectively removing it from the kernel, since I haven't loaded it) while adding SCSI CDROM support, SCSI general support, and SCSI emulation support. (I also had to enable loopback device support so I could mount my mkisofs output, but that wasn't neeeded for the SCSI emulation.)

2) Move my /dev/cdrom and /dev/cdrw links to /dev/sr0 and /dev/sr1.

3) Reboot.

Sure, they're both handled via SCSI emulation now, but that's okay - there was so little configuration needed that I could easily change it back if it became a problem.

cauchy

linuxcool 08-27-2001 05:35 PM

Glad to hear that you got it working.


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