2009-10-03 07:23:27     Data Access CPLB miss

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

2009-10-03 07:23:27     Data Access CPLB miss

Nitin Goel (INDIA)

Message: 80814   

 

Hello,

 

We are using 64MB RAM and 8MB flash and for the flash we are partitioning like this.

 

static struct mtd_partition bf5xx_partitions[] = {

{

  name: "Bootloader 1 MB",

  size: 0x100000,

  offset: 0,

},{

  name: "Default Kernel 512 KB",

  size: 0x80000,

  offset: 0x100000,

},{

                name: "VoIP Kernel 5.5 MB",

                size: 0x580000,

                offset:0x180000,

        },{

  name: "JFFS2 1 MB",

                size: 0x100000,

                offset: 0x700000,

}

 

};

 

but while opening a file of 30KB from flash using fopen it gives the error as "Used by the MMU to signal a CPLB miss on a data access" and the complete trace is as.

 

Data access CPLB miss

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

Defered Exception context

CURRENT PROCESS:

COMM=adiVPSIP PID=57

TEXT = 0x00400000-0x0079a9ac        DATA = 0x023009ac-0x023992d0

BSS = 0x023992d0-0x02400000  USER-STACK = 0x0241fe80

 

return address: [0x0000424e]; contents of:

0x00004220:  ff90  e102  0d30  c682  860b  505a  e123  0042

0x00004230:  c682  860b  50da  b9f2  b9b4  e3ff  f6ab  237d

0x00004240:  b9b9  b9a0  e148  0000  e108  ff40  5c08 [9541]

0x00004250:  0c00  1803  6409  2002  6001  b9b7  e147  000a

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00000026  IPEND: 0030  SYSCFG: 0006

  HWERRCAUSE: 0x0

  EXCAUSE   : 0x26

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

RETN: <0x00976000> /* unknown address */

RETX: <0x0000424e> /* Maybe null pointer? */

RETS: <0x000041d6> /* Maybe null pointer? */

PC  : <0x0000424e> /* Maybe null pointer? */

DCPLB_FAULT_ADDR: <0x0469ad10> /* unknown address */

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

 

PROCESSOR STATE:

R0 : 00000000    R1 : 00000000    R2 : 0000000f    R3 : 00090ed9

R4 : 00000033    R5 : 0004a1d5    R6 : 00002b85    R7 : 00000005

P0 : 0469ad10    P1 : 023456e8    P2 : ff900d68    P3 : 00000010

P4 : 00000002    P5 : ff900d64    FP : 00972c30    SP : 00975f24

LB0: 00003ef9    LT0: 00003eec    LC0: 00000000

LB1: 00003ccf    LT1: 00003cce    LC1: 00000000

B0 : 0236f994    L0 : 00000000    M0 : 0000007c    I0 : 00013376

B1 : 0236f994    L1 : 00000000    M1 : 00000004    I1 : 00000000

B2 : 02371e00    L2 : 00000000    M2 : 00000080    I2 : 02371f04

B3 : 0004b5f4    L3 : 00000000    M3 : 02371e00    I3 : 0236fbd4

A0.w: 0001cb28   A0.x: 00000000   A1.w: fffbebe0   A1.x: ffffffff

USP : 00972bdc  ASTAT: 00001165

 

Hardware Trace:

   0 Target : <0x0010375e> { _trap_c + 0x1e }

     Source : <0x0010c606> { _printk + 0x16 }

   1 Target : <0x0010c602> { _printk + 0x12 }

     Source : <0x0010c4b8> { _vprintk + 0x1b4 }

   2 Target : <0x0010c49a> { _vprintk + 0x196 }

     Source : <0x0010c2fe> { _wake_up_klogd + 0x36 }

   3 Target : <0x0010c2fa> { _wake_up_klogd + 0x32 }

     Source : <0x00108838> { ___wake_up + 0x2c }

   4 Target : <0x00108832> { ___wake_up + 0x26 }

     Source : <0x00108824> { ___wake_up + 0x18 }

   5 Target : <0x00108820> { ___wake_up + 0x14 }

     Source : <0x0010880a> { ___wake_up_common + 0x52 }

   6 Target : <0x001087fc> { ___wake_up_common + 0x44 }

     Source : <0x001087f2> { ___wake_up_common + 0x3a }

   7 Target : <0x001087ec> { ___wake_up_common + 0x34 }

     Source : <0x0011be00> { _autoremove_wake_function + 0x2c }

   8 Target : <0x0011bde6> { _autoremove_wake_function + 0x12 }

     Source : <0x00109744> { _try_to_wake_up + 0x3c }

   9 Target : <0x0010973c> { _try_to_wake_up + 0x34 }

     Source : <0x0010972e> { _try_to_wake_up + 0x26 }

  10 Target : <0x00109728> { _try_to_wake_up + 0x20 }

     Source : <0x00109752> { _try_to_wake_up + 0x4a }

  11 Target : <0x0010974e> { _try_to_wake_up + 0x46 }

     Source : <0x001097d0> { _try_to_wake_up + 0xc8 }

  12 Target : <0x001097ce> { _try_to_wake_up + 0xc6 }

     Source : <0x001097ac> { _try_to_wake_up + 0xa4 }

  13 Target : <0x0010979e> { _try_to_wake_up + 0x96 }

     Source : <0x00108a6a> { ___activate_task + 0x2e }

  14 Target : <0x00108a56> { ___activate_task + 0x1a }

     Source : <0x001085b8> { _enqueue_task + 0x4c }

  15 Target : <0x0010856c> { _enqueue_task + 0x0 }

     Source : <0x00108a52> { ___activate_task + 0x16 }

Stack from 00975f04:

        00000000 ffa007e0 0026a630 0026a630 0026a62c 00000000 00000018 02d8e7a6

        0000424e 00000030 00000026 00000000 00976000 0000424e 0000424e 000041d6

        00000000 00001165 00003ccf 00003ef9 00003cce 00003eec 00000000 00000000

        fffbebe0 ffffffff 0001cb28 00000000 0004b5f4 02371e00 0236f994 0236f994

        00000000 00000000 00000000 00000000 02371e00 00000080 00000004 0000007c

        0236fbd4 02371f04 00000000 00013376 00972bdc 00972c30 ff900d64 00000002

 

 

Anyone please let me know where i am wrong.

 

Nitin

QuoteReplyEditDelete

 

 

2009-10-05 11:22:50     Re: Data Access CPLB miss

Robin Getz (UNITED STATES)

Message: 80854   

 

Nitin:

 

Can you upgrade to the latest release? (2009R1?)

 

-Robin

Attachments

    Outcomes