Kernel panic on A20 5.10.60 image A20-OLinuXino-focal-base-20210821-133514

Started by pac, September 27, 2021, 04:40:40 PM

Previous topic - Next topic

pac

Hello,
I get kernel panic on the image in object.
Below the stack trace.


<--- cut here ---
[ 2585.102570] Unable to handle kernel paging request at virtual address 40f0189c
[ 2585.109783] pgd = 31e72d13
[ 2585.112488] [40f0189c] *pgd=00000000
[ 2585.116067] Internal error: Oops: 80000005 [#5] SMP ARM
[ 2585.121286] Modules linked in: rfkill axp20x_battery axp20x_ac_power axp20x_adc at24 industrialio panel_olimex_lcd_olinuxino lima gpu_sched evdev pwm_sun4i sun4i_ss sun4i_drm_hdmi libdes sunxi_cedrus(C) v4l2_mem2mem videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc uio_pdrv_genirq uio cpufreq_dt sch_fq_codel sun4i_ts hwmon usb_f_acm u_serial g_serial libcomposite ip_tables x_tables pinctrl_axp209 sun4i_lradc_keys spidev pwm_bl smsc
[ 2585.162370] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D  C        5.10.60-olimex #123632
[ 2585.170795] Hardware name: Allwinner sun7i (A20) Family
[ 2585.176016] PC is at 0x40f0189c
[ 2585.179159] LR is at irq_work_queue+0x14/0x2c
[ 2585.183513] pc : [<40f0189c>]    lr : [<c022ccc0>]    psr: 000e0193
[ 2585.189772] sp : c0f01870  ip : 00000000  fp : c0f0189c
[ 2585.194992] r10: c0f08f00  r9 : 600e0193  r8 : c0f04fc8
[ 2585.200212] r7 : 00083126  r6 : c0cf4450  r5 : c0f05020  r4 : 00000000
[ 2585.206733] r3 : ab97ccb3  r2 : ab97ccb3  r1 : 00000027  r0 : 00000022
[ 2585.213254] Flags: nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment none
[ 2585.220469] Control: 10c5387d  Table: 538dc06a  DAC: 00000051
[ 2585.226210] Process swapper/0 (pid: 0, stack limit = 0xe61148e5)
[ 2585.232211] Stack: (0xc0f01870 to 0xc0f02000)
[ 2585.236568] 1860:                                     00000002 ab97ccb3 c0f0189c c102f5d0
[ 2585.244740] 1880: 00000000 c0c56098 ffffe000 bf000000 c0f018bc c0f018a0 c0a70578 c010f478
[ 2585.252913] 18a0: c0f018c4 ab97ccb3 c0f018e4 ffffe000 c0f018f4 c0f018d0 c012a2e4 c0a70458
[ 2585.261086] 18c0: c0c56098 00000027 00000000 c0f00000 600e0193 c0f08f00 c0f018f4 ab97ccb3
[ 2585.269258] 18e0: c0123e4c c0f00000 c0f01934 c0f018f8 c010c750 c0129790 c0f00210 0000000b
[ 2585.277430] 1900: c0c51b74 ffffe000 ab97ccb3 40f01a6c c0f019f0 80000005 00000000 c0f019f0
[ 2585.285601] 1920: c0f00000 c0f08f00 c0f0194c c0f01938 c01145f4 c010c400 c0f019f0 80000005
[ 2585.293774] 1940: c0f01994 c0f01950 c01148d4 c0114578 c0f01974 c0f01960 c022ccc0 c022cbd0
[ 2585.301947] 1960: c1032660 c0f05078 c0f01984 80000005 00000005 c0114968 40f01a6c c0f019f0
[ 2585.310120] 1980: c0f00000 c0f08f00 c0f019b4 c0f01998 c0114a24 c0114610 c0f0af30 00000005
[ 2585.318292] 19a0: c0114968 40f01a6c c0f019ec c0f019b8 c0114b3c c0114974 c0f019dc c0f019c8
[ 2585.326456] 19c0: c0189ba0 c01899a8 c0f01a34 40f01a6c 000e0193 ffffffff c0f01a24 c0f04fc8
[ 2585.334628] 19e0: c0f01a6c c0f019f0 c0100c44 c0114b00 00000022 00000027 ab97ccb3 ab97ccb3
[ 2585.342792] 1a00: 00000000 c0f05020 c0cf4450 00083126 c0f04fc8 600e0193 c0f08f00 c0f01a6c
[ 2585.350965] 1a20: 00000000 c0f01a40 c022ccc0 40f01a6c 000e0193 ffffffff 00000051 bf000000
[ 2585.359136] 1a40: 00000002 ab97ccb3 c0f01a6c c102f5d0 00000000 c0c56098 ffffe000 bf000000
[ 2585.367309] 1a60: c0f01a8c c0f01a70 c0a70578 c010f478 c0f01a94 ab97ccb3 c0f01ab4 ffffe000
[ 2585.375481] 1a80: c0f01ac4 c0f01aa0 c012a2e4 c0a70458 c0c56098 00000027 00000000 c0f00000
[ 2585.383653] 1aa0: 600e0193 c0f08f00 c0f01ac4 ab97ccb3 c0123e4c c0f00000 c0f01b04 c0f01ac8
[ 2585.391825] 1ac0: c010c750 c0129790 c0f00210 0000000b c0c51b74 ffffe000 ab97ccb3 40f01c3c
[ 2585.399997] 1ae0: c0f01bc0 80000005 00000000 c0f01bc0 c0f00000 c0f08f00 c0f01b1c c0f01b08
[ 2585.408170] 1b00: c01145f4 c010c400 c0f01bc0 80000005 c0f01b64 c0f01b20 c01148d4 c0114578
[ 2585.416342] 1b20: c0f01b44 c0f01b30 c022ccc0 c022cbd0 c1032660 c0f05078 c0f01b54 80000005
[ 2585.424514] 1b40: 00000005 c0114968 40f01c3c c0f01bc0 c0f00000 c0f08f00 c0f01b84 c0f01b68
[ 2585.432685] 1b60: c0114a24 c0114610 c0f0af30 00000005 c0114968 40f01c3c c0f01bbc c0f01b88
[ 2585.440858] 1b80: c0114b3c c0114974 c0f01bac c0f01b98 c0189ba0 c01899a8 c0f01c04 40f01c3c
[ 2585.449022] 1ba0: 000e0193 ffffffff c0f01bf4 c0f04fc8 c0f01c3c c0f01bc0 c0100c44 c0114b00
[ 2585.457194] 1bc0: 00000022 00000027 ab97ccb3 ab97ccb3 00000000 c0f05020 c0cf4450 00083126
[ 2585.465368] 1be0: c0f04fc8 600e0193 c0f08f00 c0f01c3c 00000000 c0f01c10 c022ccc0 40f01c3c
[ 2585.473540] 1c00: 000e0193 ffffffff 00000051 bf000000 00000002 ab97ccb3 c0f01c3c c102f5d0
[ 2585.481704] 1c20: 00000000 c0c56098 ffffe000 bf000000 c0f01c5c c0f01c40 c0a70578 c010f478
[ 2585.489876] 1c40: c0f01c64 ab97ccb3 c0f01c84 ffffe000 c0f01c94 c0f01c70 c012a2e4 c0a70458
[ 2585.498048] 1c60: c0c56098 00000027 00000000 c0f00000 600e0193 c0f08f00 c0f01c94 ab97ccb3
[ 2585.506212] 1c80: c0123e4c c0f00000 c0f01cd4 c0f01c98 c010c750 c0129790 c0f00210 0000000b
[ 2585.514384] 1ca0: c0c51b74 ffffe000 ab97ccb3 40f01e0c c0f01d90 80000005 00000000 c0f01d90
[ 2585.522555] 1cc0: c0f00000 c0f08f00 c0f01cec c0f01cd8 c01145f4 c010c400 c0f01d90 80000005
[ 2585.530727] 1ce0: c0f01d34 c0f01cf0 c01148d4 c0114578 c0f01d14 c0f01d00 c022ccc0 c022cbd0
[ 2585.538898] 1d00: c1032660 c0f05078 c0f01d24 80000005 00000005 c0114968 40f01e0c c0f01d90
[ 2585.547071] 1d20: c0f00000 c0f08f00 c0f01d54 c0f01d38 c0114a24 c0114610 c0f0af30 00000005
[ 2585.555244] 1d40: c0114968 40f01e0c c0f01d8c c0f01d58 c0114b3c c0114974 c0f01d7c c0f01d68
[ 2585.563417] 1d60: c0189ba0 c01899a8 c0f01dd4 40f01e0c 000e0193 ffffffff c0f01dc4 c0f04fc8
[ 2585.571590] 1d80: c0f01e0c c0f01d90 c0100c44 c0114b00 00000022 00000027 ab97ccb3 ab97ccb3
[ 2585.579762] 1da0: 00000000 c0f05020 c0cf4450 00083126 c0f04fc8 600e0193 c0f08f00 c0f01e0c
[ 2585.587934] 1dc0: 00000000 c0f01de0 c022ccc0 40f01e0c 000e0193 ffffffff 00000051 00000000
[ 2585.596106] 1de0: 00000002 ab97ccb3 c0f01e0c c102f5d0 00000000 c0c56098 ffffe000 00000000
[ 2585.604280] 1e00: c0f01e2c c0f01e10 c0a70578 c010f478 c0f01e34 ab97ccb3 c0f01e54 ffffe000
[ 2585.612453] 1e20: c0f01e64 c0f01e40 c012a2e4 c0a70458 c0c56098 00000027 00000000 c0f00000
[ 2585.620617] 1e40: 600e0193 c0f08f00 c0f01e64 ab97ccb3 c0123e4c c0f00000 c0f01ea4 c0f01e68
[ 2585.628790] 1e60: c010c750 c0129790 c0f00210 0000000b c0a70fa8 ffffe000 c0f01e9c c0f01eb8
[ 2585.636962] 1e80: 01bab038 600e0192 ffffffff 00000000 00000000 c0e9b9f0 c0f01eb4 c0f01ea8
[ 2585.645134] 1ea0: c0a70170 c010c400 00000000 c0f01eb8 c01089a8 c0a70120 00000000 00530e10
[ 2585.653306] 1ec0: dfb0e184 c011c7e0 ffffe000 c0f05014 c0f0505c 00000001 00000000 00000000
[ 2585.661479] 1ee0: c0e9b9f0 c0f01f0c c0f01f10 c0f01eb8 c01089a8 01bab038 600e0192 ffffffff
[ 2585.669651] 1f00: c0f01f1c c0f01f10 c0a7fe68 c0108970 c0f01f6c c0f01f20 c015c358 c0a7fe34
[ 2585.677823] 1f20: dfb0d900 00000000 c0c586f4 c1021992 c0f05074 c0f04fc8 00000001 ab97ccb3
[ 2585.685996] 1f40: 00000000 000000d9 c0f04fc8 00000001 c0e54a58 00000000 c0e54a58 dffffdc0
[ 2585.694169] 1f60: c0f01f7c c0f01f70 c015c6d4 c015c13c c0f01f94 c0f01f80 c0a79328 c015c6b8
[ 2585.702342] 1f80: c102f068 c0f04fc8 c0f01fa4 c0f01f98 c0e00aa0 c0a79278 c0f01ff4 c0f01fa8
[ 2585.710514] 1fa0: c0e0103c c0e00a94 ffffffff ffffffff 00000000 c0e00654 00000000 c0e54a58
[ 2585.718685] 1fc0: ab92c68f 00000000 00000000 c0e00330 00000051 10c0387d 100010bb 49421000
[ 2585.726856] 1fe0: 410fc074 10c5387d 00000000 c0f01ff8 00000000 c0e00b28 00000000 00000000
[ 2585.735022] Backtrace:
[ 2585.737480] [<c010f46c>] (smp_send_stop) from [<c0a70578>] (panic+0x130/0x320)
[ 2585.744699]  r8:bf000000 r7:ffffe000 r6:c0c56098 r5:00000000 r4:c102f5d0
[ 2585.751396] [<c0a70448>] (panic) from [<c012a2e4>] (do_exit+0xb60/0xb6c)
[ 2585.758093]  r3:c0f00000 r2:00000000 r1:00000027 r0:c0c56098
[ 2585.763747]  r7:ffffe000
[ 2585.766284] [<c0129784>] (do_exit) from [<c010c750>] (die+0x35c/0x368)
[ 2585.772804]  r7:c0f00000
[ 2585.775343] [<c010c3f4>] (die) from [<c01145f4>] (__do_kernel_fault.part.0+0x88/0x98)
[ 2585.783169]  r10:c0f08f00 r9:c0f00000 r8:c0f019f0 r7:00000000 r6:80000005 r5:c0f019f0
[ 2585.790980]  r4:40f01a6c
[ 2585.793517] [<c011456c>] (__do_kernel_fault.part.0) from [<c01148d4>] (do_bad_area+0x0/0x74)
[ 2585.801946]  r7:80000005 r4:c0f019f0
[ 2585.805524] [<c0114604>] (do_page_fault) from [<c0114a24>] (do_translation_fault+0xbc/0xc0)
[ 2585.813870]  r10:c0f08f00 r9:c0f00000 r8:c0f019f0 r7:40f01a6c r6:c0114968 r5:00000005
[ 2585.821682]  r4:80000005
[ 2585.824220] [<c0114968>] (do_translation_fault) from [<c0114b3c>] (do_PrefetchAbort+0x48/0x9c)
[ 2585.832825]  r7:40f01a6c r6:c0114968 r5:00000005 r4:c0f0af30
[ 2585.838484] [<c0114af4>] (do_PrefetchAbort) from [<c0100c44>] (__pabt_svc+0x64/0xa0)
[ 2585.846218] Exception stack(0xc0f019f0 to 0xc0f01a38)
[ 2585.851267] 19e0:                                     00000022 00000027 ab97ccb3 ab97ccb3
[ 2585.859439] 1a00: 00000000 c0f05020 c0cf4450 00083126 c0f04fc8 600e0193 c0f08f00 c0f01a6c
[ 2585.867611] 1a20: 00000000 c0f01a40 c022ccc0 40f01a6c 000e0193 ffffffff
[ 2585.874222]  r8:c0f04fc8 r7:c0f01a24 r6:ffffffff r5:000e0193 r4:40f01a6c
[ 2585.880922] [<c010f46c>] (smp_send_stop) from [<c0a70578>] (panic+0x130/0x320)
[ 2585.888140]  r8:bf000000 r7:ffffe000 r6:c0c56098 r5:00000000 r4:c102f5d0
[ 2585.894839] [<c0a70448>] (panic) from [<c012a2e4>] (do_exit+0xb60/0xb6c)
[ 2585.901536]  r3:c0f00000 r2:00000000 r1:00000027 r0:c0c56098
[ 2585.907189]  r7:ffffe000
[ 2585.909727] [<c0129784>] (do_exit) from [<c010c750>] (die+0x35c/0x368)
[ 2585.916248]  r7:c0f00000
[ 2585.918786] [<c010c3f4>] (die) from [<c01145f4>] (__do_kernel_fault.part.0+0x88/0x98)
[ 2585.926612]  r10:c0f08f00 r9:c0f00000 r8:c0f01bc0 r7:00000000 r6:80000005 r5:c0f01bc0
[ 2585.934432]  r4:40f01c3c
[ 2585.936970] [<c011456c>] (__do_kernel_fault.part.0) from [<c01148d4>] (do_bad_area+0x0/0x74)
[ 2585.945399]  r7:80000005 r4:c0f01bc0
[ 2585.948978] [<c0114604>] (do_page_fault) from [<c0114a24>] (do_translation_fault+0xbc/0xc0)
[ 2585.957324]  r10:c0f08f00 r9:c0f00000 r8:c0f01bc0 r7:40f01c3c r6:c0114968 r5:00000005
[ 2585.965144]  r4:80000005
[ 2585.967683] [<c0114968>] (do_translation_fault) from [<c0114b3c>] (do_PrefetchAbort+0x48/0x9c)
[ 2585.976287]  r7:40f01c3c r6:c0114968 r5:00000005 r4:c0f0af30
[ 2585.981946] [<c0114af4>] (do_PrefetchAbort) from [<c0100c44>] (__pabt_svc+0x64/0xa0)
[ 2585.989680] Exception stack(0xc0f01bc0 to 0xc0f01c08)
[ 2585.994732] 1bc0: 00000022 00000027 ab97ccb3 ab97ccb3 00000000 c0f05020 c0cf4450 00083126
[ 2586.002904] 1be0: c0f04fc8 600e0193 c0f08f00 c0f01c3c 00000000 c0f01c10 c022ccc0 40f01c3c
[ 2586.011064] 1c00: 000e0193 ffffffff
[ 2586.014556]  r8:c0f04fc8 r7:c0f01bf4 r6:ffffffff r5:000e0193 r4:40f01c3c
[ 2586.021255] [<c010f46c>] (smp_send_stop) from [<c0a70578>] (panic+0x130/0x320)
[ 2586.028473]  r8:bf000000 r7:ffffe000 r6:c0c56098 r5:00000000 r4:c102f5d0
[ 2586.035172] [<c0a70448>] (panic) from [<c012a2e4>] (do_exit+0xb60/0xb6c)
[ 2586.041861]  r3:c0f00000 r2:00000000 r1:00000027 r0:c0c56098
[ 2586.047515]  r7:ffffe000
[ 2586.050053] [<c0129784>] (do_exit) from [<c010c750>] (die+0x35c/0x368)
[ 2586.056573]  r7:c0f00000
[ 2586.059110] [<c010c3f4>] (die) from [<c01145f4>] (__do_kernel_fault.part.0+0x88/0x98)
[ 2586.066936]  r10:c0f08f00 r9:c0f00000 r8:c0f01d90 r7:00000000 r6:80000005 r5:c0f01d90
[ 2586.074748]  r4:40f01e0c
[ 2586.077286] [<c011456c>] (__do_kernel_fault.part.0) from [<c01148d4>] (do_bad_area+0x0/0x74)
[ 2586.085715]  r7:80000005 r4:c0f01d90
[ 2586.089293] [<c0114604>] (do_page_fault) from [<c0114a24>] (do_translation_fault+0xbc/0xc0)
[ 2586.097639]  r10:c0f08f00 r9:c0f00000 r8:c0f01d90 r7:40f01e0c r6:c0114968 r5:00000005
[ 2586.105458]  r4:80000005
[ 2586.107996] [<c0114968>] (do_translation_fault) from [<c0114b3c>] (do_PrefetchAbort+0x48/0x9c)
[ 2586.116600]  r7:40f01e0c r6:c0114968 r5:00000005 r4:c0f0af30
[ 2586.122259] [<c0114af4>] (do_PrefetchAbort) from [<c0100c44>] (__pabt_svc+0x64/0xa0)
[ 2586.129992] Exception stack(0xc0f01d90 to 0xc0f01dd8)
[ 2586.135042] 1d80:                                     00000022 00000027 ab97ccb3 ab97ccb3
[ 2586.143214] 1da0: 00000000 c0f05020 c0cf4450 00083126 c0f04fc8 600e0193 c0f08f00 c0f01e0c
[ 2586.151386] 1dc0: 00000000 c0f01de0 c022ccc0 40f01e0c 000e0193 ffffffff
[ 2586.157998]  r8:c0f04fc8 r7:c0f01dc4 r6:ffffffff r5:000e0193 r4:40f01e0c
[ 2586.164697] [<c010f46c>] (smp_send_stop) from [<c0a70578>] (panic+0x130/0x320)
[ 2586.171915]  r8:00000000 r7:ffffe000 r6:c0c56098 r5:00000000 r4:c102f5d0
[ 2586.178613] [<c0a70448>] (panic) from [<c012a2e4>] (do_exit+0xb60/0xb6c)
[ 2586.185310]  r3:c0f00000 r2:00000000 r1:00000027 r0:c0c56098
[ 2586.190965]  r7:ffffe000
[ 2586.193503] [<c0129784>] (do_exit) from [<c010c750>] (die+0x35c/0x368)
[ 2586.200023]  r7:c0f00000
[ 2586.202561] [<c010c3f4>] (die) from [<c0a70170>] (bad_mode+0x5c/0x6c)
[ 2586.209000]  r10:c0e9b9f0 r9:00000000 r8:00000000 r7:ffffffff r6:600e0192 r5:01bab038
[ 2586.216819]  r4:c0f01eb8
[ 2586.219358] [<c0a70114>] (bad_mode) from [<c01089a8>] (arch_cpu_idle+0x44/0x4c)
[ 2586.226660] Code: bad PC value
[ 2586.229716] ---[ end trace 3aee73c69336e5c4 ]---


JohnS

What were you doing? On what hardware?

The power supply/wiring would be my suspect.

John

pac

I'm using the Olimex A20 OLinuXino LIME.
The power is ok, older images works.
The problem occurs after about 1 hour of operation

Paolo

JohnS

Sounds like you need to report it to a Linux support place - with exact details of how to reproduce it. Actually, you need those to report it anywhere including here!

John