FAQ: [#7085] 561 board with SMP enabled kernel fails to boot up to shell prompt(2012)

Document created by Aaronwu Employee on Sep 12, 2013
Version 1Show Document
  • View in full screen mode

[#7085] 561 board with SMP enabled kernel fails to boot up to shell prompt

Submitted By: Mingquan Pan

Open Date

2012-04-28 03:08:31     Close Date

2012-04-28 03:09:15

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

BF561     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Assigned (Not Start)

Uboot version or rev.:

    Toolchain version or rev.:

ADI-trunk/svn-5764

App binary format:

N/A     

Summary: 561 board with SMP enabled kernel fails to boot up to shell prompt

Details:

 

561 board with SMP enabled kernel fails to boot up to shell prompt.

 

Starting Kernel at = 001c9154

Linux version 3.2.0-ADI-2012R1-pre-00357-g70d3ceb (test@uclinux65-561-SMP) (gcc version 4.3.5 (ADI-trunk/svn-5764) ) #198 SMP Thu Apr 12 20:20:37 GMT 2012

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      = 0x00001000-0x0013eaa8

  rodata    = 0x0013eac0-0x0019bf70

  bss       = 0x0019c000-0x001ad3b8

  data      = 0x001ad3c0-0x001c2000

    stack   = 0x001c0000-0x001c2000

  init      = 0x001c2000-0x00778000

  available = 0x00778000-0x03f00000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace active and enabled

Boot Mode: 0

Reset caused by Software reset

Blackfin support (C) 2004-2010 Analog Devices, Inc.

Compiled for ADSP-BF561 Rev 0.5

Blackfin Linux support by http://blackfin.uclinux.org/

 

 

...

  available = 0x00781000-0x03f00000^M

  DMA Zone  = 0x03f00000-0x04000000^M

Hardware Trace active and enabled^M

Boot Mode: 0^M

Reset caused by Software reset^M

Blackfin support (C) 2004-2010 Analog Devices, Inc.^M

Compiled for ADSP-BF561 Rev 0.5^M

Blackfin Linux support by http://blackfin.uclinux.org/^M

Processor Speed: 600 MHz core clock and 100 MHz System Clock^M

NOMPU: setting up cplb tables^M

NOMPU: setting up cplb tables^M

Instruction Cache Enabled for CPU0^M

  External memory: cacheable in instruction cache^M

  L2 SRAM        : uncacheable in instruction cache^M

Data Cache Enabled for CPU0^M

  External memory: cacheable (write-through) in data cache^M

  L2 SRAM        : uncacheable in data cache^M

PERCPU: Embedded 7 pages/cpu @00806000 s4768 r8192 d15712 u32768^M

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 16002^M

Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50 earlyprintk=serial,uart0,57600 console=ttyBF0,57600^M

PID hash table entries: 256 (order: -2, 1024 bytes)^M

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)^M

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)^M

Memory available: 56188k/65536k RAM, (5860k init code, 1290k kernel code, 530k data, 1024k dma, 644k reserved)^M

Hierarchical RCU implementation.^M

NR_IRQS:153^M

Configuring Blackfin Priority Driven Interrupts^M

start_kernel(): bug: interrupts were enabled early^M

console [ttyBF0] enabled, bootconsole disabled^M

console [ttyBF0] enabled, bootconsole disabled^M

Calibrating delay loop... 1185.79 BogoMIPS (lpj=2371584)^M

pid_max: default: 32768 minimum: 301^M

Mount-cache hash table entries: 512^M

Booting Core B.^M

Brought up 2 CPUs

Double Fault

While handling exception (EXCAUSE = 0x0) at <0x00000000> /* Maybe null pointer? */:

   DCPLB_FAULT_ADDR: <0x00000000> /* Maybe null pointer? */

   ICPLB_FAULT_ADDR: <0x00000000> /* Maybe null pointer? */

The instruction at <0x0000ae2e> { _ex_trap_c + 0x7e } caused a double exception

Kernel panic - not syncing: Double Fault - unrecoverable event

Hardware Trace:

   0 Target : <0x000044ec> { _double_fault_c + 0x0 }

     Source : <0x0000aed4> { _double_fault + 0x9c } CALL pcrel

   1 Target : <0x0000ae38> { _double_fault + 0x0 }

     Source : <0x0000ad78> { _bfin_return_from_exception + 0x18 } IF CC JUMP pcrel

   2 Target : <0x0000ad60> { _bfin_return_from_exception + 0x0 }

     Source : <0x0000ae34> { _ex_trap_c + 0x84 } JUMP.S

   3 Target : <0x0000adb0> { _ex_trap_c + 0x0 }

     Source : <0x0000b0b0> { _trap + 0xb4 } JUMP (P4)

   4 Target : <0x0000b056> { _trap + 0x5a }

     Source : <0x0000b052> { _trap + 0x56 } IF CC JUMP pcrel

   5 Target : <0x0000b032> { _trap + 0x36 }

     Source : <0x0000b020> { _trap + 0x24 } IF CC JUMP pcrel

   6 Target : <0x0000affc> { _trap + 0x0 }

     Source : <0x0013a7d4> { _bfin_dcache_init + 0x38 } SSYNC

   7 Target : <0x0013a79c> { _bfin_dcache_init + 0x0 }

     Source : <0x0013a714> { _bfin_setup_caches + 0x24 } JUMP.L

   8 Target : <0x0013a70a> { _bfin_setup_caches + 0x1a }

     Source : <0x0013a816> { _bfin_icache_init + 0x3a } RTS

   9 Target : <0x0013a7dc> { _bfin_icache_init + 0x0 }

     Source : <0x0013a706> { _bfin_setup_caches + 0x16 } JUMP.L

  10 Target : <0x0013a6f0> { _bfin_setup_caches + 0x0 }

     Source : <0x0013a9b4> { _secondary_start_kernel + 0xec } JUMP.L

  11 Target : <0x0013a9b2> { _secondary_start_kernel + 0xea }

     Source : <0x0000b5ee> { __common_int_entry + 0xea } RTI

  12 Target : <0x0000b57c> { __common_int_entry + 0x78 }

     Source : <0x0000b398> { _return_from_int + 0x58 } RTS

  13 Target : <0x0000b398> { _return_from_int + 0x58 }

     Source : <0x0000b36e> { _return_from_int + 0x2e } IF !CC JUMP pcrel

  14 Target : <0x0000b340> { _return_from_int + 0x0 }

     Source : <0x0000b578> { __common_int_entry + 0x74 } JUMP.L

  15 Target : <0x0000b576> { __common_int_entry + 0x72 }

     Source : <0x00004ba6> { _asm_do_IRQ + 0xa6 } RTS

Stack info:

SP: [0x02051de0] <0x02051de0> /* kernel dynamic memory (maybe user-space) */

FP: (0x02051eb4)

Memory from 0x02051de0 to 02052000

02051de0:[0016d928] 0013cc08  0019e064  0016d928  001a29a8  001a29a8  001a29a8  02051e28

02051e00: 02052000  0000455e  0019e064  02051e30  02051ee8  0000003f  0000ae2e  0000100d

02051e20: 0000ae2e  00805140  0000003f  0000001f  3078303c  61303030  3e653265  5f207b20

02051e40: 745f7865  5f706172  202b2063  65377830  20007d20  00002f2a  00000046  ffffffc0

02051e60: 00000046  00000001  00000001  0000c400  86ffa82b  03954c4b  ae75f6b2  df77a4eb

02051e80: d93102b2  00000001  00042b96  ffe05000  001b3a80  001ae8bc  00000046  00000000

02051ea0: 00003c28  0000ae2e  001b3a80  20d73683  7d634ab0 (02052000)<000405b6> 00776a8c

02051ec0: 001a8e00  00000001  0000aed8  4d732878  ee617772  001e297c  2c32086e  4bd052ba

02051ee0: 00039c44  0000b576  0013a9b2  00008008  00060025  00000000  02051fc4  0000ae2e

02051f00: 0000ae2e  0013a718  0000100f  65762078  0013a7be  000add60  0013a7b2  000add40

02051f20: 00000000  00000000  00000f5a  00000000  0249f000  00000000  020e87d4  00000000

02051f40: 00000000  0000001b  00000000  00000000  00000000  00000000  00000000  00000000

02051f60: 00000000  ffffffff  0000000f  00000000  001a4cdc  00000000  02052000  02052000

02051f80: 4d732878  ee617772  001e297c  ffe00004  ffe00140  001a2418  2c32086e  756e694c

02051fa0: 0000100d  0000ae2e  00000000  00000001  0000100e  0000100f  0000100f  001a2418

02051fc0: 00000006  ffe05000  0019e000  00000001  ffffffc0  0000ffff  0013a9b8  00000001

02051fe0: 00000000  ffe00000  000000c8  001e297c  001c9792  ffe00000  000000c8  00003b60

Return addresses in stack:

   frame  1 : <0x000405b6> { _generic_handle_irq + 0x2a }

CPU0: stopping

Hardware Trace:

   0 Target : <0x0013cb7c> { _dump_stack + 0x0 }

     Source : <0x0000c788> { _ipi_handler_int1 + 0xf8 } CALL pcrel

   1 Target : <0x0000c788> { _ipi_handler_int1 + 0xf8 }

     Source : <0x0013cd60> { _printk + 0x14 } RTS

   2 Target : <0x0013cd5c> { _printk + 0x10 }

     Source : <0x0001a1f0> { _vprintk + 0x194 } RTS

   3 Target : <0x0001a1e4> { _vprintk + 0x188 }

     Source : <0x0001a1c2> { _vprintk + 0x166 } IF CC JUMP pcrel

   4 Target : <0x0001a1ba> { _vprintk + 0x15e }

     Source : <0x0001a37c> { _vprintk + 0x320 } JUMP.S

   5 Target : <0x0001a37c> { _vprintk + 0x320 }

     Source : <0x00019d76> { _console_unlock + 0x22a } RTS

   6 Target : <0x00019d6e> { _console_unlock + 0x222 }

     Source : <0x00019d44> { _console_unlock + 0x1f8 } IF CC JUMP pcrel

   7 Target : <0x00019d2e> { _console_unlock + 0x1e2 }

     Source : <0x0013ea02> { __raw_spin_unlock_irqrestore + 0x3a } RTS

   8 Target : <0x0013e9fc> { __raw_spin_unlock_irqrestore + 0x34 }

     Source : <0x0013e9da> { __raw_spin_unlock_irqrestore + 0x12 } IF CC JUMP pcrel (BP)

   9 Target : <0x0013e9d4> { __raw_spin_unlock_irqrestore + 0xc }

     Source : <0x0000d11e> { ___raw_spin_unlock_asm + 0x16 } RTS

  10 Target : <0x0000d11c> { ___raw_spin_unlock_asm + 0x14 }

     Source : <0x0000cf5e> { _put_core_lock + 0x1a } RTS

  11 Target : <0x0000cf44> { _put_core_lock + 0x0 }

     Source : <0x0000d08e> { _end_lock_coherent + 0x20 } JUMP.S

  12 Target : <0x0000d06e> { _end_lock_coherent + 0x0 }

     Source : <0x0000d118> { ___raw_spin_unlock_asm + 0x10 } CALL pcrel

  13 Target : <0x0000d110> { ___raw_spin_unlock_asm + 0x8 }

     Source : <0x0000cf10> { _get_core_lock + 0x40 } RTS

  14 Target : <0x0000cef4> { _get_core_lock + 0x24 }

     Source : <0x0000cee4> { _get_core_lock + 0x14 } IF CC JUMP pcrel

  15 Target : <0x0000ced0> { _get_core_lock + 0x0 }

     Source : <0x0000d10c> { ___raw_spin_unlock_asm + 0x4 } JUMP.L

Stack info:

SP: [0x0202dc14] <0x0202dc14> /* kernel dynamic memory (maybe user-space) */

Memory from 0x0202dc10 to 0202e000

0202dc10: 0000003f [00000046] 0000c78c  007fd140  00000046  00003696  00000000  0000001f

0202dc30: ffe02104 <000409de> 02008ae0  00000046  ffffffc0  00000046  0202de3c  00000000

0202dc50: 00000000  00000001  00800404  00000001  0004b204  00000000  00000000  00042b96

0202dc70: ffe05000  001b3a80  001ae8bc  00000046  0202de3c  00000018  0202df30  001b3a80

0202dc90: 0000eee8  001bdd40  0019e000 <000405b6> 00776a8c  001a8e00  00000000  03567e00

0202dcb0: 003d0900  00004b42  00004bae  00000000  001be7c0  001be7c4  0000b576  ffc00014

0202dcd0: 001a8e00  0202c000  00000006  00000002  00000000  00000001  00000000  0001e780

0202dcf0: 0000c090  00002026  00000000  00000000  00000000  0001e780  00004b88  00000007

0202dd10: 02002001  000161ca  000ada24  000161a2  000ada22  00000000  00000000  00000000

0202dd30: 00000000  00000000  00000000  00000000  00000000  ffffff55  00000001  00000000

0202dd50: 00000000  00000000  00000000  00000000  00000000  00000000  00000001  001a8a20

0202dd70: 0013fcb4  0013fcb4  000003ff  00000000  0019e000  00000000  001a8e00  0202c000

0202dd90: 0019e000  ffe05000  001a72c0  00000006  00000002  00000018  0202df30  0202ddc8

0202ddb0: 00000100  0202c000  0000ffff  0000ffff  001a72c0  00000006  001ae860  00000006

0202ddd0: 00000000  00000018  0202df30  001b1280  0000000a  00000000  001af2c4  00004b88

0202ddf0: 00776a8c  001a8e00  00000000  00000006  00000000  00000018  0202df30  00000000

0202de10: 000ac8ba  0202de50  0000b576  ffc00014  001b0c1c  001a6ea1  00000003  00000003

0202de30: 00000000  00000000  0013e9d4  0001a1e4  00008050  00002026  00000000  00000000

0202de50: 00000000  0001a1e4  0001a37c  00000006  02002001  000ac77e  000ada24  000ac774

0202de70: 000ada22  00000000  00000000  00000000  00000000  00000000  00000000  00000000

0202de90: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

0202deb0: 00000000  00000000  0202fc40  00000000  00000000  00173a94  0202df2c  00000000

0202ded0: 001af2c4  001a6e8f  001b0c1c  001a6ea1  0019e000  0019e000  feb00000  00000003

0202def0: 00000003  00000018  0202df30  001a2dd4  0000001f  0000ffff  0000ffff  0000ffff

0202df10: feb00000  00000006  0019e000  00000001  ffffffef  0202dfac  0000ffff  00000000

0202df30: 00000001  00000001  00000001  00000001  0013df02  00000000  ffffffff  00000000

0202df50: 0013b218  001a72a0  00000000  00000000  feb00000  001af2f4  00000001  00000006

0202df70: 00000003  00000000  0013cd5c  001a72a0  001b0c1c  001b0c18  00000002  00000003

0202df90: 0000001f  001a72a4  00000000  00000000  001cbb3e  001cbb58  00000000  00000002

0202dfb0: 00000003  001c214e  001da2dc  001da2dc  00000000  0202c000  00000000  00000000

0202dfd0: 00000000  00000000  00000000  00000002 <0000173e> 00000000  00000000  00000000

0202dff0: 00000000  00000000  ffffffff  00000006

Return addresses in stack:

    address : <0x000409de> { _handle_irq_event_percpu + 0x32 }

    address : <0x000405b6> { _generic_handle_irq + 0x2a }

    address : <0x0000173e> { _kernel_thread_helper + 0x6 }

 

 

Last passed time: 2012_Mar_13_04_18.

Uclinux-dist version: 10648.

Kernel verion: , Git-id is not found!

 

 

Follow-ups

 

--- Mingquan Pan                                             2012-04-28 04:04:48

dup. Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes