dma_alloc_init badness ??

David Woodhouse dwmw2 at infradead.org
Wed Jul 21 08:00:57 EST 2004


On Tue, 2004-07-20 at 13:26 +0200, Demke, Torsten wrote:
> Hello all,
>
> Im currently porting our application from 2.4.22 to 2.6.
> CPU is MPC852T and the bootloader is u-boot.
>
> The kernel boot prints a warning in dma_alloc_init,
> but Im not sure what that exactly means, and how to solve
> the problem:(
> Can anybody here please give me some help?

	...

> Badness in dma_alloc_init at arch/ppc/kernel/dma-mapping.c:342

The warning at line 342 of dma-mapping.c is:

		WARN_ON(!pmd_none(*pmd));

It's bitching that there's already a page table entry at the virtual
address you've given as CONFIG_CONSISTENT_START. The range specified by
CONFIG_CONSISTENT_START and CONFIG_CONSISTENT_SIZE must be a range of
_virtual_ addresses which are unused in your kernel.

--
dwmw2


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list