AnsweredAssumed Answered

Rare kernel panic

Question asked by pradeepkarosiya on Sep 11, 2012

Hi,

 

I've customize board derived from MX28EVK. I'm running linux application based on kernel 2.6.35.3 most of the time the app is working fine.

But after prolong running the kernel crashes and issues kernel panic. I've attached one of the log.

Any help or direction will be highly appreciable.

Thanks in advance .

 

HTLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL

FLCStarting Power Prep

PWRCNTRL 00000230

 

 

PowerPrep start initialize power...

 

 

Configured for 5v only power source. Battery powered operation disabl

ed.

LLLC

HW_CLKCTRL 0x00000014

HW_CLKCTRL 0x00000034

Feb  7 201213:55:05

FRAC 0x92925552

memory type is DDR2

Wait for ddr ready 1

###hbus 0x00000002

###cpu 0x00010002

power 0x00820616

Frac 0x92925552

start change cpu freq

hbus 0x00000003

cpu 0x00010001

HW_PINCTRL_MUXSEL2_RD = 0xFFFFFFFF

HW_PINCTRL_DOE1_RD = 0x00000000

HW_PINCTRL_DOUT1_RD= 0x00000000

HW_PINCTRL_DOE1_RD = 0x00002000

HW_PINCTRL_DOUT1_RD= 0x00002000

start test memory accress

ddr2 0x40000000

finish simple test

LLLLLLLFLCLLJHay !!!! Uncompressing Linux...

output_start=40231E34

free_mem_ptr=40221E34

free_mem_end_ptr=40231E34

input_data=4000C524

input_data_endr=40220DDFdecompress_kernel=40008B94arch_id=000009E3

done, booting the kernel.........

***** start_kernel 0xc0008868

Linux version 2.6.35.3-571-gcca29a0 (gcc v

ersion 4.1.2) #9 PREEMPT Tue Feb 7 13:45:17 PST 2012

CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177

CPU: VIVT data cache, VIVT instruction cache

Machine: Freescale MX28EVK board

Memory policy: ECC disabled, Data cache writeback

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256

Kernel command line: noinitrd console=ttyAM0,115200 root=/dev/mmcblk0p3 rw rootw

ait ip=none gpmi

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)

Memory: 64MB = 64MB total

Memory: 56036k/56036k available, 9500k reserved, 0K highmem

Virtual kernel memory layout:

    vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

    DMA     : 0xfde00000 - 0xffe00000   (  32 MB)

    vmalloc : 0xc4800000 - 0xf0000000   ( 696 MB)

    lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)

    modules : 0xbf000000 - 0xc0000000   (  16 MB)

      .init : 0xc0008000 - 0xc002d000   ( 148 kB)

      .text : 0xc002d000 - 0xc0442000   (4180 kB)

      .data : 0xc0442000 - 0xc0470ac0   ( 187 kB)

SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

Hierarchical RCU implementation.

  RCU-based detection of stalled CPUs is disabled.

  Verbose stalled-CPUs detection is disabled.

NR_IRQS:288

Console: colour dummy device 80x30

console [ttyAM0] enabled

Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)

pid_max: default: 32768 minimum: 301

Security Framework initialized

SELinux:  Initializing.

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

regulator: core version 0.5

NET: Registered protocol family 16

regulator: vddd: 800 <--> 1575 mV at 1500 mV fast normal

regulator: vdddbo: 800 <--> 1575 mV fast normal

regulator: vdda: 1500 <--> 2275 mV at 1800 mV fast normal

vddio = 3380000, val=10

regulator: vddio: 2880 <--> 3680 mV at 3380 mV fast normal

regulator: overall_current: fast normal

regulator: vbus5v:

regulator: mxs-duart-1: fast normal

regulator: mxs-bl-1: fast normal

regulator: mxs-i2c-1: fast normal

regulator: mmc_ssp-1: fast normal

regulator: mmc_ssp-2: fast normal

regulator: charger-1: fast normal

regulator: power-test-1: fast normal

regulator: cpufreq-1: fast normal

i.MX IRAM pool: 124 KB@0xc4820000

***** mx28_gpio_init - done ********

audit: cannot initialize inotify handle

bio: create slab <bio-0> at 0

SCSI subsystem initialized

Switching to clocksource mxs clock source

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

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

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

NET: Registered protocol family 1

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

RPC: Registered tcp NFSv4.1 backchannel transport module.

Trying to unpack rootfs image as initramfs...

rootfs image is not initramfs (junk in compressed archive); looks like an initrd

Freeing initrd memory: 4096K

Bus freq driver module loaded

mxs_cpu_init: cpufreq init finished >>>>SSSS

$$$$$$$$$ emi_set_rate $$$$$$$$$ 205710000

$$$$$ emi_set_rate - 200MHz $$$

audit: initializing netlink socket (disabled)

type=2000 audit(0.590:1): initialized

VFS: Disk quotas dquot_6.5.2

Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.

msgmni has been set to 117

alg: No test for stdrng (krng)

cryptodev: driver loaded.

Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

Console: switching to colour frame buffer device 100x30

mxs-duart.0: ttyAM0 at MMIO 0x80074000 (irq = 47) is a DebugUART

mxs-auart.0: ttySP0 at MMIO 0x8006a000 (irq = 112) is a mxs-auart.0

Found APPUART 3.1.0

mxs-auart.1: ttySP1 at MMIO 0x8006c000 (irq = 113) is a mxs-auart.1

Found APPUART 3.1.0

mxs-auart.2: ttySP2 at MMIO 0x8006e000 (irq = 114) is a mxs-auart.2

Found APPUART 3.1.0

mxs-auart.3: ttySP3 at MMIO 0x80070000 (irq = 115) is a mxs-auart.3

Found APPUART 3.1.0

brd: module loaded

loop: module loaded

mxs-spi mxs-spi.0: Max possible speed 24000 = 24000000/2 kHz

mxs-spi mxs-spi.0: at 0x80014000 mapped to 0xF0014000, irq=84, bus 1, DMA ver_ma

jor 4

FEC Ethernet Driver

fec_enet_mii_bus: probed

mice: PS/2 mouse device common for all mice

input: mxs-kbd as /devices/platform/mxs-kbd.0/input/input0

input: MXS touchscreen as /devices/virtual/input/input1

MXS RTC driver v1.0 hardware v2.3.0

mxs-rtc mxs-rtc.0: rtc core: registered mxs-rtc as rtc0

WARNING : No battery connected !

Aborting power driver initialization

mxs-battery: probe of mxs-battery.0 failed with error 1

mxs watchdog: initialized, heartbeat 19 sec

mxs-mmc: MXS SSP Controller MMC Interface driver

mxs-mmc mxs-mmc.0: mmc0: MXS SSP MMC DMAIRQ 82 ERRIRQ 96

dcp dcp.0: DCP crypto enabled.!

TCP cubic registered

NET: Registered protocol family 17

can: controller area network core (rev 20090105 abi 8)

NET: Registered protocol family 29

can: raw protocol (rev 20090105)

mxs-rtc mxs-rtc.0: setting system clock to 1970-01-01 00:00:04 UTC (4)

Waiting for root device /dev/mmcblk0p3...

mmc0: new high speed SD card at address 1234

mmcblk0: mmc0:1234 SA02G 1.81 GiB

mmcblk0: p1 p2 p3 p4 < p5 p6 >

EXT2-fs (mmcblk0p3): warning: mounting unchecked fs, running e2fsck is recommend

ed

VFS: Mounted root (ext2 filesystem) on device 179:3.

Freeing init memory: 148K

Kernel panic - not syncing: Attempted to kill init!

Backtrace:

[<c0031834>] (dump_backtrace+0x0/0x108) from [<c0031d90>] (dump_stack+0x18/0x1c)

r6:00000004 r5:c3c20000 r4:c044e3b4

[<c0031d78>] (dump_stack+0x0/0x1c) from [<c0049404>] (panic+0x70/0xf8)

[<c0049394>] (panic+0x0/0xf8) from [<c004c974>] (do_exit+0x64/0x698)

r3:c044e3b4 r2:c3c22000 r1:c3c23e38 r0:c03dedc8

[<c004c910>] (do_exit+0x0/0x698) from [<c004d06c>] (do_group_exit+0xc4/0xf8)

[<c004cfa8>] (do_group_exit+0x0/0xf8) from [<c0059588>] (get_signal_to_deliver+0

x3e8/0x448)

r4:c3c22000

[<c00591a0>] (get_signal_to_deliver+0x0/0x448) from [<c00307f0>] (do_notify_resu

me+0x6c/0x630)

[<c0030784>] (do_notify_resume+0x0/0x630) from [<c002df0c>] (work_pending+0x1c/0

x20)

 

Best Regards.

Pradeep

 

Outcomes