[#7226] oprofile flat kernel fail to boot on bf533-ezkit

Document created by Aaronwu Employee on Sep 12, 2013
Version 1Show Document
  • View in full screen mode

[#7226] oprofile flat kernel fail to boot on bf533-ezkit

Submitted By: Vivi Li

Open Date

2012-08-03 01:56:55     Close Date

2012-08-24 02:37:13

Priority:

Medium     Assignee:

Bob Liu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

EZKIT Lite

Processor:

BF533     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Assigned (Not Start)

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.3-2012_Feb_15

App binary format:

N/A     

Summary: oprofile flat kernel fail to boot on bf533-ezkit

Details:

 

oprofile flat kernel fail to boot on bf533-ezkit.

 

Bellow is the error log:

--

Linux version 3.5.0-ADI-2012R1-pre-00803-g8e41249 (test@uclinux67-533ezkit) (gcc version 4.3.5 (ADI-trunk/svn-5764) ) #584 Fri A2

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 32MB

Kernel Managed Memory: 32MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0013b5d8

  rodata    = 0x0013b5d8-0x0017bbc8

  bss       = 0x0017c000-0x0018c598

  data      = 0x0018c5a0-0x001a4000

    stack   = 0x001a2000-0x001a4000

  init      = 0x001a4000-0x00e1a000

  available = 0x00e1a000-0x01f00000

  DMA Zone  = 0x01f00000-0x02000000

Hardware Trace active and enabled

Boot Mode: 0

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

Compiled for ADSP-BF533 Rev 0.3

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

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

Processor Speed: 594 MHz core clock and 118 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

Data Cache Enabled for CPU0

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

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

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=27000000 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50f

PID hash table entries: 128 (order: -3, 512 bytes)

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

Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)

Memory available: 16976k/32768k RAM, (12760k init code, 1257k kernel code, 419k data, 1024k dma, 332k reserved)

NR_IRQS:81

Configuring Blackfin Priority Driven Interrupts

j¬Ëk˽±•[ttyBF0] enabled, bootconsole disabledarly

console [ttyBF0] enabled, bootconsole disabled

Calibrating delay loop... 1179.64 BogoMIPS (lpj=2359296)

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: 64 KB (51 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

bio: create slab <bio-0> at 0

bfin-spi bfin-spi.0: master is unqueued, this is deprecated

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

Switching to clocksource bfin_cs_cycles

NET: Registered protocol family 2

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

TCP established hash table entries: 1024 (order: 1, 8192 bytes)

TCP bind hash table entries: 1024 (order: 0, 4096 bytes)

TCP: Hash tables configured (established 1024 bind 1024)

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

swapper: page allocation failure: order:10, mode:0x200d2

Hardware Trace:

------------[ cut here ]------------

kernel BUG at kernel/kallsyms.c:215!

Kernel panic - not syncing: BUG()

Hardware Trace:

Double Fault

Kernel OOPS in progress

Deferred Exception context

CURRENT PROCESS:

COMM=swapper PID=1  CPU=0

invalid mm

return address: [0x00037ff6]; contents of:

0x00037fd0:  4348  0c00  1ff2  0c06  1ffa  9a21  2ff9  0000

0x00037fe0:  04c3  e14c  0000  014f  e10c  0000  3018  3239

0x00037ff0:  3402  0c44  1003 [0001] 2000  e14a  0000  e10a

0x00038000:  0000  9153  6002  304b  5211  0e08  180a  4e08

 

ADSP-BF533-0.3(Detected 0.4) 594(MHz CCLK) 118(MHz SCLK) (mpu off)

Linux version 3.5.0-ADI-2012R1-pre-00803-g8e41249 (test@uclinux67-533ezkit) (gcc version 4.3.5 (ADI-trunk/svn-5764) ) #584 Fri A2

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00060021  IPEND: 8028  IMASK: ffff  SYSCFG: 0006

  EXCAUSE   : 0x21

 

--

 

Follow-ups

 

--- Vivi Li                                                  2012-08-07 00:02:28

QT test in flat format has the same crash info.

 

--- Vivi Li                                                  2012-08-09 05:28:08

nbench test on bf561-ezkit SMP kernel has similar crash info:

--

time nbench

 

BYTEmark* Native Mode Benchmark ver. 2 (10/95)

Index-split by Andrew D. Balsa (11/97)

Linux/Unix* port by Uwe F. Mayer (12/96,11/97)

 

TEST                : Iterations/sec.  : Old Index   : New Index

                    :                  : Pentium 90* : AMD K6/233*

--------------------:------------------:-------------:------------

NUMERIC SORT        :          80.824  :       2.07  :       0.68

STRING SORT         :          3.7066  :       1.66  :       0.26

BITFIELD            :      5.2704e+07  :       9.04  :       1.89

FP EMULATION        :          14.433  :       6.93  :       1.60

FOURIER             :          72.154  :       0.08  :       0.05

ASSIGNMENT          :            1.87  :       7.12  :       1.85

IDEA                :           464.4  :       7.10  :       2.11

HUFFMAN             :          156.99  :       4.35  :       1.39

NEURAL NET          :         0.07958  :       0.13  :       0.05

LU DECOMPOSITION    :            2.61  :       0.14  :       0.10

==========================ORIGINAL BYTEMARK RESULTS==========================

INTEGER INDEX       : 4.654

FLOATING-POINT INDEX: 0.112

Baseline (MSDOS*)   : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0

==============================LINUX DATA BELOW===============================

INFO: task nbench:192 blocked for more than 120 seconds.

"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this

message.

nbench          D 0000b3d4     0   192    191 0x00000000

Stack info:

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

Memory from 0x020efd40 to 020f0000

020efd40: 020d5d60 [0014f8d4] 0203fd60  00801f60  0214d4e0  020d5d60  7fffffff

001a9010

020efd60:<020efd84> 0014d70a  0000cdd2  00074d5e  020efe20  020ee008

020ee000  020ee000

020efd80: 00772f60  020efe1c  0014c720  020efe58  020d5d60  020ee000  7fffffff

020efe5c

020efda0: 7fffffff  00000000  014e3147  02981000  020efdd0  0000cd64  0000003f

00000001

020efdc0: 0201e950  0260d294  0000003f  020d5fb8  feb00000  0014da78  020efe58

020d5d60

020efde0: 020ee000  7fffffff  020efe5c  00196000  00000000  02981000  0203fd18

0000003f

020efe00: 020ee000  01044022  00000001  020d5d60  00030624  020efe60  020efe60

020efe98

020efe20: 000442dc  001a1800  020d5d60  00000000  00000000  020d5fb8  0000ffff

020ee000

020efe40: 020ee000  00000000  00000002  00000001  00000000  00000000  00000000

20000000

020efe60: 020efe14  020efe14  00801834  00801834  00030760  020efe90  020efe4c

0002eed6

020efe80: 020d5d60  0005dd54  00064b66  0207ea88  020d5d60  00000000  02851000

0006567a

020efea0: 020d5d60  0207ea80  020efec0  02981000  00067c9e  001a1da0  0000000b

00000001

020efec0: 020d5e9c  00000000  0297cd70  00001d9e  00001d68  0000000b  00000000

02981000

020efee0: 0285d000  0297ef8c  00000000  00000003  0285d000  0297ef8c  020eff24

<0000b302>

020eff00: 00000000  ffffe000  02972bd0  02972bd0  0214d7e0  0203fd60  00000021

00000000

020eff20: 02972bd0  0296e50e  00008000  0000c000  00000000  020f0000  0296e50e

0296e50e

020eff40: 0296e2aa  0000bad8  02001025  029701dd  0296d50d  02970192  0296d50c

00000000

020eff60: 00000000  00000004  00000000  00000004  00000000  000000ca  00000194

02979a30

020eff80: 00000000  00000000  00000000  00000000  00000000  00000065  00000001

0297e9e2

020effa0: 00000004  00000000  00000000  00000000  0297cdb0  0297cd64  0297cd70

00000000

020effc0: 02972cd0  00000000  02973728  0297cda4  0000000b  00000000  02972bd8

02972bd0

020effe0: 00000000  00000021  0297ef8c  0285d000  02972bd0  02972bd0  0000000b

00000006

Return addresses in stack:

    address : <0x020efd84> /* kernel dynamic memory */

------------[ cut here ]------------

kernel BUG at kernel/kallsyms.c:215!

Kernel panic - not syncing: BUG()

Hardware Trace:

Double Fault

Kernel OOPS in progress

Deferred Exception context

CURRENT PROCESS:

COMM=khungtaskd PID=79  CPU=1

invalid mm

return address: [0x00043522]; contents of:

0x00043500:  1ff2  0c06  1ffa  9a21  2ff9  0000  04c3  e14c

0x00043510:  0000  014f  e10c  0000  3018  3239  3402  0c44

0x00043520:  1003 [0001] 2000  e14a  0000  e10a  0000  9153

0x00043530:  6002  304b  5211  0e08  180a  4e08  5010  3208

 

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

Linux version 3.5.0-ADI-2012R1-pre-00806-g8528770 (test@uclinux65-561-SMP) (gcc

version 4.3.5 (ADI-trunk/svn-5764) ) #24 SMP Wed Aug 8 04:50:25 GMT 2012

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00060021  IPEND: 8028  IMASK: ffff  SYSCFG: 0006

  EXCAUSE   : 0x21

--

 

--- Bob Liu                                                  2012-08-09 23:23:35

This is because no big continuous memory left.

 

--- Bob Liu                                                  2012-08-13 02:26:04

add drop page cache patch can't fix this issue.

 

--- Bob Liu                                                  2012-08-20 22:58:09

Total memsize is 32M on bf533-ezkit, we can disable this testcase.

 

--- Vivi Li                                                  2012-08-24 03:35:38

Disable oprofile on bf533-ezkit.

Close this bug.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.config.oprofile.flat    application/octet-stream    52040    Vivi Li

config.linux.oprofile.flat    application/octet-stream    32241    Vivi Li

Outcomes