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

Jean Francois Martinez (jfm@sidney.remcomp.fr)
Mon, 4 Nov 1996 23:45:11 +0100


When trying to load the floppy module I got "Unable to allocate DMA
memory". Kernel 2.0.24. Exiting a couple of programs returns things
to normal. In a general way when loading a module we need DMAable
memory (ie physically contiguous and under 16 Megs barreer) but we are
not under time pressure. Linux should be able to swap out some
process in order to get space for its DMA memory. I don't know if the
problem is: Linux is supposed to make space but doesn't or if the DMA
memory category does not fit and we need a GFP_DMAABLE category where
we try to get memory fit for DMA but we can swap.

-- 

Jean Francois Martinez