linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: "Demke, Torsten" <Torsten.Demke@fci.com>
Cc: linuxppc-embedded <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: dma_alloc_init badness ??
Date: Tue, 20 Jul 2004 18:00:57 -0400	[thread overview]
Message-ID: <1090360857.9473.7.camel@localhost.localdomain> (raw)
In-Reply-To: <9CFB9DA5261CD611A29B00508B7890480B842F73@ex-deu-munich02.force.de>


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/

      reply	other threads:[~2004-07-20 22:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-20 11:26 dma_alloc_init badness ?? Demke, Torsten
2004-07-20 22:00 ` David Woodhouse [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1090360857.9473.7.camel@localhost.localdomain \
    --to=dwmw2@infradead.org \
    --cc=Torsten.Demke@fci.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).