From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: PVops domain 0 crash on NUMA system only Node==1 present (Was: Re: Bug#603632: linux-image-2.6.32-5-xen-amd64: Linux kernel 2.6.32/xen/amd64 booting fine on bare metal, but not as dom0 with Xen 4.0.1 (Dell R410)) Date: Tue, 23 Nov 2010 18:52:07 +0000 Message-ID: <1290538327.9844.26.camel@localhost.localdomain> References: <20101115233253.11935.35707.reportbug@zerohal> <1290513067.31507.7699.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1290513067.31507.7699.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Vincent CARON Cc: Cris Daniluk , xen-devel , Keir Fraser , Jeremy Fitzhardinge , "603632@bugs.debian.org" <603632@bugs.debian.org> List-Id: xen-devel@lists.xenproject.org On Tue, 2010-11-23 at 11:51 +0000, Ian Campbell wrote: > > Perhaps we should be passing numa_node_id() (e.g. current node) > instead of node 0? I've just kicked off a build of the 2.6.32-27 Debian kernel with the following additional patch, I will hopefully post the binaries tomorrow. If you already have the capability to build a custom kernel in place you might like to try it before then. Ian. diff --git a/drivers/xen/events.c b/drivers/xen/events.c index 7b29ae1..868b172 100644 --- a/drivers/xen/events.c +++ b/drivers/xen/events.c @@ -418,7 +418,7 @@ static int find_unbound_irq(void) if (irq == start) goto no_irqs; - desc = irq_to_desc_alloc_node(irq, 0); + desc = irq_to_desc_alloc_node(irq, numa_node_id()); if (WARN_ON(desc == NULL)) return -1;