[ELDK] Problem in porting linux on VCE405 powerpc board using ELDK-4.2 development environment

Wolfgang Denk wd at denx.de
Thu Jun 23 17:10:01 CEST 2011


Dear ext.rajive.gupta at us.transport.bombardier.com,

please stop top-posting / full quoting.  Please see
http://www.netmeister.org/news/learn2quote.html if you need help.

In message <OF2BF58DE0.78D60EB0-ON852578B8.004B8492-852578B8.004C8A47 at amer.bombardier.com> you wrote:
>
> I did the postmortem analysis with md command yesterday and found 
> following warning in memory after "turn off boot console udbg0" message
> 
> Warning:unable to open init console.
> RAMDISK:gzip image found at block 0
> VFS:mounted root(ext2 filesystem) readonly on device 
> Freeing unused memory:140k 
> init Kernel panic -not syncing: Attempted to kill init!
> 
> Am missing some thing in kernel configuration. Can you please guide me to 
> resolve this.

You have more than one problem.  The first one is the console
configuration in your Linux kernel.  Re-check how your serial p[orts
are configured, and which one is ttyS0 or ttyS1.  Also check your
device tree to include correct descriptions of the serial ports.

The second issue is with y our root file system.  It seems it cannot
run the init process, so check this, too.  Note that in many cases it
is easier to bing up a system using a root file system mounted over
NFS - then you can easily trace all file system accesses using a
simple network sniffer, and you can see immediately where the system
stops working correctly.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The only person who always got his work done by Friday
                                                 was Robinson Crusoe.


More information about the eldk mailing list