From owner-freebsd-current@FreeBSD.ORG Mon Sep 8 03:21:51 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 796D816A4BF; Mon, 8 Sep 2003 03:21:51 -0700 (PDT) Received: from svr7.m-online.net (svr7.m-online.net [62.245.150.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6886743FCB; Mon, 8 Sep 2003 03:21:50 -0700 (PDT) (envelope-from h@schmalzbauer.de) Received: from cale.flintsbach.schmalzbauer.de (ppp-62-245-232-81.mnet-online.de [62.245.232.81]) by svr7.m-online.net (Postfix) with ESMTP id 071317C623; Mon, 8 Sep 2003 12:21:48 +0200 (CEST) From: Harald Schmalzbauer To: deischen@freebsd.org, Daniel Eischen Date: Mon, 8 Sep 2003 12:21:40 +0200 User-Agent: KMail/1.5.3 References: In-Reply-To: X-Birthday: 06 Oktober 1972 X-Name: Harald Schmalzbauer X-Phone1: +49 (0) 163 555 3237 X-Phone2: +49 (0) 89 18947781 X-Address: Munich, 80686 X-Country: Germany MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_7gFX/WGfAfB77m4"; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200309081221.47172@harrymail> cc: danfe@regency.nsu.ru cc: current@freebsd.org Subject: Re: i386_set_ldt messages with today's world 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: Mon, 08 Sep 2003 10:21:51 -0000 --Boundary-02=_7gFX/WGfAfB77m4 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Monday 08 September 2003 03:26, Daniel Eischen wrote: > On Mon, 8 Sep 2003, Harald Schmalzbauer wrote: > > On Monday 08 September 2003 00:17, Eric Anholt wrote: > > > On Sun, 2003-09-07 at 14:13, Daniel Eischen wrote: > > > > On Sun, 7 Sep 2003, Harald Schmalzbauer wrote: > > > > *SCHNIP* > > > > > > > See the i386_set_ldt man page for more info > > > > > > > > Something is using i386_set_ldt() static ldt allocations. We > > > > added the warning message to detect usage of these allocations > > > > so they could be changed to dynamic allocations. > > > > > > > > Our threads libraries make use of LDTs on i386, so having > > > > other code also use (possibly) the same LDT would break > > > > things. > > > > > > > > > Only ode still exists which is: > > > > > 541 ?? S 0:15,50 /usr/X11R6/bin/XFree86 -auth > > > > > /var/run/xauth/A:0-2CitM > > > > > > > > What is ode? Typo? pid? > > > > > > > > I don't see how XFree86 can use i386_set_ldt(). It doesn't > > > > reference it on my box: > > > > > > > > $ nm /usr/X11R6/bin/XFree86 | grep ldt > > > > $ > > > > > > XFree86 loads various modules from /usr/X11R6/lib/modules. That said, > > > I could find nothing about ldts being used anywhere in the source > > > (grepping for LDT, sldt, and set_ldt). > > > > > > Perhaps the nvidia driver is being used? That's the only thing I cou= ld > > > think of. > > > > Yep, exactly that's the driver I'm using (GF4MX440-8) > > (I'm one of those without ANY problem with this card/driver (dualHead) > > btw.) > > Is this binary only or source? Either way, it needs to be changed > to use dynamic LDT allocations. Both. There is some sysctl stuff which gets compiled but the libGLcore.so e= tc.=20 are binary only. I set danfe@regency.nsu.ru on the CC list. He's working on patches anyway, = so=20 he should be informed. Best regards, =2DHarry --Boundary-02=_7gFX/WGfAfB77m4 Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/XFg7Bylq0S4AzzwRApqHAJ9+M2pXdU2tcQtn2cR5WbGVeq2fCACfQ6Jd 9fi8DrM9bWTvI6aUwT362GM= =mZtx -----END PGP SIGNATURE----- --Boundary-02=_7gFX/WGfAfB77m4--