[Xperia Z1 Q&A, Help & Troubleshooting] patwang0311:
Sorry to bring this up again. But I somehow managed to collect the log from the kernel panic causing my Z1 random reboot (same every time).

I have a C6903. I have been suffering from random reboots since upgraded to firmware 14.1.G.2.257. Software ID: 1276-7842 R9A. Did the usual such as factory reset, PCC repair etc. but still happened.

Perhaps we can take a look at it if Sony releases the kernel source. Here is the stack trace:

<3>[41418.428108] ocmem: Failed to lock region graphics[0 -- fffff] ret = -22

<3>[41418.428119] ocmem: Failed to secure request de02fd00 for 0

<3>[41418.428129] ocmem: Failed to map ocmem request

<3>[41418.428148] ocmem allocation failed

<3>[41418.428159] kgsl kgsl-3d0: |adreno_start| OCMEM malloc failed

<3>[41418.429800] kgsl kgsl-3d0: |kgsl_pwrctrl_wake| start failed -12

<6>[41418.429812] SurfaceFlinger (1027): undefined instruction: pc=c0410014

<6>[41418.429822] Code: e7f001f2 e5903370 e3530000 1a000000 (e7f001f2)

<4>[41418.429852] ------------[ cut here ]------------

<2>[41418.429861] kernel BUG at /home/hudsonslave/root/workspace/offbuild-rhine-1.0.2-honami-matrix/HUDSON_PRODUCT/honami/HUDSON_VARIANT/user/label/CM_OFFBLD/kernel/drivers/gpu/msm/kgsl_pwrctrl.c:1577!

<0>[41418.429880] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM

<4>[41418.429888] Modules linked in: wlan(O) adsprpc adsp_loader cfg80211 texfat(PO) hid_sony(O) [last unloaded: wlan]

<4>[41418.429916] CPU: 0 Tainted: P W O (3.4.0-perf-g66807d4-02450-g9a218f1 #1)

<4>[41418.429929] PC is at kgsl_active_count_put+0x28/0x1f0

<4>[41418.429937] LR is at kgsl_ioctl+0x224/0x2f8

<4>[41418.429945] pc : [<c0410014>] lr : [<c0402a00>] psr: 60000013

<4>[41418.429947] sp : e2ca9e98 ip : 00000000 fp : 00000002

<4>[41418.429958] r10: c040395c r9 : 00000001 r8 : 40533814

<4>[41418.429966] r7 : c0402a00 r6 : fffffff4 r5 : e2ca9eb4 r4 : c0e66258

<4>[41418.429975] r3 : 00000000 r2 : c0ea7094 r1 : c0b53d24 r0 : c0e66258

<4>[41418.429984] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user

<4>[41418.429993] Control: 10c5787d Table: 2b5f006a DAC: 00000015

<4>[41418.430000]

<4>[41418.430001] PC: 0xc040ff94:

<4>[41418.430008] ff94 eb007d50 e3a00000 e8bd8038 e5943418 e3530005 da000004 e5940000 e1a03005

<4>[41418.430034] ffb4 e59f102c e59f2018 eb007d24 e1a00004 e3a01000 ebfff917 e3e00015 e8bd8038

<4>[41418.430058] ffd4 c0b5017f c0940dff c0b50166 c0940e12 c0940e19 c0b50195 e92d41f0 e1a0700e

<4>[41418.430083] fff4 e5903354 e1a04000 e3530001 1a000000 e7f001f2 e5903370 e3530000 1a000000

<4>[41418.430108] 0014 e7f001f2 eb0002bd e5943370 e3530001 9a000026 e59f21a8 e2433001 e5843370

<4>[41418.430133] 0034 e5923004 e3530000 08bd81f0 e1a0100d e3c13d7f e3c3303f e5931004 e2811001

<4>[41418.430157] 0054 e5831004 e5926010 e3560000 0a00000c e2868008 e1a05006 e5953000 e1a01004

<4>[41418.430182] 0074 e5950004 e1a02007 e2855008 e12fff33 e0663005 e0833008 e5133008 e3530000

<4>[41418.430208]

<4>[41418.430209] LR: 0xc0402980:

<4>[41418.430215] 2980 13a0b001 1a000008 e5932410 e3520005 da000034 e5930000 e1a03004 e59f1128

<4>[41418.430240] 29a0 e59f2118 eb00b2aa ea00002e e5970000 e2800fd5 eb114b07 e35b0000 0a000003

<4>[41418.430265] 29c0 e5970000 eb003415 e2506000 ba000009 e3a09001 e1a00007 e1a01004 e1a02005

<4>[41418.430290] 29e0 e12fff3a e3590000 e1a06000 0a000006 e35b0000 0a000001 e5970000 eb00357a

<4>[41418.430315] 2a00 e5970000 e2800fd5 eb114a7e e3540000 aa000015 e1a0100d e3c13d7f e3c3303f

<4>[41418.430340] 2a20 e7ed2854 e5933008 e0981002 30d11003 33a03000 e3530000 1a000003 e1a00008

<4>[41418.430365] 2a40 e1a01005 ebfd4e55 e1a02000 e3520000 13e0600d ea000004 e3e0600b ea000002

<4>[41418.430389] 2a60 e3e0600d ea000000 e59f6060 e7ed4854 e354003f 9a000001 e1a00005 ebf8e429

<4>[41418.430415]

<4>[41418.430416] SP: 0xe2ca9e18:

..... <truncated>

<0>[41418.432046] Process SurfaceFlinger (pid: 1027, stack limit = 0xe2ca82f0)

<0>[41418.432055] Stack: (0xe2ca9e98 to 0xe2caa000)

<0>[41418.432063] 9e80: c0140910 e2ca9eb4

<0>[41418.432074] 9ea0: fffffff4 e3377b00 40533814 c0402a00 00000041 00000002 41433528 00000002

<0>[41418.432086] 9ec0: 00016e49 00000004 000003e8 0000000f c024767c e219f200 c0e1dcf8 011da09c

<0>[41418.432098] 9ee0: 02448000 d9ed20c8 e49c9190 00000000 c0252304 271ae91c e4803600 e3804b60

<0>[41418.432110] 9f00: 40533814 e3375b40 00000012 c0105f84 e2ca8000 00000000 00000000 c024f1ac

<0>[41418.432122] 9f20: 417157b8 c0252304 e219f200 00000000 e219f200 00000000 e219f24c c0252c48

<0>[41418.432134] 9f40: 00000002 d9ed20c0 e4641d78 e219f200 00000010 c0241ff0 c010b3e8 c01c5190

<0>[41418.432146] 9f60: e2ca9f90 e3375b40 40533814 c0140910 00000012 c0105f84 e2ca8000 00000000

<0>[41418.432158] 9f80: 00000000 c024f254 00000012 00000001 40533814 4056a04c c0140910 00000012

<0>[41418.432170] 9fa0: 00000036 c0105e00 4056a04c c0140910 00000012 c0140910 40533814 405337d4

<0>[41418.432181] 9fc0: 4056a04c c0140910 00000012 00000036 40533814 00000004 41433528 00000000

<0>[41418.432193] 9fe0: 40569f10 405337b8 40105a71 400f2088 00000010 00000012 00000000 00000000

<4>[41418.432209] [<c0410014>] (kgsl_active_count_put+0x28/0x1f0) from [<c0402a00>] (kgsl_ioctl+0x224/0x2f8)

<4>[41418.432224] [<c0402a00>] (kgsl_ioctl+0x224/0x2f8) from [<c024f1ac>] (do_vfs_ioctl+0x548/0x5bc)

<4>[41418.432238] [<c024f1ac>] (do_vfs_ioctl+0x548/0x5bc) from [<c024f254>] (sys_ioctl+0x34/0x54)

<4>[41418.432253] [<c024f254>] (sys_ioctl+0x34/0x54) from [<c0105e00>] (ret_fast_syscall+0x0/0x30)

<0>[41418.432266] Code: e7f001f2 e5903370 e3530000 1a000000 (e7f001f2)

<4>[41418.432277] ---[ end trace 1b0d75d46d636dc3 ]---

<0>[41418.432286] Kernel panic - not syncing: Fatal exception

<3>[41419.435763] wcnss crash shutdown 0