Click to See Complete Forum and Search --> : SCSI emulation with one CD ROM drive
EyesWideOpen
01-11-2001, 02:01 PM
I enabled scsi emualtion by installing the modules into the kernel (insmod ide-scsi, insmod sg, added append="hdc=ide-scsi") so that I can burn CDs with XCDRoast. That works fine but now I can't read regular CD's. My drive is IDE.
I spent an hour looking through old posts but I still can't get it. Some things I've tried:
* changing permissions on the /dev devices hdc, scd0
* adding alias scsi_hostadapter in /etc/conf.modules
* tried different combo's of links in /dev for cdrom and cdrom2
If the link for /dev/cdrom was /dev/hdc before and now it points to /dev/scd0 (which works for burning) then what should /dev/hdc be linked to if anything? Do I need to have a cdrom and cdrom2 link? What should my /etc/fstab have in it concerning the CD ROM?
I have a feeling that I've seen what I need to do but I just can't the right combonation to do it in.
Thanks.
CMonster
01-11-2001, 06:38 PM
I believe your fstab entry for the cd should now refer to /dev/scd0 -either directly or by link.
------------------
CMonster says, "You can't choose the right OS if you don't have a choice."
[This message has been edited by CMonster (edited 11 January 2001).]
EyesWideOpen
01-11-2001, 11:41 PM
I've tried that and I get an error (can't remember exactly what the error is but I'll post it when I get to work. I think it's something like scd0 is not a valid block device)
CMonster
01-12-2001, 09:22 AM
<bump> Well, I'm stumped.. I checked my other system (MDK 7.2 k2.2.17) and it has both IDE CDROM and CDR - I had compiled the generic SCSI support directly into the kernel and appended LILO with "hdd=ide-scsi" I still have the desktop icons from installation CD-ROM and CD-ROM2 (CD-ROM2 is the CDR) - they continue to work with the supermount function.
*/etc/fstab
*/dev/hda3 / ext2 defaults 1 1 none
*/dev/pts devpts mode=0620 0 0
*/mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0
*/mnt/cdrom2 /mnt/cdrom2 supermount fs=iso9660,dev=/dev/cdrom2 0 0
*/mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0
*/dev/hda1 /mnt/windows vfat user,exec,umask=0 0 0
*none /proc proc defaults 0 0
*/dev/hda2 swap swap defaults 0 0
in /dev cdrom2 points to device scd0
------------------
CMonster says, "You can't choose the right OS if you don't have a choice."
[This message has been edited by CMonster (edited 12 January 2001).]
EyesWideOpen
01-12-2001, 09:47 AM
My /dev/cdrom points to scd0. I tried making /dev/cdrom2 a link to hdc (what cdrom originally pointed to) and then changing it in the CD player settings but no dice.
I don't have supermount anywhere in my fstab so I'll try that.
Is there a way that I can get it back to the original configuration where /dev/cdrom points to hdc? I know I would have to take out the append line in lilo.conf and the alias scsi_hostadapter in modules.conf.
How would I disable scsi emulation if it was added to the kernel by way of modules (insmod ide-scsi & insmod sg)?
Edit Here (http://cams88.tripod.com/snapshot01.gif) is what my situation looks like.
[This message has been edited by EyesWideOpen (edited 12 January 2001).]
EyesWideOpen
01-12-2001, 10:13 AM
I just found the command rmmod. Has anyone used this? If I issue this command to remove sg and ide-scsi and then put everything back the way it was before I tried to do scsi emulation (which includes the append line in lilo.conf, the alias line in modules.conf, point the link /dev/cdrom back to hdc) and then reboot will I be back to normal?
If I can get it back the original way I think I can go back through and do it right as I have a much better understanding of what I am doing now. I would probably make /dev/cdrom2 point to the scsi emulated drive scd0 and leave /dev/cdrom as a link to hdc.
EyesWideOpen
01-12-2001, 11:14 AM
I got everything back to the original way now and I am going to take another stab at getting the burner to work.
I was shooting myself in the foot becasue I was using a CDRW that is formatted for Adaptec Direct CD software only so it was causing problems.
Thanks CMonster for all your help.
Edit Not to mention that the disc was blank! But how was I supposed to know if I couldn't read it!
[This message has been edited by EyesWideOpen (edited 12 January 2001).]