LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 09-13-2010, 08:08 AM   #1
Sjonnie48
Member
 
Registered: Jun 2005
Location: Earth
Distribution: Ubuntu10.04
Posts: 308

Rep: Reputation: 43
ubuntu10.04: cd-rom not mounting


Many times the cd-rom station cannot be used because it does not show in the file-manager. Whenever I want to start a music cd extraction the program cannot find the cd.
After "#cat /proc/filesystems" I get a listing of all the file systems, but there is no iso9660 file system, which means that the device was not detected.

How can I ensure that I can use it at all times?

I run with a gnome desktop.

Last edited by Sjonnie48; 09-13-2010 at 09:06 AM. Reason: additional information
 
Old 09-13-2010, 10:12 AM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,870

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
You do not mount music CD's. If you want the music files off, you need a ripping program. The ripping program will be able to read the music file, and create an output file on your system. You can choose the type of compression you like, assuming you have the correct files installed. ie .mp3 or .ogg or what ever you like. I use Grip, it is on most of the repos, there are others.

If you want to play the music CD, there are programs that will do that also. For example, Kscd will play music CD's.

Last edited by camorri; 09-13-2010 at 10:20 AM.
 
Old 09-13-2010, 10:33 AM   #3
Sjonnie48
Member
 
Registered: Jun 2005
Location: Earth
Distribution: Ubuntu10.04
Posts: 308

Original Poster
Rep: Reputation: 43
I did not ask for advice on ripping audio cds, but how I can ensure that the cdrom is detected during startup. I admit that the title of my question is not very to the point.
Problem is that the cdrom is not available at the moment that I want to use it. I tested this with "cat /proc/filesystems", and there is no iso9660 file system present on my computer.
The latter means that no cdrom was detected, although there is a cd/dvd-rewriter present in my computer. So the hardware is there but the system does not detect it.
It is a bit like russian roulette: one time it is detected, another time it is not detected. Annoying ...
 
Old 09-13-2010, 11:08 AM   #4
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,870

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
My first point was you do not mount music CD's.

I have a music CD playing right now, here is what I see in filesystems....

Quote:
cat /proc/filesystems
nodev sysfs
nodev rootfs
nodev bdev
nodev proc
nodev tmpfs
nodev devtmpfs
nodev debugfs
nodev securityfs
nodev sockfs
nodev pipefs
nodev anon_inodefs
nodev inotifyfs
nodev devpts
ext2
cramfs
nodev ramfs
nodev hugetlbfs
nodev mqueue
ext4
nodev usbfs
nodev binfmt_misc
nodev rpc_pipefs
nodev nfs
nodev nfs4
nodev cifs
nodev nfsd
nodev fuse
fuseblk
nodev fusectl
I would not expect to see iso9660 present with a music CD.

Quote:
Problem is that the cdrom is not available at the moment that I want to use it.
Is this a IDE drive? Have you looked at the /dev directory for the device and its permissions?

Here is what I see on mine...
Quote:
ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 2010-09-13 10:57 /dev/cdrom -> sr0

Mon Sep 13 11:05:40 EDT 2010
~
cliff@duelie: pts/1: 43 files 7.7Mb -> ls -l /dev/sr0
brw-rw----+ 1 root cdrom 11, 0 2010-09-13 10:57 /dev/sr0
 
Old 09-13-2010, 11:17 AM   #5
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 402

Rep: Reputation: 51
Quote:
After "#cat /proc/filesystems" I get a listing of all the file systems, but there is no iso9660 file system, which means that the device was not detected.
It doesn't. /proc/filesystems just lists filesystems supported by the kernel. And, BTW, CDDA doesn't use any FS. It's just a sequence of tracks.
To check cdrom presence you can try if this command works:
Code:
eject -T
If the cdrom is detected and properly working, this command will likely eject/retract the tray (but may not, in which case another way of checking would be needed).
If it doesn't work, check if /dev/sr? file(s) are present.

Last edited by 10110111; 09-13-2010 at 11:18 AM.
 
Old 09-13-2010, 11:17 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,162

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
What program are you using to extract audio?

iso9660 filesystem is only for data CDs. Music CDs do not have a filesystem and as already stated can not be mounted. Ubuntu should detect when a audio CD is inserted and start Sound Juicer (assuming installed as default) automatically. What other sound applications if any are installed on your PC?

https://help.ubuntu.com/community/CDRipping
 
Old 09-13-2010, 12:02 PM   #7
Sjonnie48
Member
 
Registered: Jun 2005
Location: Earth
Distribution: Ubuntu10.04
Posts: 308

Original Poster
Rep: Reputation: 43
My cd/dvd-rewriter has a sata2 interface.

It is empty at the time of booting, and after the system has started it is not available.

The command "ls -l /dev/cdrom" results in an error message: "ls: cannot access /dev/cdrom: No such file or directory".

The command "eject -T" results in an error message: "eject: unable to find or open device for: `cdrom'".

Inserting an audio cd does not result in an action by the system, but I have no sound applications installed; in fact the soundchip has been disabled in the bios, because this computer already acts as a Logitech Squeezebox music server.

For ripping an audio cd I use Sound Juicer in case Exact Audio Copy is unable to get past he glitches. Sound Juicer was installed late Saturday and I have ripped an audio cd immediately after.

Now I hope I answered all questions that you launched, and thanks a lot for helping so far!
 
Old 09-13-2010, 12:43 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,162

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
Sound Juicer needs the haldaemon running to gather information on the optical drives. Is it running?
 
Old 09-13-2010, 01:13 PM   #9
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 402

Rep: Reputation: 51
TS, post output of dmesg command.
 
Old 09-13-2010, 02:47 PM   #10
Sjonnie48
Member
 
Registered: Jun 2005
Location: Earth
Distribution: Ubuntu10.04
Posts: 308

Original Poster
Rep: Reputation: 43
To be certain about the hardware, I booted from a cdrom: flawless. So technically the cd/dvd-rewriter seems to be ok.


hald is running:
Code:
#ps ax | grep hald
 1830 ?        Ssl    0:00 /usr/sbin/hald
 1831 ?        S      0:00 hald-runner
 1855 ?        S      0:00 hald-addon-input: Listening on /dev/input/event5 /dev/input/event4 /dev/input/event0 /dev/input/event1
 1867 ?        S      0:00 /usr/lib/hal/hald-addon-rfkill-killswitch
 1868 ?        S      0:00 /usr/lib/hal/hald-addon-leds
 1889 ?        S      0:00 /usr/lib/hal/hald-addon-cpufreq
 1890 ?        S      0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
 2244 pts/0    S+     0:00 grep --color=auto hald
#
The output of the dmesg command is too much. Please specify what I should look at.
 
Old 09-14-2010, 03:29 AM   #11
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 402

Rep: Reputation: 51
Quote:
The output of the dmesg command is too much. Please specify what I should look at.
Check for drive detection messages. Anyway, you'd better paste this output here: pastebin.com or attach the file to your message. You can generate file to attach this way:
Code:
dmesg > dmesg.log
 
Old 09-14-2010, 09:18 AM   #12
Sjonnie48
Member
 
Registered: Jun 2005
Location: Earth
Distribution: Ubuntu10.04
Posts: 308

Original Poster
Rep: Reputation: 43
Ok here is the latest dmesg...
Attached Files
File Type: txt dmesg.txt (60.8 KB, 4 views)
 
Old 09-15-2010, 10:37 AM   #13
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 402

Rep: Reputation: 51
ATA driver has printed many errors about trying to talk to your drive. This means either the driver supports your drive/SATA controller poorly, or the drive is faulty. Try checking if this drive works on another machine or OS.
 
Old 09-15-2010, 11:02 PM   #14
Sjonnie48
Member
 
Registered: Jun 2005
Location: Earth
Distribution: Ubuntu10.04
Posts: 308

Original Poster
Rep: Reputation: 43
Would you be so kind to return the dmesg file with highlighted messages?
 
Old 09-16-2010, 05:13 AM   #15
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 402

Rep: Reputation: 51
You can highlight them yourself this way:
Code:
grep " ata" dmesg.txt
Just look at the output of this command - it will give you all the messages from ATA driver.
 
  


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
Mounting CD-ROM balajia82 Linux - Newbie 1 06-23-2005 08:28 AM
mounting cd-rom dvd-rom and cd-rw antoweb Mandriva 4 12-04-2003 11:37 AM
Mounting CD-Rom RecoilUK Linux - General 7 12-08-2001 05:59 AM
CD-ROM Mounting... Yawmark Linux - General 4 06-17-2001 11:14 PM
CD-ROM Mounting Pete Linux - Software 2 06-12-2001 12:51 PM


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