Guest Posted May 9, 2019 Share Posted May 9, 2019 every second boot, there is a kernel crash: Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 4.19.20-mvebu64 (root@armbian.com) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #5.75 SMP PREEMPT Fri Feb 8 09:54:18 CET 2019 [ 0.000000] Machine model: Globalscale Marvell ESPRESSOBin Board [ 0.000000] earlycon: ar3700_uart0 at MMIO 0x00000000d0012000 (options '') [ 0.000000] bootconsole [ar3700_uart0] enabled Loading, please wait... starting version 232 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems done. Begin: Will now check root file system ... fsck from util-linux 2.29.2 [/sbin/fsck.ext4 (1) -- /dev/mmcblk1p1] fsck.ext4 -a -C0 /dev/mmcblk1p1 /dev/mmcblk1p1: recovering journal /dev/mmcblk1p1: clean, 37821/942080 files, 494863/3757996 blocks done. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. Welcome to Debian GNU/Linux 9 (stretch)! [ 8.127417] Internal error: Oops: 96000021 [#1] PREEMPT SMP [ 8.130321] Modules linked in: ip_tables x_tables mv88e6xxx dsa_core [ 8.136863] CPU: 0 PID: 219 Comm: systemd Not tainted 4.19.20-mvebu64 #5.75 [ 8.144022] Hardware name: Globalscale Marvell ESPRESSOBin Board (DT) [ 8.150655] pstate: a0000005 (NzCv daif -PAN -UAO) [ 8.155591] pc : fput+0x10/0xb8 [ 8.158810] lr : vma_do_fput+0x2c/0x38 [ 8.162658] sp : ffffff8009b5bac0 [ 8.166063] x29: ffffff8009b5bac0 x28: ffffffc03baba580 [ 8.171528] x27: ffffffc03bad5e00 x26: 0000000000000000 [ 8.176993] x25: ffffffc03b530800 x24: ffffffc03bd686e8 [ 8.182459] x23: ffffffc03b530800 x22: ffffffc03ba4ad80 [ 8.187925] x21: ffffff8008f79000 x20: ffffffc03bac8539 [ 8.193391] x19: ffffffc03bb5fb00 x18: 0000000000000000 [ 8.198856] x17: 0000000000000000 x16: 0000000000000000 [ 8.204322] x15: 0000000000000200 x14: 00000000000003f8 [ 8.209786] x13: 00000000000003f8 x12: 0000000007ff2600 [ 8.215253] x11: ffffffc03ffea180 x10: 0000004037055000 [ 8.220718] x9 : ffffffc03ffea180 x8 : 0000000044040000 [ 8.226184] x7 : 0000000000210d00 x6 : ffffff8008f796c8 [ 8.231649] x5 : ffffff80080d50b0 x4 : ffffffc03bd68000 [ 8.237116] x3 : ffffffc03bac8571 x2 : 0000000000000000 [ 8.242580] x1 : 0000000000000014 x0 : ffffffc03bac8539 [ 8.248049] Process systemd (pid: 219, stack limit = 0x(____ptrval____)) [ 8.254946] Call trace: [ 8.257458] fput+0x10/0xb8 [ 8.260324] vma_do_fput+0x2c/0x38 [ 8.263821] remove_vma+0x44/0x68 [ 8.267224] exit_mmap+0x114/0x180 [ 8.270721] mmput+0x5c/0x128 [ 8.273767] flush_old_exec+0x45c/0x6c0 [ 8.277709] load_elf_binary+0x240/0x1264 [ 8.281830] search_binary_handler+0x90/0x290 [ 8.286310] __do_execve_file.isra.14+0x5a0/0x6b0 [ 8.291148] do_execve+0x2c/0x38 [ 8.294464] __arm64_sys_execve+0x28/0x38 [ 8.298587] el0_svc_common+0x60/0x100 [ 8.302436] el0_svc_handler+0x24/0x80 [ 8.306289] el0_svc+0x8/0xc [ 8.309249] Code: a9be7bfd 9100e003 910003fd f9800071 (c85f7c61) [ 8.315519] ---[ end trace bbf74bb1f6385571 ]--- [ 8.577617] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 [ 8.583936] Mem abort info: [ 8.586765] ESR = 0x96000005 [ 8.589911] Exception class = DABT (current EL), IL = 32 bits [ 8.596016] SET = 0, FnV = 0 [ 8.599100] EA = 0, S1PTW = 0 [ 8.602316] Data abort info: [ 8.605277] ISV = 0, ISS = 0x00000005 [ 8.609216] CM = 0, WnR = 0 [ 8.612259] user pgtable: 4k pages, 39-bit VAs, pgdp = (____ptrval____) [ 8.619077] [0000000000000000] pgd=0000000000000000, pud=0000000000000000 [ 8.626065] Internal error: Oops: 96000005 [#2] PREEMPT SMP [ 8.631787] Modules linked in: ip_tables x_tables mv88e6xxx dsa_core [ 8.638334] CPU: 1 PID: 218 Comm: systemd-gpt-aut Tainted: G D 4.19.20-mvebu64 #5.75 [ 8.647645] Hardware name: Globalscale Marvell ESPRESSOBin Board (DT) [ 8.654278] pstate: 60000005 (nZCv daif -PAN -UAO) [ 8.659216] pc : __rb_erase_color+0xd4/0x290 [ 8.663600] lr : vma_interval_tree_remove+0x1bc/0x2e8 [ 8.668790] sp : ffffff80099ebbe0 [ 8.672196] x29: ffffff80099ebbe0 x28: ffffffc03bd6ce00 [ 8.677660] x27: 0000000000000000 x26: 0000000000000000 [ 8.683126] x25: ffffffc03ba4b160 x24: 0000000000000000 [ 8.688591] x23: ffffff80081fb9b0 x22: ffffffc03cd7c278 [ 8.694057] x21: ffffffc03bb6e538 x20: 0000000000000000 [ 8.699523] x19: ffffffc03b461178 x18: 0000000000000000 [ 8.704988] x17: 0000000000000000 x16: 0000000000000000 [ 8.710454] x15: 0000000000000000 x14: 0000000000000000 [ 8.715919] x13: 0000000000000000 x12: 00000000055a3200 [ 8.721386] x11: 00000055a3201000 x10: 0000005592800000 [ 8.726851] x9 : 00000000ffffffff x8 : 0000000000000000 [ 8.732317] x7 : ffffffc03bb5aa18 x6 : 0000000000100073 [ 8.737782] x5 : 0000007f90aa7000 x4 : ffffffc03baf2398 [ 8.743248] x3 : 000fffc03749ca97 x2 : ffffff80081fb9b0 [ 8.748714] x1 : 0000000000000000 x0 : ffffffc03b461178 [ 8.754181] Process systemd-gpt-aut (pid: 218, stack limit = 0x(____ptrval____)) [ 8.761795] Call trace: [ 8.764307] __rb_erase_color+0xd4/0x290 [ 8.768338] vma_interval_tree_remove+0x1bc/0x2e8 [ 8.773181] __remove_shared_vm_struct.isra.1+0x54/0x60 [ 8.778554] unlink_file_vma+0x40/0x60 [ 8.782405] free_pgtables+0xc4/0x118 [ 8.786169] exit_mmap+0xe4/0x180 [ 8.789577] mmput+0x5c/0x128 [ 8.792621] do_exit+0x27c/0x9b8 [ 8.795935] do_group_exit+0x38/0xa0 [ 8.799609] __arm64_sys_exit_group+0x14/0x18 [ 8.804092] el0_svc_common+0x60/0x100 [ 8.807942] el0_svc_handler+0x24/0x80 [ 8.811795] el0_svc+0x8/0xc [ 8.814753] Code: f9400674 eb01029f 54fffb21 f9400a74 (a9405680) [ 8.821025] ---[ end trace bbf74bb1f6385572 ]--- [ 8.825832] Fixing recursive fault but reboot is needed! and console is costantly spammed with this: Debian GNU/Linux 9 ESPRESSOBIN-SRV-02 ttyMV0 ESPRESSOBIN-SRV-02 login: [ 45.636823] BUG: Bad page state in process dbus-daemon pfn:3b61e [ 45.640320] page:ffffffbf00ed8780 count:4096 mapcount:0 mapping:0000000000000000 index:0x0 [ 45.648961] flags: 0x0() [ 45.651432] raw: 0000000000000000 0000000000000000 ffffffbf00ed8788 0000000000000000 [ 45.659538] raw: 0000000000000000 0000000000000000 00001000ffffffff 0000000000000000 [ 45.667473] page dumped because: nonzero _refcount [ 81.632844] BUG: Bad page state in process khugepaged pfn:337f0 [ 81.636239] page:ffffffbf00cdfc00 count:0 mapcount:0 mapping:0000000000001000 index:0x0 [ 81.644462] flags: 0x0() [ 81.647084] raw: 0000000000000000 0000000000000000 ffffffbf00cdfc08 0000000000001000 [ 81.655050] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 81.663009] page dumped because: non-NULL mapping [ 132.832811] BUG: Bad page state in process khugepaged pfn:33a17 [ 132.836205] page:ffffffbf00ce85c0 count:4096 mapcount:0 mapping:0000000000000000 index:0x0 [ 132.844698] flags: 0x0() [ 132.847319] raw: 0000000000000000 0000000000000000 ffffffbf00ce85c8 0000000000000000 [ 132.855284] raw: 0000000000000000 0000000000000000 00001000ffffffff 0000000000000000 [ 132.863242] page dumped because: nonzero _count Link to comment Share on other sites More sharing options...
Igor Posted May 9, 2019 Share Posted May 9, 2019 Try with setting fixed CPU speed, armbian-config or manually ->/etc/default/cpufrequtils Link to comment Share on other sites More sharing options...
Guest Posted May 9, 2019 Share Posted May 9, 2019 Thank you. i also tried to re-image the using ubuntu. when i boot with default kernel root@ESPRESSOBIN-SRV-02:~# uname -a Linux ESPRESSOBIN-SRV-02 4.19.20-mvebu64 #5.75 SMP PREEMPT Fri Feb 8 09:54:18 CET 2019 aarch64 aarch64 aarch64 GNU/Linux it works relatively ok, but if i upgrade to latest one using apt-get upgrade (or dist-upgrade), the kernel always crash on boot. specifically, that would be Linux kernel, version 4.19.41-mvebu64 Link to comment Share on other sites More sharing options...
Recommended Posts