From owner-freebsd-current@FreeBSD.ORG Thu Jun 12 21:59:38 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 6B12137B404 for ; Thu, 12 Jun 2003 21:59:38 -0700 (PDT) Received: from host.dedicatedsrvr.net (host.dedicatedsrvr.net [66.96.230.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 646BD43F75 for ; Thu, 12 Jun 2003 21:59:37 -0700 (PDT) (envelope-from samy@kerneled.com) Received: from dial36-144.sbm.net.sa ([212.46.36.144] helo=[10.0.0.1]) by host.dedicatedsrvr.net with asmtp (Exim 3.36 #1) id 19Qgf1-0008Ry-00; Thu, 12 Jun 2003 21:59:36 -0700 From: Samy Al Bahra To: Terry Lambert In-Reply-To: <3EE9427D.1E2D05D6@mindspring.com> References: <3EE9427D.1E2D05D6@mindspring.com> Content-Type: text/plain Message-Id: <1055481094.505.27.camel@beastie.freebsd.local> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 Date: 13 Jun 2003 05:11:34 +0000 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.dedicatedsrvr.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - kerneled.com 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 04:59:38 -0000 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). 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. -- +-----------------------------------+ | Samy Al Bahra | samy@kerneled.com | +-----------------------------------+ Arabeyes.org Kerneled.com FreeBSD.org