AnsweredAssumed Answered

imx6 JB4.3 kernel GPU driver panic

Question asked by HU YUGUI on Jul 28, 2014

We use imx6d JB4.3 BSP on our custom board.

On music app, I touch down & up on the music list, GPU driver crash sometimes.

 

 

Bellowed  commands are auto test I used:

while true ; do adb shell input touchscreen swipe 330  300 330 550 40;adb shell input touchscreen swipe 330  550 330 300 40 ;done

panic log:

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

[ 3887.330802] Unable to handle kernel paging request at virtual address befcabb0

[ 3887.338223] pgd = d6ddc000

[ 3887.341092] [befcabb0] *pgd=26d84831, *pte=00000000, *ppte=00000000

[ 3887.348346] Internal error: Oops: 80000007 [#1] PREEMPT SMP

[ 3887.353935] Modules linked in: pateo_sdio wlcore_sdio wl18xx wlcore mac80211 cfg80211 compat gps_drv btwilink st_drv ipod_mfi max21000 mpl3115a2 xf6000ye snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_hwdep pl2303 option usb_wwan usbserial pptp pppopns pppolac pppoe pppox ppp_synctty ppp_mppe ppp_deflate ppp_async bsd_comp ppp_generic slhc asteroid_gt9xx evdev fuse msdos vfat fat galcore

[ 3887.388762] CPU: 0    Not tainted  (3.0.35_ASTEROID-00018-g82adcb2 #1)

[ 3887.395304] PC is at 0xbefcabb0

[ 3887.398491] LR is at gckKERNEL_AddProcessDB+0x2c0/0x354 [galcore]

[ 3887.404589] pc : [<befcabb0>]    lr : [<bf00abac>]    psr: 00030013

[ 3887.404594] sp : d789dbe8  ip : d6b347a0  fp : 40789858

[ 3887.416082] r10: 00000000  r9 : 40789858  r8 : 00000000

[ 3887.421309] r7 : 00000389  r6 : 098967af  r5 : 00000000  r4 : d605b8a0

[ 3887.427838] r3 : cee5cfdc  r2 : 00000000  r1 : 00000000  r0 : 3aa39b5b

[ 3887.434369] Flags: nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user

[ 3887.441507] Control: 10c53c7d  Table: 26ddc04a  DAC: 00000015

[ 3887.447254]

[ 3887.447256] SP: 0xd789db68:

[ 3887.451536] db68  0000024c 00000001 0000024c 00000001 00000000 00000001 00000000 00000000

[ 3887.459825] db88  00000000 0000040f 00000007 098967af 00000389 c003cbd4 3aa39b5b 00000000

[ 3887.468112] dba8  00000000 cee5cfdc d605b8a0 00000000 098967af 00000389 00000000 40789858

[ 3887.476399] dbc8  00000000 40789858 d6b347a0 d789dbe8 bf00abac befcabb0 00030013 ffffffff

[ 3887.484687] dbe8  00000000 d602bc40 098967af 00000389 d6c42840 d6c42840 00000000 d6c42840

[ 3887.492973] dc08  00000001 40789858 00000000 bf005300 00000000 00000000 d6c42780 bf009480

[ 3887.501260] dc28  d6c42780 00000000 4080bb38 bf009814 c05ce000 c008ed90 c061380c ffffffff

[ 3887.509547] dc48  c05ce000 00000002 00000000 c008f05c 00000000 c176a4b8 d60ed9c8 c05ce01c

[ 3887.517834]

[ 3887.517836] IP: 0xd6b34720:

[ 3887.522116] 4720  44524148 d6a6f3c0 d6298200 00000355 00001215 1e2c7cc8 0024207f 00010104

[ 3887.530404] 4740  00000000 00000001 00000001 00000001 fffffffe 00000000 00000000 d6008540

[ 3887.538691] 4760  00000005 00000001 00000001 00000001 00000000 00000000 00000000 00000000

[ 3887.546977] 4780  fffb7698 0000012c d6165800 00000000 d6c11320 00000001 00000000 00000000

[ 3887.555263] 47a0  d7924a00 00000000 00000000 00000000 00000000 00000000 d3b97800 d2a76a00

[ 3887.563551] 47c0  00000000 d78e3000 d7be7000 00000000 d78e3e00 00000000 00000000 00000000

[ 3887.571839] 47e0  d6b2f780 00000000 d27b4860 d2fee400 00000840 000001a4 0a272532 00000389

[ 3887.580127] 4800  777159a7 00000161 cee5cc54 00000388 588fc81d 00000161 d6a6f500 d6008420

[ 3887.588414]

[ 3887.588416] R3: 0xcee5cf5c:

[ 3887.592697] cf5c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[ 3887.600986] cf7c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[ 3887.609273] cf9c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[ 3887.617559] cfbc  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[ 3887.625846] cfdc  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[ 3887.634132] cffc  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[ 3887.642419] d01c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[ 3887.650705] d03c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[ 3887.658992]

[ 3887.658994] R4: 0xd605b820:

[ 3887.663273] b820  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[ 3887.671560] b840  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[ 3887.679846] b860  00004e20 d6a6f3c0 c3618722 20f3b74c b051118c 4581c9a2 d10ac020 501750c0

[ 3887.688133] b880  8091ec02 b924c176 06cca050 d2302059 04e8c652 a2094889 34600210 35162227

[ 3887.696421] b8a0  4e52454b d6298200 00000001 d6c42840 d6c42780 d6c45c00 d6c26800 d6298140

[ 3887.704708] b8c0  d60084a0 00000000 d6b347a0 00000000 d6c40ca0 d6008520 00000000 00000000

[ 3887.712995] b8e0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[ 3887.721281] b900  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[ 3887.729571] Process SurfaceFlinger (pid: 1255, stack limit = 0xd789c2f0)

[ 3887.736275] Stack: (0xd789dbe8 to 0xd789e000)

[ 3887.740636] dbe0:                   00000000 d602bc40 098967af 00000389 d6c42840 d6c42840

[ 3887.748819] dc00: 00000000 d6c42840 00000001 40789858 00000000 bf005300 00000000 00000000

[ 3887.757002] dc20: d6c42780 bf009480 d6c42780 00000000 4080bb38 bf009814 c05ce000 c008ed90

[ 3887.765185] dc40: c061380c ffffffff c05ce000 00000002 00000000 c008f05c 00000000 c176a4b8

[ 3887.773367] dc60: d60ed9c8 c05ce01c 00000000 d789c000 c05ec0c8 c008f080 c176a060 d60ed820

[ 3887.781550] dc80: d789dd34 c04589a0 00000000 00000000 00000000 c0036060 00000000 c0069d58

[ 3887.789732] dca0: 00000000 00000000 000003f1 d789dde8 00000002 00000000 00000000 00000000

[ 3887.797915] dcc0: 00000000 00000000 d602bc40 ffffffff c0036060 00000000 d6008cc0 00000000

[ 3887.806097] dce0: 00000000 c0036060 00000000 c004c6f4 c0645708 00000000 00000000 00000000

[ 3887.814279] dd00: 00000000 00000001 00000001 00000001 00000000 00000001 00000000 d6008cc0

[ 3887.822462] dd20: 00000000 000007df 00000000 00000000 00000000 00000000 00000001 00000018

[ 3887.830644] dd40: 00000000 d7827000 d7827058 c032bd68 d789ddbc 00000000 00000000 d0299780

[ 3887.838827] dd60: d41b2780 c03d3654 00000000 00000000 d6b2f7a0 bf002aa8 d6a6f500 00000004

[ 3887.847009] dd80: d6089000 bf007e94 d6b347a0 d789de40 d6c42780 d605b8a0 00000000 00000001

[ 3887.855192] dda0: d789c000 00000000 40789858 bf008998 00000000 00000499 c0037eb8 fffffff5

[ 3887.863374] ddc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000499 00000000

[ 3887.871557] dde0: d41b2780 d789deec 00000018 d6d44e60 c0121e38 c0121e7c 00000104 d789c000

[ 3887.879740] de00: d6c26800 d789c000 d785cd20 00007530 c003d184 d789c000 00000000 bf001a40

[ 3887.887922] de20: 405697a0 00000000 000000a8 00000000 405697a0 00000000 000000a8 00000000

[ 3887.896105] de40: 00000013 00000002 00000000 407898a0 4078a940 00000000 0000000a 20000100

[ 3887.904287] de60: 00000004 00000000 4080bb38 00000000 40789858 00000000 00000000 00000000

[ 3887.912470] de80: 40f93a20 4002f008 00000000 00000000 00000000 00000001 4002f008 406e657d

[ 3887.920652] dea0: 00000001 40569968 00000131 00000000 00000400 00000258 00000000 00000200

[ 3887.928835] dec0: ffffff5c 400cc605 ffffff5c 400cc605 00000400 00000258 405f4344 00000000

[ 3887.937017] dee0: 00000002 00000001 d6cc3328 40569760 d606dc60 0000000e c003d184 d789c000

[ 3887.945200] df00: 00000000 c00fc7ac 00000000 d6224000 d62241c4 00000000 00000001 c01d7684

[ 3887.953382] df20: 00000000 00000001 00000001 00000000 00000022 c063940c c05d2200 c00ae6cc

[ 3887.961565] df40: 00000081 fffffff7 0000833e c05d2200 c05d224c d6182ca0 00000022 00000000

[ 3887.969747] df60: d789c000 d606dc60 40569760 00007530 0000000e c003d184 d789c000 00000000

[ 3887.977930] df80: 40789858 c00fccb0 00000022 00000001 c05e4cd0 00002710 00007530 405f4d80

[ 3887.986113] dfa0: 00000036 c003d000 00002710 00007530 0000000e 00007530 40569760 40569748

[ 3887.994296] dfc0: 00002710 00007530 405f4d80 00000036 4080bb88 401601f4 4080bac8 40789858

[ 3888.002479] dfe0: 00000000 40569738 40140ab7 40130324 60030010 0000000e 00000000 00000000

[ 3888.010716] [<bf00abac>] (gckKERNEL_AddProcessDB+0x2c0/0x354 [galcore]) from [<bf005300>] (gckOS_Broadcast+0x74/0xe8 [galcore])

[ 3888.022238] [<bf005300>] (gckOS_Broadcast+0x74/0xe8 [galcore]) from [<bf009480>] (gckCOMMAND_EnterCommit+0x3c/0xa8 [galcore])

[ 3888.033586] [<bf009480>] (gckCOMMAND_EnterCommit+0x3c/0xa8 [galcore]) from [<bf009814>] (gckCOMMAND_Commit+0x6c/0x9f0 [galcore])

[ 3888.045193] [<bf009814>] (gckCOMMAND_Commit+0x6c/0x9f0 [galcore]) from [<bf008998>] (gckKERNEL_Dispatch+0xa74/0x1178 [galcore])

[ 3888.056706] [<bf008998>] (gckKERNEL_Dispatch+0xa74/0x1178 [galcore]) from [<bf001a40>] (drv_ioctl+0x110/0x260 [galcore])

[ 3888.067598] [<bf001a40>] (drv_ioctl+0x110/0x260 [galcore]) from [<c00fc7ac>] (do_vfs_ioctl+0x80/0x54c)

[ 3888.076913] [<c00fc7ac>] (do_vfs_ioctl+0x80/0x54c) from [<c00fccb0>] (sys_ioctl+0x38/0x5c)

[ 3888.085191] [<c00fccb0>] (sys_ioctl+0x38/0x5c) from [<c003d000>] (ret_fast_syscall+0x0/0x30)

[ 3888.093636] Code: bad PC value

[ 3888.096916] imx-esai imx-esai.0: Resetting ESAI!

[ 3888.114020] ---[ end trace 1485f45e9ca71ddf ]---

[ 3888.118986] Kernel panic - not syncing: Fatal exception

[ 3888.124311] [<c0043c90>] (unwind_backtrace+0x0/0xf8) from [<c0454cc0>] (panic+0x78/0x194)

[ 3888.132766] [<c0454cc0>] (panic+0x78/0x194) from [<c0040b30>] (die+0x218/0x284)

[ 3888.140166] [<c0040b30>] (die+0x218/0x284) from [<c0454acc>] (__do_kernel_fault.part.3+0x54/0x74)

[ 3888.149117] [<c0454acc>] (__do_kernel_fault.part.3+0x54/0x74) from [<c00478b8>] (do_page_fault+0x2b4/0x31c)

[ 3888.158943] [<c00478b8>] (do_page_fault+0x2b4/0x31c) from [<c00374ac>] (do_PrefetchAbort+0x34/0x9c)

[ 3888.168103] [<c00374ac>] (do_PrefetchAbort+0x34/0x9c) from [<c003cbd4>] (__pabt_svc+0x74/0xc0)

[ 3888.176785] Exception stack(0xd789dba0 to 0xd789dbe8)

[ 3888.181858] imx-esai imx-esai.0: TX#0 Not enough data in ALSA buffer (24 frames)

[ 3888.189335] dba0: 3aa39b5b 00000000 00000000 cee5cfdc d605b8a0 00000000 098967af 00000389

[ 3888.197584] dbc0: 00000000 40789858 00000000 40789858 d6b347a0 d789dbe8 bf00abac befcabb0

[ 3888.205806] dbe0: 00030013 ffffffff

[ 3888.209332] [<c003cbd4>] (__pabt_svc+0x74/0xc0) from [<befcabb0>] (0xbefcabb0)

[ 3888.216593] CPU1: stopping

[ 3888.219318] [<c0043c90>] (unwind_backtrace+0x0/0xf8) from [<c00373a8>] (do_IPI+0x1d4/0x208)

[ 3888.227679] [<c00373a8>] (do_IPI+0x1d4/0x208) from [<c003cce8>] (__irq_usr+0x48/0xe0)

[ 3888.235513] Exception stack(0xd7fb9fb0 to 0xd7fb9ff8)

[ 3888.240569] 9fa0:                                     40629260 4062925f 5a5f006a 0000005f

[ 3888.248752] 9fc0: 400eaed8 406249d8 00000089 4062925e 40624148 40627b98 bed31578 4063a810

[ 3888.256933] 9fe0: 0000005f bed31488 400d2fe7 400d7078 60070030 ffffffff

[ 3888.263554] Rebooting in 20 seconds..

Original Attachment has been moved to: AudioUI-(2).apk.zip

Outcomes