Click to See Complete Forum and Search --> : DVD/CDRW installation


vicky
09-21-2001, 03:00 PM
I have a Ricoh 9120A combo dvd/cdrw. Having read a number of docs on dvd and cdrw installation, I am confused as to how to install this: dvd = ide and cdrw = scsi emulation, so what is a combo device?

At the moment, my system (under Mandrake 8.0) detects this device as /dev/hdd (hda = hard disk, hdb = zip 250 drive, hdc = cdrom drive).

Any advice as to how to install this device would be gratefully received. I plan to use it as a cdrw more than dvd at the moment, so if it needs to become a scsi emulated device I would appreciate some 'very newbie' instructions.

Thanks

Vicky :confused:

6pack
09-21-2001, 06:23 PM
I am having a problem getting my CDRW working also. So I don't know that I will be a lot of help. But I can tell you this. You can enable SCSI emulation without recompiling the kernel. If you change into /etc/rc.d and take a look at your rc.modules file, you can find that you can enable SCSI emulation via inserting the module during boot up time. Just uncomment the proper line and you will be good to go from that point. But I don't think this is all that is required. Is your CDRW/DVD loaded as /dev/hdb? Or maybe /dev/cdrom? What device is it loading as? After you enable SCSI emulation I am pretty sure you will need to create a symbolic link from whatever your drive is loading up as under /dev (IE /dev/hdb) to /dev/scd0. After you have completed these steps trying running cdrecord -scanbus and see if it picks up your drive.

I have tried the above steps without result. I am thinking that my CDRW isn't going to work with cdrecord. I have a Yamaha CRW2200EZ and I am running it under Slackware 8. Anybody have any ideas how I can get it to work? Anybody else have one and have been successful in getting it to work? :confused:

6pack
09-21-2001, 07:46 PM
HA! Got it working. Go to the NHF section Vicky and read the article on setting up a CDRW. The only thing that was holding me back is I forgot to edit lilo.conf. I'll be checking back to see if you made it ok. If not I'll try to walk you through it. It's really quite painless. You'll be suprised.

:D

vicky
09-28-2001, 02:58 AM
Thanks for the help. In the end the NHF did not get things going completely under Mandrake 8. I used elements from the CD-writing How-to as well. Now, after adding the following to various files everything is working:

In /etc/fstab:
/mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0
/mnt/cdrw /mnt/cdrw supermount fs=iso9660,dev=/dev/cdrw 0 0

In /etc/modules.conf:
options ide-cd ignore="hdc hdd" # tell ide-cd to ignore those devices
alias scd0 sr_mod # load sr_mod upon access of scd0
pre-install sg modprobe ide-scsi # load ide-scsi before sg
pre-install sr_mod modprobe ide-scsi # load ide-scsi before sr_mod

In /etc/lilo.conf
image=/boot/vmlinux
label=linux
root=/dev/hda1
append="quiet hdc=ide-scsi hdd=ide-scsi"
vga=788

I also created two symbolic links:
ln -s /dev/scd0 /dev/cdrom
ln -s /dev/scd1 /dev/cdrw

Since I already had a /mnt/cdrom directory, I also created a /mnt/cdrw directory.

Lastly, I ran lilo to make sure the changes in lilo.conf took effect.

:D

bigskinnee
09-28-2001, 03:37 PM
I really had no problem doing this.

In order to get the CDR/W working I enabled scsi emulation in the kernel (ide-scsi) along with general scsi and scsi cdrom support. I compiled all those into the kernel, not as modules. Next I had to edit the /etc/lilo.conf file to tell the kernel to use ide-scsi instead of the normal driver for the cdrom. The at the end of the entry for the kernel that I was booting I added this line append="hdc=ide-scsi". After I ran lilo and rebooted, a cdrecord -scanbus told me that I had a scsi cdr on 0,0,0.

after that i removed the /dev/cdrom and /dev/dvd and just made them symLinks to /dev/scd0