2010-07-13 11:49:22     Flash block write/read error?irq error?please help me

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

2010-07-13 11:49:22     Flash block write/read error?irq error?please help me

macgrady tracy (CHINA)

Message: 91201   

 

hi

 

I am using uClinux-dist-2008R1.5-RC3(should be a stable kernel), and run v4l on it,

 

my process if bf531, and run mpeg4 and http webs on it(DM9000x as the network card),

 

when i run uImage in sdram, this program is ok,

 

but when run on flash(AMD 2Mbytes, JFFS2 fs),after sometime, this program will die....

 

 

 

maybe flash can't write/read fast,or some jffs2 filesystem bug in the kernel?

 

or my program bug?

 

 

 

Message is :

 

Data access CPLB miss

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

Kernel OOPS in progress

Defered Exception context

CURRENT PROCESS:

COMM=events/0 PID=4

invalid mm

return address: [0x0012f856]; contents of:

0x0012f830:  1849  0000  0000  9110  4838  1848  0000  e531

0x0012f840:  0010  add5  e120  1001  4f40  5e8f  e514  0013

0x0012f850:  ac69  916a  6001 [934a] 9328  e120  1001  4f48

0x0012f860:  bc51  b068  a17a  a0e8  5203  301a  6002  b0f2

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00002026  IPEND: 8030  SYSCFG: 0006

  HWERRCAUSE: 0x0

  EXCAUSE   : 0x26

  physical IVG15 asserted : <0xffa08dd8> { _evt_system_call + 0x0 }

  logical irq   6 mapped  : <0xffa08228> { _timer_interrupt + 0x0 }

  logical irq  15 mapped  : <0x001a1474> { _ppifcd_irq + 0x0 }

  logical irq  21 mapped  : <0x00193614> { _bfin_serial_dma_rx_int + 0x0 }

  logical irq  22 mapped  : <0x00193580> { _bfin_serial_dma_tx_int + 0x0 }

  logical irq  43 mapped  : <0x0019abcc> { _dm9000_interrupt + 0x0 }

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

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

RETX: <0x0012f856> { _free_block + 0x7e }

RETS: <0x0012f944> { _drain_array + 0x4c }

PC  : <0x0012f856> { _free_block + 0x7e }

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

ICPLB_FAULT_ADDR: <0x0012f856> { _free_block + 0x7e }

 

PROCESSOR STATE:

R0 : 00100100    R1 : 00000000    R2 : 00000007    R3 : 01dea2a0

R4 : 00000000    R5 : 00000007    R6 : 002707c0    R7 : 00000000

P0 : 002c3c10    P1 : e6510000    P2 : e2510004    P3 : 002c3010

P4 : 002c11a0    P5 : 01dca000    FP : 00276240    SP : 01ee5e20

LB0: 00183936    LT0: 00183936    LC0: 00000000

LB1: 0183788d    LT1: 01837824    LC1: 00000003

B0 : 01865f68    L0 : 00000000    M0 : 0000000c    I0 : 002d06ac

B1 : 00434060    L1 : 00000000    M1 : 00000010    I1 : 002c3c00

B2 : 00434060    L2 : 00000000    M2 : 00000080    I2 : 00000700

B3 : 01865f58    L3 : 00000000    M3 : 000000c0    I3 : 00000000

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

USP : 00000000  ASTAT: 02002000

 

No trace since you do not have CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE enabled

 

Stack from 01ee5e04:

        001236f4 ffa086e8 0024a628 0024a628 0024cb10 0010643e 002714dc 0012f856

        00008030 00002026 00000000 01ee5efc 0012f856 0012f856 0012f944 00100100

        02002000 0183788d 00183936 01837824 00183936 00000003 00000000 00000063

        00000000 00000063 00000000 01865f58 00434060 00434060 01865f68 00000000

        00000000 00000000 00000000 000000c0 00000080 00000010 0000000c 00000000

        00000700 002c3c00 002d06ac 00000000 00276240 01dca000 002c11a0 002c3010

 

Call Trace:

[<00100100>] _try_name+0x28/0x168

[<00100100>] _try_name+0x28/0x168

[<0012f944>] _drain_array+0x4c/0xb0

[<001308ac>] _cache_reap+0xa8/0xd0

[<00130868>] _cache_reap+0x64/0xd0

[<001164ec>] _run_workqueue+0x6c/0x12c

[<00130804>] _cache_reap+0x0/0xd0

[<00116dda>] _worker_thread+0x8a/0xa4

[<00116dbe>] _worker_thread+0x6e/0xa4

[<0011967c>] _autoremove_wake_function+0x0/0x30

[<001192b0>] _kthread+0x50/0x64

[<00116d50>] _worker_thread+0x0/0xa4

[<00100496>] _kernel_thread_helper+0x6/0xc

 

Modules linked in:

Please turn on CONFIG_ACCESS_CHECK

Kernel panic - not syncing: Kernel exception

 

 

 

NOTICE

 

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

ICPLB_FAULT_ADDR: <0x0012f856> { _free_block + 0x7e }

 

 

 

the 0x0012f856 is the filesystem addr(0x20110000-0x201fffff)

 

thanks!!!

QuoteReplyEditDelete

 

 

2010-07-13 16:34:43     Re: Flash block write/read error?irq error?please help me

Robin Getz (UNITED STATES)

Message: 91211   

 

Tracy:

 

Could be any number of fixed issues in trunk or the 2009 release.

 

Please upgrade.

 

-Robin

Attachments

    Outcomes