FAQ:[#6181] Traps test may fail at Read of L1 instruction on bf548-ezkit(2010)

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

[#6181] Traps test may fail at Read of L1 instruction on bf548-ezkit

Submitted By: Vivi Li

Open Date

2010-08-13 02:28:46     Close Date

2010-08-17 23:19:54

Priority:

Medium     Assignee:

Sonic Zhang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

N/A     Board:

EZKIT Lite

Processor:

BF548     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Not reproducible

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.3-2010_Aug_04

App binary format:

N/A     

Summary: Traps test may fail at Read of L1 instruction on bf548-ezkit

Details:

 

Traps test may fail at Read of L1 instruction on bf548-ezkit.

 

First failed version is as bellow. At this time, test number is 78.

--

kernel:    Linux release 2.6.33.2-ADI-2010R1-pre-svn8620, build #48 Fri Apr 9 04:49:21 CST 2010

toolchain: bfin-uclinux-gcc release gcc version 4.3.4 (ADI-trunk/svn-3815)

user-dist: release svn-9547, build #1060 Fri Apr 9 04:48:40 CST 2010

--

 

Bellow is the latest log:

--

Running test 85 for exception 0x3f: Read of L1 instruction

... External Memory Addressing Error

Kernel OOPS in progress

HW Error context

CURRENT PROCESS:

COMM=traps_test PID=435  CPU=0

TEXT = 0x02ce0040-0x02ce89a0        DATA = 0x02ce89c0-0x02cec128

BSS = 0x02cec128-0x02cec5b0  USER-STACK = 0x02cedf48

 

return address: [0xffa00b8e]; contents of:

0xffa00b60:  0160  0161  0162  0163  0170  0173  0171  0174

0xffa00b70:  0172  0175  0166  0140  0167  31c3  0140  017c

0xffa00b80:  017d  017e  0179  0140  017b  6000  3620 [3628]

0xffa00b90:  3630  3638  e108  203c  e148  ffe0  e109  0fe8

Looks like this was a deferred error - sorry

It might be better to look around here :

-------------------------------------------

 

ADSP-BF548-0.2 525(MHz CCLK) 131(MHz SCLK) (mpu off)

Linux version 2.6.34.3-ADI-2010R1-pre-svn9076 (test@uclinux61-bf548-std) (gcc version 4.3.5 (ADI-trunk/svn-4747) ) #8 Wed Aug 11 21:11:43 CST 2010

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 0000e000  IPEND: 2ce095e  IMASK: ffff  SYSCFG: 0006

  Global Interrupts Disabled (IPEND[4])

  EXCAUSE   : 0x0

  physical IVG2 asserted : <0xffa00e04> { _evt_nmi + 0x0 }

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

  interrupts disabled

  physical IVG6 asserted : <0xffa00e08> { _evt_timer + 0x0 }

  physical IVG8 asserted : <0xffa00e80> { _evt_evt8 + 0x0 }

  physical IVG11 asserted : <0xffa00f34> { _evt_evt11 + 0x0 }

  logical irq   6 mapped  : <0xffa003dc> { _bfin_coretmr_interrupt + 0x0 }

  logical irq   9 mapped  : <0x000b660c> { _bfin_bf54x_irq_error + 0x0 }

  logical irq  10 mapped  : <0x0014c1d0> { _err_handler + 0x0 }

  logical irq  14 mapped  : <0x00119318> { _bfin_rtc_interrupt + 0x0 }

  logical irq  16 mapped  : <0x0014c4d4> { _rx_handler + 0x0 }

  logical irq  17 mapped  : <0x0014c478> { _tx_handler + 0x0 }

  logical irq  48 mapped  : <0x000c34d4> { _bfin_serial_dma_rx_int + 0x0 }

  logical irq  49 mapped  : <0x000c3258> { _bfin_serial_dma_tx_int + 0x0 }

  logical irq  52 mapped  : <0x0011bca4> { _bfin_twi_interrupt_entry + 0x0 }

  logical irq  53 mapped  : <0x0011bca4> { _bfin_twi_interrupt_entry + 0x0 }

  logical irq  68 mapped  : <0x000e637c> { _bfin_ata_interrupt + 0x0 }

  logical irq  74 mapped  : <0x0012274c> { _sdh_dma_irq + 0x0 }

  logical irq  76 mapped  : <0x0011735c> { _bfin_kpad_isr + 0x0 }

  logical irq  79 mapped  : <0x00122c30> { _sdh_stat_irq + 0x0 }

  logical irq  82 mapped  : <0x001112f8> { _blackfin_interrupt + 0x0 }

  logical irq  85 mapped  : <0x00114810> { _dma_controller_irq + 0x0 }

  logical irq 175 mapped  : <0x000fc644> { _smsc911x_irqhandler + 0x0 }

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

RETN: <0x0099e000> /* kernel dynamic memory (maybe user-space) */

RETX: <0x02ce19e4> /* kernel dynamic memory (maybe user-space) */

RETS: <0x02ce179c> /* kernel dynamic memory (maybe user-space) */

PC  : <0x02ce095e> /* kernel dynamic memory (maybe user-space) */

PROCESSOR STATE:

R0 : 02cea68c    R1 : 00000055    R2 : 00000001    R3 : 00000100

R4 : 00000006    R5 : 00000001    R6 : 02cea760    R7 : 02ceded4

P0 : 00000550    P1 : 02ce8b00    P2 : ffa10000    P3 : 00000001

P4 : 02cedf4c    P5 : 02cebf40    FP : 02ceded8    SP : 0099df24

LB0: 02ce6a15    LT0: 02ce6a14    LC0: 00000000

LB1: 02c927b1    LT1: 02c927b0    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000004    I0 : 02cedc19

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 02ce89e0

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 : 02cedcf0  ASTAT: 02003004

 

-------------------------------------------

 

ADSP-BF548-0.2 525(MHz CCLK) 131(MHz SCLK) (mpu off)

Linux version 2.6.34.3-ADI-2010R1-pre-svn9076 (test@uclinux61-bf548-std) (gcc version 4.3.5 (ADI-trunk/svn-4747) ) #8 Wed Aug 11 21:11:43 CST 2010

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 0000e03f  IPEND: 8030  IMASK: ffff  SYSCFG: 0006

  Global Interrupts Disabled (IPEND[4])

  HWERRCAUSE: 0x3

  EBIU Error Reason  : 0x0008

  EBIU Error Address : 0xffa10000

  EXCAUSE   : 0x3f

  interrupts disabled

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

  physical IVG15 asserted : <0xffa00b34> { _schedule_and_signal + 0x0 }

  logical irq   6 mapped  : <0xffa003dc> { _bfin_coretmr_interrupt + 0x0 }

  logical irq   9 mapped  : <0x000b660c> { _bfin_bf54x_irq_error + 0x0 }

  logical irq  10 mapped  : <0x0014c1d0> { _err_handler + 0x0 }

  logical irq  14 mapped  : <0x00119318> { _bfin_rtc_interrupt + 0x0 }

  logical irq  16 mapped  : <0x0014c4d4> { _rx_handler + 0x0 }

  logical irq  17 mapped  : <0x0014c478> { _tx_handler + 0x0 }

  logical irq  48 mapped  : <0x000c34d4> { _bfin_serial_dma_rx_int + 0x0 }

  logical irq  49 mapped  : <0x000c3258> { _bfin_serial_dma_tx_int + 0x0 }

  logical irq  52 mapped  : <0x0011bca4> { _bfin_twi_interrupt_entry + 0x0 }

  logical irq  53 mapped  : <0x0011bca4> { _bfin_twi_interrupt_entry + 0x0 }

  logical irq  68 mapped  : <0x000e637c> { _bfin_ata_interrupt + 0x0 }

  logical irq  74 mapped  : <0x0012274c> { _sdh_dma_irq + 0x0 }

  logical irq  76 mapped  : <0x0011735c> { _bfin_kpad_isr + 0x0 }

  logical irq  79 mapped  : <0x00122c30> { _sdh_stat_irq + 0x0 }

  logical irq  82 mapped  : <0x001112f8> { _blackfin_interrupt + 0x0 }

  logical irq  85 mapped  : <0x00114810> { _dma_controller_irq + 0x0 }

  logical irq 175 mapped  : <0x000fc644> { _smsc911x_irqhandler + 0x0 }

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

RETN: <0x0099e000> /* kernel dynamic memory (maybe user-space) */

RETX: <0x02ce19e4> /* kernel dynamic memory (maybe user-space) */

RETS: <0x02ce179c> /* kernel dynamic memory (maybe user-space) */

PC  : <0xffa00b8e> { _schedule_and_signal + 0x5a }

PROCESSOR STATE:

R0 : 00000000    R1 : 00000055    R2 : 00000001    R3 : 00000100

R4 : 00000006    R5 : 00000001    R6 : 02cea760    R7 : 02ceded4

P0 : 00000550    P1 : 02ce8b00    P2 : ffa10000    P3 : 00000001

P4 : 02cedf4c    P5 : 02cebf40    FP : 02ceded8    SP : 0099de48

LB0: 02ce6a15    LT0: 02ce6a14    LC0: 00000000

LB1: 02c927b1    LT1: 02c927b0    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000004    I0 : 02cedc19

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 02ce89e0

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 : 02cedcf0  ASTAT: 02003004

 

Hardware Trace:

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

     Source : <0xffa00d96> { _evt_ivhw + 0xaa } JUMP.L

   1 Target : <0xffa00d78> { _evt_ivhw + 0x8c }

     Source : <0xffa00d6a> { _evt_ivhw + 0x7e } IF !CC JUMP pcrel

   2 Target : <0xffa00cec> { _evt_ivhw + 0x0 }

      FAULT : <0xffa00b8c> { _schedule_and_signal + 0x58 } 0x3620

   3 Target : <0xffa00b34> { _schedule_and_signal + 0x0 }

     Source : <0xffa00e02> { _evt_ivhw + 0x116 } RTI

   4 Target : <0xffa00dae> { _evt_ivhw + 0xc2 }

     Source : <0xffa00a76> { _ret_from_exception + 0x66 } RTS

   5 Target : <0xffa00a10> { _ret_from_exception + 0x0 }

     Source : <0xffa00daa> { _evt_ivhw + 0xbe } JUMP.L

   6 Target : <0xffa00d9a> { _evt_ivhw + 0xae }

     Source : <0x0000408a> { _trap_c + 0x12e } RTS

Kernel Stack

Stack info:

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

Memory from 0x0099dde0 to 0099e000

0099dde0: 0099ddfc  00000000  0000e348 [00000006] 00000007  02ceded8  0000003f  02ceded8

0099de00: 00019abe  02cb28f8  02ccdf24  0099de80  00000000  00000007  02ce0970  02ce095e

0099de20: 00000000  ffa00d9a  02cebf40  02ceded4  02cea760  00000001  00000006  00000007

0099de40: 0099de80  00000013  02ce19e4  00008030  0000e03f  00000000  0099e000  02ce19e4

0099de60: ffa00b8e <02ce179c> 00000000  02003004  02c927b1  02ce6a15  02c927b0  02ce6a14

0099de80: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

0099dea0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

0099dec0: 00000000  00000004  00000000  00000000  02ce89e0  02cedc19  02cedcf0  02ceded8

0099dee0: 02cebf40  02cedf4c  00000001  ffa10000  02ce8b00  00000550  02ceded4  02cea760

0099df00: 00000001  00000006  00000100  00000001  00000055  00000000  00000000  00000550

0099df20: 00000006  02ce095e  02ce095e  0000e000  00000000  0099e000  02ce19e4  02ce095e

0099df40:<02ce179c> 02cea68c  02003004  02c927b1  02ce6a15  02c927b0  02ce6a14  00000000

0099df60: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

0099df80: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

0099dfa0: 00000004  00000000  00000000  02ce89e0  02cedc19  02cedcf0  02ceded8  02cebf40

0099dfc0: 02cedf4c  00000001  ffa10000  02ce8b00  00000550  02ceded4  02cea760  00000001

0099dfe0: 00000006  00000100  00000001  00000055  02cea68c  02cea68c  00000550  00000006

Return addresses in stack:

    address : <0x02ce179c> /* kernel dynamic memory (maybe user-space) */

    address : <0x02ce179c> /* kernel dynamic memory (maybe user-space) */

Modules linked in:

Kernel panic - not syncing: Kernel exception

Hardware Trace:

Stack info:

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

Memory from 0x0099dd60 to 0099e000

0099dd60: 00000007  0099dd6c  00000013 [001e5108] 001a04ea  0099de48  001e5108  002416de

0099dd80: 002416de  002416de  0099dd9c  00004398  0099de48  02ceded4  0099de48  0000ffff

0099dda0: 0000003f  00000001  0001081e  00030002  0099ddc1  3078303c  64656332  3e383966

0099ddc0: 74205b20  73706172  7365745f  202b2074  66647830  5d203839  00000000  0001990c

0099dde0: 0099ddfc  00000000  0000e348  00000006  00000007  02ceded8  0000003f  02ceded8

0099de00: 00019abe  02cb28f8  02ccdf24  0099de80  00000000  00000007  02ce0970  02ce095e

0099de20: 00000000  ffa00d9a  02cebf40  02ceded4  02cea760  00000001  00000006  00000007

0099de40: 0099de80  00000013  02ce19e4  00008030  0000e03f  00000000  0099e000  02ce19e4

0099de60: ffa00b8e <02ce179c> 00000000  02003004  02c927b1  02ce6a15  02c927b0  02ce6a14

0099de80: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

0099dea0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

0099dec0: 00000000  00000004  00000000  00000000  02ce89e0  02cedc19  02cedcf0  02ceded8

0099dee0: 02cebf40  02cedf4c  00000001  ffa10000  02ce8b00  00000550  02ceded4  02cea760

0099df00: 00000001  00000006  00000100  00000001  00000055  00000000  00000000  00000550

0099df20: 00000006  02ce095e  02ce095e  0000e000  00000000  0099e000  02ce19e4  02ce095e

0099df40:<02ce179c> 02cea68c  02003004  02c927b1  02ce6a15  02c927b0  02ce6a14  00000000

0099df60: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

0099df80: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

0099dfa0: 00000004  00000000  00000000  02ce89e0  02cedc19  02cedcf0  02ceded8  02cebf40

0099dfc0: 02cedf4c  00000001  ffa10000  02ce8b00  00000550  02ceded4  02cea760  00000001

0099dfe0: 00000006  00000100  00000001  00000055  02cea68c  02cea68c  00000550  00000006

Return addresses in stack:

    address : <0x02ce179c> /* kernel dynamic memory (maybe user-space) */

    address : <0x02ce179c> /* kernel dynamic memory (maybe user-space) */

--

 

Follow-ups

 

--- Sonic Zhang                                              2010-08-17 05:02:55

Can't replicate on kernel rev. 9029 and bf548 v0.2.

 

Running test 85 for exception 0x3f: Read of L1 instruction

... PASS (test completed 1/1 times, as expected by signal 7: Bus error)

 

--- Vivi Li                                                  2010-08-17 23:19:54

The bug disappear in latest trunk.

Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.linux.traps    application/octet-stream    46795    Vivi Li

Attachments

Outcomes