From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Mukesh Rathor <mukesh.rathor@oracle.com>
Cc: "Roger Pau Monné" <roger.pau@citrix.com>,
xen-devel <xen-devel@lists.xen.org>
Subject: Re: PVH Dom0 with latest Linux kernels
Date: Fri, 14 Mar 2014 13:48:22 -0400 [thread overview]
Message-ID: <20140314174822.GK30560@phenom.dumpdata.com> (raw)
In-Reply-To: <20140313190954.628a5187@mantra.us.oracle.com>
On Thu, Mar 13, 2014 at 07:09:54PM -0700, Mukesh Rathor wrote:
> On Fri, 28 Feb 2014 17:15:08 -0800
> Mukesh Rathor <mukesh.rathor@oracle.com> wrote:
>
> > On Tue, 18 Feb 2014 17:47:04 -0800
> > Mukesh Rathor <mukesh.rathor@oracle.com> wrote:
> >
> > > On Tue, 18 Feb 2014 17:48:02 +0100
> > > Roger Pau Monné <roger.pau@citrix.com> wrote:
> > >
> > > > Hello,
> > > >
> > > > I've tried to boot a PVH Dom0 using Linux 3.14.0-rc3 and Mukesh's
> > > > PVH Dom0 Xen tree
> > > > (https://oss.oracle.com/git/?p=mrathor/xen.git;a=shortlog;
> > > > h=dom0pvh-v7), and got the following crash. Do you have any new
> > > > Xen Dom0 series that I could use to test PVH Dom0?
> > > >
> > >
> > > It won't work. The final linux patches were changed a bit, and it
> > > makes an hcall that will cause mem corruption in xen. So, just hang
> > > in there a bit, new patches coming up in few days.
> > >
> > > thanks
> > > Mukesh
> >
> > Hey Roger,
> >
> > Sorry, still don't have the new version out. Just running into one
> > issue after another... I had to refresh the tree, that broke my tools
> > as they needed newer glibc, which caused me to reinstall, which caused
> > dom0 to break causing me to rebuild that entire thing... anyways, I
> > ve got stuff up, but guests are not starting right now. Debugging.
> > Will keep you posted.
>
> JFYI... I am able to boot dom0 in PVH mode, then start PV and PVH guest.
> But for HVM guest, during boot I see PF fautls in different places during
> load of acpi-cpufreq module. Very hard to debug since faults come from
> different place everytime. I'm now trying to figure what load_module
> does thruout.
>
> [ 3.804141] BUG: unable to handle kernel paging request at 00000014bf0d13c8
> [ 3.805127] IP: [<ffffffff8104c87c>] apply_relocate_add+0x7c/0x150
> [ 3.805127] PGD 0
>
> ------
> [ 3.779263] BUG: unable to handle kernel NULL pointer dereference at (null)
> [ 3.780250] IP: [<ffffffff810eadf3>] add_unformed_module+0x23/0x150
> [ 3.780250] PGD 0
> [ 3.780250] Oops: 0002 [#1] SMP
> --------
> [ 3.975346] BUG: unable to handle kernel paging request at 0000000000003100
> [ 3.976333] IP: [<ffffffff8130276d>] memcpy+0xd/0x110
> [ 3.976333] PGD 0
> [ 3.976333] [<ffffffff810ede36>] ? layout_and_allocate+0x756/0xc00
> [ 3.976333] [<ffffffff810ee3f1>] load_module+0x111/0x18b0
>
>
> Strange, not sure why the problem is on PVH dom0 only... anyways,
> debugging. The problem is intermittent and sometimes it boots just
> fine...
The other thing that might be worth thinking - the virtual address that
modules are loaded on are way way at the end of the pagetables. Could
it be that the EPT is limited and said L4 entry (or L3) is shared with
Xen or hadn't been properly setup?
Oh wait, this is for HVM guests! And of course this problem you
see only occurs _after_ you have started PV and PVH guest right? If you
start the HVM guests first there are no problems?
Could you describe the steps and perhaps post a link to your updated git
tree for both Linux and Xen? More folks reproducing it could help with this.
(Like it helped with the other WP flag).
>
> thanks
> Mukesh
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2014-03-14 17:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-18 16:48 PVH Dom0 with latest Linux kernels Roger Pau Monné
2014-02-19 1:47 ` Mukesh Rathor
2014-03-01 1:15 ` Mukesh Rathor
2014-03-14 2:09 ` Mukesh Rathor
2014-03-14 17:48 ` Konrad Rzeszutek Wilk [this message]
2014-03-14 22:56 ` Mukesh Rathor
-- strict thread matches above, loose matches on Subject: below --
2014-02-19 2:08 Konrad Rzeszutek Wilk
[not found] <201402190208.s1J28lw5002932@mantra.us.oracle.com>
2014-02-19 2:15 ` Mukesh Rathor
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=20140314174822.GK30560@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=mukesh.rathor@oracle.com \
--cc=roger.pau@citrix.com \
--cc=xen-devel@lists.xen.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 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.