AnsweredAssumed Answered

DMA appears to be stuck

Question asked by sheldon rucker on Jan 8, 2015

Hello All,

 

I'm working on a custom board using an i.mx6q processor and a JB4.2.2 build.  After upgrading the graphic drivers to the P13 release using the patches provided here (GPU upgrade to latest p13 for JB4.2.2_1.1.0 release) the system crashes due to a "DMA appears to be stuck" message as shown below. 

 

I've looked around on the community forums and I've only found one person who had somewhat of a similar problem (Q&A: How to make 16bit DDR + OpenGL/OpenVG working on imx6 solo?).  I tried adjusting PMU_REG_CORE[REG1_TARG] with no luck. 

 

Does anyone have any suggestions?  Any help would be greatly appreciated.

 

Attached is my kernel start up log just in case it helps.

 

**************************

***   GPU STATE DUMP   ***

**************************

  axi      = 0x00000051

  idle     = 0x7FFFFFFF

  DMA appears to be stuck at this address:

    0x19FB1858

  dmaLow   = 0x15400800

  dmaHigh  = 0x01FC0A40

  dmaState = 0x00000000

    command state       = 0 (PAR_IDLE_ST)

    command DMA state   = 0 (CMD_IDLE_ST)

    command fetch state = 0 (FET_IDLE_ST)

    DMA request state   = 0 (REQ_IDLE_ST)

    cal state           = 0 (CAL_IDLE_ST)

    VE request state    = 0 (VER_IDLE_ST)

  Debug registers of pipe[0]:

    RA debug registers:

      [0x00] 0x00000000

      [0x01] 0x00000000

      [0x02] 0x00000000

      [0x03] 0x00000000

      [0x04] 0x0BFF0000

      [0x05] 0xA0045000

      [0x06] 0x81BA8000

      [0x07] 0x00000000

      [0x08] 0x00000000

      [0x09] 0x00000000

      [0x0A] 0x00000000

      [0x0B] 0x00000000

      [0x0C] 0x12344321

      [0x0D] 0x12344321

      [0x0E] 0x12344321

      [0x0F] 0x12344321

      signature = 0x12344321 (1 read attempt(s))

    TX debug registers:

      [0x00] 0x00000000

      [0x01] 0x00000000

      [0x02] 0x00000000

      [0x03] 0x00000000

      [0x04] 0x00000000

      [0x05] 0x00000000

      [0x06] 0x00000000

      [0x07] 0x00000000

      [0x08] 0x00000000

      [0x09] 0x00000000

      [0x0A] 0x00000000

      [0x0B] 0x00000000

      [0x0C] 0x00000000

      [0x0D] 0x00000000

      [0x0E] 0x00000000

      [0x0F] 0x00000000

      failed to obtain the signature (read 0x00000000).

    FE debug registers:

      [0x00] 0x19FB1858

      [0x01] 0x15400800

      [0x02] 0x01FC0A40

      [0x03] 0x00000256

      [0x04] 0x0408074C

      [0x05] 0x00000000

      [0x06] 0x00009571

      [0x07] 0x00007645

      [0x08] 0x0000000E

      [0x09] 0x00000000

      [0x0A] 0x00000000

      [0x0B] 0x00000000

      [0x0C] 0x00000000

      [0x0D] 0xA3010000

      [0x0E] 0x00000096

      [0x0F] 0xBABEF00D

      signature = 0xBABEF00D (1 read attempt(s))

    PE debug registers:

      [0x00] 0x00000000

      [0x01] 0x00000000

      [0x02] 0x00000000

      [0x03] 0x00000000

      [0x04] 0xA0000000

      [0x05] 0xABC00000

      [0x06] 0xBC000000

      [0x07] 0xCDE00000

      [0x08] 0xD04045C0

      [0x09] 0x204045C0

      [0x0A] 0x0D863284

      [0x0B] 0x00000000

      [0x0C] 0xBABEF00D

      [0x0D] 0xBABEF00D

      [0x0E] 0xBABEF00D

      [0x0F] 0xBABEF00D

      signature = 0xBABEF00D (1 read attempt(s))

    DE debug registers:

      [0x00] 0x00000000

      [0x01] 0x00000000

      [0x02] 0x00000000

      [0x03] 0x00000000

      [0x04] 0x00000000

      [0x05] 0x00000000

      [0x06] 0x00000000

      [0x07] 0x00000000

      [0x08] 0x00000000

      [0x09] 0x00000000

      [0x0A] 0x00000000

      [0x0B] 0x00000000

      [0x0C] 0x00000000

      [0x0D] 0x00000000

      [0x0E] 0x00000000

      [0x0F] 0x00000000

      failed to obtain the signature (read 0x00000000).

    SH debug registers:

      [0x00] 0x80FFEAAB

      [0x01] 0x555F0000

      [0x02] 0x0001FF05

      [0x03] 0x00010AAA

      [0x04] 0x00000000

      [0x05] 0x000064FA

      [0x06] 0x000064FA

      [0x07] 0x001F6FB0

      [0x08] 0x001F6322

      [0x09] 0x000000F0

      [0x0A] 0x0000002C

      [0x0B] 0x00000000

      [0x0C] 0x00000000

      [0x0D] 0x00000000

      [0x0E] 0x00040A90

      [0x0F] 0xDEADBEEF

      signature = 0xDEADBEEF (1 read attempt(s))

    PA debug registers:

      [0x00] 0x800003FF

      [0x01] 0x26280000

      [0x02] 0x00000800

      [0x03] 0x00000000

      [0x04] 0x00000000

      [0x05] 0x00000000

      [0x06] 0x00000000

      [0x07] 0x00000000

      [0x08] 0x00000000

      [0x09] 0x0000AAAA

      [0x0A] 0x0000AAAA

      [0x0B] 0x0000AAAA

      [0x0C] 0x0000AAAA

      [0x0D] 0x0000AAAA

      [0x0E] 0x0000AAAA

      [0x0F] 0x0000AAAA

      signature = 0x0000AAAA (1 read attempt(s))

    SE debug registers:

      [0x00] 0x00000003

      [0x01] 0x00000003

      [0x02] 0x00000003

      [0x03] 0x00000003

      [0x04] 0x00000003

      [0x05] 0x00000003

      [0x06] 0x00000003

      [0x07] 0x00000003

      [0x08] 0x00000003

      [0x09] 0x00000003

      [0x0A] 0x00000003

      [0x0B] 0x00000003

      [0x0C] 0x00000003

      [0x0D] 0x00000003

      [0x0E] 0x00000003

      [0x0F] 0x00000003

      failed to obtain the signature (read 0x00000003).

    MC debug registers:

      [0x00] 0x00000000

      [0x01] 0x00000000

      [0x02] 0x00000000

      [0x03] 0x00000000

      [0x04] 0x12345678

      [0x05] 0x12345678

      [0x06] 0x12345678

      [0x07] 0x12345678

      [0x08] 0x12345678

      [0x09] 0x12345678

      [0x0A] 0x12345678

      [0x0B] 0x12345678

      [0x0C] 0x12345678

      [0x0D] 0x12345678

      [0x0E] 0x12345678

      [0x0F] 0x12345678

      signature = 0x12345678 (1 read attempt(s))

    HI debug registers:

      [0x00] 0x00000000

      [0x01] 0x00000000

      [0x02] 0x00000000

      [0x03] 0xAAAAAAAA

      [0x04] 0xAAAAAAAA

      [0x05] 0xAAAAAAAA

      [0x06] 0xAAAAAAAA

      [0x07] 0xAAAAAAAA

      [0x08] 0xAAAAAAAA

      [0x09] 0xAAAAAAAA

      [0x0A] 0xAAAAAAAA

      [0x0B] 0xAAAAAAAA

      [0x0C] 0xAAAAAAAA

      [0x0D] 0xAAAAAAAA

      [0x0E] 0xAAAAAAAA

      [0x0F] 0xAAAAAAAA

      signature = 0xAAAAAAAA (1 read attempt(s))

    Other Registers:

      [0x0040] 0x001205B9

      [0x0044] 0x0038C0A0

      [0x004C] 0x0038C0A0

      [0x0050] 0x00071814

      [0x0054] 0x00071814

      [0x0058] 0x001205B9

      [0x005C] 0x000276FA

      [0x0060] 0x000276FA

      [0x043C] 0x00000000

      [0x0440] 0x00000000

      [0x0444] 0x00000000

      [0x0414] 0x3C000000

  Debug registers of pipe[1]:

    RA debug registers:

      [0x00] 0x00000000

      [0x01] 0x00000000

      [0x02] 0x00000000

      [0x03] 0x00000000

      [0x04] 0x0BFF0000

      [0x05] 0xA0045000

      [0x06] 0x81BA8000

      [0x07] 0x00000000

      [0x08] 0x00000000

      [0x09] 0x00000000

      [0x0A] 0x00000000

      [0x0B] 0x00000000

      [0x0C] 0x12344321

      [0x0D] 0x12344321

      [0x0E] 0x12344321

      [0x0F] 0x12344321

      signature = 0x12344321 (1 read attempt(s))

    TX debug registers:

      [0x00] 0x00000000

      [0x01] 0x00000000

      [0x02] 0x00000000

      [0x03] 0x00000000

      [0x04] 0x00000000

      [0x05] 0x00000000

      [0x06] 0x00000000

      [0x07] 0x00000000

      [0x08] 0x00000000

      [0x09] 0x00000000

      [0x0A] 0x00000000

      [0x0B] 0x00000000

      [0x0C] 0x00000000

      [0x0D] 0x00000000

      [0x0E] 0x00000000

      [0x0F] 0x00000000

      failed to obtain the signature (read 0x00000000).

    FE debug registers:

      [0x00] 0x19FB1858

      [0x01] 0x15400800

      [0x02] 0x01FC0A40

      [0x03] 0x00000256

      [0x04] 0x0408074C

      [0x05] 0x00000000

      [0x06] 0x00009571

      [0x07] 0x00007645

      [0x08] 0x0000000E

      [0x09] 0x00000000

      [0x0A] 0x00000000

      [0x0B] 0x00000000

      [0x0C] 0x00000000

      [0x0D] 0xA3010000

      [0x0E] 0x00000097

      [0x0F] 0xBABEF00D

      signature = 0xBABEF00D (1 read attempt(s))

    PE debug registers:

      [0x00] 0x00000000

      [0x01] 0x00000000

      [0x02] 0x00000000

      [0x03] 0x00000000

      [0x04] 0xA0000000

      [0x05] 0xABC00000

      [0x06] 0xBC000000

      [0x07] 0xCDE00000

      [0x08] 0xD04045C0

      [0x09] 0x204045C0

      [0x0A] 0x0D863284

      [0x0B] 0x00000000

      [0x0C] 0xBABEF00D

      [0x0D] 0xBABEF00D

      [0x0E] 0xBABEF00D

      [0x0F] 0xBABEF00D

      signature = 0xBABEF00D (1 read attempt(s))

    DE debug registers:

      [0x00] 0x00000000

      [0x01] 0x00000000

      [0x02] 0x00000000

      [0x03] 0x00000000

      [0x04] 0x00000000

      [0x05] 0x00000000

      [0x06] 0x00000000

      [0x07] 0x00000000

      [0x08] 0x00000000

      [0x09] 0x00000000

      [0x0A] 0x00000000

      [0x0B] 0x00000000

      [0x0C] 0x00000000

      [0x0D] 0x00000000

      [0x0E] 0x00000000

      [0x0F] 0x00000000

      failed to obtain the signature (read 0x00000000).

    SH debug registers:

      [0x00] 0x80FFEAAB

      [0x01] 0x555F0000

      [0x02] 0x0001FF05

      [0x03] 0x00010AAA

      [0x04] 0x00000000

      [0x05] 0x000064FA

      [0x06] 0x000064FA

      [0x07] 0x001F6FB0

      [0x08] 0x001F6322

      [0x09] 0x000000F0

      [0x0A] 0x0000002C

      [0x0B] 0x00000000

      [0x0C] 0x00000000

      [0x0D] 0x00000000

      [0x0E] 0x00040A90

      [0x0F] 0xDEADBEEF

      signature = 0xDEADBEEF (1 read attempt(s))

    PA debug registers:

      [0x00] 0x800003FF

      [0x01] 0x26280000

      [0x02] 0x00000800

      [0x03] 0x00000000

      [0x04] 0x00000000

      [0x05] 0x00000000

      [0x06] 0x00000000

      [0x07] 0x00000000

      [0x08] 0x00000000

      [0x09] 0x0000AAAA

      [0x0A] 0x0000AAAA

      [0x0B] 0x0000AAAA

      [0x0C] 0x0000AAAA

      [0x0D] 0x0000AAAA

      [0x0E] 0x0000AAAA

      [0x0F] 0x0000AAAA

      signature = 0x0000AAAA (1 read attempt(s))

    SE debug registers:

      [0x00] 0x00000003

      [0x01] 0x00000003

      [0x02] 0x00000003

      [0x03] 0x00000003

      [0x04] 0x00000003

      [0x05] 0x00000003

      [0x06] 0x00000003

      [0x07] 0x00000003

      [0x08] 0x00000003

      [0x09] 0x00000003

      [0x0A] 0x00000003

      [0x0B] 0x00000003

      [0x0C] 0x00000003

      [0x0D] 0x00000003

      [0x0E] 0x00000003

      [0x0F] 0x00000003

      failed to obtain the signature (read 0x00000003).

    MC debug registers:

      [0x00] 0x00000000

      [0x01] 0x00000000

      [0x02] 0x00000000

      [0x03] 0x00000000

      [0x04] 0x12345678

      [0x05] 0x12345678

      [0x06] 0x12345678

      [0x07] 0x12345678

      [0x08] 0x12345678

      [0x09] 0x12345678

      [0x0A] 0x12345678

      [0x0B] 0x12345678

      [0x0C] 0x12345678

      [0x0D] 0x12345678

      [0x0E] 0x12345678

      [0x0F] 0x12345678

      signature = 0x12345678 (1 read attempt(s))

    HI debug registers:

      [0x00] 0x00000000

      [0x01] 0x00000000

      [0x02] 0x00000000

      [0x03] 0xAAAAAAAA

      [0x04] 0xAAAAAAAA

      [0x05] 0xAAAAAAAA

      [0x06] 0xAAAAAAAA

      [0x07] 0xAAAAAAAA

      [0x08] 0xAAAAAAAA

      [0x09] 0xAAAAAAAA

      [0x0A] 0xAAAAAAAA

      [0x0B] 0xAAAAAAAA

      [0x0C] 0xAAAAAAAA

      [0x0D] 0xAAAAAAAA

      [0x0E] 0xAAAAAAAA

      [0x0F] 0xAAAAAAAA

      signature = 0xAAAAAAAA (1 read attempt(s))

    Other Registers:

      [0x0040] 0x00129E3F

      [0x0044] 0x0038C8D8

      [0x004C] 0x0038C8D8

      [0x0050] 0x0007191B

      [0x0054] 0x0007191B

      [0x0058] 0x00129E3F

      [0x005C] 0x00028A0A

      [0x0060] 0x00028A0A

      [0x043C] 0x00000000

      [0x0440] 0x00000000

      [0x0444] 0x00000000

      [0x0414] 0x3C000000

[<c0053fc4>] (unwind_backtrace+0x0/0x138) from [<c0471928>] (gckOS_DumpCallStack+0x8/0x10)

[<c0471928>] (gckOS_DumpCallStack+0x8/0x10) from [<c04844f0>] (gckHARDWARE_DumpGPUState+0x63c/0x834)

[<c04844f0>] (gckHARDWARE_DumpGPUState+0x63c/0x834) from [<c04708c8>] (gckOS_Broadcast+0x38/0xe8)

[<c04708c8>] (gckOS_Broadcast+0x38/0xe8) from [<c04744d0>] (gckKERNEL_Dispatch+0x1020/0x1228)

[<c04744d0>] (gckKERNEL_Dispatch+0x1020/0x1228) from [<c046ccbc>] (drv_ioctl+0x120/0x270)

[<c046ccbc>] (drv_ioctl+0x120/0x270) from [<c0140108>] (do_vfs_ioctl+0x80/0x54c)

[<c0140108>] (do_vfs_ioctl+0x80/0x54c) from [<c014060c>] (sys_ioctl+0x38/0x5c)

[<c014060c>] (sys_ioctl+0x38/0x5c) from [<c004c900>] (ret_fast_syscall+0x0/0x30)

Original Attachment has been moved to: startup_log.txt.zip

Outcomes