[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] xen, pvops & nvidia graphics


  • To: Xen-Users List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Kai Wohlfahrt <kjw53@xxxxxxxxx>
  • Date: Sun, 20 Dec 2009 16:28:33 +0100
  • Delivery-date: Mon, 21 Dec 2009 08:12:09 -0800
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello all, this is my first post to the mailing list, so I hope this is the right way to ask a question.

I've installed xen on my laptop (Asus N51Vf, specs here: http://www.asus.com/product.aspx?P_ID=0Tc42s23bOdbbvY5), as I'm currently at university and don't have my proper desktop hardware to play with. The laptop supports IOMMU/Vt-d and has one PCI-e Geforce GT130M graphics card.

I installed xen and the pvOps kernel (on top of kubuntu 9.10) according to the guide here: http://bderzhavets.wordpress.com/2009/08/31/loading-xen-via-grub2-on-top-ubuntu-karmic-server-alpha-4/

After some tweaking, it now boots up fine and I can start xend properly.

The problem is that I cannot detach my graphics card from Dom0 (I compiled the kernel with hot-(un)plug support, but I think the problem occurs somewhere else).
lspci outputs the following:
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce GT 130M] (rev a1)
03:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
09:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
09:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
09:01.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
09:01.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)

but using: xm pci-detach 0 0000:01:00.0 OR: xm pci-detach 0 01:00.0
returns:
Error: Cannot detach when pci platform does not exist
Usage: xm pci-detach <Domain> <domain:bus:slot.func>

Remove a domain's pass-through pci device.

Also, passing the pciback.hide=(01:00.0)(00:02.0) argument to the pvOps kernel doesn't seem to have an effect (the appropriate modules are compiled statically into the kernel).
Can anybody help me with this?

Also, a little thing that's annoying me, but is not as critical, is that my Dom0 crashes when xserver starts if graphics drivers are enabled. I assume this is because even Dom0 is not in the correct address space for DMA, and according to http://wiki.xensource.com/xenwiki/VTdHowTo, there is no DMA translation for Dom0. I don't really need my graphics card for Dom0, but if anybody knows a way to get it working I'd appreciate it. 

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.