[#4284] In 08r1 branch BF561-EZKIT SMP kernel, it failed sometimes to test malloc-perf
Submitted By: Vivi Li
Open Date
2008-07-27 23:52:54 Close Date
2008-08-11 23:02:36
Priority:
Medium High Assignee:
Graf Yang
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
N/A
Processor:
N/A Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
App binary format:
N/A
Summary: In 08r1 branch BF561-EZKIT SMP kernel, it failed sometimes to test malloc-perf
Details:
In 08r1 branch, BF561-EZKIT kernel patched with SMP, it failed sometimes to test malloc-perf.
--
Linux version 2.6.22.19-ADI-2008R1.5-svn5051 (test@uclinux47-bf561ezkit) (gcc version 4.1.2 (ADI sv8
early printk enabled on early_BFuart0
Hardware Trace Active and Enabled
Warning: limiting memory to 56MB due to hardware anomaly 05000263
Blackfin support (C) 2004-2007 Analog Devices, Inc.
Compiled for ADSP-BF561 Rev 0.3
Warning: Compiled for Rev 3, but running on Rev 5
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 600 MHz core clock and 100 MHz System Clock
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
text = 0x00001000-0x000fd380
rodata = 0x000fe000-0x00141124
data = 0x00142000-0x00154000
stack = 0x00142000-0x00144000
init = 0x00154000-0x00484000
bss = 0x00484000-0x0049362c
available = 0x0049362c-0x037ff000
DMA Zone = 0x03f00000-0x04000000
Instruction Cache Enabled for CPU0
Data Cache Enabled for CPU0 (write-through)
Built 1 zonelists. Total pages: 14224
Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=f
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
console handover: boot [early_BFuart0] -> real [ttyBF0]
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 52040k/65536k RAM, (3264k init code, 1008k kernel code, 409k data, 1024k dma, 779)
Blackfin Scratchpad data SRAM: 4 KB
PDA for CPU0 reserved at ffb00000
Blackfin DATA_A SRAM: 16 KB
Blackfin DATA_B SRAM: 16 KB
Blackfin Instruction SRAM: 16 KB
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512
CoreB bootstrap code to SRAM ff600000 via DMA.
Booting Core B.
Instruction Cache Enabled for CPU1
Data Cache Enabled for CPU1 (write-through)
PDA for CPU1 reserved at ff700000
Brought up 2 CPUs
SMP: Total of 2 processors activated (1191.93 BogoMIPS).
migration_cost=4000
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
ezkit_init(): registering device resources
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 24576 bytes)
TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 35) is a BFIN-UART
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@cam.org>
eth0: SMC91C11xFD (rev 1) at 2c010300 IRQ 82 [nowait]
eth0: Ethernet addr: 00:e0:22:fe:b1:3c
bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0, regs_base@ffc00500, 6
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
eth0: link down
IP-Config: Complete:
device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,
host=bf561-ezkit, domain=, nis-domain=(none),
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
Freeing unused kernel memory: 3264k freed
dma_alloc_init: dma_page @ 0x00481000 - 256 pages at 0x03f00000
_____________________________________
a8888b. / Welcome to the uClinux distribution \
d888888b. / _ _ et h 0 : l \i
nk u"Yp"Y8, 10 / 0M b -
d 8uo||op88 l____e x |,| _ __l_ _p _ \a\/ / 0 |x
C 8' 5 .8E 1 \
| | | | _ \| | | | \ / |
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| - blackfin.uclinux.org/
\ YP" `| 8P `. - docs.blackfin.uclinux.org/
/ \.___.d| .' - www.uclinux.org/
`--..__)8888P`._.' jgs/a:f - www.analog.com/blackfin
Have a lot of fun...
BusyBox v1.4.1 (2008-07-28 00:28:51 CST) Built-in shell (msh)
Enter 'help' for a list of built-in commands.
root:/> malloc-perf
00004k : 0x031eb004 000030 000032 000119
00008k : 0x00412004 000030 000040 001097
00012k : 0x00412004 000030 000031 000075
00016k : 0x00412004 000030 000039 001127
00020k : 0x00412004 000030 000040 001105
00024k : 0x00558004 000030 000032 000081
00028k : 0x00418004 000031 000041 001106
00032k : 0x00420004 000061 000072 001147
00036k : 0x00420004 000062 000064 000121
00040k : 0x00420004 000062 000073 001139
00044k : 0x00420004 000062 000072 001145
00048k : 0x00420004 000062 000063 000102
00052k : 0x00420004 000062 000064 000120
00056k : 0x00420004 000062 000073 001140
00060k : 0x00420004 000062 000065 000121
00064k : 0x00420004 000062 000064 000116
00068k : 0x00420004 000064 000065 000124
00072k : 0x00420004 000064 000066 000130
00076k : 0x00420004 000064 000066 000116
00080k : 0x00420004 000064 000065 000123
00084k : 0x00420004 000064 000067 000123
00088k : 0x00420004 000064 000066 000116
00092k : 0x00420004 000064 000075 001158
00096k : 0x00420004 000064 000068 000188
00100k : 0x00420004 000064 000066 000120
00104k : 0x00420004 000064 000065 000113
00108k : 0x00420004 000064 000066 000115
00112k : 0x00420004 000064 000067 000122
00116k : 0x00420004 000064 000065 000116
00120k : 0x00420004 000064 000065 000117
00124k : 0x00420004 000064 000067 000119
00128k : 0x00420004 000064 000065 000117
00256k : 0x00300004 000067 000069 000120
00384k : 0x00300004 000077 000080 000127
00512k : 0x00300004 000077 000080 000149
00640k : 0x00300004 000099 000102 000153
00768k : 0x00300004 000099 000102 000149
00896k : 0x00300004 000099 000102 000165
01024k : 0x00300004 000099 000103 000168
TEST FAIL
root:/>
root:/> malloc-perf
00004k : 0x03786004 000013 000014 000054
00008k : 0x00412004 000013 000013 000053
00012k : 0x00412004 000012 000019 000752
00016k : 0x00412004 000012 000013 000018
00020k : 0x00412004 000013 000013 000019
00024k : 0x00558004 000013 000014 000070
00028k : 0x00418004 000013 000014 000067
00032k : 0x00420004 000044 000051 000794
00036k : 0x00420004 000045 000046 000105
00040k : 0x00420004 000045 000052 000782
00044k : 0x00420004 000045 000051 000777
00048k : 0x00420004 000045 000054 001128
00052k : 0x00420004 000045 000054 001134
00056k : 0x00420004 000045 000046 000112
00060k : 0x00420004 000045 000046 000114
00064k : 0x00420004 000045 000054 001124
00068k : 0x00420004 000047 000048 000108
00072k : 0x00420004 000047 000048 000116
00076k : 0x00420004 000046 000048 000108
00080k : 0x00420004 000047 000048 000118
00084k : 0x00420004 000047 000047 000067
00088k : 0x00420004 000047 000056 001162
00092k : 0x00420004 000047 000057 001155
00096k : 0x00420004 000047 000048 000124
00100k : 0x00420004 000047 000048 000109
00104k : 0x00420004 000046 000048 000120
00108k : 0x00420004 000047 000060 000788
00112k : 0x00420004 000047 000047 000063
00116k : 0x00420004 000047 000056 001150
00120k : 0x00420004 000047 000056 001157
00124k : 0x00420004 000047 000048 000108
00128k : 0x00420004 000047 000048 000119
00256k : 0x00300004 000050 000061 001133
00384k : 0x00300004 000060 000061 000118
00512k : 0x00300004 000060 000062 000141
00640k : 0x00300004 000081 000084 000149
00768k : 0x00300004 000081 000084 000148
00896k : 0x00300004 000081 000085 000156
01024k : 0x00300004 000081 000084 000139
TEST PASS
root:/>
root:/> malloc-perf
00004k : 0x03792004 000030 000032 000116
00008k : 0x00412004 000031 000040 001106
00012k : 0x00412004 000030 000032 000076
00016k : 0x00412004 000030 000031 000081
00020k : 0x00412004 000031 000031 000068
00024k : 0x00558004 000031 000040 001111
00028k : 0x00418004 000031 000040 001099
00032k : 0x00420004 000061 000072 001143
00036k : 0x00420004 000062 000064 000113
00040k : 0x00420004 000062 000072 001144
00044k : 0x00420004 000062 000073 001138
00048k : 0x00420004 000062 000064 000114
00052k : 0x00420004 000062 000064 000128
00056k : 0x00420004 000062 000072 001144
00060k : 0x00420004 000062 000065 000121
00064k : 0x00420004 000062 000064 000119
00068k : 0x00420004 000064 000066 000118
00072k : 0x00420004 000064 000075 001144
00076k : 0x00420004 000064 000074 001188
00080k : 0x00420004 000064 000066 000122
00084k : 0x00420004 000064 000075 001128
00088k : 0x00420004 000064 000066 000118
00092k : 0x00420004 000064 000066 000127
00096k : 0x00420004 000064 000066 000126
00100k : 0x00420004 000064 000066 000112
00104k : 0x00420004 000064 000066 000132
00108k : 0x00420004 000064 000066 000117
00112k : 0x00420004 000064 000065 000115
00116k : 0x00420004 000064 000074 001159
00120k : 0x00420004 000064 000065 000115
00124k : 0x00420004 000064 000067 000131
00128k : 0x00420004 000064 000074 001174
00256k : 0x00300004 000068 000070 000120
00384k : 0x00300004 000077 000080 000140
00512k : 0x00300004 000077 000080 000141
00640k : 0x00300004 000099 000104 000153
00768k : 0x00300004 000099 000103 000153
00896k : 0x00300004 000099 000102 000148
01024k : 0x00300004 000099 000102 000161
TEST FAIL
root:/>
--
Follow-ups
--- Graf Yang 2008-08-04 03:24:14
This bug has the same reason like [#4283], now had been fixed.
--- Vivi Li 2008-08-12 00:02:40
Ok now. Close it.
Thanks!
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
linux.malloc_perf application/octet-stream 5251878 Vivi Li