* AW: DOC2000 Boot de-ja-vue - add...
@ 2001-09-03 7:25 Veikko Werner
2001-09-03 7:44 ` David Woodhouse
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Veikko Werner @ 2001-09-03 7:25 UTC (permalink / raw)
To: 'linux-mtd@lists.infradead.org '
[-- Attachment #1: Type: text/plain, Size: 981 bytes --]
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@lists.infradead.org
Gesendet: 31.08.01 17:41
Betreff: Re: DOC2000 Boot de-ja-vue - add...
veikko.werner@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
[-- Attachment #2: doc.lst.gz --]
[-- Type: application/octet-stream, Size: 14158 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: AW: DOC2000 Boot de-ja-vue - add...
2001-09-03 7:25 AW: DOC2000 Boot de-ja-vue - add Veikko Werner
@ 2001-09-03 7:44 ` David Woodhouse
2001-09-03 8:07 ` martin.kula
2001-09-03 8:16 ` Michel Stempin
2 siblings, 0 replies; 5+ messages in thread
From: David Woodhouse @ 2001-09-03 7:44 UTC (permalink / raw)
To: Veikko Werner; +Cc: 'linux-mtd@lists.infradead.org '
veikko.werner@logware.de said:
> 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.
Your /lib directory seems to be entirely populated by broken symlinks. Copy
some of the actual libraries in there too and it should be a lot happier :)
--
dwmw2
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: AW: DOC2000 Boot de-ja-vue - add...
2001-09-03 7:25 AW: DOC2000 Boot de-ja-vue - add Veikko Werner
2001-09-03 7:44 ` David Woodhouse
@ 2001-09-03 8:07 ` martin.kula
2001-09-03 8:16 ` Michel Stempin
2 siblings, 0 replies; 5+ messages in thread
From: martin.kula @ 2001-09-03 8:07 UTC (permalink / raw)
To: Veikko Werner; +Cc: 'linux-mtd@lists.infradead.org '
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@lists.infradead.org
> Gesendet: 31.08.01 17:41
> Betreff: Re: DOC2000 Boot de-ja-vue - add...
>
>
> veikko.werner@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
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread* RE: DOC2000 Boot de-ja-vue - add...
2001-09-03 7:25 AW: DOC2000 Boot de-ja-vue - add Veikko Werner
2001-09-03 7:44 ` David Woodhouse
2001-09-03 8:07 ` martin.kula
@ 2001-09-03 8:16 ` Michel Stempin
2 siblings, 0 replies; 5+ messages in thread
From: Michel Stempin @ 2001-09-03 8:16 UTC (permalink / raw)
To: Veikko Werner, linux-mtd
Hi Veikko,
It looks like you don't have /lib/libc-2.2.2.so, only the link to it
(libc.so.6 -> libc-2.2.2.so). It seems that you are missing all the
libraries, except libpam_misc.a, libpwdb.a and libtermcap.so.2.0.8.
The message "no init found", really means that "one of the components
required to run init is missing", which includes init itself, but also all
the dynamic libraries, if init is not statically linked.
--
Michel Stempin
MIS
COM One SA
11, parc de Marticot
33610, CESTAS, FRANCE
Tel: +33 (0)5 57 97 72 72
Fax: +33 (0)5 56 78 84 78
Mail: mstempin@com1.fr
> -----Message d'origine-----
> De : linux-mtd-admin@lists.infradead.org
> [mailto:linux-mtd-admin@lists.infradead.org]De la part de Veikko Werner
> Envoyé : lundi 3 septembre 2001 09:26
> À : 'linux-mtd@lists.infradead.org '
> Objet : AW: DOC2000 Boot de-ja-vue - add...
>
>
>
> 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@lists.infradead.org
> Gesendet: 31.08.01 17:41
> Betreff: Re: DOC2000 Boot de-ja-vue - add...
>
>
> veikko.werner@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
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* AW: DOC2000 Boot de-ja-vue - add...
@ 2001-09-03 7:44 Veikko Werner
0 siblings, 0 replies; 5+ messages in thread
From: Veikko Werner @ 2001-09-03 7:44 UTC (permalink / raw)
To: 'linux-mtd@lists.infradead.org'
Hello again,
I found it myself. I cp'ed only the links in the lib dir. Now i can make
chroot.
Now I'm trying to boot it let's see ...
Veikko
-----Originalnachricht-----
Von: Veikko Werner
An: 'linux-mtd@lists.infradead.org '
Gesendet: 03.09.01 09:25
Betreff: AW: DOC2000 Boot de-ja-vue - add...
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@lists.infradead.org
Gesendet: 31.08.01 17:41
Betreff: Re: DOC2000 Boot de-ja-vue - add...
veikko.werner@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
<<doc.lst.gz>>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-09-03 8:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-03 7:25 AW: DOC2000 Boot de-ja-vue - add Veikko Werner
2001-09-03 7:44 ` David Woodhouse
2001-09-03 8:07 ` martin.kula
2001-09-03 8:16 ` Michel Stempin
-- strict thread matches above, loose matches on Subject: below --
2001-09-03 7:44 AW: " Veikko Werner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox