This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] New release candidate for Xen 4.0.0 (RC9)

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] New release candidate for Xen 4.0.0 (RC9)
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 19 May 2010 13:10:36 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 19 May 2010 05:11:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100331210716.GA31475@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcrRFlGd7VlREEF9R3CLeoZtVkMcMAmNfgcp
Thread-topic: [Xen-devel] New release candidate for Xen 4.0.0 (RC9)
User-agent: Microsoft-Entourage/
On 31/03/2010 22:07, "Konrad Rzeszutek Wilk" <konrad.wilk@xxxxxxxxxx> wrote:

>> I'm only interested in fixing regressions right now for 4.0.0. If this bug
>> has existed since at least 3.4 then the fix (when we have one!) can wait a
>> bit longer, for 4.0.1. My guess is that the MTRR interface is getting little
> Yeah. I get the same failure with 3.4 from xen-3.4-testing:

I didn't reproduce this with my setup, but the crash below is because
spin_unlock() is finding that the lock is not locked on entry. This is the
set_atomicity_lock as acquired/released by prepare_set/post_set. Looking at
the code they seem to be used in matched pairs and I can't see any memory
corruption issues or anything. If you want to get this fixed then you'll
have to add some tracing to find out what's going on (e.g, dump the lock
state at the end of prepare_set and start of post_set). If you can reproduce
this deterministically with your setup then should be pretty easy to nail
this bug.

 -- Keir

> (XEN)    [<ffff828c8011bd14>] _spin_unlock+0xc/0x22
> (XEN)    [<ffff828c80184265>] post_set+0x70/0x72
> (XEN)    [<ffff828c801843d7>] generic_set_mtrr+0xd9/0xf3
> (XEN)    [<0000000000000002>] ???
> (XEN)    
> (XEN) 
> (XEN) ****************************************
> (XEN) Panic on CPU 0:
> (XEN) Assertion '((lock)->lock <= 0)' failed at
> /home/konrad/git/tip/nex-VI/xen/xen/include/asm/sp:18
> (XEN) ****************************************
> (XEN) 

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>