vpu blocking timeout and then system crash.

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

vpu blocking timeout and then system crash.

1,954 Views
echozeng
Contributor III

Hi,

     Play video for long time, system crash and show vpu blocking timeout log.

     Kernel: 3.0.35 android:4.2.2

     Log:

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

Unable to handle kernel NULL pointer dereference at virtual address 00000000

pgd = d0024000

[00000000] *pgd=00000000

Internal error: Oops: 80000005 [#1] PREEMPT SMP

Modules linked in:

CPU: 0    Not tainted  (3.0.35 #194)

PC is at 0x0

LR is at __schedule+0x2ac/0x788

pc : [<00000000>]    lr : [<c06499f0>]    psr: 60000013

sp : d024bf30  ip : d024bec8  fp : 00000001

r10: ffffffff  r9 : 00000001  r8 : 00000010

r7 : d01586c0  r6 : 40568d30  r5 : d024a000  r4 : 00000010

r3 : d41fe440  r2 : 00000000  r1 : d4202420  r0 : fffffffc

Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user

Control: 10c53c7d  Table: 2002404a  DAC: 00000015

LR: 0xc0649970:

9970  e5973160 e0223003 e1b03423 1a0000af e59f3534 e597216c e593316c e1520003

9990  1a0000a7 e5970024 e1a01007 e2800205 ebe8326d e59530f0 e1a00005 e3530000

99b0  058530f4 05849494 e51b9090 e5951004 e5992004 ebe7fbb2 e1a01000 e5963014

99d0  e307cf40 e34cc088 e51b8080 e3079f40 e34c9088 e79c0103 e0880000 ebe8aa59

99f0  e5963014 e7994103 e0884004 e59434bc e3530000 1a00001f e5962000 e5963004

9a10  e3120002 e2433001 e5863004 1affff55 e24bd020 e8bd8ff0 e1570009 1affffc8

9a30  eaffffdb e5953000 e3130081 0a000003 e5952004 e5922000 e3120001 1a000106

9a50  e3a02001 e1a00004 e1a01005 ebe8b0d8 e595300c e3a02000 e585201c e3130020

SP: 0xd024beb0:

beb0  d01586c0 00000000 00000001 00000000 00000000 c064b330 d01eac6c 00000000

bed0  d024bf08 0000040f 00000005 40568d30 d01586c0 c00484d4 fffffffc d4202420

bef0  00000000 d41fe440 00000010 d024a000 40568d30 d01586c0 00000010 00000001

bf10  ffffffff 00000001 d024bec8 d024bf30 c06499f0 00000000 60000013 ffffffff

bf30  00000000 00000000 00000001 00000001 d41985a0 00000000 00004bc5 00000000

bf50  c08ee930 c08740c0 a8727958 04b91373 00000000 00000010 40568d30 00000001

bf70  d41fe440 c007cc28 d4198588 d4198588 00000008 41443548 ffffffff 00000000

bf90  000000fc c0048a84 d024a000 00000000 00000000 c0048900 41443548 ffffffff

IP: 0xd024be48:

be48  c00401b4 c0041320 00000780 00000001 00000780 00000d80 00000000 00000438

be68  00000020 00000000 00000000 00000008 00000000 00000008 00000008 00000000

be88  00000010 00000008 00000000 00000018 00000008 00000000 00000000 00000000

bea8  d024a000 00000000 d01586c0 00000000 00000001 00000000 00000000 c064b330

bec8  d01eac6c 00000000 d024bf08 0000040f 00000005 40568d30 d01586c0 c00484d4

bee8  fffffffc d4202420 00000000 d41fe440 00000010 d024a000 40568d30 d01586c0

bf08  00000010 00000001 ffffffff 00000001 d024bec8 d024bf30 c06499f0 00000000

bf28  60000013 ffffffff 00000000 00000000 00000001 00000001 d41985a0 00000000

R1: 0xd42023a0:

23a0  00000000 00000000 00000000 00000001 00000000 00000000 d42023b8 d42023b8

23c0  00000000 d42023c4 d42023c4 00000000 00000000 c0083a10 00000000 00000000

23e0  00000000 00000000 00000000 00000000 0000c350 0000c350 00000000 00000000

2400  00000000 00000000 00000000 00000000 00080010 00000000 00000000 d42024b0

2420  00000001 d038a000 00000002 00400040 00000000 00000000 00000000 00000000

2440  0000006f 0000006f 0000006f 00000000 c064e220 00000000 00001dc4 000899bc

2460  00000001 00000000 00000000 d420246c d420246c 00000000 f4da5296 00000667

2480  d4439b53 0000000a d91f7341 00003051 d4429d6b 0000000a 0000376e 00000000

R3: 0xd41fe3c0:

e3c0  00000000 00000000 00000000 00000001 00000000 00000000 d41fe3d8 d41fe3d8

e3e0  00000000 d41fe3e4 d41fe3e4 00000000 00000000 00000000 00000000 00000000

e400  00000000 00000000 00000000 00000000 0000c350 0000c350 00000000 00000000

e420  00000000 00000001 00000001 00000000 d41fec88 d41fe3f8 d439c844 00000000

e440  00000000 d024a000 00000002 00400040 00000000 00000000 00000001 00000001

e460  00000070 00000070 00000070 00000000 c064e220 00000000 000017d4 000abe5d

e480  00000001 d44097a8 00000000 d4289250 d4289250 00000001 fcd4f741 00000667

e4a0  b9446193 00000033 da73f902 00003051 b1c15230 00000033 0000125a 00000000

R5: 0xd0249f80:

9f80  ffffff9c 00000001 00000000 00000000 00000000 00000000 0000008e c0048a84

9fa0  00000000 c0048900 00000000 00000000 0000000f 40580e24 00000000 00000000

9fc0  00000000 00000000 00000000 0000008e 400c1858 400c1858 00000001 0000000e

9fe0  40580de8 40580dd8 400c04e5 4015112c 00000010 0000000f ffffffff ffffffff

a000  00000000 00000002 00000000 d41fe440 c089e03c 00000000 00000015 c1269320

a020  d41fe440 d024a000 d5cf38a0 c00401b4 ce157820 00000000 d024bcfc d024bc58

a040  c06499c8 00000000 00000000 00000000 00000000 00000000 01010000 00000000

a060  40568f00 00000000 00000000 00000000 00000000 00000000 00000000 00000000

R7: 0xd0158640:

8640  00000001 00000001 00000002 00000000 00000000 00000000 00000000 00000000

8660  00000000 00000000 00000000 00000000 00000000 d407e140 00000000 00000000

8680  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

86a0  00000000 d01586a4 d01586a4 d01586ac d01586ac d22f34a4 00000000 00000000

86c0  d01586c0 d01586c0 d401d4e0 d22fa558 c065ca64 00000000 00000000 00000000

86e0  00000002 00000002 00000003 00000000 00000000 00000000 00000000 00000000

8700  00000000 00000000 00000000 00000000 00000000 d407f560 00000000 00000000

8720  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

Process SurfaceFlinger (pid: 2300, stack limit = 0xd024a2f0)

Stack: (0xd024bf30 to 0xd024c000)

bf20:                                     00000000 00000000 00000001 00000001

bf40: d41985a0 00000000 00004bc5 00000000 c08ee930 c08740c0 a8727958 04b91373

bf60: 00000000 00000010 40568d30 00000001 d41fe440 c007cc28 d4198588 d4198588

bf80: 00000008 41443548 ffffffff 00000000 000000fc c0048a84 d024a000 00000000

bfa0: 00000000 c0048900 41443548 ffffffff 0000000b 40568d30 00000010 ffffffff

bfc0: 41443548 ffffffff 00000000 000000fc 00000000 00000014 4144355c 00000000

bfe0: 401c5ff4 40568ce8 401c0b0d 40154f20 20000010 0000000b ffffffff ffffffff

Code: bad PC value

VPU blocking: timeout.

---[ end trace 1bd335430a63c09e ]---

Kernel panic - not syncing: Fatal exception

[<c004f9e4>] (unwind_backtrace+0x0/0x138) from [<c06454fc>] (panic+0x74/0x18c)

[<c06454fc>] (panic+0x74/0x18c) from [<c004c454>] (die+0x218/0x284)

[<c004c454>] (die+0x218/0x284) from [<c06452f0>] (__do_kernel_fault.part.3+0x54/0x74)

[<c06452f0>] (__do_kernel_fault.part.3+0x54/0x74) from [<c0053778>] (do_page_fault+0x2b4/0x31c)

[<c0053778>] (do_page_fault+0x2b4/0x31c) from [<c00424ac>] (do_PrefetchAbort+0x34/0x9c)

[<c00424ac>] (do_PrefetchAbort+0x34/0x9c) from [<c00484d4>] (__pabt_svc+0x74/0xc0)

Exception stack(0xd024bee8 to 0xd024bf30)

bee0:                   fffffffc d4202420 00000000 d41fe440 00000010 d024a000

bf00: 40568d30 d01586c0 00000010 00000001 ffffffff 00000001 d024bec8 d024bf30

bf20: c06499f0 00000000 60000013 ffffffff

[<c00484d4>] (__pabt_svc+0x74/0xc0) from [<c06499f0>] (__schedule+0x2ac/0x788)

CPU1: stopping

[<c004f9e4>] (unwind_backtrace+0x0/0x138) from [<c00423a8>] (do_IPI+0x1d4/0x208)

[<c00423a8>] (do_IPI+0x1d4/0x208) from [<c004834c>] (__irq_svc+0x4c/0xe8)

Exception stack(0xc2b83de8 to 0xc2b83e30)

3de0:                   c08e8ccc 60000093 c089e148 c089e148 c08e8cd6 c08e8ced

3e00: c089e0e8 c08e8c18 0000001d c08e8cd6 00000001 60000013 00000000 c2b83e30

3e20: c008254c c0082660 60000013 ffffffff

[<c004834c>] (__irq_svc+0x4c/0xe8) from [<c0082660>] (vprintk+0x328/0x4a8)

[<c0082660>] (vprintk+0x328/0x4a8) from [<c0645630>] (printk+0x1c/0x2c)

[<c0645630>] (printk+0x1c/0x2c) from [<c0459290>] (vpu_ioctl+0x850/0x8f8)

[<c0459290>] (vpu_ioctl+0x850/0x8f8) from [<c0130a48>] (do_vfs_ioctl+0x80/0x54c)

[<c0130a48>] (do_vfs_ioctl+0x80/0x54c) from [<c0130f4c>] (sys_ioctl+0x38/0x5c)

[<c0130f4c>] (sys_ioctl+0x38/0x5c) from [<c0048900>] (ret_fast_syscall+0x0/0x30)

CPU: Freescale i.MX6 family TO1.5 at 792 MHz

Thermal sensor with ratio = 190

Temperature:   75 C, calibration data 0x5b14f57d

mx6q pll1: 792MHz

mx6q pll2: 528MHz

mx6q pll3: 480MHz

mx6q pll8: 50MHz

ipg clock     : 66000000Hz

ipg per clock : 66000000Hz

uart clock    : 80000000Hz

cspi clock    : 60000000Hz

ahb clock     : 132000000Hz

axi clock   : 264000000Hz

emi_slow clock: 132000000Hz

ddr clock     : 528000000Hz

usdhc1 clock  : 198000000Hz

usdhc2 clock  : 198000000Hz

usdhc3 clock  : 198000000Hz

usdhc4 clock  : 198000000Hz

Best regards

echo

Labels (3)
0 Kudos
Reply
5 Replies

1,192 Views
lily_zhang
NXP Employee
NXP Employee

Hello, Echo:

Because you are using one older release, recommend to consider to check whether the following patches are integrated:

- From log, it seems data corruption may happen in video playback case. So please consider to check whether all known ARM errata fixes are integrated.

- Please check whether DDR is stable enough.

- Please check whether ARM/SOC/PU voltage settings are aligned with latest datasheet.

- Please try to upgrade GPU version. GPU upgrade to latest p13 for JB4.2.2_1.1.0 release

You can also try the following tests to narrow down possible reasons:

- Disable all power saving technology. Disable CPU Frequency etc.

- Disable system to enter WAIT mode.

- Try to disable VPU clock off operation.

0 Kudos
Reply

1,192 Views
igorpadykov
NXP Employee
NXP Employee

Hi echo

please follow recommendations provided for similar issue on

https://community.freescale.com/thread/323018

Best regards

igor

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

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

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

0 Kudos
Reply

1,192 Views
echozeng
Contributor III

Hi igorpadykov,

       I do get  unuserful information from similar issue your provided.

       Running OS is  android,  so I  can not change the  kernel  version.

       I just  want you provide us a fixed this issue way base on android 4.2.2.

       Have any patch or fix method base on  android 4.2.2(kernel 3.0.35)?

       I saw many questions about  similar vpu issues asked on nxp  community, but  look like has no satisfied answer.

Thanks.

0 Kudos
Reply

1,192 Views
igorpadykov
NXP Employee
NXP Employee

Hi echo

as stated on suggested link this issue is well known in

kernel 3.0.35 and there are no workarounds or solutions for it.

Experts suggest to move on latest kernels where it is fixed.

Hope you will find this info as userful.

Best regards

igor

0 Kudos
Reply

1,192 Views
echozeng
Contributor III

Hi igorpadykov,

        According  to your suggestion, can we only replace  3.0.35 kernel  to  latest kernel base  on Android 4.2.2?

Or must we update newer Android  OS(such as 5.0....) including latest kernel?  How about  your opinion?

Thanks.

0 Kudos
Reply