You don't mount a music CD. No. Never. Don't. They're not files. There's no filesystem. It's not iso9660. Or UDF. It's 16-bit stereo PCM at 44.1kHz, with a teensy bit of data overhead for track breaks, lead-in, lead-out, etc. You can't mount it. Stop trying. No, seriously, stop.
(If you've got a data section on an Audio/Data mixed-mode CD, you'll need to mount that to access the data, but for most audio CDs that's not necessary. Or, ya know, possible.)
Grip needs to know the device of your CD, and if that device is a SCSI device, needs the generic SCSI device as well. So check your /dev entries (/dev/cdrom or /dev/cdrom0 is probably a symlink to the proper device):
> ls -l /dev/cdr*
lrwxrwxrwx 1 root root 3 2009-09-29 22:11 /dev/cdrom -> hdd
lrwxrwxrwx 1 root root 3 2009-09-29 22:11 /dev/cdrw -> hdd
In this case, the device is straight IDE, and a generic SCSI device is unneeded; put "/dev/hdd" in the Config -> CD: CDRom Device entry.
Your system probably looks more like this (judging from your /etc/fstab posted above):
> ls -l /dev/cdr*
lrwxrwxrwx 1 root root 3 2009-09-29 22:11 /dev/cdrom0 -> scd0
Although, you did post this:
There's an icon on the desktop labeled "Audio Disk" and opening it shows the .wav files on the CD. The location is cdda://sr0/, but grip doesn't like that either.
So in Grip's configuration, you need to enter both of these:
- Config -> CD: CDRom Device: /dev/sr0 (or could be /dev/scd0)
- Config -> Rip -> Ripper: Generic SCSI Device: /dev/sg0
Update 1: Given this update on your configuration:
$ ls -l /dev/ | grep cd
lrwxrwxrwx 1 root root 3 2009-09-15 22:13 cdrom1 -> sr0
lrwxrwxrwx 1 root root 3 2009-09-15 22:13 cdrw1 -> sr0
drwxr-xr-x 2 root root 60 2009-09-15 22:13 pktcdvd
lrwxrwxrwx 1 root root 3 2009-09-15 22:13 scd0 -> sr0
crw-rw----+ 1 root cdrom 21, 2 2009-09-15 22:13 sg2
brw-rw----+ 1 root cdrom 11, 0 2009-09-15 22:13 sr0
You need to tell Grip to use
- Config -> CD: CDRom Device: /dev/sr0
- Config -> Rip -> Ripper: Generic SCSI Device: /dev/sg2
For the CD device, any of these should work. If the Generic SCSI device is not properly set, none of them will work.
- /dev/cdrom1 (symlink to sr0)
- /dev/cdrw1 (symlink to sr0)
- /dev/scd0 (symlink to sr0)
Update 2: this from a Jaunty user posting on the Ubuntu boards about this bug. (Fun related details at this kernel bug if you want them.)
The bug doesn't sound like it matches exactly what you're seeing, but the workaround may work for you. Basically, Grip and the HAL are conflicting over the CD device. A workaround is to disable the HAL:
Disable HAL polling of the sr0 device:
sudo hal-disable-polling --device /dev/sr0
This disables any HAL automounting of CDs and such, so you'll need to re-enable with this:
sudo hal-disable-polling --device /dev/sr0 --enable-polling
If this works, you might try running grip in a script sandwiched between the two above calls:
#!/bin/sh
sudo hal-disable-polling --device /dev/sr0
grip
sudo hal-disable-polling --device /dev/sr0 --enable-polling
the desktop icon is via a special handler for "cdda://" URIs. it's not a real mount. – quack quixote – 2009-10-02T12:49:08.433