[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: deshantm@xxxxxxxxx
  • From: "billy lau" <billylau@xxxxxxxxx>
  • Date: Tue, 11 Nov 2008 14:47:53 -0500
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 11 Nov 2008 11:48:42 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:references:x-google-sender-auth; b=St0UacLpGr4gD9lNqWbLTDdgTUURGUYSRZ9u8Zk1FPNKHutI5utZUVf+Kj/uq5Fs5x Tkts4+w9ymBUTFOYyeN1k9E7PkkFj3W632HTo0CcwftEsqo0YvskhnwoEcd63ySE4KQw y85oGj07MaSxYaNQwBKSdSipIGLKgbGZ7yDDs=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

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

Attachment: lspci_tv
Description: Binary data

Attachment: lspci_xxx_vvv
Description: Binary data

Attachment: pciback
Description: Binary data

Attachment: hide
Description: Binary data

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.