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-devel

Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1

To: Tim Moore <timothy.moore@xxxxxxxxxxx>
Subject: Re: [Xen-devel] good progress on pci vga passthrough in xen-3.4-rc1
From: Bryan York <bryan.york@xxxxxxxxx>
Date: Tue, 14 Apr 2009 20:37:05 -0700
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 14 Apr 2009 20:39:04 -0700
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 :from:date:message-id:subject:to:cc:content-type; bh=cAMKLJ1vlBkXfLWexOagbza+cdFrhpZf/WdkJkWF7WU=; b=qk8nsO3lPDZGiOg5brkzTZ8BLtfPnVd7YLDkEJTM3T1w9aGGHmzj7agC7RdWKwuIUJ IhnlHskhJtNU9sJzer+JPM2DGudbPpgTE4kjJr613fp9Qkj82LEVnHEr6IjrC+BHWpEM blpKmi2jsysewsIwCyoOemPzwlDyGA04Ii6Xw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=FeIVeuo1PK9jAI3nSMtv/0f05q7LSfhHMD64ov3xqYyoXamwqIOocSwqu9MHgd5xsf /eL7Pxfp1yT7y2nRyz0knCQFq6f3urOnJwFsPVbCN39RAFmtO50oDY+gK0Ddtmf8zPVF 3Bqmb8+g7aj0ZlxhdiC0E0//suC9ngA6CHqF4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <14D9C9E2ED61ED41BC3B37ACDF4E8800029E434C1242@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <14D9C9E2ED61ED41BC3B37ACDF4E8800029E434C1241@xxxxxxxxxxxxxxxxxxxxxxx> <14D9C9E2ED61ED41BC3B37ACDF4E8800029E434C1242@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Working on something similar. Have you contacted Peter J. van der Maas regarding this? He has the Q35 intel board, but was able to fully pass through an nvidia card to a Windows HVM DomU. You can see his latest message on Thu, Apr 9, 2009 at 5:54 PM in the xen-users list. He may have some more technical details regarding this, but he seems hesitant to provide more details to these lists.

-Bryan

On Sun, Apr 12, 2009 at 4:03 PM, Tim Moore <timothy.moore@xxxxxxxxxxx> wrote:
Platform : Nehalem, official Intel x58 with Core i7 920 (dx58so)
Main (Console): Nvidia 9500 GT PCI Express
Secondary: Nvidia 8800 GTS PCI Express
 
Yes, I binned the ASUS P6T due to bad VT-d support in the BIOS.
 
With the latest BIOS from Intel, the dx58so has enable/disable for VT-d, ICH FLR and Interrupt Mapping! Helped a lot with getting this working ...
 
Dom0
: 2.6.18-xen0 (built from xen-3.4-rc1)
DomU: 2.6.26-1-xen-amd64 (deb lenny shipped)
 
SUCCESS! - Linux DomU with the official drivers from Nvidia (180.44) .. boot DomU into console, patch and install Nvidia driver, then started X using defaults. gdm chooser appeared on Secondary screen!!
 
So far, i`m using VNC or Synergy to control the DomU (from Dom0 also running X/gdm) and it is good and stable.
 
ISSUES:
This is only possible after a clean restart of the physical machine. Dom0 kernel seems to have problems with the IRQ. BUG trap: "irq has gone away" after attempting to start DomU a second time, Dom0 kernel displays: Disabling IRQ#. (the IRQ IS being shared on Dom0 with a usb controller, but im assuming this is already patched from reading xen history)
 
Also confirmed that this is NOT possible under a HVM or running Windows in a DomU, this could be due to the IRQ corruption but i`m not really sure, in both cases the PCI device is visible but the driver will not load :(
 
As these vga cards dont support FLR, would the FLR code when attempting d3r or sbr cause the interrupt corruption ?
 
Some steer and some assistance would help here, i`m trying to get this working for HVM too !?
 
BTW: I`m eagerly awaiting Jeremy Fitzhardinge to bring pciback.ko to the modern kernels ! Support for this chipset in 2.6.18 is not very good and i would like to try pvops and PCI passthrough. (although, got a hang with x2apic and IRQ mapping enabled)
 
I`m willing to help move the development of xen forwards with any testing or assistance you guys need!
 
Thanks,
Tim
 
 
 

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


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