Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2003 00:07:26 -0500
From:      Jeremy Messenger <mezz7@cox.net>
To:        Samy Al Bahra <samy@kerneled.com>, Terry Lambert <tlambert2@mindspring.com>, evantd@hotmail.com
Cc:        freebsd-current@freebsd.org
Subject:   Re: Interest in nvidia-driver debugging on 5-*
Message-ID:  <oprqowiow28ckrg5@smtp.central.cox.net>
In-Reply-To: <1055481094.505.27.camel@beastie.freebsd.local>
References:  <BAY8-F134L28t8YgH5u0000662c@hotmail.com> <3EE9427D.1E2D05D6@mindspring.com> <1055481094.505.27.camel@beastie.freebsd.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13 Jun 2003 05:11:34 +0000, Samy Al Bahra <samy@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?oprqowiow28ckrg5>