LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-06-2004, 06:17 PM   #1
m_boots
LQ Newbie
 
Registered: Mar 2004
Posts: 20

Rep: Reputation: 0
unable to mount cd rom drive


Hi,
I am unable to mount my cdrom drive.
My fstab looks like
-----
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda8 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 ro,noauto,user 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 ro,noauto,user 0 0
/dev/fd0 /mnt/floppy auto 0 0
-------
when I do
> mount -t iso9660 /dev/cdrom /mnt/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file systems

Are my links messed up?
[root@localhost murty]# ll /dev/cdrom*
lrwxrwxrwx 1 root root 8 Apr 4 18:24 /dev/cdrom -> /dev/hdd
lrwxrwxrwx 1 root root 9 Apr 4 18:24 /dev/cdrom1 -> /dev/scd0

- Do I need to change the links and/or fstab. If yes please help what and how should I modify
- why am I getting a read only message error and how do I get rid of it.
- Also is there a way I can auto mount the drives (I have two cd drives) so that I do have to mount it whenever I login or something?
I've got crazy trying to get this to work and help will be really appreciated

Marty
 
Old 04-06-2004, 06:45 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
well, the read-only message is because you can't really "write" to a cd-rom...

=)

can't tell why it's failing to mount the cd, though... a few questions:

you sure the cd is fine???

it's not a music cd or something like that, right???

also, make sure there isn't something mounted at that spot already...

Last edited by win32sux; 04-06-2004 at 07:00 PM.
 
Old 04-06-2004, 06:51 PM   #3
m_boots
LQ Newbie
 
Registered: Mar 2004
Posts: 20

Original Poster
Rep: Reputation: 0
hehe thanks for correcting
Actually it is a music CD. How do I play it then.
Thanks
 
Old 04-06-2004, 06:59 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
you access the songs directly from the device file...

like, with xmms, you just make sure you have a cd-reading plugin enabled, and then you just tell it to look for the songs in /dev/cdrom or whatever device file represents your cd-rom drive...

also, if you enable the cddb plugin, you'll get the titles for all the songs and stuff...

Last edited by win32sux; 04-06-2004 at 07:04 PM.
 
Old 04-06-2004, 07:22 PM   #5
m_boots
LQ Newbie
 
Registered: Mar 2004
Posts: 20

Original Poster
Rep: Reputation: 0
I tried using xmms and nothing happened. Do you think the links (in my first append) has anything to do with this. Also how do i have a cd-reading plugin enabled?
 
Old 04-06-2004, 07:38 PM   #6
m_boots
LQ Newbie
 
Registered: Mar 2004
Posts: 20

Original Poster
Rep: Reputation: 0
I tried using the alsa player and then I try to play /dev/cdrom and it says no stream. When I eject and put the cd back again KsCD comes up and when I try playing it the time on the player says 73:22 and starts decreasing (like it would increase when playing a CD) but I hear no sound. I have sound configured I guess because I can hear the test sound.
I am like really on the verge of getting sound!!!! have been trying from a long time...
someone pls help.....
 
Old 04-06-2004, 07:50 PM   #7
m_boots
LQ Newbie
 
Registered: Mar 2004
Posts: 20

Original Poster
Rep: Reputation: 0
Do I need to change permissions anywhere or something? Also do I need to configure any audio plugin (I'm asking this because with xmms in options->preferences you can configure i/o plugins. However I am unsure about the options....if someone can go over this step by step with me it would be a BIG help!!!!
 
Old 04-06-2004, 07:54 PM   #8
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
in xmms configuration/preferences there's a section for configuring your "input plugins"... one of the plugins should be the one for reading cd audio... make sure it's enabled...

your xmms works, right??? i mean, you CAN listen to mp3s... just not cds (yet)... right???
 
Old 04-06-2004, 08:40 PM   #9
m_boots
LQ Newbie
 
Registered: Mar 2004
Posts: 20

Original Poster
Rep: Reputation: 0
Yes I can play mp3's in the alsaplayer, but not in xmms. This is what happens
If I am root I get this
[root@localhost murty]# xmms&
[root@localhost murty]# mcop warning: user defined signal handler found for SIG_PIPE, overriding
/tmp/mcop-murty is not owned by user
[root@localhost murty]# ls /tmp/mcop-murty/
Arts_AudioManager localhost_localdomain-0fe3-4071f988
artsd-samples localhost_localdomain-1db8-4071f007
Arts_MidiManager localhost_localdomain-1dbd-4071f03d
Arts_PlayObjectFactory localhost_localdomain-1dc1-4071f04a
Arts_SimpleSoundServer localhost_localdomain-1dc5-4071f05f
Arts_SoundServer secret-cookie
Arts_SoundServerV2

If I am a user and I bring up xmms and try to play an mp3 nothing happens. I have all plugins enabled (though I'm not sure why the CD Audio Player 1.2.7 p[ugin is disabled each time I restart xmms)

Atleast mp3s on alsaplayer works!!! now if only I get audio cds to work
 
Old 04-06-2004, 09:01 PM   #10
m_boots
LQ Newbie
 
Registered: Mar 2004
Posts: 20

Original Poster
Rep: Reputation: 0
Ok..some more progress...now I can play mp3s with xmms when a user. I still get the same error as above when I try playing as root...
 
Old 04-06-2004, 09:18 PM   #11
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
if you're using alsa, make sure the output plugin on xmms is set to alsa...

why on earth would you want to run xmms as root???
 
Old 04-06-2004, 10:00 PM   #12
m_boots
LQ Newbie
 
Registered: Mar 2004
Posts: 20

Original Poster
Rep: Reputation: 0
The output plugin for xmms is set to eSound Output Plugin 1.2.7.
Now I can play mp3's with both xmms & alsa....playing audio cd's remains...
 
  


Reply



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
Unable to mount CD Rom drive during boot harisund Linux - Hardware 0 11-24-2005 04:32 PM
Unable to mount CD. Possibly my CD-ROM just dead? z-vet Linux - Hardware 3 03-19-2005 06:26 AM
unable to mount cd-rom during installation magicked Linux - Newbie 13 10-14-2003 11:39 PM
Problem: Unable to mount CD-ROM Tayl Linux - Newbie 6 07-18-2002 08:54 AM
NEW CD-ROM drive, can't mount it!! DenShinobi Linux - Newbie 3 04-11-2002 06:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:54 PM.

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