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-devel] [xen 3.5-unstable] passthrough of pci USB card fails

To: Sander Eikelenboom <linux@xxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [xen 3.5-unstable] passthrough of pci USB card fails
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Wed, 22 Jul 2009 11:02:13 +0800
Accept-language: zh-CN, en-US
Acceptlanguage: zh-CN, en-US
Delivery-date: Tue, 21 Jul 2009 20:04:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <411495869.20090721141727@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: <411495869.20090721141727@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcoJ/WyCJ4OnAcJrRzS1bVTump/7pAAezgWA
Thread-topic: [Xen-devel] [xen 3.5-unstable] passthrough of pci USB card fails
The boot parameters changed.

I think you should have a look at

-- Dexuan

-----Original Message-----
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Sander Eikelenboom
Sent: 2009?7?21? 20:17
To: xen-devel@
Subject: [Xen-devel] [xen 3.5-unstable] passthrough of pci USB card fails


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)

Xen-devel mailing list