[#6533] trunk head toolchain gcc test fails by runnning on trunk head kernel
Submitted By: Mingquan Pan
Open Date
2011-04-07 22:40:32 Close Date
2011-10-12 22:52:40
Priority:
Medium Assignee:
Nobody
Status:
Closed Fixed In Release:
N/A
Found In Release:
2011R1 Release:
Category:
N/A Board:
N/A
Processor:
ALL Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Assigned (Not Start)
Uboot version or rev.:
Toolchain version or rev.:
head
App binary format:
N/A
Summary: trunk head toolchain gcc test fails by runnning on trunk head kernel
Details:
trunk head toolchain gcc test fails by runnning on trunk head kernel now. It would make kernel panic and restart.
It is not specific to certain gcc case, and would have different dump errors.
On bf527 board:
testing uclinux gcc
Undefined instruction
<5> - May be used to emulate instructions that are not defined for
<5> a particular processor implementation.
Kernel OOPS in progress
Deferred Exception context
CURRENT PROCESS:
COMM=pr23135.x0.5715 PID=6754 CPU=0
TEXT = 0x02740040-0x02741160 DATA = 0x02741180-0x02741208
BSS = 0x02741208-0x02741260 USER-STACK = 0x02754f48
return address: [0x00470048]; contents of:
0x00470020: b04e 0000 1406 0000 0000 0000 b070 0000
0x00470030: bd07 0000 0000 0000 b078 0000 bd06 0000
0x00470040: 0000 0000 b086 0000 [de07] 0000 0000 0000
0x00470050: b08e 0000 de06 0000 0000 0000 b0aa 0000
ADSP-BF527-0.2 525(MHz CCLK) 131(MHz SCLK) (mpu off)
Linux version 2.6.38.2-ADI-2011R1-pre-svn9820 (test@45-bf527-toolchain) (gcc version 4.3.5 (ADI-trunk/svn-5258) ) #6 Thu Apr 7 06:15:04 CST 2011
SEQUENCER STATUS: Not tainted
SEQSTAT: 00060021 IPEND: 4008 IMASK: ffff SYSCFG: 0006
EXCAUSE : 0x21
physical IVG3 asserted : <0xffa00704> { _trap + 0x0 }
physical IVG14 asserted : <0xffa00a4c> { _evt_evt14 + 0x0 }
logical irq 6 mapped : <0xffa0035c> { _bfin_coretmr_interrupt + 0x0 }
logical irq 21 mapped : <0x000b4b0c> { _bfin_rtc_interrupt + 0x0 }
logical irq 31 mapped : <0x000a43b0> { _bfin_serial_dma_rx_int + 0x0 }
logical irq 32 mapped : <0x000a4124> { _bfin_serial_dma_tx_int + 0x0 }
logical irq 35 mapped : <0x000b276c> { _bfin_mac_interrupt + 0x0 }
RETE: <0x00000000> /* Maybe null pointer? */
RETN: <0x0297fe68> /* kernel dynamic memory (maybe user-space) */
RETX: <0x00000480> /* Maybe fixed code section */
RETS: <0x00017570> { _run_timer_softirq + 0xf0 }
PC : <0x00470048> /* kernel dynamic memory (maybe user-space) */
DCPLB_FAULT_ADDR: <0x0297e010> /* kernel dynamic memory (maybe user-space) */
ICPLB_FAULT_ADDR: <0x00470048> /* kernel dynamic memory (maybe user-space) */
PROCESSOR STATE:
R0 : 00490048 R1 : 0000ffff R2 : 00000100 R3 : 0297fefc
R4 : 00000000 R5 : 00176300 R6 : 00200200 R7 : 00000100
P0 : 025e1b04 P1 : 0297fe94 P2 : 00174a6c P3 : 00470046
P4 : 0297fe94 P5 : 0016ced0 FP : 0297e000 SP : 0297fd8c
LB0: 02a8cefb LT0: 02a8cee8 LC0: ffffffff
LB1: 0000c2e9 LT1: 0000c2c2 LC1: 00000000
B0 : 00000000 L0 : 00000000 M0 : 00000001 I0 : 00176300
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 0010d9ac
B2 : 00000000 L2 : 00000000 M2 : 00000000 I2 : 0010d9ac
B3 : 00000000 L3 : 00000000 M3 : 00000000 I3 : 000003ff
A0.w: 00000df1 A0.x: 00000000 A1.w: 0000001f A1.x: 00000000
USP : 01ed7400 ASTAT: 02002040
Hardware Trace:
0 Target : <0x00003fc4> { _trap_c + 0x0 }
Source : <0xffa00696> { _exception_to_level5 + 0x9a } JUMP.L
1 Target : <0xffa005fc> { _exception_to_level5 + 0x0 }
Source : <0xffa004b8> { _bfin_return_from_exception + 0x18 } RTX
2 Target : <0xffa004a0> { _bfin_return_from_exception + 0x0 }
Source : <0xffa0055c> { _ex_trap_c + 0x74 } JUMP.S
3 Target : <0xffa004e8> { _ex_trap_c + 0x0 }
Source : <0xffa0075c> { _trap + 0x58 } JUMP (P4)
4 Target : <0xffa00704> { _trap + 0x0 }
FAULT : <0x00470048> /* kernel dynamic memory (maybe user-space) */ 0xde070000 || NOP || NOP
Source : <0x00470046> /* kernel dynamic memory (maybe user-space) */ NOP
5 Target : <0x00470046> /* kernel dynamic memory (maybe user-space) */
Source : <0x0001756e> { _run_timer_softirq + 0xee } CALL (P3)
6 Target : <0x00017548> { _run_timer_softirq + 0xc8 }
Source : <0x0001751a> { _run_timer_softirq + 0x9a } IF !CC JUMP pcrel
7 Target : <0x00017498> { _run_timer_softirq + 0x18 }
Source : <0x00023d48> { _hrtimer_run_pending + 0x0 } RTS
8 Target : <0x00023d48> { _hrtimer_run_pending + 0x0 }
Source : <0x00017494> { _run_timer_softirq + 0x14 } JUMP.L
9 Target : <0x00017480> { _run_timer_softirq + 0x0 }
Source : <0x0001393e> { ___do_softirq + 0x7a } CALL (P2)
10 Target : <0x00013910> { ___do_softirq + 0x4c }
Source : <0x0001391c> { ___do_softirq + 0x58 } IF CC JUMP pcrel (BP)
11 Target : <0x0001391a> { ___do_softirq + 0x56 }
Source : <0x0001390e> { ___do_softirq + 0x4a } JUMP.S
12 Target : <0x000138c4> { ___do_softirq + 0x0 }
Source : <0x00013a02> { _irq_exit + 0x32 } CALL pcrel
13 Target : <0x00013a02> { _irq_exit + 0x32 }
Source : <0x000139fe> { _irq_exit + 0x2e } IF !CC JUMP pcrel
14 Target : <0x000139d0> { _irq_exit + 0x0 }
Source : <0xffa00334> { _asm_do_IRQ + 0x54 } CALL pcrel
15 Target : <0xffa00334> { _asm_do_IRQ + 0x54 }
Source : <0xffa00a52> { _evt_evt14 + 0x6 } RTS
Kernel Stack
Stack info:
SP: [0x0297fcb4] <0x0297fcb4> /* kernel dynamic memory (maybe user-space) */
FP: (0x0297fef8)
Memory from 0x0297fcb0 to 02980000
0297fcb0: 00000065 [0297e000] 00004474 0297fd8c ffe02014 00470046 0000ffc0 00000004
0297fcd0: 00000021 00000013 0297fd8c 0297fcb4 0000001f 00000006 02002061 00030001
0297fcf0: 0009115c ffa0038e 0009115c 00000000 000034d0 0000001f 00000000 00000df1
0297fd10: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0297fd30: 00000000 00000000 00000000 00000000 0000002c 00000000 00000000 0272551c
0297fd50: 00174a6c 02af3cbc 00000001 001630d0 00000001 03ffffff ffa0069a 00165000
0297fd70: 00004008 00060021 00176300 00000000 00000007 02755000 00000480 00000480
0297fd90: 00004008 00060021 00000000 0297fe68 00000480 00470048 <00017570> 00490048
0297fdb0: 02002040 0000c2e9 02a8cefb 0000c2c2 02a8cee8 00000000 ffffffff 0000001f
0297fdd0: 00000000 00000df1 00000000 00000000 00000000 00000000 00000000 00000000
0297fdf0: 00000000 00000000 00000000 00000000 00000000 00000000 00000001 000003ff
0297fe10: 0010d9ac 0010d9ac 00176300 01ed7400 0297e000 0016ced0 0297fe94 00470046
0297fe30: 00174a6c 0297fe94 025e1b04 00000100 00200200 00176300 00000000 0297fefc
0297fe50: 00000100 0000ffff 00490048 00490048 025e1b04 00000006 027d0d60 00000000
0297fe70: 00000000 0002ac0a 00174290 00000000 0297e000 0016dcdc 0016dadc 0016d8dc
0297fe90: 0016d6dc 0297fe94 0297fe94 0000000a <00013940> 0016cdbc 00000004 0297e000
0297feb0: 00000001 00000004 00000100 00000001 00001000 00030e36 00177188 00000001
0297fed0: 02741204 00000006 01ef64a8 ffa00338 0017be68 00000001 02741204 00000006
0297fef0: 00000000 02741134 (00000000)<ffa00896> 00000000 ffffe000 ffa00bde 00000000
0297ff10: 00000000 02754f4c 0000002f 00000000 00000480 02740202 00000050 00060000
0297ff30: 00000000 02980000 02a82afa 02740202 02740218 00000006 02000061 02740203
0297ff50: 02a8cefb 02740202 02a8cee8 0000048a ffffffff 0000008b 00000000 0000008b
0297ff70: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0297ff90: 00000000 00000000 00000000 00000000 00000004 00000000 00000000 02af3d18
0297ffb0: 01ef5240 01ed7400 01ef64a8 00000000 00000001 02741204 00003dff 01ee59e4
0297ffd0: 02741234 00000000 02754f4c 02741134 00000000 01ee6c68 00000000 00000000
0297fff0: 00000001 00000001 02741234 00000006
Return addresses in stack:
address : <0x00017570> { _run_timer_softirq + 0xf0 }
address : <0x00013940> { ___do_softirq + 0x7c }
frame 1 : <0xffa00896> { _system_call + 0x6a }
Modules linked in:
Kernel panic - not syncing: Kernel exception
Hardware Trace:
Stack info:
SP: [0x0297fc94] <0x0297fc94> /* kernel dynamic memory (maybe user-space) */
FP: (0x0297fef8)
Memory from 0x0297fc90 to 02980000
0297fc90: 00000013 [001382e8] 0010b004 0297fd8c 001382e8 001684bf 001684bf 001684bf
0297fcb0: 0297fcdc 0297e000 00004484 0297fd8c ffe02014 00470046 0000ffc0 00000004
0297fcd0: 00000021 00000013 0297fd8c 0000001f 0000001f 00000006 02002061 00030001
0297fcf0: 0009115c ffa0038e 0009115c 00000000 000034d0 0000001f 00000000 00000df1
0297fd10: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0297fd30: 00000000 00000000 00000000 00000000 0000002c 00000000 00000000 0272551c
0297fd50: 00174a6c 02af3cbc 00000001 001630d0 00000001 03ffffff ffa0069a 00165000
0297fd70: 00004008 00060021 00176300 00000000 00000007 02755000 00000480 00000480
0297fd90: 00004008 00060021 00000000 0297fe68 00000480 00470048 <00017570> 00490048
0297fdb0: 02002040 0000c2e9 02a8cefb 0000c2c2 02a8cee8 00000000 ffffffff 0000001f
0297fdd0: 00000000 00000df1 00000000 00000000 00000000 00000000 00000000 00000000
0297fdf0: 00000000 00000000 00000000 00000000 00000000 00000000 00000001 000003ff
0297fe10: 0010d9ac 0010d9ac 00176300 01ed7400 0297e000 0016ced0 0297fe94 00470046
0297fe30: 00174a6c 0297fe94 025e1b04 00000100 00200200 00176300 00000000 0297fefc
0297fe50: 00000100 0000ffff 00490048 00490048 025e1b04 00000006 027d0d60 00000000
0297fe70: 00000000 0002ac0a 00174290 00000000 0297e000 0016dcdc 0016dadc 0016d8dc
0297fe90: 0016d6dc 0297fe94 0297fe94 0000000a <00013940> 0016cdbc 00000004 0297e000
0297feb0: 00000001 00000004 00000100 00000001 00001000 00030e36 00177188 00000001
0297fed0: 02741204 00000006 01ef64a8 ffa00338 0017be68 00000001 02741204 00000006
0297fef0: 00000000 02741134 (00000000)<ffa00896> 00000000 ffffe000 ffa00bde 00000000
0297ff10: 00000000 02754f4c 0000002f 00000000 00000480 02740202 00000050 00060000
0297ff30: 00000000 02980000 02a82afa 02740202 02740218 00000006 02000061 02740203
0297ff50: 02a8cefb 02740202 02a8cee8 0000048a ffffffff 0000008b 00000000 0000008b
0297ff70: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0297ff90: 00000000 00000000 00000000 00000000 00000004 00000000 00000000 02af3d18
0297ffb0: 01ef5240 01ed7400 01ef64a8 00000000 00000001 02741204 00003dff 01ee59e4
0297ffd0: 02741234 00000000 02754f4c 02741134 00000000 01ee6c68 00000000 00000000
0297fff0: 00000001 00000001 02741234 00000006
Return addresses in stack:
address : <0x00017570> { _run_timer_softirq + 0xf0 }
address : <0x00013940> { ___do_softirq + 0x7c }
frame 1 : <0xffa00896> { _system_call + 0x6a }
Rebooting in 3 seconds..
U-Boot 2010.06-svn2403 (ADI-2010R1-pre) (Sep 24 2010 - 22:57:27)
On bf561 board, it is:
testing uclinux gcc
Double Fault
Kernel OOPS in progress
Deferred Exception context
No Valid process in current context
return address: [0x000188d0]; contents of:
0x000188b0: 1800 9200 9c00 9200 2f97 0000 05ec 0167
0x000188c0: 6f66 3030 3029 3222 0037 3010 67fa 3202
0x000188d0: [e521] 0078 c682 83da 60f8 5482 5e80 6c0a
0x000188e0: e120 0079 5f51 4141 3209 912b 6009 5a8c
ADSP-BF561-0.5 600(MHz CCLK) 100(MHz SCLK) (mpu off)
Linux version 2.6.38.2-ADI-2011R1-pre-svn9822 (test@43-bf561-toolchain) (gcc version 4.3.5 (ADI-trunk/svn-5258) ) #23 Thu Apr 7 23:59:46 GMT 2011
SEQUENCER STATUS: Not tainted
SEQSTAT: 00060027 IPEND: 0480 IMASK: ffff SYSCFG: 0006
EXCAUSE : 0x27
physical IVG7 asserted : <0xffa00e80> { _evt_evt7 + 0x0 }
physical IVG10 asserted : <0xffa00ea4> { _evt_evt10 + 0x0 }
logical irq 6 mapped : <0xffa0044c> { _bfin_coretmr_interrupt + 0x0 }
logical irq 35 mapped : <0x000a0708> { _bfin_serial_dma_rx_int + 0x0 }
logical irq 36 mapped : <0x000a0470> { _bfin_serial_dma_tx_int + 0x0 }
logical irq 82 mapped : <0x000ad7bc> { _smc_interrupt + 0x0 }
RETE: <0x00000000> /* Maybe null pointer? */
RETN: <0x02a7be44> /* kernel dynamic memory (maybe user-space) */
RETX: <0x000188d0> { _force_sig_info + 0x14 }
RETS: <0x000040bc> { _trap_c + 0x110 }
PC : <0x000188d0> { _force_sig_info + 0x14 }
DCPLB_FAULT_ADDR: <0x02a94e3c> /* kernel dynamic memory (maybe user-space) */
ICPLB_FAULT_ADDR: <0x02a80b00> /* kernel dynamic memory (maybe user-space) */
PROCESSOR STATE:
R0 : 00000004 R1 : 02a7be7c R2 : 00000003 R3 : 00ffffff
R4 : 00000013 R5 : 0000100d R6 : 00000004 R7 : 0000001f
P0 : 00000003 P1 : 000000a8 P2 : 02a7a000 P3 : 02a81434
P4 : 00000000 P5 : 02a7bf24 FP : 02a94edc SP : 02a7bd68
LB0: ffa01444 LT0: ffa01442 LC0: 00000000
LB1: 0008cf2e LT1: 0008cf24 LC1: 00000000
B0 : 0000001b L0 : 00000000 M0 : ffffffff I0 : 00000000
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 0012aca0
B2 : 00000000 L2 : 00000000 M2 : 00000000 I2 : 00000020
B3 : 00000000 L3 : 00000000 M3 : 00000000 I3 : 0000000f
A0.w: 01900000 A0.x: 00000000 A1.w: 00004029 A1.x: 00000000
USP : 02a76254 ASTAT: 02003044
Hardware Trace:
Kernel panic - not syncing: Double Fault - unrecoverable event
Hardware Trace:
Stack info:
SP: [0x02a7bc60] <0x02a7bc60> /* kernel dynamic memory (maybe user-space) */
Memory from 0x02a7bc60 to 02a7c000
02a7bc60:[00129ce8] 000ffde8 02a7bf24 00129ce8 001584af 001584af 001584af 02a7bca8
02a7bc80: 02a94edc 00003f3a 02a7bf24 00000000 02a7bd68 0000003f 000188d0 0000100d
02a7bca0: 00000013 02a7bd68 0000001f 0000001f 0015c988 00000400 0012aca2 0012b628
02a7bcc0: 00000000 00000000 ff10210f ffff0008 0012aca2 00000000 0000f222 0000f31a
02a7bce0: 000175c2 0015c988 00000000 02a7bdb0 00165514 0016553c 0000f7de 0016553c
02a7bd00: 00000000 0015c9a6 00000000 00000021 00044b83 10624dd3 10624dd3 00000000
02a7bd20: e10dffc0 02a7bda8 02a7bd34 00000035 0000001f 0000001f 02a7bd7c ffe06100
02a7bd40: ffa00d54 ffa0080e ffa006e6 02a7bf24 00000000 02a81434 0000001f 000fff2c
02a7bd60: 00007b2c 02a762f6 00000480 00000480 00060027 00000000 02a7be44 000188d0
02a7bd80: 000188d0 000040bc 00000004 02003044 0008cf2e ffa01444 0008cf24 ffa01442
02a7bda0: 00000000 00000000 00004029 00000000 01900000 00000000 00000000 00000000
02a7bdc0: 00000000 0000001b 00000000 00000000 00000000 00000000 00000000 00000000
02a7bde0: 00000000 ffffffff 0000000f 00000020 0012aca0 00000000 02a76254 02a94edc
02a7be00: 02a7bf24 00000000 02a81434 02a7a000 000000a8 00000003 0000001f 00000004
02a7be20: 0000100d 00000013 00ffffff 00000003 02a7be7c 00000004 00000004 00000003
02a7be40: 00000006 02a7bf24 000002a7 02a94edc 0000407c 02a7bf24 000040bc 02a7bf24
02a7be60: ffe02014 02a76254 00000004 00000021 02a7bf24 02a76254 0000001f 00000004
02a7be80: 00000000 00030001 02a80b00 00000000 00000000 00000000 00000000 00000000
02a7bea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02a7bec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02a7bee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02a7bf00: ffa0078a 00155000 00000008 00060021 02a81380 02a80b20 00000000 00000000
02a7bf20: 00000480 00000480 00000008 00060021 00000000 02a7c000 00000480 02a80b00
02a7bf40: 02a805d2 fffff314 02001065 0291248b 02a80c39 02912480 02a80c38 00000000
02a7bf60: 00000000 0000008b 00000000 0000008b 00000000 00000000 00000000 00000000
02a7bf80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02a7bfa0: 00000004 00000000 00000000 02973d14 02a797dc 02a76254 02a94edc 00000000
02a7bfc0: 00000001 02a81434 02a94f78 00000027 02a76f40 00000000 02a94f48 02a81380
02a7bfe0: 02a80b20 02a76f40 00000000 00000000 fffff314 fffff314 02a76f40 00000006
Return addresses in stack:
Rebooting in 3 seconds..
Follow-ups
--- Mingquan Pan 2011-10-12 22:56:25
After trunk head kernel updating,this issue doesn't show up now. So close.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found