[#5332] dmacopy test case crashed in bf537-stamp mpu kernel
Submitted By: Vivi Li
Open Date
2009-07-09 04:52:25 Close Date
2009-07-12 23:13:40
Priority:
Medium High Assignee:
Bernd Schmidt
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
Tests Board:
STAMP
Processor:
BF537 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Duplicate
Uboot version or rev.:
Toolchain version or rev.:
gcc4.1_09r1-rc9
App binary format:
N/A
Summary: dmacopy test case crashed in bf537-stamp mpu kernel
Details:
dmacopy test case crashed in bf537-stamp mpu kernel.
Bellow is the log:
--
Linux version 2.6.28.10-ADI-2009R1-svn6925 (test@uclinux74-mpu) (gcc version 4.1.2 (ADI svn)) #16 Mon Jul 6 17:33:44 GMT 2009^M
bootconsole [early_BFuart0] enabled^M
early printk enabled on early_BFuart0^M
Board Memory: 64MB^M
Kernel Managed Memory: 64MB^M
Memory map:^M
fixedcode = 0x00000400-0x00000490^M
text = 0x00001000-0x00105090^M
rodata = 0x00105090-0x00155c34^M
bss = 0x00156000-0x001676a0^M
data = 0x001676a0-0x00178000^M
stack = 0x00176000-0x00178000^M
init = 0x00178000-0x008c1000^M
available = 0x008c1000-0x03eff000^M
DMA Zone = 0x03f00000-0x04000000^M
Hardware Trace Active and Enabled^M
Boot Mode: 0^M
Reset caused by Software reset^M
Blackfin support (C) 2004-2009 Analog Devices, Inc.^M
Compiled for ADSP-BF537 Rev 0.3^M
Blackfin Linux support by http://blackfin.uclinux.org/^M
Processor Speed: 500 MHz core clock and 125 MHz System Clock^M
MPU: setting up cplb tables with memory protection^M
Instruction Cache Enabled for CPU0^M
Data Cache Enabled for CPU0 (write-back)^M
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 16001^M
Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf537-stamp:eth0:off^M
Configuring Blackfin Priority Driven Interrupts^M
PID hash table entries: 256 (order: 8, 1024 bytes)^M
console handover:boot [early_BFuart0] -> real [ttyBF0]^M
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)^M
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)^M
Memory available: 51652k/65536k RAM, (7460k init code, 1040k kernel code, 460k data, 1024k dma, 3896k reserved)^M
Calibrating delay loop... 997.37 BogoMIPS (lpj=1994752)^M
Security Framework initialized^M
Mount-cache hash table entries: 512^M
Blackfin Scratchpad data SRAM: 4 KB^M
Blackfin L1 Data A SRAM: 16 KB (15 KB free)^M
Blackfin L1 Data B SRAM: 16 KB (16 KB free)^M
Blackfin L1 Instruction SRAM: 48 KB (37 KB free)^M
net_namespace: 288 bytes^M
NET: Registered protocol family 16^M
Blackfin DMA Controller^M
stamp_init(): registering device resources^M
NET: Registered protocol family 2^M
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)^M
TCP established hash table entries: 2048 (order: 2, 16384 bytes)^M
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)^M
TCP: Hash tables configured (established 2048 bind 2048)^M
TCP reno registered^M
NET: Registered protocol family 1^M
msgmni has been set to 100^M
io scheduler noop registered^M
io scheduler anticipatory registered (default)^M
io scheduler cfq registered^M
Serial: Blackfin serial driver^M
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART^M
brd: module loaded^M
bfin_mii_bus: probed^M
bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)^M
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1^M
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7^M
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0^M
bfin-wdt: initialized: timeout=20 sec (nowayout=0)^M
TCP cubic registered^M
NET: Registered protocol family 17^M
rtc-bfin rtc-bfin: setting system clock to 2004-05-31 04:55:11 UTC (1085979311)^M
IP-Config: Complete:^M
device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,^M
host=bf537-stamp, domain=, nis-domain=(none),^M
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=^M
dma_alloc_init: dma_page @ 0x03af6000 - 256 pages at 0x03f00000^M
PHY: 0:01 - Link is Up - 100/Full^M
_____________________________________^M
a8888b. / Welcome to the uClinux distribution \^M
d888888b. / _ _ \^M
8P"YP"Y88 / | | |_| __ __ (TM) |^M
8|o||o|88 _____/ | | _ ____ _ _ \ \/ / |^M
8' .88 \ | | | | _ \| | | | \ / |^M
8`._.' Y8. \ | |__ | | | | | |_| | / \ |^M
d/ `8b. \ \____||_|_| |_|\____|/_/\_\ |^M
dP . Y8b. \ For embedded processors including |^M
d8:' " `::88b \ the Analog Devices Blackfin /^M
d8" 'Y88b \___________________________________/^M
:8P ' :888^M
8a. : _a88P For further information, check out:^M
._/"Yaa_: .| 88P| - http://blackfin.uclinux.org/^M
\ YP" `| 8P `. - http://docs.blackfin.uclinux.org/^M
/ \.___.d| .' - http://www.uclinux.org/^M
`--..__)8888P`._.' jgs/a:f - http://www.analog.com/blackfin^M
^M
Have a lot of fun...^M
^M
^M
BusyBox v1.13.4 (2009-07-06 12:21:07 GMT) built-in shell (msh)^M
Enter 'help' for a list of built-in commands.^M
^M
root:/> version^M
kernel: Linux release 2.6.28.10-ADI-2009R1-svn6925, build #16 Mon Jul 6 17:33:44 GMT 2009^M
toolchain: bfin-uclinux-gcc release gcc version 4.1.2 (ADI svn)^M
user-dist: release svn-8431, build #234 Mon Jul 6 17:33:07 GMT 2009^M
root:/> ./dmacopy^M
TEST: --- SRAM (L1 INST) <-> SDRAM w/4 bytes ---^M
PASS: dma_memcpy SDRAMx32[s] to SRAMx32[c]^M
PASS: dma_memcpy SRAMx32[c] to SDRAMx32[d]^M
PASS: dma_memcpy(dst, src) test case 1, memcmp result is 0^M
PASS: dma_memcpy SDRAMx16[s] to SRAMx16[c]^M
PASS: dma_memcpy SRAMx16[c] to SDRAMx16[d]^M
PASS: dma_memcpy(dst, src) test case 2, memcmp result is 0^M
PASS: dma_memcpy SDRAMx8[s] to SRAMx8[c]^M
PASS: dma_memcpy SRAMx8[c] to SDRAMx8[d]^M
PASS: dma_memcpy(dst, src) test case 3, memcmp result is 0^M
TEST: --- SRAM (L1 INST) <-> SDRAM w/16 bytes ---^M
PASS: dma_memcpy SDRAMx32[s] to SRAMx32[c]^M
PASS: dma_memcpy SRAMx32[c] to SDRAMx32[d]^M
PASS: dma_memcpy(dst, src) test case 4, memcmp result is 0^M
PASS: dma_memcpy SDRAMx16[s] to SRAMx16[c]^M
PASS: dma_memcpy SRAMx16[c] to SDRAMx16[d]^M
PASS: dma_memcpy(dst, src) test case 5, memcmp result is 0^M
PASS: dma_memcpy SDRAMx8[s] to SRAMx8[c]^M
PASS: dma_memcpy SRAMx8[c] to SDRAMx8[d]^M
PASS: dma_memcpy(dst, src) test case 6, memcmp result is 0^M
TEST: --- SRAM (L1 INST) <-> SDRAM w/4096 bytes ---^M
PASS: dma_memcpy SDRAMx32[s] to SRAMx32[c]^M
PASS: dma_memcpy SRAMx32[c] to SDRAMx32[d]^M
PASS: dma_memcpy(dst, src) test case 7, memcmp result is 0^M
PASS: dma_memcpy SDRAMx16[s] to SRAMx16[c]^M
PASS: dma_memcpy SRAMx16[c] to SDRAMx16[d]^M
PASS: dma_memcpy(dst, src) test case 8, memcmp result is 0^M
PASS: dma_memcpy SDRAMx8[s] to SRAMx8[c]^M
PASS: dma_memcpy SRAMx8[c] to SDRAMx8[d]^M
PASS: dma_memcpy(dst, src) test case 9, memcmp result is 0^M
TEST: --- SRAM (L1 DATA) <-> SDRAM w/4 bytes ---^M
PASS: dma_memcpy SDRAMx32[s] to SRAMx32[c]^M
PASS: dma_memcpy(chk, src) test case 10, memcmp result is 0^M
PASS: dma_memcpy SRAMx32[c] to SDRAMx32[d]^M
PASS: dma_memcpy(dst, chk) test case 10, memcmp result is 0^M
PASS: dma_memcpy(dst, src) test case 10, memcmp result is 0^M
PASS: dma_memcpy SDRAMx16[s] to SRAMx16[c]^M
PASS: dma_memcpy(chk, src) test case 11, memcmp result is 0^M
PASS: dma_memcpy SRAMx16[c] to SDRAMx16[d]^M
PASS: dma_memcpy(dst, chk) test case 11, memcmp result is 0^M
PASS: dma_memcpy(dst, src) test case 11, memcmp result is 0^M
PASS: dma_memcpy SDRAMx8[s] to CPLB protection violation^M
- Illegal instruction fetch access (memory protection violation).^M
Deferred Exception context^M
CURRENT PROCESS:^M
COMM=dmacopy PID=186^M
CPU = 0^M
TEXT = 0x03208040-0x0320cfe0 DATA = 0x0320d000-0x0320e854^M
BSS = 0x0320e854-0x0320eb80 USER-STACK = 0x0320ff84^M
^M
return address: [0x0320aebc]; contents of:^M
0x0320ae90: 0a05 1007 e801 0000 3005 9035 9034 0010 ^M
0x0320aea0: e3ff ef22 3210 43a8 9310 63f8 2fe3 0000 ^M
0x0320aeb0: 0578 e800 0003 e128 005b 00a0 [3000] 3038 ^M
0x0320aec0: e120 f000 0a07 1006 3007 e801 0000 0538 ^M
^M
ADSP-BF537-0.3 500(MHz CCLK) 125(MHz SCLK) (mpu on)^M
Linux version 2.6.28.10-ADI-2009R1-svn6925^M
Built with gcc version 4.1.2 (ADI svn)^M
^M
SEQUENCER STATUS: Not tainted^M
SEQSTAT: 0006202b IPEND: 0030 SYSCFG: 0006^M
EXCAUSE : 0x2b^M
interrupts disabled^M
physical IVG5 asserted : <0xffa00be0> { _evt_ivhw + 0x0 }^M
RETE: <0x00000000> /* Maybe null pointer? */^M
RETN: <0x031d2000> /* kernel dynamic memory */^M
RETX: <0x00000480> /* Maybe fixed code section */^M
RETS: <0x0320bdde> [ dmacopy + 0x3d9e ]^M
PC : <0x0320aebc> [ dmacopy + 0x2e7c ]^M
DCPLB_FAULT_ADDR: <0x031d1d78> /* kernel dynamic memory */^M
ICPLB_FAULT_ADDR: <0x0008a45c> { _sprintf + 0x0 }^M
^M
PROCESSOR STATE:^M
R0 : 00000000 R1 : 0000000c R2 : 0320e51c R3 : 00000003^M
R4 : 0320e510 R5 : 0320e518 R6 : 0320fe90 R7 : 00000010^M
P0 : 0000005b P1 : 0000001f P2 : 0320fe98 P3 : 0320ff88^M
P4 : 0320eaa8 P5 : 0320eaa0 FP : 0320fe28 SP : 031d1f24^M
LB0: 03209c5f LT0: 03209c5e LC0: 00000000^M
LB1: 0320bc55 LT1: 0320bc4e LC1: 00000000^M
B0 : 00000000 L0 : 00000000 M0 : 00000000 I0 : 0320fcac^M
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 0320ff88^M
B2 : 00000000 L2 : 00000000 M2 : 00000000 I2 : 00000000^M
B3 : 00000000 L3 : 00000000 M3 : 00000000 I3 : 00000000^M
A0.w: 00000000 A0.x: 00000000 A1.w: 00000000 A1.x: 00000000^M
USP : 0320fe1c ASTAT: 02003004^M
^M
Hardware Trace:^M
0 Target : <0x00004ca8> { _trap_c + 0x0 }^M
Source : <0xffa0063a> { _exception_to_level5 + 0x9e } CALL pcrel^M
1 Target : <0xffa0059c> { _exception_to_level5 + 0x0 }^M
Source : <0xffa0047c> { _bfin_return_from_exception + 0x18 } RTX^M
2 Target : <0xffa00464> { _bfin_return_from_exception + 0x0 }^M
Source : <0xffa004f2> { _ex_trap_c + 0x46 } JUMP.S^M
3 Target : <0xffa004ac> { _ex_trap_c + 0x0 }^M
Source : <0xffa00704> { _trap + 0x58 } JUMP (P4)^M
4 Target : <0xffa006ac> { _trap + 0x0 }^M
Source : <0xffa00408> { _ex_dcplb_miss + 0x78 } RTX^M
5 Target : <0xffa00390> { _ex_dcplb_miss + 0x0 }^M
Source : <0xffa00704> { _trap + 0x58 } JUMP (P4)^M
6 Target : <0xffa006ac> { _trap + 0x0 }^M
Source : <0xffa00bdc> { __common_int_entry + 0xcc } RTI^M
7 Target : <0xffa00b7a> { __common_int_entry + 0x6a }^M
Source : <0xffa00e94> { _evt_system_call + 0x64 } JUMP.S^M
8 Target : <0xffa00e94> { _evt_system_call + 0x64 }^M
Source : <0xffa0088c> { _system_call + 0xb8 } RTS^M
9 Target : <0xffa00888> { _system_call + 0xb4 }^M
Source : <0xffa00408> { _ex_dcplb_miss + 0x78 } RTX^M
10 Target : <0xffa00390> { _ex_dcplb_miss + 0x0 }^M
Source : <0xffa00704> { _trap + 0x58 } JUMP (P4)^M
11 Target : <0xffa006ac> { _trap + 0x0 }^M
Source : <0xffa00878> { _system_call + 0xa4 } IF !CC JUMP^M
12 Target : <0xffa00872> { _system_call + 0x9e }^M
Source : <0xffa00862> { _system_call + 0x8e } IF !CC JUMP^M
13 Target : <0xffa00854> { _system_call + 0x80 }^M
Source : <0xffa00408> { _ex_dcplb_miss + 0x78 } RTX^M
14 Target : <0xffa00390> { _ex_dcplb_miss + 0x0 }^M
Source : <0xffa00704> { _trap + 0x58 } JUMP (P4)^M
15 Target : <0xffa006ac> { _trap + 0x0 }^M
Source : <0xffa00852> { _system_call + 0x7e } 0x013b^M
Userspace Stack^M
Stack info:^M
SP: [0x0320fe1c] <0x0320fe1c> [ dmacopy + 0x7e1c ]^M
FP: (0x0320fe28)^M
Memory from 0x0320fe10 to 03210000^M
0320fe10: 00000000 00000000 00000000 [00000000] 00000000 00000000 (0320fe4c)<0320bdde>^M
0320fe30: 00000010 00000000 00000000 00000000 00000000 00000000 00000000 (0320fe70)^M
0320fe50:<0320a988> 0320d000 0320e850 00000003 00000000 00000000 00000000 0320fe9c ^M
0320fe70:(0320feac)<0320a8b6> 00000000 0320ea80 0320cfb0 00000001 0320fec0 <03208772>^M
0320fe90: 0320e51c 0320d440 00000000 00000000 00000000 00000000 00000fff (0320fec8)^M
0320feb0:<032088dc> 00000000 0320d440 ff900320 0320ff30 <03208b3a>(0320ff30)<03208b52>^M
0320fed0: 00001000 0320d4ec 00000006 081c0300 00000004 00000010 00001000 00010000 ^M
0320fef0: 00012340 00022340 00032340 00042340 00054320 00323450 00000004 00000010 ^M
0320ff10: 00001000 00010000 00012340 00000004 00000010 00001000 00000000 00000003 ^M
0320ff30:(0320ff44)<0320adb4> 00000001 0320ff88 00000000 (00000000)<03ba2f64> 0320d000 ^M
0320ff50: 03af8004 03b20448 00000000 03b2042c 03b203dc 00000001 03208a74 00000000 ^M
0320ff70: 00000000 0320cfb0 0320cfc2 00000000 03af877f 00000001 0320ffa5 00000000 ^M
0320ff90: 0320ffaf 0320ffb6 0320ffc4 0320ffe7 00000000 642f2e00 6f63616d 48007970 ^M
0320ffb0: 3d454d4f 4853002f 3d4c4c45 6e69622f 0068732f 48544150 69622f3d 752f3a6e ^M
0320ffd0: 622f7273 2f3a6e69 6e696273 73752f3a 62732f72 54006e69 3d4d5245 756e696c ^M
0320fff0: 2f2e0078 63616d64 0079706f 00000000 544c4662 ^M
Return addresses in stack:^M
frame 1 : <0x0320bdde> [ dmacopy + 0x3d9e ]^M
frame 2 : <0x0320a988> [ dmacopy + 0x2948 ]^M
frame 3 : <0x0320a8b6> [ dmacopy + 0x2876 ]^M
address : <0x03208772> [ dmacopy + 0x732 ]^M
frame 4 : <0x032088dc> [ dmacopy + 0x89c ]^M
address : <0x03208b3a> [ dmacopy + 0xafa ]^M
frame 5 : <0x03208b52> [ dmacopy + 0xb12 ]^M
frame 6 : <0x0320adb4> [ dmacopy + 0x2d74 ]^M
frame 7 : <0x03ba2f64> [ sh + 0x22f64 ]^M
SRAMx8[c]^M
PASS: dma_memcpy(chk, src) test case 12, memcmp result is 0^M
PASS: dma_memcpy SRAMx8[c] to SDRAMx8[d]^M
PASS: dma_memcpy(dst, chk) test case 12, memcmp result is 0^M
PASS: dma_memcpy(dst, src) test case 12, memcmp result is 0^M
TEST: --- SRAM (L1 DATA) <-> SDRAM w/16 bytes ---^M
PASS: dma_memcpy SDRAMx32[s] to SRAMx32[c]^M
PASS: dma_memcpy(chk, src) test case 13, memcmp result is 0^M
PASS: dma_memcpy SRAMx32[c] to SDRAMx32[d]^M
PASS: dma_memcpy(dst, chk) test case 13, memcmp result is 0^M
PASS: dma_memcpy(dst, src) test case 13, memcmp result is 0^M
PASS: dma_memcpy SDRAMx16[s] to SRAMx16[c]^M
PASS: dma_memcpy(chk, src) test case 14, memcmp result is 0^M
PASS: dma_memcpy SRAMx16[c] to SDRAMx16[d]^M
PASS: dma_memcpy(dst, chk) test case 14, memcmp result is 0^M
PASS: dma_memcpy(dst, src) test case 14, memcmp result is 0^M
PASS: dma_memcpy SDRAMx8[s] to SRAMx8[c]^M
PASS: dma_memcpy(chk, src) test case 15, memcmp result is 0^M
PASS: dma_memcpy SRAMx8[c] to SDRAMx8[d]^M
PASS: dma_memcpy(dst, chk) test case 15, memcmp result is 0^M
PASS: dma_memcpy(dst, src) test case 15, memcmp result is 0^M
TEST: --- SRAM (L1 DATA) <-> SDRAM w/4096 bytes ---^M
PASS: dma_memcpy SDRAMx32[s] to SRAMx32[c]^M
PASS: dma_memcpy(chk, src) test case 16, memcmp result is 0^M
PASS: dma_memcpy SRAMx32[c] to SDRAMx32[d]^M
PASS: dma_memcpy(dst, chk) test case 16, memcmp result is 0^M
PASS: dma_memcpy(dst, src) test case 16, memcmp result is 0^M
PASS: dma_memcpy SDRAMx16[s] to SRAMx16[c]^M
PASS: dma_memcpy(chk, src) test case 17, memcmp result is 0^M
PASS: dma_memcpy SRAMx16[c] to SDRAMx16[d]^M
PASS: dma_memcpy(dst, chk) test case 17, memcmp result is 0^M
PASS: dma_memcpy(dst, src) test case 17, memcmp result is 0^M
PASS: dma_memcpy SDRAMx8[s] to SRAMx8[c]^M
PASS: dma_memcpy(chk, src) test case 18, memcmp result is 0^M
PASS: dma_memcpy SRAMx8[c] to SDRAMx8[d]^M
PASS: dma_memcpy(dst, chk) test case 18, memcmp result is 0^M
PASS: dma_memcpy(dst, src) test case 18, memcmp result is 0^M
root:/>
--
Last passed version:
--
root:/> version
kernel: Linux release 2.6.28.10-ADI-2009R1-pre-svn6400, build #4 Wed May 20
22:29:01 GMT 2009^M
toolchain: bfin-uclinux-gcc release gcc version 4.1.2 (ADI svn)^M
user-dist: release svn-8084, build #16 Wed May 20 22:28:18 GMT 2009^M
root:/>
--
It failed since bellow version:
--
root:/> version^M
kernel: Linux release 2.6.28.10-ADI-2009R1-pre-svn6437, build #6 Thu May 21
13:57:17 GMT 2009^M
toolchain: bfin-uclinux-gcc release gcc version 4.1.2 (ADI svn)^M
user-dist: release svn-8085, build #17 Thu May 21 13:56:39 GMT 2009^M
root:/>
--
Follow-ups
--- Sonic Zhang 2009-07-09 23:16:23
This also looks like a duplicated bug of bug 5139.
--- Vivi Li 2009-07-12 23:13:40
Dup of bug 5331. Close it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.dmacopy application/octet-stream 32698 Vivi Li