AnsweredAssumed Answered

Kernel panic - not syncing: Kernel exception

Question asked by fuhui on Mar 1, 2012
Latest reply on Mar 1, 2012 by fuhui

My boot information:

 

 

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

   Image Name:   Linux-2.6.28.10-ADI-2009R1

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    3650583 Bytes =  3.5 MB

   Load Address: 00001000

   Entry Point:  001655e8

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 001655e8

Linux version 2.6.28.10-ADI-2009R1 (root@witchfox-desktop) (gcc version 4.1.2 (ADI svn)) #7 Thu Mar 1 19:06:14 CST 2012

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x000ecb30

  rodata    = 0x000ecb30-0x00136784

  bss       = 0x00137000-0x00148750

  data      = 0x00148750-0x00158000

    stack   = 0x00156000-0x00158000

  init      = 0x00158000-0x006f6000

  available = 0x006f6000-0x03eff000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 0

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

Compiled for ADSP-BF561 Rev 0.5

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

Processor Speed: 500 MHz core clock and 100 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-back)

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

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=192.168.1.101:192.168.1.100:192.168.1.1:255.255.255.0:BF561-ezkit:eth0:off

Configuring Blackfin Priority Driven Interrupts

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

console [ttyBF0] enabled, bootconsole disabled

console [ttyBF0] enabled, bootconsole disabled

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

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

Memory available: 56812k/65536k RAM, (5752k init code, 942k kernel code, 430k data, 1024k dma, 572k reserved)

Calibrating delay loop... 997.37 BogoMIPS (lpj=1994752)

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

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

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

Blackfin L1 Instruction SRAM: 16 KB (5 KB free)

Blackfin L2 SRAM: 128 KB (128 KB free)

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

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

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

NET: Registered protocol family 1

msgmni has been set to 110

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 35) is a BFIN-UART

brd: module loaded

dm9000 Ethernet Driver, V1.31

bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@16

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

TCP cubic registered

NET: Registered protocol family 17

Undefined instruction

- May be used to emulate instructions that are not defined for

   a particular processor implementation.

Kernel OOPS in progress

Deferred Exception context

CURRENT PROCESS:

COMM=swapper PID=1

CPU = 0

invalid mm

return address: [0x000da1fc]; contents of:

0x000da1d0:  b0e8  e6a8  0045  e6a8  0043  e3f9  c5cd  a120

0x000da1e0:  b1e8  a160  6408  b160  bd25  e3f9  c8f3  3045

0x000da1f0:  e3ff  ff8a  a0a0  0c00  1404  3044 [e7fe] e7ba

0x000da200:  6cc6  0127  0484  0010  a390  6408  b390  304e

 

ADSP-BF561-0.5 500(MHz CCLK) 100(MHz SCLK) (mpu off)

Linux version 2.6.28.10-ADI-2009R1

Built with gcc version 4.1.2 (ADI svn)

 

SEQUENCER STATUS:        Not tainted

SEQSTAT: 00000021  IPEND: 8030  SYSCFG: 0006

  EXCAUSE   : 0x21

  interrupts disabled

  physical IVG5 asserted : <0xffa00c6c> { _evt_ivhw + 0x0 }

  physical IVG15 asserted : <0xffa00dd4> { _evt_system_call + 0x0 }

  logical irq   6 mapped  : <0xffa003f4> { _timer_interrupt + 0x0 }

RETE: <0x00000000> /* Maybe null pointer? */

RETN: <0x03ee1ce4> /* kernel dynamic memory */

RETX: <0x00000480> /* Maybe fixed code section */

RETS: <0x000da1f4> { _ip_mc_inc_group + 0xa0 }

PC  : <0x000da1fc> { _ip_mc_inc_group + 0xa8 }

DCPLB_FAULT_ADDR: <0x03ee1cfc> /* kernel dynamic memory */

ICPLB_FAULT_ADDR: <0x000da1fc> { _ip_mc_inc_group + 0xa8 }

 

PROCESSOR STATE:

R0 : 03ed2a80    R1 : 00000320    R2 : 03ed0c00    R3 : 00000003

R4 : 00000001    R5 : 03ed0c00    R6 : 00153158    R7 : 00000001

P0 : 03ed0c00    P1 : 03ee1cb8    P2 : 03baa2a0    P3 : 03ed2a80

P4 : 03ed2a80    P5 : 03baa2a0    FP : 03ed0c00    SP : 03ee1c08

LB0: ffa01470    LT0: ffa0146e    LC0: 00000000

LB1: 000ec0f8    LT1: 000ec0de    LC1: 00000000

B0 : 03ee1b90    L0 : 00000000    M0 : 00000010    I0 : d6d3aea8

B1 : 0000ffff    L1 : 00000000    M1 : 00000000    I1 : 03ee1b98

B2 : 03ee1b4c    L2 : 00000000    M2 : 00000000    I2 : 03ee1b94

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 03ee1b9c

A0.w: 003d08ba   A0.x: 00000000   A1.w: 00000934   A1.x: 00000000

USP : 00000000  ASTAT: 02003025

 

 

Kernel Stack

Stack info:

SP: [0x03ee1d38] <0x03ee1d38> /* kernel dynamic memory */

FP: (0x03ee1d34)

Memory from 0x03ee1d30 to 03ee2000

03ee1d30: 000000d0 (00000000)[000af438] 03ee1e44 <00021716> 00000000  03ed0c30  00173514

03ee1d50: fffffffc  00153158  03ed0c00  00000001  03baa300  007875a0  03ee0000 <0002179c>

03ee1d70: 03ed0c00  03ed0c30  00000001  00000008  00000009  00000000  00000000 <000a8abc>

03ee1d90: 03ed0c00  ffffffff  00000000 <000a8ac4> 03ed0c00  00200200  fffedc08 <000a7d62>

03ee1db0: 03ed0c00  001467a0 <00016042> 03ee1e44 <ffa020f4><0016deea> 03ed0c00  00000000

03ee1dd0: 00000000  001467d8  00000028  00150158  0000000a  000f8e74  00000008  0000000a

03ee1df0: 0000000a  00000002  ffffffff  00150188  e2a8ad81  0000b341 <00086b30> 00145dc8

03ee1e10: 0000ffff <0001b7fe> 00150178  ffffffff  00000000  00000000  00000000  00000000

03ee1e30: 00000000 <0001b91c> 00137024  0016aa08  00000000  00000000 <00001028> 00137024

03ee1e50: 0016de74  00173514  00000000  00000000  00000000  00000000  03ee9bc0  001551e8

03ee1e70: 00000010  03ee0000  000040d0  00000000  00000001  000240d0  00000000  00000000

03ee1e90: 001551e8  00000001  00000044  03ee0000  03ee0000  03ee0000  000240d0  03ee0000

03ee1eb0: 00000010  007072c0  00000000  00000000  00000000  00000000  00000000  00000020

03ee1ed0: 00000001  00000000  ffffffff  03ee1f0c <0007d044> 00796840  00795980  001445e0

03ee1ef0:<0007d0b0> 03efb6a4  00000000  00000100  001445e0  0000003f  03ee1f0c  03ee8e10

03ee1f10: 00000000 <0007d226> 001445e0  00795980  00173514  000000d0  00000000 <000650c0>

03ee1f30: 00796840  00795980  00173514  03ee1f60  00004000  00000000  00000000  00000000

03ee1f50: 00173514  03ee1f60 <000652c4> 0014de54  00000100 <000652d2> 0014de54  00143aec

03ee1f70: 00796840  00795980  03ee1f9c  7fffff00  00000001 <0002b372> 03ee1f9c  00000078

03ee1f90: 0000000e <00065396> 00795980  00303231  00000000  00170000 <0002b3ce> 0014c230

03ee1fb0: 0017331c  00000078  0014de54 <0015839a> 00173514  0017331c  00000000  00000000

03ee1fd0: 00000000  00000000  00000000  00000000  00000000 <0000144e> 00000000  00000000

03ee1ff0: 00000000  00000000  ffffffff  00000006

Return addresses in stack:

   frame  1 : <0x000af438> { _rtnetlink_event + 0x38 }

    address : <0x00021716> { _notifier_call_chain + 0x3e }

    address : <0x0002179c> { _raw_notifier_call_chain + 0x10 }

    address : <0x000a8abc> { _dev_open + 0xa8 }

    address : <0x000a8ac4> { _dev_open + 0xb0 }

    address : <0x000a7d62> { _dev_change_flags + 0xd2 }

    address : <0x00016042> { _msleep + 0x12 }

    address : <0xffa020f4> { _mutex_lock + 0xc }

    address : <0x0016deea> { _ip_auto_config + 0x76 }

    address : <0x00086b30> { _get_random_bytes + 0x1c }

    address : <0x0001b7fe> { _queue_delayed_work_on + 0x96 }

    address : <0x0001b91c> { _queue_delayed_work + 0x20 }

    address : <0x00001028> { _do_one_initcall + 0x28 }

    address : <0x0007d044> { _ida_get_new_above + 0x94 }

    address : <0x0007d0b0> { _ida_get_new_above + 0x100 }

    address : <0x0007d226> { _ida_pre_get + 0xe }

    address : <0x000650c0> { _proc_register + 0x30 }

    address : <0x000652c4> { _create_proc_entry + 0x3c }

    address : <0x000652d2> { _create_proc_entry + 0x4a }

    address : <0x0002b372> { _register_irq_proc + 0x6e }

    address : <0x00065396> { _proc_mkdir_mode + 0x2e }

    address : <0x0002b3ce> { _init_irq_proc + 0x42 }

    address : <0x0015839a> { _kernel_init + 0x7a }

    address : <0x0000144e> { _kernel_thread_helper + 0x6 }

Modules linked in:

Kernel panic - not syncing: Kernel exception

 

 

I want to know what's the reason to  make it.And what's the solutions about the problems.I need help!thank you .

Outcomes