LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-09-2006, 06:31 AM   #1
Frank Soranno
Member
 
Registered: Jun 2005
Location: Scranton, Pa. USA
Distribution: Debian
Posts: 230

Rep: Reputation: 30
Red face Unable to mount cdrom?


Iv'e been trying to play my cdrom, Can't seem to get it working, I tried the following and can't seem to get it right, need help.

root@fvs:~# chmod 644 /dev/hdc
root@fvs:~# mount /dev/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: you must specify the filesystem type
root@fvs:~# pico /etc/fstab
root@fvs:~# chmod 644 /dev/cdrom
root@fvs:~# mount /dev/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: you must specify the filesystem type
root@fvs:~
What do I do for filesystem type?
 
Old 11-09-2006, 06:55 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,691

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
It appears you are trying to mount an audio CD. This is not possible because an audio CD does not contain a filesystem. Just start your CD player applications. Depending on which application you will need to select the digital playback mode unless you have an audio cable connected to the sound card.
 
Old 11-09-2006, 07:31 AM   #3
Frank Soranno
Member
 
Registered: Jun 2005
Location: Scranton, Pa. USA
Distribution: Debian
Posts: 230

Original Poster
Rep: Reputation: 30
Red face

Can't get sound after cd starts? I do have audio cable on sound card. I have sound on desktop and on realplayer in browser.I can't get any DVD after xine launches either? Where to look?
Do I need /dev/dvd in my fstab?

/dev/hdb2 swap swap defaults 0 0
/dev/hdb1 / reiserfs defaults 1 1
/dev/cdrom /mnt/cdrom auto noauto,users,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,users,ro 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

Is this right?

Last edited by Frank Soranno; 11-09-2006 at 07:33 AM.
 
Old 11-09-2006, 07:46 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,691

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
What application are you using to play audio CDs?
Did you check the mixer to see if the CD audio level is adjusted correctly.

Players do not use the fstab but need to be configured with the correct device id.
 
Old 11-09-2006, 09:16 AM   #5
Frank Soranno
Member
 
Registered: Jun 2005
Location: Scranton, Pa. USA
Distribution: Debian
Posts: 230

Original Poster
Rep: Reputation: 30
KsCd for cd and for dvd xine,
What device id is needed?
sorannos@fvs:/dev$ ls -l /dev/cdrom
lrwxrwxrwx 1 root root 8 2006-11-08 06:32 /dev/cdrom -> /dev/hdc
How's this?

Edit,
I tried "Amarok" and it played the music CD, Now I need to get DVD player to play my dvd's, I have xine installed, it launches, but did'nt play, I have an error message
"There's no input plugin avaiable to handle /dvd:/"

Last edited by Frank Soranno; 11-09-2006 at 09:44 AM.
 
Old 11-09-2006, 09:54 AM   #6
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 400

Rep: Reputation: 33
In order to play DVD movies, you will need additional libraries for this to occur. Typically, I have installed three: libdvdcss, libdvdread, and libdvdnav, in order to play DVD movies in Linux. I don't know if you need all three, but after installation I am able to watch DVD movies w/o any problems. If you search Google you should be able to find these libraries.
 
Old 11-09-2006, 09:57 AM   #7
Kingscriber
Member
 
Registered: Nov 2004
Distribution: Slackware, CentOS
Posts: 85

Rep: Reputation: 16
in this line of your fstab :

dev/cdrom /mnt/cdrom auto noauto,users,ro 0 0

the third parameter says "auto". This specifies the filesystem. So...

Quote:
originally posted by michaelk

This is not possible because an audio CD does not contain a filesystem.
really isn't true. ISO9660, Joliet (unicode FS to enable filenames to have unicode chars) by MS.

whenever you attempt to mount directly from /dev, it is from my experience that you must specify the filesystem. This is why it gave you this error:

"you must specify the filesystem type"

So, do a "man" on mount. You will see some options. Look into the "-t" switch. It will help.

Obviously it the device is not mounting correctly, "device id" is basically "/dev/***" in your case fstab set it to "/dev/hdc". goto /mnt/ and type "mount cdrom". this command "will look directly in fstab". Try that.

Quote:
originally posted by Frank Sorano:

I do have audio cable on sound card. I have sound on desktop and on realplayer
this is different than what you think. when you have "sound on your desktop" and on "realplayer" The player is reading directly from your system disk and not a cd rom, so of course you would have sound. What michaelk means is make sure that you have a cable running directly from your dvd/cdrom drive to your sound card.

Hopefully this helps.
 
Old 11-09-2006, 10:57 AM   #8
Frank Soranno
Member
 
Registered: Jun 2005
Location: Scranton, Pa. USA
Distribution: Debian
Posts: 230

Original Poster
Rep: Reputation: 30
Wink

king,
That was the cable I'm talking about, from my card to motherboard,I have that cable installed and it works, I have dual drives hda, hdb, hda has fedora core 5 and everything works great, this is just another distro on hdb or slave drive that I'm trying to learn Slackware.

swampdog2002,
I do have libdvdcss, libdvdread, libdvdread installed,

Last edited by Frank Soranno; 11-09-2006 at 11:00 AM.
 
Old 11-09-2006, 11:53 AM   #9
Kingscriber
Member
 
Registered: Nov 2004
Distribution: Slackware, CentOS
Posts: 85

Rep: Reputation: 16
Quote:
originally posted by Frank Sorano

That was the cable I'm talking about, from my card to motherboard
Well, that would be a different cable then. The cable I am talking about is going from the cdrom device (optical drive) to the sound card.
 
Old 11-09-2006, 12:14 PM   #10
Frank Soranno
Member
 
Registered: Jun 2005
Location: Scranton, Pa. USA
Distribution: Debian
Posts: 230

Original Poster
Rep: Reputation: 30
Red face

Sorry, I do have that attached. Optical drive to sound card.
 
  


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 CDROM Madone_SL_5.5 Linux - Newbie 6 10-29-2006 04:01 PM
Unable to mount cdrom justanothersteve Linux - Hardware 2 01-27-2006 03:01 AM
unable to mount cdrom adhara Linux - Hardware 3 12-16-2003 08:32 AM
unable to mount cdrom KalMyster Linux - Newbie 0 09-04-2003 03:46 PM
Unable to mount cdrom jreed Linux - General 11 08-28-2002 02:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:02 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