Problems allocating large memory blocks?

Marek Michalkiewicz (
Mon, 6 May 1996 09:14:52 +0200 (MET DST)


I noticed the following two problems (which may or may not be related)
with allocation of large (>4K?) memory blocks in 1.3.98:

- trying to load the ftape module fails with the message

[000] kernel-interface.c (ftape_init) - dmaalloc() failed

even though the machine has a few hundred KB of free RAM at the moment
(and it has only 8 MB total so all memory should be good for DMA).

- trying to do "ls" in ncpfs mounted directory sometimes (not always)
fails with ENOMEM and the messages

Couldn't get a free page.....
ncp_readdir: no MEMORY for cache

Again, the machine sits almost idle, there is plenty of free memory.

What is going on here? Don't tell me to buy more memory :-).

Once the ftape buffer allocation works, maybe it could be done on first
open, not insmod. Why waste 96KB non-swappable memory when not in use?