Article [#6281] Kernel panic with the image built in shared-flat format(2010)

[#6281] Kernel panic with the image built in shared-flat format

Submitted By: Aaron Wu

Open Date

2010-09-29 21:15:38     Close Date

2010-10-24 23:56:43

Priority:

Low     Assignee:

Sonic Zhang

Aaron Wu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

2010R1

Category:

N/A     Board:

STAMP

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Assigned (Not Start)

Uboot version or rev.:

    Toolchain version or rev.:

09r1.1-2

App binary format:

N/A     

Summary: Kernel panic with the image built in shared-flat format

Details:

How to reproduce:

1)2010R1 uClinux distribution, customize library and applicaiton-->build option-->binary format to shared-flat, then build

2)Load the built image into bf537 stamp board and run

Log information:

egistered protocol family 17

P-Config: Complete:tting system clock to 1970-01-04 04:47:14 UTC (276434)

     device=eth0, addr=10.99.29.108, mask=255.255.255.0, gw=10.99.29.1,

     host=bf537-stamp, domain=, nis-domain=(none),

     bootserver=10.99.29.113, rootserver=10.99.29.113, rootpath=

dma_alloc_init: dma_page @ 0x02831000 - 256 pages at 0x03f00000

Freeing unused kernel memory: 6336k freed

BINFMT_FLAT: reloc outside program 0x10299f0 (0 - 0x14320/0x2500), killing init!

Failed to execute /init

Kernel panic - not syncing: No init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.

Hardware Trace:

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

     Source : <0x00011c60> { _panic + 0x44 } JUMP.L

   1 Target : <0x00011c60> { _panic + 0x44 }

     Source : <0x0001290e> { _printk + 0x16 } RTS

   2 Target : <0x0001290a> { _printk + 0x12 }

     Source : <0x00012748> { _vprintk + 0x140 } RTS

   3 Target : <0x0001273c> { _vprintk + 0x134 }

     Source : <0xffa00d1a> { __common_int_entry + 0xda } RTI

   4 Target : <0xffa00cb8> { __common_int_entry + 0x78 }

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

   5 Target : <0xffa00af4> { _return_from_int + 0x58 }

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

   6 Target : <0xffa00a9c> { _return_from_int + 0x0 }

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

   7 Target : <0xffa00cb2> { __common_int_entry + 0x72 }

     Source : <0xffa0036a> { _asm_do_IRQ + 0x3e } RTS

   8 Target : <0xffa00362> { _asm_do_IRQ + 0x36 }

     Source : <0x0001610e> { __local_bh_enable + 0x3a } RTS

   9 Target : <0x000160d4> { __local_bh_enable + 0x0 }

     Source : <0x0001642a> { ___do_softirq + 0xb2 } JUMP.L

  10 Target : <0x00016422> { ___do_softirq + 0xaa }

     Source : <0x00016416> { ___do_softirq + 0x9e } IF CC JUMP pcrel

  11 Target : <0x00016402> { ___do_softirq + 0x8a }

     Source : <0x00034fc8> { _rcu_bh_qs + 0x14 } RTS

  12 Target : <0x00034fb4> { _rcu_bh_qs + 0x0 }

     Source : <0x000163fe> { ___do_softirq + 0x86 } CALL pcrel

  13 Target : <0x000163f4> { ___do_softirq + 0x7c }

     Source : <0x000359d8> { _rcu_process_callbacks + 0x30 } RTS

  14 Target : <0x000359d4> { _rcu_process_callbacks + 0x2c }

     Source : <0x000358bc> { _rcu_do_batch + 0x118 } RTS

  15 Target : <0x000358b6> { _rcu_do_batch + 0x112 }

     Source : <0x000357b6> { _rcu_do_batch + 0x12 } IF CC JUMP pcrel

Stack info:

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

FP: (0x0201bfe8)

Memory from 0x0201bf90 to 0201c000

0201bf90: 00000000  0201bf9c  00000000 [00149250] 00011c64  0017a014  00149250  0017f3ce

0201bfb0: 0017f3ce  0017f3ce  0201bfd0  0201bfd0  0000125e  0017a014  00000000  00000000

0201bfd0: 007ce000  0000000b  0019c538  0017a018  00000000  00000000 (00000000)<00001446>

0201bff0: 00000000  00000000  ffffffff  00000006

Return addresses in stack:

   frame  1 : <0x00001446> { _kernel_thread_helper + 0x6 }

Follow-ups

--- Aaron Wu                                                 2010-10-24 23:56:42

Double confirm, it's OK.

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

File Name     File Type     File Size     Posted By

No Files Were Found

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.