[#6187] Kernel crashed when boot from jffs2 file system with bf561-ezkit SMP
Submitted By: Vivi Li
Open Date
2010-08-16 06:25:44 Close Date
2010-09-14 04:49:41
Priority:
Medium Assignee:
Sonic Zhang
Status:
Closed Fixed In Release:
N/A
Found In Release:
2010R1 Release:
Category:
N/A Board:
EZKIT Lite
Processor:
BF561 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Not reproducible
Uboot version or rev.:
Toolchain version or rev.:
gcc4.3-2010_Aug_04
App binary format:
N/A
Summary: Kernel crashed when boot from jffs2 file system with bf561-ezkit SMP
Details:
Kernel crashed when boot from jffs2 file system with bf561-ezkit SMP.
Last passed version:
--
kernel: Linux release 2.6.34.3-ADI-2010R1-pre-svn9081, build #20 SMP Sat Aug 14 09:49:24 GMT 2010
toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-trunk/svn-4747)
user-dist: release svn-9782, build #240 Sat Aug 14 09:48:45 GMT 2010
--
First failed version:
--
kernel: Linux release 2.6.34.4-ADI-2010R1-pre-svn9082, build #24 SMP Sun Aug 15 12:18:18 GMT 2010
toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-trunk/svn-4747)
user-dist: release svn-9782, build #295 Sun Aug 15 12:17:37 GMT 2010
--
Bellow is the log on 561-ezkit. The steps to flash image on board is attached.
--
bfin> bootm 20040000
## Booting kernel from Legacy Image at 20040000 ...
Image Name: bf561-2.6.34.4-ADI-2010R1-pre-sv
Image Type: Blackfin Linux Kernel Image (uncompressed)
Data Size: 2167144 Bytes = 2.1 MiB
Load Address: 20040040
Entry Point: 201b1ce8
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting Kernel at = 201b1ce8
Linux version 2.6.34.4-ADI-2010R1-pre-svn9082 (test@uclinux65-561-SMP) (gcc version 4.3.5 (ADI-trunk/svn-4747) ) #27 SMP Mon Aug0
register early platform devices
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x20040040-0x201bf2b4
rodata = 0x201bf2c0-0x20221b94
bss = 0x00001000-0x00016d84
data = 0x00016da0-0x0002a000
stack = 0x00028000-0x0002a000
init = 0x0002a000-0x00031000
available = 0x00031000-0x03f00000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace Active and Enabled
Boot Mode: 0
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF561 Rev 0.5
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 600 MHz core clock and 100 MHz System Clock
NOMPU: setting up cplb tables
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
PERCPU: Embedded 6 pages/cpu @000b6000 s3784 r8192 d12600 u65536
pcpu-alloc: s3784 r8192 d12600 u65536 alloc=16*4096
pcpu-alloc: [0] 0 [0] 1
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 16002
Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50 earlyprintk=serial,uart0,57600 console=ttyBF0,57600
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: 63688k/65536k RAM, (28k init code, 1532k kernel code, 4294965928k data, 1024k dma, 632k reserved)
Hierarchical RCU implementation.
NR_IRQS:153
Configuring Blackfin Priority Driven Interrupts
console [ttyBF0] enabled, bootconsole disabled
console [ttyBF0] enabled, bootconsole disabled
Calibrating delay loop... 1142.78 BogoMIPS (lpj=2285568)
Mount-cache hash table entries: 512
CoreB bootstrap code to SRAM ff600000 via DMA.
Booting Core B.
Instruction Cache Enabled for CPU1
External memory: cacheable in instruction cache
L2 SRAM : uncacheable in instruction cache
Data Cache Enabled for CPU1
External memory: cacheable (write-through) in data cache
L2 SRAM : uncacheable in data cache
Brought up 2 CPUs
SMP: Total of 2 processors activated (4.09 BogoMIPS).
Blackfin Scratchpad data SRAM: 4 KB
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (16 KB free)
Blackfin L1 Data A SRAM: 16 KB (16 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 16 KB (15 KB free)
Blackfin L1 Instruction SRAM: 16 KB (15 KB free)
Blackfin L2 SRAM: 128 KB (127 KB free)
NET: Registered protocol family 16
Blackfin DMA Controller
ezkit_init(): registering device resources
bio: create slab <bio-0> at 0
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: 2, 16384 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 128 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
msgmni has been set to 124
io scheduler noop registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 35) is a BFIN-UART
brd: module loaded
smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@fluxnic.net>
eth0: SMC91C11xFD (rev 2) at 2c010300 IRQ 82 [nowait]
eth0: Ethernet addr: 00:e0:22:fe:ba:2a
TCP cubic registered
NET: Registered protocol family 17
eth0: link down
IP-Config: Guessing netmask 255.0.0.0
IP-Config: Complete:
device=eth0, addr=10.100.4.50, mask=255.0.0.0, gw=255.255.255.255,
host=10.100.4.50, domain=, nis-domain=(none),
bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
dma_alloc_init: dma_page @ 0x02185000 - 256 pages at 0x03f00000
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
List of all partitions:
No filesystem could mount root, tried:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Hardware Trace:
0 Target : <0x201a63d4> { _dump_stack + 0x0 }
Source : <0x201a6474> { _panic + 0x5c } CALL (P2)
1 Target : <0x201a646c> { _panic + 0x54 }
Source : <0x201a655e> { _printk + 0x1a } RTS
2 Target : <0x201a655a> { _printk + 0x16 }
Source : <0x2005adcc> { _vprintk + 0x1b8 } RTS
3 Target : <0x2005adc0> { _vprintk + 0x1ac }
Source : <0x2004af6e> { __common_int_entry + 0xf6 } RTI
4 Target : <0x2004af24> { __common_int_entry + 0xac }
Source : <0x2004af20> { __common_int_entry + 0xa8 } IF !CC JUMP pcrel
5 Target : <0x2004aefc> { __common_int_entry + 0x84 }
Source : <0x2004ad04> { _return_from_int + 0x58 } RTS
6 Target : <0x2004ad04> { _return_from_int + 0x58 }
Source : <0x2004acda> { _return_from_int + 0x2e } IF !CC JUMP pcrel
7 Target : <0x2004acac> { _return_from_int + 0x0 }
Source : <0x2004aefa> { __common_int_entry + 0x82 } CALL (P2)
8 Target : <0x2004aef0> { __common_int_entry + 0x78 }
Source : <0x20043d68> { _asm_do_IRQ + 0xb0 } RTS
9 Target : <0x20043d4c> { _asm_do_IRQ + 0x94 }
Source : <0x2005f13e> { __local_bh_enable + 0x3a } RTS
10 Target : <0x2005f104> { __local_bh_enable + 0x0 }
Source : <0x2005fe34> { ___do_softirq + 0x134 } JUMP (P2)
11 Target : <0x2005fe24> { ___do_softirq + 0x124 }
Source : <0x2005fe12> { ___do_softirq + 0x112 } IF CC JUMP pcrel
12 Target : <0x2005fdea> { ___do_softirq + 0xea }
Source : <0x20082678> { _rcu_bh_qs + 0x24 } RTS
13 Target : <0x20082654> { _rcu_bh_qs + 0x0 }
Source : <0x2005fde8> { ___do_softirq + 0xe8 } CALL (P5)
14 Target : <0x2005fdd8> { ___do_softirq + 0xd8 }
Source : <0x2004c3fe> { ___raw_smp_mark_barrier_asm + 0x52 } RTS
15 Target : <0x2004c3f4> { ___raw_smp_mark_barrier_asm + 0x48 }
Source : <0x2004c3aa> { _put_core_lock + 0x1a } RTS
Stack info:
SP: [0x0202bf10] <0x0202bf10> /* kernel dynamic memory (maybe user-space) */
FP: (0x0202bfd0)
Memory from 0x0202bf10 to 0202c000
0202bf10:[201ec5a4]<201a6476> 20111594 201ec5a4 00007b46 00007b46 00007b46 0202bf48
0202bf30:<201a936a> 020c8000 020c8000 201a6544 0202bf54 00006180 0202bf54 0202bf54
0202bf50: 20109498 6e6b6e75 2d6e776f 636f6c62 2c32286b 20002930
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
00200000 <20073278>
0202bf70: 020c8000 00001234 <201a95f8> 0002a410 201107e4 0002a40c 00000002 00000003
0202bf90: 0000001f 20109498 2004c868 0218a820 <201a887c> 200a6288 2004c868 0002a000
0202bfb0:<201a8896> 200a6288 2004c868 000177d8 00000000 00000002 00000003 0000c434
0202bfd0:(00000000)<200406e6> 00000000 00000000 00000000 00000000 00000000 00000000
0202bff0: 00000000 00000000 ffffffff 00000006
Return addresses in stack:
address : <0x201a6476> { _panic + 0x5e }
address : <0x201a936a> { _mount_block_root + 0x182 }
address : <0x20073278> { _prepare_creds + 0x64 }
address : <0x201a95f8> { _prepare_namespace + 0xec }
address : <0x201a887c> { _kernel_init + 0x19c }
address : <0x201a8896> { _kernel_init + 0x1b6 }
frame 1 : <0x200406e6> { _kernel_thread_helper + 0x6 }
CPU1: stopping
Hardware Trace:
0 Target : <0x201a63d4> { _dump_stack + 0x0 }
Source : <0x2004bca8> { _ipi_handler_int1 + 0x12c } CALL (P2)
1 Target : <0x2004bca0> { _ipi_handler_int1 + 0x124 }
Source : <0x201a655e> { _printk + 0x1a } RTS
2 Target : <0x201a655a> { _printk + 0x16 }
Source : <0x2005adcc> { _vprintk + 0x1b8 } RTS
3 Target : <0x2005adc0> { _vprintk + 0x1ac }
Source : <0x2005ad96> { _vprintk + 0x182 } IF CC JUMP pcrel
4 Target : <0x2005ad8e> { _vprintk + 0x17a }
Source : <0x2005af62> { _vprintk + 0x34e } JUMP.S
5 Target : <0x2005af62> { _vprintk + 0x34e }
Source : <0x2005a954> { _release_console_sem + 0x234 } RTS
6 Target : <0x2005a94c> { _release_console_sem + 0x22c }
Source : <0x2005a922> { _release_console_sem + 0x202 } IF CC JUMP pcrel
7 Target : <0x2005a910> { _release_console_sem + 0x1f0 }
Source : <0x201a832c> { __raw_spin_unlock_irqrestore + 0x48 } RTS
8 Target : <0x201a8326> { __raw_spin_unlock_irqrestore + 0x42 }
Source : <0x201a82fc> { __raw_spin_unlock_irqrestore + 0x18 } IF CC JUMP pcrel (BP)
9 Target : <0x201a82f6> { __raw_spin_unlock_irqrestore + 0x12 }
Source : <0x2004c56a> { ___raw_spin_unlock_asm + 0x16 } RTS
10 Target : <0x2004c568> { ___raw_spin_unlock_asm + 0x14 }
Source : <0x2004c3aa> { _put_core_lock + 0x1a } RTS
11 Target : <0x2004c390> { _put_core_lock + 0x0 }
Source : <0x2004c4da> { _end_lock_coherent + 0x20 } JUMP.S
12 Target : <0x2004c4ba> { _end_lock_coherent + 0x0 }
Source : <0x2004c564> { ___raw_spin_unlock_asm + 0x10 } CALL pcrel
13 Target : <0x2004c55c> { ___raw_spin_unlock_asm + 0x8 }
Source : <0x2004c35c> { _get_core_lock + 0x40 } RTS
14 Target : <0x2004c340> { _get_core_lock + 0x24 }
Source : <0x2004c330> { _get_core_lock + 0x14 } IF CC JUMP pcrel
15 Target : <0x2004c31c> { _get_core_lock + 0x0 }
Source : <0x2004c558> { ___raw_spin_unlock_asm + 0x4 } JUMP.L
Stack info:
SP: [0x0204be28] <0x0204be28> /* kernel dynamic memory */
Memory from 0x0204be20 to 0204c000
0204be20: 0204be28 201a836c [0000003f]<2004bcaa> 00000004 0000003f 0000e264 00000001
0204be40: 0000001f 00000001 00000000 2004c7fc <2007fa7e> 02008ae0 20056b04 2004c868
0204be60: 00000046 00000000 00000000 00000046 00000100 <2005fdd8> 00000001 201a66e8
0204be80:<200814bc> 0001bda0 0000e264 ffe05000 00000046 00000000 0000001f 0000c430
0204bea0:<2005fc9a> ffe05000 00000006 <20043d80> 0002ff00 00000046 00000006 00000000
0204bec0: 0000001f <2004aef0> ffc00014 2004c868 0204a008 20040f78 ffc00014 2004c868
0204bee0: 0204a008 20040fc4 00008090 00000026 00000000 00000000 00000000 20040fc4
0204bf00:<20040f92> 00000007 02002060 200960a2 20110910 2009609c 201108f0 00000000
0204bf20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0204bf40: 0000ffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0204bf60: 0000002c 201c8f4c 0000001f 02053e80 000260bc 0204c000 201a66e8 20040f78
0204bf80: 2004c868 ffe05000 00003070 0000000e 0204a000 0204a008 20040f78 0000001f
0204bfa0: 0000c430 00000004 0000001f 00003000 0000ffff 0000ffff 0204a000 00000006
0204bfc0: 00000000 00000000 0204a000 <20040f5c> ffffffc0 <201a453e> 00003070 0204c000
0204bfe0: 201b253a 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Return addresses in stack:
address : <0x2004bcaa> { _ipi_handler_int1 + 0x12e }
address : <0x2007fa7e> { _handle_IRQ_event + 0x6a }
address : <0x2005fdd8> { ___do_softirq + 0xd8 }
address : <0x200814bc> { _handle_percpu_irq + 0x3c }
address : <0x2005fc9a> { _irq_enter + 0x1e }
address : <0x20043d80> { _asm_do_IRQ + 0xc8 }
address : <0x2004aef0> { __common_int_entry + 0x78 }
address : <0x20040f92> { _default_idle + 0x1a }
address : <0x20040f5c> { _cpu_idle + 0x68 }
address : <0x201a453e> { _secondary_start_kernel + 0x11e }
--
Follow-ups
--- Vivi Li 2010-09-14 04:49:41
Not reproducible in latest trunk.
Close it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
flash_images_log application/octet-stream 3735 Vivi Li
config.config.jffs2 application/octet-stream 48823 Vivi Li
config.linux.jffs2 application/octet-stream 28293 Vivi Li