我正在使用默认内核 5.10.72 和 imx_v6_v7_defconfig,以及 imx6dl-sabrelite 设备树。
当我禁用 GPU vivante 驱动程序时,它会工作,否则,引导会因内核崩溃而停止:
[7.152140]galcore:clk_get vg时钟失败,禁用vg!
[ 7.164702] Galcore 版本 6.4.3.p2.336687
[ 8.461010] 8<--- 在此处剪切 ---
[ 8.464127] 无法处理虚拟地址 00000030 处的内核空指针取消引用
[ 8.472256] pgd = (ptrval)
[ 8.474998] [00000030] *pgd=00000000
[8.478633] 内部错误:糟糕:5 [#1] PREEMPT SMP ARM
[8.483957] 模块链接在:
[8.487037] CPU:0 PID:1 Comm:swapper/0 Not tainted 5.10.72+ g06213bb0115f #20
[8.494352]硬件名称:飞思卡尔i.MX6 Quad/DualLite(设备树)
[8.500906]PC在
tick_program_event+0x48/0xb8
[8.505622]LR在tick_program_event+0x1c/0xb8
[8.510333]pc : [] lr : [] psr: 80000193
[8.516609] sp:c20fd930 ip:c167cfd8 fp:eedacb98
[8.521839] r10:eedacb58 r9:7fffffff r8:fffffff
[8.527070] r7:00000000 r6:f8d9f180 r5 :00000001 r4:00000000
[8.533604] r3:2d730000 r2:c17097dc r1: c13f7f24 r0:00000000
[8.540141]标志:Nzcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none
[8.547369] Control:10c5387d Table:10004059 DAC:00000051 [
8.553122] Process swapper/ 0 (pid: 1, 堆栈限制 = 0x(ptrval ))
[8.559136]堆栈:(0xc20fd930至0xc20fe000)
[8.563505]d920:60000193 eedaca40 eedacb98 eedaca40
[8.571694]d940:60000193 00000001 f8d9f1 80 c01d4584 fffffff 7fffffff 00000003 eedacb18
[ 8.579882] d960: eedaca6c eedacca0 eedacc60 eedacc20 eedacba0 eedacb60 00000000 00000000
[ 8.588070] d980: f841a003 00000001 c1709b0c 00000001 c20aa780 00000018 c1709b0c c17097dc
[ 8.596258] d9a0: c20fc000 00000001 c2018400 c0110700 c2090e00 c01af9fc c2090e00 c1681bd4
[ 8.604446] d9c0: c17097dc 00000000 c1681bd4 c20fc000 00000001 c01a9190 ffffffff c20fda30
[ 8.612633] d9e0: 00000003 f4a00100 c1709b0c f4a0010c c184c4a8 c1681bf8 c20fc000 c17097dc
[ 8.620821] da00: c20fda30 c0641718 00000000 c0f5320c 20000113 ffffffff c20fda64 c0f4c380
[ 8.629010] da20: c20fc000 c2108000 c20fdac4 c0100b30 00000000 c13f7f30 00000001 00121fb9
[ 8.637198] da40: eedb2f40 c22ed100 00000000 00000002 c0f4c380 c17097dc c2108000 c20fdac4
[ 8.645387] da60: 00000002 c20fda80 c0f497ec c0f5320c 20000113 ffffffff 00000051 00000000
[ 8.653575] da80: eedb2f40 c0168568 00000001 00000000 c0168534 c1905520 c20fdb1c c01623ac
[ 8.661764] daa0: 00000000 eedb2f40 c22ed100 c2108000 eedb2f50 eedb2f50 c17093d4 c1905520
[ 8.669953] dac0: c20fdb1c c0f4c380 ffffffff c20fdb0c 00000001 c0100b4c ffefe000 c0f4cb70
[ 8.678144] dae0: c21083c4 eedb2f50 efd8e3ec c20fc000 00009e1e 7b5459e9 00000000 c20fc000
[ 8.686334] db00: c0118020 0531d000 00000000 efd29400 ffefe000 c19103c8 c20fdb2c c0f4cb70
[ 8.694523] db20: efd8e410 c20fc000 c1498048 c0118020 00002cc0 08000000 eedf7000 00010000
[ 8.702713] db40: c17097dc 08000000 efd29400 c2268410 c20fdbbc 00000247 c01c9408 00000001
[ 8.710901] db60: 00008000 c0118104 c0117878 c02cd048 00002dc0 7b5459e9 ffffffff c2268410
[ 8.719088] db80: c2832244 00002cc0 c2832280 00000000 ffffffff 00000000 ffffffff c011820c
[ 8.727277] dba0: c01c9408 00000001 00000000 00002cc0 00000000 c01178cc c170981c 00000000
[ 8.735465] dbc0: c2268410 08000000 00002cc0 00000247 c01c9408 00002c01 00000000 7b5459e9
[ 8.743652] dbe0: c2832240 00000104 00002cc0 c0117b20 08000000 c2832244 c2832240 08000000
[ 8.751841] dc00: 08000001 c0117b5c 00000247 00000000 00000104 c01c9408 c2268410 c01c9408
[ 8.760031] dc20: 00000104 c2869400 c2869400 7b5459e9 00000000 c2832040 00008000 c2829900
[ 8.768219] dc40: c2869400 c0b59dcc 00000104 c280f0ac c2832240 7b5459e9 00000003 c2832000
[ 8.776407] dc60: c2829900 c28694ec 00008000 c0b59d38 c2869400 c0b1d11c c280f4f0 c1f84140
[ 8.784595] dc80: c280f1b0 00000000 c20fdcf4 c280f0a4 c280f0ac c282996c 00000000 7b5459e9
[ 8.792784] dca0: c2832200 c280f000 00000000 c1f84050 c280f0a4 c280f0ac 00000000 c1715824
[ 8.800974] dcc0: c1464ecc c0b1b0a8 c280f0a4 c280f0ac c1f1e650 60000113 c01a62b0 00134000
[ 8.809164] dce0: c280f000 c20fddf0 60000113 c01a5fe0 c20fdd4c 08000000 c2268400 c0b27258
[ 8.817353] dd00: c282bfc0 c1f83fd8 c1f840a0 c18b19a8 c1f84340 c1f84228 c1f840e8 c1f84160
[ 8.825543] dd20: c18b1ae4 c01a62b0 c20fdd4c 7b5459e9 c1f84228 c1f83fd8 c1f840a0 c18b19a8
[ 8.833731] dd40: c1f84340 c1f84228 c1f840e8 c1f84160 c18b1ae4 c0b2667c c20fdd74 00000000
[ 8.841919] dd60: 08000000 00000000 00000000 00000000 00000000 00000000 00000000 0000000f
[ 8.850106] dd80: c18b1d24 80000000 ffffffff ffffffff 00000001 00000000 00000000 10000000
[ 8.858295] dda0: 00000000 00000000 00000001 00000001 00000001 ffffffff 00000001 00000000
[ 8.866482] ddc0: 00000001 00000000 00000000 00000000 00000001 00000001 ffffffff ffffffff
[ 8.874669] dde0: 00000000 c2268410 c2268400 00000001 00000000 7b5459e9 00000000 00000000
[ 8.882857] de00: c2268410 c18b19bc 00000000 c1f7eb84 c18b19bc 00000000 c16003e0 c082edec
[ 8.891046] de20: c2268410 c1f7eb7c 00000000 00000000 c1f7eb84 c082ca9c 00000000 c2268410
[ 8.899233] de40: c18b19bc c22684a0 c18b19bc c165b854 c15106c0 c1910000 c16003e0 c082d144
[ 8.907421] de60: c2268410 00000000 c22684a0 c082d43c 00000000 c18b19bc c2268410 c18716e0
[ 8.915609] de80: c165b854 c082d4c0 00000000 c18b19bc c082d444 c082aa4c c15106c0 c2091cb0
[ 8.923796] dea0: c223e7d4 7b5459e9 c18b19bc c282fc80 00000000 c082bdb4 c1465fcc c062b300
[ 8.931984] dec0: c18b19bc c18b19bc 00000000 c18b19a8 00000000 c082df50 c1f83fd8 00000000
[ 8.940173] dee0: c18b19a8 c164ff04 c164febc c1905220 c17093d4 c01023d8 00000712 00000000
[ 8.948360] df00: c2004461 c2004400 c2004460 c015e5c0 c2004400 00000000 00000000 c17e2c2c
[ 8.956548] df20: ffffffff c0f49e20 00000001 c17093d4 c1905220 c2004400 c165b870 c165b854
[ 8.964735] df40: c15106c0 7b5459e9 c16003e0 c1675f48 00000007 c2004400 c165b874 c165b854
[ 8.972923] df60: c15106c0 c16010ac 00000006 00000006 00000000 c16003e0 c2108000 0000016a
[ 8.981109] df80: c16774a4 00000000 c0f4abf0 00000000 00000000 00000000 00000000 00000000
[ 8.989298] dfa0: 00000000 c0f4abf8 00000000 c0100134 00000000 00000000 00000000 00000000
[ 8.997484] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 9.005673] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[ 9.013878] [] (tick_program_event) 来自 [] (hrtimer_interrupt+0x1a4/0x36c) [ 9.022598] [] (hrtimer_interrupt)
来自 [] (twd_handler+0x30/0x3c)
[ 9.030537] [] (twd_handler) 来自 [] (handle_percpu_devid_irq+0xb4/0x194) [
9.039079] [] (handle_percpu_devid_irq) 来自 [] (__handle_domain_irq+0xa8/0x13c)
[ 9.048318] [] (__handle_domain_irq) 来自 [] (gic_handle_irq+0x8c/0xb4) [
9.056687] [] (gic_handle_irq) 来自 [] (__irq_svc+0 x70/0xb0)
[ 9.064176 ] 异常堆栈(0xc20fda30 到 0xc20fda78)
[ 9.069237] da20: 00000000 c13f7f30 00000001 00121fb9
[ 9.077427] da40: eedb2f40 c22ed100 00000000 000000 02 c0f4c380 c17097dc c2108000 c20fdac4 [ 9.085614] da60: 00000002 c20fda80 c0f497ec c0f5320c
20000113 ffffffff
[ 9.092249] [] ( __irq_svc) 来自 [] (_raw_spin_unlock_irq+0x24/0x58)
[ 9.100275] [] (_raw_spin_unlock_irq) 来自 [] (finish_task_switch+0xa8/0x260) [ 9.10
9169] [] (finish_task_switch)来自 [] (__schedule+0x324/0x934)
[ 9.117278] [] (__schedule) 来自 [] (preempt_schedule_common+0x38/0x90) [ 9.125647] [] (preempt_schedule_common)
来自 [] (__dma_clear_buffer+0 x188/0x1fc)
[ 9.134880 ] [] (__dma_clear_buffer) 来自 [] (__alloc_from_contiguous+0x70/0x144)
[ 9.144024] [] (__alloc_from_contiguous) 来自 [] (cma_allocator_alloc+0x 34/0x3c)
[ 9.153167] [ ] (cma_allocator_alloc) 来自 [] (__dma_alloc+0x11c/0x334)
[ 9.161443] [] (__dma_alloc) 来自 [] (arm_dma_alloc+0x3c/0x48)
[ 9.16 9030] [] (arm_dma_alloc) 来自 [] (dma_alloc_attrs+0x100/0x11c)
[ 9.177146] [] (dma_alloc_attrs) 来自 [] (_CMAFSLAlloc+0x94/0x13c)
[ 9.185082] [] (_CMAFSLAlloc) 来自 [] (gckOS_AllocateNonPagedMemory+0x11c/0x314)
[ 9.194237] [] (gckOS_AllocateNonPagedMemory) 来自 [ ] (gckGALDEVICE_Construct+0x2ac/0x9a4)
[ 9.204259 ] [] (gckGALDEVICE_Construct) 来自 [] (gpu_probe+0x6a4/0x920)
[ 9.212630] [] (gpu_probe) 来自 [] (platform_drv_probe+0x48/0x9c)
[ 9. 220478] [ ] (platform_drv_probe) 来自 [] (really_probe+0xec/0x490)
[ 9.228673] [] (really_probe) 来自 [] (driver_probe_device+0x58/0xb4)
[ 9.236864] [< c082d144 >] (driver_probe_device) 来自 [] (device_driver_attach+0xb0/0xb8)
[ 9.245749] [] (device_driver_attach) 来自 [] (__driver_attach+0x7c/0x114)
[ 9.254374] [] (__driver_attach) 来自 [] (bus_for_each_dev+0x74/0xc0) [ 9.262566] [] (bus_for_each_dev) 来自 [] (bus_add_driver
+0xf0/ 0x1d8)
[ 9.270758 ] [] (bus_add_driver) 来自 [] (driver_register+0x88/0x118)
[ 9.278865] [] (driver_register) 来自 [] (gpu_init+0x48/0x88)
[ 9.286365] [ ] (gpu_init) 来自 [] (do_one_initcall+0x84/0x444)
[ 9.293958] [] (do_one_initcall) 来自 [] (kernel_init_freeable+0x1a4/0x234) [ 9.30第2677
章>] (kernel_init_freeable) 来自 [] (kernel_init+0x8/0x118)
[ 9.310870] [] (kernel_init) 来自 [] (ret_from_fork+0x14/0x20)
[ 9.318444] Exception stack(0xc20fdfb0 to 0xc20fdff8)
[ 9.323504] dfa0: 00000000 00000000 00000000 00000000
[ 9.331692] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 9.339877] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 9.346504] Code: e5933010 e7923103 e793700c 0a00000b (e5973030)
[ 9.352633] --- [结束跟踪 bb14f37683439042 ]---
[ 9.357261] 内核恐慌 - 不同步:中断中的致命异常
[ 9.363641] --- [ 结束内核恐慌 - 不同步:中断中的致命异常]---