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


[SPAM] Re[2]: [Xen-devel] [xen 3.5-unstable] passthrough of pci USB card

To: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Subject: [SPAM] Re[2]: [Xen-devel] [xen 3.5-unstable] passthrough of pci USB card fails
From: Sander Eikelenboom <linux@xxxxxxxxxxxxxx>
Date: Fri, 24 Jul 2009 09:43:34 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 24 Jul 2009 00:45:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Low
In-reply-to: <EADF0A36011179459010BDF5142A457501CA0C05A9@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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
References: <411495869.20090721141727@xxxxxxxxxxxxxx> <EADF0A36011179459010BDF5142A457501CA0C05A9@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hello Dexuan,

From what i read, i should replace both pciback and reassigndev with the
new guestdev parameter. And it should accept the same syntax as

So i tried to boot my Dom0 with:
module          /boot/vmlinuz- root=/dev/sda1 ro log_buf_len=65662 

It seizes the pci devices, but creating the HVM domU still fails with:
Error: pci: 0000:01:00.2: non-page-aligned MMIO BAR found.

Any more things I could try ?

-- Sander

xm info
xm dmesg
lspci -vvvknn

Wednesday, July 22, 2009, 5:02:13 AM, you wrote:

> The boot parameters changed.

> I think you should have a look at
> http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev=reassign_resources 

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

> Hi,

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

> Regards,

> Sander

> Attached is the output from:
> xm info
> xm dmesg
> 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)

Best regards,
 Sander                            mailto:linux@xxxxxxxxxxxxxx

Attachment: dmesg.log
Description: Text document

Attachment: lspci.log
Description: Text document

Attachment: xend.log
Description: Text document

Attachment: xm-dmesg.log
Description: Text document

Attachment: xm-info.log
Description: Text document

Xen-devel mailing list