AnsweredAssumed Answered

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

Question asked by sachin@eilabs.co.in on Jan 3, 2014
Latest reply on Jan 6, 2014 by santhku@gmail.com
Hi

 

i am getting new error

 

Kernel panic - not syncing: No init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.

 

Below is the entire log

## Booting kernel from Legacy Image at 20100000 ...

   Image Name:   bf548-0.2-3.10.10-ADI-2013R1

   Created:      2014-01-03   5:59:30 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    1581602 Bytes = 1.5 MiB

   Load Address: 00001000

   Entry Point:  002bfdc4

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 002bfdc4

Linux version 3.10.10-ADI-2013R1 (root@ubuntu) (gcc version 4.3.5 (ADI-2013R1-RC1) ) #1 Fri Jan 3 11:29:22 IST 2014

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart2] enabled

early printk enabled on early_BFuart2

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x001d67a0

  rodata    = 0x001d67a0-0x00275468

  bss       = 0x00276000-0x0028d1cc

  data      = 0x0028d1e0-0x002b6000

    stack   = 0x002b4000-0x002b6000

  init      = 0x002b6000-0x002d9000

  available = 0x002d9000-0x03e00000

  DMA Zone  = 0x03e00000-0x04000000

Hardware Trace active and enabled

Boot Mode: 1

Blackfin support (C) 2004-2010 Analog Devices, Inc.

Compiled for ADSP-BF548 Rev 0.2

Warning: Compiled for Rev 2, but running on Rev 4

Warning: Unsupported Chip Revision ADSP-BF548 Rev 0.4 detected

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 525 MHz core clock and 131 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

  L2 SRAM        : uncacheable in instruction cache

Data Cache Enabled for CPU0

  External memory: cacheable (write-through) in data cache

  L2 SRAM        : uncacheable in data cache

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 15748

Kernel command line: root=/dev/mtdblock2 mem=64M noinitrd ip=dhcp rw earlyprintk=serial,uart2,115200 console=ttyBF2,115200 rootfstype=jffs2 initt

PID hash table entries: 256 (order: -2, 1024 bytes)

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Sorting __ex_table...

Memory available: 59964k/65536k RAM, (140k init code, 1877k kernel code, 895k data, 2048k dma, 612k reserved)

NR_IRQS:295

Configuring Blackfin Priority Driven Interrupts

Console: colour dummy device 80x25

Calibrating delay loop... 1044.48 BogoMIPS (lpj=2088960)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (16 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 48 KB (42 KB free)

Blackfin L2 SRAM: 128 KB (128 KB free)

pinctrl core: initialized pinctrl subsystem

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

bio: create slab <bio-0> at 0

SCSI subsystem initialized

NET: Registered protocol family 2

TCP established hash table entries: 512 (order: 0, 4096 bytes)

TCP bind hash table entries: 512 (order: -1, 2048 bytes)

TCP: Hash tables configured (established 512 bind 512)

TCP: reno registered

UDP hash table entries: 256 (order: 0, 4096 bytes)

UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

NET: Registered protocol family 1

debug-mmrs: setting up Blackfin MMR debugfs

jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.

msgmni has been set to 117

io scheduler noop registered (default)

bf54x-lq043: FrameBuffer initializing...

dma_alloc_init: dma_page @ 0x021e0000 - 512 pages at 0x03e00000

Console: switching to colour frame buffer device 80x24

bfin-uart: Blackfin serial driver

bfin-uart.2: ttyBF2 at MMIO 0xffc02100 (irq = 40) is a BFIN-UART

console [ttyBF2] enabled, bootconsole disabled

console [ttyBF2] enabled, bootconsole disabled

bfin-otp: initialized

brd: module loaded

register bfin atapi driver

pata-bf54x pata-bf54x: Fail to reset ATAPI device

pata-bf54x: probe of pata-bf54x failed with error -14

physmap platform flash device: 02000000 at 20000000

physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x00881e

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Using buffer write method

Using auto-unlock on power-up/resume

cfi_cmdset_0001: Erase suspend on write enabled

Creating 5 MTD partitions on "physmap-flash.0":

0x000000000000-0x000000080000 : "bootloader(nor)"

0x000000080000-0x000000480000 : "linux kernel(nor)"

0x000000480000-0x000000fe0000 : "file system(nor)"

0x000000fe0000-0x000000ff8000 : "config(nor)"

0x000000ff8000-0x000001000000 : "u-boot env(nor)"

bf5xx-nand bf5xx-nand.0: data_width=8, wr_dly=3, rd_dly=3

ONFI param page 0 valid

ONFI flash detected

NAND device: Manufacturer ID: 0x2c, Chip ID: 0x48 (Micron MT29F32G08AFACAWP), 2048MiB, page size: 4096, OOB size: 224

Creating 3 MTD partitions on "MT29F32G08AFACAWP":

0x000000000000-0x000000080000 : "bootloader(nand)"

0x000000080000-0x000000480000 : "linux kernel(nand)"

0x000000480000-0x000080000000 : "file system(nand)"

smsc911x: Driver version 2008-10-21

input: bf54x-keys as /devices/platform/bf54x-keys/input/input0

TCP: cubic registered

NET: Registered protocol family 17

VFS: Mounted root (jffs2 filesystem) on device 31:2.

Freeing unused kernel memory: 140K (2b6000 - 2d9000)

Failed to execute /sbin/init.  Attempting defaults...

Kernel panic - not syncing: No init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.

Hardware Trace:

   0 Target : <0x001d4b38> { _dump_stack + 0x0 }

     Source : <0x001d4be6> { _panic + 0x6a } CALL pcrel

   1 Target : <0x001d4bd4> { _panic + 0x58 }

     Source : <0x0000a59a> { _test_taint + 0x22 } RTS

   2 Target : <0x0000a578> { _test_taint + 0x0 }

     Source : <0x001d4bd0> { _panic + 0x54 } JUMP.L

   3 Target : <0x001d4bce> { _panic + 0x52 }

     Source : <0x001d4da2> { _printk + 0x26 } RTS

   4 Target : <0x001d4d9e> { _printk + 0x22 }

     Source : <0x0000c700> { _vprintk_emit + 0x12c } RTS

   5 Target : <0x0000c6f6> { _vprintk_emit + 0x122 }

     Source : <0x0000c6e8> { _vprintk_emit + 0x114 } IF CC JUMP pcrel (BP)

   6 Target : <0x0000c6e0> { _vprintk_emit + 0x10c }

     Source : <0x0000c7c6> { _vprintk_emit + 0x1f2 } JUMP.S

   7 Target : <0x0000c7c6> { _vprintk_emit + 0x1f2 }

     Source : <0x0000bb96> { _wake_up_klogd + 0x3e } RTS

   8 Target : <0x0000bb92> { _wake_up_klogd + 0x3a }

     Source : <0x0000bb68> { _wake_up_klogd + 0x10 } IF CC JUMP pcrel

   9 Target : <0x0000bb58> { _wake_up_klogd + 0x0 }

     Source : <0x0000bf5a> { _console_unlock + 0x35a } CALL pcrel

  10 Target : <0x0000bf46> { _console_unlock + 0x346 }

     Source : <0x0000bd76> { _console_unlock + 0x176 } IF CC JUMP pcrel

  11 Target : <0x0000bd74> { _console_unlock + 0x174 }

     Source : <0x0000bd66> { _console_unlock + 0x166 } IF CC JUMP pcrel (BP)

  12 Target : <0x0000bd54> { _console_unlock + 0x154 }

     Source : <0x0002485e> { _up + 0x3e } RTS

  13 Target : <0x00024858> { _up + 0x38 }

     Source : <0x0002484a> { _up + 0x2a } IF CC JUMP pcrel (BP)

  14 Target : <0x00024820> { _up + 0x0 }

     Source : <0x0000bd50> { _console_unlock + 0x150 } CALL pcrel

  15 Target : <0x0000bd2e> { _console_unlock + 0x12e }

     Source : <0x0000beb8> { _console_unlock + 0x2b8 } JUMP.S

CPU: 0 PID: 1 Comm: swapper Not tainted 3.10.10-ADI-2013R1 #1

Stack info:

SP: [0x02025ebc] <0x02025ebc> /* kernel dynamic memory (maybe user-space) */

FP: (0x02025f08)

Memory from 0x02025eb0 to 02026000

02025eb0: 0029326c  02025ebc  00000000 [00000000] 001d4bea  0029326c  00223724  0027b55c

02025ed0: 0027b55c  0027b55c  02025f04  0202dec8  001d3fc8  0029326c  0029326c  00000000

02025ef0: 02023ac0  02023d60  002a1e1c  0029860c  ffa00006  00000000 (00000000)<ffa00014>

02025f10: 002829dc  02023c14  55555575  001d3eb0  00000000  00000000  00008000  00000000

02025f30: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

02025f50: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

02025f70: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

02025f90: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

02025fb0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

02025fd0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

02025ff0: 00000000  00000000  ffffffff  00000006

Return addresses in stack:

   frame  1 : <0xffa00014> { _ret_from_fork + 0x14 }

Thanks and regards

santhosh.

Outcomes