From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Mark Williamson <mark.williamson@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com,
"Morten Bøgeskov" <xen-users@morten.bogeskov.dk>
Subject: Re: [Xen-users] 2.6.23 oops
Date: Fri, 12 Oct 2007 08:50:03 -0700 [thread overview]
Message-ID: <470F97AB.6010207@goop.org> (raw)
In-Reply-To: <200710121634.34800.mark.williamson@cl.cam.ac.uk>
Mark Williamson wrote:
>> I just realized I hadn't been reading your backtrace closely enough,
>> since it looks similar to the bug I'd been working on. Turns out having
>> an xfs rootfs is what triggers your bug - I can repro it now, so I'll
>> see if I can work out what's going on.
>>
>> BTW, did last night's little patch help with the UP time issue?
>>
>
> I've not had a chance to try it out yet... I'll try and take a long.
>
> But I didn't entirely understand the semantic significance of the change?
> Could you possibly elaborate?
>
There was version drift in the register_vcpu_info hypercall arg
structure, and the version of the structure being used by the kernel was
smaller than the one that xen was expecting.
That meant that the mfn argument was OK, but the offset was being
corrupted, and so the vcpu_info structure could have been placed
anywhere, corrupting kernel memory. For me it manifested as an oops,
but it could also have corrupted the timing parameters - or at the very
least, reading the time from the vcpu_info structure wouldn't work.
So I think there's a good chance this change would fix the UP problem.
It doesn't hit in the same way in SMP because the per-cpu data area is
elsewhere, but it could still have caused havok.
J
next prev parent reply other threads:[~2007-10-12 15:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20071011144817.n5x1drwcgug44sg0@whitelist.dk>
2007-10-11 15:29 ` [Xen-users] 2.6.23 oops Mark Williamson
2007-10-11 16:27 ` Mark Williamson
2007-10-11 18:22 ` Morten Bøgeskov
2007-10-11 18:53 ` Mark Williamson
2007-10-11 16:41 ` Jeremy Fitzhardinge
2007-10-11 19:00 ` Morten Bøgeskov
2007-10-11 21:04 ` Jeremy Fitzhardinge
2007-10-11 21:21 ` Morten Bøgeskov
2007-10-11 21:47 ` Jeremy Fitzhardinge
2007-10-12 9:46 ` Morten Bøgeskov
2007-10-12 15:30 ` Jeremy Fitzhardinge
2007-10-12 15:34 ` Mark Williamson
2007-10-12 15:40 ` Keir Fraser
2007-10-12 15:50 ` Jeremy Fitzhardinge [this message]
2007-10-12 4:14 ` Mark Williamson
2007-10-12 6:21 ` Jeremy Fitzhardinge
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=470F97AB.6010207@goop.org \
--to=jeremy@goop.org \
--cc=mark.williamson@cl.cam.ac.uk \
--cc=xen-devel@lists.xensource.com \
--cc=xen-users@morten.bogeskov.dk \
/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.