[#4283] BF561-EZKIT SMP kernel will reboot sometimes during lmbench test in 2008R1 branch
Submitted By: Vivi Li
Open Date
2008-07-27 23:35:26 Close Date
2008-08-11 23:02:53
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.:
08r1.5-13
App binary format:
N/A
Summary: BF561-EZKIT SMP kernel will reboot sometimes during lmbench test in 2008R1 branch
Details:
In 2008R1 branch, BF561-EZKIT is patched and enabled with SMP.
Kernel will sometimes reboot during lmbench testing.
No such problem happens in 2008R1-SMP branch.
Bellow is the log:
--
BusyBox v1.4.1 (2008-07-27 01:16:20 CST) Built-in shell (msh)
Enter 'help' for a list of built-in commands.
root:/> cd lmbench3/bin/blackfin-Linux
root:/lmbench3/bin/blackfin-Linux> ./lat_ctx -s 0 2
"size=0k ovr=46.64
2 18.99
root:/lmbench3/bin/blackfin-Linux> ./lat_ctx -s 16 2
"size=16k ovr=136.80
2 20.47
root:/lmbench3/bin/blackfin-Linux> ./lat_ctx -s 64 2
U-Boot 1.1.6-svn1258 (ADI-2008R1.5) (Jul 11 2008 - 10:12:30)
CPU: ADSP bf561-0.3 (Detected Rev: 0.5)
Board: ADI BF561 EZ-Kit Lite board
Support: blackfin.uclinux.org/
Clock: VCO: 600 MHz, Core: 600 MHz, System: 100 MHz
RAM: 64 MB
Flash: 8 MB
In: serial
Out: serial
Err: serial
Net: SMC91111 at 0x2C010300
MAC: 00:E0:22:FE:B1:3C
Hit any key to stop autoboot: 5 ^H^H^H 4 ^H^H^H 3 ^H^H^H 2 ^H^H^H 1 ^H^H^H 0
--
Follow-ups
--- Vivi Li 2008-07-28 03:41:16
When run sigqueue test, it automatically reboot sometimes.
--
Linux version 2.6.22.19-ADI-2008R1.5-svn5035 (test@uclinux47-bf561ezkit) (gcc
version 4.1.2 (ADI svn)) #56 SMP Thu Jul 24 12:54:45 CST 2008
early printk enabled on early_BFuart0
Hardware Trace Active and Enabled
Warning: limiting memory to 56MB due to hardware anomaly 05000263
Reset caused by Software reset
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
ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf561-ezkit:eth0:off
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, 7792k reserved)
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, dma channel@16
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. / _ _ \
\ l8e x8, l \ p |a| 0xC5 E 1| | | ll \/ - d u |
|
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...
U-Boot 1.1.6-svn1258 (ADI-2008R1.5) (Jul 11 2008 - 10:12:30)
CPU: ADSP bf561-0.3 (Detected Rev: 0.5)
Board: ADI BF561 EZ-Kit Lite board
Support: blackfin.uclinux.org/
Clock: VCO: 600 MHz, Core: 600 MHz, System: 100 MHz
RAM: 64 MB
Flash: 8 MB
In: serial
Out: serial
Err: serial
Net: SMC91111 at 0x2C010300
MAC: 00:E0:22:FE:B1:3C
Hit any key to stop autoboot: 4
--
--- Graf Yang 2008-07-30 05:56:26
This bug is caused by fixing bug #4195.
I'd try another way to fix bug #4195 (gettimeofday got backword time).
--- Graf Yang 2008-08-01 07:43:44
After fixed the bug #4195, this bug disappeared.
--- Vivi Li 2008-08-12 00:02:57
Ok now. Close it.
Thanks!
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found