At Fri, 20 Sep 2002 23:14:40 +0100 (BST),
Chris Rankin wrote:
> 
> Hi,
> 
> [Linux 2.4.19-SMP, SB Live!, alsa-lib CVS, alsa-utils
> rc3]
> 
> I have just tried to play a WAV file on my machine,
> but have triggered these errors instead. The machine
> didn't crash, fortunately, but it's very irritating to
> have memory problems on a 1 GB machine:
> 
> $ aplay /usr/lib/sounds/jungle_exit.wav 
> Playing WAVE '/usr/lib/sounds/jungle_exit.wav' :
> Signed 16 bit Little Endian, Rate 22050 Hz, Stereo
> ALSA lib pcm_hw.c:295:(snd_pcm_hw_hw_params)
> SNDRV_PCM_IOCTL_HW_PARAMS failed: Cannot allocate
> memory

(snip)

> It was apparently the 16 bit nature of the WAV file
> which was causing trouble, because I got my sound back
> by playing an 8 bit one instead. It's all very odd.
> Was my memory just momentarily too fragmented for ALSA
> to allocate a big enough DMA buffer?

no, the current emu10k1 driver uses sg-buffer for playback, so the
fragmentation is not the cause.
if this error comes from the buffer allocation, then it means that
page-0 allocation failed.  please check the kernel message.

i modified again the pci_alloc_consistent() wrapper.  hope the newer
one fixes this bug.  a new one tries to allocate pages with the
original dma mask if failed without dma mask.


Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to