[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#748069: linux-image-3.2.0-4-kirkwood: modprobe -a snd-soc-cs42l51 to enable onboard sound devices causes page allocation failure



 Ben Hutchings explained:

 > It wants to allocate 256KB of contiguous memory.  This is fairly likely
 > to fail unless it's done at boot time or the system has plenty of free
 > memory (much more than 256KB).

Adding

     snd_soc_cs42l51
     snd-soc-openrd

to /etc/modules to ensure the modules are loaded at bootime results in
successful loading of the modules and the onboard sound card device
being made available.

    s42l51-codec 0-004a: found device cs42l51 rev 1

    openrd-client-audio openrd-client-audio: cs42l51-hifi <-> i2s mapping ok

    card 0: Client [OpenRD Client], device 0: CS42L51 HiFi cs42l51-hifi-0 []

But the crackle/crunch sound regardless of what is played with aplay continues
accompanied by many kernel messages

            kirkwood_dma_irq: got err interrupt 0x4

 > Please test whether this is fixed in Linux 3.14, currently available in
 > unstable.

Installing 

     initramfs-tools_0.115_all.deb                     and
     linux-image-3.14-1-kirkwood_3.14.2-1_armel.deb

and rebooting, has now resulted in a functional onboard sound card device (tested
using aplay with a wav file and mpg123 with an mp3 file) for the very first time
on this machine.

As the failure to load snd-soc-cs42l51 was an artefact of the system (insufficient
free memory at the time of loading) and the problem has been satisfactorily resolved,
please close this bug.

Thank you very much for your very speedy assistance!


Reply to: