Re: Sound error: Couldn't allocate DMA buffer

Andrea Arcangeli (andrea@e-mind.com)
Mon, 8 Feb 1999 00:34:43 +0100 (CET)


On Sun, 7 Feb 1999, Mark Lord wrote:

>Ever since 2.1.131 (Dec.6/98), my UP systems sees a lot of these
>(even withe 2.2.2-pre2 from the "test" directory):
>
>Feb 5 22:08:08 foxy kernel: Sound error: Couldn't allocate DMA buffer
>Feb 5 22:08:18 foxy last message repeated 7 times
>Feb 5 22:09:38 foxy last message repeated 44 times
>Feb 5 22:10:31 foxy last message repeated 36 times
>Feb 5 22:11:39 foxy last message repeated 19 times
>Feb 5 22:12:36 foxy last message repeated 25 times
>Feb 5 22:13:11 foxy last message repeated 17 times
>Feb 5 22:14:07 foxy last message repeated 4 times
>...
>
>Did anyone ever figure out the cause?

Take a look at SHIFT+SCROLL-LOCK and you should find a little of memory
and mostly fragmented. If not it could mean that all your GFP_DMA pages
are not freeable.

I also noticed that the get_free_pages() in dmabuf.c is ATOMIC. Maybe it
could be converted to a GFP_KERNEL?

Andrea Arcangeli

-
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/