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-users

Re: [Xen-users] xm pci-detach lockup

To: "Andrew Lyon" <andrew.lyon@xxxxxxxxx>
Subject: Re: [Xen-users] xm pci-detach lockup
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Tue, 23 Dec 2008 00:20:35 -0500
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 22 Dec 2008 21:21:34 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=EKD/spm9kGwaoPSneus0SRUX/0OO+WoLSN7aMMwj6gA=; b=xONRxa9NbyyUavGQFsfryPgIG6wu2gUkgk0wDehM09Qy13DPdFuKDEQus5Ip12icrv fnfld3zTkdw6OpMcWEfoUbD729JlESYZCR6DCGM83ddyaftfqoU3fwdZdF1XNEur3Za0 w47Bf06huQg/ta0+NK/LZd1kQFhCiWdIjVP7U=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=fgMXCkCc28HITMYwcmBQDxlbfE1qv9of5/Q56LckYMSwv/6yERqyABhZ18Xbgm4Rxa qtDb/YtEpEu6HftSNei0xd+noCuPDPPJry24alMjZ0FhAEsD4N1wXn+m6NiIgbOxApnX 33+EGEf7K5+CahPkCOm+oeFwOAL7l3P2WXtT0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f4527be0812221137t33584968qe956c86d61510e77@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <f4527be0812221058j65c5ba9fj982116ddba99d53e@xxxxxxxxxxxxxx> <f4527be0812221137t33584968qe956c86d61510e77@xxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Dec 22, 2008 at 2:37 PM, Andrew Lyon <andrew.lyon@xxxxxxxxx> wrote:
> Hi,
>
> I have a NEC USB2 PCIx card which I assign to a Vista HVM by adding
> pci = [ '0000:02:01.0', '0000:02:01.1', '0000:02:01.2' ] to the config
> file, the card works well in Vista but if I try to detach it, destroy
> the domain without shutting it down, or if the domain crashes, then
> the entire machine locks up, I have a serial console setup but it is
> completely unresponsive.
>
> Combined with the issue that when the machine is under heavy load
> Vista sometimes BSOD with "A clock interrupt was not received on a
> secondary processor" this causes the system to lockup frequently :(.
>
> I made sure to trigger safe removal of the device before detaching it.
>
> Perhaps all 3 functions of the card need to be detached at the same
> time? or am I wrong in assigning all 3 in the first place? they are
> all listed when I run xm pci-list-assignable-devices and it seems to
> be necessary to assign all 3.
>
> Assigning the device by adding the setting to the config file, or
> using xm pci-attach after the domain has booted does work, only
> detaching causes the lockup.
>
> This happens on my main workstation which is a Supermicro X7DWA-N
> running Xen 3.3.1 rc4 (also tried 3.3 with fix for "ValueError:
> unsupported format character ':' (0x3a) at index 6" and
> fix_find_parent.patch), I usually use my own Gentoo ebuild for Xen
> dom0 kernel which is 2.6.27.8 with the openSUSE Xen patches rebased to
> apply to vanilla without any of the other patches that openSUSE kernel
> usually applies, but I have also tried using the interim 2.6.27 kernel
> from http://xenbits.xensource.com/ext/linux-2.6.27-xen.hg with the
> same result.
>
> I replicated the problem on a Dell Optiplex 755 using the same
> versions of Xen and kernel, but using a dlink network card which is
> assigned as a single function (0000:02:01.0), it behaved exactly the
> same, lockup on xm-detach.
>
> I seem to recall a commit recently for "hypervisor panic on domain
> destory with passthru", but I cannot find it, anybody know where i can
> find it and if it may help?
>

Maybe this is the one:
http://xen.markmail.org/search/?q=panic#query:panic
list%3Acom.xensource.lists.xen-devel+page:2+mid:tfphqwwdstovpq5u+state:results

> Thanks
> Andy
>
> Andy
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>



-- 
Todd Deshane
http://todddeshane.net
http://runningxen.com

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

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