From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: "Alan J. Wylie" <NDA5OWUy@wylie.me.uk>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Gianni Tedesco <gianni.tedesco@citrix.com>,
Stefan Kuhne <stefan.kuhne@gmx.net>, sven <ml@infinitumb.de>,
Andreas Kinzler <ml-xen-devel@hfp.de>
Subject: Re: Xen dom0 crash: "d0:v0: unhandled page fault (ec=0000)"
Date: Mon, 01 Nov 2010 14:16:33 -0400 [thread overview]
Message-ID: <4CCF0401.5040704@goop.org> (raw)
In-Reply-To: <20101101174602.GA6227@dumpdata.com>
On 11/01/2010 01:46 PM, Konrad Rzeszutek Wilk wrote:
> On Mon, Nov 01, 2010 at 01:39:40PM -0400, Konrad Rzeszutek Wilk wrote:
>>>>> http://pastebin.com/3m0DpDdW - 2.6.32.24-gd0054d6-dirty - broken
>> .. snip..
>>> The way is this is supposed to work is:
>>>
>>> 1. Xen gives the domain N pages
>>> 2. There's an E820 which describes M pages (M > N)
>>> 3. The kernel traverses the existing E820 and finds holes and adds
>>> the memory to a new E820_RAM region beyond M
>>> 4. Set up P2M for pages up to N
>>> 5. When the kernel maps all "RAM", the region from N-M is not
>>> present, and has no valid P2M mapping; in that case, xen_make_pte
>>> will return a non-present pte.
>> Right, and somehow his machine/kernel is not doing this. His 'N' ends up being 'M' so
>> the region N-M is added to the "RAM", and xen_make_pte I _think_ returns a non-present pte
>> (or maybe it does present a present pte?) In the previous kernel (2.6.32.18), it
>> does exactly what you described.
> Not that I am actually sure what is causing this. The interesting part is that
> he sees this twice:
>
> [ 0.000000] last_pfn = 0x2d0699 max_arch_pfn = 0x400000000
> [ 0.000000] last_pfn = 0x2f000 max_arch_pfn = 0x400000000
>
> And he mentioned on IRC to me that this was not due to any debugging patches.
That's just printed by e820_end_pfn(), which is called a few times.
Does it happen native?
J
next prev parent reply other threads:[~2010-11-01 18:16 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-07 9:57 Xen dom0 crash: "d0:v0: unhandled page fault (ec=0000)" Alan J. Wylie
2010-10-07 10:25 ` Alan J. Wylie
2010-10-08 14:08 ` Alan J. Wylie
2010-10-12 8:10 ` Andreas Kinzler
2010-10-12 18:49 ` Jeremy Fitzhardinge
2010-10-12 20:02 ` Valtteri Kiviniemi
2010-10-13 0:26 ` Jeremy Fitzhardinge
2010-10-13 7:03 ` Valtteri Kiviniemi
2010-10-13 7:26 ` Alan J. Wylie
2010-10-13 11:04 ` Alan J. Wylie
2010-10-13 13:52 ` Alan J. Wylie
2010-10-13 14:17 ` Alan J. Wylie
2010-10-13 15:52 ` Alan J. Wylie
2010-10-19 13:15 ` Andreas Kinzler
2010-10-19 13:51 ` Alan J. Wylie
2010-10-19 14:29 ` Gianni Tedesco
2010-10-19 14:58 ` sven
2010-10-19 15:45 ` Gianni Tedesco
2010-10-19 18:01 ` sven
2010-10-19 18:20 ` Gianni Tedesco
2010-10-19 19:05 ` sven
2010-10-19 23:31 ` Andreas Kinzler
2010-10-20 8:54 ` Gianni Tedesco
2010-10-29 15:44 ` Gianni Tedesco
2010-10-29 16:15 ` Konrad Rzeszutek Wilk
2010-11-01 13:37 ` Jeremy Fitzhardinge
2010-11-01 17:39 ` Konrad Rzeszutek Wilk
2010-11-01 17:46 ` Jeremy Fitzhardinge
2010-11-01 17:46 ` Konrad Rzeszutek Wilk
2010-11-01 18:16 ` Jeremy Fitzhardinge [this message]
2010-11-01 18:19 ` Gianni Tedesco
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=4CCF0401.5040704@goop.org \
--to=jeremy@goop.org \
--cc=NDA5OWUy@wylie.me.uk \
--cc=gianni.tedesco@citrix.com \
--cc=konrad.wilk@oracle.com \
--cc=ml-xen-devel@hfp.de \
--cc=ml@infinitumb.de \
--cc=stefan.kuhne@gmx.net \
--cc=xen-devel@lists.xensource.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.