Kernel Panic during boot on OLinuXino-Lime2

This forum is for supported devices using an ARMv7 Allwinner SoC.

Kernel Panic during boot on OLinuXino-Lime2

Postby jclds139 » Wed Apr 05, 2023 4:28 pm

Since upgrading to anything in the 6.2.x series (granted that's only tested with .8 and .9) I've gotten this kernel panic on every boot with one of my OLinuXino-Lime2s.

$this->bbcode_second_pass_code('', '
[ 7.771824] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[ 7.780806] CPU: 0 PID: 1 Comm: init Not tainted 6.2.9-1-ARCH #1
[ 7.786837] Hardware name: Allwinner sun7i (A20) Family
[ 7.792089] unwind_backtrace from show_stack+0x10/0x14
[ 7.797360] show_stack from dump_stack_lvl+0x40/0x4c
[ 7.802438] dump_stack_lvl from panic+0x114/0x358
[ 7.807249] panic from do_exit+0x94c/0x950
[ 7.811464] do_exit from do_group_exit+0x34/0x84
[ 7.816216] do_group_exit from __wake_up_parent+0x0/0x18
[ 7.821681] CPU1: stopping
[ 7.824416] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.2.9-1-ARCH #1
[ 7.830858] Hardware name: Allwinner sun7i (A20) Family
[ 7.836084] unwind_backtrace from show_stack+0x10/0x14
[ 7.841326] show_stack from dump_stack_lvl+0x40/0x4c
[ 7.846384] dump_stack_lvl from do_handle_IPI+0x120/0x14c
[ 7.851877] do_handle_IPI from ipi_handler+0x18/0x20
[ 7.856936] ipi_handler from handle_percpu_devid_irq+0x90/0x14c
[ 7.862957] handle_percpu_devid_irq from generic_handle_domain_irq+0x28/0x38
[ 7.870101] generic_handle_domain_irq from gic_handle_irq+0x68/0x94
[ 7.876466] gic_handle_irq from generic_handle_arch_irq+0x58/0x78
[ 7.882652] generic_handle_arch_irq from call_with_stack+0x18/0x20
[ 7.888932] call_with_stack from __irq_svc+0x98/0xc8
[ 7.893994] Exception stack(0xf085df48 to 0xf085df90)
[ 7.899049] df40: 00000001 c1766880 00006629 c031a900 00000001 c1c0b058
[ 7.907222] df60: c20a0000 c1c0b0b8 00000000 c1b009b8 00000000 c180f738 c1c04d80 f085df98
[ 7.915392] df80: c03075c8 c03075cc 200f0013 ffffffff
[ 7.920441] __irq_svc from arch_cpu_idle+0x40/0x44
[ 7.925330] arch_cpu_idle from default_idle_call+0x28/0x3c
[ 7.930919] default_idle_call from do_idle+0x214/0x2b0
[ 7.936161] do_idle from cpu_startup_entry+0x18/0x1c
[ 7.941223] cpu_startup_entry from secondary_start_kernel+0x184/0x1fc
[ 7.947759] secondary_start_kernel from 0x403016c0
[ 7.952663] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00 ]---
')

If I use the base and udev instead of systemd initcpio hooks then right as it crashes It'll spit out an error message about some library or another (changes every time) that either can't be read or has an invalid header, but even after checking and reinstalling those libraries the crash persists. I've tried different U-boot versions and creating a fresh install on a new SD card with still no results. Anyone know what might be happening?
jclds139
 
Posts: 11
Joined: Wed Oct 20, 2021 5:04 pm

Re: Kernel Panic during boot on OLinuXino-Lime2

Postby jclds139 » Wed Apr 12, 2023 1:47 am

For the reference of any future netizens who come looking I found the problem, finally: it's F2FS.

I had been using F2FS as root on the SD card for performance reasons. Apparently something changed around the linux 6.2 to again trigger the issues that the Arch wiki warned about (https://wiki.archlinux.org/title/F2FS) and make the data inaccessible. Using a different file system fixed the problem.
jclds139
 
Posts: 11
Joined: Wed Oct 20, 2021 5:04 pm


Return to Allwinner

Who is online

Users browsing this forum: No registered users and 3 guests