On Wednesday 01 June 2005 17:33, Markus Hochholdinger wrote:
> Am Mittwoch, 1. Juni 2005 17:20 schrieben Sie:
> > On Wednesday 01 June 2005 01:46, Markus Hochholdinger wrote:
> > > i've a problem in my uml: booted with kernel linux-2.4.19-5
> > > (http://user-mode-linux.sourceforge.net/dl-sf.html) ssh connects to the
> > > uml work. nslookup work. (the working uml)
> > > booted with my own compiled linux-2.6.11.11 ssh connects to the uml
> > > doesn't work (Connection closed by IP), nslookup segfaults. (the
> > > disfunction uml)
> >
> > Ok, before talking to us rename /lib/tls to /lib/tls.away inside the
> > root_fs. I've read a lot of the message and this explains every strange
> > syntom you are describing. With a 2.4 kernel the ld-linux.so.2 dynamic
> > loader won't try to use /lib/tls libraries, which require a 2.6 kernel
> > supporting NPTL (and UML doesn't).
>
> Many thanks :-). This solves the problems. But what does it mean? Can't i
> use tls anymore in uml?

> Or is this only a kernel feature which wasn't there  
> in 2.4 which i can't use with 2.6?
Exactly. 2.6 kernels can use the NPTL version of glibc (NPTL is a replacement 
for LinuxThreads, a thread library; however, a different version of libc is 
used when having NPTL support).

> Are there other programs which 
> need /lib/tls ?
Well, everybody linking to libc will link to /lib/tls on a 2.6 kernel 
normally. The case where there is a real performance difference is with 
heavily threaded applications...
> > Also, search the list for dpkg-divert to find a way to avoid problems
> > when upgrading libc.
>
> Ok, with that i can avoid that debian creates /lib/tls on upgrades.
>
>
> I will search the internet for what /lib/tls is needed...

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

        

        
                
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to