From owner-freebsd-current@FreeBSD.ORG Tue Oct 7 03:55:58 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 B889A16A4B3 for ; Tue, 7 Oct 2003 03:55:58 -0700 (PDT) Received: from firecrest.mail.pas.earthlink.net (firecrest.mail.pas.earthlink.net [207.217.121.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E29843FEC for ; Tue, 7 Oct 2003 03:55:57 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-38lc0jm.dialup.mindspring.com ([209.86.2.118] helo=mindspring.com) by firecrest.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 1A6pVK-0000mJ-00; Tue, 07 Oct 2003 03:55:47 -0700 Message-ID: <3F829AF7.CA8CD89@mindspring.com> Date: Tue, 07 Oct 2003 03:52:39 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Pau Rodriguez References: <20031006192639.2ac49f7f.prodriguez@iespana.es> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4205f3e06b9340bf9291b4d3df4f9937b350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c cc: current@freebsd.org Subject: Re: ? warning used static ldt allocation 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: Tue, 07 Oct 2003 10:55:58 -0000 Pau Rodriguez wrote: > #dmesg|tail -n 2 > Warning: pid 474 used static ldt allocation. > See the i386_set_ldt man page for more info > > What does it means? > > It was apearring for aprox. 15days. > > What I have to do? > > Maybe it was asked before... Could anybody refetch that message or answer? :( The program you are running is asking for a specific LDT entry, and this usage is deprecated, to avoid multiple library instances requesting the same LDT in the same program. The program should be recompiled to use a start_sel of LDT_AUTO_ALLOC, which will cause it to be dynamically allocated, which will avoid any potential conflict between libraries and/or your application. This was done a while ago, and was discussed on both the -current and -arch mailing lists; if you are going to run -current, you should probably subscribe to the -current mailing list so you see these things when they happen, and they don't suprise you. More information is available in the man page references on 5.1-current on the FreeBSD.org web site (Documentation/Manual pages) or in the man page on the system having the problem. The man page should probably be updated to deprecate non-automatic allocation specifically, since it doesn't appear to say anything useful about it at present (and your console message specifically references the non-existent deprecation in the man page). -- Terry