[#4602] boot up kernel with elf applications on bf533 stamp board get kernel panic
Submitted By: Mingquan Pan
Open Date
2008-11-04 03:46:58 Close Date
2008-11-06 03:53:25
Priority:
Medium Assignee:
Nobody
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:
Assigned (Not Start)
Uboot version or rev.:
Toolchain version or rev.:
Oct 10
App binary format:
N/A
Summary: boot up kernel with elf applications on bf533 stamp board get kernel panic
Details:
boot up kernel with elf applications on bf533 stamp board get kernel panic on trunk head now.
Loading .text @ 0x00001000 (1096768 bytes)
Loading .rodata @ 0x0010cc40 (254296 bytes)
Loading .init.rodata @ 0x0014ad98 (80 bytes)
Loading __ksymtab @ 0x0014ade8 (15576 bytes)
Loading __ksymtab_gpl @ 0x0014eac0 (5048 bytes)
Loading __ksymtab_strings @ 0x0014fe78 (46047 bytes)
Loading __init_rodata @ 0x0015b258 (172 bytes)
Loading __param @ 0x0015b304 (420 bytes)
Clearing .bss @ 0x0015b4c0 (63580 bytes)
Loading .data @ 0x0016ad1c (62180 bytes)
Loading .init.text @ 0x0017a000 (90292 bytes)
Loading .init.data @ 0x001900b4 (13652 bytes)
Loading .init.setup @ 0x00193608 (596 bytes)
Loading .initcall.init @ 0x0019385c (544 bytes)
Loading .con_initcall.init @ 0x00193a7c (4 bytes)
Loading .init.ramfs @ 0x00193a80 (2331201 bytes)
Loading .text_l1 @ 0xffa00000 (6984 bytes)
sh_addr: FFA00000, p_paddr: 003CCCC1
Loading from: 023BE000 to 003CCCC1, size: 6984
Loading .data_l1 @ 0xff800000 (224 bytes)
sh_addr: FF800000, p_paddr: 003CE809
Loading from: 023C0000 to 003CE809, size: 224
## Starting application at 0x001850b8 ...
Linux version 2.6.28-rc2-ADI-2009R1-pre-svn5562 (test@uclinux76-bf533-stamp-elf) (gcc version 4.1.2 (ADI svn)) #183 Mon Nov 3 10:10:40 MST 2008
console [early_BFuart0] enabled
early printk enabled on early_BFuart0
Warning: limiting memory to 56MB due to hardware anomaly 05000263
Board Memory: 128MB
Kernel Managed Memory: 128MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x0010cc40
rodata = 0x0010cc40-0x0015b4a8
bss = 0x0015b4c0-0x0016ad1c
data = 0x0016ad1c-0x0017a000
stack = 0x00178000-0x0017a000
init = 0x0017a000-0x003cf000
available = 0x003cf000-0x037ff000
DMA Zone = 0x07f00000-0x08000000
Hardware Trace Active and Enabled
Reset caused by Software reset
Blackfin support (C) 2004-2008 Analog Devices, Inc.
Compiled for ADSP-BF533 Rev 0.3
Warning: Compiled for Rev 3, but running on Rev 4
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 398 MHz core clock and 79 MHz System Clock
NOMPU: setting up cplb tables for global access
Instruction Cache Enabled
Data Cache Enabled (write-through)
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 14223
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:bf533-stamp:eth0:off
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
bfin-rtc: invalid date; resetting
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: 52860k/131072k RAM, (2388k init code, 1071k kernel code, 437k data, 1024k dma, 73292k reserved)
Calibrating delay loop... 790.52 BogoMIPS (lpj=1581056)
Security Framework initialized
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (15 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 64 KB (57 KB free)
net_namespace: 288 bytes
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
stamp_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, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
msgmni has been set to 103
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 21) is a BFIN-UART
brd: module loaded
smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@cam.org>
Data access CPLB miss
- Used by the MMU to signal a CPLB miss on a data access.
Kernel OOPS in progress
Deferred Exception context
CURRENT PROCESS:
COMM=swapper PID=1
invalid mm
return address: [0x000055ce]; contents of:
0x000055a0: 6078 5402 0c00 1c2a c682 81e2 6408 4f10
0x000055b0: 3208 e148 0010 e108 d44c 5a81 9151 3228
0x000055c0: 6079 544a 6008 4088 5a85 9152 43c0 [e551]
0x000055d0: 0020 5408 e648 0020 e14a ffc0 e10a 0640
SEQUENCER STATUS: Not tainted
SEQSTAT: 00062026 IPEND: 8030 SYSCFG: 0006
EXCAUSE : 0x26
physical IVG15 asserted : <0xffa00de0> { _evt_system_call + 0x0 }
logical irq 6 mapped : <0xffa003a0> { _timer_interrupt + 0x0 }
RETE: <0x00000000> { _do_one_initcall + 0xfffff000 }
RETN: <0x0046dce4> /* kernel dynamic memory */
RETX: <0x00000480> /* Maybe fixed code section */
RETS: <0x00009444> { _bfin_gpio_irq_type + 0x68 }
PC : <0x000055ce> { _set_gpio_inen + 0x72 }
DCPLB_FAULT_ADDR: <0x697265b0> /* kernel dynamic memory */
ICPLB_FAULT_ADDR: <0x0000001f> /* Maybe null pointer? */
PROCESSOR STATE:
R0 : ffffff7f R1 : 00000007 R2 : 00000007 R3 : 0000001f
R4 : 00000028 R5 : 00000007 R6 : 00000000 R7 : 00000007
P0 : 0010d44c P1 : 69726570 P2 : 69726570 P3 : 00000080
P4 : 00000000 P5 : 00000004 FP : 00000000 SP : 0046dc08
LB0: ffa018b4 LT0: ffa018b4 LC0: 00000000
LB1: 000a7834 LT1: 000a77aa LC1: 00000000
B0 : 00000000 L0 : 00000000 M0 : 00000000 I0 : 00000200
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 00000000
B2 : 00000000 L2 : 00000000 M2 : 00000000 I2 : 00000000
B3 : 00000000 L3 : 00000000 M3 : 00000000 I3 : 00000000
A0.w: 00018b43 A0.x: 00000000 A1.w: 00000213 A1.x: 00000000
USP : 00000000 ASTAT: 00002002
No trace since you do not have CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE enabled
Kernel Stack
Stack info:
SP: [0x0046dc74] <0x0046dc74> /* kernel dynamic memory */
FP: (0x0046dd70)
Memory from 0x0046dc70 to 0046e000
0046dc70: 00000000 [00000000] 00000000 00000000 00000000 00000000 00000000 00000000
0046dc90: 00000000 00000200 00000000 00000000 00000004 00000000 00000080 69726570
0046dcb0: 69726570 0010d44c 00000007 00000000 00000007 00000028 0000001f 00000007
0046dcd0: 00000007 ffffff7f ffffff7f 0010d44c 00000006 0015d508 00000000 00000000
0046dcf0: 00000000 0000001f <0002d566> 0016c308 0016f568 0071dbe0 00000004 00000028
0046dd10: 00000028 000a8750 0016b8bc ffffffff ffffffff 0000001c <0002d756> 0016f568
0046dd30: 0016f580 0071dbe0 00000028 0000ffff ffa018b4 00000000 20300300 037cf000
0046dd50:<0002d83c> 0016f568 037cf000 00000028 00000004 00000000 037cf000 037cf000
0046dd70:(00000000)<0018bea8> 0016c60c 037cf000 037cf380 00000016 00000000 0016cec0
0046dd90: 00000020 006fa63c 00116df0 00003300 037cf000 037cf000 00000001 00000004
0046ddb0: 001450a0 00003391 00000000 0016c67c 00193a7c 00172000 <0007417e> 00172000
0046ddd0:<000a2f28> 0016c614 00172000 001686bc 0016c6c0 000000ac 00172000 00000000
0046ddf0: 00000000 <0010a6c6><0010a6ee> 0016c520 <000a3080> 0016c614 00172000 00193a7c
0046de10: 0016c6c0 00171e28 00193a7c 00000000 <000a270a> 000a3014 00171e28 00000000
0046de30: 0046de40 037ec180 <0008aba4> 0015b4e4 037fb5d8 0016c65c <000a2dd2> 0015b4e4
0046de50: 00000000 037ec180 00000000 0046de80 0046de80 <000a2ad2> 000a3014 <000a2af0>
0046de70:<000c3c1e> 0046de90 0018b7fc 001362c8 0013b73c 00000000 <000a31dc> 0015b4e4
0046de90: 00172000 00193a7c 00000000 00000000 0015b4e4 00000007 00000001 <00001028>
0046deb0: 0015b4e4 0018b900 00000000 00000000 00000000 00000000 00000000 037fd220
0046ded0: ffffffff 0046df04 <00089ee2> 0016f748 00165e6c 0016697c <00089f56> 037fb6a4
0046def0: 00000000 00000070 0016697c 000000d0 0046df04 00468f28 00000000 00000000
0046df10: 00193a7c <0008a0be> 0016697c 00165e6c 00000000 <0006f1fc> 0016f748 00165e6c
0046df30: 00193a7c 0046df58 00471e60 00470680 00000000 00000000 0016697c 0046df58
0046df50:<0013e160><0006f424> 00000070 <0006f432> 0016f748 00471e60 00004000 00000000
0046df70: 00000000 0046df98 7fffff00 00000001 <0002ecf0> 0046df98 00000030 <0006f4f6>
0046df90: 00193860 00470680 00003834 00000000 00180000 <0002ed4e> 0016ec04 00193860
0046dfb0: 00000030 0016f748 <0017a3ba> 00193a0c 00193860 00000000 00000000 00000000
0046dfd0: 00000000 00000000 00000000 00000000 00000001 <00001466> 00000000 00000000
0046dff0: 00000000 00000000 ffffffff 00000006 037f74a8
Return addresses in stack:
address : <0x0002d566> { ___irq_set_trigger + 0x26 }
address : <0x0002d756> { ___setup_irq + 0x12a }
address : <0x0002d83c> { _request_irq + 0x80 }
frame 1 : <0x0018bea8> { _smc_drv_probe + 0x59c }
address : <0x0007417e> { _create_dir + 0x3a }
address : <0x000a2f28> { _driver_probe_device + 0x80 }
address : <0x0010a6c6> { _klist_next + 0x26 }
address : <0x0010a6ee> { _klist_next + 0x4e }
address : <0x000a3080> { ___driver_attach + 0x6c }
address : <0x000a270a> { _bus_for_each_dev + 0x3a }
address : <0x0008aba4> { _kobject_init_and_add + 0x24 }
address : <0x000a2dd2> { _driver_attach + 0x1a }
address : <0x000a2ad2> { _bus_add_driver + 0x66 }
address : <0x000a2af0> { _bus_add_driver + 0x84 }
address : <0x000c3c1e> { _netdev_boot_base + 0x2a }
address : <0x000a31dc> { _driver_register + 0x40 }
address : <0x00001028> { _do_one_initcall + 0x28 }
address : <0x00089ee2> { _ida_get_new_above + 0x96 }
address : <0x00089f56> { _ida_get_new_above + 0x10a }
address : <0x0008a0be> { _ida_pre_get + 0xe }
address : <0x0006f1fc> { _proc_register + 0x30 }
address : <0x0013e160> /* kernel dynamic memory */
address : <0x0006f424> { _create_proc_entry + 0x3c }
address : <0x0006f432> { _create_proc_entry + 0x4a }
address : <0x0002ecf0> { _register_irq_proc + 0x80 }
address : <0x0006f4f6> { _proc_mkdir_mode + 0x2e }
address : <0x0002ed4e> { _init_irq_proc + 0x42 }
address : <0x0017a3ba> { _kernel_init + 0x8a }
address : <0x00001466> { _kernel_thread_helper + 0x6 }
Modules linked in:
Kernel panic -kernel panic detected... trying to recover from it
Follow-ups
--- Mingquan Pan 2008-11-06 03:53:25
Not show up after undating used the trunk head uboot. Close.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found