linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [Question] init does not find library files.....
@ 2001-03-06 23:50 kingseft
  2001-03-07  0:21 ` Graham Stoney
  2001-03-07  0:27 ` Matthew Locke
  0 siblings, 2 replies; 4+ messages in thread
From: kingseft @ 2001-03-06 23:50 UTC (permalink / raw)
  To: linuxppc-embedded


  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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Question] init does not find library files.....
  2001-03-06 23:50 [Question] init does not find library files kingseft
@ 2001-03-07  0:21 ` Graham Stoney
  2001-03-07  0:26   ` Graham Stoney
  2001-03-07  0:27 ` Matthew Locke
  1 sibling, 1 reply; 4+ messages in thread
From: Graham Stoney @ 2001-03-07  0:21 UTC (permalink / raw)
  To: kingseft; +Cc: linuxppc-embedded


On Wed, Mar 07, 2001 at 08:50:44AM +0900, kingseft@samsung.co.kr 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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Question] init does not find library files.....
  2001-03-07  0:21 ` Graham Stoney
@ 2001-03-07  0:26   ` Graham Stoney
  0 siblings, 0 replies; 4+ messages in thread
From: Graham Stoney @ 2001-03-07  0:26 UTC (permalink / raw)
  To: kingseft; +Cc: linuxppc-embedded


On Wed, Mar 07, 2001 at 11:21:01AM +1100, Graham Stoney wrote:
> Check the entry "Kernel panic: No init found..." on startup in the HOWTO at:

Err, make that:
http://penguinppc.org/usr/embedded/howto/PowerPC-Embedded-HOWTO-20.html#ss20.7

:->

Sorry,
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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Question] init does not find library files.....
  2001-03-06 23:50 [Question] init does not find library files kingseft
  2001-03-07  0:21 ` Graham Stoney
@ 2001-03-07  0:27 ` Matthew Locke
  1 sibling, 0 replies; 4+ messages in thread
From: Matthew Locke @ 2001-03-07  0:27 UTC (permalink / raw)
  To: kingseft; +Cc: linuxppc-embedded


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

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

kingseft@samsung.co.kr 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 ----------
>
> 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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-03-07  0:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-06 23:50 [Question] init does not find library files kingseft
2001-03-07  0:21 ` Graham Stoney
2001-03-07  0:26   ` Graham Stoney
2001-03-07  0:27 ` Matthew Locke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).