All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Craine <adrian.craine@nec.com.au>
To: Abdul Rahaman <abdul.rahaman@semindia.in>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: fialing @ executing /sbin/int in main.c
Date: Tue, 28 Nov 2006 08:01:47 +1100	[thread overview]
Message-ID: <456B523B.5090504@nec.com.au> (raw)
In-Reply-To: <004501c7120b$ebca9190$ab80a8c0@xaltedindia.net>

Abdul Rahaman wrote:
> Hi All,
> Iam trying to port linux on an mpc8xx processor. Iam using 2.6.10
> kernel and busybox 1.0.0.The system is booting up but its failing at
> the “init”.For some reasons it says Kernel panic - not syncing: No
> init found. Try passing init= option to kernel.
> <0>Rebooting in 180 second
> Pls check below the entire text.
> Linux version 2.6.10 (gcc version 3.4.1) #83 Wed
> Nov
> 22 16:02:46 IST 2006
> On node 0 totalpages: 8192
> DMA zone: 8192 pages, LIFO batch:2
> Normal zone: 0 pages, LIFO batch:1
> HighMem zone: 0 pages, LIFO batch:1
> Built 1 zonelists
> Kernel command line: console=ttyCPM,38400=console=ttyCPM debug
> root=/dev/ram0 rw
> PID hash table entries: 256 (order: 8, 4096 bytes)
> Decrementer Frequency = 495000000/60
> m8xx_wdt: wdt disabled (SYPCR: 0xFFFFFF88)
> Warning: real time clock seems stuck!
> Console: colour dummy device 80x25
> Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
> Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
> Memory: 29592k available (1572k kernel code, 360k data, 92k init, 0k
> highmem)
> Calibrating delay loop... 261.12 BogoMIPS (lpj=130560)
> before dcache_init
> after dcache_init
> Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
> Before SysFs_init
> After SysFs_init
> After init_rootfs
> after init_mount_tree
> inside proc_root_init
> after proc_misc_init
> checking if image is initramfs...it isn't (no cpio magic); looks like
> an initrd
> Freeing initrd memory: 746k freed
> after SK_Init
> before register file system in sockets
> after register file system in sockets
> after kernel mount in sockets
> NET: Registered protocol family 16
> JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
> Software Watchdog Timer: 0.07 initialized. soft_noboot=0
> soft_margin=60 sec (nowayout= 0)
> Serial: CPM driver $Revision: 0.01 $
> ttyCPM0 at MMIO 0xf000a80 (irq = 20) is a CPM UART
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered
> RAMDISK driver initialized: 4 RAM disks of 8192K size 1024 blocksize
> loop: loaded (max 8 devices)
> elevator: using anticipatory as default io scheduler
> mice: PS/2 mouse device common for all mice
> eth0: FEC ENET Version 0.2, FEC irq 3, MII irq 4, addr 00:a0:1e:a8:7b:cb
> u32 classifier
> OLD policer on
> NET: Registered protocol family 2
> IP: routing cache hash table of 512 buckets, 4Kbytes
> TCP: Hash tables configured (established 2048 bind 4096)
> NET: Registered protocol family 17
> RAMDISK: Compressed image found at block 0
> VFS: Mounted root (ext2 filesystem).
> Freeing unused kernel memory: 92k init
> Kernel panic - not syncing: No init found. Try passing init= option to
> kernel.
> <0>Rebooting in 180 second
> I have tried googling,but haven’t got any suitable answer to my
> problem.Please help,as Iam not able to figure out why the “init” is
> failing.
> Sunil
Are all the libraries present for init?
# readelf -lh sbin/init
should contain a line similar to the following: [Requesting program
interpreter: /lib/ld.so.1]
If this is missing the kernel will fail to run init with the above behavior.

Adrian.

  reply	other threads:[~2006-11-27 21:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-27  4:40 Multiple Ethernet Ports on Xilinx FPGA Brett McNerney
2006-11-27 10:07 ` fialing @ executing /sbin/int in main.c Abdul Rahaman
2006-11-27 21:01   ` Adrian Craine [this message]
2006-11-28  5:22     ` Abdul Rahaman
2006-11-30  4:11       ` Abdul Rahaman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=456B523B.5090504@nec.com.au \
    --to=adrian.craine@nec.com.au \
    --cc=abdul.rahaman@semindia.in \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.