From owner-freebsd-current@FreeBSD.ORG Sun Sep 7 15:17:55 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 8508D16A4C0; Sun, 7 Sep 2003 15:17:55 -0700 (PDT) Received: from lewis.lclark.edu (ncvli.org [149.175.1.5]) by mx1.FreeBSD.org (Postfix) with SMTP id C14D643FDD; Sun, 7 Sep 2003 15:17:52 -0700 (PDT) (envelope-from eta@lclark.edu) Received: from [149.175.34.86] ([149.175.34.86]) by lewis.lclark.edu (SAVSMTP 3.1.1.32) with SMTP id M2003090715174916329 ; Sun, 07 Sep 2003 15:17:50 -0700 From: Eric Anholt To: deischen@freebsd.org In-Reply-To: References: Content-Type: text/plain Message-Id: <1062973069.909.7.camel@leguin> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Sun, 07 Sep 2003 15:17:50 -0700 Content-Transfer-Encoding: 7bit cc: current@freebsd.org cc: Harald Schmalzbauer 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: Sun, 07 Sep 2003 22:17:55 -0000 On Sun, 2003-09-07 at 14:13, Daniel Eischen wrote: > On Sun, 7 Sep 2003, Harald Schmalzbauer wrote: > > > Hi all, > > > > I have no idea what it means, but since today's world I get the following > > messages after starting x: > > > > Warning: pid 541 used static ldt allocation. > > See the i386_set_ldt man page for more info > > Warning: pid 547 used static ldt allocation. > > See the i386_set_ldt man page for more info > > Warning: pid 548 used static ldt allocation. > > See the i386_set_ldt man page for more info > > Warning: pid 567 used static ldt allocation. > > See the i386_set_ldt man page for more info > > Warning: pid 568 used static ldt allocation. > > See the i386_set_ldt man page for more info > > Warning: pid 569 used static ldt allocation. > > See the i386_set_ldt man page for more info > > Warning: pid 570 used static ldt allocation. > > See the i386_set_ldt man page for more info > > Warning: pid 573 used static ldt allocation. > > See the i386_set_ldt man page for more info > > Warning: pid 572 used static ldt allocation. > > See the i386_set_ldt man page for more info > > Warning: pid 577 used static ldt allocation. > > 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 could think of. -- Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org