xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: M A Young <m.a.young@durham.ac.uk>
Cc: xen-devel@lists.xensource.com
Subject: Re: Crash on boot with 2.6.37-rc8-git3
Date: Fri, 21 Jan 2011 10:27:51 -0500	[thread overview]
Message-ID: <20110121152751.GA4156@dumpdata.com> (raw)
In-Reply-To: <alpine.LFD.2.02.1101202223370.13928@vega2.dur.ac.uk>

On Thu, Jan 20, 2011 at 10:39:17PM +0000, M A Young wrote:
> On Thu, 20 Jan 2011, Konrad Rzeszutek Wilk wrote:
> 
> >I think my math is off here. The reserve call is made on the
> >df659800 -> df66d7ff, that would be 20 pages of data. The last
> >PFN df66d is where it dies b/c there is no PTE entry set for it?
> >
> >What happens if you fudge the code so it allocates those pages to be
> >page aligned. So df65a000->df66e000 ? We skip this way the region
> >df659800->df659fff and start on a new PFN (and pte).
> 
> I get (though the photo isn't clear in places) df659000->df66cfff
> and it crashes at find_range_array+0x4d/0x56 which traces back to
> the call of memblock_find_dma_reserve from setup_arch in
> arch/x86/kernel/setup.c . So it still crashes, but at a slightly
> later stage.

Ok, so we just pass the back so to say to the next user of that PFN.

We should find out why that PTE is not being setup.... And I think
this might be a missing entry in the MFN (thanks to Stefan Bader
finding a bug there).  Looking at your E820:

[    0.000000]  Xen: 0000000000100000 - 000000003b0e2000 (usable)

Your memory ends a 3b0e, which is not on a nice page boundary.
Can you try this patch (you will need to re-gigger as in 2.6.38-rc1
the p2m code moved out of xen/mmu.c to xen/p2m.c):

https://patchwork.kernel.org/patch/492011/

BTW, You are doing a great detective work here. Thanks for
being willing to dig in this.

  reply	other threads:[~2011-01-21 15:27 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-07 20:34 Crash on boot with 2.6.37-rc8-git3 M A Young
2011-01-07 21:23 ` Konrad Rzeszutek Wilk
2011-01-08  0:10   ` M A Young
2011-01-10 18:42     ` Konrad Rzeszutek Wilk
2011-01-10 21:43       ` M A Young
2011-01-16 20:48       ` M A Young
2011-01-16 20:56         ` Keir Fraser
2011-01-18  0:52       ` M A Young
2011-01-19 22:54         ` M A Young
2011-01-20 19:24           ` Konrad Rzeszutek Wilk
2011-01-20 22:39             ` M A Young
2011-01-21 15:27               ` Konrad Rzeszutek Wilk [this message]
2011-01-21 21:43                 ` M A Young
2011-01-24 14:14                   ` Konrad Rzeszutek Wilk
2011-01-24 23:12                     ` M A Young
2011-01-25 12:03                       ` Stefano Stabellini
2011-01-25 13:24                         ` Ian Campbell
2011-01-25 13:31                           ` Stefano Stabellini
2011-01-25 13:45                             ` Ian Campbell
2011-01-25 15:19                               ` Stefano Stabellini
2011-01-25 15:52                                 ` Konrad Rzeszutek Wilk
2011-01-25 15:56                                   ` Stefano Stabellini
2011-01-25 16:05                                     ` M A Young
2011-01-24 19:04                   ` Stefano Stabellini
2011-01-25  0:22                     ` M A Young
  -- strict thread matches above, loose matches on Subject: below --
2011-01-04 22:01 M A Young
2011-01-05 15:43 ` Konrad Rzeszutek Wilk
2011-01-05 23:11   ` M A Young
2011-01-06 14:56     ` Konrad Rzeszutek Wilk
2011-01-07  0:37       ` M A Young
2011-01-07 19:18         ` Konrad Rzeszutek Wilk

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=20110121152751.GA4156@dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=m.a.young@durham.ac.uk \
    --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 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).