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] Nvidia drivers on Xen with dom0 pvops on ultra-recent "g

To: Nigel Gamble <nigel@xxxxxxx>
Subject: Re: [Xen-devel] Nvidia drivers on Xen with dom0 pvops on ultra-recent "git tip"kernel on x86_64
From: Andrew Lyon <andrew.lyon@xxxxxxxxx>
Date: Fri, 24 Apr 2009 08:43:15 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 24 Apr 2009 00:43:47 -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 :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=hw8mH67xNb+djerUGm+vPnq3+1re6giXWNxcqc4jums=; b=UVbV0rkOQzq1C7TC7U9kYx+vn8IvWfmv1ea4RhecQy9ejABOkMdqEo1lbDxmk8rh6N Zlu+qMKcp0o6+w5HU03sASMWnUrp+I9G2hdpVGqrd1gMHqcmwZW7q0hauIMMWlz8SxSg 545ip0RARfqzSSjX/DSux/jTqrPXiwtLAbtuQ=
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:content-transfer-encoding; b=n60axoEzWRwJE3rfgEoNmydc/v1Iu1c36QOc9dgjUj3nW0Bj/fSENGar4n7T+hJgXP FhXUm0Bdq8Fe0gBg/g4qagDVp4mvi6HlpQX9rJ69Fyl+zuUfWbJmDleq4pXf/esRbt+/ G7i+FYnPsmKNqE6uZ7P6/u+lDLBbHXwdX4yzo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CD18DBB0-DA6C-49E9-A74D-086F1642DFF8@xxxxxxx>
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: <949542.54584.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <49A46533.1070003@xxxxxxxx> <f4527be0902241351h440aa451l5684a814850446f@xxxxxxxxxxxxxx> <CD18DBB0-DA6C-49E9-A74D-086F1642DFF8@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Apr 23, 2009 at 10:49 PM, Nigel Gamble <nigel@xxxxxxx> wrote:
> On Feb 24, 2009, at 1:51 PM, Andrew Lyon wrote:
>
>> On Tue, Feb 24, 2009 at 9:22 PM, Jeremy Fitzhardinge <jeremy@xxxxxxxx>
>> wrote:
>>>
>>> Boris Derzhavets wrote:
>>>>
>>>> X-Server fails to start on GeForce 8500 GT
>>>> Attempting "startx" i get a trace back.
>>>> Does it mean , that a proper NVIDIA driver is just not available for the
>>>> most recent
>>>> 2.6.29-rc5 ?
>>>>
>>>
>>> Are you using the nvidia binary driver?  I would be surprised if it
>>> worked
>>> out of the box; if changes need to be made to the binary parts, it may
>>> not
>>> be fixable at all.
>>>
>>>  J
>>
>> I believe the current driver works with Xen because somebody outside
>> of nvidia contributed a patch, I use the nvidia binary driver with Xen
>> 3.2.1 and my custom dom0 kernel which is 2.6.27.10 patched with
>> openSUSE Xen patches rebased to apply to vanilla, it works very well
>> but when pv_ops is merged into mainline the nvidia driver will
>> probably work when it is running on the bare metal but not under Xen
>> :(.
>>
>> Having said that the patch for Xen support only touched the open
>> source parts of the driver, as soon as the current problems with hvm
>> on pv_ops are fixed I will be testing pv_ops and nvidia driver and I
>> will attempt to fix any problems, my C skills are improving so I might
>> be able to figure it out.
>
>
> Did you ever figure this out?  I've just hit the same problem.  It looks
> like the source code part of the Nvidia kernel module has the code necessary
> to work on an old Xen Linux, but if it detects CONFIG_PARAVIRT set for a
> pv_ops kernel, it gives up an doesn't attempt to work with Xen at all.
>
> Nigel
>

hvm is still not working with pv_ops dom0 so I've not looked at it.

With a traditional patched Xen dom0 kernel you can use
IGNORE_XEN_PRESENCE=y to bypass the CONFIG_PARAVIRT check.

Andy

Andy

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