lkml.org 
[lkml]   [1999]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Sound error: Couldn't allocate DMA buffer
Gregory Maxwell wrote:
>
> On Sat, 10 Apr 1999, jumeaux lists wrote:
>
> > Hi there. I keep getting this sort of thing in my syslog when
> > something's trying to play through /dev/dsp:
> >
> > Apr 9 13:11:29 odin kernel: Sound error: Couldn't allocate DMA buffer
> > Apr 9 13:12:00 odin last message repeated 48 times
> > Apr 9 13:13:01 odin last message repeated 121 times
>
> You are out of big physically contigious blobs of memory under 16MBs for
> DMA buffers. You can put in dmabuf=1 as an option to sound.o or set a
> config param at compile time if you dont use modules.
>
> Anyone know how difficult a hack it would be to add the ability to rope
> off 1meg or so of <16MB ram for such buffers at boot time?

Well, theoretically this amount should be allocated at bootup. However,
request_dma and free_dma have to
be rewritten to manage this allocated memory area. Maybe we could
include an option to specify how much
virtual DMA-memory should be allocated at bootup.

Regards,
Holger

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.133 / U:1.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site