joison 发表于 2018-1-12 16:23:04

RK3288 播放4K视频系统会crash

哪位大哥帮分析下是什么原因导致的, 三块板子 只有这一块最不稳定, 一播放就会出此问题, 下面是日志信息。
vcodec_service: ff9a0000.vpu_service: power on
Enable stall request failed, MMU status is 0x00000011
rk_iommu ff9a0800.vpu_mmu: (vpu), rockchip_iommu_disable failed
rk_iommu ff9a0800.vpu_mmu: rockchip_iommu_detach_device: Detaching IOMMU w2th pgtable 1dadb000 delayed

vcodec_service: ff9a0000.vpu_service: resetting...vcodec_service: for 3288/3368...
vcodec_service: reset in
vcodec_service: done
------------[ cut here ]------------
kernel BUG at drivers/iommu/rockchip-iommu.c:998!
Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 1 PID: 1525 Comm: mediaserver Not tainted 3.10.0 #156
task: dabc6e40 ti: da754000 task.ti: da754000
PC is at rockchip_iommu_attach_device+0x50/0x11c
LR is at rockchip_iommu_enable+0x190/0x210
pc : [<c05dbff0>]    lr : [<c05dbf20>]    psr: 800e0093
sp : da755e68ip : 00000001fp : dcd92128
r10: ddad9480r9 : a00e0013r8 : ddad94d0
r7 : ddae7610r6 : ddad94c0r5 : ddada010r4 : 00000000
r3 : ddad94c0r2 : 00000001r1 : 600e0093r0 : 00000000
Flags: NzcvIRQs offFIQs onMode SVC_32ISA ARMSegment user
Control: 10c5387dTable: 1c18c06aDAC: 00000015

PC: 0xc05dbf70:
bf70e594301c e7930005 ebfffc8f e3e0500f eaffffe7 c0a06237 c0a6fe2b c0a6fb0a
bf90c0883d59 c0a56745 c0d941ec c0a6fe41 e92d47f0 e1a0a000 e59100b8 e1a07001
bfb0ebf5583a e59a6004 e2868010 e1a05000 e1a00008 eb08b711 e5961008 e2811440
bfd0e1a09000 e1a00005 ebffff6c e2504000 1a00000a e5953000 e1530005 0a000000
bff0e7f001f2 e5963004 e5865004 e5856000 e5853004 e5835000 e585a028 e585700c
c010e1a00008 e1a01009 eb08b7cb e3540000 aa000006 e5963008 e59700b8 e2833440
c030e59f106c e59f206c ebf54ed6 ea000016 1a000015 e5955018 e59f105c e1a00005
c050ebf23f05 e3500000 1a00000f e1a00005 e59f1048 ebf23f00 e3500000 1a00000a

LR: 0xc05dbea0:
bea0e7933005 e583201c e594301c e3a02000 e7933005 e5832008 e3a01ffa e59b2000
bec0e1530002 0a000006 e2832004 e5930004 e3100001 1a000002 e2511001 1afffff6
bee0ea00001a e594301c e2888001 e7930005 ebfffcb1 ea000001 e59fb098 e3a08000
bf00e5943010 e1580003 baffffb9 e584a02c e1a00006 e1a01007 e3a05000 eb08b80a
bf20ea000008 e5943020 e3530000 ca000000 e7f001f2 e2433001 e1a00006 e5843020
bf40e1a01007 eb08b800 e1a00005 e8bd8ff8 e5921000 e59f0040 eb0845ff e59f302c
bf60e5940008 e59f1020 e5942018 ebf54ed6 e594301c e7930005 ebfffc8f e3e0500f
bf80eaffffe7 c0a06237 c0a6fe2b c0a6fb0a c0883d59 c0a56745 c0d941ec c0a6fe41

SP: 0xda755de8:
5de800000d30 c0ca4048 600e0093 c05ca04c c05ca004 dd8ce5f0 da754000 00000024
5e08c0ca4048 c05dbff4 00000000 c000da18 00000000 c000d7ac 00000000 600e0093
5e2800000001 ddad94c0 00000000 ddada010 ddad94c0 ddae7610 ddad94d0 a00e0013
5e48ddad9480 dcd92128 00000001 da755e68 c05dbf20 c05dbff0 800e0093 ffffffff
5e68dcd92010 ddab6b50 db287c00 db287c3c ddab6b50 00000000 c0ba8ff4 c05d9bfc
5e88ddae9810 c0039c10 ddab6b50 00000000 dcd92010 00000001 db287c00 db287c3c
5ea8ddab6b50 c003add4 00000001 00000001 00000000 00000001 00000000 c07ed788
5ec8c09dc3bc dcd92010 db287c00 db287c20 00000001 00000001 00000000 00000001

FP: 0xdcd920a8:
20a8c0d25db4 c0d25db4 ffffe4a6 c0d25482 c005a010 dcd92098 ffffffff ffffffff
20c800000000 00000000 00000000 00000000 00000000 dd812d80 00000000 00000000
20e89da65255 00000034 00000000 00000000 dcd920f8 dcd920f8 dabc6e40 00000000
2108dcd92108 dcd92108 db287c20 db287c20 dcd92118 dcd92118 d9957944 d9957944
212800000001 00000001 00000001 00000000 00000000 00000000 00000000 00001000
214800000000 00000003 00000001 00000002 00000001 00000003 00000001 00000001
216800000000 00000001 00000003 00000001 00000001 00000001 00000001 00000000
218800000000 00000001 00000780 00000001 00000001 00000001 00000001 00000001

R3: 0xddad9440:
944000010001 ddb40000 ddb40000 0000000c c0274b14 00000000 ffffffff ffffffff
9460ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
9480c0c62b90 ddad94c0 00000000 00000000 00000000 00000000 00000000 00000000
94a000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
94c0ddada010 ddada010 ddadb000 ddadc000 00070006 3f893f89 00000000 00000000
94e000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
950031396666 30303034 7073692e 756d6d5f ffffff00 ffffffff ffffffff ffffffff
9520ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff

R5: 0xddad9f90:
9f90ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
9fb0ffffffff ffffffff ffffffff ffffffff 35396666 30303030 6669632e ffffff00
9fd0ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
9ff0ffffffff ffffffff ffffffff ffffffff ddad92c0 ddae98dc c03347ec 00000000
a010ddad94c0 ddad94c0 ddae9810 ddae7610 00000001 00000001 c561692c ddad92d0
a03000000001 00070007 ddad9480 1dadb000 ddad9480 ddad9440 daf10640 db32f6c0
a05000060006 c0039914 00000000 00000000 00000000 00000000 00000000 00000000
a07000000000 00000000 00000000 00000000 f0000444 0000416d 00000002 00000000

R6: 0xddad9440:
944000010001 ddb40000 ddb40000 0000000c c0274b14 00000000 ffffffff ffffffff
9460ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
9480c0c62b90 ddad94c0 00000000 00000000 00000000 00000000 00000000 00000000
94a000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
94c0ddada010 ddada010 ddadb000 ddadc000 00070006 3f893f89 00000000 00000000
94e000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
950031396666 30303034 7073692e 756d6d5f ffffff00 ffffffff ffffffff ffffffff
9520ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff

R7: 0xddae7590:
759000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
75b000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
75d000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
75f000000000 00000000 00000000 00000000 ddac9ac0 ffffffff 00000000 00000000
761000000000 ddaca180 ddac9a80 ddae781c ddae741c dd8fe34c dd8fe340 c0bc4d98
7630ddac9b40 00000004 00000007 00000000 00000000 00000001 00000000 ddae764c
7650ddae764c 00000000 00000000 c0bc4ef8 c0ba8e50 00000000 00000000 00000020
767000000000 ddae7874 ddae7474 7fffffff 00010001 ddae7684 ddae7684 00000000

R8: 0xddad9450:
9450c0274b14 00000000 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
9470ffffffff ffffffff ffffffff ffffffff c0c62b90 ddad94c0 00000000 00000000
949000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
94b000000000 00000000 00000000 00000000 ddada010 ddada010 ddadb000 ddadc000
94d000070006 3f893f89 00000000 00000000 00000000 00000000 00000000 00000000
94f000000000 00000000 00000000 00000000 31396666 30303034 7073692e 756d6d5f
9510ffffff00 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
9530ffffffff ffffffff ffffffff ffffffff 31396666 30303034 7073692e 756d6d5f

R10: 0xddad9400:
9400c05db690 ddada010 00000000 00000000 00000000 00000000 0000002b 00000080
942000000000 00000000 ddad2ec0 ddada080 00000000 00000000 00000000 00000000
944000010001 ddb40000 ddb40000 0000000c c0274b14 00000000 ffffffff ffffffff
9460ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
9480c0c62b90 ddad94c0 00000000 00000000 00000000 00000000 00000000 00000000
94a000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
94c0ddada010 ddada010 ddadb000 ddadc000 00070006 3f893f89 00000000 00000000
94e000000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Process mediaserver (pid: 1525, stack limit = 0xda754238)
Stack: (0xda755e68 to 0xda756000)
5e60:                   dcd92010 ddab6b50 db287c00 db287c3c ddab6b50 00000000
5e80: c0ba8ff4 c05d9bfc ddae9810 c0039c10 ddab6b50 00000000 dcd92010 00000001
5ea0: db287c00 db287c3c ddab6b50 c003add4 00000001 00000001 00000000 00000001
5ec0: 00000000 c07ed788 c09dc3bc dcd92010 db287c00 db287c20 00000001 00000001
5ee0: 00000000 00000001 00000000 c003b3d4 dabc6e40 d9957940 dcd920f0 40046c03
5f00: ddab6b50 a3e93e30 da754000 00000000 00000003 c003b66c 000000bd c5a88b70
5f20: 00006c03 c5803bb8 00000001 a4001ea0 000000f0 c021e6ec 00006c03 da755f50
5f40: 00000007 a3e93e30 00000017 a3e93e30 40046c03 00000017 da754000 00000000
5f60: 00000003 c0120c78 da4d8f00 00000017 40046c03 da4d8f00 00000001 c0120cf8
5f80: 00000017 00000001 a3e93e30 b6168054 00000017 a4001ea0 00000036 c000dc84
5fa0: 00000000 c000db00 b6168054 00000017 00000017 40046c03 a3e93e30 a3e93e18
5fc0: b6168054 00000017 a4001ea0 00000036 0012cdb4 0012cfb0 000000de 00000003
5fe0: a4001ea0 a3e93e08 b6ac17ad b6abad28 200f0010 00000017 7749a679 99759618
[<c05dbff0>] (rockchip_iommu_attach_device+0x50/0x11c) from [<c05d9bfc>] (iommu_attach_device+0x18/0x24)
[<c05d9bfc>] (iommu_attach_device+0x18/0x24) from [<c0039c10>] (vcodec_enter_mode+0x58/0x234)
[<c0039c10>] (vcodec_enter_mode+0x58/0x234) from [<c003add4>] (reg_copy_to_hw+0xb4/0x588)
[<c003add4>] (reg_copy_to_hw+0xb4/0x588) from [<c003b3d4>] (try_set_reg+0x12c/0x188)
[<c003b3d4>] (try_set_reg+0x12c/0x188) from [<c003b66c>] (vpu_service_ioctl+0x23c/0x57c)
[<c003b66c>] (vpu_service_ioctl+0x23c/0x57c) from [<c0120c78>] (do_vfs_ioctl+0x210/0x240)
[<c0120c78>] (do_vfs_ioctl+0x210/0x240) from [<c0120cf8>] (SyS_ioctl+0x50/0x6c)
[<c0120cf8>] (SyS_ioctl+0x50/0x6c) from [<c000db00>] (ret_fast_syscall+0x0/0x38)
Code: 1a00000a e5953000 e1530005 0a000000 (e7f001f2)
---[ end trace c29a7e4604a7c567 ]---
Kernel panic - not syncing: Fatal exception
CPU0: stopping
CPU: 0 PID: 181 Comm: Binder_2 Tainted: G      D      3.10.0 #156
[<c0013fc4>] (unwind_backtrace+0x0/0xe0) from [<c0011864>] (show_stack+0x10/0x14)
[<c0011864>] (show_stack+0x10/0x14) from [<c001309c>] (handle_IPI+0x154/0x2c8)
[<c001309c>] (handle_IPI+0x154/0x2c8) from [<c0008558>] (gic_handle_irq+0x54/0x5c)
[<c0008558>] (gic_handle_irq+0x54/0x5c) from [<c000d700>] (__irq_svc+0x40/0x70)
Exception stack(0xdc63bc90 to 0xdc63bcd8)
bc80:                                     00000001 00000001 00000001 c1e09940
bca0: c0b8d2a8 c1dfe300 c1dfe304 c0b8ccf8 00000001 c0b84940 00000004 c1e19280
bcc0: 00000000 dc63bcd8 c00917e0 c00917b4 000e0013 ffffffff
[<c000d700>] (__irq_svc+0x40/0x70) from [<c00917b4>] (smp_call_function_many+0x250/0x2b8)
[<c00917b4>] (smp_call_function_many+0x250/0x2b8) from [<c009184c>] (on_each_cpu_mask+0x30/0x84)
[<c009184c>] (on_each_cpu_mask+0x30/0x84) from [<c010ecac>] (set_migratetype_isolate+0xc4/0xd0)
[<c010ecac>] (set_migratetype_isolate+0xc4/0xd0) from [<c010edb0>] (start_isolate_page_range+0x54/0xac)
[<c010edb0>] (start_isolate_page_range+0x54/0xac) from [<c00dd940>] (alloc_contig_range+0x9c/0x1a0)
[<c00dd940>] (alloc_contig_range+0x9c/0x1a0) from [<c0336108>] (dma_alloc_from_contiguous+0xa4/0x108)
[<c0336108>] (dma_alloc_from_contiguous+0xa4/0x108) from [<c0017d78>] (__alloc_from_contiguous+0x34/0x12c)
[<c0017d78>] (__alloc_from_contiguous+0x34/0x12c) from [<c00183e8>] (__dma_alloc+0x114/0x15c)
[<c00183e8>] (__dma_alloc+0x114/0x15c) from [<c0018550>] (arm_dma_alloc+0x88/0x94)
[<c0018550>] (arm_dma_alloc+0x88/0x94) from [<c05c92bc>] (ion_cma_allocate+0x98/0x178)
[<c05c92bc>] (ion_cma_allocate+0x98/0x178) from [<c05c5c78>] (ion_buffer_create+0x68/0x2a0)
[<c05c5c78>] (ion_buffer_create+0x68/0x2a0) from [<c05c6b2c>] (ion_alloc+0x88/0x190)
[<c05c6b2c>] (ion_alloc+0x88/0x190) from [<c05c6dd0>] (ion_ioctl+0x120/0x310)
[<c05c6dd0>] (ion_ioctl+0x120/0x310) from [<c0120c78>] (do_vfs_ioctl+0x210/0x240)
[<c0120c78>] (do_vfs_ioctl+0x210/0x240) from [<c0120cf8>] (SyS_ioctl+0x50/0x6c)
[<c0120cf8>] (SyS_ioctl+0x50/0x6c) from [<c000db00>] (ret_fast_syscall+0x0/0x38)
CPU2: stopping
CPU: 2 PID: 0 Comm: swapper/2 Tainted: G      D      3.10.0 #156
[<c0013fc4>] (unwind_backtrace+0x0/0xe0) from [<c0011864>] (show_stack+0x10/0x14)
[<c0011864>] (show_stack+0x10/0x14) from [<c001309c>] (handle_IPI+0x154/0x2c8)
[<c001309c>] (handle_IPI+0x154/0x2c8) from [<c0008558>] (gic_handle_irq+0x54/0x5c)
[<c0008558>] (gic_handle_irq+0x54/0x5c) from [<c000d700>] (__irq_svc+0x40/0x70)
Exception stack(0xdd8bbf30 to 0xdd8bbf78)
bf20:                                     dd8bbf78 000000e2 de21b207 00000034
bf40: c1e0f2a0 00000000 de1d50ef 00000034 c0b98020 dd8ba000 c0b98030 00000000
bf60: 1de1dbc6 dd8bbf78 c00849d4 c0572ce0 600f0013 ffffffff
[<c000d700>] (__irq_svc+0x40/0x70) from [<c0572ce0>] (cpuidle_enter_state+0x54/0xec)
[<c0572ce0>] (cpuidle_enter_state+0x54/0xec) from [<c0572ee8>] (cpuidle_idle_call+0x170/0x280)
[<c0572ee8>] (cpuidle_idle_call+0x170/0x280) from [<c000e850>] (arch_cpu_idle+0x8/0x38)
[<c000e850>] (arch_cpu_idle+0x8/0x38) from [<c0083280>] (cpu_idle_loop+0x1b8/0x224)
[<c0083280>] (cpu_idle_loop+0x1b8/0x224) from [<c00832f8>] (freezing_slow_path+0x0/0x80)
CPU3: stopping
CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D      3.10.0 #156
[<c0013fc4>] (unwind_backtrace+0x0/0xe0) from [<c0011864>] (show_stack+0x10/0x14)
[<c0011864>] (show_stack+0x10/0x14) from [<c001309c>] (handle_IPI+0x154/0x2c8)
[<c001309c>] (handle_IPI+0x154/0x2c8) from [<c0008558>] (gic_handle_irq+0x54/0x5c)
[<c0008558>] (gic_handle_irq+0x54/0x5c) from [<c000d700>] (__irq_svc+0x40/0x70)
Exception stack(0xdd8bdf30 to 0xdd8bdf78)
df20:                                     dd8bdf78 000000e2 de21b207 00000034
df40: c1e182a0 00000000 de17d791 00000034 c0b98020 dd8bc000 c0b98030 00000000
df60: 1de1dbc6 dd8bdf78 c00849d4 c0572ce0 600f0013 ffffffff
[<c000d700>] (__irq_svc+0x40/0x70) from [<c0572ce0>] (cpuidle_enter_state+0x54/0xec)
[<c0572ce0>] (cpuidle_enter_state+0x54/0xec) from [<c0572ee8>] (cpuidle_idle_call+0x170/0x280)
[<c0572ee8>] (cpuidle_idle_call+0x170/0x280) from [<c000e850>] (arch_cpu_idle+0x8/0x38)
[<c000e850>] (arch_cpu_idle+0x8/0x38) from [<c0083280>] (cpu_idle_loop+0x1b8/0x224)
[<c0083280>] (cpu_idle_loop+0x1b8/0x224) from [<c00832f8>] (freezing_slow_path+0x0/0x80)
CRU:
00000000: 00000001 9fff0043 0fff0022 00000008 00000001 9fff0025 0fff0012 00000008
00000020: 00000005 9fff0046 0fff0023 00000008 00000103 9fff00c5 0fff0014 00000008
00000040: 00000b00 9fff0270 0fff0138 00000008 00005111 00000000 00000000 00000000
00000060: 00004031 0000b108 00000020 00000200 00008100 00008200 00008585 00010014
00000080: 01885091 00010014 0000a101 00002745 00004345 00008a00 00000200 00000200
000000a0: 00000200 0bb8ea60 00010014 00010014 00010014 00000910 00000900 001f05dc
000000c0: 00001703 00000707 00000040 00000101 00000542 00000302 00004141 00004040
000000e0: 00004041 00000505 00008041 00008f8f 00000000 00000631 00001ee5 00008307
00000100: 00001200 00010014 00004141 00000000 00000000 00000000 00000000 00000000
00000120: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000140: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000160: 00001000 0000ff00 00003fe0 0000f2f0 00004ff0 00008e70 0000e970 0000c12f
00000180: 00000fa4 00000000 00000c09 000005cc 00000000 0000fe84 00000000 0000c01e
000001a0: 0000017f 00000000 00000000 00000000 00000000 00000000 00000000 00000000
000001c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
000001e0: 00000000 00000000 00000000 00640064 00000004 00000000 00000002 00000000
00000200: 00000002 00000000 00000002 00000000 00000002 00000000 00000004 00000000
00000220: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000240: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000260: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000280: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
000002a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
000002c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
000002e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000300: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000320: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000340: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000360: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000380: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
000003a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
000003c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
000003e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000400: 00000001 9fff0043 0fff0022 00000008 00000001 9fff0025 0fff0012 00000008
Rebooting in 5 seconds..DDR Version 1.01 20160803
页: [1]
查看完整版本: RK3288 播放4K视频系统会crash