From owner-freebsd-current@FreeBSD.ORG Thu Jun 12 23:10:05 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 D81DA37B401 for ; Thu, 12 Jun 2003 23:10:05 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 351A543F85 for ; Thu, 12 Jun 2003 23:10:05 -0700 (PDT) (envelope-from eischen@pcnet.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h5D6A4Nc003066; Fri, 13 Jun 2003 02:10:04 -0400 (EDT) Date: Fri, 13 Jun 2003 02:10:04 -0400 (EDT) From: Daniel Eischen To: Samy Al Bahra In-Reply-To: <1055481094.505.27.camel@beastie.freebsd.local> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 06:10:06 -0000 On 13 Jun 2003, 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). > > 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. No, I don't think Terry is jumping to conclusion. Read the archives of this problem. The Nvidia drivers and OpenGL for FreeBSD won't work with -current and any threading library other than libc_r. -- Dan Eischen