[alsa-devel] dmix and mmap

Gabriel Johnson johnsoga at gmail.com
Thu Apr 30 21:29:41 CEST 2009


I updated to 1.0.19, it appears that aplay -Dplug:dmix -f cdr raw.wave
is working.  Now using the ioctl to get mmap address of the dma space
isn't working, I get a kernel machine check error:

Playing raw data '/home/bin/stw.raw' : Signed 16 bit Big Endian, Rate
44100 Hz, Stereo
[   78.475303] Machine check in kernel mode.
[   78.479246] Caused by (from SRR1=ff37598): Unknown values in msr
[   78.527195] Machine check in kernel mode.
[   78.531121] Caused by (from SRR1=47590): Transfer error ack signal
[   78.540376] Bad page state in process 'aplay'
[   78.540388] page:c5be3f20 flags:0x00000004 mapping:00000000
mapcount:1 count:0
[   78.540400] Trying to fix it up, but a reboot is needed

Should the default mmap ioctl functions work on powerpc?

Thanks,
Gabe

On Thu, Apr 30, 2009 at 10:13 AM, Mark Brown <broonie at sirena.org.uk> wrote:
> On Thu, Apr 30, 2009 at 10:10:23AM -0500, Gabriel Johnson wrote:
>
>> I am using alsa-lib-1.0.11rc2.
>
> This is a very old version of alsa-lib - I haven't looked at either of
> your problems but I would suggest upgrading to a current version (the
> release version is 1.0.19).
>


More information about the Alsa-devel mailing list