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] xen, pvops & nvidia graphics

On Tue, Jan 19, 2010 at 09:31:27PM +0100, Jørn Odberg wrote:
>    Hello, and thanks for the reply.
> 
>    I've added this to my grub (it may be redundant, but I got different
>    advices, so I added them all;):
> 
>    title Xen / Gentoo Linux 2.6.31-xen-r10 IOMMU
>    root (hd0,0)
>    kernel /boot/xen.gz iommu=1 vtd=1
>    module /boot/vmlinuz-2.6.31-xen-r10 root=/dev/md2 pciback.permissive

Oh, it looks like you're not using pv_ops dom0 kernel, but gentoo kernel with 
xenlinux patches from opensuse.

Then you can forget my xen-pciback comment.

>    xen-pciback.hide=(01:00.0)(08:00.0)(09:00.0)
>    pciback.hide=(01:00.0)(08:00.0)(09:00.0) guestdev=01:00.0,08:00.0,09:00.0
>    reassign_resources console=tty0
> 
>    And I have installed Xen 3.4.2-r1.
> 
>    xm dmesg , shows:
>    (XEN) Command line: iommu=1 vtd=1
>    (XEN) VMX: Supported advanced features:
>    (XEN)Â  - APIC MMIO access virtualisation
>    (XEN)Â  - APIC TPR shadow
>    (XEN)Â  - Virtual NMI
>    (XEN)Â  - MSR direct-access bitmap
>    (XEN) HVM: VMX enabled
>    (XEN) I/O virtualisation disabled
> 

Please paste the full "xm dmesg", that doesn't show why it's disabled in Xen 
hypervisor.

Did you enable VT-d in BIOS?

-- Pasi

>    // JÞrn
> 
>    On Tue, Jan 19, 2010 at 7:19 PM, Pasi KÀrkkÀinen <[1]pasik@xxxxxx>
>    wrote:
> 
>      On Tue, Jan 19, 2010 at 02:49:52PM +0100, JÞrn Odberg wrote:
>      > Â  Â Hello.
>      >
>      > Â  Â I have this exact same problem myself.
>      >
>      > Â  Â (I have four onboard gigabit network cards, pci 05:00.0, 06:00.0,
>      07:00.0
>      > Â  Â and 08:00.0)
>      > Â  Â I tried using pciback.hide=(06:00.0)(07:00.0) . And in dom0, I
>      now get:
>      >
> 
>      In the recent pv_ops dom0 kernels pciback module is now called
>      xen-pciback,
>      so you need to change that to xen-pciback.hide.
> 
>      -- Pasi
>      > Â  Â xen ~ # ifconfig eth1
>      > Â  Â eth1: error fetching interface information: Device not found
>      >
>      > Â  Â And the same for eth2. So it apparently got "hidden", or
>      detached.
>      >
>      > Â  Â But the command "xm pci-list-assignable-devices" doesn't return
>      anything.
>      > Â  Â And when trying "xm pci-detach", I get the same error as you
>      (Cannot
>      > Â  Â detach when pci platform does not exist). Even though I've
>      compiled in all
>      > Â  Â the support I can think of in the kernel.
>      >
>      > Â  Â Running:
>      > Â  Â Gentoo 2.6.31-xen-r10
>      > Â  Â xen-3.4.2-r1
>      >
>      > Â  Â // JÃ*ÅŸrn
>      >
>      > Â  Â On Mon, Dec 21, 2009 at 10:22 PM, Kai Wohlfahrt
>      <[1][2]kjw53@xxxxxxxxx>
>      > Â  Â wrote:
>      >
>      > Â  Â  Â Still no luck with that. My grub entry looks like so:
>      >
>      > Â  Â  Â  Â  Â menuentry "Xen-Unstable / Kubuntu 9.10 kernel 2.6.31.6
>      pvops" {
>      >
>      > Â  Â  Â  Â  Â insmod ext2
>      >
>      > Â  Â  Â  Â  Â set root=(hd0,1)
>      >
>      > Â  Â  Â  Â  Â multiboot (hd0,1)/boot/xen.gz dom0_mem=1048M iommu=force
>      >
>      > Â  Â  Â  Â  Â module (hd0,1)/boot/vmlinuz-2.6.31.6-xen
>      xen-pciback.hide=(01:00.0)
>      >
>      > Â  Â  Â  Â  Â module (hd0,1)/boot/initrd.img-2.6.31.6-xen
>      >
>      > Â  Â  Â  Â  Â }
>      >
>      > Â  Â  Â but my lspci still looks the same (i.e. it still has the line:
>      01:00.0
>      > Â  Â  Â VGA compatible controller: nVidia Corporation G96 [GeForce GT
>      130M] (rev
>      > Â  Â  Â a1)).
>      > Â  Â  Â Using xm pci-detach still gives the same error as well (Error:
>      Cannot
>      > Â  Â  Â detach when pci platform does not exist)
>      > Â  Â  Â Kai
>      > Â  Â  Â _______________________________________________
>      > Â  Â  Â Xen-users mailing list
>      > Â  Â  Â [2][3]Xen-users@xxxxxxxxxxxxxxxxxxx
>      > Â  Â  Â [3][4]http://lists.xensource.com/xen-users
>      >
>      > References
>      >
>      > Â  Â Visible links
>      > Â  Â 1. mailto:[5]kjw53@xxxxxxxxx
>      > Â  Â 2. mailto:[6]Xen-users@xxxxxxxxxxxxxxxxxxx
>      > Â  Â 3. [7]http://lists.xensource.com/xen-users
>      > _______________________________________________
>      > Xen-users mailing list
>      > [8]Xen-users@xxxxxxxxxxxxxxxxxxx
>      > [9]http://lists.xensource.com/xen-users
> 
>      _______________________________________________
>      Xen-users mailing list
>      [10]Xen-users@xxxxxxxxxxxxxxxxxxx
>      [11]http://lists.xensource.com/xen-users
> 
> References
> 
>    Visible links
>    1. mailto:pasik@xxxxxx
>    2. mailto:kjw53@xxxxxxxxx
>    3. mailto:Xen-users@xxxxxxxxxxxxxxxxxxx
>    4. http://lists.xensource.com/xen-users
>    5. mailto:kjw53@xxxxxxxxx
>    6. mailto:Xen-users@xxxxxxxxxxxxxxxxxxx
>    7. http://lists.xensource.com/xen-users
>    8. mailto:Xen-users@xxxxxxxxxxxxxxxxxxx
>    9. http://lists.xensource.com/xen-users
>   10. mailto:Xen-users@xxxxxxxxxxxxxxxxxxx
>   11. http://lists.xensource.com/xen-users

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

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