[#7262] traps test make kernel panic on bf548-ezkit board
Submitted By: Mingquan Pan
Open Date
2012-08-16 03:22:38
Priority:
Medium Assignee:
Bob Liu
Status:
Open Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
N/A
Processor:
BF548 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Not reproducible
Uboot version or rev.:
Toolchain version or rev.:
ADI-2011R1-RC2
App binary format:
N/A
Summary: traps test make kernel panic on bf548-ezkit board
Details:
traps test make kernel panic on bf548-ezkit board.
Running test 82 for exception 0x2d: Instruction fetch multiple CPLB hits - Jump to zero
... PASS (test completed 1/1 times, as expected by signal 11: Segmentation fault)
Running test 83 for exception 0x2d: Return to zero
... PASS (test completed 1/1 times, as expected by signal 11: Segmentation fault)
Running test 84 for exception 0x2e: Illegal use of supervisor resource - Instruction
... PASS (test completed 1/1 times, as expected by signal 4: Illegal instruction)
Running test 85 for exception 0x3f: Read of L1 instruction
... External Memory Addressing Error
Kernel OOPS in progress
HW Error context
CURRENT PROCESS:
COMM=traps_test PID=420 CPU=0
TEXT = 0x02d80040-0x02d88fc0 DATA = 0x02d88fe0-0x02d8c7d4
BSS = 0x02d8c7d4-0x02d8cc70 USER-STACK = 0x02d8df48
return address: [0xffa00b62]; contents of:
0xffa00b40: 0171 0174 0172 0175 0166 0140 0167 31c3
0xffa00b50: 0140 017c 017d 017e 0179 0140 017b 6000
0xffa00b60: 3620 [3628] 3630 3638 e108 203c e148 ffe0
0xffa00b70: e109 0fbc e149 ffa0 9341 0023 e108 0b8a
Looks like this was a deferred error - sorry
It might be better to look around here :
-------------------------------------------
ADSP-BF548-0.2 525(MHz CCLK) 131(MHz SCLK) (mpu off)
Linux version 3.5.0-ADI-2012R1-pre-00816-gbffd254 (test@uclinux61-bf548-std) (gcc version 4.3.5 (ADI-2012R1-RC2) ) #36 Wed Aug 15 14:44:58 CST 2012
SEQUENCER STATUS: Not tainted
SEQSTAT: 0000e000 IPEND: 2d8095e IMASK: ffff SYSCFG: 0006
Global Interrupts Disabled (IPEND[4])
EXCAUSE : 0x0
physical IVG2 asserted : <0xffa00dd8> { _evt_nmi + 0x0 }
physical IVG3 asserted : <0xffa00774> { _trap + 0x0 }
interrupts disabled
physical IVG6 asserted : <0xffa00ddc> { _evt_timer + 0x0 }
physical IVG8 asserted : <0xffa00e54> { _evt_evt8 + 0x0 }
physical IVG11 asserted : <0xffa00f08> { _evt_evt11 + 0x0 }
logical irq 6 mapped : <0xffa003b4> { _bfin_coretmr_interrupt + 0x0 }
logical irq 9 mapped : <0x000d9964> { _bfin_bf54x_irq_error + 0x0 }
logical irq 14 mapped : <0x0012f330> { _bfin_rtc_interrupt + 0x0 }
logical irq 48 mapped : <0x000e5974> { _bfin_serial_dma_rx_int + 0x0 }
logical irq 49 mapped : <0x000e5790> { _bfin_serial_dma_tx_int + 0x0 }
logical irq 52 mapped : <0x00131ad4> { _bfin_twi_interrupt_entry + 0x0 }
logical irq 53 mapped : <0x00131ad4> { _bfin_twi_interrupt_entry + 0x0 }
logical irq 68 mapped : <0x0010f488> { _bfin_ata_interrupt + 0x0 }
logical irq 74 mapped : <0x0013c460> { _sdh_dma_irq + 0x0 }
logical irq 76 mapped : <0x0012c888> { _bfin_kpad_isr + 0x0 }
logical irq 79 mapped : <0x0013c8e4> { _sdh_stat_irq + 0x0 }
logical irq 175 mapped : <0x00129440> { _smsc911x_irqhandler + 0x0 }
RETE: <0x00000000> /* Maybe null pointer? */
RETN: <0x02d76000> /* kernel dynamic memory (maybe user-space) */
RETX: <0x02d81a38> /* kernel dynamic memory (maybe user-space) */
RETS: <0x02d81796> /* kernel dynamic memory (maybe user-space) */
PC : <0x02d8095e> /* kernel dynamic memory (maybe user-space) */
PROCESSOR STATE:
R0 : 02d8ace0 R1 : 00000055 R2 : 00000001 R3 : 00000008
R4 : 02d89118 R5 : 00000006 R6 : 02d8adb4 R7 : 02d8ded4
P0 : 00000550 P1 : 02d89154 P2 : ffa10000 P3 : 00000001
P4 : 02d8df4c P5 : 02d8c588 FP : 02d8ded8 SP : 02d75f24
LB0: 02d83057 LT0: 02d83056 LC0: 00000000
LB1: 02d8397f LT1: 02d83978 LC1: 00000000
B0 : 00000000 L0 : 00000000 M0 : 00000004 I0 : 02d8da90
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 02d89000
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 : 02d8dcf0 ASTAT: 02001004
-------------------------------------------
ADSP-BF548-0.2 525(MHz CCLK) 131(MHz SCLK) (mpu off)
Linux version 3.5.0-ADI-2012R1-pre-00816-gbffd254 (test@uclinux61-bf548-std) (gcc version 4.3.5 (ADI-2012R1-RC2) ) #36 Wed Aug 15 14:44:58 CST 2012
SEQUENCER STATUS: Not tainted
SEQSTAT: 0000e03f IPEND: 8030 IMASK: ffff SYSCFG: 0006
Global Interrupts Disabled (IPEND[4])
HWERRCAUSE: 0x3
EBIU Error Reason : 0x0008
EBIU Error Address : 0xffa10000
EXCAUSE : 0x3f
interrupts disabled
physical IVG5 asserted : <0xffa00cc0> { _evt_ivhw + 0x0 }
physical IVG15 asserted : <0xffa00b08> { _schedule_and_signal + 0x0 }
logical irq 6 mapped : <0xffa003b4> { _bfin_coretmr_interrupt + 0x0 }
logical irq 9 mapped : <0x000d9964> { _bfin_bf54x_irq_error + 0x0 }
logical irq 14 mapped : <0x0012f330> { _bfin_rtc_interrupt + 0x0 }
logical irq 48 mapped : <0x000e5974> { _bfin_serial_dma_rx_int + 0x0 }
logical irq 49 mapped : <0x000e5790> { _bfin_serial_dma_tx_int + 0x0 }
logical irq 52 mapped : <0x00131ad4> { _bfin_twi_interrupt_entry + 0x0 }
logical irq 53 mapped : <0x00131ad4> { _bfin_twi_interrupt_entry + 0x0 }
logical irq 68 mapped : <0x0010f488> { _bfin_ata_interrupt + 0x0 }
logical irq 74 mapped : <0x0013c460> { _sdh_dma_irq + 0x0 }
logical irq 76 mapped : <0x0012c888> { _bfin_kpad_isr + 0x0 }
logical irq 79 mapped : <0x0013c8e4> { _sdh_stat_irq + 0x0 }
logical irq 175 mapped : <0x00129440> { _smsc911x_irqhandler + 0x0 }
RETE: <0x00000000> /* Maybe null pointer? */
RETN: <0x02d76000> /* kernel dynamic memory (maybe user-space) */
RETX: <0x02d81a38> /* kernel dynamic memory (maybe user-space) */
RETS: <0x02d81796> /* kernel dynamic memory (maybe user-space) */
PC : <0xffa00b62> { _schedule_and_signal + 0x5a }
PROCESSOR STATE:
R0 : 00000000 R1 : 00000055 R2 : 00000001 R3 : 00000008
R4 : 02d89118 R5 : 00000006 R6 : 02d8adb4 R7 : 02d8ded4
P0 : 00000550 P1 : 02d89154 P2 : ffa10000 P3 : 00000001
P4 : 02d8df4c P5 : 02d8c588 FP : 02d8ded8 SP : 02d75e48
LB0: 02d83057 LT0: 02d83056 LC0: 00000000
LB1: 02d8397f LT1: 02d83978 LC1: 00000000
B0 : 00000000 L0 : 00000000 M0 : 00000004 I0 : 02d8da90
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 02d89000
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 : 02d8dcf0 ASTAT: 02001004
Hardware Trace:
0 Target : <0x00004068> { _trap_c + 0x0 }
Source : <0xffa00d6a> { _evt_ivhw + 0xaa } CALL pcrel
1 Target : <0xffa00d4c> { _evt_ivhw + 0x8c }
Source : <0xffa00d3e> { _evt_ivhw + 0x7e } IF !CC JUMP pcrel
2 Target : <0xffa00cc0> { _evt_ivhw + 0x0 }
FAULT : <0xffa00b60> { _schedule_and_signal + 0x58 } 0x3620
3 Target : <0xffa00b08> { _schedule_and_signal + 0x0 }
Source : <0xffa00dd6> { _evt_ivhw + 0x116 } RTI
4 Target : <0xffa00d82> { _evt_ivhw + 0xc2 }
Source : <0xffa00a46> { _ret_from_exception + 0x66 } RTS
5 Target : <0xffa009e0> { _ret_from_exception + 0x0 }
Source : <0xffa00d7e> { _evt_ivhw + 0xbe } JUMP.L
6 Target : <0xffa00d6e> { _evt_ivhw + 0xae }
Source : <0x00004192> { _trap_c + 0x12a } RTS
Kernel Stack
Stack info:
SP: [0x02d75df0] <0x02d75df0> /* kernel dynamic memory (maybe user-space) */
Memory from 0x02d75df0 to 02d76000
02d75df0:[02d8ded8] 00017e64 024bf8f8 02a864e4 02a862e0 02d75e7c 00000000 00000007
02d75e10: 00000000 00000000 00000000 00000000 00000001 ffa00d6e 02d8c588 02d8ded4
02d75e30: 02d8adb4 00000006 02d89118 02d75e7c 00000013 02d8dcf0 02d81a38 00008030
02d75e50: 0000e03f 00000000 02d76000 02d81a38 ffa00b62 <02d81796> 00000000 02001004
02d75e70: 02d8397f 02d83057 02d83978 02d83056 00000000 00000000 00000000 00000000
02d75e90: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02d75eb0: 00000000 00000000 00000000 00000000 00000000 00000004 00000000 00000000
02d75ed0: 02d89000 02d8da90 02d8dcf0 02d8ded8 02d8c588 02d8df4c 00000001 ffa10000
02d75ef0: 02d89154 00000550 02d8ded4 02d8adb4 00000006 02d89118 00000008 00000001
02d75f10: 00000055 00000000 00000000 00000550 00000006 02d8095e 02d8095e 0000e000
02d75f30: 00000000 02d76000 02d81a38 02d8095e <02d81796> 02d8ace0 02001004 02d8397f
02d75f50: 02d83057 02d83978 02d83056 00000000 00000000 00000000 00000000 00000000
02d75f70: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
02d75f90: 00000000 00000000 00000000 00000000 00000004 00000000 00000000 02d89000
02d75fb0: 02d8da90 02d8dcf0 02d8ded8 02d8c588 02d8df4c 00000001 ffa10000 02d89154
02d75fd0: 00000550 02d8ded4 02d8adb4 00000006 02d89118 00000008 00000001 00000055
02d75ff0: 02d8ace0 02d8ace0 00000550 00000006
Return addresses in stack:
address : <0x02d81796> /* kernel dynamic memory (maybe user-space) */
address : <0x02d81796> /* kernel dynamic memory (maybe user-space) */
Modules linked in:
Kernel panic - not syncing: Kernel exception
U-Boot 2011.09-00244-gfec3c97-dirty (ADI-2012R1-pre) (Jul 23 2012 - 06:45:39)
CPU: ADSP bf548-0.0 (Detected Rev: 0.2) (parallel flash boot)
Board: ADI BF548 EZ-Kit board
Support: http://blackfin.uclinux.org/
Clock: VCO: 525 MHz, Core: 525 MHz, System: 131.250 MHz
RAM: 64 MiB
Flash: 16 MiB
NAND: 256 MiB
MMC: Blackfin SDH: 0
In: serial
Out: serial
Err: serial
KGDB: [on serial] ready
Net: smc911x-0
Hit any key to stop autoboot: 0
smc911x: detected LAN9218 controller
smc911x: phy initialized
smc911x: MAC 00:e0:22:fe:bf:4e
Using smc911x-0 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 = 5396046 (52564e hex)
## Booting kernel from Legacy Image at 01000000 ...
Image Name: bf548-0.2-3.5.0-ADI-2012R1-pre-0
Created: 2012-08-15 6:45:06 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 5395982 Bytes = 5.1 MiB
Load Address: 00001000
Entry Point: 00291f30
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 00291f30
Linux version 3.5.0-ADI-2012R1-pre-00816-gbffd254 (test@uclinux61-bf548-std) (gcc version 4.3.5 (ADI-2012R1-RC2) ) #36 Wed Aug 15 14:44:58 CST 2012
register early platform devices
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart1] enabled
early printk enabled on early_BFuart1
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x001bcda8
rodata = 0x001bcda8-0x00251ac0
bss = 0x00252000-0x002646a8
data = 0x002646c0-0x00288000
stack = 0x00286000-0x00288000
init = 0x00288000-0x009f3000
available = 0x009f3000-0x03e00000
DMA Zone = 0x03e00000-0x04000000
Hardware Trace active and enabled
Boot Mode: 1
Recovering from Watchdog event
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF548 Rev 0.2
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 525 MHz core clock and 131 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
External memory: cacheable in instruction cache
L2 SRAM : uncacheable in instruction cache
Data Cache Enabled for CPU0
External memory: cacheable (write-through) in data cache
L2 SRAM : uncacheable in data cache
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 15748
Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF1,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf548-ezkit: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: 52692k/65536k RAM, (7596k init code, 1775k kernel code, 813k data, 2048k dma, 612k reserved)
NR_IRQS:295
Configuring Blackfin Priority Driven Interrupts
Šconsole [ttyBF1] enabled, bootconsole disabledrly
console [ttyBF1] enabled, bootconsole disabled
Calibrating delay loop... 1044.48 BogoMIPS (lpj=2088960)
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 (41 KB free)
Blackfin L2 SRAM: 128 KB (128 KB free)
NET: Registered protocol family 16
Blackfin DMA Controller
ezkit_init(): registering device resources
bio: create slab <bio-0> at 0
SCSI subsystem initialized
bfin-spi bfin-spi.0: master is unqueued, this is deprecated
spi spi0.2: Warning: SPI CPHA not set: Slave Select not under software control!
See Documentation/blackfin/bfin-spi-notes.txt
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs@ffc00500, dma channel@4
bfin-spi bfin-spi.1: master is unqueued, this is deprecated
bfin-spi bfin-spi.1: Blackfin on-chip SPI Controller Driver, Version 1.0, regs@ffc02300, dma channel@5
i2c-bfin-twi i2c-bfin-twi.0: Blackfin on-chip I2C TWI Contoller, regs_base@ffc00700
i2c-bfin-twi i2c-bfin-twi.1: Blackfin on-chip I2C TWI Contoller, regs_base@ffc02200
Advanced Linux Sound Architecture Driver Version 1.0.25.
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 102
io scheduler noop registered (default)
bf54x-lq043: FrameBuffer initializing...
dma_alloc_init: dma_page @ 0x029f7000 - 512 pages at 0x03e00000
bfin-uart: Blackfin serial driver
bfin-uart.1: ttyBF1 at MMIO 0xffc02000 (irq = 48) is a BFIN-UART
bfin-otp: initialized
brd: module loaded
register bfin atapi driver
scsi0 : pata-bf54x
ata1: PATA max UDMA/66 irq 68
physmap platform flash device: 02000000 at 20000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x00881e
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Using buffer write method
Using auto-unlock on power-up/resume
cfi_cmdset_0001: Erase suspend on write enabled
Creating 5 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000080000 : "bootloader(nor)"
0x000000080000-0x000000480000 : "linux kernel(nor)"
0x000000480000-0x000000fe0000 : "file system(nor)"
0x000000fe0000-0x000000ff8000 : "config(nor)"
0x000000ff8000-0x000001000000 : "u-boot env(nor)"
m25p80 spi0.1: m25p16 (2048 Kbytes)
Creating 2 MTD partitions on "m25p80":
0x000000000000-0x000000080000 : "bootloader(spi)"
0x000000080000-0x000000200000 : "linux kernel(spi)"
ata1.00: ATA-7: FUJITSU MHW2040AT, 0000000B, max UDMA/100
ata1.00: 78140160 sectors, multi 16: LBA
BF5xx on-chip NAND FLash Controller Driver, Version 1.2 (c) 2007 Analog Devices, Inc.
bf5xx-nand bf5xx-nand.0: data_width=8, wr_dly=3, rd_dly=3
NAND device: Manufacturer ID: 0x20, Chip ID: 0xda (ST Micro NAND 256MiB 3,3V 8-bit), page size: 2048, OOB size: 64
ata1.00: configured for UDMA/66
scsi 0:0:0:0: Direct-Access ATA FUJITSU MHW2040A 0000 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 78140160 512-byte logical blocks: (40.0 GB/37.2 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Creating 3 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x000000000000-0x000000080000 : "bootloader(nand)"
0x000000080000-0x000000480000 : "linux kernel(nand)"
0x000000480000-0x000010000000 : "file system(nand)"
smsc911x: Driver version 2008-10-21
smsc911x-mdio: probed
smsc911x smsc911x.0: eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=smsc911x-0:01, irq=-1)
smsc911x smsc911x.0: eth0: MAC Address: 00:e0:22:fe:bf:4e
input: bf54x-keys as /devices/platform/bf54x-keys/input/input0
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
i2c /dev entries driver
bfin_wdt: initialized: timeout=20 sec (nowayout=0)
TCP: cubic registered
NET: Registered protocol family 17
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new SD card at address e624
sda: sda1 sda2
sd 0:0:0:0: [sda] Attached SCSI disk
rtc-bfin rtc-bfin: setting system clock to 2004-05-31 13:00:59 UTC (1086008459)
smsc911x smsc911x.0: eth0: SMSC911x/921x identified at 0x24000000, IRQ: 175
IP-Config: Complete:
device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174
host=bf548-ezkit, domain=, nis-domain=(none)
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
ALSA device list:
No soundcards found.
Freeing unused kernel memory: 7596k freed
_____________________________________
a8888b. / Welcome to the uClinux distribution \
d888888b. / _ _ \
8P"YP"Y88 / | | |_| __ __ (TM) |
8|o||o|88 _____/ | | _ ____ _ _ \ \/ / |
8' .88 \ | | | | _ \| | | | \ / |
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| - http://blackfin.uclinux.org/
\ YP" `| 8P `. - http://docs.blackfin.uclinux.org/
/ \.___.d| .' - http://www.uclinux.org/
`--..__)8888P`._.' jgs/a:f - http://www.analog.com/blackfin
Have a lot of fun...
BusyBox v1.18.4 (2012-08-15 13:24:12 CST) hush - the humble shell
root:/>
Last passed time: 2012_Aug_12_03_11.
Uclinux-dist version: 10770.
Kernel verion: , Git-id is not found!
Case 2 ...FAIL
Follow-ups
--- Bob Liu 2012-08-22 04:57:10
can't reproduce
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found