[#6847] When test ltp in mpu kernel enabled high resolution timer and preempt, it may crash
Submitted By: Vivi Li
Open Date
2011-10-26 02:36:52
Priority:
Low Assignee:
Nobody
Status:
Open Fixed In Release:
N/A
Found In Release:
2011R1 Release:
Category:
N/A Board:
N/A
Processor:
BF537 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Assigned (Not Start)
Uboot version or rev.:
Toolchain version or rev.:
gcc4.3-2011R1-RC2
App binary format:
FLAT
Summary: When test ltp in mpu kernel enabled high resolution timer and preempt, it may crash
Details:
When test ltp in mpu kernel enabled high resolution timer and preempt, it will crash sometimes. I can see this in regression log but can't reproduce manually.
I can't see such crash in other tests.
Bellow is the error log:
--
CPLB protection violation
<5> - Illegal instruction fetch access (memory protection violation).
Deferred Exception context
CURRENT PROCESS:
COMM=inetd PID=157 CPU=0
TEXT = 0x02460040-0x02466780 DATA = 0x024667a0-0x02467f84
BSS = 0x02467f84-0x02468680 USER-STACK = 0x02469f9c
return address: [0x0246018c]; contents of:
0x02460160: e800 0000 6008 e10a 8674 9310 e801 0000
0x02460170: 0010 0000 e14a 0246 e800 0000 6008 e10a
0x02460180: 8670 9310 e801 0000 0010 0000 [0000] 0000
0x02460190: e800 0000 e801 0000 0010 0000 05ed e800
ADSP-BF537-0.3 500(MHz CCLK) 125(MHz SCLK) (mpu on)
Linux version 3.0.0-ADI-2011R1-pre-svn10098 (test@uclinux74-mpu) (gcc version 4.3.5 (ADI-2011R1-RC2) ) #78 PREEMPT Tue Oct 25 13:39:07 CST 2011
SEQUENCER STATUS: Not tainted
SEQSTAT: 0000002b IPEND: 0008 IMASK: ffff SYSCFG: 0006
EXCAUSE : 0x2b
physical IVG3 asserted : <0xffa007b4> { _trap + 0x0 }
RETE: <0x00000000>
************** STEP 3259: execute [setgid01_16] ...
/* Maybe null pointer? */
RETN: <0x02402000> /* kernel dynamic memory */
RETX: <0x00000480> /* Maybe fixed code section */
RETS: <0x00000400> /* Maybe fixed code section */
PC : <0x0246018c> [ inetd + 0x14c ]
DCPLB_FAULT_ADDR: <0x0018fffc> /* kernel dynamic memory */
ICPLB_FAULT_ADDR: <0x0246018c> [ inetd + 0x14c ]
PROCESSOR STATE:
R0 : 00000011 R1 : 02469c44 R2 : 02469cc4 R3 : 00000000
R4 : 02469da8 R5 : 00000000 R6 : 02469dec R7 : 00000001
P0 : 00000134 P1 : 02469f0c P2 : 02469f0c P3 : 02469eec
P4 : 00000007 P5 : 02469e6c FP : 02469db0 SP : 02401f24
LB0: 02462881 LT0: 0246287e LC0: 00000000
LB1: 02461f75 LT1: 02461f74 LC1: 00000000
B0 : 00000000 L0 : 00000000 M0 : 00000000 I0 : 0246800b
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 02469eec
B2 : 00000000 L2 : 00000000 M2 : 00000000 I2 : 00000000
B3 : 00000000 L3 : 00000000 M3 : 00000000 I3 : 00000000
A0.w: 00000000 A0.x: 00000000 A1.w: 00000000 A1.x: 00000000
USP : 02469c30 ASTAT: 02001024
Hardware Trace:
0 Target : <0x00004000> { _trap_c + 0x0 }
Source : <0xffa00748> { _exception_to_level5 + 0xa4 } JUMP.L
1 Target : <0xffa006a4> { _exception_to_level5 + 0x0 }
Source : <0xffa00558> { _bfin_return_from_exception + 0x18 } RTX
2 Target : <0xffa00540> { _bfin_return_from_exception + 0x0 }
Source : <0xffa005fc> { _ex_trap_c + 0x74 } JUMP.S
3 Target : <0xffa00588> { _ex_trap_c + 0x0 }
Source : <0xffa0080e> { _trap + 0x5a } JUMP (P4)
4 Target : <0xffa007b4> { _trap + 0x0 }
FAULT : <0x0246018c> [ inetd + 0x14c ] NOP
Source : <0xffa004e4> { _ex_dcplb_miss + 0x78 } RTX
5 Target : <0xffa0046c> { _ex_dcplb_miss + 0x0 }
Source : <0xffa0080e> { _trap + 0x5a } JUMP (P4)
6 Target : <0xffa007b4> { _trap + 0x0 }
Source : <0xffa00da8> { __common_int_entry + 0xe4 } RTI
7 Target : <0xffa00d46> { __common_int_entry + 0x82 }
Source : <0xffa01100> { _evt_system_call + 0x64 } JUMP.S
8 Target : <0xffa01100> { _evt_system_call + 0x64 }
Source : <0xffa0099a> { _system_call + 0xbe } RTS
9 Target : <0xffa00994> { _system_call + 0xb8 }
Source : <0x0000355e> { _do_notify_resume + 0x4e } RTS
10 Target : <0x0000355a> { _do_notify_resume + 0x4a }
Source : <0x00003540> { _do_notify_resume + 0x30 } IF CC JUMP pcrel
11 Target : <0x00003532> { _do_notify_resume + 0x22 }
Source : <0x00003566> { _do_notify_resume + 0x56 } JUMP.S
12 Target : <0x00003566> { _do_notify_resume + 0x56 }
Source : <0x000031ea> { _do_signal + 0xa02 } RTS
13 Target : <0x000031de> { _do_signal + 0x9f6 }
Source : <0x0000315e> { _do_signal + 0x976 } IF CC JUMP pcrel (BP)
14 Target : <0x00003152> { _do_signal + 0x96a }
Source : <0x00003138> { _do_signal + 0x950 } IF CC JUMP pcrel (BP)
15 Target : <0x0000312a> { _do_signal + 0x942 }
Source : <0x00003124> { _do_signal + 0x93c } IF CC JUMP pcrel (BP)
Userspace Stack
Stack info:
SP: [0x02469c30] <0x02469c30> [ inetd + 0x9c30 ]
FP: (0x02469f48)
Memory from 0x02469c30 to 0246a000
02469c30:[00000011] 02469c44 02469cc4 00000000 00000000 00000011 00000000 00000001
02469c50: 00000152 00000000 00000000 00000000 00000003 00000000 00000000 00000000
02469c70: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02469c90: 00000000 00000000 00000000 00000000 02469cb4 02463dfc 00000000 00000000
02469cb0: 00000000 02469de8 02463280 02469d5c 00000000 00000000 00000000 00000000
02469cd0: 00000002 00000000 fffffffc 02469e6c 02469dec 00000000 02469da8 00000000
02469cf0: 02469dec 00000001 00000134 02469f0c 02469f0c 02469eec 00000007 02469e6c
02469d10: 02469d9c 00000000 00000000 00000000 00000000 02001024 02460b00 024610be
02469d30: 024610be 02469db0 0246800b 02469eec 00000000 00000000 00000000 00000000
02469d50: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02469d70: 00000000 00000000 00000000 00000000 0246287e 02461f74 02462881 02461f75
02469d90: 00000000 00000000 00000000 0246113c 0235b188 00000004 00000000 37a63368
02469db0: 02469f18 02460b00 00000000 00000004 00000001 0000001f 00000001 00000000
02469dd0: 0235b15c 00000007 00000001 00000000 02469f0c 02469eec 02469e6c 00000000
02469df0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02469e10: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02469e30: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02469e50: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000070
02469e70: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02469e90: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02469eb0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02469ed0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 fa030002
02469ef0: ae04640a 00000000 00000000 17000002 00000000 02469f18 02460828 00000001
02469f10: 00000000 00000010 02469f48 02460dee 00000000 00000001 02467df8 00000000
02469f30: 02469fa0 02466748 02460d68 02469fa0 02469f5c 00000000 (02469f5c)<02463cb4>
02469f50: 00000000 00000000 00000000 (00000000) 02360a8e 024667a0 02377c18 02377c1c
02469f70: 00000000 40bb96f7 00000005 00000048 00000000 00000000 00000000 02466748
02469f90: 0246675a 00000000 02357a66 00000001 02469fb4 00000000 <02469fc0> 02469fcd
02469fb0: 00000000 6962732f 6e692f6e 00647465 4d524554 6b6e753d 6e776f6e 54415000
02469fd0: 622f3d48 2f3a6e69 2f727375 3a6e6962 6962732f 752f3a6e 732f7273 006e6962
02469ff0: 6962732f 6e692f6e 00647465 00000000
Return addresses in stack:
frame 1 : <0x02463cb4> [ inetd + 0x3c74 ]
address : <0x02469fc0> [ inetd + 0x9fc0 ]
--
Follow-ups
No Messages Were Found
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.config.ltp_high_res_timer_preempt application/octet-stream 48248 Vivi Li
config.linux.ltp_high_res_timer_preempt application/octet-stream 34066 Vivi Li