RFS fails at Kernel panic - not syncing: No init found. Try passing init= option to kernel.

Denys Vlasenko vda.linux at googlemail.com
Wed Nov 4 13:53:49 UTC 2009


On Wed, Nov 4, 2009 at 1:28 PM, Vineeth <vneethv at gmail.com> wrote:
> Hi,
>
> We have 16Mb of SRAM.
>
> The value of CONFIG_BLK_DEV_RAM_SIZE was 4096 (default value) and we
> modified it now to 5244880 (5Mb) and the ramdisk
> image size after extraction is 4.9 MB.
> new failure message we got is "init has generated signal 4 but has no
> handler for it"
> please find the new log below.
> 'n Thank u very much for the reply.
>
> Boot log
> .........................
>
>  Bootloader :Initialized the System
>  Bootloader :Initialized the UART
>  Bootloader :Copying Linux Image to RAM >
>  Bootloader :!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>  Bootloader :Copying Image Done
>  Bootloader : Done - LINUX Entry
>
> zImage starting: loaded at 0x00400000 (sp: 0x00666eb0)
> Allocating 0x1e4e40 bytes for kernel ...
> gunzipping (0x00000000 <- 0x0040c000:0x004dfe1b)...done 0x1cd1cc bytes
> Attached initrd image at 0x004e0000-0x00665a11
> initrd head: 0x1f8b0808
>
> Linux/PowerPC load: console=ttyS0 root=/dev/ram init=/sbin/init
> Finalizing device tree... flat tree at 0x673300
> Using PowerPC 44x Platform machine description
> Linux version 2.6.30 (root at rosebud) (gcc version 4.2.4) #22 PREEMPT
> Wed Nov 4 16:58:09 IST 2009
> Found initrd at 0xc04e0000:0xc0665a11
> console [udbg0] enabled
> setup_arch: bootmem
> arch: exit
> Zone PFN ranges:
>  DMA      0x00000000 -> 0x00001000
>  Normal   0x00001000 -> 0x00001000
> Movable zone start PFN for each node
> early_node_map[1] active PFN ranges
>    0: 0x00000000 -> 0x00001000
> MMU: Allocated 1088 bytes of context maps for 255 contexts
> Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
> Kernel command line: console=ttyS0 root=/dev/ram init=/sbin/init
> NR_IRQS:512
> UIC0 (32 IRQ sources) at DCR 0x1c0
> PID hash table entries: 64 (order: 6, 256 bytes)
> clocksource: timebase mult[a6aaaab] shift[22] registered
> Console: colour dummy device 80x25
> Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
> Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
> Memory: 12700k/16384k available (1724k kernel code, 3684k reserved,
> 96k data, 91k bss, 108k init)
> Kernel virtual memory layout:
>  * 0xffffe000..0xfffff000  : fixmap
>  * 0xfde00000..0xfe000000  : consistent mem
>  * 0xfddff000..0xfde00000  : early ioremap
>  * 0xd1000000..0xfddff000  : vmalloc & ioremap
> Calibrating delay loop... 46.84 BogoMIPS (lpj=93696)
> Mount-cache hash table entries: 512
>
> bio: create slab <bio-0> at 0
> Trying to unpack rootfs image as initramfs...
> rootfs image is not initramfs (no cpio magic); looks like an initrd
> Freeing initrd memory: 1558k freed
> msgmni has been set to 27
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
> serial8250.0: ttyS0 at MMIO 0x2080000 (irq = 16) is a 16550A
> console handover: boot [udbg0] -> real [ttyS0]
> brd: module loaded
> mice: PS/2 mouse device common for all mice
> RAMDISK: gzip image found at block 0
> VFS: Mounted root (ext2 filesystem) readonly on device 1:0.
> Freeing unused kernel memory: 108k init
> init has generated signal 4 but has no handler for it
> Kernel panic - not syncing: Attempted to kill init!

Signal 4 is SIGILL (illegal instruction).

This is a FAQ question, read the answer here: http://busybox.net/FAQ.html#init

--
vda


More information about the busybox mailing list