LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 01-12-2004, 06:40 PM   #1
priest_judas
Member
 
Registered: Dec 2003
Distribution: Slackware 9.0
Posts: 32

Rep: Reputation: 15
very simples (and lamme) question about mounting


eer... how can I mount an Audio CD? I know it's a very stupid question but...


root@slackware:/home/renato# mount /dev/hdc /mnt/cdrom
/dev/hdc: Input/output error
mount: block device /dev/hdc is write-protected, mounting read-only
/dev/hdc: Input/output error
mount: you must specify the filesystem type
root@slackware:/home/renato#


pls, could anyone help me? I need to listen metallica... hehehh

Last edited by priest_judas; 01-13-2004 at 03:23 PM.
 
Old 01-12-2004, 06:47 PM   #2
chrisk5527
Member
 
Registered: Oct 2002
Location: Michigan
Distribution: Slackware Linux 10.0
Posts: 289

Rep: Reputation: 30
mount /dev/cdrom /mnt/cdrom
-or-
mount -t iso9660 /dev/cdrom /mnt/cdrom

You may not even need to specify a mount point. Try it with or without it and check your results. Did you set up the CDROM in your /etc/fstab correctly? If your not sure, check it and see if it even exists.
 
Old 01-12-2004, 06:49 PM   #3
drknow
Member
 
Registered: Jan 2004
Distribution: Shrike (RH9)
Posts: 73

Rep: Reputation: 15
Try mount /dev/hdc -r iso9960
 
Old 01-12-2004, 06:50 PM   #4
drknow
Member
 
Registered: Jan 2004
Distribution: Shrike (RH9)
Posts: 73

Rep: Reputation: 15
sorry, i forgot to specify an output directory, but you get the point. Also try using "man mount". It is very helpful .
 
Old 01-12-2004, 06:51 PM   #5
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
umm, if it is a standard audio cd, then you don't need to mount it...

just go into the cd playing tool and elect to play the audio cd in /dev/hdc or /dev/cdrom granted that /dev/cdrom is a simlink to /dev/hdc and has proper permissions
 
Old 01-12-2004, 06:58 PM   #6
drknow
Member
 
Registered: Jan 2004
Distribution: Shrike (RH9)
Posts: 73

Rep: Reputation: 15
i guess that is the definitive answer . Though all he asked to do was mount it . Just kiddin man. Someday Ill be smart like you .
 
Old 01-13-2004, 03:22 PM   #7
priest_judas
Member
 
Registered: Dec 2003
Distribution: Slackware 9.0
Posts: 32

Original Poster
Rep: Reputation: 15
there is still a problem ._.


root@slackware:/home/renato# 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
root@slackware:/home/renato#


I tryed /dev/hdc and /dev/hdd, but still the same error in both drivers... metallica's black album is in it... and I need to listeeeen to it... pls, could someone help me?
 
Old 01-13-2004, 03:32 PM   #8
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
Hi there,

if it only to listen you don't need to mount it.... like TheOneAndOnlySM said,,,
audio cd's in general ....
just listen then... choose the correct player and the links will be ready if you did the correct configuration...

Regards,

Slackie
 
Old 01-13-2004, 04:01 PM   #9
priest_judas
Member
 
Registered: Dec 2003
Distribution: Slackware 9.0
Posts: 32

Original Poster
Rep: Reputation: 15
I tryed with KsCD form KDE, but then...


CD-ROM read or access error (or no audio disc in drive).
Please make sure you have access permissions to
/dev/cdrom



how can I check if the configurations are correct?

PS: I get this message whatever if the cd drive is opened or not...
 
Old 01-13-2004, 06:25 PM   #10
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
i see that you are using slackware 9.0... which means first that your simlink may need to go to /dev/sr0

to check for this, you must tell us if you are using scsi emulation: go into /etc/lilo.conf and see if you see an entry for hdc=ide-scsi, then you have scsi emulation

if so, become root (as su) and then do rm /dev/cdrom and then do ln -s /dev/sr0 /dev/cdrom
finally, do chmod 755 /dev/cdrom (or 777 or 555 if you wish)


if you don't have scsi emulation, then make sure that /dev/cdrom is a simlink to /dev/hdc; to check for this and for permissions do
file /dev/cdrom

if you don't have scsi emulation, then just do chmod 755 /dev/cdrom
 
Old 01-13-2004, 08:40 PM   #11
priest_judas
Member
 
Registered: Dec 2003
Distribution: Slackware 9.0
Posts: 32

Original Poster
Rep: Reputation: 15
thanks dude, it worked!! the KsCD now can read the music from the cd... it keeps playing and showing the secs etc... but no audio

I checked the volume levels at KsCD, KMix and AlsaMixer, but everything is just fine... I had this problem when I was using red hat too and I could never fix it... now in slack it's happening again...

it's only a configuration problem cuz in windows I can listen to CDs... does somebody know how to fix it? my diskman batteries are running low hehehh...
 
Old 01-13-2004, 09:22 PM   #12
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
several ways to go about that problem: recompile existing kernel (probably 2.4.20), upgrade to kernel 2.6.0 with alsa, or just install alsa drivers

the easiest solution is probably to install the alsa drivers (ya i had sound problems in redhat too, thankfully alsa came and saved the day)

go to http://www.slackware.com/pb/search.p...nt&string=alsa
and download those four alsa packages, then as root, cd into the directory of to where you downloaded those files and then do pkgtool to install those packages

still as root, do alsaconf to select your sound card then use alsamixer or whatever other tool to raise the volume
 
Old 01-13-2004, 09:33 PM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,931

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Do sound work except for playing CDs? System sounds, MP3s etc.

If so then you do not have an audio cable from the CD drive connecting to the sound card. Windws XP uses digital audio extraction where the cable is no longer needed. (win 98 also required a cable).

The latest version of xmms does digital audio extraction.

BTW for mounting audio CDs I think this will work
http://freshmeat.net/projects/cdfs/?topic_id=118%2C142

Last edited by michaelk; 01-13-2004 at 09:37 PM.
 
  


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
question about mounting a new hd sunman Slackware 4 11-24-2005 03:13 AM
Mounting Question ZeroX-2 Slackware 4 12-02-2004 08:48 AM
Question about mounting johnlong_03 Slackware 4 08-01-2004 02:18 AM
mounting question... hollywoodb Linux - Newbie 4 08-26-2003 04:11 PM
Mounting question? blither Linux - General 3 01-20-2003 01:55 AM


All times are GMT -5. The time now is 04:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration