LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cd mounting issues (https://www.linuxquestions.org/questions/linux-newbie-8/cd-mounting-issues-88459/)

fractal_chaos 09-02-2003 12:24 PM

cd mounting issues
 
i recently reinstalled RH9 from the cdrom, so thus my cd-drive does actually function correctly. however, when i put in a music cd, nothing happens. usually i would expect the cd to mount automatically.

when i try to mount it manually...

# mount /dev/hdc /mnt/cdrom/
mount: /dev/hdc is not a valid block device

my fstab entry for that device is as follows (one line):

/dev/hdc /mnt/cdrom udf,iso9660 noauto,user,kudzu,ro 0 0

i also notice that i have no /dev/cdrom defined. is this of significance?

THANKS

darthtux 09-02-2003 12:39 PM

try a program such as
gcd
or
grip

fractal_chaos 09-02-2003 12:42 PM

tried to run grip...

$ grip
Error: Unable to initialize [/dev/cdrom]

fractal_chaos 09-02-2003 12:43 PM

tried cdplay...

$ cdplay
/dev/cdrom: No such file or directory

darthtux 09-02-2003 02:57 PM

Try adding to fstab:
/dev/cdrom /mnt/cdrom iso9660 noauto,user,kudzu,ro 0 0

fractal_chaos 09-02-2003 03:05 PM

thanks for the help so far ...

added the line to my fstab. tried the following...

# mount /mnt/cdrom/
mount: special device /dev/cdrom does not exist

darthtux 09-02-2003 04:04 PM

Try playing grip now. You don't mount music cd's

fractal_chaos 09-02-2003 04:08 PM

thanks for the continuing help

i tried grip, but got a "No Disc" error

i tried cdplay again...

$ cdplay
/dev/cdrom: No such file or directory

michaelk 09-02-2003 06:00 PM

There is nothing wrong with your fstab entry for the device except for the fact there was an error.

/dev/cdrom is a link to the actual cdrom device which in your case should be /dev/hdc. Look at the hardware detection GUI to see what device if any RH thinks it should be.

If you want to create a link to /dev/hdc then:
ln -s /dev/hdc /dev/cdrom

You can change the configuration of cdplay with the actual cdrom device. There should be some kind of configuration button.

fractal_chaos 09-02-2003 07:28 PM

thanks for your input...

i put my fstab back to the /dev/hdc version i listed earlier and opened the gnome cdplayer. i got the following message:
<snip>
/dev/hdc does not appear to point to a valid CD device. This may be because:
a) CD support is not present in your machine
b) You do not have the correct permissions to access the CD drive
c) /dev/hdc is not the CD drive.

This means that the CD player will not be able to run.
</snip>

i made a link to /dev/hdc called /dev/cdrom and configured the player to point to this "new" device instead. i get the same message from the player except it reads

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

THANKS for any help here

mcd 09-02-2003 11:02 PM

try chmod /dev/cdrom 444 this gives all users full permission for this device

sandeep 09-03-2003 02:00 AM

usually the /dev/cdrom is symlinked to /dev/hd<some char>
on my m/c it is /dev/hdd also a ls -l /dev/hdd reveals this:

0 brw------- 1 sandeep disk 22, 64 Aug 31 2002 /dev/hdd

check for the 'b' in the second column, this indicates that this is a block device. Whats your /dev/hdc like ?

BenPope 09-03-2003 08:30 AM

What does

Code:

hdparm -i /dev/hdc
tell you?

fractal_chaos 09-03-2003 09:50 AM

thanks all for the help...

mcd, i did the chmod you suggested, but no change in gnome cdplayer message. i have a feeling that i have no cd support for this machine, but am not sure how to diagnose that...any hints?

sandeep, here is my cd-related device and link

br--r--r-- 1 root disk 22, 0 Jan 30 2003 /dev/hdc

lrwxrwxrwx 1 root root 3 Sep 2 13:43 /dev/cdrom -> hdc

benpope, i get a "command not found" message using hdparm. what does that script do? perhaps it's not included with my distro?

THANKS

darthtux 09-03-2003 11:07 AM

Try
/sbin/hdparm -i /dev/hdc


All times are GMT -5. The time now is 08:16 PM.