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 panic on guest shutdown with PCI Passthrough

To: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Xen panic on guest shutdown with PCI Passthrough
From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
Date: Tue, 15 Feb 2011 15:35:39 +0000 (GMT)
Cc: "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>, "Zhang, Fengzhe" <fengzhe.zhang@xxxxxxxxx>
Delivery-date: Tue, 15 Feb 2011 07:36:38 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimVe8400UTzka1j3u9hqCGBOCDCYMGeiaCyqo-m@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: <alpine.DEB.1.10.1102041620130.16177@xxxxxxxxxxxxxxxxxxxxxxx> <4D4FC90B02000078000307E1@xxxxxxxxxxxxxxxxxx> <AANLkTimVe8400UTzka1j3u9hqCGBOCDCYMGeiaCyqo-m@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 1.10 (DEB 962 2008-03-14)
On Mon, 7 Feb 2011, Anthony PERARD wrote:

> On Mon, Feb 7, 2011 at 09:27, Jan Beulich <JBeulich@xxxxxxxxxx> wrote:
> >>>> On 04.02.11 at 17:34, Anthony PERARD <anthony.perard@xxxxxxxxxx> wrote:
> >> Hi,
> >>
> >> Each time I shutdown a guest with a passthrough pci device, Xen panic
> >> on a NMI - MEMORY ERROR.
> >
> > And this happening in msi_set_mask_bit() is consistent? Always at
> > the same RIP, or (slightly) varying? If always at the same address,
> > could you disassemble the respective instruction so we know what
> > address is being read/written?
>
> Unfortunately, this error happened in many place, even in default_idle.
>
> Maybe this can help:
> (XEN) irq.c:1585: dom1: forcing unbind of pirq 16
> (XEN) irq.c:1585: dom1: forcing unbind of pirq 54
> the error happened just after these debug print.
>
> > And quite certainly only on one (type of) machine?
>
> Yes, only one machine, I didn't try on other machine.

I tried to use 'xl pci-attach' and 'xl pci-detach' with the module
acpiphp in the guest, this work fine. But xen say:
(XEN) domctl.c:992:d0 memory_map:remove: gfn=20000 mfn=da000 nr_mfns=2000
(XEN) p2m.c:2723:d0 clear_mmio_p2m_entry: gfn_to_mfn failed! gfn=0002000c

The error append only when the pci device is still attach to the guest
when I type 'halt' in the guest.

-- 
Anthony PERARD

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

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