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] AGP & Binary Nvidia Drivers

To: Rik van Riel <riel@xxxxxxxxxx>
Subject: Re: [Xen-devel] AGP & Binary Nvidia Drivers
From: Jacob Gorm Hansen <jacobg@xxxxxxx>
Date: Wed, 02 Mar 2005 15:24:13 -0800
Cc: Jerome Brown <jerome@xxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 02 Mar 2005 23:25:22 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.61.0503020105510.1691@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <42253ECC.4010104@xxxxxxxxxx> <Pine.LNX.4.61.0503020105510.1691@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (X11/20050302)
Rik van Riel wrote:
On Wed, 2 Mar 2005, Jerome Brown wrote:


Any ideas as to where to look and/or what more information you would
like would be greatly appreciated.


Yeah, the Nvidia people will probably need to create a
special version of their driver that knows that virt
to phys conversion inside Xen virtual hosts is different.


Actually, for the Radeon driver all the important stuff seemed to have nice abstractions in the open source part of the driver, and I was able to get that running.

A few things that might help you when debugging:

a) before you run X, log in via SSH. Run it from there with just 'X' instead of via gdm or startx, and inspect its output and log files. Also have a look to see if any errors are reported by 'dmesg'.

b) If the driver loads a kernel module, check dmesg before and after the module is loaded (again, better to load it yourself by hand), and see if anything appears to be wrong.

Remember that you need to recompile the open source parts of the nvidia driver with the headers from the xenlinux kernel, or nothing will work, but also remember to keep the old non-Xen version around. Then you can boot normal linux, load the module and start X, and note down all the relevant parts of the logs, so that you can compare against them when trying to run things in Xen. Hopefully the difference between the logs should give a hint about what stuff goes wrong.

Finally, look in the open source part of the module for stuff like virt_to_phys*, remap_pfn*, etc., to see if there is anything obvious there.

There is a previous thread on the list about the Radeon, wherein Ian gives a lot of good clues about how to solve this problem.

Good luck!

Jacob


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel