AW: DOC2000 Boot de-ja-vue - add...

martin.kula at deltaes.cz martin.kula at deltaes.cz
Mon Sep 3 04:07:12 EDT 2001


Hi

You don't have a libraries in your /lib directory. You have symbolic link
only but you don't have the ld-2.2.2.so, libc-2.2.2.so, ... etc.

./lib:
insgesamt 201
lrwxrwxrwx    1 root     root           11 Sep  3 14:41 ld-linux.so.2 ->
ld-2.2.2.so
lrwxrwxrwx    1 root     root           17 Sep  3 14:41 libcrypt.so.1 ->
libcrypt-2.2.2.so
lrwxrwxrwx    1 root     root           13 Sep  3 14:41 libc.so.6 ->
libc-2.2.2.so
..................

You must copy it into lib directory
Which library you need you test by ldd needed_executable.
For example:
$ ldd /sbin/init
        libc.so.6 => /lib/libc.so.6 (0x40020000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

(maybe libc and ld-linux only).

Good luck!

Martin

> 
> Thanks David,
> 
> that was a good hint. 
> After I mount /dev/nftla1 I can do /mnt/nftla1/sbin/init , sh, bash ...
> but if I use # chroot /mnt/nftla1 /sbin/init 
> I get 'chroot: can not execute /sbin/init: No such file or directory'
> 
> okay now I know there's a problem. But I've no idea how to solve it.
> I attach a listing of my root-fs. maybe one can see an error.
> 
> Veikko
> 
> -----Originalnachricht-----
> Von: David Woodhouse
> An: Veikko Werner
> Cc: linux-mtd at lists.infradead.org
> Gesendet: 31.08.01 17:41
> Betreff: Re: DOC2000 Boot de-ja-vue - add... 
> 
> 
> veikko.werner at logware.de said:
> > conclusion:  MTD and NFTL load successfully kernels says "root
> > mounted" so I should must have the files I have when I mount it from
> > HD but that seems to be not right maybe access to the DOC is to slow?
> > Can I pass some arguments for slowing down ? 
> 
> Boot from the hard drive and check you can run /sbin/init and /bin/sh 
> from the DiskOnChip:
> 
>  mount /dev/nftla1 /mnt
>  chroot /mnt /bin/sh
> 
> 
> --
> dwmw2
> 
> 
> 





More information about the linux-mtd mailing list