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

To: Kai Wohlfahrt <kjw53@xxxxxxxxx>
Subject: Re: [Xen-users] xen, pvops & nvidia graphics
From: chris <tknchris@xxxxxxxxx>
Date: Mon, 21 Dec 2009 12:56:08 -0500
Cc: Xen-Users List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 21 Dec 2009 09:57:03 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=VuYsKMg7GzdbEdBx0hygSVTmfYr1RM9IzvtKEds5MeQ=; b=JR4zKtJ0WLxKJJWzp90Wlquk/ryDoncpBLXuSzE/j0onodR2GG9YGJyV896deovcA8 BRDRVmJU7vcSvoKgCDAeD0ZQj2oV5oNI+WC2XMkVAZdTtjfUOdeZnxlCHPSH59X5NqAM gSRHqos3fqfyY4nQAVzoNRr+KhqumO0rruVRE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=hbSQ9C1E+WUecGr/WGiquy/vN4tctaMgGE9hlXPJTpTjOF/YK5+Azn9Ol9uD3W68Pv KflmPuvEfZgwyYLYmdBym2M3M8KjzhUroj7DqImHn8gd/jppILnJ5imTATxGPs1mcLGF q8/ai84EUSPcVpUvF9uBlKRgppaPiq5E/yuLc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <8187cf590912200728r3ecd6117ua6801fd171897f0e@xxxxxxxxxxxxxx>
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>
References: <8187cf590912200728r3ecd6117ua6801fd171897f0e@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
pciback was renamed to xen-pciback, I ran into this exact problem recently and bashed my head against the wall a bit to figure it out. Change your kernel cmdline to use xen-pciback.hide.

Good luck!

chris

On Sun, Dec 20, 2009 at 10:28 AM, Kai Wohlfahrt <kjw53@xxxxxxxxx> wrote:
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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>