LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 07: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 08:06 AM. Reason: additional information
 
Old 09-13-2010, 09:12 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
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 09:20 AM.
 
Old 09-13-2010, 09: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, 10:08 AM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
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, 10:17 AM   #5
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

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 10:18 AM.
 
Old 09-13-2010, 10:17 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
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, 11:02 AM   #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, 11:43 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

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

Rep: Reputation: 51
TS, post output of dmesg command.
 
Old 09-13-2010, 01: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, 02:29 AM   #11
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

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, 08: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, 29 views)
 
Old 09-15-2010, 09:37 AM   #13
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

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, 10: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, 04:13 AM   #15
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

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



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

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

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