Comment 13 for bug 741825

Revision history for this message
David Henningsson (diwic) wrote : The AMD chipset problem (DMA engine stops on [1002:4383])

Okay, home again and ready to test the latest stuff on the Lenovo x100e.

This was with today's snapshot of sound-2.6, which includes commits
447ee6a7 and d507cd66, and with Andiry's disable-64-bit DMA patch [1] on
top of that.

With PulseAudio installed, it happens almost every time.

I have also reproduced the issue without PulseAudio, although only once.
What I did then was the following:

1) Write some garbage in the beginning of /etc/pulse/default.pa to
prevent PulseAudio to start up.

2) Started:
arecord -Dplughw:0 -f cd test.wav

3) With that stream running, opened a second terminal window and started:
speaker-test -Dplughw:0 -c 2 -t sine

Now both applications crashed and the interrupts on the hda_intel line
went up with ~400000 interrupts. Error message from arecord:

arecord: pcm_read:1692: read error: Input/output error

Error message from speaker-test:
Write error: -5,Input/output error
xrun_recovery failed: -5,Input/output error
Transfer failed: Operation not permitted

There is also a dmesg message: "hda-intel: azx_get_response timeout,
switching to polling mode: last cmd=0x010f0600", but I'm 100% sure it
came from the exact point when these applications crashed.

I tried to reproduce the same thing, but it only happened once.

--
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic

[1]
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/741825/+attachment/2123974/+files/snd_test.patch