Skip to contentSkip to conversation

init does not find library files.....

Question [email protected] 3 participants 4 messages Mar 6, 2001 – Mar 7, 2001

lore
Share & tools
lore
#0 lore raw

Thank for your kindful replying for our question about ramdisk.

Now we installed HardHat Linux CDK and found file system in /targer directory. we follwed all procedures and made ramdisk.gz

But, when we ran this ramdisk iamge, init didn't found libc.so.6 of course, we put this libc.so.6 file into our /lib directory in ramdisk.gz following is our result...

We need your comments, any comments will help us.. thanks...

----------- our experiment result ----------

RAM disk driver initialized: 16 RAM disks of 10240K size
loop: registered device at major 7
eth0: CPM ENET Version 0.2, 00:05:27:00:00:01
RAMDISK: Compressed image found at block 0
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 28k in
init: error in loading shared libraries: libc.so.6: cannot open shared object fi
le: No such file or directory <--- Here is our problem!!!

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 1 line · On Wed, Mar 07, 2001 at 08:50:44AM +0900, [email protected] wrote:

But, when we ran this ramdisk iamge, init didn't found libc.so.6

I'm willing to bet my house that it's the pesky missing symlink from /opt/hardhat/devkit/ppc/8xx/powerpc-hardhat-linux to / on the target again.

Check the entry "Kernel panic: No init found..." on startup in the HOWTO at:

    file:/home/elph/greyham/HOWTO/PowerPC-Embedded-HOWTO-20.html#ss20.7

Regards,
Graham
--
Graham Stoney
Assistant Technology Manager
Canon Information Systems Research Australia
Ph: +61 2 9805 2909 Fax: +61 2 9805 2929

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#3 lore raw
In reply to [email protected]

you are probably missing an important link. It is in .../target/opt/hardhat...

Include that link in your ramdisk and it should work fine.

Quoted 14 lines · [email protected] wrote:

Thank for your kindful replying for our question about ramdisk.

Now we installed HardHat Linux CDK and found file system in /targer directory. we follwed all procedures and made ramdisk.gz

But, when we ran this ramdisk iamge, init didn't found libc.so.6 of course, we put this libc.so.6 file into our /lib directory in ramdisk.gz following is our result...

We need your comments, any comments will help us.. thanks...

----------- our experiment result ----------

Quoted 10 lines

RAM disk driver initialized: 16 RAM disks of 10240K size
loop: registered device at major 7
eth0: CPM ENET Version 0.2, 00:05:27:00:00:01
RAMDISK: Compressed image found at block 0
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 28k in
init: error in loading shared libraries: libc.so.6: cannot open shared object fi
le: No such file or directory <--- Here is our problem!!!

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/