[#5376] mmap05 sometimes can not pass when MPU

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

[#5376] mmap05 sometimes can not pass when MPU

Submitted By: Graf Yang

Open Date

2009-07-20 22:29:52     Close Date

2009-07-20 22:39:59

Priority:

Medium     Assignee:

Graf Yang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Duplicate

Uboot version or rev.:

    Toolchain version or rev.:

any

App binary format:

N/A     

Summary: mmap05 sometimes can not pass when MPU

Details:

 

Data access CPLB miss

- Used by the MMU to signal a CPLB miss on a data access.

Deferred Exception context

CURRENT PROCESS:

COMM=mmap05 PID=147

CPU = 0

TEXT = 0x03240040-0x0324b2e0        DATA = 0x0324b2e4-0x0324dff4

BSS = 0x0324dff4-0x03252f64  USER-STACK = 0x0325af8c

 

return address: [0x03240258]; contents of:

0x03240230:  e10a  dc9c  9110  0c00  182a  e140  0324  e100

0x03240240:  efa8  6009  e300  1e32  0c00  100a  0000  e14a

0x03240250:  0324  e10a  ef9c  9152 [9950] e6b8  ffff  e14a

0x03240260:  0324  e10a  e010  9110  0c00  1809  e141  0324

 

ADSP-BF537-0.2 500(MHz CCLK) 125(MHz SCLK) (mpu on)

Linux version 2.6.30.1-ADI-2010R1-pre-svn7029 (ymm@uboot32-533ezkit) (gcc version 4.1.2 (ADI svn)) #33 Mon Jul9

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00062026  IPEND: 0008  IMASK: ffff  SYSCFG: 0006

  EXCAUSE   : 0x26

  physical IVG3 asserted : <0x00009104> { _trap + 0x0 }

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

RETN: <0x032ea000> /* kernel dynamic memory */

RETX: <0x00008ffc> { _exception_to_level5 + 0x0 }

RETS: <0x03240248> [ mmap05 + 0x208 ]

PC  : <0x03240258> [ mmap05 + 0x218 ]

DCPLB_FAULT_ADDR: <0x0326b000> [ /tmp/mmaBswNsb/mmapfile + 0x0 ]

ICPLB_FAULT_ADDR: <0x03240258> [ mmap05 + 0x218 ]

 

PROCESSOR STATE:

R0 : 00000000    R1 : 00000000    R2 : 0324f04c    R3 : 00000008

R4 : 00000001    R5 : 0324b2c0    R6 : 0324ef60    R7 : 00000000

P0 : 000000af    P1 : 00000000    P2 : 0326b000    P3 : 0325af90

P4 : 0324dff0    P5 : 0324b2e4    FP : 0325af34    SP : 032e9f24

LB0: 03245f75    LT0: 03245f72    LC0: 00000000

LB1: 032482d7    LT1: 0324828e    LC1: 00000000

B0 : 0000001b    L0 : 00000000    M0 : 00000001    I0 : 00000007

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 0000000f

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 0010780c

A0.w: 00000030   A0.x: 00000000   A1.w: 00000030   A1.x: 00000000

USP : 0325af10  ASTAT: 02001025

 

Hardware Trace:

   0 Target : <0x00005188> { _trap_c + 0x0 }

     Source : <0x00009096> { _exception_to_level5 + 0x9a } CALL pcrel

   1 Target : <0x00008ffc> { _exception_to_level5 + 0x0 }

     Source : <0x00008e42> { _ex_dcplb_miss + 0x66 } RTX

   2 Target : <0x00008ddc> { _ex_dcplb_miss + 0x0 }

     Source : <0x00008dd2> { _ex_workaround_261 + 0x1a } IF CC JUMP

   3 Target : <0x00008db8> { _ex_workaround_261 + 0x0 }

     Source : <0x0000913e> { _trap + 0x3a } JUMP (P4)

   4 Target : <0x00009124> { _trap + 0x20 }

     Source : <0x00009120> { _trap + 0x1c } IF !CC JUMP

   5 Target : <0x00009104> { _trap + 0x0 }

     Source : <0x00008eae> { _bfin_return_from_exception + 0x12 } RTX

   6 Target : <0x00008e9c> { _bfin_return_from_exception + 0x0 }

     Source : <0x00008dca> { _ex_workaround_261 + 0x12 } IF !CC JUMP

   7 Target : <0x00008db8> { _ex_workaround_261 + 0x0 }

     Source : <0x0000913e> { _trap + 0x3a } JUMP (P4)

   8 Target : <0x00009124> { _trap + 0x20 }

     Source : <0x00009120> { _trap + 0x1c } IF !CC JUMP

   9 Target : <0x00009104> { _trap + 0x0 }

     Source : <0x00008eae> { _bfin_return_from_exception + 0x12 } RTX

  10 Target : <0x00008e9c> { _bfin_return_from_exception + 0x0 }

     Source : <0x00008f4a> { _ex_trap_c + 0x6e } JUMP.S

  11 Target : <0x00008ddc> { _ex_dcplb_miss + 0x0 }

     Source : <0x00008dd8> { _ex_workaround_261 + 0x20 } IF CC JUMP

  12 Target : <0x00008db8> { _ex_workaround_261 + 0x0 }

     Source : <0x0000913e> { _trap + 0x3a } JUMP (P4)

  13 Target : <0x00009124> { _trap + 0x20 }

     Source : <0x00009120> { _trap + 0x1c } IF !CC JUMP

  14 Target : <0x00009104> { _trap + 0x0 }

     Source : <0x00008e42> { _ex_dcplb_miss + 0x66 } RTX

  15 Target : <0x00008ddc> { _ex_dcplb_miss + 0x0 }

     Source : <0x00008dd2> { _ex_workaround_261 + 0x1a } IF CC JUMP

Userspace Stack

Stack info:

SP: [0x0325af10] <0x0325af10> [ mmap05 + 0x1af10 ]

FP: (0x0325af34)

Memory from 0x0325af10 to 0325b000

0325af10:[00000000] 0325af90  00000000  00000001  00000003  00000000  00000000  00000000

0325af30: 0325af4c (0325af4c)<03247c6c> 00000000  00000001  0325af90  00000000 (00000000)

0325af50:<03394d58> 0324b2e4  033fd5f0  033fd5b0  00000000  033e0410  00000000  00000000

0325af70: 0324013c  00000000  00000000  0324b2c0  0324b2d2  00000000  033fd5f4  00000001

0325af90: 0325afa8  00000000  0325afb1  0325afbc  0325afdf  00000000  6d6d2f2e  35307061

0325afb0: 52455400  696c3d4d  0078756e  48544150  69622f3d  752f3a6e  622f7273  2f3a6e69

0325afd0: 6e696273  73752f3a  62732f72  48006e69  5f485355  53524556  3d4e4f49  34312e31

0325aff0: 2e00322e  616d6d2f  00353070  00000000

Return addresses in stack:

   frame  1 : <0x03247c6c> [ mmap05 + 0x7c2c ]

   frame  2 : <0x03394d58> [ sh + 0x14d58 ]

mmap05      1  BROK  :  received an unexpected signal

 

Follow-ups

 

--- Graf Yang                                                2009-07-20 22:39:58

It's maybe the same reason that vivi found later in but [#5153].

Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes