public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* 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
* 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
@ 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

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