WARNING - OLD ARCHIVES

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

xen-users

[Xen-users] [solved] Error: pci: 0000:01:07.0: non-page-aligned MMIO BAR

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] [solved] Error: pci: 0000:01:07.0: non-page-aligned MMIO BAR found.
From: "Christian Kniep" <ChristianKniep@xxxxxx>
Date: Sat, 13 Mar 2010 12:29:43 +0100
Delivery-date: Sat, 13 Mar 2010 03:30:47 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Folks,

I make I new approach to pimp up my xen-Kernel in higher version-numbers.
Currently I run a selfcompiled 2.6.27-Kernel from:
hg clone http://xenbits.xensource.com/ext/linux-2.6.27-xen.hg

In the next step I want to run the kernel from jemery:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git

I tried the last couple of days to get pci-passtrough work with jeremys kernel 
but I still get:
----
chieftec:~# xm create vdr1.cfg
Using config file "/etc/xen/vdr1.cfg".
Error: pci: 0000:01:07.0: non-page-aligned MMIO BAR found.
----

For quite a long I zero in on the following lines in "xm dmesg":
-------
(XEN) AMD SVM: ASIDs enabled.
(XEN) HVM: SVM enabled
(XEN) HVM: Hardware Assisted Paging detected.
[..]
(XEN) AMD-Vi: IOMMU not found! <------ (kernel option iommu=1)
(XEN) I/O virtualisation disabled <----- 
-------
After a while I found out that this errors also could be find in the working 
2.6.27-kernel. So I guess that could not be what caused this mess. :)

While I write this mail I found the solution… *DANCING*
So for all who are struggling with this akward error:
-> xen-pciback.hide=(X:XX.X) pci=resource_alignment=XX:XX.X <-
works for me!
----
title           Xen 3.4.2 / 2.6.31.12-xen4
root            (hd0,6)
kernel          /boot/xen-3.4.2.gz 
module          /boot/vmlinuz-2.6.31.12-xen4 root=/dev/sda7 ro console=tty0 
pci=nomsi noreboot xen-pciback.hide=(01:07.0) pci=resource_alignment=01:07.0
module          /boot/initrd.img-2.6.31.12-xen4
----

Now I get:
-----
chieftec:~# xm create vdr1.cfg
Using config file "/etc/xen/vdr1.cfg".
Started domain vdr1 (id=1)
chieftec:~# 
-----

Have a great weekend
Christian
-- 
GMX DSL: Internet, Telefon und Entertainment für nur 19,99 EUR/mtl.!
http://portal.gmx.net/de/go/dsl02

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

<Prev in Thread] Current Thread [Next in Thread>