From: Hugh Dickins <hugh@veritas.com>
To: "Richard B. Johnson" <linux-os@analogic.com>
Cc: Linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: Linux-2.6.12
Date: Mon, 20 Jun 2005 17:02:17 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.61.0506201655170.3911@goblin.wat.veritas.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0506201114310.5144@chaos.analogic.com>
On Mon, 20 Jun 2005, Richard B. Johnson wrote:
> On Mon, 20 Jun 2005, Hugh Dickins wrote:
> > On Mon, 20 Jun 2005, Richard B. Johnson wrote:
> > > On Mon, 20 Jun 2005, Hugh Dickins wrote:
> > > >
> > > > It's the BUG_ON(!pte_none(*pte)) in remap_pte_range. Maybe your
> > > > page
> > > > table is corrupt, maybe your driver is trying to remap_pfn_range
> > > > on
> > > > top of something already mapped.
>
> Well there is no existing 'populated mapping' whatever that means.
> I think the logic in the header is wrong.
Then perhaps your page table is corrupt. But my guess would be
that for some reason you're mapping it into userspace twice,
and the second attempt is BUGing.
> The driver gets contiguous DMA RAM by telling the kernel that ...
> [ snipped because which pages you are mapping is irrelevant to this problem ]
> ... These pages will be subsequently mapped into
> user-space when the user calls mmap().
>
> Previous to 2.6.12, there was no problem memory-mapping and using
> this data-area. Now there is some artificial constraint.
Strange. We don't know of any new artificial constraint there.
You'd better do some debugging e.g. print out what's in the pte
that isn't pte_none, and what is pte you want to replace it by.
Hugh
next prev parent reply other threads:[~2005-06-20 16:01 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-20 13:07 Linux-2.6.12 Richard B. Johnson
2005-06-20 13:48 ` Linux-2.6.12 Hugh Dickins
2005-06-20 14:22 ` Linux-2.6.12 Richard B. Johnson
2005-06-20 14:41 ` Linux-2.6.12 Hugh Dickins
2005-06-20 15:32 ` Linux-2.6.12 Richard B. Johnson
2005-06-20 16:02 ` Hugh Dickins [this message]
2005-06-21 0:32 ` Linux-2.6.12 Dave Jones
[not found] ` <Pine.LNX.4.61.0506210629110.8815@chaos.analogic.com>
2005-06-21 11:13 ` Linux-2.6.12 Dave Jones
2005-06-21 11:17 ` Linux-2.6.12 Richard B. Johnson
2005-06-21 11:30 ` Linux-2.6.12 Dave Jones
2005-06-21 11:36 ` Linux-2.6.12 Richard B. Johnson
2005-06-21 11:55 ` Linux-2.6.12 Dave Jones
2005-06-21 12:01 ` Linux-2.6.12 Richard B. Johnson
2005-06-21 12:15 ` Linux-2.6.12 Dave Jones
2005-06-21 12:30 ` Linux-2.6.12 Richard B. Johnson
2005-06-21 12:46 ` Linux-2.6.12 Dave Jones
2005-06-21 23:47 ` Linux-2.6.12 Kurt Wall
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=Pine.LNX.4.61.0506201655170.3911@goblin.wat.veritas.com \
--to=hugh@veritas.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-os@analogic.com \
/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
all inboxes | Powered by JetHome®