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

Vineeth vneethv at gmail.com
Thu Nov 5 09:10:06 UTC 2009


Hi all,
there  is an issue with the hardware we are working on. which has a bad data
cache..or we cant enable the cache while creating the TLB in kernel. 'n can
it be the reason why the illegal instruction exception pops up ? because it
was said in a mailing list that *" I don't think lwarx/stwcx. will work on
non-cacheable pages, and dcbz will be troublesome too... ."
*WILL IT BE THE REASON FOR THIS ERROR ???*

*-Vineeth _*
*
On Wed, Nov 4, 2009 at 8:17 PM, Vineeth <vneethv at gmail.com> wrote:

> Hi,
> We did try with a small statically linked application also.
> which failed with error  "init has generated signal 11 but has no
> handler for it"
>
> which seems like an alignment exception.
> please find the log below:
>
> 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: 0x00514eb0)
> Allocating 0x1e4e40 bytes for kernel ...
> gunzipping (0x00000000 <- 0x0040c000:0x004dfe1c)...done 0x1cd1cc bytes
> Attached initrd image at 0x004e0000-0x0051377d
> initrd head: 0x1f8b0808
>
> Linux/PowerPC load: console=ttyS0 root=/dev/ram init=/sbin/init
> Finalizing device tree... flat tree at 0x521300
> Using PowerPC 44x Platform machine description
> Linux version 2.6.30 (root at rosebud) (gcc version 4.2.4) #25 PREEMPT
> Wed Nov 4 19:30:37 IST 2009
> Found initrd at 0xc04e0000:0xc051377d
> 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: 14052k/16384k available (1724k kernel code, 2332k 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: 205k 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 11 but has no handler for it
> Kernel panic - not syncing: Attempted to kill init!
> Call Trace:
> [c0529cd0] [c0005d44] show_stack+0x4c/0x16c (unreliable)
> [c0529d10] [c002f7c4] panic+0xa0/0x168
> [c0529d60] [c0033494] do_exit+0x5f8/0x638
> [c0529da0] [c000b7b4] _exception+0x108/0x1b4
> [c0529e90] [c000f500] do_page_fault+0x398/0x450
> [c0529f40] [c000df24] handle_page_fault+0xc/0x80
> Rebooting in 180 seconds..
>
>
> -vineeth _
>
>
> On Wed, Nov 4, 2009 at 7:23 PM, Denys Vlasenko <vda.linux at googlemail.com>
> wrote:
> > 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
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20091105/3fbb146a/attachment-0001.htm>


More information about the busybox mailing list