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

Re: [Xen-users] PCI Passthrough without VT-d

On Sun, Mar 21, 2010 at 11:56:54PM +0100, Paolo Rivetti wrote:
>    Thanks Pasi, now works. I used 'guestdev =' which replaced 'reassigndev ='
>    ([1]http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/a3ad7a5f2dcd)
>    My final configuration now is:
>    title CentOS (2.6.18.8-xen-d2)
>            root (hd0,0)
>            kernel /xen.gz
>            module /vmlinuz-2.6.18.8-xen-d2 ro root=/dev/vg0/lv0 rhgb quiet
>    noreboot dom0_mem=1024M pciback.permissive pciback.hide=(01:00.0)
>    guestdev=01:00.0 reassign_resources
>            module /initrd-2.6.18.8-xen-d2.img
>    It was a great effort, but eventually it works. Xen offers a lot of
>    functionality but is very complex!

Good to hear it works!

ps. I'm working on adding these things to a wiki page, for easier usage in the 
future :)

-- Pasi

>    On Mar 21, 2010, at 9:56 PM, Pasi Kärkkäinen wrote:
> 
>      On Sun, Mar 21, 2010 at 09:19:44PM +0100, Paolo Rivetti wrote:
> 
>          I can not assign the PCI card to the PV guest.
> 
>          When I start the machine I get the error: non-page-aligned MMIO BAR
>        found
> 
>          I have the same configuration
> 
>          I'm using CentOS 5.4 and Xen 3.4.2
> 
>          I recompiled the kernel enabling PCI Backend inside the kernel (not
>        as
> 
>          module) and PCI Backend Mode to Passthrogh.
> 
>          This is my grub.conf configuration
> 
>          title CentOS (2.6.18.8-xen-d2)
> 
>                  root (hd0,0)
> 
>                  kernel /xen.gz
> 
>                  module /vmlinuz-2.6.18.8-xen-d2 ro root=/dev/vg0/lv0 rhgb
>        quiet
> 
>          noreboot dom0_mem=1024M pciback.permissive
>        pciback.hide=(0000:01:00.0)
> 
>                  module /initrd-2.6.18.8-xen-d2.img
> 
>          xm create -c /etc/xen/of0
> 
>          Using config file "/etc/xen/of0".
> 
>          Error: pci: 0000:01:00.0: non-page-aligned MMIO BAR found.
> 
>          There are a lot of emails on the internet, but few solutions, some
>        have no
> 
>          idea what it is?
> 
>      Did you try the reassigndev= option?
> 
>      That should fix the "non-page-aligned MMIO BAR found" issue.
> 
>      -- Pasi
> 
> References
> 
>    Visible links
>    1. http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/a3ad7a5f2dcd

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

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