[#5073] BF518 kernel crashed during boot up in trunk
Submitted By: Vivi Li
Open Date
2009-04-21 05:52:33 Close Date
2009-04-24 06:43:06
Priority:
Medium High Assignee:
Nobody
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
N/A
Processor:
BF518 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Duplicate
Uboot version or rev.:
2009R1-rc1 Toolchain version or rev.:
toolchain-09r1-rc5
App binary format:
N/A
Summary: BF518 kernel crashed during boot up in trunk
Details:
BF518 kernel crashes during boot up in trunk, using default config.
Bellow is the log:
--
U-Boot 2008.10-svn1838 (ADI-2009R1-rc1) (Apr 13 2009 - 22:18:19)
CPU: ADSP bf518-0.0 (Detected Rev: 0.0) (parallel flash boot)
Board: ADI BF518F EZ-Board board
Support: blackfin.uclinux.org/
Clock: VCO: 400 MHz, Core: 400 MHz, System: 80 MHz
RAM: 64 MB
Flash: 4 MB
In: serial
Out: serial
Err: serial
Net: Blackfin EMAC
MAC: 00:E0:FE:BA:72:52
Hit any key to stop autoboot: 0
bfin> tftp 0x1000000 uImage
Using Blackfin EMAC device
TFTP from server 10.100.4.174; our IP address is 10.100.4.50
Filename 'uImage'.
Load address: 0x1000000
Loading: #################################################################
#################################################################
#################################################################
#####
done
Bytes transferred = 2928764 (2cb07c hex)
bfin> bootm
## Booting kernel from Legacy Image at 01000000 ...
Image Name: Linux-2.6.28.9-ADI-2009R1-pre-sv
Created: 2009-04-21 17:46:34 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 2928700 Bytes = 2.8 MB
Load Address: 00001000
Entry Point: 0018a66c
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 0018a66c
Linux version 2.6.28.9-ADI-2009R1-pre-svn6280 (test@uclinux80-518f) (gcc version 4.1.2 (ADI svn)) #9 Tue Apr 21 17:46:23 GMT 2009
console [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x0010a9a0
rodata = 0x0010a9a0-0x0015b244
bss = 0x0015b250-0x0016a6ac
data = 0x0016a6ac-0x0017e000
stack = 0x0017c000-0x0017e000
init = 0x0017e000-0x00587000
available = 0x00587000-0x03eff000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace Active and Enabled
Boot Mode: 1
Blackfin support (C) 2004-2009 Analog Devices, Inc.
Compiled for ADSP-BF518 Rev 0.0
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 400 MHz core clock and 80 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
Data Cache Enabled for CPU0 (write-back)
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 16001
Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart0,57600 console=ttyBF0,57600
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x25
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: 58264k/65536k RAM, (4132k init code, 1062k kernel code, 462k data, 1024k dma, 588k reserved)
Calibrating delay loop... 796.67 BogoMIPS (lpj=1593344)
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: 48 KB (42 KB free)
PDA for CPU0 reserved at 0015c0fc
net_namespace: 288 bytes
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
ezbrd_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 113
io scheduler noop registered (default)
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 29) is a BFIN-UART
brd: module loaded
bfin_mii_bus: probed
bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:03, irq=-1, mdc_clk=2500000Hz(mdc_div=15)@sclk=80MHz)
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7
bfin-spi bfin-spi.1: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc03400, dma channel@5
NULL pointer access
Kernel OOPS in progress
Deferred Exception context
CURRENT PROCESS:
COMM=swapper PID=1
CPU = 0
invalid mm
return address: [0x000aa106]; contents of:
0x000aa0e0: e10a bc0c 9110 0040 6c86 3041 0127 0010
0x000aa0f0: 3041 e3ff 805d 6801 2ff8 0000 04c5 3228
0x000aa100: 0167 4f41 6f86 [e52a] 0068 e428 0064 5041
0x000aa110: 5651 0c42 e629 0064 1804 a050 9152 0062
SEQUENCER STATUS: Not tainted
SEQSTAT: 00062027 IPEND: 8030 SYSCFG: 0006
EXCAUSE : 0x27
interrupts disabled
physical IVG5 asserted : <0xffa00aec> { _evt_ivhw + 0x0 }
physical IVG15 asserted : <0xffa00c3c> { _evt_system_call + 0x0 }
logical irq 6 mapped : <0xffa00328> { _timer_interrupt + 0x0 }
logical irq 21 mapped : <0x000ab224> { _bfin_rtc_interrupt + 0x0 }
logical irq 35 mapped : <0x000a1964> { _bfin_mac_interrupt + 0x0 }
RETE: <0x00000000> { _do_one_initcall + 0xfffff000 }
RETN: <0x0061dd04> /* kernel dynamic memory */
RETX: <0x00000480> /* Maybe fixed code section */
RETS: <0x000ab29a> { _bfin_rtc_interrupt + 0x76 }
PC : <0x000aa106> { _rtc_update_irq + 0xa }
DCPLB_FAULT_ADDR: <0x000001a0> /* Maybe null pointer? */
ICPLB_FAULT_ADDR: <0x000aa106> { _rtc_update_irq + 0xa }
PROCESSOR STATE:
R0 : 00000000 R1 : 00000100 R2 : 00000090 R3 : 0000001f
R4 : 0016be4c R5 : 00000000 R6 : 00000090 R7 : 0000003c
P0 : 00000000 P1 : ffc00308 P2 : ffc00308 P3 : 00000000
P4 : 000ab224 P5 : 00000000 FP : 038ccaa0 SP : 0061dc28
LB0: 00080a4c LT0: 00080a4c LC0: 00000000
LB1: 00046ac8 LT1: 00046ab6 LC1: 00000000
B0 : 00000000 L0 : 00000000 M0 : 00000000 I0 : 00000003
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 038add48
B2 : 00000000 L2 : 00000000 M2 : 00000000 I2 : 00000000
B3 : 00000000 L3 : 00000000 M3 : 00000000 I3 : 00000000
A0.w: 00000000 A0.x: 00000000 A1.w: 00000000 A1.x: 00000000
USP : 00000000 ASTAT: 00002000
Hardware Trace:
0 Target : <0x00004a44> { _trap_c + 0x0 }
Source : <0xffa005aa> { _exception_to_level5 + 0x9e } CALL pcrel
1 Target : <0xffa0050c> { _exception_to_level5 + 0x0 }
Source : <0xffa003de> { _bfin_return_from_exception + 0x6 } RTX
2 Target : <0xffa003d8> { _bfin_return_from_exception + 0x0 }
Source : <0xffa00466> { _ex_trap_c + 0x66 } JUMP.S
3 Target : <0xffa00400> { _ex_trap_c + 0x0 }
Source : <0xffa00636> { _trap + 0x2a } JUMP (P4)
4 Target : <0xffa0060c> { _trap + 0x0 }
Source : <0x000aa104> { _rtc_update_irq + 0x8 } 0x6f86
5 Target : <0x000aa0fc> { _rtc_update_irq + 0x0 }
Source : <0x000ab296> { _bfin_rtc_interrupt + 0x72 } CALL pcrel
6 Target : <0x000ab27e> { _bfin_rtc_interrupt + 0x5a }
Source : <0x000ab26a> { _bfin_rtc_interrupt + 0x46 } IF CC JUMP
7 Target : <0x000ab25e> { _bfin_rtc_interrupt + 0x3a }
Source : <0x000ab256> { _bfin_rtc_interrupt + 0x32 } IF CC JUMP
8 Target : <0x000ab224> { _bfin_rtc_interrupt + 0x0 }
Source : <0x00028a24> { _request_irq + 0xa8 } CALL (P4)
9 Target : <0x00028a1e> { _request_irq + 0xa2 }
Source : <0x0002867a> { _disable_irq + 0x3e } RTS
10 Target : <0x0002866e> { _disable_irq + 0x32 }
Source : <0x0002862a> { _disable_irq_nosync + 0x56 } RTS
11 Target : <0x00028612> { _disable_irq_nosync + 0x3e }
Source : <0x0002863a> { _disable_irq_nosync + 0x66 } JUMP.S
12 Target : <0x0002863a> { _disable_irq_nosync + 0x66 }
Source : <0x00007fcc> { _bfin_internal_mask_irq + 0x38 } RTS
13 Target : <0x00007fcc> { _bfin_internal_mask_irq + 0x38 }
Source : <0x00007fbe> { _bfin_internal_mask_irq + 0x2a } IF !CC JUMP
14 Target : <0x00007f94> { _bfin_internal_mask_irq + 0x0 }
Source : <0x00028638> { _disable_irq_nosync + 0x64 } CALL (P2)
15 Target : <0x0002862c> { _disable_irq_nosync + 0x58 }
Source : <0x00028610> { _disable_irq_nosync + 0x3c } IF !CC JUMP
Kernel Stack
Stack info:
SP: [0x0061dcb8] <0x0061dcb8> /* kernel dynamic memory */
FP: (0x0061dd68)
Memory from 0x0061dcb0 to 0061e000
0061dcb0: 038add48 00000003 [00000000] 038ccaa0 00000000 000ab224 00000000 ffc00308
0061dcd0: ffc00308 00000000 0000003c 00000090 00000000 0016be4c 0000001f 00000090
0061dcf0: 00000100 00000000 00000000 00000000 00000006 0016ecec 0016ed04 038ccaa0
0061dd10: 00168050 <000ab29a> 038d4860 0061dd40 <0002866e> 00000080 <00028a26> 0016ecec
0061dd30: 0000ffff 00000000 00000015 03eee1c4 03eee6ec 001767f4 001767f4 <00109452>
0061dd50: 0016be4c 038d4860 0016be44 0016bef8 000000ac 001767f4 (00000000)<00069a12>
0061dd70: 00000001 <0009c6d0> 00139b7c 0016be4c <0009c7d8> 0016be4c 001767f4 00168050
0061dd90: 0016bef8 00000000 <0010817c><001081a4> 0016bd60 <0009c930> 0016be4c 001767f4
0061ddb0: 00198b7c 0016bef8 00175e54 00198b7c 00000000 <0009bfee> 0009c8c4 00175e54
0061ddd0: 00000000 0061dde4 03ea90c0 <0007c6a0> 0015b274 03efb5d8 0016be94 <0009c686>
0061ddf0: 0015b274 00000000 03ea90c0 00000000 0061de24 0061de24 <0009c3a0> 0009c8c4
0061de10:<0009c3be> 00000000 <0009ca80> 001764a4 00133a4c 00139b7c 00000000 <0009ca80>
0061de30: 0015b274 001767f4 00198b7c 00000000 00000000 00191034 00000000 00000000
0061de50:<00001028> 0015b274 0019163c 00000000 00000000 00000000 00000000 00000000
0061de70: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0061de90: 00000000 00000000 00000000 00000000 00000000 00000000 00000003 00000000
0061deb0:<0061df0c> 03efb6a4 03efb6a0 0016463c 00000000 00000000 00000000 00000020
0061ded0: ffffffe0 00000000 ffffffff <0061df0c><0007b958> 03ed2940 03ed1a40 0016463c
0061def0:<0007b9cc> 03efb6a4 00000000 000000fc 0016463c 000000d0 <0061df0c> 03ee9e10
0061df10: 00000000 00000000 <0013c7d8><0007bb32> 0016463c 03ed1a40 00000000 <00064b78>
0061df30: 03ed2940 03ed1a40 00198b7c 0061df60 00004000 00000000 00000000 00000000
0061df50: 0016463c 0061df60 <00064d9c> 001703a8 000000fc <00064daa> 001703a8 00163b48
0061df70: 03ed2940 03ed1a40 0061df9c 7fffff00 00000001 <00029db6> 0061df9c 00000076
0061df90: 0000000e <00064e6e> 03ed1a40 00383131 00000000 00190000 <00029e12> 0016e7fc
0061dfb0: 00198950 00000076 001703a8 <0017e3a0> 00198b04 00198950 00000000 00000000
0061dfd0: 00000000 00000000 00000000 00000000 00000000 <0000145e> 00000000 00000000
0061dff0: 00000000 00000000 ffffffff 00000006 03ef73e8
Return addresses in stack:
address : <0x000ab29a> { _bfin_rtc_interrupt + 0x76 }
address : <0x0002866e> { _disable_irq + 0x32 }
address : <0x00028a26> { _request_irq + 0xaa }
address : <0x00109452> { _bfin_rtc_probe + 0x4a }
frame 1 : <0x00069a12> { _create_dir + 0x3a }
address : <0x0009c6d0> { _driver_sysfs_add + 0x44 }
address : <0x0009c7d8> { _driver_probe_device + 0x80 }
address : <0x0010817c> { _klist_next + 0x20 }
address : <0x001081a4> { _klist_next + 0x48 }
address : <0x0009c930> { ___driver_attach + 0x6c }
address : <0x0009bfee> { _bus_for_each_dev + 0x3a }
address : <0x0007c6a0> { _kobject_init_and_add + 0x24 }
address : <0x0009c686> { _driver_attach + 0x1a }
address : <0x0009c3a0> { _bus_add_driver + 0x64 }
address : <0x0009c3be> { _bus_add_driver + 0x82 }
address : <0x0009ca80> { _driver_register + 0x40 }
address : <0x0009ca80> { _driver_register + 0x40 }
address : <0x00001028> { _do_one_initcall + 0x28 }
address : <0x0061df0c> /* kernel dynamic memory */
address : <0x0061df0c> /* kernel dynamic memory */
address : <0x0007b958> { _ida_get_new_above + 0x94 }
address : <0x0007b9cc> { _ida_get_new_above + 0x108 }
address : <0x0061df0c> /* kernel dynamic memory */
address : <0x0013c7d8> /* kernel dynamic memory */
address : <0x0007bb32> { _ida_pre_get + 0xe }
address : <0x00064b78> { _proc_register + 0x30 }
address : <0x00064d9c> { _create_proc_entry + 0x3c }
address : <0x00064daa> { _create_proc_entry + 0x4a }
address : <0x00029db6> { _register_irq_proc + 0x76 }
address : <0x00064e6e> { _proc_mkdir_mode + 0x2e }
address : <0x00029e12> { _init_irq_proc + 0x42 }
address : <0x0017e3a0> { _kernel_init + 0x84 }
address : <0x0000145e> { _kernel_thread_helper + 0x6 }
Modules linked in:
Kernel panic - not syncing: Kernel exception
--
Follow-ups
--- Michael Hennerich 2009-04-21 05:58:00
Duplicate of:
[uclinux-dist Bugs Item #5072] RTC driver crashes when CONFIG_DEBUG_SHIRQ is
set
Mike,
before enabling CONFIG_DEBUG_SHIRQ on all boards I would have fixed the known
BUGs ...
-Michael
--- Vivi Li 2009-04-24 06:43:05
OK now. Close it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found