Fedora Linux Support Community & Resources Center
Sections ›› Home | Forums | Guidelines | Forum Help | Fedora FAQ | Fedora News 

Go Back   FedoraForum.org > Fedora Support > Laptop

Laptop Help on using Fedora on laptops. LCD screens, APM, PCMCIA, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2009-11-03, 04:37 AM CST
jbkt23 Online
Registered User
 
Join Date: Mar 2006
Posts: 355
linuxfedorafirefox
F11 on T400 will not boot after failed resume from hibernate

I did a hard reset after the resume stalled. When I rebooted there were errors and fsck automatically cleaned up. On the subsequent restart the boot hangs after entering interactive mode with the phrase:

/usr/bin/rhgb client: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory

it continues to load a couple other items in the init list and repeats this line three times before it times out.

the last line printed to the screen is:

init: rcS post-stop process (1237) terminated with status 127

This is not kernel specific as I have tried booting into the two previous ones with the same result.

I do have a backup of this system but I have never tried to restore a whole system. I dual boot or I should say tri-boot between F10 and vista on this laptop and I am able to boot into those systems. I can mount the F11 partition in F10.

Any suggestions on solving the specific problem?
__________________
jbkt23
Reply With Quote
  #2  
Old 2009-11-03, 11:29 AM CST
jbkt23 Online
Registered User
 
Join Date: Mar 2006
Posts: 355
windows_xp_2003firefox
Well, stumped the stars I guess. What I have found is that /usr/bin/rhgb-client is called from rc.sysinit so there is no way to bypass it by selecting a lower run level. I also found that libm.so.6 is a link to libm-2.0. It and its target exist in two locations under /lib and /lib/x86_64/noseng/ ...

I don't have the machine in front of me so the second path is from memory. When I get back to the laptop I will see if the links are broken and go from there.
__________________
jbkt23
Reply With Quote
  #3  
Old 2009-11-03, 12:04 PM CST
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 299
linuxfedorafirefox
Quote:
Originally Posted by jbkt23 View Post
Well, stumped the stars I guess. What I have found is that /usr/bin/rhgb-client is called from rc.sysinit so there is no way to bypass it by selecting a lower run level. I also found that libm.so.6 is a link to libm-2.0. It and its target exist in two locations under /lib and /lib/x86_64/noseng/ ...

I don't have the machine in front of me so the second path is from memory. When I get back to the laptop I will see if the links are broken and go from there.
You might look in the lost+found directory of your root volume - It just might
have the library, though the name '#<nnnnnnn>' will make it hard to identify.

Along with a lot of other files...

Happened to me due to a power failure during an update... I guess I was
lucky - none of the libraries lost prevented the system from coming up.

I ended up doing a forced yum install of all packages to get everything back.. even though it took several days.
Reply With Quote
  #4  
Old 2009-11-03, 08:23 PM CST
jbkt23 Online
Registered User
 
Join Date: Mar 2006
Posts: 355
linuxfedorafirefox
I've found the missing file and replaced it and am now back in F11. The target file (libm-2.10.so) in /lib64/ for libm.so.6 was missing. So after booting into F10 I did:

rpm -q --whatprovides libm.so.6

the answer was glibc-2.9-1.i686.rpm.

I then did a search of the rpmpkg log for glibc in the F11 partition

less /oldrt/var/log/rpmpkgs | grep glibc
glibc-2.10.1-5.i686.rpm
glibc-2.10.1-5.x86_64.rpm
glibc-common-2.10.1-5.x86_64.rpm
glibc-devel-2.10.1-5.x86_64.rpm
glibc-headers-2.10.1-5.x86_64.rpm

I downloaded these rpm's and then used archive-manager to browse them and find the matching file I needed.

What is the best way to query all the installed rpm's to see what files are missing?
I just want to see the error/missing files listed in a text file that I can browse. The first part is to use rpms own facility but I want to pipe the errors only to a file.
__________________
jbkt23
Reply With Quote
  #5  
Old 2009-11-03, 08:35 PM CST
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 299
linuxfedorafirefox
Good question.

The only way I could figure out (didn't implement it though) was to go through the installed packages, extract
a list of all files installed (package-name, file) and put them into a data file. Unfortunately, I fear this step
could take a long time to create.

Then go through the data file and check that each file existed... Recording those that didn't exist.
The output would be a list of packages that needed re-installation, Since that would likely have
duplicate entries it would need to be passed through a "sort -u" to get only the unique package
names...

A final "yum reinstall `cat file`" could then try to reinstall them, unless you know/trust the
rpms you MIGHT have kept around after installing them the first time...
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Will not resume from hibernate after creating swap compuboy04 Laptop 0 2007-07-31 10:40 PM CDT
no mouse cursor on hibernate/suspend resume pytheas22 Software 13 2007-02-25 12:50 PM CST
Re: pm-hibernate resume fails with spinlock BUG ? Peter Skensved gmane.linux.redhat.fedora.general 1 2006-05-12 02:50 PM CDT
pm-hibernate resume fails with spinlock BUG ? Chris Jones gmane.linux.redhat.fedora.general 3 2006-05-12 02:40 PM CDT
FC5T2 Resume from Hibernate iball Fedora Core 5 - Dev 1 2006-03-06 08:45 AM CST

Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 09:55 PM CST.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
Hosting provided by ThePlanet



All trademarks, and forum posts in this site are property of their respective owner(s).

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2009, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
Translations delivered by vBET