Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Dec 2003 12:35:18 +0200
From:      Alexander Motin <mav@alkar.net>
To:        Daniel Eischen <eischen@vigrid.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: licq & KSE - resolved
Message-ID:  <3FCDBC66.9010504@alkar.net>
In-Reply-To: <Pine.GSO.4.10.10312021555160.28511-100000@pcnet5.pcnet.com>
References:  <Pine.GSO.4.10.10312021555160.28511-100000@pcnet5.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Eischen wrote:
>>>>>If I use libkse I get:
>>>>>kernel: Warning: pid 25341 used static ldt allocation.
>>>>>kernel: See the i386_set_ldt man page for more info
>>>>>in my messages.
>>>>>When I use libc_r I do not get this messages.
>>>>
>>>>I'm sorry. Messages seems to be independent from library. I get messages 
>>>>with both libraries but not every time. Some times I get two messages on 
>>>>one licq launching. But with libc_r it works and with libkse is not.
>>>
>>>It is not libkse that is causing the messages.  It is some library
>>>or driver that licq is using.  The kernel spews these messages
>>>whenever something uses static LDT allocation.  We know that nvidia
>>>drivers and/or their OpenGL library do this, and they have been
>>>notified of it (by me).  If there is another library or application
>>>that is also using static LDT allocation, please help us find it
>>>so it can be fixed also.
>>
>>$ ldd /usr/local/bin/licq
> 
> 
>>From which system is this?  The nvidia or the ATI?  We know nvidia

I try to use same HDD on two systems. On system with ATI video I only
disable nvidia kernel module loading and change X driver.

> has a problem with ldt/%gs usage.  You still haven't told me if
> you are getting the same static LDT warnings from the ATI system.

Yes. I get this warning on both systems with both libraries but only
fist 10 times after system reboot.

>>/usr/local/bin/licq:
>>         libssl.so.3 => /usr/lib/libssl.so.3 (0x28102000)
>>         libcrypto.so.3 => /lib/libcrypto.so.3 (0x28134000)
>>         libc_r.so.5 => /usr/lib/libc_r.so.5 (0x28242000)
>>         libstdc++.so.4 => /usr/lib/libstdc++.so.4 (0x28266000)
>>         libm.so.2 => /lib/libm.so.2 (0x28322000)
>>         libc.so.5 => /lib/libc.so.5 (0x2833b000)
>>$ ldd ./licq_qt-gui.so
>>./licq_qt-gui.so:
>>         libqt-mt.so.3 => /usr/X11R6/lib/libqt-mt.so.3 (0x2828e000)
>>         libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x288d0000)
>>         libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x288d9000)
>>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x288f0000)
>>         libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x289b8000)
>>         libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x289c7000)
>>         libstdc++.so.4 => /usr/lib/libstdc++.so.4 (0x289e5000)
>>         libm.so.2 => /lib/libm.so.2 (0x28aa1000)
>>         libmng.so.1 => /usr/local/lib/libmng.so.1 (0x28aba000)
>>         libpng.so.5 => /usr/local/lib/libpng.so.5 (0x28b18000)
>>         libz.so.2 => /lib/libz.so.2 (0x28b3d000)
>>         libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x28b4b000)
>>         libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x28bb2000)
>>         libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x28bc8000)
>>         libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x28bd0000)
>>         libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x28be2000)
>>         libfontconfig.so.1 => /usr/X11R6/lib/libfontconfig.so.1 (0x28c4c000)
>>         liblcms.so.1 => /usr/local/lib/liblcms.so.1 (0x28c74000)
>>         libGLcore.so.1 => /usr/X11R6/lib/libGLcore.so.1 (0x28c8f000)
> 
>            ^^^^^^^^^^^^^^
> What is this?

Oh!!! This is library from nvidia driver. Nvidia driver replaces 
libGL.so and new libGL require libGLcore.so.

After full deleting of nvidia driver port from system proglem is gone. 
Now licq works fine with libkse.

Thanks!

PS: How about new version of nvidia driver? How can I use nvidia driver 
and libkse on same machine?

>>         libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x2912b000)
>>         libexpat.so.4 => /usr/local/lib/libexpat.so.4 (0x2917c000)
> 
> 
> This doesn't match mine:
> 
> /usr/local/lib/licq/licq_qt-gui.so:                                         .
>         libqt-mt.so.3 => /usr/X11R6/lib/libqt-mt.so.3 (0x2828e000)           
>         libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x2894c000)                 
>         libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x28955000)               
>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x2896c000)               
>         libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28a34000)             
>         libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x28a43000)             
>         libstdc++.so.4 => /usr/lib/libstdc++.so.4 (0x28a61000)               
>         libm.so.2 => /lib/libm.so.2 (0x28b1d000)                             
>         libc_r.so.5 => /usr/lib/libkse.so.1 (0x28b36000)                     
>         libmng.so.1 => /usr/local/lib/libmng.so.1 (0x28b5b000)               
>         libpng.so.5 => /usr/local/lib/libpng.so.5 (0x28bb9000)               
>         libz.so.2 => /lib/libz.so.2 (0x28bde000)                             
>         libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x28bec000)                 
>         libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x28c59000)               
>         libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x28c6f000)       
>         libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x28c77000)         
>         libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x28c7b000)       
>         libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x28c84000)               
>         libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x28c96000)     
>         libfontconfig.so.1 => /usr/X11R6/lib/libfontconfig.so.1 (0x28d00000) 
>         liblcms.so.1 => /usr/local/lib/liblcms.so.1 (0x28d28000)             
>         libc.so.5 => /lib/libc.so.5 (0x28080000)
>         libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x28d43000)
>         libexpat.so.4 => /usr/local/lib/libexpat.so.4 (0x28d94000)

-- 
Alexander Motin mav@alkar.net
ISP "Alkar-Teleport"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FCDBC66.9010504>