Click to See Complete Forum and Search --> : CDROM access problem


clane
01-04-2004, 08:29 PM
I have an internal CDRom/RW drive and an internal DVD drive. Both are factory original to my Compaq Presario AMD1Ghz box (several years old). I have 2 problems, probably related. First, I can push the front panel button and open my DVD drive and open the door, but can't read the contents of the drive when I put a CD in it. The CDROM/burner drive won't open at all when I push the front panel button. Previously (several months ago) both drives worked. As you can see from my last sentence, I don't use these drives much, but need them now.

When I use konqueror to view these drives (/mnt/cdrom and /mnt/cdrom2) both have padlocks on them. When I click on the icons, I get a message like this:
"Unable to enter file:/mnt/cdrom2. You do not have access rights to this location"
Even though I am trying to view the contents as root (su).

If I try to cd to /mnt/cdrom or cd to /mnt/cdrom2 from a terminal window, I get this error:
bash: cd: cdrom2: Input/Output error

Here are the contents of my fstab:
/dev/hda1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda6 /home ext3 defaults 1 2
/dev/hdb1 /mnt/backup vfat iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0

tmcG
01-04-2004, 08:41 PM
Your entires for floppy appear to be in the same format (as far as permissions go) as your CD drives

Can you access the floppy drive or does that give you the same error?

My thought is that you do not have permission and will need to add the users group to each line of the fstab

MMYoung
01-04-2004, 09:01 PM
Might be wrong but I would change the fs=auto to fs=iso9660. I used to run Mandrake 9.1 and the fstab NEVER listed the filesystem for either of my cdroms as "auto".

Might be worth a try.

Later,
MMYoung

clane
01-04-2004, 09:07 PM
Might be wrong but I would change the fs=auto to fs=iso9660. I used to run Mandrake 9.1 and the fstab NEVER listed the filesystem for either of my cdroms as "auto".

I'll try changing these and see what happens

Your entires for floppy appear to be in the same format (as far as permissions go) as your CD drives
When I look at the floppy icon in konqueror when the floppy drive is empty, it has a lock on it. When I put a floppy in the drive, the drive can be read and the lock goes away. The CD drives on the other hand always have the "lock" icon.

clane
01-04-2004, 09:12 PM
I tried changing fs=auto to fs=iso9660. No change. Can't read drive contents from the DVD drive and can't get the drive door open on the CDROM drive.

Also, when I enter the command:
umount /mnt/cdrom (or umount /mnt/cdrom2)
and then look at the icons for the drive (from konqueror) the lock goes away and I can click the icon, but there is nothing to view, even though I have a CD in the drive.

tmcG
01-04-2004, 09:34 PM
Seeing you can access the floppy, it may not be permissions.

Do you use LILO as your boot manager?

If so, when you next boot up, at the LILO prompt, try the following (without the hash symbol)

# linux ide=nodma

This will disable Direct Memory Addressing to your IDE devices which has helped me to solve similar issues in the past (although it was with Slackware)

I notice that one of your drives is a SCSI (I am guessing the burner is a SCSI drive?):confused:

The ide=nodma options will not affect that but if the DVD drive works that may be one step closer to resolving the problems:)

clane
01-04-2004, 09:41 PM
Yes, I use LILO. I'll try the nodma command the next time I boot, but it's been 3 months since I've turned this PC off, so rebooting isn't something that I would prefer to do.

I have a SCSI card for my scanner. Previously had a JAZ drive connected. As far as I know, everything internal to my PC is IDE including the CD's