LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-02-2003, 12:24 PM   #1
fractal_chaos
Member
 
Registered: Aug 2003
Location: long island, ny
Distribution: RH, SuSE, FC
Posts: 59

Rep: Reputation: 15
Question 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
 
Old 09-02-2003, 12:39 PM   #2
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
try a program such as
gcd
or
grip
 
Old 09-02-2003, 12:42 PM   #3
fractal_chaos
Member
 
Registered: Aug 2003
Location: long island, ny
Distribution: RH, SuSE, FC
Posts: 59

Original Poster
Rep: Reputation: 15
tried to run grip...

$ grip
Error: Unable to initialize [/dev/cdrom]
 
Old 09-02-2003, 12:43 PM   #4
fractal_chaos
Member
 
Registered: Aug 2003
Location: long island, ny
Distribution: RH, SuSE, FC
Posts: 59

Original Poster
Rep: Reputation: 15
tried cdplay...

$ cdplay
/dev/cdrom: No such file or directory
 
Old 09-02-2003, 02:57 PM   #5
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Try adding to fstab:
/dev/cdrom /mnt/cdrom iso9660 noauto,user,kudzu,ro 0 0
 
Old 09-02-2003, 03:05 PM   #6
fractal_chaos
Member
 
Registered: Aug 2003
Location: long island, ny
Distribution: RH, SuSE, FC
Posts: 59

Original Poster
Rep: Reputation: 15
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
 
Old 09-02-2003, 04:04 PM   #7
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Try playing grip now. You don't mount music cd's
 
Old 09-02-2003, 04:08 PM   #8
fractal_chaos
Member
 
Registered: Aug 2003
Location: long island, ny
Distribution: RH, SuSE, FC
Posts: 59

Original Poster
Rep: Reputation: 15
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
 
Old 09-02-2003, 06:00 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,367

Rep: Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457
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.
 
Old 09-02-2003, 07:28 PM   #10
fractal_chaos
Member
 
Registered: Aug 2003
Location: long island, ny
Distribution: RH, SuSE, FC
Posts: 59

Original Poster
Rep: Reputation: 15
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
 
Old 09-02-2003, 11:02 PM   #11
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
try chmod /dev/cdrom 444 this gives all users full permission for this device
 
Old 09-03-2003, 02:00 AM   #12
sandeep
LQ Newbie
 
Registered: Feb 2001
Location: India
Distribution: RedHat8
Posts: 8

Rep: Reputation: 0
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 ?
 
Old 09-03-2003, 08:30 AM   #13
BenPope
LQ Newbie
 
Registered: Sep 2003
Location: England
Distribution: Gentoo 1.4
Posts: 11

Rep: Reputation: 0
What does

Code:
hdparm -i /dev/hdc
tell you?
 
Old 09-03-2003, 09:50 AM   #14
fractal_chaos
Member
 
Registered: Aug 2003
Location: long island, ny
Distribution: RH, SuSE, FC
Posts: 59

Original Poster
Rep: Reputation: 15
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
 
Old 09-03-2003, 11:07 AM   #15
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Try
/sbin/hdparm -i /dev/hdc
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New to linux, so so lost, auto mounting issues, permissions issues slowhand22 Linux - Newbie 2 02-10-2005 09:41 AM
Issues mounting a HD moeru Linux - Hardware 5 07-03-2004 04:56 PM
mounting issues varunbihani Linux - Software 3 06-20-2004 03:43 PM
Mounting Issues lookformeb Linux - Newbie 8 11-13-2003 09:15 AM
Mounting Issues MasterKin8T Linux - Software 3 09-06-2003 10:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration