Ubuntu

Comment 11 for bug 47516

Felix Miata (mrmazda) wrote :

I use Kubuntu Feisty, so gnome-volume-manager is not my problem. However, the symptoms are exactly the same as the subject line. Behavior is the same whether I use KsCD or MPlayer. If I log out and stop kdm, then do 'mplayer cdda://', the CD plays with many interruptions, but keeps trying and does not eject. 'dmesg | tail' shows repeated errors: packet command, sense_key, and failed opcode was: unknown.

Here's a copy of my mailing list post that generated no useful help:
Windoz Media Player works fine, so it isn't the hardware, or the CD, at fault.

I removed both Kaffeine and Amarok after discovering after a fresh Feisty install (that required ide=nodma and irqpoll to do) to replace Breezy that I couldn't play a music CD. I have only KsCD, MPlayer, KMix, and RealPlayer installed for multimedia. KsCD will start to play the CD just fine, but within a minute the CD gets ejected. Dmesg tail is:
[ 84.164562] Bluetooth: RFCOMM ver 1.8
[ 145.852734] hda: DMA disabled
[ 155.273768] hdd: DMA disabled
[ 6181.844233] cdrom: dropping to single frame dma

Without DMA disabled on hdd CD the whole system turns to nearly frozen molasses when a music CD is inserted.

Starting KsCD from Konsole outputs the following:
# kscd
X Error: BadDevice, invalid or uninitialized input device 167
Major opcode: 144
Minor opcode: 3
Resource id: 0x0
Failed to open device
QWidget::setProperty( "text", value ) failed: property invalid, read-only or does not exist
# cdda: wmcdda_read failed, stop playing

AFAIK, the first errors above are from the CD not being in the closed drive drawer long enough before starting KsCD.

MPlayer also halts due to spurious CD ejection. Starting mplayer from Konsole produces:
# mplayer cdda://
MPlayer 2:1.0~rc1-0ubuntu9.1 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner (Family: 6, Model: 7, Stepping: 3)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing cdda://.
Found audio CD with 10 tracks.
rawaudio file format detected.
==========================================================================
Forced audio codec: mad
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
Track 1
A: 9.0 (08.9) of 2288.7 (38:08.7) 89.5%

Chipset is 440BX. 320M RAM. CD is Mitsumi 32X hdd slaved to antique WD 4GB on hdc where Feisty lives. Sound is PCI CS4281.