[meta-freescale] Kernel Panic in GPU driver on i.mx 53 (Internal error Oops: 817 )

Alexei Nomazov Alexei.Nomazov at unitronics.com
Thu Oct 29 05:03:16 PDT 2015


Hello,



I experience kernel panic when executing simple Qt application with gif animation or images presentation.

>From kernel logs it seems to be known situation within GPU driver code specific location:

"kernel BUG at drivers/mxc/amd-gpu/platform/hal/linux/misc.c:66! "



Platform:

i.mx 53 board with linux kernel 2.6.35.

Yocto layer fido build with Qt 5.4.1 over Linux X11.



Kernel Log:

kernel BUG at drivers/mxc/amd-gpu/platform/hal/linux/misc.c:66!

Unable to handle kernel NULL pointer dereference at virtual address 00000000

pgd = 80004000

[00000000] *pgd=00000000

Internal error: Oops: 817 [#1] PREEMPT

last sysfs file: /sys/module/fec/parameters/g_phy_addr

Modules linked in: pl2303 cp210x

CPU: 0    Not tainted  (2.6.35.3-744-g27fdf7b #9)

PC is at __bug+0x18/0x24

LR is at __bug+0x14/0x24

pc : [<80095ddc>]    lr : [<80095dd8>]    psr: 200f0193

sp : 80925f10  ip : 968fc000  fp : 00000000

r10: 0000001f  r9 : 80924000  r8 : 00000001

r7 : 00000001  r6 : a00f0193  r5 : 00000000  r4 : 9552f240

r3 : 00000000  r2 : 80925f04  r1 : 8087c1d1  r0 : 00000046

Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel

Control: 10c5387d  Table: 858e4019  DAC: 00000017

Process swapper (pid: 0, stack limit = 0x809242e8)

Stack: (0x80925f10 to 0x80926000)

5f00:                                     9552f240 803ffde8 809a0f98 00000000

5f20: 00000000 0000000c 00000001 803f9978 9507df00 803feea8 9507df00 800edc94

5f40: 809441e4 0000000c 9507df00 00000002 00000001 800efd5c 0000000c 00000000

5f60: 00000001 8009206c ffffffff 96800000 00000001 80092a8c 809329ec 03c5dc3c

5f80: 00000001 00000000 80924000 80928a30 8097b3a4 80928a28 7002bca0 412fc085

5fa0: 0000001f 00000000 00000003 80925fc0 80093a84 80093a88 600f0013 ffffffff

5fc0: 80924000 80093f6c 80986da0 80928ad0 8002d5c4 80008994 800084e8 00000cc9

5fe0: 70000100 8002d5c4 10c53c7d 8097b450 8002d5c0 70008034 00000000 00000000

[<80095ddc>] (__bug+0x18/0x24) from [<803ffde8>] (_kgsl_device_active+0x78/0x158)

[<803ffde8>] (_kgsl_device_active+0x78/0x158) from [<803f9978>] (kgsl_intr_isr+0x44/0x60)

[<803f9978>] (kgsl_intr_isr+0x44/0x60) from [<803feea8>] (z430_irq_handler+0x8/0x10)

[<803feea8>] (z430_irq_handler+0x8/0x10) from [<800edc94>] (handle_IRQ_event+0x24/0xe4)

[<800edc94>] (handle_IRQ_event+0x24/0xe4) from [<800efd5c>] (handle_level_irq+0xd4/0x180)

[<800efd5c>] (handle_level_irq+0xd4/0x180) from [<8009206c>] (asm_do_IRQ+0x6c/0x8c)

[<8009206c>] (asm_do_IRQ+0x6c/0x8c) from [<80092a8c>] (__irq_svc+0x4c/0xcc)

Exception stack(0x80925f78 to 0x80925fc0)

5f60:                                                       809329ec 03c5dc3c

5f80: 00000001 00000000 80924000 80928a30 8097b3a4 80928a28 7002bca0 412fc085

5fa0: 0000001f 00000000 00000003 80925fc0 80093a84 80093a88 600f0013 ffffffff

[<80092a8c>] (__irq_svc+0x4c/0xcc) from [<80093a88>] (default_idle+0x24/0x28)

[<80093a88>] (default_idle+0x24/0x28) from [<80093f6c>] (cpu_idle+0x48/0xa0)

[<80093f6c>] (cpu_idle+0x48/0xa0) from [<80008994>] (start_kernel+0x270/0x2c4)

[<80008994>] (start_kernel+0x270/0x2c4) from [<70008034>] (0x70008034)

Code: e92d4010 e59f000c eb11eae6 e3a03000 (e5833000)

---[ end trace d941ea1388c9cbad ]---

Kernel panic - not syncing: Fatal exception in interrupt

[<800974ac>] (unwind_backtrace+0x0/0xf0) from [<805108dc>] (panic+0x6c/0x104)

[<805108dc>] (panic+0x6c/0x104) from [<80096388>] (die+0x2b4/0x304)

[<80096388>] (die+0x2b4/0x304) from [<800982e0>] (__do_kernel_fault+0x64/0x84)

[<800982e0>] (__do_kernel_fault+0x64/0x84) from [<800984c0>] (do_page_fault+0x1c0/0x1d4)

[<800984c0>] (do_page_fault+0x1c0/0x1d4) from [<800922b8>] (do_DataAbort+0x34/0x94)

[<800922b8>] (do_DataAbort+0x34/0x94) from [<80092a2c>] (__dabt_svc+0x4c/0x60)

Exception stack(0x80925ec8 to 0x80925f10)

5ec0:                   00000046 8087c1d1 80925f04 00000000 9552f240 00000000

5ee0: a00f0193 00000001 00000001 80924000 0000001f 00000000 968fc000 80925f10

5f00: 80095dd8 80095ddc 200f0193 ffffffff

[<80092a2c>] (__dabt_svc+0x4c/0x60) from [<80095ddc>] (__bug+0x18/0x24)

[<80095ddc>] (__bug+0x18/0x24) from [<803ffde8>] (_kgsl_device_active+0x78/0x158)

[<803ffde8>] (_kgsl_device_active+0x78/0x158) from [<803f9978>] (kgsl_intr_isr+0x44/0x60)

[<803f9978>] (kgsl_intr_isr+0x44/0x60) from [<803feea8>] (z430_irq_handler+0x8/0x10)

[<803feea8>] (z430_irq_handler+0x8/0x10) from [<800edc94>] (handle_IRQ_event+0x24/0xe4)

[<800edc94>] (handle_IRQ_event+0x24/0xe4) from [<800efd5c>] (handle_level_irq+0xd4/0x180)

[<800efd5c>] (handle_level_irq+0xd4/0x180) from [<8009206c>] (asm_do_IRQ+0x6c/0x8c)

[<8009206c>] (asm_do_IRQ+0x6c/0x8c) from [<80092a8c>] (__irq_svc+0x4c/0xcc)

Exception stack(0x80925f78 to 0x80925fc0)

5f60:                                                       809329ec 03c5dc3c

5f80: 00000001 00000000 80924000 80928a30 8097b3a4 80928a28 7002bca0 412fc085

5fa0: 0000001f 00000000 00000003 80925fc0 80093a84 80093a88 600f0013 ffffffff

[<80092a8c>] (__irq_svc+0x4c/0xcc) from [<80093a88>] (default_idle+0x24/0x28)

[<80093a88>] (default_idle+0x24/0x28) from [<80093f6c>] (cpu_idle+0x48/0xa0)

[<80093f6c>] (cpu_idle+0x48/0xa0) from [<80008994>] (start_kernel+0x270/0x2c4)

[<80008994>] (start_kernel+0x270/0x2c4) from [<70008034>] (0x70008034)



Questions:

1). Which scenarios related to the known issue "kernel BUG at drivers/mxc/amd-gpu/platform/hal/linux/misc.c:66! " ?

2). Which scenario could be related to my application (Qt based gif / image presentation) ?

3). How can i potentially avoid it ?



Any help would be appreciated.

Thanks,

Alexei Nomazov.


<p align="justify"><hr><p><font size="2">This message, its content and any attachments transmitted with it contain confidential, privileged,  proprietary or other private information of Unitronics (1989) (R"G) Ltd and/or Unitronics Inc and/or Unitronics Automated Solutions Ltd and/or Unitronics Systems Inc.  which are intended only for designated recipient(s). If the reader of this message is not the designated recipient,   you are hereby notified that any review, copy, distribution or other use of this message is strictly prohibited.  If you are not a designated recipient of this message, please notify the sender by reply e-mail and delete   the message and all copies and backups thereof. Thank you.</font></p><p align="justify"><p></p><p align="justify"><p></p><p></p>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20151029/79c548ad/attachment.html>


More information about the meta-freescale mailing list