Thanks Amit, i'll check it:)

On 4 May 2015 at 00:13, Amit Pundir <amit.pundir@linaro.org> wrote:
Hi,

Not my area of expertise, but this upstream commit: 8e43c9c75faf
(staging: android: sync: Fix memory corruption in
sync_timeline_signal()) might be the fix we are looking for.

Regards,
Amit Pundir

On 29 April 2015 at 12:33, Benjamin Gaignard
<benjamin.gaignard@linaro.org> wrote:
> Hello,
>
> for me it like you release a fence (maybe private_handle_t ->
> acquireFenceFd) without have call sync_wait() before.
> The consequence is that you try to release a fence where there is
> still an active sync point.
>
> Regards,
> Benjamin
>
>
> 2015-04-29 5:57 GMT+02:00 Xinliang Liu <xinliang.liu@linaro.org>:
>> Hello,
>> when i load the kernel mali.ko and user mali so into hikey board. i
>> encounter one kernel WARNING and one kernel oops.
>> Through the call trace and the PC address,  with addr2line tool (e.g.
>> aarch64-linux-android-addr2line -e vmlinux ffffffc0006965b8)
>>  i could address the WARNING at line 433 of
>> file:drivers/staging/android/sync.c:433
>> And the oops at line 434, as show bellow:
>> 425 static void android_fence_release(struct fence *fence)
>> 426 {
>> 427         struct sync_pt *pt = container_of(fence, struct sync_pt, base);
>> 428         struct sync_timeline *parent = sync_pt_parent(pt);
>> 429         unsigned long flags;
>> 430
>> 431         spin_lock_irqsave(fence->lock, flags);
>> 432         list_del(&pt->child_list);
>> 433         if (WARN_ON_ONCE(!list_empty(&pt->active_list)))
>> 434                 list_del(&pt->active_list);
>>
>> I paste the kernel and logcat log bellow. Anybody knows what wrong it is?
>> Currently, the hikey kernel version is 3.18. And the mali r5p0 DDK, which i
>> use on hikey, is work with our product kernel 3.10.
>> Is there any kernel include file used in DDK needed to be update?
>> I am not so familiar with mali DDK. i don't know what the problem is now.
>>
>>
>> --------------------------------------------------------kernel log
>> begin-------------------------------------------------
>> [   31.165612] [drm]
>> mipi_init,pixcel_clk=75,lane_byte_clk=80,hsa=42,hbp=117,hline=1760[
>> 31.165661] [drm] mipi_init , exit success!
>> [   38.106713] ------------[ cut here ]------------
>> [   38.111394] WARNING: CPU: 0 PID: 1442 at
>> /home/liuxl/work/android/hikey-android/kernel/linaro/hisilicon/drivers/staging/android/sync.c:433
>> android_fence_release+0xf0/0x100()
>> [   38.119414] ------------[ cut here ]------------
>> [   38.119429] WARNING: CPU: 2 PID: 1397 at
>> /home/liuxl/work/android/hikey-android/kernel/linaro/hisilicon/drivers/staging/android/sync.c:433
>> android_fence_release+0xf0/0x100()
>> [   38.119457] Modules linked in: mali gator btwilink tty_hci st_drv rfcomm
>> hidp bluetooth wlcore_sdio wl18xx wlcore mac80211 cfg80211 rfkill
>> [   38.119464] CPU: 2 PID: 1397 Comm: surfaceflinger Tainted: G        W
>> 3.18.0-linaro-hikey #3
>> [   38.119466] Call trace:
>> [   38.119476] [<ffffffc000088584>] dump_backtrace+0x0/0x124
>> [   38.119481] [<ffffffc0000886b8>] show_stack+0x10/0x1c
>> [   38.119489] [<ffffffc000813b08>] dump_stack+0x74/0xb8
>> [   38.119495] [<ffffffc0000aff00>] warn_slowpath_common+0x90/0xb8
>> [   38.119498] [<ffffffc0000affec>] warn_slowpath_null+0x14/0x20
>> [   38.119502] [<ffffffc0006965e4>] android_fence_release+0xec/0x100
>> [   38.119509] [<ffffffc000530dcc>] fence_release+0x48/0x108
>> [   38.119513] [<ffffffc000696814>] sync_fence_free+0x88/0xb4
>> [   38.119517] [<ffffffc000696874>] sync_fence_release+0x34/0x48
>> [   38.119524] [<ffffffc0001c2818>] __fput+0x8c/0x1d0
>> [   38.119528] [<ffffffc0001c29b0>] ____fput+0x8/0x14
>> [   38.119534] [<ffffffc0000ca728>] task_work_run+0x94/0xec
>> [   38.119538] [<ffffffc000088144>] do_notify_resume+0x54/0x68
>> [   38.119540] ---[ end trace c5a5447c4b70f5e2 ]---
>> [   38.119554] Unable to handle kernel paging request at virtual address
>> 00100108
>> [   38.119555] pgd = ffffffc033dbb000
>> [   38.119560] [00100108] *pgd=0000000000000000, *pud=0000000000000000
>> [   38.119565] Internal error: Oops: 96000045 [#1] PREEMPT SMP
>> [   38.119582] Modules linked in: mali gator btwilink tty_hci st_drv rfcomm
>> hidp bluetooth wlcore_sdio wl18xx wlcore mac80211 cfg80211 rfkill
>> [   38.119586] CPU: 2 PID: 1397 Comm: surfaceflinger Tainted: G        W
>> 3.18.0-linaro-hikey #3
>> [   38.119590] task: ffffffc0359fe2c0 ti: ffffffc030a78000 task.ti:
>> ffffffc030a78000
>> [   38.119593] PC is at android_fence_release+0xc0/0x100
>> [   38.119596] LR is at android_fence_release+0xf0/0x100
>> [   38.119600] pc : [<ffffffc0006965b8>] lr : [<ffffffc0006965e8>] pstate:
>> 800001c5
>> [   38.119601] sp : ffffffc030a7bd70
>> [   38.119605] x29: ffffffc030a7bd70 x28: ffffffc030a78000
>> [   38.119610] x27: ffffffc000bbd000 x26: 0000000000000039
>> [   38.119613] x25: 0000000000000119 x24: ffffffc000c3f11f
>> [   38.119617] x23: 0000000000000140 x22: ffffffc0351c7828
>> [   38.119620] x21: ffffffc034f585c0 x20: ffffffc034f58610
>> [   38.119625] x19: ffffffc0351c77c0 x18: 0000007fb7f84830
>> [   38.119628] x17: 0000007fb7f12f0c x16: ffffffc0001bec3c
>> [   38.119631] x15: 0000000000000000 x14: 0ffffffffffffffd
>> [   38.119635] x13: 0000000000000010 x12: ffffffc000890000
>> [   38.119639] x11: ffffffc000bc8000 x10: ffffffc000c4bd30
>> [   38.119643] x9 : 0000000000000001 x8 : ffffffc037b3fda8
>> [   38.119646] x7 : 0000000000000000 x6 : ffffffc037b3fda8
>> [   38.119650] x5 : ffffffc037b3fe00 x4 : 0000000000000002
>> [   38.119654] x3 : 0000000000200200 x2 : 0000000000100100
>> [   38.119657] x1 : 0000000000000100 x0 : 0000000000000001
>> [   38.119658]
>> [   38.119661] Process surfaceflinger (pid: 1397, stack limit =
>> 0xffffffc030a78058)
>> [   38.119665] Stack: (0xffffffc030a7bd70 to 0xffffffc030a7c000)
>> [   38.119669] bd60:                                     30a7bdb0 ffffffc0
>> 00530dd0 ffffffc0
>> [   38.119675] bd80: 3589ba00 ffffffc0 351c77c0 ffffffc0 3589ba00 ffffffc0
>> 00000000 00000000
>> [   38.119680] bda0: 07f7b498 ffffffc0 32e7b010 ffffffc0 30a7bdd0 ffffffc0
>> 00696818 ffffffc0
>> [   38.119686] bdc0: 3589ba00 ffffffc0 00000000 00000000 30a7be00 ffffffc0
>> 00696878 ffffffc0
>> [   38.119692] bde0: 3589ba00 ffffffc0 00000010 00000000 3637a008 ffffffc0
>> 35277d60 ffffffc0
>> [   38.119697] be00: 30a7be20 ffffffc0 001c281c ffffffc0 32e7b000 ffffffc0
>> 00000000 00000000
>> [   38.119703] be20: 30a7be70 ffffffc0 001c29b4 ffffffc0 359fece0 ffffffc0
>> 00000000 00000000
>> [   38.119708] be40: 00c4b000 ffffffc0 359fe2c0 ffffffc0 00000000 00000000
>> 00000015 00000000
>> [   38.119713] be60: 30a7be90 ffffffc0 00000000 00000000 30a7be80 ffffffc0
>> 000ca72c ffffffc0
>> [   38.119719] be80: 30a7beb0 ffffffc0 00088148 ffffffc0 00000004 00000000
>> b70075b8 0000007f
>> [   38.119724] bea0: ffffffff ffffffff b7f12f14 0000007f ffffe2a0 0000007f
>> 0008433c ffffffc0
>> [   38.119730] bec0: 00000000 00000000 0008429c ffffffc0 00000000 00000000
>> 00000000 00000000
>> [   38.119735] bee0: b70075b8 0000007f 00000001 00000000 00000000 00000000
>> 00000002 00000000
>> [   38.119740] bf00: b7008668 0000007f b70075c0 0000007f 00000039 00000000
>> 000000e7 00000000
>> [   38.119745] bf20: b7f73000 0000007f b70023e8 0000007f 00000003 00000000
>> b7f73000 0000007f
>> [   38.119751] bf40: b7f80000 0000007f 00000000 00000000 b7bb5f08 0000007f
>> b7f12f0c 0000007f
>> [   38.119756] bf60: b7f84830 0000007f b70075b8 0000007f b70075b8 0000007f
>> 00000000 00000000
>> [   38.119761] bf80: ffffe2f8 0000007f 00000019 00000000 00000000 00000000
>> b7eb4030 0000007f
>> [   38.119766] bfa0: 00000000 00000000 b71420c0 0000007f b7f79710 0000007f
>> ffffe2a0 0000007f
>> [   38.119772] bfc0: b7c21954 0000007f ffffe2a0 0000007f b7f12f14 0000007f
>> 00000000 00000000
>> [   38.119777] bfe0: 00000019 00000000 00000039 00000000 00000309 00000000
>> 00500000 00000000
>> [   38.119778] Call trace:
>> [   38.119782] [<ffffffc0006965b8>] android_fence_release+0xc0/0x100
>> [   38.119786] [<ffffffc000530dcc>] fence_release+0x48/0x108
>> [   38.119790] [<ffffffc000696814>] sync_fence_free+0x88/0xb4
>> [   38.119794] [<ffffffc000696874>] sync_fence_release+0x34/0x48
>> [   38.119798] [<ffffffc0001c2818>] __fput+0x8c/0x1d0
>> [   38.119801] [<ffffffc0001c29b0>] ____fput+0x8/0x14
>> [   38.119805] [<ffffffc0000ca728>] task_work_run+0x94/0xec
>> [   38.119809] [<ffffffc000088144>] do_notify_resume+0x54/0x68
>> [   38.119814] Code: 39400700 34000160 f94006c3 d2802001 (f9000443)
>> [   38.119819] ---[ end trace c5a5447c4b70f5e3 ]---
>> [   38.119822] Kernel panic - not syncing: Fatal exception
>> [   38.119829] CPU4: stopping
>> [   38.119835] CPU: 4 PID: 0 Comm: swapper/4 Tainted: G      D W
>> 3.18.0-linaro-hikey #3
>> [   38.119836] Call trace:
>> [   38.119843] [<ffffffc000088584>] dump_backtrace+0x0/0x124
>> [   38.119848] [<ffffffc0000886b8>] show_stack+0x10/0x1c
>> [   38.119853] [<ffffffc000813b08>] dump_stack+0x74/0xb8
>> [   38.119858] [<ffffffc000091144>] handle_IPI+0x1c0/0x288
>> [   38.119862] [<ffffffc0000812cc>] gic_handle_irq+0x78/0x80
>> [   38.119865] Exception stack(0xffffffc03654be20 to 0xffffffc03654bf40)
>> [   38.119871] be20: 00000004 00000000 36548000 ffffffc0 3654bf60 ffffffc0
>> 000851a8 ffffffc0
>> [   38.119876] be40: 00000000 00000000 00a74e38 ffffffc0 3654bf00 ffffffc0
>> 36548000 ffffffc0
>> [   38.119882] be60: 00000001 00000000 00000010 00000000 33e57e18 ffffffc0
>> 37b7cf50 ffffffc0
>> [   38.119887] be80: 00000ffc 00000000 00000003 00000000 00000ffc 00000000
>> 00000005 00000000
>> [   38.119892] bea0: 008299f0 ffffffc0 b7f73000 0000007f b7f80000 0000007f
>> 35e52b0c 8481d413
>> [   38.119897] bec0: 001d2e4c ffffffc0 b7f39420 0000007f b7f84830 0000007f
>> 00000004 00000000
>> [   38.119903] bee0: 36548000 ffffffc0 00c48610 ffffffc0 00c40000 ffffffc0
>> 00c4bb60 ffffffc0
>> [   38.119908] bf00: 00828000 ffffffc0 00af3a10 ffffffc0 00c3ef61 ffffffc0
>> 00a622d8 ffffffc0
>> [   38.119914] bf20: 00000001 00000000 3654bf60 ffffffc0 000851a4 ffffffc0
>> 3654bf60 ffffffc0
>> [   38.119919] [<ffffffc000083da0>] el1_irq+0x60/0xd0
>> [   38.119926] [<ffffffc0000e6e48>] cpu_startup_entry+0x184/0x228
>> [   38.119930] [<ffffffc000090c04>] secondary_start_kernel+0x110/0x120
>> [   38.119933] CPU1: stopping
>> [   38.119937] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D W
>> 3.18.0-linaro-hikey #3
>> [   38.119939] Call trace:
>> [   38.119944] [<ffffffc000088584>] dump_backtrace+0x0/0x124
>> [   38.119949] [<ffffffc0000886b8>] show_stack+0x10/0x1c
>> [   38.119952] [<ffffffc000813b08>] dump_stack+0x74/0xb8
>> [   38.119956] [<ffffffc000091144>] handle_IPI+0x1c0/0x288
>> [   38.119960] [<ffffffc0000812cc>] gic_handle_irq+0x78/0x80
>> [   38.119963] Exception stack(0xffffffc0364fbe20 to 0xffffffc0364fbf40)
>> [   38.119969] be20: 00000001 00000000 364f8000 ffffffc0 364fbf60 ffffffc0
>> 000851a8 ffffffc0
>> [   38.119974] be40: 00000000 00000000 00a74e38 ffffffc0 364fbf00 ffffffc0
>> 364f8000 ffffffc0
>> [   38.119980] be60: 00000001 00000000 00000001 00000000 ff282e00 000d1cee
>> e014a0f1 00000008
>> [   38.119985] be80: 364f07d0 ffffffc0 364fbd70 ffffffc0 00000ffc 00000000
>> 00000001 00000000
>> [   38.119990] bea0: 00000050 00000000 00000005 00000000 00000016 00000000
>> 00400000 00000000
>> [   38.119995] bec0: 001d2e4c ffffffc0 b7f39420 0000007f 00400000 00000000
>> 00000001 00000000
>> [   38.120000] bee0: 364f8000 ffffffc0 00c48610 ffffffc0 00c40000 ffffffc0
>> 00c4bb60 ffffffc0
>> [   38.120006] bf00: 00828000 ffffffc0 00af3a10 ffffffc0 00c3ef61 ffffffc0
>> 00a622d8 ffffffc0
>> [   38.120011] bf20: 00000001 00000000 364fbf60 ffffffc0 000851a4 ffffffc0
>> 364fbf60 ffffffc0
>> [   38.120015] [<ffffffc000083da0>] el1_irq+0x60/0xd0
>> [   38.120020] [<ffffffc0000e6e48>] cpu_startup_entry+0x184/0x228
>> [   38.120024] [<ffffffc000090c04>] secondary_start_kernel+0x110/0x120
>> [   38.120026] CPU6: stopping
>> [   38.120032] CPU: 6 PID: 0 Comm: swapper/6 Tainted: G      D W
>> 3.18.0-linaro-hikey #3
>> [   38.120033] Call trace:
>> [   38.120038] [<ffffffc000088584>] dump_backtrace+0x0/0x124
>> [   38.120043] [<ffffffc0000886b8>] show_stack+0x10/0x1c
>> [   38.120047] [<ffffffc000813b08>] dump_stack+0x74/0xb8
>> [   38.120051] [<ffffffc000091144>] handle_IPI+0x1c0/0x288
>> [   38.120055] [<ffffffc0000812cc>] gic_handle_irq+0x78/0x80
>> [   38.120057] Exception stack(0xffffffc03655be20 to 0xffffffc03655bf40)
>> [   38.120063] be20: 00000006 00000000 36558000 ffffffc0 3655bf60 ffffffc0
>> 000851a8 ffffffc0
>> [   38.120069] be40: 00000000 00000000 00a74e38 ffffffc0 3655bf00 ffffffc0
>> 36558000 ffffffc0
>> [   38.120074] be60: 00000001 00000000 00000006 00000000 ff282e00 000d1cee
>> dfdab8b9 00000008
>> [   38.120079] be80: 36555490 ffffffc0 3655bd70 ffffffc0 00000ffc 00000000
>> aaaaaaab aaaaaaaa
>> [   38.120085] bea0: 00018380 00000000 ffffffff 00000000 00000000 00000000
>> 00018380 00000000
>> [   38.120090] bec0: 00088158 ffffffc0 b7dc5674 0000007f 00040000 00000000
>> 00000006 00000000
>> [   38.120095] bee0: 36558000 ffffffc0 00c48610 ffffffc0 00c40000 ffffffc0
>> 00c4bb60 ffffffc0
>> [   38.120100] bf00: 00828000 ffffffc0 00af3a10 ffffffc0 00c3ef61 ffffffc0
>> 00a622d8 ffffffc0
>> [   38.120105] bf20: 00000001 00000000 3655bf60 ffffffc0 000851a4 ffffffc0
>> 3655bf60 ffffffc0
>> [   38.120110] [<ffffffc000083da0>] el1_irq+0x60/0xd0
>> [   38.120115] [<ffffffc0000e6e48>] cpu_startup_entry+0x184/0x228
>> [   38.120118] [<ffffffc000090c04>] secondary_start_kernel+0x110/0x120
>> [   38.120120] CPU5: stopping
>> [   38.120125] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G      D W
>> 3.18.0-linaro-hikey #3
>> [   38.120126] Call trace:
>> [   38.120131] [<ffffffc000088584>] dump_backtrace+0x0/0x124
>> [   38.120136] [<ffffffc0000886b8>] show_stack+0x10/0x1c
>> [   38.120140] [<ffffffc000813b08>] dump_stack+0x74/0xb8
>> [   38.120144] [<ffffffc000091144>] handle_IPI+0x1c0/0x288
>> [   38.120147] [<ffffffc0000812cc>] gic_handle_irq+0x78/0x80
>> [   38.120150] Exception stack(0xffffffc036553e20 to 0xffffffc036553f40)
>> [   38.120155] 3e20: 00000005 00000000 36550000 ffffffc0 36553f60 ffffffc0
>> 000851a8 ffffffc0
>> [   38.120161] 3e40: 00000000 00000000 00a74e38 ffffffc0 36553f00 ffffffc0
>> 36550000 ffffffc0
>> [   38.120166] 3e60: 00000001 00000000 37b8b2a0 ffffffc0 37b8b2a0 ffffffc0
>> 339e9df8 ffffffc0
>> [   38.120171] 3e80: 36542850 ffffffc0 36553d70 ffffffc0 00000000 00000000
>> 00000001 00000000
>> [   38.120176] 3ea0: 00000001 00000000 00000000 00000000 00000000 00000000
>> 00000001 00000000
>> [   38.120181] 3ec0: 001154bc ffffffc0 b7ecec78 0000007f 00000000 00000000
>> 00000005 00000000
>> [   38.120187] 3ee0: 36550000 ffffffc0 00c48610 ffffffc0 00c40000 ffffffc0
>> 00c4bb60 ffffffc0
>> [   38.120192] 3f00: 00828000 ffffffc0 00af3a10 ffffffc0 00c3ef61 ffffffc0
>> 00a622d8 ffffffc0
>> [   38.120197] 3f20: 00000001 00000000 36553f60 ffffffc0 000851a4 ffffffc0
>> 36553f60 ffffffc0
>> [   38.120201] [<ffffffc000083da0>] el1_irq+0x60/0xd0
>> [   38.120205] [<ffffffc0000e6e48>] cpu_startup_entry+0x184/0x228
>> [   38.120210] [<ffffffc000090c04>] secondary_start_kernel+0x110/0x120
>> [   38.120212] CPU3: stopping
>> [   38.120217] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D W
>> 3.18.0-linaro-hikey #3
>> [   38.120219] Call trace:
>> [   38.120224] [<ffffffc000088584>] dump_backtrace+0x0/0x124
>> [   38.120228] [<ffffffc0000886b8>] show_stack+0x10/0x1c
>> [   38.120233] [<ffffffc000813b08>] dump_stack+0x74/0xb8
>> [   38.120236] [<ffffffc000091144>] handle_IPI+0x1c0/0x288
>> [   38.120240] [<ffffffc0000812cc>] gic_handle_irq+0x78/0x80
>> [   38.120242] Exception stack(0xffffffc036547e20 to 0xffffffc036547f40)
>> [   38.120248] 7e20: 00000003 00000000 36544000 ffffffc0 36547f60 ffffffc0
>> 000851a8 ffffffc0
>> [   38.120254] 7e40: 00000000 00000000 00a74e38 ffffffc0 36547f00 ffffffc0
>> 36544000 ffffffc0
>> [   38.120259] 7e60: 00000001 00000000 365fc000 ffffffc0 ff282e00 000d1cee
>> 00000000 00000000
>> [   38.120264] 7e80: 364f2810 ffffffc0 36547d70 ffffffc0 00000025 00000000
>> 34a79378 00000000
>> [   38.120270] 7ea0: 00000016 00000000 00000000 00000000 00000000 00000000
>> 80000000 000ee6b2
>> [   38.120275] 7ec0: 00105784 ffffffc0 b7f12ef4 0000007f 00000000 00000000
>> 00000003 00000000
>> [   38.120280] 7ee0: 36544000 ffffffc0 00c48610 ffffffc0 00c40000 ffffffc0
>> 00c4bb60 ffffffc0
>> [   38.120286] 7f00: 00828000 ffffffc0 00af3a10 ffffffc0 00c3ef61 ffffffc0
>> 00a622d8 ffffffc0
>> [   38.120291] 7f20: 00000001 00000000 36547f60 ffffffc0 000851a4 ffffffc0
>> 36547f60 ffffffc0
>> [   38.120295] [<ffffffc000083da0>] el1_irq+0x60/0xd0
>> [   38.120300] [<ffffffc0000e6e48>] cpu_startup_entry+0x184/0x228
>> [   38.120304] [<ffffffc000090c04>] secondary_start_kernel+0x110/0x120
>> [   38.120306] CPU7: stopping
>> [   38.120311] CPU: 7 PID: 0 Comm: swapper/7 Tainted: G      D W
>> 3.18.0-linaro-hikey #3
>> [   38.120313] Call trace:
>> [   38.120318] [<ffffffc000088584>] dump_backtrace+0x0/0x124
>> [   38.120322] [<ffffffc0000886b8>] show_stack+0x10/0x1c
>> [   38.120327] [<ffffffc000813b08>] dump_stack+0x74/0xb8
>> [   38.120330] [<ffffffc000091144>] handle_IPI+0x1c0/0x288
>> [   38.120334] [<ffffffc0000812cc>] gic_handle_irq+0x78/0x80
>> [   38.120337] Exception stack(0xffffffc03655fe20 to 0xffffffc03655ff40)
>> [   38.120342] fe20: 00000007 00000000 3655c000 ffffffc0 3655ff60 ffffffc0
>> 000851a8 ffffffc0
>> [   38.120348] fe40: 00000000 00000000 00a74e38 ffffffc0 3655ff00 ffffffc0
>> 3655c000 ffffffc0
>> [   38.120354] fe60: 00000001 00000000 37ba7138 ffffffc0 37ba72a0 ffffffc0
>> 3539bc68 ffffffc0
>> [   38.120359] fe80: 36554890 ffffffc0 3655fd70 ffffffc0 00000025 00000000
>> 00000001 00000000
>> [   38.120364] fea0: 00000001 00000000 00000000 00000000 00000000 00000000
>> fa7d7dfa 000d2a02
>> [   38.120369] fec0: 001154bc ffffffc0 b7ecec78 0000007f 00000000 00000000
>> 00000007 00000000
>> [   38.120374] fee0: 3655c000 ffffffc0 00c48610 ffffffc0 00c40000 ffffffc0
>> 00c4bb60 ffffffc0
>> [   38.120380] ff00: 00828000 ffffffc0 00af3a10 ffffffc0 00c3ef61 ffffffc0
>> 00a622d8 ffffffc0
>> [   38.120385] ff20: 00000001 00000000 3655ff60 ffffffc0 000851a4 ffffffc0
>> 3655ff60 ffffffc0
>> [   38.120389] [<ffffffc000083da0>] el1_irq+0x60/0xd0
>> [   38.120393] [<ffffffc0000e6e48>] cpu_startup_entry+0x184/0x228
>> [   38.120397] [<ffffffc000090c04>] secondary_start_kernel+0x110/0x120
>> [   38.953160] SMP: failed to stop secondary CPUs
>> [   38.953163] drm_kms_helper: panic occurred, switching back to text
>> console
>> [   38.953182] ---[ end Kernel panic - not syncing: Fatal exception
>> [   39.479907] Modules linked in: mali gator btwilink tty_hci st_drv rfcomm
>> hidp bluetooth wlcore_sdio wl18xx wlcore mac80211 cfg80211 rfkill
>> [   39.492466] CPU: 0 PID: 1442 Comm: surfaceflinger Tainted: G      D W
>> 3.18.0-linaro-hikey #3
>> [   39.501335] Call trace:
>> [   39.503781] [<ffffffc000088584>] dump_backtrace+0x0/0x124
>> [   39.509181] [<ffffffc0000886b8>] show_stack+0x10/0x1c
>> [   39.514232] [<ffffffc000813b08>] dump_stack+0x74/0xb8
>> [   39.519283] [<ffffffc0000aff00>] warn_slowpath_common+0x90/0xb8
>> [   39.525202] [<ffffffc0000affec>] warn_slowpath_null+0x14/0x20
>> [   39.530946] [<ffffffc0006965e4>] android_fence_release+0xec/0x100
>> [   39.537040] [<ffffffc000530dcc>] fence_release+0x48/0x108
>> [   39.542438] [<ffffffc000696814>] sync_fence_free+0x88/0xb4
>> [   39.547922] [<ffffffc000696874>] sync_fence_release+0x34/0x48
>> [   39.553668] [<ffffffc0001c2818>] __fput+0x8c/0x1d0
>> [   39.558458] [<ffffffc0001c29b0>] ____fput+0x8/0x14
>> [   39.563247] [<ffffffc0000ca728>] task_work_run+0x94/0xec
>> [   39.568559] [<ffffffc000088144>] do_notify_resume+0x54/0x68
>> [   39.574128] ---[ end trace c5a5447c4b70f5e4 ]---
>> [   39.578746] Unable to handle kernel paging request at virtual address
>> 00100108
>> [   39.585966] pgd = ffffffc033dbb000
>> [   39.589364] [00100108] *pgd=0000000000000000, *pud=0000000000000000
>> [   39.595646] Internal error: Oops: 96000045 [#2] PREEMPT SMP
>> [   39.601215] Modules linked in: mali gator btwilink tty_hci st_drv rfcomm
>> hidp bluetooth wlcore_sdio wl18xx wlcore mac80211 cfg80211 rfkill
>> [   39.613770] CPU: 0 PID: 1442 Comm: surfaceflinger Tainted: G      D W
>> 3.18.0-linaro-hikey #3
>> [   39.622641] task: ffffffc035017180 ti: ffffffc033d04000 task.ti:
>> ffffffc033d04000
>> [   39.630124] PC is at android_fence_release+0xc0/0x100
>> [   39.635174] LR is at android_fence_release+0xf0/0x100
>> [   39.640223] pc : [<ffffffc0006965b8>] lr : [<ffffffc0006965e8>] pstate:
>> 600001c5
>> [   39.647616] sp : ffffffc033d07d70
>> [   39.650927] x29: ffffffc033d07d70 x28: ffffffc033d04000
>> [   39.656252] x27: ffffffc000bbd000 x26: 0000000000000039
>> [   39.661577] x25: 0000000000000119 x24: ffffffc000c3f11f
>> [   39.666902] x23: 0000000000000140 x22: ffffffc035030d68
>> [   39.672227] x21: ffffffc034f5d0c0 x20: ffffffc034f5d110
>> [   39.677551] x19: ffffffc035030d00 x18: 0000007fb7f84830
>> [   39.682876] x17: 0000007fb7f12f0c x16: ffffffc0001bec3c
>> [   39.688200] x15: 0000000000000007 x14: 0ffffffffffffffd
>> [   39.693525] x13: 0000000000000010 x12: ffffffc000890000
>> [   39.698850] x11: 0000000000000744 x10: 0000000000000002
>> [   39.704175] x9 : 0000000000000006 x8 : 0000000000000745
>> [   39.709500] x7 : 6630376234633734 x6 : ffffffc000c4c27b
>> [   39.714823] x5 : ffffffc000c49778 x4 : 0000000000000f01
>> [   39.720148] x3 : 0000000000200200 x2 : 0000000000100100
>> [   39.725472] x1 : 0000000000000100 x0 : 0000000000000001
>> [   39.730796]
>> [   39.732285] Process surfaceflinger (pid: 1442, stack limit =
>> 0xffffffc033d04058)
>> [   39.739680] Stack: (0xffffffc033d07d70 to 0xffffffc033d08000)
>> [   39.745425] 7d60:                                     33d07db0 ffffffc0
>> 00530dd0 ffffffc0
>> [   39.753604] 7d80: 34d2d940 ffffffc0 35030d00 ffffffc0 34d2d940 ffffffc0
>> 00000000 00000000
>> [   39.761783] 7da0: 07fab498 ffffffc0 34d10410 ffffffc0 33d07dd0 ffffffc0
>> 00696818 ffffffc0
>> [   39.769962] 7dc0: 34d2d940 ffffffc0 00000000 00000000 33d07e00 ffffffc0
>> 00696878 ffffffc0
>> [   39.778141] 7de0: 34d2d940 ffffffc0 00000010 00000000 3637a008 ffffffc0
>> 35277d60 ffffffc0
>> [   39.786320] 7e00: 33d07e20 ffffffc0 001c281c ffffffc0 34d10400 ffffffc0
>> 00000000 00000000
>> [   39.794499] 7e20: 33d07e70 ffffffc0 001c29b4 ffffffc0 35017ba0 ffffffc0
>> 00000000 00000000
>> [   39.802677] 7e40: 00c4b000 ffffffc0 35017180 ffffffc0 00000000 00000000
>> 00000015 00000000
>> [   39.810855] 7e60: 33d07e90 ffffffc0 00000000 00000000 33d07e80 ffffffc0
>> 000ca72c ffffffc0
>> [   39.819034] 7e80: 33d07eb0 ffffffc0 00088148 ffffffc0 00000004 00000000
>> b701b190 0000007f
>> [   39.827212] 7ea0: ffffffff ffffffff b7f12f14 0000007f b6d059f0 0000007f
>> 0008433c ffffffc0
>> [   39.835390] 7ec0: 00000000 00000000 0008429c ffffffc0 00000000 00000000
>> b7400000 0000007f
>> [   39.843569] 7ee0: b7f73000 0000007f 00000008 00000000 00000000 00000000
>> 00000006 00000000
>> [   39.851748] 7f00: b7182668 0000007f 00000007 00000000 00000039 00000000
>> 0000002c 00000000
>> [   39.859926] 7f20: b7f73000 0000007f b70023e8 0000007f 00000003 00000000
>> b7f73000 0000007f
>> [   39.868105] 7f40: b7f80000 0000007f 00000007 00000000 b67fb3e0 0000007f
>> b7f12f0c 0000007f
>> [   39.876283] 7f60: b7f84830 0000007f b70ce880 0000007f b701b190 0000007f
>> 00000000 00000000
>> [   39.884461] 7f80: 00000000 00000000 b6787400 0000007f b6787528 0000007f
>> b6787550 0000007f
>> [   39.892640] 7fa0: 09000004 00000000 00000000 00000000 00000000 00000000
>> b6d059f0 0000007f
>> [   39.900818] 7fc0: b66b7238 0000007f b6d059f0 0000007f b7f12f14 0000007f
>> 00000000 00000000
>> [   39.908995] 7fe0: 00000018 00000000 00000039 00000000 00000000 00000000
>> 00000000 00000000
>> [   39.917170] Call trace:
>> [   39.919615] [<ffffffc0006965b8>] android_fence_release+0xc0/0x100
>> [   39.925709] [<ffffffc000530dcc>] fence_release+0x48/0x108
>> [   39.931107] [<ffffffc000696814>] sync_fence_free+0x88/0xb4
>> [   39.936592] [<ffffffc000696874>] sync_fence_release+0x34/0x48
>> [   39.942337] [<ffffffc0001c2818>] __fput+0x8c/0x1d0
>> [   39.947128] [<ffffffc0001c29b0>] ____fput+0x8/0x14
>> [   39.951918] [<ffffffc0000ca728>] task_work_run+0x94/0xec
>> [   39.957229] [<ffffffc000088144>] do_notify_resume+0x54/0x68
>> [   39.962801] Code: 39400700 34000160 f94006c3 d2802001 (f9000443)
>> [   39.968894] CPU0: stopping
>> [   39.971600] CPU: 0 PID: 1442 Comm: surfaceflinger Tainted: G      D W
>> 3.18.0-linaro-hikey #3
>> [   39.980468] Call trace:
>> [   39.982914] [<ffffffc000088584>] dump_backtrace+0x0/0x124
>> [   39.988312] [<ffffffc0000886b8>] show_stack+0x10/0x1c
>> [   39.993363] [<ffffffc000813b08>] dump_stack+0x74/0xb8
>> [   39.998412] [<ffffffc000091144>] handle_IPI+0x1c0/0x288
>> [   40.003635] [<ffffffc0000812cc>] gic_handle_irq+0x78/0x80
>> [   40.009032] Exception stack(0xffffffc033d07810 to 0xffffffc033d07930)
>> [   40.015473] 7800:                                     00c48000 ffffffc0
>> 00000001 00000000
>> [   40.023651] 7820: 33d07950 ffffffc0 00818a18 ffffffc0 00c48120 ffffffc0
>> 00000002 00000000
>> [   40.031830] 7840: 00000280 00000000 00000080 00000000 00000f01 00000000
>> 00c49778 ffffffc0
>> [   40.040007] 7860: 00c4c28b ffffffc0 38326420 30303230 00000781 00000000
>> 00000006 00000000
>> [   40.048185] 7880: 00000002 00000000 00000780 00000000 01010101 01010101
>> 00000038 00000000
>> [   40.056364] 78a0: fffffffc 0fffffff 00000007 00000000 001bec3c ffffffc0
>> b7f12f0c 0000007f
>> [   40.064542] 78c0: b7f84830 0000007f 00c48000 ffffffc0 00000001 00000000
>> 00a5b558 ffffffc0
>> [   40.072721] 78e0: 33d07c50 ffffffc0 33d04000 ffffffc0 35017180 ffffffc0
>> 96000045 00000000
>> [   40.080900] 7900: 00000039 00000000 00bbd000 ffffffc0 33d04000 ffffffc0
>> 33d07950 ffffffc0
>> [   40.089076] 7920: 00088788 ffffffc0 33d07950 ffffffc0
>> [   40.094127] [<ffffffc000083da0>] el1_irq+0x60/0xd0
>> [   40.098917] [<ffffffc000088784>] die+0xc0/0x1b0
>> [   40.103447] [<ffffffc000811e20>] __do_kernel_fault.part.5+0x70/0x84
>> [   40.109715] [<ffffffc0000951cc>] do_page_fault+0x21c/0x340
>> [   40.115200] [<ffffffc0000953ac>] do_translation_fault+0xbc/0xf0
>> [   40.121119] [<ffffffc000081100>] do_mem_abort+0x38/0x9c
>> [   40.126342] Exception stack(0xffffffc033d07bb0 to 0xffffffc033d07cd0)
>> [   40.132783] 7ba0:                                     35030d00 ffffffc0
>> 34f5d110 ffffffc0
>> [   40.140961] 7bc0: 33d07d70 ffffffc0 006965b8 ffffffc0 00add3c0 ffffffc0
>> 35030d68 ffffffc0
>> [   40.149140] 7be0: 00000140 00000000 00c3f11f ffffffc0 00000119 00000000
>> 00000039 00000000
>> [   40.157317] 7c00: 00bbd000 ffffffc0 33d04000 ffffffc0 33d07c70 ffffffc0
>> 00000000 00000000
>> [   40.165495] 7c20: 00000000 00000000 00000024 00000000 33d07ce0 ffffffc0
>> 33d07ce0 ffffffc0
>> [   40.173674] 7c40: 33d07ca0 ffffffc0 ffffffc8 00000000 00000001 00000000
>> 00000100 00000000
>> [   40.181852] 7c60: 00100100 00000000 00200200 00000000 00000f01 00000000
>> 00c49778 ffffffc0
>> [   40.190030] 7c80: 00c4c27b ffffffc0 34633734 66303762 00000745 00000000
>> 00000006 00000000
>> [   40.198208] 7ca0: 00000002 00000000 00000744 00000000 00890000 ffffffc0
>> 00000010 00000000
>> [   40.206385] 7cc0: fffffffd 0fffffff 00000007 00000000
>> [   40.211435] [<ffffffc000083c24>] el1_da+0x14/0x6c
>> [   40.216137] [<ffffffc000530dcc>] fence_release+0x48/0x108
>> [   40.221535] [<ffffffc000696814>] sync_fence_free+0x88/0xb4
>> [   40.227020] [<ffffffc000696874>] sync_fence_release+0x34/0x48
>> [   40.232765] [<ffffffc0001c2818>] __fput+0x8c/0x1d0
>> [   40.237555] [<ffffffc0001c29b0>] ____fput+0x8/0x14
>> [   40.242345] [<ffffffc0000ca728>] task_work_run+0x94/0xec
>> [   40.247656] [<ffffffc000088144>] do_notify_resume+0x54/0x68
>> [   60.335313] ------------[ cut here ]------------
>> [   60.339938] WARNING: CPU: 2 PID: 1397 at
>> /home/liuxl/work/android/hikey-android/kernel/linaro/hisilicon/kernel/watchdog.c:302
>> watchdog_timer_fn+0x2e0/0x3cc()
>> [   60.354019] Watchdog detected hard LOCKUP on cpu 3
>> [   60.358631] Modules linked in: mali gator btwilink tty_hci st_drv rfcomm
>> hidp bluetooth wlcore_sdio wl18xx wlcore mac80211 cfg80211 rfkill
>> [   60.371370] CPU: 2 PID: 1397 Comm: surfaceflinger Tainted: G      D W
>> 3.18.0-linaro-hikey #3
>> [   60.380239] Call trace:
>> [   60.382685] [<ffffffc000088584>] dump_backtrace+0x0/0x124
>> [   60.388083] [<ffffffc0000886b8>] show_stack+0x10/0x1c
>> [   60.393134] [<ffffffc000813b08>] dump_stack+0x74/0xb8
>> [   60.398185] [<ffffffc0000aff00>] warn_slowpath_common+0x90/0xb8
>> [   60.404103] [<ffffffc0000aff74>] warn_slowpath_fmt+0x4c/0x58
>> [   60.409761] [<ffffffc000133ce8>] watchdog_timer_fn+0x2dc/0x3cc
>> [   60.415595] [<ffffffc0001024b4>] __run_hrtimer+0x84/0x2f4
>> [   60.420994] [<ffffffc000103098>] hrtimer_interrupt+0x108/0x2a0
>> [   60.426828] [<ffffffc000670954>] arch_timer_handler_virt+0x28/0x38
>> [   60.433010] [<ffffffc0000f5b98>] handle_percpu_devid_irq+0xa4/0x1a8
>> [   60.439278] [<ffffffc0000f1ab8>] generic_handle_irq+0x30/0x4c
>> [   60.445024] [<ffffffc0000f1dbc>] __handle_domain_irq+0x84/0xf0
>> [   60.450855] [<ffffffc000081288>] gic_handle_irq+0x34/0x80
>> [   60.456252] Exception stack(0xffffffc030a7b750 to 0xffffffc030a7b870)
>> [   60.462692] b740:                                     00000012 00000000
>> 00005334 00000000
>> [   60.470871] b760: 30a7b890 ffffffc0 004350e0 ffffffc0 000004b0 00000000
>> 0000006f 00000000
>> [   60.479050] b780: 0524e842 00000000 30a78000 ffffffc0 00000003 00000000
>> 37b43648 ffffffc0
>> [   60.487228] b7a0: 37b43610 ffffffc0 00000000 00000000 37b43610 ffffffc0
>> 00000001 00000000
>> [   60.495406] b7c0: 00c4bd30 ffffffc0 00bc8000 ffffffc0 01010101 01010101
>> 00000038 00000000
>> [   60.503585] b7e0: fffffffe 0fffffff 00000000 00000000 001bec3c ffffffc0
>> b7f12f0c 0000007f
>> [   60.511764] b800: b7f84830 0000007f 00000012 00000000 00005334 00000000
>> 00005398 00000000
>> [   60.519943] b820: 00c49000 ffffffc0 00000001 00000000 359fe2c0 ffffffc0
>> 96000045 00000000
>> [   60.528121] b840: 00000039 00000000 00bbd000 ffffffc0 30a78000 ffffffc0
>> 30a7b890 ffffffc0
>> [   60.536298] b860: 0043511c ffffffc0 30a7b890 ffffffc0
>> [   60.541348] [<ffffffc000083da0>] el1_irq+0x60/0xd0
>> [   60.546137] [<ffffffc000812044>] panic+0x210/0x220
>> [   60.550928] [<ffffffc000088864>] die+0x1a0/0x1b0
>> [   60.555545] [<ffffffc000811e20>] __do_kernel_fault.part.5+0x70/0x84
>> [   60.561811] [<ffffffc0000951cc>] do_page_fault+0x21c/0x340
>> [   60.567297] [<ffffffc0000953ac>] do_translation_fault+0xbc/0xf0
>> [   60.573216] [<ffffffc000081100>] do_mem_abort+0x38/0x9c
>> [   60.578439] Exception stack(0xffffffc030a7bbb0 to 0xffffffc030a7bcd0)
>> [   60.584879] bba0:                                     351c77c0 ffffffc0
>> 34f58610 ffffffc0
>> [   60.593057] bbc0: 30a7bd70 ffffffc0 006965b8 ffffffc0 00add3c0 ffffffc0
>> 351c7828 ffffffc0
>> [   60.601237] bbe0: 00000140 00000000 00c3f11f ffffffc0 00000119 00000000
>> 00000039 00000000
>> [   60.609415] bc00: 00bbd000 ffffffc0 30a78000 ffffffc0 30a7bc70 ffffffc0
>> 00000000 00000000
>> [   60.617593] bc20: 00000002 00000000 00000024 00000000 30a7bce0 ffffffc0
>> 30a7bce0 ffffffc0
>> [   60.625771] bc40: 30a7bca0 ffffffc0 ffffffc8 00000000 00000001 00000000
>> 00000100 00000000
>> [   60.633950] bc60: 00100100 00000000 00200200 00000000 00000002 00000000
>> 37b3fe00 ffffffc0
>> [   60.642127] bc80: 37b3fda8 ffffffc0 00000000 00000000 37b3fda8 ffffffc0
>> 00000001 00000000
>> [   60.650305] bca0: 00c4bd30 ffffffc0 00bc8000 ffffffc0 00890000 ffffffc0
>> 00000010 00000000
>> [   60.658482] bcc0: fffffffd 0fffffff 00000000 00000000
>> [   60.663532] [<ffffffc000083c24>] el1_da+0x14/0x6c
>> [   60.668235] [<ffffffc000530dcc>] fence_release+0x48/0x108
>> [   60.673633] [<ffffffc000696814>] sync_fence_free+0x88/0xb4
>> [   60.679117] [<ffffffc000696874>] sync_fence_release+0x34/0x48
>> [   60.684863] [<ffffffc0001c2818>] __fput+0x8c/0x1d0
>> [   60.689653] [<ffffffc0001c29b0>] ____fput+0x8/0x14
>> [   60.694442] [<ffffffc0000ca728>] task_work_run+0x94/0xec
>> [   60.699753] [<ffffffc000088144>] do_notify_resume+0x54/0x68
>> [   60.705323] ---[ end trace c5a5447c4b70f5e5 ]---
>> --------------------------------------------------------kernel log
>> end-------------------------------------------------
>>
>>
>> --------------------------------------------------------logcat log
>> begin-------------------------------------------------
>> --------- beginning of main
>> E/sdcard  (    0): missing packages.list; retrying
>> I/        (    0): debuggerd: Apr 27 2015 15:10:21
>> I/installd(    0): installd firing up
>> I/        (    0): debuggerd: Apr 27 2015 15:10:21
>> I/lowmemorykiller( 1394): Using in-kernel low memory killer interface
>> E/sdcard  ( 1409): missing packages.list; retrying
>> I/SurfaceFlinger( 1397): SurfaceFlinger is starting
>> I/SurfaceFlinger( 1397): SurfaceFlinger's main thread ready to run.
>> Initializing graphics H/W...
>> D/libEGL  ( 1397): loaded /system/lib64/egl/libGLES_mali.so
>> I/MaliBase( 1397): Mali libraries:
>> I/MaliBase( 1397): Compiled: Apr 27 2015, time: 15:12:48.
>> I/MaliBase( 1397): Driver revision: edcbbaa
>> I/Netd    ( 1399): Netd 1.0 starting
>> --------- beginning of system
>> I/Vold    ( 1396): Vold 2.1 (the revenge) firing up
>> E/Netd    ( 1399): Failed to open
>> /proc/sys/net/ipv6/conf/default/accept_ra_rt_table: No such file or
>> directory
>> E/Netd    ( 1399): Failed to open
>> /proc/sys/net/ipv6/conf/lo/accept_ra_rt_table: No such file or directory
>> E/Netd    ( 1399): Failed to open
>> /proc/sys/net/ipv6/conf/wlan0/accept_ra_rt_table: No such file or directory
>> E/Netd    ( 1399): Failed to open
>> /proc/sys/net/ipv6/conf/default/use_optimistic: No such file or directory
>> E/Netd    ( 1399): Failed to open /proc/sys/net/ipv6/conf/lo/use_optimistic:
>> No such file or directory
>> E/Netd    ( 1399): Failed to open
>> /proc/sys/net/ipv6/conf/wlan0/use_optimistic: No such file or directory
>> W/[Gralloc-Warning]( 1397): int
>> init_frame_buffer_locked(private_module_t*):305 fbdev pixclock is zero for
>> fd: 11
>> I/[Gralloc]( 1397): using (fd=11)
>> I/[Gralloc]( 1397): id           =
>> I/[Gralloc]( 1397): xres         = 1280 px
>> I/[Gralloc]( 1397): yres         = 720 px
>> I/[Gralloc]( 1397): xres_virtual = 1280 px
>> I/[Gralloc]( 1397): yres_virtual = 1440 px
>> I/[Gralloc]( 1397): bpp          = 32
>> I/[Gralloc]( 1397): r            = 16:8
>> I/[Gralloc]( 1397): g            =  8:8
>> I/[Gralloc]( 1397): b            =  0:8
>> I/[Gralloc]( 1397): width        = 203 mm (160.157639 dpi)
>> I/[Gralloc]( 1397): height       = 114 mm (160.421051 dpi)
>> I/[Gralloc]( 1397): refresh rate = 60.00 Hz
>> E/SurfaceFlinger( 1397): hwcomposer module not found
>> I/SurfaceFlinger( 1397): EGL information:
>> I/SurfaceFlinger( 1397): vendor    : Android
>> I/SurfaceFlinger( 1397): version   : 1.4 Android META-EGL
>> I/SurfaceFlinger( 1397): extensions: EGL_KHR_get_all_proc_addresses
>> EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base
>> EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image
>> EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image
>> EGL_KHR_fence_sync EGL_KHR_create_context EGL_EXT_create_context_robustness
>> EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
>> I/SurfaceFlinger( 1397): Client API: OpenGL_ES
>> I/SurfaceFlinger( 1397): EGLSurface: 8-8-8-8, config=0x60000016
>> I/keystore( 1405): SELinux: Keystore SELinux is disabled.
>> I/SurfaceFlinger( 1397): OpenGL ES informations:
>> I/SurfaceFlinger( 1397): vendor    : ARM
>> I/SurfaceFlinger( 1397): renderer  : Mali-450 MP
>> I/SurfaceFlinger( 1397): version   : OpenGL ES 2.0
>> I/SurfaceFlinger( 1397): extensions: GL_EXT_debug_marker GL_OES_texture_npot
>> GL_OES_vertex_array_object GL_OES_compressed_ETC1_RGB8_texture
>> GL_EXT_compressed_ETC1_RGB8_sub_texture GL_OES_standard_derivatives
>> GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary
>> GL_OES_depth_texture GL_OES_packed_depth_stencil
>> GL_EXT_texture_format_BGRA8888 GL_OES_vertex_half_float GL_EXT_blend_minmax
>> GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8
>> GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer
>> GL_OES_get_program_binary GL_ARM_mali_program_binary
>> GL_EXT_shader_texture_lod GL_EXT_robustness GL_OES_depth_texture_cube_map
>> GL_KHR_debug GL_ARM_shader_framebuffer_fetch
>> GL_ARM_shader_framebuffer_fetch_depth_stencil GL_OES_mapbuffer
>> I/SurfaceFlinger( 1397): GL_MAX_TEXTURE_SIZE = 4096
>> I/SurfaceFlinger( 1397): GL_MAX_VIEWPORT_DIMS = 4096
>> E/cutils-trace( 1397): Error opening trace file: Permission denied (13)
>> D/[EGL]   ( 1397): mali_mem_type* native_buffer_wrap(mali_base_ctx_handle,
>> android_native_buffer_t*, uintptr_t, void*, u32, u32):431: create buffer
>> from FB physical address (0x0x3f100000 + 0 mem handle: 0x7fb7053560)
>> D/SurfaceFlinger( 1397): Set power mode=2, type=0 flinger=0x7fb7062000
>> D/SurfaceFlinger( 1397): shader cache generated - 24 shaders in 265.415833
>> ms
>> I/iptables( 1399): iptables v1.4.20: can't initialize iptables table `nat':
>> Table does not exist (do you need to insmod?)
>> I/iptables( 1399): Perhaps iptables or your kernel needs to be upgraded.
>> I/iptables( 1399): iptables terminated by exit(3)
>> E/Netd    ( 1399): exec() res=0, status=768 for /system/bin/iptables -t nat
>> -N oem_nat_pre
>> I/iptables( 1399): iptables v1.4.20: can't initialize iptables table `nat':
>> Table does not exist (do you need to insmod?)
>> I/iptables( 1399): Perhaps iptables or your kernel needs to be upgraded.
>> I/iptables( 1399): iptables terminated by exit(3)
>> E/Netd    ( 1399): exec() res=0, status=768 for /system/bin/iptables -t nat
>> -A PREROUTING -j oem_nat_pre
>> I/iptables( 1399): iptables v1.4.20: can't initialize iptables table `nat':
>> Table does not exist (do you need to insmod?)
>> I/iptables( 1399): Perhaps iptables or your kernel needs to be upgraded.
>> I/iptables( 1399): iptables terminated by exit(3)
>> E/Netd    ( 1399): exec() res=0, status=768 for /system/bin/iptables -t nat
>> -N natctrl_nat_POSTROUTING
>> I/iptables( 1399): iptables v1.4.20: can't initialize iptables table `nat':
>> Table does not exist (do you need to insmod?)
>> I/iptables( 1399): Perhaps iptables or your kernel needs to be upgraded.
>> I/iptables( 1399): iptables terminated by exit(3)
>> E/Netd    ( 1399): exec() res=0, status=768 for /system/bin/iptables -t nat
>> -A POSTROUTING -j natctrl_nat_POSTROUTING
>> V/NatController( 1399): runCmd(/system/bin/iptables -F natctrl_FORWARD)
>> res=0
>> V/NatController( 1399): runCmd(/system/bin/iptables -A natctrl_FORWARD -j
>> DROP) res=0
>> V/NatController( 1399): runCmd(/system/bin/iptables -t nat -F
>> natctrl_nat_POSTROUTING) res=3
>> E/sdcard  ( 1409): missing packages.list; retrying
>> E/Netd    ( 1399): Unable to create netlink socket: Protocol not supported
>> E/Netd    ( 1399): Unable to open quota2 logging socket
>> D/MDnsDS  ( 1399): MDnsSdListener::Hander starting up
>> D/MDnsDS  ( 1399): MDnsSdListener starting to monitor
>> D/MDnsDS  ( 1399): Going to poll with pollCount 1
>> I/mediaserver( 1403): ServiceManager: 0xf60700c0
>> I/AudioFlinger( 1403): Using default 3000 mSec as standby time.
>> I/ServiceManager( 1403): Waiting for service batterystats...
>> I/ServiceManager( 1403): Waiting for service batterystats...
>> E/sdcard  ( 1409): missing packages.list; retrying
>> I/ServiceManager( 1403): Waiting for service batterystats...
>> I/ServiceManager( 1403): Waiting for service batterystats...
>> D/libEGL  ( 1573): loaded /system/lib64/egl/libGLES_mali.so
>> I/MaliBase( 1573): Mali libraries:
>> I/MaliBase( 1573): Compiled: Apr 27 2015, time: 15:12:48.
>> I/MaliBase( 1573): Driver revision: edcbbaa
>> D/[EGL]   ( 1397): mali_mem_type* native_buffer_wrap(mali_base_ctx_handle,
>> android_native_buffer_t*, uintptr_t, void*, u32, u32):431: create buffer
>> from FB physical address (0x0x3f100000 + 3686400 mem handle: 0x7fb71dbf00)
>> E/cutils-trace( 1573): Error opening trace file: Permission denied (13)
>> --------------------------------------------------------logcat log
>> end-------------------------------------------------
>>
>> Best regards,
>> -Xinliang Liu
>
>
>
> --
> Benjamin Gaignard
>
> Graphic Working Group
>
> Linaro.org │ Open source software for ARM SoCs
>
> Follow Linaro: Facebook | Twitter | Blog