LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   ubuntu10.04: cd-rom not mounting (https://www.linuxquestions.org/questions/ubuntu-63/ubuntu10-04-cd-rom-not-mounting-831872/)

Sjonnie48 09-13-2010 07:08 AM

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.

camorri 09-13-2010 09:12 AM

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.

Sjonnie48 09-13-2010 09:33 AM

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 ...

camorri 09-13-2010 10:08 AM

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

10110111 09-13-2010 10:17 AM

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.

michaelk 09-13-2010 10:17 AM

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

Sjonnie48 09-13-2010 11:02 AM

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!

michaelk 09-13-2010 11:43 AM

Sound Juicer needs the haldaemon running to gather information on the optical drives. Is it running?

10110111 09-13-2010 12:13 PM

TS, post output of dmesg command.

Sjonnie48 09-13-2010 01:47 PM

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.

10110111 09-14-2010 02:29 AM

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

Sjonnie48 09-14-2010 08:18 AM

1 Attachment(s)
Ok here is the latest dmesg...

10110111 09-15-2010 09:37 AM

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.

Sjonnie48 09-15-2010 10:02 PM

Would you be so kind to return the dmesg file with highlighted messages?

10110111 09-16-2010 04:13 AM

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.


All times are GMT -5. The time now is 12:42 AM.