[#6390] ad1836 probe failed on lastest svn trunk
Submitted By: Bob Liu
Open Date
2010-12-02 21:38:37 Close Date
2010-12-03 01:59:20
Priority:
Medium Assignee:
Bob Liu
Status:
Closed Fixed In Release:
N/A
Found In Release:
2010R1 Release:
svn-9997
Category:
N/A Board:
STAMP
Processor:
BF537 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
gcc version 4.1.2
App binary format:
N/A
Summary: ad1836 probe failed on lastest svn trunk
Details:
kernel panic when compiled with ad183x.
The log is:
U-Boot 2010.03-svn2333 (ADI-2010R1-pre) (Jun 23 2010 - 15:53:26)
CPU: ADSP bf537-0.2 (Detected Rev: 0.2) (bypass boot)
Board: ADI BF537 stamp board
Support: http://blackfin.uclinux.org/
Clock: VCO: 500 MHz, Core: 500 MHz, System: 125 MHz
RAM: 64 MB
Flash: 4 MB
In: serial
Out: serial
Err: serial
KGDB: [on serial] ready
Net: bfin_mac
Hit any key to stop autoboot: 0
Using bfin_mac device
TFTP from server 10.100.4.174; our IP address is 10.100.4.50
Filename 'uImage'.
Load address: 0x1000000
Loading: T #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#######
done
Bytes transferred = 4873278 (4a5c3e hex)
## Booting kernel from Legacy Image at 01000000 ...
Image Name: bf537-2.6.36.1-ADI-2011R1-pre-sv
Created: 2010-12-03 2:04:34 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 4873214 Bytes = 4.6 MB
Load Address: 00001000
Entry Point: 001dc318
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 001dc318
Linux version 2.6.36.1-ADI-2011R1-pre-svn9518 (root@adam-desktop) (gcc version 4.1.2 (ADI svn)) #31 Fri Dec 3 10:04:30 CST 2010
register early platform devices
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Limiting kernel memory to 56MB due to anomaly 05000263
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x001408d0
rodata = 0x001408d0-0x001b0aa8
bss = 0x001b1000-0x001c1ea8
data = 0x001c1ea8-0x001d4000
stack = 0x001d2000-0x001d4000
init = 0x001d4000-0x0091d000
available = 0x0091d000-0x03800000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace Active and Enabled
Boot Mode: 0
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF537 Rev 0.2
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 500 MHz core clock and 125 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
External memory: cacheable in instruction cache
Data Cache Enabled for CPU0
External memory: cacheable (write-back) in data cache
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 14224
Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50:10.100.4.174:10.99.29.1:255.255.255.0:bf537-stamp:eth0:off
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 47444k/65536k RAM, (7460k init code, 1278k kernel code, 590k data, 1024k dma, 7740k reserved)
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is disabled.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:138
Configuring Blackfin Priority Driven Interrupts
console [ttyBF0] enabled, bootconsole disabled
console [ttyBF0] enabled, bootconsole disabled
Calibrating delay loop... 993.28 BogoMIPS (lpj=1986560)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (16 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 48 KB (36 KB free)
NET: Registered protocol family 16
Blackfin DMA Controller
stamp_init(): registering device resources
bio: create slab <bio-0> at 0
bfin-spi bfin-spi.0: chipselect 4 already in use
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7
Advanced Linux Sound Architecture Driver Version 1.0.23.
Switching to clocksource bfin_cs_cycles
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
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
debug-mmrs: setting up Blackfin MMR debugfs
msgmni has been set to 92
io scheduler noop registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART
brd: module loaded
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
dma rx:3 tx:4, err irq:45, regs:ffc00800
All components present, instantiating
dma_alloc_init: dma_page @ 0x02946000 - 256 pages at 0x03f00000
asoc: AD183X <-> bf5xx-tdm mapping ok
ad183x spi0.4: AD183X: Failed to add (null)
NULL pointer access
Kernel OOPS in progress
Deferred Exception context
CURRENT PROCESS:
COMM=swapper PID=1 CPU=0
invalid mm
return address: [0xffa01750]; contents of:
0xffa01730: 54cb 020b 181b 44d2 0d52 1007 3212 e0a2
0xffa01740: 2003 984b 9a03 0010 6ffa e0a4 2004 3449
0xffa01750: [9c0b] c803 1800 9203 9c0b 9203 601b 54da
0xffa01760: 0c03 3289 1002 0010 3213 e0a2 2003 9849
ADSP-BF537-0.2 500(MHz CCLK) 125(MHz SCLK) (mpu off)
Linux version 2.6.36.1-ADI-2011R1-pre-svn9518 (root@adam-desktop) (gcc version 4.1.2 (ADI svn)) #31 Fri Dec 3 10:04:30 CST 2010
SEQUENCER STATUS: Not tainted
SEQSTAT: 00000027 IPEND: 8008 IMASK: ffff SYSCFG: 0006
EXCAUSE : 0x27
physical IVG3 asserted : <0xffa007b0> { _trap + 0x0 }
physical IVG15 asserted : <0xffa01094> { _evt_system_call + 0x0 }
logical irq 6 mapped : <0xffa003c8> { _bfin_coretmr_interrupt + 0x0 }
logical irq 10 mapped : <0x000c4b88> { _bfin_rtc_interrupt + 0x0 }
logical irq 12 mapped : <0x000ebb68> { _rx_handler + 0x0 }
logical irq 13 mapped : <0x000ebb04> { _tx_handler + 0x0 }
logical irq 45 mapped : <0x000ec958> { _err_handler + 0x0 }
RETE: <0x00000000> /* Maybe null pointer? */
RETN: <0x0201bdc0> /* kernel dynamic memory (maybe user-space) */
RETX: <0x00000480> /* Maybe fixed code section */
RETS: <0x00042960> { _kmemdup + 0x20 }
PC : <0xffa01750> { _memcpy + 0x38 }
DCPLB_FAULT_ADDR: <0x00000000> /* Maybe null pointer? */
ICPLB_FAULT_ADDR: <0xffa01750> { _memcpy + 0x38 }
PROCESSOR STATE:
R0 : 0294fa20 R1 : 00000003 R2 : 00000060 R3 : 00000000
R4 : 00000060 R5 : 00000000 R6 : 00000060 R7 : 0294fa20
P0 : 0294fa20 P1 : 00000000 P2 : 00000017 P3 : 001cdfc0
P4 : 02041480 P5 : 02041480 FP : 00000090 SP : 0201bce4
LB0: ffa01752 LT0: ffa01752 LC0: 00000017
LB1: 000e6dd8 LT1: 000e6dd8 LC1: 00000000
B0 : 00000000 L0 : 00000000 M0 : ffffffff I0 : 02948a30
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 00000000
B2 : 00000000 L2 : 00000000 M2 : 00000000 I2 : 0014ac80
B3 : 00000000 L3 : 00000000 M3 : 00000000 I3 : 0000001b
A0.w: 000008c3 A0.x: 00000000 A1.w: 000000c3 A1.x: 00000000
USP : 00000000 ASTAT: 02002001
Hardware Trace:
0 Target : <0x00003e5c> { _trap_c + 0x0 }
Source : <0xffa00744> { _exception_to_level5 + 0xa4 } CALL pcrel
1 Target : <0xffa006a0> { _exception_to_level5 + 0x0 }
Source : <0xffa00554> { _bfin_return_from_exception + 0x20 } RTX
2 Target : <0xffa00534> { _bfin_return_from_exception + 0x0 }
Source : <0xffa005f8> { _ex_trap_c + 0x74 } JUMP.S
3 Target : <0xffa00584> { _ex_trap_c + 0x0 }
Source : <0xffa0045c> { _ex_workaround_261 + 0x1c } JUMP.S
4 Target : <0xffa00440> { _ex_workaround_261 + 0x0 }
Source : <0xffa00818> { _trap + 0x68 } JUMP (P4)
5 Target : <0xffa007ce> { _trap + 0x1e }
Source : <0xffa007ca> { _trap + 0x1a } IF CC JUMP pcrel
6 Target : <0xffa007b0> { _trap + 0x0 }
FAULT : <0xffa01750> { _memcpy + 0x38 } R3 = [ I1++ ]
Source : <0xffa00554> { _bfin_return_from_exception + 0x20 } RTX
7 Target : <0xffa00534> { _bfin_return_from_exception + 0x0 }
Source : <0xffa00452> { _ex_workaround_261 + 0x12 } IF !CC JUMP pcrel
8 Target : <0xffa00440> { _ex_workaround_261 + 0x0 }
Source : <0xffa00818> { _trap + 0x68 } JUMP (P4)
9 Target : <0xffa007ce> { _trap + 0x1e }
Source : <0xffa007ca> { _trap + 0x1a } IF CC JUMP pcrel
10 Target : <0xffa007b0> { _trap + 0x0 }
Source : <0xffa0174e> { _memcpy + 0x36 } 0x3449
11 Target : <0xffa01748> { _memcpy + 0x30 }
Source : <0xffa0173a> { _memcpy + 0x22 } IF !CC JUMP pcrel
12 Target : <0xffa01718> { _memcpy + 0x0 }
Source : <0x0004295c> { _kmemdup + 0x1c } JUMP.L
13 Target : <0x00042952> { _kmemdup + 0x12 }
Source : <0x00046cc0> { ___kmalloc + 0x18 } RTS
14 Target : <0x00046cb8> { ___kmalloc + 0x10 }
Source : <0x00046d5c> { ___kmalloc + 0xb4 } IF CC JUMP pcrel (BP)
15 Target : <0x00046d4c> { ___kmalloc + 0xa4 }
Source : <0x00046d36> { ___kmalloc + 0x8e } IF !CC JUMP pcrel (BP)
Kernel Stack
Stack info:
SP: [0x0201bd48] <0x0201bd48> /* kernel dynamic memory (maybe user-space) */
FP: (0x0201becc)
Memory from 0x0201bd40 to 0201c000
0201bd40: 00000000 00000000 [00000000] 00000000 00000000 00000000 00000000 00000000
0201bd60: ffffffff 0000001b 0014ac80 00000000 02948a30 00000000 00000090 02041480
0201bd80: 02041480 001cdfc0 00000017 00000000 0294fa20 0294fa20 00000060 00000000
0201bda0: 00000060 00000000 00000060 00000003 0294fa20 0294fa20 0294fa20 00000006
0201bdc0: 0201bde0 000b278e 02948a00 000e93be 02041480 00000000 00000000 000e6e2c
0201bde0: 00192ca4 0201bde8 000e9442 02041480 02041480 00000000 00193488 00000000
0201be00: 000eb026 020414a8 020413c0 02041480 00000000 02041380 02041388 001cde90
0201be20: 00000000 02041388 <000e6584> 00000024 001cde40 00000001 00000001 0007db3a
0201be40: 001cde90 001cd9fc 0294e2d4 00000000 001cda04 00000000 000e67c2 001cdfc0
0201be60: 001cd834 001cd7f0 02041388 0201bef0 02041388 00000000 ffa02604 0007dc80
0201be80: 02041388 000e69dc 001cdfc8 001cdfc0 0000e89c 00100100 ffffffff 000e6a12
0201bea0: 02041388 001bf80c fffffffe 0013f52c 000b54b4 <000b554c> 00000000 0201bef0
0201bec0: 000b5644 02041380 <000b565c>(00000000)<000b4a28> 000b5644 02041380 001e3de0
0201bee0: 00000000 02919620 0203e800 0205bbb8 020054e8 029358f4 000b56dc 02041388
0201bf00: 00000000 020413bc 001cb38c 001ca9dc 0018c654 00000000 000b5644 000b494c
0201bf20: 02041388 00000000 02041390 00000000 02041390 001cb38c 000b36ae 00000000
0201bf40: 000b2b46 02041388 000b6746 02041388 02041380 00000000 00000000 00000000
0201bf60: ffffffff 000b52a0 02041448 00191dbc 001e3e1e 001cdfb0 001c00cc 00000000
0201bf80: 00000000 00000000 00000000 001eb8a8 <00001150> 001eb8c4 001b100c 00000000
0201bfa0: 001c0000 00035f9c 001c6164 001d41fa 001eb8c4 001eb908 00000000 00000000
0201bfc0: 00000000 00000000 00000000 00000000 00000000 001d44fa 00000000 00000000
0201bfe0: 00000000 00000000 00000000 <00001436> 00000000 00000000 ffffffff 00000006
Return addresses in stack:
address : <0x000e6584> { _snd_soc_instantiate_card + 0x144 }
address : <0x000b554c> { _really_probe + 0xe4 }
address : <0x000b565c> { ___device_attach + 0x18 }
frame 1 : <0x000b4a28> { _bus_for_each_drv + 0x40 }
address : <0x00001150> { _do_one_initcall + 0xb0 }
address : <0x00001436> { _kernel_thread_helper + 0x6 }
Modules linked in:
Kernel panic - not syncing: Kernel exception
Hardware Trace:
Stack info:
SP: [0x0201bbec] <0x0201bbec> /* kernel dynamic memory (maybe user-space) */
FP: (0x0201becc)
Memory from 0x0201bbe0 to 0201c000
0201bbe0: 00000027 0201bbec 001cdfc0 [0017daf0] 00011628 0201bce4 0017daf0 001b63cf
0201bc00: 001b63cf 001b63cf 0201bc38 0201bc38 00000090 0000422c 0201bce4 ffe02014
0201bc20: 001cdfc0 0017d5c0 0000000b 00000027 00000013 00000032 0000003f ffffffff
0201bc40: 00000000 00000000 0003000b 00008050 00000026 00000000 0201bcc0 ffa017b0
0201bc60: 00012128 0001225a 00000006 02003004 000e6dd8 ffa01770 000e6dd8 ffa0176e
0201bc80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0201bca0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0201bcc0: ffa00748 001b3000 00008008 00000027 00000000 00000060 00000000 00000000
0201bce0: 00000480 00000480 00008008 00000027 00000000 0201bdc0 00000480 ffa01750
0201bd00: 00042960 0294fa20 02002001 000e6dd8 ffa01752 000e6dd8 ffa01752 00000000
0201bd20: 00000017 000000c3 00000000 000008c3 00000000 00000000 00000000 00000000
0201bd40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0201bd60: ffffffff 0000001b 0014ac80 00000000 02948a30 00000000 00000090 02041480
0201bd80: 02041480 001cdfc0 00000017 00000000 0294fa20 0294fa20 00000060 00000000
0201bda0: 00000060 00000000 00000060 00000003 0294fa20 0294fa20 0294fa20 00000006
0201bdc0: 0201bde0 000b278e 02948a00 000e93be 02041480 00000000 00000000 000e6e2c
0201bde0: 00192ca4 0201bde8 000e9442 02041480 02041480 00000000 00193488 00000000
0201be00: 000eb026 020414a8 020413c0 02041480 00000000 02041380 02041388 001cde90
0201be20: 00000000 02041388 <000e6584> 00000024 001cde40 00000001 00000001 0007db3a
0201be40: 001cde90 001cd9fc 0294e2d4 00000000 001cda04 00000000 000e67c2 001cdfc0
0201be60: 001cd834 001cd7f0 02041388 0201bef0 02041388 00000000 ffa02604 0007dc80
0201be80: 02041388 000e69dc 001cdfc8 001cdfc0 0000e89c 00100100 ffffffff 000e6a12
0201bea0: 02041388 001bf80c fffffffe 0013f52c 000b54b4 <000b554c> 00000000 0201bef0
0201bec0: 000b5644 02041380 <000b565c>(00000000)<000b4a28> 000b5644 02041380 001e3de0
0201bee0: 00000000 02919620 0203e800 0205bbb8 020054e8 029358f4 000b56dc 02041388
0201bf00: 00000000 020413bc 001cb38c 001ca9dc 0018c654 00000000 000b5644 000b494c
0201bf20: 02041388 00000000 02041390 00000000 02041390 001cb38c 000b36ae 00000000
0201bf40: 000b2b46 02041388 000b6746 02041388 02041380 00000000 00000000 00000000
0201bf60: ffffffff 000b52a0 02041448 00191dbc 001e3e1e 001cdfb0 001c00cc 00000000
0201bf80: 00000000 00000000 00000000 001eb8a8 <00001150> 001eb8c4 001b100c 00000000
0201bfa0: 001c0000 00035f9c 001c6164 001d41fa 001eb8c4 001eb908 00000000 00000000
0201bfc0: 00000000 00000000 00000000 00000000 00000000 001d44fa 00000000 00000000
0201bfe0: 00000000 00000000 00000000 <00001436> 00000000 00000000 ffffffff 00000006
Return addresses in stack:
address : <0x000e6584> { _snd_soc_instantiate_card + 0x144 }
address : <0x000b554c> { _really_probe + 0xe4 }
address : <0x000b565c> { ___device_attach + 0x18 }
frame 1 : <0x000b4a28> { _bus_for_each_drv + 0x40 }
address : <0x00001150> { _do_one_initcall + 0xb0 }
address : <0x00001436> { _kernel_thread_helper + 0x6 }
Follow-ups
--- Bob Liu 2010-12-03 01:59:20
fixed by commit #9520
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found