I have been I was working to add my own lcd before than lcd support was turned off. here logs just before kernel panic starts. I reverted back all my changes in all repo to previous working commit rebuilt image again but still no effects.
I just want to know what this error is saying. so I can find and remove this pesky bug in some configuration.
[ 2.039683@3] asoc-aml-card auge_sound: control 2:0:0:I2SIn CLK:0 is already present
[ 2.046148@3] snd_tdm ff660000.audiobus:tdm@2: ASoC: Failed to add I2SIn CLK: -16
[ 2.053590@3] aml_dai_tdm_probe, failed add snd tdm controls
[ 2.087322@3] rtc-hym8563 4-0051: hctosys: unable to read the hardware clock
[ 2.204534@3] bl error: failed to get bl_power_attr
[ 2.204881@3] Unable to handle kernel NULL pointer dereference at virtual address 00000038
[ 2.212025@3] [0000000000000038] user address but active_mm is swapper
[ 2.218525@3] Internal error: Oops: 96000005 [#1] PREEMPT SMP
[ 2.224225@3] Modules linked in:
[ 2.227431@3] CPU: 3 PID: 1 Comm: swapper/0 Not tainted 4.9.241 #266
[ 2.233755@3] Hardware name: Khadas VIM3L (DT)
[ 2.238176@3] task: ffffffc050940000 task.stack: ffffff8020000000
[ 2.244249@3] PC is at aml_bl_probe+0x3c8/0x1b30
[ 2.248837@3] LR is at aml_bl_probe+0x3c8/0x1b30
[ 2.253429@3] pc : [<ffffff80099d67f8>] lr : [<ffffff80099d67f8>] pstate: 60c00049
here is full kernel boot log in case above dosn’t point issue
Starting kernel ...
uboot time: 6269773 us
[ 0.000000@0] sm1 clk probe ok
[ 0.284541@0] codec_mm_module_init
[ 0.545950@0] dmi: Firmware registration failed.
[ 0.647059@0] meson-g12a-pinctrl pinctrl@ff634480: request() failed for pin 73
[ 0.647077@0] meson-g12a-pinctrl pinctrl@ff634480: pin-73 (periphs-banks:483) status -22
[ 1.069693@0] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.070342@0] spi_gpio ffd15000.spi: cs1 >= max 1
[ 1.070358@0] spi_master spi1: spi_device register error /soc/cbus@ffd00000/spi@15000/spidev@1
[ 1.104629@0] meson_cpufreq_init:don't find the node <dynamic_gp1_clk>
[ 1.107893@0] ff803000.serial: clock gate not found
[ 1.177071@0] fb: failed to init reserved memory
[ 1.194539@0] meson-fb fb: create ion_client ffffffc073912240, handle=ffffffc0738ecb00
[ 1.194544@0] meson-fb fb: ion memory(0): created fb at 0x000000006b400000, size 75 MiB
[ 1.277816@0] di_get_vpu_clkb: get clk vpu error.
[ 1.278780@0] get fclk_div5 err
[ 1.280029@0] vdin_drv_probe: vdin cannot get msr clk !!!
[ 1.285745@0] get fclk_div5 err
[ 1.288542@0] vdin_drv_probe: vdin cannot get msr clk !!!
[ 1.296395@0] amlvideo2 probe called
[ 1.297615@0] amlvideo2 probe called
[ 1.301502@0] Reserved memory: failed to init DMA memory pool at 0x0000000075800000, size 0 MiB
[ 1.314560@0] meson-mmc: >>>>>>>>hostbase ffffff800883e000, dmode
[ 1.368560@0] meson-mmc: >>>>>>>>hostbase ffffff8008888000, dmode
[ 1.410112@0] meson-mmc: >>>>>>>>hostbase ffffff8008891000, dmode
[ 1.449503@0] cectx ff80023c.aocec: cec driver date:2019/6/13:early suspend not report pw status
[ 1.449503@0]
[ 1.454522@0] cectx ff80023c.aocec: compatible:amlogic, aocec-sm1
[ 1.460493@0] cectx ff80023c.aocec: cecb_ver:0x2
[ 1.465028@0] cectx ff80023c.aocec: line_reg:0x1
[ 1.469568@0] cectx ff80023c.aocec: line_bit:0x3
[ 1.474145@0] cectx ff80023c.aocec: ee_to_ao:0x1
[ 1.478996@0] cectx ff80023c.aocec: not find 'port_num'
[ 1.483973@0] cectx ff80023c.aocec: using cec:1
[ 1.488585@0] cectx ff80023c.aocec: no hdmirx regs
[ 1.493277@0] cectx ff80023c.aocec: no hhi regs
[ 1.497824@0] cectx ff80023c.aocec: not find 'output'
[ 1.504430@0] cectx ff80023c.aocec: irq cnt:2
[ 1.507439@0] cectx ff80023c.aocec: wakeup_reason:0x0
[ 1.512221@0] cectx ff80023c.aocec: cev val1: 0x0;val2: 0x0
[ 1.517661@0] cectx ff80023c.aocec: aml_cec_probe success end
[ 1.532580@0] meson-mmc: Tuning transfer error: nmatch=0 tuning_err:0xffffffac
[ 1.538874@0] meson-mmc: Tuning transfer error: nmatch=0 tuning_err:0xffffffac
[ 1.546375@0] meson-mmc: Tuning transfer error: nmatch=0 tuning_err:0xffffffac
[ 1.553419@0] meson-mmc: Tuning transfer error: nmatch=0 tuning_err:0xffffffac
[ 1.555830@0] meson-mmc: Tuning transfer error: nmatch=0 tuning_err:0xffffffac
[ 1.612056@0] meson-mmc: card IN
[ 1.989039@3] defendkey ff630218.defendkey: Reserved memory is not enough!
[ 2.003472@3] EARC ff660000.audiobus:earc: Check whether support eARC TX
[ 2.004557@3] EARC ff660000.audiobus:earc: Check whether support eARC TX
[ 2.011237@3] EARC ff660000.audiobus:earc: Check whether support eARC TX
[ 2.017899@3] EARC ff660000.audiobus:earc: Check whether support eARC TX
[ 2.024596@3] EARC ff660000.audiobus:earc: platform get irq tx_cmdc failed, Check whether support eARC TX
[ 2.034094@3] EARC ff660000.audiobus:earc: platform get irq tx_dmac failed, Check whether support eARC TX
[ 2.044914@3] asoc-aml-card auge_sound: control 2:0:0:I2SIn CLK:0 is already present
[ 2.051348@3] snd_tdm ff660000.audiobus:tdm@2: ASoC: Failed to add I2SIn CLK: -16
[ 2.058801@3] aml_dai_tdm_probe, failed add snd tdm controls
[ 2.092398@3] rtc-hym8563 4-0051: hctosys: unable to read the hardware clock
[ 2.210138@3] bl error: failed to get bl_power_attr
[ 2.210486@3] Unable to handle kernel NULL pointer dereference at virtual address 00000038
[ 2.217629@3] [0000000000000038] user address but active_mm is swapper
[ 2.224125@3] Internal error: Oops: 96000005 [#1] PREEMPT SMP
[ 2.229826@3] Modules linked in:
[ 2.233033@3] CPU: 3 PID: 1 Comm: swapper/0 Not tainted 4.9.241 #266
[ 2.239357@3] Hardware name: Khadas VIM3L (DT)
[ 2.243777@3] task: ffffffc050940000 task.stack: ffffff8020000000
[ 2.249850@3] PC is at aml_bl_probe+0x3c8/0x1b30
[ 2.254438@3] LR is at aml_bl_probe+0x3c8/0x1b30
[ 2.259031@3] pc : [<ffffff80099d67f8>] lr : [<ffffff80099d67f8>] pstate: 60c00049
[ 2.266570@3] sp : ffffff8020003b60
[ 2.270036@3] x29: ffffff8020003b60 x28: ffffff800a53dcf8
[ 2.275496@3] x27: ffffffc074fd4ff0 x26: ffffff800a32f000
[ 2.280956@3] x25: ffffffc0502c1880 x24: ffffff800a450480
[ 2.286416@3] x23: 0000000000000001 x22: ffffff800ac752c8
[ 2.291876@3] x21: ffffff800ac75000 x20: ffffff800aabe898
[ 2.297336@3] x19: ffffff800aabe898 x18: 0000000000000000
[ 2.302796@3] x17: 0000000000000000 x16: 0000000000001400
[ 2.308256@3] x15: ffffffffffffffff x14: ffffffc073a8e91c
[ 2.313716@3] x13: ffffffc073a8e158 x12: 0000000000000028
[ 2.319176@3] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f
[ 2.324636@3] x9 : fefeff736d68716f x8 : ffffffffffffffff
[ 2.330096@3] x7 : fefefefefefefefe x6 : 0000000000808080
[ 2.335556@3] x5 : 0000000000000000 x4 : ffffffffffffffff
[ 2.341016@3] x3 : ffffffc0501dc3c4 x2 : 0000000000000000
[ 2.346476@3] x1 : 0000000000000000 x0 : 0000000000000000
[ 2.351938@3]
[ 2.351938@3] X3: 0xffffffc0501dc344:
[ 2.357223@3] c344 00000000 00000001 00000000 738b5f78 ffffffc0 0a32c480 ffffff80 501dc270
[ 2.365543@3] c364 ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000 3b65ec19
[ 2.373863@3] c384 00000000 09ec7eb0 ffffff80 00000000 00000000 00001000 00000000 00000000
[ 2.382183@3] c3a4 00000000 0aabe858 ffffff80 81240052 0000597b 00000000 00000000 00000001
[ 2.390503@3] c3c4 00000000 738b5f78 ffffffc0 0a3322e8 ffffff80 501dc108 ffffffc0 00000000
[ 2.398823@3] c3e4 00000000 00000000 00000000 00000000 00000000 16dbf42f 00000000 09ec7eb0
[ 2.407143@3] c404 ffffff80 00000000 00000000 00001000 00000000 00000000 00000000 0aabe878
[ 2.415463@3] c424 ffffff80 81a40052 0000597c 00000000 00000000 501dc4b0 ffffffc0 00000000
[ 2.423785@3]
[ 2.423785@3] X13: 0xffffffc073a8e0d8:
[ 2.429156@3] e0d8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.437476@3] e0f8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.445796@3] e118 00000006 49544341 613d4e4f 44006464 41505645 2f3d4854 73616c63 6d612f73
[ 2.454116@3] e138 6c625f6c 42555300 54535953 633d4d45 7373616c 51455300 3d4d554e 30363132
[ 2.462436@3] e158 4d4f4800 002f3d45 48544150 62732f3d 2f3a6e69 3a6e6962 7273752f 6962732f
[ 2.470756@3] e178 752f3a6e 622f7273 63006e69 7373616c 00000000 00000000 00000000 00000000
[ 2.479076@3] e198 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.487396@3] e1b8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.495717@3]
[ 2.495717@3] X14: 0xffffffc073a8e89c:
[ 2.501089@3] e89c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.509409@3] e8bc 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.517729@3] e8dc 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.526049@3] e8fc 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.534369@3] e91c 0000006d 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.542689@3] e93c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.551009@3] e95c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.559329@3] e97c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.567652@3]
[ 2.567652@3] X25: 0xffffffc0502c1800:
[ 2.573023@3] 1800 502c1780 ffffffc0 502c1808 ffffffc0 502c1808 ffffffc0 090c1278 ffffff80
[ 2.581343@3] 1820 00000000 00000000 0aa2ad10 ffffff80 73a8f000 ffffffc0 73a8f018 ffffffc0
[ 2.589663@3] 1840 00000000 fffffffe 00000000 00000000 094b3b20 ffffff80 73a8f000 ffffffc0
[ 2.597983@3] 1860 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.606303@3] 1880 00000000 00000000 00000000 00000006 00007558 00000000 00000000 00000000
[ 2.614623@3] 18a0 4fd1f100 ffffffc0 4fd1d018 ffffffc0 00000001 00000006 000000ff 0000000a
[ 2.622943@3] 18c0 000000b4 00000019 00000064 00000019 0054c563 00000000 0054c563 00153158
[ 2.631263@3] 18e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.639584@3]
[ 2.639584@3] X27: 0xffffffc074fd4f70:
[ 2.644956@3] 4f70 00000000 00000000 0a26cf80 ffffff80 0000000c 00000000 74fd4fe0 ffffffc0
[ 2.653276@3] 4f90 00000000 00000000 00000000 00000000 00000000 00000000 50aeef00 ffffffc0
[ 2.661596@3] 4fb0 00000124 00000000 0000000c 00000000 00000000 00000000 0988baa8 ffffff80
[ 2.669916@3] 4fd0 00000000 00000000 00000000 00000000 6b636162 6867696c 00305f74 00000000
[ 2.678236@3] 4ff0 74fd5178 ffffffc0 0a2e18e0 ffffff80 0000004f 00000000 74fd5098 ffffffc0
[ 2.686556@3] 5010 00000001 00000000 00000000 00000000 74fd50a8 ffffffc0 00000000 00000000
[ 2.694876@3] 5030 74f8f720 ffffffc0 74fd5188 ffffffc0 74fd5398 ffffffc0 50aeefc0 ffffffc0
[ 2.703196@3] 5050 74fd51e8 ffffffc0 74fd4b08 ffffffc0 74f8f778 ffffffc0 50a58500 ffffffc0
[ 2.711517@3]
[ 2.713164@3] Process swapper/0 (pid: 1, stack limit = 0xffffff8020000000)
[ 2.720011@3] Stack: (0xffffff8020003b60 to 0xffffff8020004000)
[ 2.725906@3] 3b60: ffffff8020003c40 ffffff80095cc018 00000000fffffffe ffffffc05019f810
[ 2.733878@3] 3b80: ffffff800aabe4e8 ffffff800aabe510 000000000000000c ffffff800a450480
[ 2.741851@3] 3ba0: ffffff800ab66000 ffffff800a4c7370 0000000000000008 ffffff800a53dcf8
[ 2.749825@3] 3bc0: ffffffc05011a0f0 ffffff8009e8b0ec 0000000000000000 ffffff8000000000
[ 2.757798@3] 3be0: ffffff8020003c18 ffffffc05019f810 0000000000000000 ffffffbe00000006
[ 2.765771@3] 3c00: 000000000000000c 00305f746867696c ffffff8020003c40 000000ff00000064
[ 2.773744@3] 3c20: 0000000000000000 0000000000000001 0000000000000000 0000000000000000
[ 2.781718@3] 3c40: ffffff8020003c70 ffffff80095c9e9c ffffffc05019f810 ffffff800ac46000
[ 2.789691@3] 3c60: 0000000000000000 ffffff800aabe510 ffffff8020003cb0 ffffff80095ca018
[ 2.797665@3] 3c80: ffffffc05019f810 ffffff800aabe510 ffffffc05019f870 0000000000000000
[ 2.805638@3] 3ca0: ffffff800aa39000 ffffff80095c7b10 ffffff8020003ce0 ffffff80095c7b04
[ 2.813611@3] 3cc0: 0000000000000000 ffffff800aabe510 ffffff80095c9f50 ffffff800a450480
[ 2.821585@3] 3ce0: ffffff8020003d20 ffffff80095c95c0 ffffff800aabe510 ffffffc0739baf00
[ 2.829558@3] 3d00: ffffff800aa39fa0 0000000000000000 ffffffc050a6f2a8 ffffffc050198de8
[ 2.837531@3] 3d20: ffffff8020003d40 ffffff80095c9154 ffffff800aabe510 ffffffc0739baf00
[ 2.845505@3] 3d40: ffffff8020003d80 ffffff80095cab24 ffffff800aabe510 0000000000000000
[ 2.853478@3] 3d60: ffffffc050940000 ffffff800a4c7378 ffffff800a434a50 0000000000000000
[ 2.861451@3] 3d80: ffffff8020003da0 ffffff80095cbf54 ffffff800aabe4e8 0000000000000000
[ 2.869425@3] 3da0: ffffff8020003dc0 ffffff800a49dcb4 ffffff800a49dc9c 0000000000000000
[ 2.877398@3] 3dc0: ffffff8020003dd0 ffffff8009083d44 ffffff8020003e40 ffffff800a450d28
[ 2.885371@3] 3de0: 0000000000000467 ffffff800ab66000 0000000000000007 ffffff800a4c7370
[ 2.893345@3] 3e00: 0000000000000000 ffffff800a53db98 ffffff800a9cb620 0000000000000000
[ 2.901318@3] 3e20: 0000000700000007 ffffff800a2251d0 0000000000000000 ffffff800a21bc60
[ 2.909291@3] 3e40: ffffff8020003ea0 ffffff8009e86f10 ffffff8009e86ef8 0000000000000000
[ 2.917264@3] 3e60: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 2.925238@3] 3e80: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 2.933211@3] 3ea0: 0000000000000000 ffffff8009083ad0 ffffff8009e86ef8 0000000000000000
[ 2.941184@3] 3ec0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 2.949158@3] 3ee0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 2.957131@3] 3f00: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 2.965104@3] 3f20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 2.973078@3] 3f40: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 2.981051@3] 3f60: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 2.989024@3] 3f80: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 2.996998@3] 3fa0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 3.004971@3] 3fc0: 0000000000000000 0000000000000005 0000000000000000 0000000000000000
[ 3.012944@3] 3fe0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 3.020917@3] Call trace:
[ 3.023517@3] Exception stack(0xffffff8020003a10 to 0xffffff8020003b40)
[ 3.030104@3] 3a00: ffffff800aabe898 0000007fffffffff
[ 3.038078@3] 3a20: ffffffc074f80b10 ffffff80099d67f8 0000000000000000 0000000000000000
[ 3.046051@3] 3a40: 0000000000000000 ffffffc0501dc3c4 ffffffffffffffff 0000000000000000
[ 3.054025@3] 3a60: 0000000000808080 fefefefefefefefe ffffffffffffffff fefeff736d68716f
[ 3.061998@3] 3a80: 7f7f7f7f7f7f7f7f 0101010101010101 0000000000000028 ffffffc073a8e158
[ 3.069971@3] 3aa0: ffffffc073a8e91c ffffffffffffffff 0000000000001400 0000000000000000
[ 3.077945@3] 3ac0: 0000000000000000 ffffff800aabe898 ffffff800aabe898 ffffff800ac75000
[ 3.085918@3] 3ae0: ffffff800ac752c8 0000000000000001 ffffff800a450480 ffffffc0502c1880
[ 3.093891@3] 3b00: ffffff800a32f000 ffffffc074fd4ff0 ffffff800a53dcf8 ffffff8020003b60
[ 3.101865@3] 3b20: ffffff80099d67f8 ffffff8020003b60 ffffff80099d67f8 0000000060c00049
[ 3.109841@3] [ffffff8020003b60+ 224][<ffffff80099d67f8>] aml_bl_probe+0x3c8/0x1b30
[ 3.117468@3] [ffffff8020003c40+ 48][<ffffff80095cc018>] platform_drv_probe+0x60/0xc0
[ 3.125352@3] [ffffff8020003c70+ 64][<ffffff80095c9e9c>] driver_probe_device+0x214/0x2c8
[ 3.133498@3] [ffffff8020003cb0+ 48][<ffffff80095ca018>] __driver_attach+0xc8/0xd0
[ 3.141126@3] [ffffff8020003ce0+ 64][<ffffff80095c7b04>] bus_for_each_dev+0x5c/0xa8
[ 3.148838@3] [ffffff8020003d20+ 32][<ffffff80095c95c0>] driver_attach+0x30/0x40
[ 3.156291@3] [ffffff8020003d40+ 64][<ffffff80095c9154>] bus_add_driver+0x1c4/0x230
[ 3.164005@3] [ffffff8020003d80+ 32][<ffffff80095cab24>] driver_register+0x6c/0x110
[ 3.171718@3] [ffffff8020003da0+ 32][<ffffff80095cbf54>] __platform_driver_register+0x54/0x60
[ 3.180300@3] [ffffff8020003dc0+ 16][<ffffff800a49dcb4>] aml_bl_init+0x18/0x34
[ 3.187580@3] [ffffff8020003dd0+ 112][<ffffff8009083d44>] do_one_initcall+0x44/0x138
[ 3.195293@3] [ffffff8020003e40+ 96][<ffffff800a450d28>] kernel_init_freeable+0x1a4/0x248
[ 3.203527@3] [ffffff8020003ea0+ 0][<ffffff8009e86f10>] kernel_init+0x18/0x108
[ 3.210891@3] [0000000000000000+ 0][<ffffff8009083ad0>] ret_from_fork+0x10/0x40
[ 3.218346@3] Code: eb14027f 54ffff21 f9401fb8 97ff6f2f (f9401c00)
[ 3.224587@3] ---[ end trace 97c2806baac3f752 ]---
[ 3.235363@3] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[ 3.235363@3]
[ 3.239190@3] SMP: stopping secondary CPUs
[ 3.243264@3] Kernel Offset: disabled
[ 3.246900@3] Memory Limit: none
[ 3.255653@3] Rebooting in 5 seconds..
[ 8.255868@3] reboot reason 12