From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacob Gorm Hansen Subject: Re: AGP & Binary Nvidia Drivers Date: Wed, 02 Mar 2005 15:24:13 -0800 Message-ID: <42264B1D.5000909@diku.dk> References: <42253ECC.4010104@hub.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Rik van Riel Cc: Jerome Brown , xen-devel List-Id: xen-devel@lists.xenproject.org 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