Kernel panic: No init found.

Michael G. gohas at actinium.org
Mon Sep 29 11:10:21 EST 2003


Thanks Mark & Georg,

My /bin/init is link to /etc/rc .. I did try to mount it on the host
computer and try to run the init and it works but it would not work for the
MPC857 board.  I'll try the static shell debugging as you suggested ..
thanks again.

Regards,
Mike G.

----- Original Message -----
From: "Mark Hatle" <fray at mvista.com>
Sent: Saturday, September 27, 2003 1:44 AM
Subject: Re: Kernel panic: No init found.

> Well first make try passing init= as a kernel argument and point it to
> something that should be on the root disk..
>
> Second, if the disk is mounting right, most likely you are missing a
> shared library and/or program interpreter.
>
> Best way to debug this IMHO is to put a static shell there,
> ash.static, sash, etc... pass init=<static shell> then try to run the
> init process manually.. you may get more informative error messages.
>
> Mike G. wrote:
>
> > Can someone help me with this.. .been try to figure it out for
> > quite sometime... and still stuck at it. I am using u-boot-0.4.0
> > and linux-2.4.20-rc2 and runnig it for a board equip with MPC857.
> > I don't know what is wrong with this. I have check it ramdisk log
> > file everything seem to be there .. including the init. I have
> > try to mount the squashfs on the host PC and run the init and it
> > works. Hmm.. I am out of ideas on what to try next.. Help me please
> > please....
> >
> > here the output :-
> >
> > Inte0: Swapping erase regions for broken CFI table.
> > number of CFI chips: 1
> > init_inte: bank1, name:Inte0, size:4194304bytes
> > Inte flash0: Using Static image partition definition
> > Creating 5 MTD partitions on "Inte0":
> > 0x00000000-0x00080000 : "kernel"
> > 0x00080000-0x00180000 : "ramdisk"
> > 0x00180000-0x00300000 : "user1"
> > 0x00300000-0x00380000 : "uboot"
> > 0x00380000-0x00400000 : "user2"
> > NET4: Linux TCP/IP 1.0 for NET4.0
> > IP Protocols: ICMP, UDP, TCP, IGMP
> > IP: routing cache hash table of 512 buckets, 4Kbytes
> > TCP: Hash tables configured (established 1024 bind 1024)
> > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> > VFS: Mounted root (squashfs filesystem) readonly.
> > Freeing unused kernel memory: 44k init
> > Kernel panic: No init found.  Try passing init= option to kernel.
> >  <0>Rebooting in 180 seconds..

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list