zImage.elf loads but does not start

Mirek23 miroslaw.dach at psi.ch
Fri May 25 22:24:31 EST 2007


Hi All,

          I have done more research on the problem with my ml403 board.
I use linux 2.6.21rc6 by Grant. I have configured the kernel to mount the
rootfile system via NFS.
The kernel boots properly up to the point to execute init.

My Last observation is as following.

I have written my own statically build init just to printf some strings to
the screen. The message is printed as expected. The size of my executable is
around 520 Kbytes.
When I have added more code to have a bigger executable I reached the point
when my init was sometimes executed and some times not (ie. the system
hanged and ping did not work) . This happens when the executable is around
647 Kbytes large.

I have aslo noticed that when the code is bigger than 700 Kbytes the system
hangs always.

To have more evidence I have compiled klibc rootfile system which is very
small but it uses dynamically linked library libc.so which is around 111
Kbytes. In such a case the init was executed fine so it seems to be the
problem of the file size the system is going to execute (load via NFS).

I suspect that it is the Temac which causes the problem. I do not however
know it is possible to adjust some temac parameters like the FIFOs size or
so. Maybe it is the Temac driver? 
It could be also that NFS client server communication which brakes due to
unknown reason. My eteral program which I used to monitor the network
traffic on the NFS server shows that NFS server works all the time and it
sends periodically the packets to the client even if the client hags. 
 
Would you have some idea what could be wrong?

Best Regards

Mirek


Mirek23 wrote:
> 
>> Anyway, you could try adding
>>    nfsroot=,rsize=1024,wsize=1024
>> to your cmdline just in case...
> 
> I have tried that but it did not help :(
> 
> Best Regards
> 
> Mirek
> 

-- 
View this message in context: http://www.nabble.com/zImage.elf-loads-but-not-starts-tf3607582.html#a10801964
Sent from the linuxppc-embedded mailing list archive at Nabble.com.




More information about the Linuxppc-embedded mailing list