From: Ian Campbell Subject: Re: [PATCH] xend: disallow multiple destroy() call Date: Mon, 18 Feb 2013 10:39:47 +0000 Message-ID: <1361183987.31407.136.camel@zakaz.uk.xensource.com> References: <510F14CF.6050801@oracle.com> <510F84C2.9090505@citrix.com> <5110AAFA.7060602@oracle.com> <1360057377.17017.7.camel@zakaz.uk.xensource.com> <512056D5.6080507@oracle.com> <51206584.8060200@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <51206584.8060200@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Joe Jin Cc: xen-devel , Roger Pau Monne , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org On Sun, 2013-02-17 at 05:07 +0000, Joe Jin wrote: > Execute "xl-destroy" twice lead the dom0 panic: > config file as below: Thanks. > kernel BUG at drivers/pci/access.c:423! [...] > BTW: xm-create work fine but xl-create trigger the panic as below: Both the panic above and the warn+panic below seem like kernel bugs which are simply exposed by xl rather than xl bugs as such. Presumably xl just tickles things different to xm. The dom0 kernel you are using is a bit dated and appears (from the revision) to be rather heavily patched. > > WARNING: at fs/proc/generic.c:850 remove_proc_entry+0x22d/0x240() > > Hardware name: SUN FIRE X4370 M2 SERVER > > remove_proc_entry: removing non-empty directory 'irq/536', leaking at least 'eth7' [..] > > BUG: unable to handle kernel NULL pointer dereference at 000000000000001c > > IP: [] evtchn_from_irq+0x16/0x40 Wei recently posted a bug fix for an issue which looked a bit like this last one. That was something do with error handling on allocation failure though so I doubt it represents the actual root cause though. Ian.