WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] xen dom0 2.6.32.15 kernel BUG at drivers/xen/grant-table

To: Arnd Hannemann <hannemann@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xen dom0 2.6.32.15 kernel BUG at drivers/xen/grant-table.c:583
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Mon, 14 Jun 2010 11:57:16 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 14 Jun 2010 04:02:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C15E000.7060509@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>
References: <4C15E000.7060509@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Mon, 14 Jun 2010, Arnd Hannemann wrote:
> Hi,
> 
> we have regular but hard to reproduce (wait for a day or two starting domUs) 
> kernel panics (see below) with latest
> "xen/stable-2.6.32.x" git tree.
> 
> Any idea, anyone?
> 

this CS from origin/xen/dom0/gntdev should fix your problem:

sstabellini@kaball-desktop:~/xensource/linux-pvops-latest$ git show 
ad469f0da31bc16b945f9a06710b9d45434d0091
commit ad469f0da31bc16b945f9a06710b9d45434d0091
Author: Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Date:   Wed Jun 9 12:34:02 2010 -0700

    xen/gntdev: use spinlocks rather than rwsem for locking
    
    The mmu notifier mechanism calls its callbacks with an rcu lock,
    which disables preemption.  This means we cannot use any blocking
    synchronization for locking.
    
    Convert all the rwsemas to plain spinlocks.  This requires that
    the memory allocation and copying to/from userspace be split
    from the actual datastructure updates since they can't be done
    under spinlock.
    
    Signed-off-by: Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
    Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel