LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-08-2006, 08:14 PM   #1
pepperwood
Member
 
Registered: Nov 2005
Posts: 61

Rep: Reputation: 18
Linux "Error CD"


Dear Forum Members - I don't quite know where to post this - It goes like this: Just installed a DVD Rom RW in PC. Currently learning to use Xandros 3.0 on this Unit. Cannot get Audio CD to play. ERROR CD - "Unable to initialize CD-Rom for playback. Make sure you have permission to access the device(/dev/hdc) and an audio CD in drive?" That last part, I understand, and yes I do have an audio cd in drive. However, thats all I get . Is there somebody that can assist with sorting this out for me. Thank you so very much with your assistance. pepper
 
Old 04-09-2006, 01:05 AM   #2
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
BY providing more detail about what is causing the problem, you will get a more acurate response. Without the proper information I can only attempt to guess at what the problem is. Did you mount your cdrom drive to a mount point? If so, where and how? If you did not, switch over to root by typing su and then try:
Code:
mount /dev/cdrom /mnt/cdrom
I'm not sure how familure you are with linux but all storage devices must be "assigned a folder" called a mount point. If you want to access the files on that device you would simply change to the directoy where it is mounted. The standard is to mount the cdrom to /mnt/cdrom, the floppy to /mnt/floppy, ..etc.

If you allready did that, then the problem is possibly a permissions error. If that is the case, make sure there is a line in your /etc/fstab that reads like this:
Code:
/dev/cdrom       /mnt/cdrom       auto        noauto,user,ro  0   0
the "user" part would allow any user on your system to mount that type of device. If you don't want that, replace "user" with "owner" and only root will be able to mount the drive.

If you are still having problems with this, try to provide more information and I would be happy to help.

regards,
...drkstr

Last edited by drkstr; 04-09-2006 at 01:08 AM.
 
Old 04-09-2006, 09:53 AM   #3
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,780

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Actually if it's an audio CD then you shouldn't mount it, there's no file system on it. see http://jamesthornton.com/linux/Intro...ect_07_04.html

I'd say the first thing to do is check the permissions on /dev/hdc. This is the file that is associated with the cd drive. To this run ls -l /dev/hdc. I get

brw-rw---- 1 root cdrom 22, 0 2006-04-09 05:43 /dev/hdc

The b means it is a block device, ie not a normal file, the first rw means the owner can read and write, the second rw means users in the group can read and write. The owner is root, and the group is cdrom. If you get something like this, it is likely that your user account is not a member of the cdrom group, which is why you don't have permission to access the CD. To add yourself to the cdrom group, run su, enter root password, then open the /etc/group file in your favourite text editor. Find the line with cdrom:x:24: (or possibly some other number) and add your user name to the end of it.
 
Old 04-09-2006, 12:08 PM   #4
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Thanks for the correction ntubski, I don't have a sound card so I've never attempted to mount an audio CD. I will keep that in mind if I ever get one.

thanks!
...drkstr
 
Old 04-09-2006, 09:55 PM   #5
pepperwood
Member
 
Registered: Nov 2005
Posts: 61

Original Poster
Rep: Reputation: 18
Dear Sir - You wrote:
Did you mount your cdrom drive to a mount point? If so, where and how? If you did not, switch over to root by typing su and then try:
Code:
mount /dev/cdrom /mnt/cdrom
Can't help you much there as I'm not familiar with a mount point?
I'm not sure how familure you are with linux but all storage devices must be "assigned a folder" called a mount point. If you want to access the files on that device you would simply change to the directoy where it is mounted. The standard is to mount the cdrom to /mnt/cdrom, the floppy to /mnt/floppy, ..etc.
Not too familiar - but was able to find the control panel. I presume that xandros would automatically detect & install the DVD Rom & that I could live happily ever after Thank you for your input as I have much to learn.
 
Old 04-09-2006, 10:08 PM   #6
pepperwood
Member
 
Registered: Nov 2005
Posts: 61

Original Poster
Rep: Reputation: 18
Dear Sir - You Wrote: It's a DVD Rom and I presume that it could play Audio CDs. Here again I thought that the hardware would automatically be detected & installed by Xandros. You got newbie senior when you use the term mounted??? Have no clue!

Quote:
Originally Posted by ntubski
Actually if it's an audio CD then you shouldn't mount it, there's no file system on it. see http://jamesthornton.com/linux/Intro...ect_07_04.html

I'd say the first thing to do is check the permissions on /dev/hdc. This is the file that is associated with the cd drive. To this run ls -l /dev/hdc. I get brw-rw---- 1 root cdrom 22, 0 2006-04-09 05:43 /dev/hdc. I know how to launch program. Can go to the control panel. I cannot locate permissions tab as you call it??

The b means it is a block device, ie not a normal file, the first rw means the owner can read and write, the second rw means users in the group can read and write. The owner is root, and the group is cdrom. If you get something like this, it is likely that your user account is not a member of the cdrom group, which is why you don't have permission to access the CD. To add yourself to the cdrom group, run su, enter root password, then open the /etc/group file in your favourite text editor. Find the line with cdrom:x:24: (or possibly some other number) and add your user name to the end of it.
Thank you also for your input I can see I have much too learn concerning Linux.

Pepper
 
Old 04-10-2006, 10:11 AM   #7
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,780

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Quote:
Originally Posted by pepperwood
I know how to launch program. Can go to the control panel. I cannot locate permissions tab as you call it??
Sorry, I'll try to explain more clearly. First launch a terminal (konsole or xterm) then type
Code:
ls -l /dev/hdc
and hit enter. This is what I meant by running ls -l /dev/hdc.

It might also be possible to view and change the permissions from your graphical file manager, unfortunately I don't how it works.

PS: don't put your answer inside the [quote] tags, I nearly missed what you said.
 
Old 04-10-2006, 02:00 PM   #8
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Quote:
I know how to launch program. Can go to the control panel. I cannot locate permissions tab as you call it??
I just wanted to interject something. It sounds like your pretty new to linux and have not yet gotten familiar with the command prompt. I would take some time to learn a little bit about linux commands on the console. The console is the heart of linux and you will not be able to do everything you need in the windows manager alone. Also, most of the replies you will get on this forum will give you instructions that need to be done at the command prompt. To open a console, just find the program your windows manager uses to open a command prompt. Under KDE its under system->Konsole. If you can't find a suitable one you can just run the command xterm. I warn you though, xterm is very basic and not very friendly to use. A lot of commands need to be run as root. To switch over to root (Administrator) just type su ath the command prompt and enter in the root password. I just wanted to expand on this a bit since it is a common problem with people used to working in a windows enviroment.

This is a good document to read when first starting linux. It explains a lot about how to use the command prompt.

http://tldp.org/HOWTO/DOS-Win-to-Linux-HOWTO.html

Once you are comfortable working on the console, follow the directions ntubski has given you to get your CD working.

regards,
...drkstr

Last edited by drkstr; 04-10-2006 at 02:03 PM.
 
Old 04-10-2006, 08:25 PM   #9
pepperwood
Member
 
Registered: Nov 2005
Posts: 61

Original Poster
Rep: Reputation: 18
[QUOTE=ntubski]Sorry, I'll try to explain more clearly. First launch a terminal (konsole or xterm) then type
Code:
ls -l /dev/hdc
and hit enter. This is what I meant by running ls -l /dev/hdc.

It might also be possible to view and change the permissions from your graphical file manager, unfortunately I don't how it works.

PS: don't put your answer inside the
Quote:
tags, I nearly missed what you said.
It happens that I'm not only new to the linux console, as I believe it is referred to, but I'm also trying to learn how to post to our forum. When I get some confidence I will start up xandros and launch a terminal then type in the [code] as you posted it and see if I can get the permission that is required. Thanks for your patience. pepper
 
Old 04-10-2006, 08:44 PM   #10
pepperwood
Member
 
Registered: Nov 2005
Posts: 61

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by drkstr
I just wanted to interject something. It sounds like your pretty new to linux and have not yet gotten familiar with the command prompt. I would take some time to learn a little bit about linux commands on the console. The console is the heart of linux and you will not be able to do everything you need in the windows manager alone. Also, most of the replies you will get on this forum will give you instructions that need to be done at the command prompt. To open a console, just find the program your windows manager uses to open a command prompt. Under KDE its under system->Konsole. If you can't find a suitable one you can just run the command xterm. I warn you though, xterm is very basic and not very friendly to use. A lot of commands need to be run as root. To switch over to root (Administrator) just type su ath the command prompt and enter in the root password. I just wanted to expand on this a bit since it is a common problem with people used to working in a windows enviroment.

This is a good document to read when first starting linux. It explains a lot about how to use the command prompt.

http://tldp.org/HOWTO/DOS-Win-to-Linux-HOWTO.html

Once you are comfortable working on the console, follow the directions ntubski has given you to get your CD working.

regards,
...drkstr
The how to Link is something that I most certainly need and should prove very helpful with In time hoping to become somewhat familiar with Xandros & other Distros. Like what I see with Xandros but have a ways to go to become Microsoft OS free. Rather anxious to follow up on the directions ntubski enclosed. If it works It'll make my day and than some. cordially, pepper
 
  


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
avgscan "relocation error" "undefined symbol: __dynamic_cast_2" Monster_user Linux - Software 0 02-22-2006 11:57 AM
k3b: "error decoding audio tracks" and "could not unlock cd driver" lefty.crupps Linux - Software 7 10-13-2005 11:29 AM
"mythtv-setup" giving "Session management error: Authentication Rejected" Mitchua Ubuntu 0 10-09-2005 04:32 PM
FC4 install errors, "diabling IRQ #10" "nobody cares" error message??? A6Quattro Fedora 6 07-20-2005 12:49 PM
LFS 4.1: Stalled at Perl, "missing seperator" error from "make" SparceMatrix Linux From Scratch 1 06-07-2003 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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