Click to See Complete Forum and Search --> : CD-ROM Drive= Nightmare...Help!


eoram
01-06-2003, 10:52 AM
I have installed Redhat 8.0 on a dell latitude x200 laptop. It has a media base that contains the floppy disk and CDRW/DVD drive.

I believe that the CD-ROM drive is scd0. When I do:
ls -l /dev/scd0
I get:
brw-rw---- 1 root disk 11, 0 Aug 30 18:31 /dev/scd0

When I try to mount it using the following command: mount -t iso9660 /dev/scd0 /mnt/cdrom

I get the following:

mount: block device /dev/scd0 is write-protected, mounting read-only
mount: no medium found

My etc/fstab file contains the following:

/dev/scd0 /mnt/cdrom iso9660 user, noauto,ro 0 0

I have a cd containing data in the drive.

Also I have tried an audio cd using the Gnome CD player. When I try to set the device as /dev/scd0 I get the following error message:

/dev/scd0 does not appear to point to a valid CD device


One last thing.... I have tried using sr0 in place of scd0 but that doesn't work.


What next?

Thanks.

What should I check or do next?

Thanks,

jaygee432
01-06-2003, 11:21 AM
Is it in fact a scsi drive, or do you have scsi support or emulation set?

phlipant
01-06-2003, 11:37 AM
i`ve never seen scsi on a latitude,tho i could be wrong. i know the default is ide. the /dev/scd0 is right, but you need to add something like

append="hdc=ide-scsi"

to your lilo.conf file. in my case the cdrom is on hdc. check /var/log/messages to find out which bus your cdrom is attached.

eoram
01-06-2003, 12:16 PM
I think it's actually a firewire drive masquerading as a scsi device.
I don't know how to check if emulation is set correctly.
I can't seem to find /etc/lilo.conf.

The only one i can find is /etc/lilo.conf.anaconda.

When I do a dmesg after trying to mount I get :

scsi: device set offline - not ready or command retry failed after bus reset host 0 channel 0 id 0 lun 0
sr0: scsi-1 drive
Uniform CD-ROM driver revision: 3.12
cdrom: open failed
cdrom: open failed
cdrom: open failed
cdrom: open failed

When I check /var/log/messages I see:

localhost kernel: cdrom: open failed

By the way I have the Redhat8.0 Documentation CD in the drive.

Thanks for the continuing help.

Eric

mdwatts
01-06-2003, 12:21 PM
Did you try the suggestions I posted in your other thread (http://linuxnewbie.org/forum/showthread.php?s=&threadid=82717&highlight=firewire) on the same topic?

eoram
01-06-2003, 01:43 PM
Yes I did. All of the firewire modules and their dependencies are installed:

ieee1394
ohci1394
sbp2
sr_mod


Sorry, should have replied to old thread. My mistake.

mdwatts
01-06-2003, 01:53 PM
Since you have now loaded the required modules, have you tried using sr0 again instead of scd0?

Since you cannot find /etc/lilo.conf, could it be that you are using Grub and not Lilo?

If you are, add hdc=ide-scsi to the kernel line in /boot/grub/menu.lst or grub.conf (whichever Redhat 8.0 uses).

eoram
01-06-2003, 04:01 PM
Thanks md watts. They don't call this linux newbie for nothin'. I am running Grub. I added the line hdc=ide-scsi to grub.conf. I don't understand the reasoning behind this though. I don't have a ide drive emulating scsi, I have a firewire drive emulating scsi. Help me understand the procedure. Thanks very much.

Oh yeah, sr0 does not work.

Eric

mdwatts
01-07-2003, 07:12 AM
I'm not sure if firewire uses scsi emulation or not since I've never had any firewire cards or devices.

All I did previously was search G4L for 'firewire cdrom' (http://www.google.com/linux?hl=en&lr=&ie=ISO-8859-1&q=firewire+cdrom&btnG=Google+Search).

mrBen
01-07-2003, 07:38 AM
Originally posted by eoram
Thanks md watts. They don't call this linux newbie for nothin'. I am running Grub. I added the line hdc=ide-scsi to grub.conf. I don't understand the reasoning behind this though. I don't have a ide drive emulating scsi, I have a firewire drive emulating scsi. Help me understand the procedure. Thanks very much.

Oh yeah, sr0 does not work.

Eric

CDROM drives are usually ATAPI devices, essentially a type of IDE, whichever interface they are running over. Some of the newer CDROMs and CDRWs are operated under Linux using the ide-scsi stuff, IIRC. Your firewire device is still likely to be an IDE/ATAPI CDROM running in a Firewire enclosure.

phlipant
01-07-2003, 07:53 AM
the statement

append="hdc=ide-scsi"

is for lilo, not grub.

ps. red hat uses both grub and lilo, the user must express their preference at install time.