Re: Kernel panic - /init: can't load library 'libgcc_s.so.1'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Thu, 1 Mar 2007 15:02:39 -0500
"Alex Parkinson" <okalex@xxxxxxxxx> wrote:

> I'm now getting a kernel panic stating that it can't load the
> libgcc_s.so.1.
> 
> I know I can do a "make clean" to fix it, but that requires a
> recompile of the entire toolchain in addition to everything
> else, which takes an hour or more.  Does anyone have an idea
> as to (a) what is causing this problem, and (b) whether it's
> possible to fix it without recompiling everything?

The problem is probably not in the buildroot but in the ramdisk
image that its creating.

Just fix the ramdrive image_file directly...
Assuming you can get your hands on an ARM libgcc_s.so.1 file and
your created ramdrive image file, just download my linuxTheTools
archive:

ftp://ftp.sysdev.org/pub/lintools/LTT/linuxTheTools-0.7.5-i486-1.tar.bz2

In there, there are 2 bash script called 'usr/bin/mntfimg' and
'usr/bin/umntfimg'. Copy them to your system's usr/bin
directory.

In your system, where you copied the ARM ramdrive file image,
make a directory for example /rammount, then run:
    mntfimg -r 'ramfile's path & name' /rammount

assuming everything went well, you mentioned your ramdrive
image was ext2 ...

cd /rammount

take a look and put the missing file where it goes, then

cd back to / and run:
    umntfimg /rammount  

The ramdrive boot might now find the file...

Gluck,
TonyB


There are 10 types of people in this world, those that read
binary and those who don't!

--
  __      __  _     I N C.               http://www.sysdev.org
/ __|\\// __||  \  __   __          /         tonyb@xxxxxxxxxx
\__ \ \/\__ \||)|/ O_)\/ /        \/  System Tools / Utilities
|___/ || ___/|_ /\___|\_/        WIntel / Linux Device Drivers


-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Linux ARM]     [Linux ARM MSM]     [Linux ARM Kernel]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

Add to Google Follow linuxarm on Twitter