Click to See Complete Forum and Search --> : CD ROM Locked


geckolabs
02-21-2001, 11:34 PM
I was trying to install a rpm from my mandrake cd when I noticed that it was locked. I have tried to access it as a user and as root. Is the automount not mounting it correctly or do I have to adjsut some settings?

debiandude
02-21-2001, 11:42 PM
I not sure exactly what you mean. Can you not eject the device. Is so then you can either:
eject
or
umount /dev/cdrom

That should do.
Good luck.

FyberOptyx
02-22-2001, 12:45 AM
Post the line from your fstab refering to your cdrom

geckolabs
02-22-2001, 12:05 PM
My fstab looks as follows :

/dev/hda5 / 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/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0
/dev/hda1 /mnt/win_c vfat user,exec,umask=0 0 0
/dev/hdb2 /mnt/win_c2 vfat user,exec,umask=0 0 0 none
/proc proc defaults 0 0
/dev/hdb1 swap swap defaults 0 0

What I was speaking of when I say locked is that when i pull of the konqueror window that lists all of my partitions, directorys and files, the folder that is assigned to the cdrom has a lock icon on it. When it is clicked it says i dont have permission to open the CDROM, even when I am root.

FyberOptyx
02-22-2001, 08:41 PM
Can you not access it from the CLI?
I take it you have used the CDROM before with no probs?
I have not used supermount myself but from reading on it, your fstab looks OK.
Here is an example from the supermount Readme:
/cd /cd supermount ro,fs=iso9660,dev=/dev/hdd,--,conv=binary 0 0

Here is the readme:
web page (http://www.ibiblio.org/pub/Linux/kernel/patches/diskdrives/supermount-0.6.README)

In my fstab I refer to my cdrom as hdc. you could try this if there is no link or create a link if it doesn't exist.

If this doesn't work repost.

geckolabs
02-23-2001, 02:11 PM
I tried to change the device from
/dev/cdrom to
/dev/hdc

Also tried to change the format to that of the hda,hdb with no avail

FyberOptyx
02-24-2001, 01:32 PM
I don't have X installed on my setup so I cannot help with any GUI apps.
Have you been able to use the CDROM before or is it something that has just happened?.
Is there a /mnt/cdrom directory?

geckolabs
02-24-2001, 05:00 PM
I could use the CDROM during intall but ever since then I can't read from it. And yes there is a /mnt/cdrom directory

FyberOptyx
02-24-2001, 05:50 PM
Did you install the ISO9660 driver when installing Linux?
I think I had to select the driver myself.


"Verify that the ISO 9660 drivers are active by examining the contents of the /proc/filesystems file. You should see this line under the nodev section:

ISO9660
This is taken from an old book so may not be 100%

[ 24 February 2001: Message edited by: FyberOptyx ]

geckolabs
02-25-2001, 01:55 PM
The ISO9660 is listed but I went scouting around the /proc/ide/hdc directory and found a driver file. Upon opening it in VI all that was there was:

(none)
~
~
~


Should there be something there?

FyberOptyx
02-25-2001, 11:59 PM
"Verify that the ISO 9660 drivers are active by examining the contents of the /proc/filesystems file. You should see this line under the nodev section:

I got this from a book and also saw it in a HOWTO.

I have ISO 9660 in my kernel but there is nothing in the above file on mine???????
Sorry about this but as all my surfing is done in Windows (don't like lynx and no X) it is a pain keep rebooting in Linux every time to check something if you understand, so I am checking the online help like yourself.

Anyway, I just checked my /var/log/kern.log file and there is a reference to ISO 9660 Extensions and further up it finds my ATAPI Cdrom.

Have a look in this file for similar references. If there is none then you will probably have to link IS0 9660 support into your kernel.

I read that sometimes when you are installing Linux from a floppy, it includes support for 9660 into the floppy kernel while you install from cdrom but doesn't copy the support onto the hard drive kernel.
That is why it works on install then doesn't after that.

Again, sorry for the previous message. But saying that, maybe there should be something in that file and mine is screwed hehe. :D

prince_kenshi
02-26-2001, 07:57 AM
In my /proc/ide/hdc/driver file, it is written:

ide-cdrom version 4.59

So I don't really think that the contents are very significant for it's operation. Actually, from looking at the rest of the files, I think that all but one are just information for other programs to read and be able to tell stuff about your system. They are readable by all users after all. The one exception is the file identify. It's readable only by root, and when I cat this file, it shows a bunch of hex. If any of these files are significant in the operation of your cd-rom, I'd say that it's this file.

ds801
02-26-2001, 06:33 PM
Mandrake's web site has a tutorial that deals with this problem. You have to re-create the link for the cd-rom drive. The tutorial is for a cd-rw, so just change the last part to the name of the IDE dev.
http://www.linux-mandrake.com/en/demos/Tutorial/CDburner/

FyberOptyx
02-26-2001, 07:54 PM
I'm not sure it is the link as he has tried mounting the device as hdc therefore bypassing the cdrom link.
But hey, what do I know, only been using Linux for 2 months - Worth a try :)

Have you got it working yet?
If so let us know what it was :)

geckolabs
02-27-2001, 10:48 PM
I think ds801 was on the right track with my problem. That was the situation I was having however, when I did a scanbus it only showed my zip drive. For that reason I have come to the conclusion to scrap this install and try to install again. This time w/o the zip drive (usb) inserted. I WOULD ALSO LIKE TO THANK EVERYONE THAT POSTED TO THIS QUESTION. I REALLY APPRECIATE ALL OF YOUR HELP. I am sure that I will need help in the near future and will be posting more so keep looking for me ha ha. Maybe sometime soon I will be able to help some of you! :p

Thanks again everyone