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

[Xen-devel] Re: [pciback] BUG: spinlock wrong CPU on CPU#2, xenwatch/40

To: Sander Eikelenboom <linux@xxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [pciback] BUG: spinlock wrong CPU on CPU#2, xenwatch/40 lock: ffff88001dd9d310, .magic: dead4ead, .owner: xenwatch/40, .owner_cpu: 0
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Wed, 10 Nov 2010 09:27:26 -0500
Cc: "Xen-devel@xxxxxxxxxxxxxxxxxxx" <Xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 10 Nov 2010 06:29:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <179943669.20101110101110@xxxxxxxxxxxxxx>
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: <179943669.20101110101110@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
On Wed, Nov 10, 2010 at 10:11:10AM +0100, Sander Eikelenboom wrote:
> Hi Konrad,
> 
> I saw you have made a branch for upstream pciback in your tree ?

Wow, you are quick, I just made it on Monday. There is still some
extra work required as the 2.6.37-rc1 does not have the XenBus backend 
up-ported.

So that branch is not ready.

> I have one request, would it be possible to allow a wildcard (*) for the 
> function .. so xen-pciback.hide=(04:00.*) would work just as it does in the 
> domU .cfg ?

Good idea - will do it.
> 
> Apart from that i sometimes get this when starting a domain with pci devices 
> passed through:
> 
> Nov 10 09:48:04 localhost kernel: [  893.055513] BUG: spinlock wrong CPU on 
> CPU#2, xenwatch/40
> Nov 10 09:48:04 localhost kernel: [  893.056268]  lock: ffff88001dd9d310, 
> .magic: dead4ead, .owner: xenwatch/40, .owner_cpu: 0

Yeah, that one is tied in the fact that the XenBus backend thread is taking
the spinlock and in pciback we call xenstore, which can go to sleep, and then
we can wake up on another CPU.

I need to talk to Ian about the XenBus thread to see how this can be made safe.

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

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