fialing @ executing /sbin/int in main.c
Adrian Craine
adrian.craine at nec.com.au
Tue Nov 28 08:01:47 EST 2006
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.
More information about the Linuxppc-embedded
mailing list