WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] CORRUPTION: /lib/tls corruption with ELF prelinking

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] CORRUPTION: /lib/tls corruption with ELF prelinking
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sat, 14 Aug 2004 10:17:04 +0100
Delivery-date: Sat, 14 Aug 2004 10:19:07 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
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>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
The current /lib/tls support in Xen/Linux through rewriting faulting
instructions seems to work well, but for one rather nasty issue.

If you are running with /lib/tls on a system that also uses prelinking
(you can check this by looking for e.g., /etc/cron.daily/prelink) then
you're /lib/tls libraries will get corrupted!

The problem is that the prelinking changes cause some of the binary
patches to also get flushed out to disc. It's a particularly nasty bug
because you will not see any problem until next time you reboot, when
you will hang while starting init.

Current solutions:
 1. Don't use TLS
 2. Don't run prelink

If you are currently running with both then you're probably running a
recent Fedora Core release. If 'rpm -V glibc' reports that libraries
have been re-prelinked, then you are already toast. Delete /lib/tls
for now -- you can get it back by forcing a reinstall of the glibc
RPM once I've fixed the problem.

 -- Keir


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] CORRUPTION: /lib/tls corruption with ELF prelinking, Keir Fraser <=