From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.dev.rtsoft.ru (unknown [85.21.88.2]) by ozlabs.org (Postfix) with SMTP id 39B59DDECC for ; Tue, 15 May 2007 22:24:03 +1000 (EST) Message-ID: <4649A7AC.1050503@ru.mvista.com> Date: Tue, 15 May 2007 16:29:32 +0400 From: Andrei Konovalov MIME-Version: 1.0 To: Mirek23 Subject: Re: zImage.elf loads but does not start References: <10079346.post@talk.nabble.com> <10142161.post@talk.nabble.com> <406A31B117F2734987636D6CCC93EE3C0159BAAE@ehost011-3.exch011.intermedia.net> <10165159.post@talk.nabble.com> <10323147.post@talk.nabble.com> <463B5422.6030105@ru.mvista.com> <10372619.post@talk.nabble.com> <406A31B117F2734987636D6CCC93EE3C017019FD@ehost011-3.exch011.intermedia.net> <4640F08E.5040608@nec.com.au> <9F3F0A752CAEBE4FA7E906CC2FBFF57C06A207@MERCURY.inside.istor.com> <10409434.post@talk.nabble.com> <10429898.post@talk.nabble.com> <10621564.post@talk.nabble.com> In-Reply-To: <10621564.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Mirek, Mirek23 wrote: >> It seems to be that the console works fine and the root file system is > mounted properly via NFS. >> I do not however understand why eldk4.1 init does not work. > > I have done some more investigations. My observation is as following: > > The eldk4.1/ppc_4xx root file system has the init which is not statically > built. When I removed the lib directory on the > NFS server:/opt/eldk4.1/ppc_4xx/lib the kernel has booted up to the point: > > [ 9.302101] VFS: Mounted root (nfs filesystem). > [ 9.357642] Freeing unused kernel memory: 96k init > [ 9.481509] Kernel panic - not syncing: No init found. Try passing init= > option to kernel. > > > When the lib directory was present the last printed message was: > [ 9.357642] Freeing unused kernel memory: 96k init Any NFS timeouts after reaching this point? Any network activity at all? (NFS timeout is quite long, so waiting few minutes would make sense) Thanks, Andrei > I have observed the same behaviour with busybox accessed via NFS. > I have compiled busybox with crosstool-0.43 (gcc-4.0.2 glibc-2.3.2) because > eldk4.1 crosscompilers failed to compile busybox. When using busybox mounted > via NFS I copied the lib directory from crosstool. > Unfortunately also this time the system hanged at init. > > My own version of init which uses printf just to print the string to the > screen runs however fine. > > Would somebody have some suggestion what might cause the problem to properly > launch the init command. > > Best Regards > > Mirek