LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-16-2005, 06:24 PM   #1
Dr Thrall
LQ Newbie
 
Registered: Nov 2003
Location: Lahore, Pakistan
Distribution: Mandrake
Posts: 6

Rep: Reputation: 0
Unhappy set_thread_area failed when setting up thread-local storage


Hi,
I am facing a problem on FC3. I was upgrading glibc and relative components to version 4. During upgrade, rpm failed to continue and end up with cannot set up thread-local storage: set_thread_area failed when setting up thread-local storage. Now each command execute on box resulting me cannot set up thread-local storage: set_thread_area failed when setting up thread-local storage. So far i searched, i came to know that there is difference b/w FC3 and FC4 to handle threads. And i think this caused system to fail.
Is there any way, i can restore my system ? btw rpm i installing was from FC4 and FC devel. And screwed up machine is UML VM.

~Nadeem
 
Old 12-18-2005, 02:32 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
you need to boot from a recovery disk and enter rescue mode use the disks version of rpm to force the installation of the original glibc.
something like this
rpm -e glibc* --root /mnt/sysimage --nodeps
then (adjust path and package names as neede of course)
rpm -Uvh /mnt/sources/RedHat/RPMS/glibc-x.x.x.i386.rpm --nodeps
rpm -Uvh /mnt/sources/RedHat/RPMS/glibc-common-x.x.x.i386.rpm --nodeps
rpm -Uvh /mnt/sources/RedHat/RPMS/glibc-devel-x.x.x.i386.rpm --nodeps
rpm -Uvh /mnt/sources/RedHat/RPMS/glibc-kernheaders-x.x.x.i386.rpm --nodeps

reboot might have to redo /etc/ld.so.conf


if you want to do it by hand boot from a recovery disk and cd to
/mtn/sysimage/lib or whatever and manually restore all the symbolic links to the older glibc libraries.

some stuff still won't work because you overwrote libpthread and this includes make
so build a static version of make and rebuild old glibc and install then rebuild non static make.
 
Old 12-18-2005, 02:39 PM   #3
Dr Thrall
LQ Newbie
 
Registered: Nov 2003
Location: Lahore, Pakistan
Distribution: Mandrake
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by foo_bar_foo
you need to boot from a recovery disk and enter rescue mode use the disks version of rpm to force the installation of the original glibc.
something like this
rpm -e glibc* --root /mnt/sysimage --nodeps
then (adjust path and package names as neede of course)
rpm -Uvh /mnt/sources/RedHat/RPMS/glibc-x.x.x.i386.rpm --nodeps
rpm -Uvh /mnt/sources/RedHat/RPMS/glibc-common-x.x.x.i386.rpm --nodeps
rpm -Uvh /mnt/sources/RedHat/RPMS/glibc-devel-x.x.x.i386.rpm --nodeps
rpm -Uvh /mnt/sources/RedHat/RPMS/glibc-kernheaders-x.x.x.i386.rpm --nodeps

reboot might have to redo /etc/ld.so.conf
Thanks a lot for reply. Actually i already did that. But problem left is to reboot. As this a UML VM and i don't know much about VM. btw i did force rpm install by mounting its FS structure on host machine and then chroot to it. Now i am looking into UML How to ...

~Nadeem
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No other 'Failed to set up mtrr write-combining range' thread on linuxquestions.org?! Worksman Linux - Software 8 11-24-2005 02:03 AM
Setting up new HD for dual boot and storage Decemoto Linux - Newbie 7 03-13-2005 09:06 PM
can thread return a local variable? iclinux Programming 1 01-13-2005 11:37 PM
boot.local failed (suse 9.1) Big Money Linux - Software 10 08-06-2004 09:59 PM
Setting Linux up as a Network Storage Device Archmaker Linux - Networking 1 05-07-2004 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration