Re: Interest in nvidia-driver debugging on 5-*

From: Jeremy Messenger <mezz7_at_cox.net>
Date: Fri, 13 Jun 2003 00:07:26 -0500
On 13 Jun 2003 05:11:34 +0000, Samy Al Bahra <samy_at_kerneled.com> wrote:

> Hey,
>
>> I believe the fix is as simple as saving and restoring %gs in
>> the nVidia driver, and/or not letting the nVidia use %gs at
>> all (segment registers generally belong to the OS, in any case,
>> and stealing a CPU register of any kind for exclusive use of a
>> driver is a pig trick).
>
> Please take a look at http://www.minion.de/
> Christian Zander has written a patch to deal with the gs restoration
> problem and other issues. It is well tested and adopted. Maxime Henrion
> has also written several patches which may be found in the ports system
> (x11/nvidia-driver).

The %gs register issue patch for linux_sysvec.c has been committed in the 
source tree like a month ago or so, btw. :-)

Cheers,
Mezz

> I think Terry is jumping to conclusions on what Evan's problem could be.
> I have this seen this cause application to crash at exit (if using
> OpenGL) but never a crash in kernel-space from the nVidia drivers.


-- 
bsdforums.org 's moderator, mezz.
Received on Thu Jun 12 2003 - 20:22:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:11 UTC