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


[Xen-devel] [xen 3.5-unstable] passthrough of pci USB card fails

To: xen-devel@xxxxxxxxxxxxxxxxxxx <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [xen 3.5-unstable] passthrough of pci USB card fails
From: Sander Eikelenboom <linux@xxxxxxxxxxxxxx>
Date: Tue, 21 Jul 2009 14:17:27 +0200
Delivery-date: Tue, 21 Jul 2009 05:18:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Organization: Eikelenboom IT services
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

I'm trying to passthrough a pci USB card to a DomU (HVM).
Although pciback seems to seize the device with all functions as seen in
the dmesg output, they don't appear using "xm pci-list-assignable-devices".

When trying to passthrough to a HVM (with VT-D enabled) it stops creating
the domain and complains about:
VmError: pci: 0000:01:00.2: non-page-aligned MMIO BAR found.

From what I read, booting the xen hypervisor with "reassigndev=" should
solve the non-page-aligned issues, but apparently it doesn't in this case.
Also added them to xend-pci-persmissive.

Is there another boot-option/way to reassign the device ?



Attached is the output from:
xm info
xm dmesg
lspci -vvvnnk
ls /sys/bus/pci/drivers/pciback
/var/log/xen/xend log with the start of a HVM domain
winhvm.cfg (config file of the hvm domain)

Attachment: dmesg.log
Description: Text document

Attachment: lspci.log
Description: Text document

Attachment: pciback.log
Description: Text document

Attachment: xend.log
Description: Text document

Attachment: xm-dmesg.log
Description: Text document

Attachment: xm-info.log
Description: Text document

Attachment: winhvm.cfg
Description: Binary data

Xen-devel mailing list