Re: Module loading (2.0.24) fails with "Unable to allocate DMA memory"

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 6 Nov 1996 20:40:37 +0000 (GMT)


> With that priority, it is not possible to wait for swapping, so such
> allocation may fail. A driver that need memory must be able to try
> later its memory allocations. If it is not able to do that, it is buggy.
> That is my opinion.

The bug is in the kernel not the driver. You don't seem to be able to say
GFP_DMAABLE|GFP_KERNEL to say wait for DMA memory. There are also other
resource issues involved so its not a trivial fix.

Alan