[#6053] Lmbench test crashed sometimes on bf527-ezkit
Submitted By: Vivi Li
Open Date
2010-06-02 02:40:03 Close Date
2010-07-28 23:20:04
Priority:
Medium Assignee:
Nobody
Status:
Closed Fixed In Release:
N/A
Found In Release:
2010R1 Release:
Category:
N/A Board:
EZKIT Lite
Processor:
BF527 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Not reproducible
Uboot version or rev.:
Toolchain version or rev.:
gcc4.3-2010_Apr_07
App binary format:
N/A
Summary: Lmbench test crashed sometimes on bf527-ezkit
Details:
Lmbench test crashed sometimes on bf527-ezkit since this May.
It happened on May, 11st/18th/23rd. I will close this bug if it never happen again in the future.
First failed version:
--
kernel: Linux release 2.6.33.3-ADI-2010R1-pre-svn8698, build #77 Tue May 11 13:24:21 CST 2010
toolchain: bfin-uclinux-gcc release gcc version 4.3.4 (ADI-trunk/svn-3815)
user-dist: release svn-9612, build #360 Tue May 11 13:23:20 CST 2010
--
Last passed version:
--
kernel: Linux release 2.6.33.3-ADI-2010R1-pre-svn8694, build #73 Mon May 10 08:51:27 CST 2010
toolchain: bfin-uclinux-gcc release gcc version 4.3.4 (ADI-trunk/svn-3815)
user-dist: release svn-9611, build #275 Mon May 10 08:50:29 CST 2010
--
Bellow is the log:
--
Linux version 2.6.34-ADI-2010R1-pre-svn8760 (test@uclinux60-bf527-std) (gcc version 4.3.4 (ADI-trunk/svn-3815) ) #117 Sun May 23 14:56:44 CST 2010
register early platform devices
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart1] enabled
early printk enabled on early_BFuart1
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x00143150
rodata = 0x00143150-0x001b3850
bss = 0x001b4000-0x001c4ef0
data = 0x001c4ef0-0x001dc000
stack = 0x001da000-0x001dc000
init = 0x001dc000-0x00d56000
available = 0x00d56000-0x03f00000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace Active and Enabled
Boot Mode: 1
Reset caused by Software reset
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF527 Rev 0.2
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
Data Cache Enabled for CPU0
External memory: cacheable (write-back) in data cache
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 16002
Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50 earlyprintk=serial,uart1,57600 console=ttyBF1,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf527-ezkit:eth0:off
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 available: 50288k/65536k RAM, (11752k init code, 1288k kernel code, 612k data, 1024k dma, 572k reserved)
Hierarchical RCU implementation.
NR_IRQS:159
Configuring Blackfin Priority Driven Interrupts
console [ttyBF1] enabled, bootconsole disabled
console [ttyBF1] enabled, bootconsole disabled
Calibrating delay loop... 1046.52 BogoMIPS (lpj=2093056)
Security Framework initialized
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)
NET: Registered protocol family 16
Blackfin DMA Controller
ezkit_init(): registering device resources
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb_hdrc: version 6.0, pio, host, debug=0
musb_hdrc musb_hdrc.0: MUSB HDRC host driver
musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
musb_hdrc musb_hdrc.0: USB Host mode controller at ffc03800 using PIO, IRQ 59
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
msgmni has been set to 98
io scheduler noop registered
io scheduler cfq registered (default)
bfin-t350mcqb: 320x240 24-bit RGB FrameBuffer initializing...
dma_alloc_init: dma_page @ 0x02e12000 - 256 pages at 0x03f00000
bfin-otp: initialized
bfin-uart: Blackfin serial driver
bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 31) is a BFIN-UART
brd: module loaded
m25p80 spi0.1: m25p16 (2048 Kbytes)
Creating 2 MTD partitions on "m25p80":
0x000000000000-0x000000040000 : "bootloader(spi)"
0x000000040000-0x000000200000 : "linux kernel(spi)"
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7
bfin_mii_bus: probed
bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:03, irq=-1, mdc_clk=2500000Hz(mdc_div=25)@sclk=131MHz)
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 2004-05-31 07:29:24 UTC (1085988564)^RIP-Config: Complete:
device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,
host=bf527-ezkit, domain=, nis-domain=(none),
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
Freeing unused kernel memory: 11752k freed
_____________________________________
a8888b. / Welcome to the uClinux distribution \
d888888b. / _ _ \
8P"YP"Y88 / | | |_| __ __ (TM) |
8|o||o|88 _____/ | | _ ____ _ _ \ \/ / |
8' .88 \ | | | | _ \| | | | \ / |
8`._.' Y8. \ | |__ | | | | | |_| | / \ |
d/ `8b. \ \____||_|_| |_|\____|/_/\_\ |
dP . Y8b. \ For embedded processors including |
d8:' " `::88b \ the Analog Devices Blackfin /
d8" 'Y88b \___________________________________/
:8P ' :888
8a. : _a88P For further information, check out:
._/"Yaa_: .| 88P| - http://blackfin.uclinux.org/
\ YP" `| 8P `. - http://docs.blackfin.uclinux.org/
/ \.___.d| .' - http://www.uclinux.org/
`--..__)8888P`._.' jgs/a:f - http://www.analog.com/blackfin
Have a lot of fun...
BusyBox v1.16.1 (2010-05-23 06:12:53 CST) hush - the humble shell
root:/> /lmbench3/bin/blackfin-Linux/lat_ctx -s 0 processes 2 8 16
"size=0k ovr=9.48
2 6.64
8 13.60
16 20.96
root:/> /lmbench3/bin/blackfin-Linux/lat_ctx -s 16 processes 2 8 16
"size=16k ovr=48.45
2 82.85
8 86.35
16 89.05
root:/> /lmbench3/bin/blackfin-Linux/lat_ctx -s 64 processes 2 8 16
"size=64k ovr=399.71
2 26.87
8 31.33
NULL pointer access
Deferred Exception context
CURRENT PROCESS:
COMM=lat_ctx PID=321 CPU=0
TEXT = 0x02fd0040-0x02fdb720 DATA = 0x02fdb740-0x02fdd8b0
BSS = 0x02fdd8b0-0x02fdde90 USER-STACK = 0x02fdef00
return address: [0x02fd0b1c]; contents of:
0x02fd0af0: 0000 0010 05f5 e800 0000 3208 3210 3229
0x02fd0b00: 5a29 e120 0200 3049 51c1 3058 09bb 1403
0x02fd0b10: 6002 2186 301f 6002 e126 0200 [9110] 5002
0x02fd0b20: a051 5008 a091 5008 a0d1 5008 a111 5008
ADSP-BF527-0.2 525(MHz CCLK) 131(MHz SCLK) (mpu off)
Linux version 2.6.34-ADI-2010R1-pre-svn8760 (test@uclinux60-bf527-std) (gcc version 4.3.4 (ADI-trunk/svn-3815) ) #117 Sun May 23 14:56:44 CST 2010
SEQUENCER STATUS: Not tainted
SEQSTAT: 00002027 IPEND: 0008 IMASK: ffff SYSCFG: 0006
EXCAUSE : 0x27
physical IVG3 asserted : <0xffa006bc> { _trap + 0x0 }
RETE: <0x00000000> /* Maybe null pointer? */
RETN: <0x02f98000> /* kernel dynamic memory */
RETX: <0x00000480> /* Maybe fixed code section */
RETS: <0x02fd02d0> [ lat_ctx + 0x290 ]
PC : <0x02fd0b1c> [ lat_ctx + 0xadc ]
DCPLB_FAULT_ADDR: <0x00000000> /* Maybe null pointer? */
ICPLB_FAULT_ADDR: <0x02fd0b1c> [ lat_ctx + 0xadc ]
PROCESSOR STATE:
R0 : 00000200 R1 : 00000000 R2 : 00000000 R3 : 00000200
R4 : 00000003 R5 : 00010000 R6 : 00000200 R7 : 00000200
P0 : 00010000 P1 : 00000000 P2 : 00000000 P3 : 02fdd8d0
P4 : 00d10480 P5 : 00010000 FP : 011c1fa4 SP : 02f97f24
LB0: 02fdaacb LT0: 02fdaac2 LC0: 0000000d
LB1: 02fd81c3 LT1: 02fd81b8 LC1: 00000000
B0 : 00000000 L0 : 00000000 M0 : 00010000 I0 : 02fdefd1
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 02fdd8d0
B2 : 00000000 L2 : 00000000 M2 : 00000000 I2 : 00000000
B3 : 00000000 L3 : 00000000 M3 : 00000000 I3 : 00000000
A0.w: 00000004 A0.x: 00000000 A1.w: 00000004 A1.x: 00000000
USP : 011c1fa4 ASTAT: 02003004
Hardware Trace:
0 Target : <0x00003ec0> { _trap_c + 0x0 }
Source : <0xffa00650> { _exception_to_level5 + 0xa4 } JUMP.L
1 Target : <0xffa005ac> { _exception_to_level5 + 0x0 }
Source : <0xffa00460> { _bfin_return_from_exception + 0x18 } RTX
2 Target : <0xffa00448> { _bfin_return_from_exception + 0x0 }
Source : <0xffa00504> { _ex_trap_c + 0x74 } JUMP.S
3 Target : <0xffa00490> { _ex_trap_c + 0x0 }
Source : <0xffa00716> { _trap + 0x5a } JUMP (P4)
4 Target : <0xffa006bc> { _trap + 0x0 }
FAULT : <0x02fd0b1c> [ lat_ctx + 0xadc ] R0 = [P2]
Source : <0x02fd0b18> [ lat_ctx + 0xad8 ] 0xe1260200
5 Target : <0x02fd0b14> [ lat_ctx + 0xad4 ]
Source : <0x02fd0b0e> [ lat_ctx + 0xace ] IF !CC JUMP pcrel (BP)
6 Target : <0x02fd0af4> [ lat_ctx + 0xab4 ]
Source : <0x02fd02cc> [ lat_ctx + 0x28c ] JUMP.L
7 Target : <0x02fd02c2> [ lat_ctx + 0x282 ]
Source : <0x02fd6f24> [ lat_ctx + 0x6ee4 ] RTS
8 Target : <0x02fd6f1c> [ lat_ctx + 0x6edc ]
Source : <0x02fd6f0e> [ lat_ctx + 0x6ece ] IF CC JUMP pcrel (BP)
9 Target : <0x02fd6f06> [ lat_ctx + 0x6ec6 ]
Source : <0xffa00c04> { __common_int_entry + 0xcc } RTI
10 Target : <0xffa00ba2> { __common_int_entry + 0x6a }
Source : <0xffa00f5c> { _evt_system_call + 0x64 } JUMP.S
11 Target : <0xffa00f5c> { _evt_system_call + 0x64 }
Source : <0xffa008a2> { _system_call + 0xbe } RTS
12 Target : <0xffa0089e> { _system_call + 0xba }
Source : <0xffa0088e> { _system_call + 0xaa } IF !CC JUMP pcrel
13 Target : <0xffa00884> { _system_call + 0xa0 }
Source : <0xffa00874> { _system_call + 0x90 } IF !CC JUMP pcrel
14 Target : <0xffa0084e> { _system_call + 0x6a }
Source : <0x000442cc> { _sys_read + 0x4c } RTS
15 Target : <0x000442b0> { _sys_read + 0x30 }
Source : <0x00044142> { _vfs_read + 0x22 } RTS
Userspace Stack
Stack info:
SP: [0x011c1fa4] <0x011c1fa4> [ lat_ctx + 0x1fa4 ]
FP: (0x011c1ff0)
Memory from 0x011c1fa0 to 011c2000
011c1fa0: 00000000 [011c1fc8] 02fd02d0 0000000a 00000000 011c1fc4 0000000f 00000000
011c1fc0: 4318305b 02fdee74 011c1ff0 02fd0464 <011c1014> 00000010 00000040 00001010
011c1fe0: 00000111 e3fe6000 e4330a7b 32200040 (00000000)<02fd6cb0> 00000001 00001010
Return addresses in stack:
address : <0x011c1014> [ lat_ctx + 0x1014 ]
frame 1 : <0x02fd6cb0> [ lat_ctx + 0x6c70 ]
SEGV
root:/>
--
Follow-ups
--- Vivi Li 2010-07-28 23:20:04
Can not reproduce now in latest two months.
So close it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.linux.lmbench application/octet-stream 43793 Vivi Li
config.config.lmbench application/octet-stream 48696 Vivi Li