From owner-freebsd-current@FreeBSD.ORG Fri Aug 1 13:51:57 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 9196837B401 for ; Fri, 1 Aug 2003 13:51:57 -0700 (PDT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AF4743F3F for ; Fri, 1 Aug 2003 13:51:55 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (rwcrmhc11) with ESMTP id <2003080120515501300ejluge>; Fri, 1 Aug 2003 20:51:55 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id NAA46109; Fri, 1 Aug 2003 13:51:46 -0700 (PDT) Date: Fri, 1 Aug 2003 13:51:44 -0700 (PDT) From: Julian Elischer To: Thorsten Greiner In-Reply-To: <20030801195308.GA713@tybalt> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: NVidia glx stuff dies in sysarch(I386_SET_LDT, ...) 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, 01 Aug 2003 20:51:58 -0000 On Fri, 1 Aug 2003, Thorsten Greiner wrote: > Hi, > > after upgrading the Kernel I found that the glx-related programs of > the NVidia graphics driver die in calls to sysarch. Here is a truss > fragment of a 'glxinfo' run: > > sysarch(0x1,0xbfbffb14) ERR#22 'Invalid argument' > SIGNAL 10 > SIGNAL 10 > Process stopped because of: 16 > process exit, rval = 138 > > In the sysarch call the first argument indicats - according to > machine/sysarch.h - a call of I386_SET_LDT. For 4.X it was necessary > to enable USER_LDT in the kernel config. This option is no longer > present in the kernel config (the NVidia driver worked without > before my cvs update...). > Hmmm, well I know we changed the semantics of the I386_SET_LDT call a bit but as far as I could see it was a backwards compatible change.. can you compile your sys_machdep.c with the option -DDEBUG? I noticed there is a debug printf that is enabled byu this and may show what request the NVIDIA people are making. > Best regards > > -Thorsten > > -- > For every complex problem, there is a solution that is simple, neat, > and wrong. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >