Menu

#286 lmbench fails on bf609-ezkit

master head
open
None
low
not_reproduced
BF609-EZKIT
2015-03-16
2015-03-13
panmingquan
No

lmbench fails on bf609-ezkit,while on other board, it looks ok,

Booting kernel from Legacy Image at 02000000 ...

Image Name: bf609-0.0-4.0.0-rc3-ADI-2014R1-p
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 8033224 Bytes = 7.7 MiB
Load Address: 00001000
Entry Point: 0032bb4c
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 0032bb4c
Linux version 4.0.0-rc3-ADI-2014R1-pre-00463-gf3291db (test@linux93-bf609-can) (gcc version 4.3.5 (ADI-master/git-db9494f) ) #4 Mon Mar 9 14:41:41 CST 2015
register early platform devices
bootconsole [early_shadow0] enabled
ERROR: Not running on ADSP-BF609: unknown CPUID 0x0000 Rev 0.0
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 128MB
Kernel Managed Memory: 128MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x002265d0
rodata = 0x002265f4-0x002e5014
bss = 0x002e6000-0x002fe728
data = 0x002fe740-0x00328000
stack = 0x00326000-0x00328000
init = 0x00328000-0x00944000
available = 0x00944000-0x07f00000
DMA Zone = 0x07f00000-0x08000000
Hardware Trace active and enabled
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF609 Rev 0.0
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 500 MHz core clock, 125 MHz SCLk, 125 MHz SCLK0, 125 MHz SCLK1 and 250 MHz DCLK
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-back) in data cache
L2 SRAM : uncacheable in data cache
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 32258
Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50:10.100.4.174:192.168.0.1:255.255.255.0:"bf609-ezkit":eth0:off
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 119392K/130048K available (2197K kernel code, 166K rwdata, 762K rodata, 6256K init, 97K bss, 10656K reserved, 0K cma-reserved, 1024K DMA)
NR_IRQS:291
Configuring Blackfin Priority Driven Interrupts
Console: colour dummy device 80x25
Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
devtmpfs: initialized
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (9 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 64 KB (49 KB free)
Blackfin L2 SRAM: 256 KB (256 KB free)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
Blackfin DMA Controller
ezkit_init(): registering device resources
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
mcp230xx: probe of 0-0023 failed with error -1
i2c-bfin-twi i2c-bfin-twi.0: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01e00
i2c-bfin-twi i2c-bfin-twi.1: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01f00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
PTP clock support registered
NET: Registered protocol family 23
Switched to clocksource bfin_cs_cycles
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 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
io scheduler noop registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc02000 (irq = 88, base_baud = 7812500) is a BFIN-UART
console [ttyBF0] enabled
console [ttyBF0] enabled
bootconsole [early_BFuart0] disabled
bootconsole [early_BFuart0] disabled
bootconsole [early_shadow0] disabled
physmap platform flash device: 01000000 at b0000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x008821
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 3 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000080000 : "bootloader(nor)"
0x000000080000-0x000000480000 : "linux kernel(nor)"
0x000000480000-0x000001000000 : "file system(nor)"
m25p80 spi0.59: w25q32 (4096 Kbytes)
Creating 3 MTD partitions on "m25p80":
0x000000000000-0x000000080000 : "bootloader(spi)"
0x000000080000-0x000000200000 : "linux kernel(spi)"
0x000000200000-0x000000400000 : "file system(spi)"
adi-spi3 adi-spi3.0: registered ADI SPI controller spi0
adi-spi3 adi-spi3.1: registered ADI SPI controller spi1
CAN device driver interface
bfin_can bfin_can.0: bfin_can device registered(&reg_base=ffc00a00, rx_irq=47, tx_irq=48, err_irq=49, sclk=125000000)
stmmaceth stmmaceth.0: no reset control found
stmmac - user ID: 0x10, Synopsys ID: 0x36
Ring mode enabled
DMA HW capability register supported
Enhanced/Alternate descriptors
Enabled extended descriptors
RX Checksum Offload Engine supported (type 2)
Wake-Up On Lan supported
Enable RX Mitigation via HW Watchdog Timer
libphy: stmmac: probed
eth0: PHY ID 20005c90 at 1 IRQ POLL (stmmac-0:01) active
usbcore: registered new interface driver usb-storage
input: bfin-rotary as /devices/platform/bfin-rotary/input/input0
i2c /dev entries driver
bfin_wdt: initialized: timeout=20 sec (nowayout=0)
Driver 'mmcblk' needs updating - please use bus_type methods
dma_alloc_init: dma_page @ 0x04d76000 - 256 pages at 0x07f00000
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP: cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
eth0: device MAC address 02:80:ad:20:31:e8
IP-Config: Gateway not on directly connected network
Freeing unused kernel memory: 6256K (00328000 - 00944000)

BusyBox v1.23.1 (2015-03-09 13:55:28 CST) hush - the humble shell

root:/>successful boot attempt ifconfig ethstmmaceth stmmaceth.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
0 10.100.4.50
root:/> Ethernet may has been activated already!
random: nonblocking pool is initialized
version
kernel: Linux release 4.0.0-rc3-ADI-2014R1-pre-00463-gf3291db, build #4 Mon Mar 9 14:41:41 CST 2015
toolchain: /home/test/workspace/src/kernel/label/BF609-EZKIT-CAN/output/host/usr/bin/bfin-linux-uclibc-gcc release gcc version 4.3.5 (ADI-master/git-db9494f)
user-dist: release git-012b3bb, build #1 Mon Mar 9 14:01:15 CST 2015
root:/>
inux version: 4.0.0-rc3-ADI-2014R1-pre-00463-gf3291db
GCC version: 4.3.5 (ADI-master/git-db9494f)
user-dist version: git-012b3bb

** STEP 3: Start testing

6nlat_ctx -s 0 processes 2 8 16

"size=0k ovr=11.12
2 25.07
8 30.80
16 34.50
root:/>
Case 1 ...PASS

Case 1 ...PASS
lat_ctx -s 16 processes 2 8 16

"size=16k ovr=61.53
2 131.58
8 139.50
mallocNULL pointer access
Deferred Exception context
CURRENT PROCESS:
COMM=lat_ctx PID=435 CPU=0
TEXT = 0x05350000-0x05358e6c DATA = 0x05344e6c-0x05345688
BSS = 0x05345688-0x05380000 USER-STACK = 0x0539fe50

return address: [0x05351db4]; contents of:
0x05351d90: 0000 05b4 0010 0000 05f4 e800 0003 3073
0x05351da0: 3221 0c00 1024 6007 2012 320f 3218 640f
0x05351db0: 444d 5aab [9152] 321e 9110 e3ff fc99 ad62
0x05351dc0: 321e 5aaa 9152 a050 e3ff fc92 a0e0 0887

CPU: 0 PID: 435 Comm: lat_ctx Not tainted 4.0.0-rc3-ADI-2014R1-pre-00463-gf3291db #4
task: 053ac400 ti: 053ae000 task.ti: 053ae000
Compiled for cpu family 0x27fe (Rev 0), but running on:0x0000 (Rev 0)
ADSP-BF609-0.0 500(MHz CCLK) 125(MHz SCLK) (mpu off)
Linux version 4.0.0-rc3-ADI-2014R1-pre-00463-gf3291db (test@linux93-bf609-can) (gcc version 4.3.5 (ADI-master/git-db9494f) ) #4 Mon Mar 9 14:41:41 CST 2015

SEQUENCER STATUS: Not tainted
SEQSTAT: 00000027 IPEND: 0008 IMASK: ffff SYSCFG: 2806
EXCAUSE : 0x27
physical IVG3 asserted : <0xffa00744> { _trap + 0x0 }
RETE: <0x00000000> / Maybe null pointer? /
RETN: <0x053b0000> [ lat_ctx + 0x0 ]
RETX: <0x00000480> / Maybe fixed code section /
RETS: <0x05351e06> [ /usr/bin/lat_ctx + 0x1e06 ]
PC : <0x05351db4> [ /usr/bin/lat_ctx + 0x1db4 ]
DCPLB_FAULT_ADDR: <0x00000004> / Maybe null pointer? /
ICPLB_FAULT_ADDR: <0x05351db4> [ /usr/bin/lat_ctx + 0x1db4 ]
PROCESSOR STATE:
R0 : 00000004 R1 : 05345484 R2 : 05348d5c R3 : 00000008
R4 : 05349670 R5 : 0534538c R6 : 05345140 R7 : 00000001
P0 : 000000ae P1 : 00000000 P2 : 00000004 P3 : 00000004
P4 : 05345484 P5 : 00000000 FP : 05348d58 SP : 053aff24
LB0: 051a57e7 LT0: 051a57de LC0: 0000000d
LB1: 051a0fcf LT1: 051a0f9c LC1: 00000000
B0 : 00000000 L0 : 00000000 M0 : 00010000 I0 : 0539ffd7
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 053a1710
B2 : 00000000 L2 : 00000000 M2 : 00000000 I2 : 00000000
B3 : 00000000 L3 : 00000000 M3 : 00000000 I3 : 00000000
A0.w: 00000001 A0.x: 00000000 A1.w: 00000001 A1.x: 00000000
USP : 05348d4c ASTAT: 02002020

Hardware Trace:
0 Target : <0x00003fec> { _trap_c + 0x0 }
Source : <0xffa006d8> { _exception_to_level5 + 0xa0 } JUMP.L
1 Target : <0xffa00638> { _exception_to_level5 + 0x0 }
Source : <0xffa004f2> { _bfin_return_from_exception + 0x6 } RTX
2 Target : <0xffa004ec> { _bfin_return_from_exception + 0x0 }
Source : <0xffa00590> { _ex_trap_c + 0x70 } JUMP.S
3 Target : <0xffa00520> { _ex_trap_c + 0x0 }
Source : <0xffa0076e> { _trap + 0x2a } JUMP (P4)
4 Target : <0xffa00744> { _trap + 0x0 }
FAULT : <0x05351db4> [ /usr/bin/lat_ctx + 0x1db4 ] P2 = [P2]
Source : <0x05351db2> [ /usr/bin/lat_ctx + 0x1db2 ] 0x5aab
5 Target : <0x05351daa> [ /usr/bin/lat_ctx + 0x1daa ]
Source : <0x05351dd2> [ /usr/bin/lat_ctx + 0x1dd2 ] IF CC JUMP pcrel (BP)
6 Target : <0x05351dcc> [ /usr/bin/lat_ctx + 0x1dcc ]
Source : <0x05351da8> [ /usr/bin/lat_ctx + 0x1da8 ] JUMP.S
7 Target : <0x05351d98> [ /usr/bin/lat_ctx + 0x1d98 ]
Source : <0x05351e02> [ /usr/bin/lat_ctx + 0x1e02 ] CALL pcrel
8 Target : <0x05351df4> [ /usr/bin/lat_ctx + 0x1df4 ]
Source : <0x05353bfc> [ /usr/bin/lat_ctx + 0x3bfc ] CALL (P1)
9 Target : <0x05353bf2> [ /usr/bin/lat_ctx + 0x3bf2 ]
Source : <0x051b7e2a> [ /lib/libuClibc-0.9.33.2.so + 0x37e2a ] RTS
10 Target : <0x051b7e1e> [ /lib/libuClibc-0.9.33.2.so + 0x37e1e ]
Source : <0x051b7c54> [ /lib/libuClibc-0.9.33.2.so + 0x37c54 ] RTS
11 Target : <0x051b7c50> [ /lib/libuClibc-0.9.33.2.so + 0x37c50 ]
Source : <0x05190020> [ /lib/libuClibc-0.9.33.2.so + 0x10020 ] RTS
12 Target : <0x0519000e> [ /lib/libuClibc-0.9.33.2.so + 0x1000e ]
Source : <0xffa00b94> { common_int_entry + 0xcc } RTI
13 Target : <0xffa00b32> {
common_int_entry + 0x6a }
Source : <0xffa00dce> { _evt_system_call + 0x66 } JUMP.S
14 Target : <0xffa00dce> { _evt_system_call + 0x66 }
Source : <0xffa00832> { _system_call + 0xba } RTS
15 Target : <0xffa0082e> { _system_call + 0xb6 }
Source : <0xffa0081e> { _system_call + 0xa6 } IF !CC JUMP pcrel
Userspace Stack
Stack info:
SP: [0x05348d4c] <0x05348d4c> [ lat_ctx + 0xd4c ]
FP: (0x05348d7c)
Memory from 0x05348d40 to 05349000
05348d40: 00000008 05348d84 051b7e1e [00000000] 00000000 00000000 05348d7c 05351e06
05348d60: 05345140 05345140 00000010 05345484 00000000 10000000 05345140 (05348da0)
05348d80:<05353bfe> 05345484 05345140 00000010 05348f44 00000000 00000000 00000000
05348da0:(05348f28) 00000400 00010100 05345140 00000011 05348dc4 05348e44 00000000
05348dc0: 00000000 00000011 00000000 00000001 000001c2 00000000 00000003 00000000
05348de0: 00000000 00000000 05348e24 051b8312 04072040 00000010 053c9000 053a1710
05348e00: 00000000 05356f84 05348e44 051b8312 053493f8 0409b6d4 053a0f80 053a10d4
05348e20: 0000006a 05348e68 051b83ce 05348e54 05358760 053a1710 05345140 05348e58
05348e40: 051a0a56 00000000 00000000 00000000 00000002 00000000 00000025 05348f44
05348e60: 00000004 0544f0f4 05349670 0534538c 05348f44 00000010 00000003 0518f1cc
05348e80: 05349624 053a1710 05345140 00010100 05348f1c 00000001 00000001 00000000
05348ea0: 00000000 02003025 05351b76 0518f1d4 0518f1d6 05348f28 0539ffd7 053a1710
05348ec0: 00000000 00000000 00010000 00000000 00000000 00000000 00000000 00000000
05348ee0: 00000000 00000000 00000000 00000000 00000000 00000000 0000000d 00000000
05348f00: 051a57de 051a0f9c 051a57e7 051a0fcf 00000000 00000000 00000000 05351ae8
05348f20: 0534538c 00000010 (05348f48) 05351b76 00000010 051b8268 0539fd54 05345140
05348f40: 0544f0f4 0539fd54 (05348f78) 05351f52 0539fd54 05345140 05345140 0539fd54
05348f60: 0409b7f8 0000000b 0534956c 05345140 00010000 00004000 (05348f94)<05355578>
05348f80: 05345484 0409b7ac 00000000 00000000 00000000 (05348fe4) 05355662 05348004
05348fa0: 05345140 05345140 00000000 0534904c 00000000 00000000 00000000 00000000
05348fc0: 00000004 00000005 00000007 00000009 00001388 00000001 00000001 0000000b
05348fe0: 0539fd54 (00000000)<0518d23a> 05348004 00000001 00000000 00000000 00000000
Return addresses in stack:
frame 1 : <0x05353bfe> [ /usr/bin/lat_ctx + 0x3bfe ]
frame 5 : <0x05355578> [ /usr/bin/lat_ctx + 0x5578 ]
frame 7 : <0x0518d23a> [ /lib/libuClibc-0.9.33.2.so + 0xd23a ]
: Cannot allocate memory
root:/>
Last passed time: 2015-03-05_15-02-40
User-dist commit f13ae895767028d13d62fd342b7a1fe4f74b4d9a
Kernel commit ffccafc40a4c483d83881044b90b707db4928c93
Testsuites commit 687592984960a8634d690e1d99e1c884f2acf6bd

Case 2 ...FAIL

Case 2 ...FAIL

Discussion

  • Sonic Zhang

    Sonic Zhang - 2015-03-13
    • assigned_to: Hao Liang
    • Resolution: none --> assigned
     
  • Hao Liang

    Hao Liang - 2015-03-16

    Lmbench test case on BF609-EZKIT using same image is passed in my test.

     
  • Sonic Zhang

    Sonic Zhang - 2015-03-16
    • Resolution: assigned --> not_reproduced
     

Log in to post a comment.