2009-11-09 15:13:06     Data access CPLB miss

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

2009-11-09 15:13:06     Data access CPLB miss

Silver Pine (UNITED STATES)

Message: 82221   

 

What should I look for to resolve a "Data access CPLB miss"?

 

silverpine

 

 

 

root:/home/httpd/cgi-bin> ./outback.cgi

Data access CPLB miss

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

Deferred Exception context

CURRENT PROCESS:

COMM=outback.cgi PID=504

CPU = 0

TEXT = 0x00528000-0x00529d70        DATA = 0x00534d70-0x005351e4

BSS = 0x005351e4-0x005a0000  USER-STACK = 0x005bfeb0

 

return address: [0x00591f0e]; contents of:

0x00591ee0:  2fb5  e51a  0006  4380  9310  2ff6  0c81  17f4

0x00591ef0:  2fe4  0000  3208  04c5  e800  0000  3219  adb8

0x00591f00:  914a  0c42  1835  6009  2018  5e93  a048 [9310]

0x00591f10:  914a  68ad  086a  196f  68c5  086a  196e  68f5

 

ADSP-BF518-0.0 400(MHz CCLK) 80(MHz SCLK) (mpu off)

Linux version 2.6.28.10-ADI-2009R1-svn624

Built with gcc version 4.1.2 (ADI svn)

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00060026  IPEND: 0030  SYSCFG: 0006

  EXCAUSE   : 0x26

  interrupts disabled

  physical IVG5 asserted : <0xffa00bbc> { _evt_ivhw + 0x0 }

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

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

RETX: <0x00000480> /* Maybe fixed code section */

RETS: <0x00594e7a> [ /lib/ld-uClibc.so.0 + 0x4e7a ]

PC  : <0x00591f0e> [ /lib/ld-uClibc.so.0 + 0x1f0e ]

DCPLB_FAULT_ADDR: <0xf85bfbb0> /* kernel dynamic memory */

ICPLB_FAULT_ADDR: <0x00591f0e> [ /lib/ld-uClibc.so.0 + 0x1f0e ]

 

PROCESSOR STATE:

R0 : ec6fffff    R1 : 00000001    R2 : 00536000    R3 : 00000002

R4 : 005bfe20    R5 : 0050b148    R6 : 00000002    R7 : 00000004

P0 : 005bff70    P1 : 00534dfc    P2 : f85bfbb0    P3 : 005bfbb0

P4 : 005280b4    P5 : 00000021    FP : 005bfab8    SP : 0051ff24

LB0: 0048c347    LT0: 0048c346    LC0: 00000000

LB1: 00594adb    LT1: 00594ada    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 000005c0

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 0050b17c

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

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000

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

USP : 005bfab8  ASTAT: 02002020

 

Hardware Trace:

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

     Source : <0xffa0061a> { _exception_to_level5 + 0xae }

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

     Source : <0xffa00428> { _bfin_return_from_exception + 0x18 }

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

     Source : <0xffa004c4> { _ex_trap_c + 0x6c }

   3 Target : <0xffa0033c> { _ex_dcplb_miss + 0x0 }

     Source : <0xffa006e6> { _trap + 0x5a }

   4 Target : <0xffa0068c> { _trap + 0x0 }

     Source : <0x00591f0c> [ /lib/ld-uClibc.so.0 + 0x1f0c ] 0xa048

   5 Target : <0x00591f0a> [ /lib/ld-uClibc.so.0 + 0x1f0a ]

     Source : <0x00591f3c> [ /lib/ld-uClibc.so.0 + 0x1f3c ] IF CC JUMP

   6 Target : <0x00591f39> [ /lib/ld-uClibc.so.0 + 0x1f39 ]

     Source : <0x00591f36> [ /lib/ld-uClibc.so.0 + 0x1f36 ] JUMP.S

   7 Target : <0x00591f2e> [ /lib/ld-uClibc.so.0 + 0x1f2e ]

     Source : <0x00591f5b> [ /lib/ld-uClibc.so.0 + 0x1f5b ]

   8 Target : <0x00591f38> [ /lib/ld-uClibc.so.0 + 0x1f38 ]

     Source : <0x00591f08> [ /lib/ld-uClibc.so.0 + 0x1f08 ] JUMP.S

   9 Target : <0x00591ef4> [ /lib/ld-uClibc.so.0 + 0x1ef4 ]

     Source : <0x00594e76> [ /lib/ld-uClibc.so.0 + 0x4e76 ] CALL pcrel

  10 Target : <0x00594e52> [ /lib/ld-uClibc.so.0 + 0x4e52 ]

     Source : <0x00594e42> [ /lib/ld-uClibc.so.0 + 0x4e42 ] IF !CC JUMP

  11 Target : <0x00594e20> [ /lib/ld-uClibc.so.0 + 0x4e20 ]

     Source : <0x00594e46> [ /lib/ld-uClibc.so.0 + 0x4e46 ] IF CC JUMP

  12 Target : <0x00594e44> [ /lib/ld-uClibc.so.0 + 0x4e44 ]

     Source : <0x00594e1e> [ /lib/ld-uClibc.so.0 + 0x4e1e ] JUMP.S

  13 Target : <0x00594e1c> [ /lib/ld-uClibc.so.0 + 0x4e1c ]

     Source : <0x00594e16> [ /lib/ld-uClibc.so.0 + 0x4e16 ] IF CC JUMP

  14 Target : <0x00594df2> [ /lib/ld-uClibc.so.0 + 0x4df2 ]

     Source : <0x00594b30> [ /lib/ld-uClibc.so.0 + 0x4b30 ] IF !CC JUMP

  15 Target : <0x00594b2f> [ /lib/ld-uClibc.so.0 + 0x4b2f ]

     Source : <0x00594b26> [ /lib/ld-uClibc.so.0 + 0x4b26 ] IF CC JUMP

Userspace Stack

Stack info:

SP: [0x005bfab8] <0x005bfab8> [ outback.cgi + 0x1fab8 ]

Memory from 0x005bfab0 to 005c0000

005bfab0:<00594acc> 0050b148 [005bfcb8]<00594e7a> 005bfbb0  00000000  00000000  00000000

005bfad0: 005bff70  00000000  00000000  00000000  00000000  005bfb6c  00000000  00000000

005bfaf0: 00000000  00000000  00000000  00000000  00000000  00000000  0050b394  00000000

005bfb10: 00000000  0050b3d0  0050b3d4  0050b110  005bfac4  00000000  00000000  00000000

005bfb30: 00000000  00000000  00000000  00000000  00000000  005bfe10  00528000  00000000

005bfb50: 00000000  00000000  00536000  00000000  00000000  005bff50  0050b148  005bff70

005bfb70: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

005bfb90: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

005bfbb0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

005bfbd0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

005bfbf0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

005bfc10: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

005bfc30: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

005bfc50: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

005bfc70: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

005bfc90: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

005bfcb0: 00000000  00000000  005bfe70 <005961a2> 005bff50  000005c0  00007ff0  00000002

005bfcd0: 00000512  0050b148  005bfd08  005bff50  0050b148  005bfdf8  005bfebc  005bfeb4

005bfcf0: 005bff70  0050b148  005bff50  0050b148  005bfeb4  005bfebc  005bff50  0050b148

005bfd10: 005280f4  0050b078  00000000  00000000  00000000  00000000  00000000  00000000

005bfd30: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

005bfd50: 00000000  00000000  0050b148  005900d4  0059074c  005902fc  00000000  00000000

005bfd70: 00000000  00000407  00000010  00000000  00000000  000003ec  00000000  00000000

005bfd90: 00590b54  000005c0  00000008  00000000  00000000  00000000  00000000  00000001

005bfdb0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

005bfdd0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

005bfdf0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

005bfe10: 00000003  00528034  00000004  00000020  00000005  00000006  00000006  00001000

005bfe30: 00000007  00590000  00000008  00000000  00000009  00528784  00000000  00000000

005bfe50: 0000000b  00000000  0000000c  00000000  0000000d  00000000  0000000e  00000000

005bfe70: 004e2b94 <00591170> 0050b148  00700004  0050b078  005bff50  005bff70 <00591124>

005bfe90: 0050b148  005bff70  00000000  0050b078  005bfea8  005bfeb0  00000000  00000000

005bfeb0: 00000001  005bff9d  00000000  005bffab  005bffb2  005bffc0  005bffe3  00000000

005bfed0: 00000010  00000000  00000006  00001000  00000011  00000064  00000003  00528034

005bfef0: 00000004  00000020  00000005  00000006  00000007  00590000  00000008  00000000

005bff10: 00000009  00528784  0000000b  00000000  0000000c  00000000  0000000d  00000000

005bff30: 0000000e  00000000  00000017  00000000  0000001f  0001ffee  00000000  00000000

005bff50: 00020000  00590000  00000000  00006fec  0050afec  00007fec  00000450  00000000

005bff70: 00020000  00528000  00000000  00001d70  00534d70  00002d70  00000474  00000000

005bff90: 00000000  00000000  00000000  6f2f2e00  61627475  632e6b63  48006967  3d454d4f

005bffb0: 4853002f  3d4c4c45  6e69622f  0068732f  48544150  69622f3d  752f3a6e  622f7273

005bffd0: 2f3a6e69  6e696273  73752f3a  62732f72  54006e69  3d4d5245  756e696c  2f2e0078

005bfff0: 6274756f  2e6b6361  00696763  00000000

Return addresses in stack:

    address : <0x00594acc> [ /lib/ld-uClibc.so.0 + 0x4acc ]

    address : <0x00594e7a> [ /lib/ld-uClibc.so.0 + 0x4e7a ]

    address : <0x005961a2> [ /lib/ld-uClibc.so.0 + 0x61a2 ]

    address : <0x00591170> [ /lib/ld-uClibc.so.0 + 0x1170 ]

    address : <0x00591124> [ /lib/ld-uClibc.so.0 + 0x1124 ]

Bus error

QuoteReplyEditDelete

 

 

2009-11-09 15:19:54     Re: Data access CPLB miss

Mike Frysinger (UNITED STATES)

Message: 82222   

 

  docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:analyzing_traces

QuoteReplyEditDelete

 

 

2009-11-09 18:14:45     Re: Data access CPLB miss

Silver Pine (UNITED STATES)

Message: 82226   

 

The ICPLB_FAULT_ADDR is as follows:

 

ICPLB_FAULT_ADDR: <0x00591f0e> [ /lib/ld-uClibc.so.0 + 0x1f0e ]

 

The trap is in the uClibc.  Should I be tracing code in the uClibc?

 

silverpine

QuoteReplyEditDelete

 

 

2009-11-09 18:19:32     Re: Data access CPLB miss

Mike Frysinger (UNITED STATES)

Message: 82228   

 

please read the page again.  take note of the notes.

Attachments

    Outcomes