* RE: DOC2000 Boot de-ja-vue - add...
@ 2001-08-31 15:17 Veikko Werner
2001-08-31 15:41 ` David Woodhouse
0 siblings, 1 reply; 4+ messages in thread
From: Veikko Werner @ 2001-08-31 15:17 UTC (permalink / raw)
To: linux-mtd
Hhm...
that's what I red also somewhere on the internet.
but when I boot from HD and mount /dev/nftla1 I have /sbin/init and /bin/sh
-> bash
in /etc/fstab I have a line "/dev/nftla1 / ext2 defaults 1 1"
in lilo.conf : root=/dev/nftla1
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 ?
Veikko
> -----Original Message-----
> From: martin.kula@deltaes.cz [SMTP:martin.kula@deltaes.cz]
> Sent: Friday, August 31, 2001 4:24 PM
> To: linux-mtd@lists.infradead.org
> Subject: RE: DOC2000 Boot de-ja-vue - add...
>
>
> Hi
>
>
> See last 8 lines from init/main.c (in kernel source directories).
> ...........................
> if (execute_command)
> execve(execute_command,argv_init,envp_init);
> execve("/sbin/init",argv_init,envp_init);
> execve("/etc/init",argv_init,envp_init);
> execve("/bin/init",argv_init,envp_init);
> execve("/bin/sh",argv_init,envp_init);
> panic("No init found. Try passing init= option to kernel.");
> }
> ............................
> Kernel trying executed above executable in order:
> 1. init=... parameter
> 2. /sbin/init
> 3. /etc/init
> 4. /bin/init
> 5. /bin/sh
>
> if all failed it print the message 'No init found. Try pass......'
>
> M.
>
> On Fri, 31 Aug 2001 martin.kula@deltaes.cz wrote:
>
> > Hi
> > Read last line in the syslog (kernel) messages.
> > .... No init found ......
> > Kernel can't found init executable ... default /sbin/init ... on root
> > volume.
> > Have you got it there? Or you can pass init=some_executable into your
> > kernel before bootting (by grub or lilo), where some_executabe can be
> > /bin/sh for example.
> >
> > Martin
> >
> >
> > On Fri, 31 Aug 2001, Veikko Werner wrote:
> >
> > > I have also no idea but the same problem. It seems to me that all the
> > > readme's doesn't work.
> > > There must be some clue, but what?
> > > I would appreciate some help.
> > >
> > > Veikko
> > >
> > > > -----Original Message-----
> > > > From: Bill [SMTP:wrs122@psu.edu]
> > > > Sent: Friday, August 31, 2001 5:00 AM
> > > > To: linux-mtd@lists.infradead.org
> > > > Subject: DOC2000 Boot de-ja-vue
> > > >
> > > > Well, DOC2000 seems happy now kinda. I think my problem is with
> Linux.
> > > > Here
> > > > is the end of my boot screen:
> > > >
> > > > blah... blah... blah...
> > > > NFTL driver: nftlcore.c $Revision: 1.78 $, nftlmount.c $Revision:
> 1.21 $
> > > > Cannot calculate an NFTL geometry to match size of 0x46840
> > > > Using C:1002 H:16 S:18 (== 0x46740 sects)
> > > > nftla: nftla1
> > > > NET4: Linux TCP/IP 1.0 for NET4.0
> > > > IP Protocols: ICMP, UDP, TCP, IGMP
> > > > IP: routing cache hash table of 2048 buckets, 16 Kbytes
> > > > TCP: Hash tables configured (established 16384 bind 16384)
> > > > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0
> > > > VFS: Mounted root (ext2 filesystem) readonly.
> > > > Freeing unused kernel memory 204k freed
> > > > Kernel panic: No init found. Try passing init= option to kernel.
> > > >
> > > > It mounts the device fine but then dies. Any ideas?
> > > >
> > > > -Bill
> > > >
> >
> >
> > ______________________________________________________
> > Linux MTD discussion mailing list
> > http://lists.infradead.org/mailman/listinfo/linux-mtd/
> >
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: DOC2000 Boot de-ja-vue - add...
2001-08-31 15:17 DOC2000 Boot de-ja-vue - add Veikko Werner
@ 2001-08-31 15:41 ` David Woodhouse
0 siblings, 0 replies; 4+ messages in thread
From: David Woodhouse @ 2001-08-31 15:41 UTC (permalink / raw)
To: Veikko Werner; +Cc: linux-mtd
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] 4+ messages in thread
* AW: DOC2000 Boot de-ja-vue - add...
@ 2001-09-03 7:25 Veikko Werner
2001-09-03 8:16 ` Michel Stempin
0 siblings, 1 reply; 4+ 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] 4+ messages in thread
* RE: DOC2000 Boot de-ja-vue - add...
2001-09-03 7:25 AW: " Veikko Werner
@ 2001-09-03 8:16 ` Michel Stempin
0 siblings, 0 replies; 4+ 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] 4+ messages in thread
* RE: DOC2000 Boot de-ja-vue
@ 2001-08-31 13:48 martin.kula
2001-08-31 14:24 ` DOC2000 Boot de-ja-vue - add martin.kula
0 siblings, 1 reply; 4+ messages in thread
From: martin.kula @ 2001-08-31 13:48 UTC (permalink / raw)
To: linux-mtd
Hi
Read last line in the syslog (kernel) messages.
.... No init found ......
Kernel can't found init executable ... default /sbin/init ... on root
volume.
Have you got it there? Or you can pass init=some_executable into your
kernel before bootting (by grub or lilo), where some_executabe can be
/bin/sh for example.
Martin
On Fri, 31 Aug 2001, Veikko Werner wrote:
> I have also no idea but the same problem. It seems to me that all the
> readme's doesn't work.
> There must be some clue, but what?
> I would appreciate some help.
>
> Veikko
>
> > -----Original Message-----
> > From: Bill [SMTP:wrs122@psu.edu]
> > Sent: Friday, August 31, 2001 5:00 AM
> > To: linux-mtd@lists.infradead.org
> > Subject: DOC2000 Boot de-ja-vue
> >
> > Well, DOC2000 seems happy now kinda. I think my problem is with Linux.
> > Here
> > is the end of my boot screen:
> >
> > blah... blah... blah...
> > NFTL driver: nftlcore.c $Revision: 1.78 $, nftlmount.c $Revision: 1.21 $
> > Cannot calculate an NFTL geometry to match size of 0x46840
> > Using C:1002 H:16 S:18 (== 0x46740 sects)
> > nftla: nftla1
> > NET4: Linux TCP/IP 1.0 for NET4.0
> > IP Protocols: ICMP, UDP, TCP, IGMP
> > IP: routing cache hash table of 2048 buckets, 16 Kbytes
> > TCP: Hash tables configured (established 16384 bind 16384)
> > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0
> > VFS: Mounted root (ext2 filesystem) readonly.
> > Freeing unused kernel memory 204k freed
> > Kernel panic: No init found. Try passing init= option to kernel.
> >
> > It mounts the device fine but then dies. Any ideas?
> >
> > -Bill
> >
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: DOC2000 Boot de-ja-vue - add...
2001-08-31 13:48 DOC2000 Boot de-ja-vue martin.kula
@ 2001-08-31 14:24 ` martin.kula
0 siblings, 0 replies; 4+ messages in thread
From: martin.kula @ 2001-08-31 14:24 UTC (permalink / raw)
To: linux-mtd
Hi
See last 8 lines from init/main.c (in kernel source directories).
...........................
if (execute_command)
execve(execute_command,argv_init,envp_init);
execve("/sbin/init",argv_init,envp_init);
execve("/etc/init",argv_init,envp_init);
execve("/bin/init",argv_init,envp_init);
execve("/bin/sh",argv_init,envp_init);
panic("No init found. Try passing init= option to kernel.");
}
............................
Kernel trying executed above executable in order:
1. init=... parameter
2. /sbin/init
3. /etc/init
4. /bin/init
5. /bin/sh
if all failed it print the message 'No init found. Try pass......'
M.
On Fri, 31 Aug 2001 martin.kula@deltaes.cz wrote:
> Hi
> Read last line in the syslog (kernel) messages.
> .... No init found ......
> Kernel can't found init executable ... default /sbin/init ... on root
> volume.
> Have you got it there? Or you can pass init=some_executable into your
> kernel before bootting (by grub or lilo), where some_executabe can be
> /bin/sh for example.
>
> Martin
>
>
> On Fri, 31 Aug 2001, Veikko Werner wrote:
>
> > I have also no idea but the same problem. It seems to me that all the
> > readme's doesn't work.
> > There must be some clue, but what?
> > I would appreciate some help.
> >
> > Veikko
> >
> > > -----Original Message-----
> > > From: Bill [SMTP:wrs122@psu.edu]
> > > Sent: Friday, August 31, 2001 5:00 AM
> > > To: linux-mtd@lists.infradead.org
> > > Subject: DOC2000 Boot de-ja-vue
> > >
> > > Well, DOC2000 seems happy now kinda. I think my problem is with Linux.
> > > Here
> > > is the end of my boot screen:
> > >
> > > blah... blah... blah...
> > > NFTL driver: nftlcore.c $Revision: 1.78 $, nftlmount.c $Revision: 1.21 $
> > > Cannot calculate an NFTL geometry to match size of 0x46840
> > > Using C:1002 H:16 S:18 (== 0x46740 sects)
> > > nftla: nftla1
> > > NET4: Linux TCP/IP 1.0 for NET4.0
> > > IP Protocols: ICMP, UDP, TCP, IGMP
> > > IP: routing cache hash table of 2048 buckets, 16 Kbytes
> > > TCP: Hash tables configured (established 16384 bind 16384)
> > > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0
> > > VFS: Mounted root (ext2 filesystem) readonly.
> > > Freeing unused kernel memory 204k freed
> > > Kernel panic: No init found. Try passing init= option to kernel.
> > >
> > > It mounts the device fine but then dies. Any ideas?
> > >
> > > -Bill
> > >
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-09-03 8:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-31 15:17 DOC2000 Boot de-ja-vue - add Veikko Werner
2001-08-31 15:41 ` David Woodhouse
-- strict thread matches above, loose matches on Subject: below --
2001-09-03 7:25 AW: " Veikko Werner
2001-09-03 8:16 ` Michel Stempin
2001-08-31 13:48 DOC2000 Boot de-ja-vue martin.kula
2001-08-31 14:24 ` DOC2000 Boot de-ja-vue - add martin.kula
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox