From owner-freebsd-current@FreeBSD.ORG Thu Jun 12 22:22:00 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2551237B401 for ; Thu, 12 Jun 2003 22:22:00 -0700 (PDT) Received: from lakemtao05.cox.net (lakemtao05.cox.net [68.1.17.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F28043FDD for ; Thu, 12 Jun 2003 22:21:59 -0700 (PDT) (envelope-from mezz7@cox.net) Received: from sysinfo.mezzweb.com ([68.103.37.247]) by lakemtao05.cox.net ESMTP <20030613052158.TZVV28938.lakemtao05.cox.net@sysinfo.mezzweb.com>; Fri, 13 Jun 2003 01:21:58 -0400 Date: Fri, 13 Jun 2003 00:07:26 -0500 To: Samy Al Bahra , Terry Lambert , evantd@hotmail.com Content-Type: text/plain; charset=utf-8; format=flowed References: <3EE9427D.1E2D05D6@mindspring.com> <1055481094.505.27.camel@beastie.freebsd.local> From: Jeremy Messenger MIME-Version: 1.0 Message-ID: In-Reply-To: <1055481094.505.27.camel@beastie.freebsd.local> User-Agent: Opera7.11/Linux M2 build 406 cc: freebsd-current@freebsd.org Subject: Re: Interest in nvidia-driver debugging on 5-* X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 05:22:00 -0000 On 13 Jun 2003 05:11:34 +0000, Samy Al Bahra 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.