This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] 2.6 changesets

To: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] 2.6 changesets
From: Nuno Silva <nuno.silva@xxxxxxxxxxxx>
Date: Sat, 17 Jul 2004 04:49:40 +0100
Cc: James Harper <JamesH@xxxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 17 Jul 2004 04:59:28 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <E1BlO0t-0002Nj-00@xxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <E1BlO0t-0002Nj-00@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040528 Thunderbird/0.6 Mnenhy/
Hash: SHA1

Hi, Ian!

Please read below:

Ian Pratt wrote:


| If there's anyone on the list that understands the various
| different tls implementations, or how to best persuade ls.so to
| ignore /lib/tls, we'd love to hear from you.

I'm not an expert or anything like that but I investigated this same
problem because UML (user mode linux) doesn't like (read: support) tls
too - either 2.4 and 2.6 umls.

"various different tls implementations" -> No such thing. NPTL/TLS
support is stable and much the same in every linux distro. So if you
have problems with RH you'll have problems with debian unstable, i686
and a 2.6 kernel (read below for explanation), etc...

/lib/ld.so checks `uname` in 2.4 kernels. If extraversion begins with
"-ntpl" than this 2.4 kernel has nptl support. If extraversion doesn't
have that string it's assumed that the kernel doesn't have nptl support
(and tls support).

If the kernel is 2.6+ then ld.so assumes that nptl support is present.
The way to remove it is to "mv /lib/tls /lib/tls.off". Other way to deal
with it is to use the environment var LD_ASSUME_KERNEL and set it to 2.4
globally, wich may cause havoc :)

I think that nptl requires at least i486, so if you install for i386,
nptl support won't be included in the installation. Another way is to
downgrade the VMM from i686 (or whatever processor you have) to plain
i386. I don't know if it's possible in xen...

In my uml setups i choose the KISS method: mv /lib/tls /lib/tls.off

With debian you can instruct dpkg (man dpkg-divert) to relocate
everything that would be installed to /lib/tls to another location
automagically. This saves troubles when apt-get upgrad'ing ;)

Hope this helps,
Nuno Silva

P.S. Great work! Keep going!! :)
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org


This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>