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/
Home Products Support Community News


Re: [Xen-users] PCI Passthrough for Windows error

To: "billy lau" <billylau@xxxxxxxxx>
Subject: Re: [Xen-users] PCI Passthrough for Windows error
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Tue, 11 Nov 2008 15:03:26 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 11 Nov 2008 12:04:03 -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=ADbssDWorn8Mq1/CUf/K7u6FE5xLUnjCUrvhUz2NCRE=; b=uYMsDZOz3KC7dnD394mofJrk59CHU9CrKzI5B7kSkj5+Iedi26zVxTmfxXryXAaCsb l8Y5axmNuHiIXNV4tQzPwbmQRm2WB45VFyUfHHd44DJu2RYs4nt//lYSsuPl6R301WlE Fb3EOz2HFBlO5vyVEa5137qNl1ptKvXVCDGvs=
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=HS9RNv6bbeSxFkeyA7CUdbQadBxyHJ/rXz2Tx7koDCiGzcpOTcagokQXv9P6OKCUz7 PcVfd4NsA/nkOgrFPaumamvVBtT/ZtxHcr+gGdfuyskdt5mb78JKomwUTaxkIzhP2C9x bfvwQ9Vi/t9bJ8xsh2sap9FIYypeLnEHTaOuk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <6b5ba5140811111147i10c2c9fem61c91e4e8b373ec5@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: <6b5ba5140810171139r2c8e8114lcddda5d0d3f36b02@xxxxxxxxxxxxxx> <1e16a9ed0810171727j3dcf4ea2oa4ed277495e59cd2@xxxxxxxxxxxxxx> <6b5ba5140811111147i10c2c9fem61c91e4e8b373ec5@xxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Nov 11, 2008 at 2:47 PM, billy lau <billylau@xxxxxxxxx> wrote:
> Hi, sorry, it took me quite a while, because I was trying other ways to get
> around htis prblem, but it seems like I cannot get pass this.
> Attached is the output from
> lspci -tv
> lspci -xxx -vvv
> xm pci-list-assignable-devices returns nothing
> ls /sys/bus/pci/drivers/pciback*
> grep hide /boot/grub/menu.lst
> The Linux guest taht worked before was PV.
> xm dmesg shows
> (XEN) HVM: VMX enabled
> and
> (XEN) I/O virtualisation disabled
> (XEN) Xen trace buffers: disabled
> I'm not sure if this means iommu is disabled. If it is, what should I do to
> enable it? Thanks,
> - billy

There is a separate bios option to enable the IOMMU (VT-d) (IO
virtualization support)

Did you verify that your Chipset support VT-d? That is the first step.


> On Fri, Oct 17, 2008 at 7:27 PM, Todd Deshane <deshantm@xxxxxxxxx> wrote:
>> On Fri, Oct 17, 2008 at 2:39 PM, billy lau <billylau@xxxxxxxxx> wrote:
>> > Dear Xen Users,
>> >
>> > I was attempting to boot windows using hvmloader on a debian, with Vt-d
>> > enabled. However, as I try to create my windows domain, the error below
>> > occured, and I could not understand why:
>> >
>> > Error: failed to assign device: maybe the platform doesn't support VT-d,
>> > or
>> > VT-d isn't enabled properly?
>> >
>> > The problem is that I have enabled VT-d, and I did a
>> > pciback.hide=(XX:XX.X)
>> > in grub's menu.lst. Well, The passthrough seems to be working when I
>> > load a
>> > linux domU, as i managed to see the pci device in lspci in linux domU,
>> > but
>> > for windows, only this error message appeared. Can anyone help?
>> >
>> Can you attach the output of:
>> lspci -tv
>> lspci -xxx -vvv
>> xm pci-list-assignable-devices
>> ls /sys/bus/pci/drivers/pciback*
>> grep hide /boot/grub/menu.lst
>> Your xen command line
>> Is the Linux guest that work PV or HVM?
>> Are you sure that iommu support is enabled?
>> One way to check is in the output of xm dmesg
>> It should say enable or disabled for iommu.
>> (Just want to double check that case)
>> check the patch on this message:
>> http://xen.markmail.org/search/?q=disable%20flr#query:disable%20flr+page:1+mid:7dbm675e4x4dawec+state:results
>> It might be applicable, hard to say without more info.
>> Hope that helps and/or sheds some light on possible problems.
>> Cheers,
>> Todd
>> --
>> Todd Deshane
>> http://todddeshane.net
>> http://runningxen.com

Todd Deshane

Xen-users mailing list