[parisc-linux] HP C240 With Debian 3.0

Grant Grundler grundler@dsl2.external.hp.com
Mon, 19 Aug 2002 15:52:00 -0600


"Peter Saisanas" wrote:
> "Kernel panic: ccio-dma.c: ccio_alloc_range() I/O MMU is out of mapping =
> resources" and the c240 locks up.=20

This has come up before on the mailing list.
We need to change ccio_mem_ratio to 2 or otherwise fix
how iova_space_size is getting calculated.

...
> But on rare occations i can at least install the base system and it =
> works very nicely
...
> What do i need to do to get the C240 stable and stop the machine =
> crashing.

arch/parisc/kernel/ccio-dma.c: unmodified: line 169 of 1615 [10%].

/* Ratio of Host MEM to IOV Space size */
static unsigned long ccio_mem_ratio = 4;

replace 4 with 2.

grant