Linux Debian support - Can't play music CD (Kubuntu Feisty)

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > June 2007 > Can't play music CD (Kubuntu Feisty)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Can't play music CD (Kubuntu Feisty)
Felix Miata

2007-06-22, 7:14 pm

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.

Anyone know how to solve this or where to look for a solution? I Googled
this and found nothing helpful, asked fruitlessly on
irc://freenode/kubuntu, and asked in comp.os.linux.misc and on the
ubuntu-users mailing list some days ago and got no useful help there
either.
--
"Respect everyone." I Peter 2:17 NIV

Team OS/2 ** Reg. Linux User #211409

Felix Miata *** http://mrmazda.no-ip.com/
Michael Fierro

2007-06-22, 7:14 pm

On 2007-06-22, Felix Miata <UgaddaBkidding.due2UCE@dev.nul> rambled on thusly:

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


Okay, let's try the basics first. Did you check to make sure that the CD
drive didn't get mounted automatically? Before starting up a CD player, do
a quick:

umount /media/cdrom

Or whatever device your CDROM drive would mount to.

Feisty was driving me nuts getting DVDs to play (they'd start to play, but
then freeze) until I figured out that the DVD was being mounted on insert,
which was causing VLC problems as it tried to access the device directly.

'course, since audio cds usually won't mount, this probably isn't the
issue...


--
Michael Fierro (aka Biffster) biffster@NOSPAM-REALLYgmail.com
http://apt-get.biffster.org Y!: miguelito_fierro AIM: mfierro1
--
"Hello, rock-stupid cop!" -- Crow T. Robot
Felix Miata

2007-06-23, 1:14 pm

Michael Fierro wrote:

> On 2007-06-22, Felix Miata <UgaddaBkidding.due2UCE@dev.nul> rambled on thusly:


[vbcol=seagreen]
> Okay, let's try the basics first. Did you check to make sure that the CD
> drive didn't get mounted automatically? Before starting up a CD player, do
> a quick:


> umount /media/cdrom


> Or whatever device your CDROM drive would mount to.


I tried simply running mount several times between inserting the audio
CD and when it got ejected. The result never showed anything about
/dev/hdd or /dev/cdrom or /media/cdrom*. Eventually it always gets
ejected, ~2 minutes at most.

Also, it isn't required to start any media player for the music CD to
get ejected. It seems there must be some daemon running that
periodically inspects whatever might be present in the CD drive and
ejects it any time a music CD is found.

When I insert a retail box Seagate HD installation CD, mount shows
/dev/hdd on /media/cdrom0 if I answer open in new window. There is no
option to mount only, though if I select do nothing, it does get mounted
to /media/cdrom0. It then shows up on the actual desktop, but not in a
Konqueror window that claims to show the desktop, even after refresh.

> Feisty was driving me nuts getting DVDs to play (they'd start to play, but
> then freeze) until I figured out that the DVD was being mounted on insert,
> which was causing VLC problems as it tried to access the device directly.


> 'course, since audio cds usually won't mount, this probably isn't the
> issue...

--
"Respect everyone." I Peter 2:17 NIV

Team OS/2 ** Reg. Linux User #211409

Felix Miata *** http://mrmazda.no-ip.com/
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com