Messages in this thread | | | Date | Sun, 11 Apr 1999 10:56:58 +0200 | From | Holger Thon <> | Subject | Re: 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/
| |