iMX6Quad galcore bug

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX6Quad galcore bug

1,518 Views
Salvatore1z
Contributor II

Hi,

I'm working with a custom made board with an iMX6Quad.

I got the following bug:

[   73.262086] ------------[ cut here ]------------

[   73.266717] kernel BUG at drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c:1973!

[   73.274997] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM

[   73.280842] Modules linked in:

[   73.283949] CPU: 1 PID: 92 Comm: galcore daemon  Not tainted 3.14.28scamp+ #20

[   73.291191] task: a8324800 ti: a8618000 task.ti: a8618000

[   73.296630] PC is at gckOS_ReadRegisterEx+0xd4/0xe0

[   73.301540] LR is at _AllowAccess+0x60/0x88

[   73.305754] pc : [<804e49c0>]    lr : [<804e4734>]    psr: 600b0013

[   73.305754] sp : a8619ee0  ip : 0000002b  fp : 80000000

[   73.317294] r10: 00000000  r9 : 00000000  r8 : a8618020

[   73.322528] r7 : a8619f14  r6 : 0000000c  r5 : a83a6b00  r4 : 00000000

[   73.329062] r3 : 0000005b  r2 : 00000000  r1 : 00000001  r0 : 00000000

[   73.335598] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel

[   73.342916] Control: 10c53c7d  Table: 395fc04a  DAC: 00000015

[   73.348671] Process galcore daemon  (pid: 92, stack limit = 0xa8618238)

[   73.355372] Stack: (0xa8619ee0 to 0xa861a000)

[   73.359797] 9ee0: 00000000 a83fd400 a83a6e00 804e2840 00000000 804f4ddc f6fff5df a8063d2c

[   73.367986] 9f00: a83fd420 00000000 00000000 80000000 0000001c 00000000 00100100 a8414000

[   73.376172] 9f20: a83fd400 a83f7ed0 804e2840 00000000 00000000 00000000 00000000 804fd2bc

[   73.384371] 9f40: 804e2840 00000000 a8614480 a83f7e00 8102c97c 804e2860 00000000 a8614480

[   73.392568] 9f60: a83f7e00 80047a90 1e5d77bd 00000000 fedf5ffd a83f7e00 00000000 00000000

[   73.400765] 9f80: a8619f80 a8619f80 00000000 00000000 a8619f90 a8619f90 a8619fac a8614480

[   73.408951] 9fa0: 800479c4 00000000 00000000 8000e5b8 00000000 00000000 00000000 00000000

[   73.417135] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[   73.425318] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 fcafde7f fd9dfb32

[   73.433514] [<804e49c0>] (gckOS_ReadRegisterEx) from [<804f4ddc>] (gckEVENT_Notify+0x470/0x508)

[   73.442225] [<804f4ddc>] (gckEVENT_Notify) from [<804fd2bc>] (gckHARDWARE_Interrupt+0x60/0x80)

[   73.450848] [<804fd2bc>] (gckHARDWARE_Interrupt) from [<804e2860>] (threadRoutine+0x20/0x70)

[   73.459303] [<804e2860>] (threadRoutine) from [<80047a90>] (kthread+0xcc/0xe4)

[   73.466539] [<80047a90>] (kthread) from [<8000e5b8>] (ret_from_fork+0x14/0x3c)

[   73.473769] Code: e280006c eb0a05e0 e1a00006 e8bd81f0 (e7f001f2)

[   73.479869] ---[ end trace bfef462904b1170c ]---

[   73.484491] Kernel panic - not syncing: Fatal exception

[   73.489722] CPU0: stopping

[   73.492439] CPU: 0 PID: 85 Comm: spi2 Tainted: G      D      3.14.28scamp+ #20

[   73.499684] [<80014e04>] (unwind_backtrace) from [<80011794>] (show_stack+0x10/0x14)

[   73.507441] [<80011794>] (show_stack) from [<80761b08>] (dump_stack+0x7c/0xbc)

[   73.514674] [<80761b08>] (dump_stack) from [<80013a70>] (handle_IPI+0x144/0x158)

[   73.522079] [<80013a70>] (handle_IPI) from [<8000862c>] (gic_handle_irq+0x58/0x5c)

[   73.529656] [<8000862c>] (gic_handle_irq) from [<800122c0>] (__irq_svc+0x40/0x70)

[   73.537140] Exception stack(0xa83efe80 to 0xa83efec8)

[   73.542199] fe80: 0d2aec50 00100100 f6371e00 c0808024 81022848 00015f8f 0d29ac4e a83dd000

[   73.550381] fea0: a8103a50 00000001 80f51734 0000003c 2a7fb000 a83efec8 802b29c0 802b29c0

[   73.558560] fec0: a0010013 ffffffff

[   73.562066] [<800122c0>] (__irq_svc) from [<802b29c0>] (__timer_delay+0x4c/0x5c)

[   73.569477] [<802b29c0>] (__timer_delay) from [<803f5654>] (spi_bitbang_transfer_one+0xd4/0x244)

[   73.578274] [<803f5654>] (spi_bitbang_transfer_one) from [<803f395c>] (spi_pump_messages+0x308/0x480)

[   73.587506] [<803f395c>] (spi_pump_messages) from [<80047c0c>] (kthread_worker_fn+0x4c/0x164)

[   73.596039] [<80047c0c>] (kthread_worker_fn) from [<80047a90>] (kthread+0xcc/0xe4)

[   73.603616] [<80047a90>] (kthread) from [<8000e5b8>] (ret_from_fork+0x14/0x3c)

[   73.610841] CPU3: stopping

[   73.613557] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D      3.14.28scamp+ #20

[   73.621141] [<80014e04>] (unwind_backtrace) from [<80011794>] (show_stack+0x10/0x14)

[   73.628894] [<80011794>] (show_stack) from [<80761b08>] (dump_stack+0x7c/0xbc)

[   73.636124] [<80761b08>] (dump_stack) from [<80013a70>] (handle_IPI+0x144/0x158)

[   73.643525] [<80013a70>] (handle_IPI) from [<8000862c>] (gic_handle_irq+0x58/0x5c)

[   73.651101] [<8000862c>] (gic_handle_irq) from [<800122c0>] (__irq_svc+0x40/0x70)

[   73.658585] Exception stack(0xa80abf50 to 0xa80abf98)

[   73.663641] bf40:                                     a80abf98 3b9aca00 1c20d0c3 00000011

[   73.671823] bf60: 80f3c4d4 80f3c488 ab73dfb0 00000001 1c0e8290 00000011 a80aa000 00000000

[   73.680004] bf80: 00000017 a80abf98 00000009 804c7150 000b0013 ffffffff

[   73.686636] [<800122c0>] (__irq_svc) from [<804c7150>] (cpuidle_enter_state+0x54/0xe4)

[   73.694563] [<804c7150>] (cpuidle_enter_state) from [<804c72dc>] (cpuidle_idle_call+0xfc/0x14c)

[   73.703269] [<804c72dc>] (cpuidle_idle_call) from [<8000f13c>] (arch_cpu_idle+0x8/0x44)

[   73.711289] [<8000f13c>] (arch_cpu_idle) from [<800672b4>] (cpu_startup_entry+0x100/0x14c)

[   73.719561] [<800672b4>] (cpu_startup_entry) from [<100086c4>] (0x100086c4)

[   73.726526] CPU2: stopping

[   73.729242] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G      D      3.14.28scamp+ #20

[   73.736827] [<80014e04>] (unwind_backtrace) from [<80011794>] (show_stack+0x10/0x14)

[   73.744580] [<80011794>] (show_stack) from [<80761b08>] (dump_stack+0x7c/0xbc)

[   73.751809] [<80761b08>] (dump_stack) from [<80013a70>] (handle_IPI+0x144/0x158)

[   73.759211] [<80013a70>] (handle_IPI) from [<8000862c>] (gic_handle_irq+0x58/0x5c)

[   73.766788] [<8000862c>] (gic_handle_irq) from [<800122c0>] (__irq_svc+0x40/0x70)

[   73.774273] Exception stack(0xa80a9f50 to 0xa80a9f98)

[   73.779328] 9f40:                                     a80a9f98 3b9aca00 1c20d0c3 00000011

[   73.787511] 9f60: 80f3c4d4 80f3c488 ab735fb0 00000001 1bf3a25b 00000011 a80a8000 00000000

[   73.795693] 9f80: 00000017 a80a9f98 00000009 804c7150 00030013 ffffffff

[   73.802317] [<800122c0>] (__irq_svc) from [<804c7150>] (cpuidle_enter_state+0x54/0xe4)

[   73.810242] [<804c7150>] (cpuidle_enter_state) from [<804c72dc>] (cpuidle_idle_call+0xfc/0x14c)

[   73.818948] [<804c72dc>] (cpuidle_idle_call) from [<8000f13c>] (arch_cpu_idle+0x8/0x44)

[   73.826961] [<8000f13c>] (arch_cpu_idle) from [<800672b4>] (cpu_startup_entry+0x100/0x14c)

[   73.835231] [<800672b4>] (cpu_startup_entry) from [<100086c4>] (0x100086c4)

[   73.842198] Rebooting in 10 seconds..

FATAL: term closed

term_exitfunc: reset failed for dev UNKNOWN: Input/output error

The kernel version used is 3.14.28.

Has this bug ever been observed? Is there any new patch in the GPU driver to be included?

Thank you.

Salvatore

Labels (3)
0 Kudos
1 Reply

708 Views
Yuri
NXP Employee
NXP Employee

Hello,

  You may try the recent BSP L3.14.52, where GPU driver is  upgraded to Vivante v5.0.11p7.4.

http://www.nxp.com/webapp/Download?colCode=L3.14.52_1.1.0_LINUX_DOCS&Parent_nodeId=13376994810717061...   

i.MX 6 Series Software and Development Tool|NXP


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos