kometch Posted May 15, 2019 Share Posted May 15, 2019 (edited) Armbianmonitor: http://ix.io/1J5s After installing armumian-5.83 on Banana pi M64 and starting it, kernel error is output and restarted when executed from start or ansible. Spoiler k8s-work4 login: [ 20.668532] WARNING: CPU: 2 PID: 0 at lib/timerqueue.c:79 t0 [ 20.676119] Modules linked in: zstd zram brcmfmac brcmutil snd_soc_hdmi_codex [ 20.715677] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G D 5.1.0-6 [ 20.723854] Hardware name: BananaPi-M64 (DT) [ 20.728121] pstate: 60000085 (nZCv daIf -PAN -UAO) [ 20.732913] pc : timerqueue_del+0x64/0x70 [ 20.736923] lr : __remove_hrtimer+0x48/0xa8 [ 20.741100] sp : ffff000010013e00 [ 20.744410] x29: ffff000010013e00 x28: ffff800077ba8230 [ 20.749717] x27: ffff800077ba7d00 x26: 0000000000000070 [ 20.755024] x25: 0000000000000080 x24: 00000004cfaba314 [ 20.760330] x23: ffff800077ba7d60 x22: ffff800077ba7d00 [ 20.765638] x21: 0000000000000000 x20: ffff800077ba7d60 [ 20.770945] x19: ffff800077ba8230 x18: 0000000000000000 [ 20.776252] x17: 0000000000000000 x16: 0000000000000000 [ 20.781559] x15: 0000000000000000 x14: 0000000000000000 [ 20.786865] x13: 0000000000000001 x12: 0000000000009c00 [ 20.792172] x11: 0000000000000000 x10: 0000000000000040 [ 20.797478] x9 : ffff000010df6be0 x8 : ffff000010df6bd8 [ 20.802784] x7 : ffff800075000290 x6 : 0000000029aaaaab [ 20.808091] x5 : 0033f9aa08c2ad00 x4 : 0000000000000001 [ 20.813398] x3 : 0000000000000000 x2 : 0000000000000000 [ 20.818704] x1 : ffff800077ba8230 x0 : ffff800077ba8230 [ 20.824011] Call trace: [ 20.826458] timerqueue_del+0x64/0x70 [ 20.830118] __remove_hrtimer+0x48/0xa8 [ 20.833950] __hrtimer_run_queues+0xdc/0x218 [ 20.838217] hrtimer_interrupt+0x104/0x2d8 [ 20.842313] arch_timer_handler_phys+0x28/0x40 [ 20.846755] handle_percpu_devid_irq+0x80/0x138 [ 20.851283] generic_handle_irq+0x24/0x38 [ 20.855290] __handle_domain_irq+0x5c/0xb0 [ 20.859383] gic_handle_irq+0x58/0xa8 [ 20.863043] el1_irq+0xb8/0x140 [ 20.866183] arch_cpu_idle+0x10/0x18 [ 20.869757] do_idle+0x1f0/0x2d0 [ 20.872983] cpu_startup_entry+0x24/0x28 [ 20.876904] secondary_start_kernel+0x190/0x1d0 [ 20.881429] ---[ end trace 9b6e6a50d71c962b ]--- [ 23.697985] Unable to handle kernel NULL pointer dereference at virtual addr0 [ 23.706780] Mem abort info: [ 23.709572] ESR = 0x96000004 [ 23.712624] Exception class = DABT (current EL), IL = 32 bits [ 23.718536] SET = 0, FnV = 0 [ 23.721586] EA = 0, S1PTW = 0 [ 23.724721] Data abort info: [ 23.727598] ISV = 0, ISS = 0x00000004 [ 23.731428] CM = 0, WnR = 0 [ 23.734393] user pgtable: 4k pages, 48-bit VAs, pgdp = (____ptrval____) [ 23.740999] [0000000000000000] pgd=0000000000000000 [ 23.745874] Internal error: Oops: 96000004 [#2] SMP [ 23.750746] Modules linked in: zstd zram brcmfmac brcmutil snd_soc_hdmi_codex [ 23.790273] Process swapper/2 (pid: 0, stack limit = 0x(____ptrval____)) [ 23.796971] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G D W 5.1.0-6 [ 23.805138] Hardware name: BananaPi-M64 (DT) [ 23.809404] pstate: 60000085 (nZCv daIf -PAN -UAO) [ 23.814199] pc : rb_erase+0x58/0x3b0 [ 23.817775] lr : timerqueue_del+0x38/0x70 [ 23.821779] sp : ffff000010013e00 [ 23.825090] x29: ffff000010013e00 x28: ffff800077ba8230 [ 23.830397] x27: ffff800077ba7d00 x26: 0000000000000070 [ 23.835703] x25: 0000000000000080 x24: 0000000584274e7e [ 23.841010] x23: ffff800077ba7d60 x22: ffff800077ba7d00 [ 23.846317] x21: 0000000000000000 x20: ffff800077ba7d60 [ 23.851624] x19: ffff800077ba8230 x18: 0000000000000000 [ 23.856932] x17: 0000000000000000 x16: 0000000000000000 [ 23.862238] x15: 0000000000000000 x14: ffff000010aa8c58 [ 23.867545] x13: 000000000000000a x12: ffff000010aa8c30 [ 23.872853] x11: 000000000000004c x10: 0000000000000040 [ 23.878159] x9 : ffff000010df6be0 x8 : ffff000010df6bd8 [ 23.883466] x7 : 0000000000000000 x6 : ffff000011473980 [ 23.888773] x5 : ffff800077ba8230 x4 : 0000000000000000 [ 23.894080] x3 : ffff000011473980 x2 : ffff800077ba8230 [ 23.899387] x1 : ffff800077ba7d60 x0 : ffff800077ba8230 [ 23.904694] Call trace: [ 23.907140] rb_erase+0x58/0x3b0 [ 23.910370] __remove_hrtimer+0x48/0xa8 [ 23.914203] __hrtimer_run_queues+0xdc/0x218 [ 23.918470] hrtimer_interrupt+0x104/0x2d8 [ 23.922565] arch_timer_handler_phys+0x28/0x40 [ 23.927007] handle_percpu_devid_irq+0x80/0x138 [ 23.931536] generic_handle_irq+0x24/0x38 [ 23.935543] __handle_domain_irq+0x5c/0xb0 [ 23.939637] gic_handle_irq+0x58/0xa8 [ 23.943296] el1_irq+0xb8/0x140 [ 23.946438] arch_cpu_idle+0x10/0x18 [ 23.950013] do_idle+0x1f0/0x2d0 [ 23.953239] cpu_startup_entry+0x24/0x28 [ 23.957162] secondary_start_kernel+0x190/0x1d0 [ 23.961692] Code: aa030084 f90000a4 f9400804 f9000864 (f9400085) [ 23.967780] ---[ end trace 9b6e6a50d71c962c ]--- [ 23.972393] Kernel panic - not syncing: Fatal exception in interrupt [ 23.978743] SMP: stopping secondary CPUs [ 23.982663] Kernel Offset: disabled [ 23.986148] CPU features: 0x002,24002004 [ 23.990065] Memory Limit: none [ 23.993120] Rebooting in 10 seconds.. k8s-work4 login: [ 93.604300] Unable to handle kernel NULL pointer dereferencf [ 93.613100] Mem abort info: [ 93.615891] ESR = 0x96000004 [ 93.618943] Exception class = DABT (current EL), IL = 32 bits [ 93.624854] SET = 0, FnV = 0 [ 93.627905] EA = 0, S1PTW = 0 [ 93.631041] Data abort info: [ 93.633917] ISV = 0, ISS = 0x00000004 [ 93.637747] CM = 0, WnR = 0 [ 93.640714] user pgtable: 4k pages, 48-bit VAs, pgdp = (____ptrval____) [ 93.647321] [000000000000002f] pgd=0000000000000000 [ 93.652196] Internal error: Oops: 96000004 [#1] SMP [ 93.657066] Modules linked in: zstd zram brcmfmac brcmutil cfg80211 snd_soc_x [ 93.696592] Process swapper/2 (pid: 0, stack limit = 0x(____ptrval____)) [ 93.703289] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 5.1.0-sunxi64 #5.86 [ 93.710068] Hardware name: BananaPi-M64 (DT) [ 93.714334] pstate: 00000085 (nzcv daIf -PAN -UAO) [ 93.719130] pc : account_user_time+0x0/0xd8 [ 93.723312] lr : update_rq_clock.part.7+0x18/0x90 [ 93.728009] sp : ffff000010013d90 [ 93.731319] x29: ffff000010013d90 x28: ffff800077ba8230 [ 93.736627] x27: ffff800077ba7d00 x26: 0000000000000070 [ 93.741933] x25: 0000000000000080 x24: 00000015cafeac6d [ 93.747240] x23: 0000000000000000 x22: ffff8000757ca700 [ 93.752547] x21: ffff000010ddc000 x20: 0000000000000000 [ 93.757854] x19: 0000000000000000 x18: 0000000000000036 [ 93.763161] x17: 0000000000000000 x16: 0000000000000000 [ 93.768469] x15: ffff8000749b0400 x14: ffff800075102658 [ 93.773776] x13: 0000000000000000 x12: 0000000000000400 [ 93.779083] x11: ffff000010dd6000 x10: 0000000000000040 [ 93.784390] x9 : ffff000010df6be0 x8 : ffff000010df6bd8 [ 93.789697] x7 : ffff000010dcc9c0 x6 : 0000000000000000 [ 93.795003] x5 : 0000000000001c81 x4 : 0000800066de0000 [ 93.800310] x3 : 0000000000000002 x2 : 0000000000000001 [ 93.805616] x1 : ffff000010aa0c60 x0 : 7fffffffffffffff [ 93.810923] Call trace: [ 93.813368] account_user_time+0x0/0xd8 [ 93.817201] scheduler_tick+0x120/0x130 [ 93.821036] update_process_times+0x40/0x58 [ 93.825217] tick_sched_handle.isra.5+0x30/0x48 [ 93.829744] tick_sched_timer+0x48/0x98 [ 93.833580] Code: 940142d2 a8c17bfd d65f03c0 00000000 (a9bd7bfd) [ 93.839668] ---[ end trace 92ec32cb577040c6 ]--- [ 93.844282] Kernel panic - not syncing: Fatal exception in interrupt [ 93.850632] SMP: stopping secondary CPUs [ 93.854551] Kernel Offset: disabled [ 93.858036] CPU features: 0x002,24002004 [ 93.861953] Memory Limit: none [ 93.865008] Rebooting in 10 seconds.. Starting kernel ... [ 11.263543] Unable to handle kernel paging request at virtual address ffdf008 [ 11.271470] Mem abort info: [ 11.274262] ESR = 0x86000004 [ 11.277313] Exception class = IABT (current EL), IL = 32 bits [ 11.283225] SET = 0, FnV = 0 [ 11.286274] EA = 0, S1PTW = 0 [ 11.289411] [ffdf0000101283e8] address between user and kernel address ranges [ 11.296540] Internal error: Oops: 86000004 [#1] SMP [ 11.301411] Modules linked in: zstd zram brcmfmac brcmutil snd_soc_hdmi_codex [ 11.340940] Process systemd-journal (pid: 381, stack limit = 0x(____ptrval__) [ 11.348333] CPU: 3 PID: 381 Comm: systemd-journal Not tainted 5.1.0-sunxi64 6 [ 11.355806] Hardware name: BananaPi-M64 (DT) [ 11.360072] pstate: a0000085 (NzCv daIf -PAN -UAO) [ 11.364862] pc : 0xffdf0000101283e8 [ 11.368356] lr : timerfd_get_remaining+0x2c/0x50 [ 11.372967] sp : ffff000011483d50 [ 11.376276] x29: ffff000011483d50 x28: ffff800072922d00 [ 11.381583] x27: ffff800072922d88 x26: 0000000000000001 [ 11.386890] x25: ffff000010ddc000 x24: 0000000000000000 [ 11.392198] x23: 00000000000000f0 x22: 0000000000000070 [ 11.397505] x21: ffff000011483e38 x20: 0000000000000000 [ 11.402812] x19: ffff800072922d00 x18: 0000000000000000 [ 11.408119] x17: 0000000000000000 x16: 0000000000000000 [ 11.413426] x15: 0000000000000000 x14: 0000000000000000 [ 11.418732] x13: 0000000000000000 x12: 0000000000000000 [ 11.424038] x11: 0000000000000000 x10: 0000000000000000 [ 11.429345] x9 : 0000000000000000 x8 : 0000000000000001 [ 11.434652] x7 : 0000000003938700 x6 : ffff000011483dd8 [ 11.439958] x5 : 0000000000000000 x4 : ffff000010aba640 [ 11.445265] x3 : 0000000000001ee0 x2 : 98c9012dce3c1400 [ 11.450572] x1 : 00000000fffffff9 x0 : ffdf0000101283e8 [ 11.455878] Call trace: [ 11.458323] 0xffdf0000101283e8 [ 11.461463] do_timerfd_settime+0x188/0x488 [ 11.465644] __arm64_sys_timerfd_settime+0x50/0xa8 [ 11.470435] el0_svc_common.constprop.0+0x58/0xf0 [ 11.475135] el0_svc_handler+0x20/0x78 [ 11.478882] el0_svc+0x8/0xc [ 11.481763] Code: bad PC value [ 11.484817] ---[ end trace 4d575d83efb91cb1 ]--- [ 11.490081] Unable to handle kernel paging request at virtual address ffdf008 [ 11.498023] Mem abort info: [ 11.500828] ESR = 0x86000004 [ 11.503883] Exception class = IABT (current EL), IL = 32 bits [ 11.509796] SET = 0, FnV = 0 [ 11.512846] EA = 0, S1PTW = 0 [ 11.515986] [ffdf0000101283e8] address between user and kernel address ranges [ 11.523120] Internal error: Oops: 86000004 [#2] SMP [ 11.527995] Modules linked in: zstd zram brcmfmac brcmutil snd_soc_hdmi_codex [ 11.567525] Process rs:main Q:Reg (pid: 833, stack limit = 0x(____ptrval____) [ 11.574744] CPU: 2 PID: 833 Comm: rs:main Q:Reg Tainted: G D 6 [ 11.583433] Hardware name: BananaPi-M64 (DT) [ 11.587699] pstate: 60000085 (nZCv daIf -PAN -UAO) [ 11.592490] pc : 0xffdf0000101283e8 [ 11.595984] lr : __hrtimer_get_remaining+0x44/0x88 [ 11.600769] sp : ffff00001160bd40 [ 11.604079] x29: ffff00001160bd40 x28: ffff800074974e00 [ 11.609387] x27: 0000000000000000 x26: 00000000000000f0 [ 11.614694] x25: 0000000000000070 x24: 0000000000000000 [ 11.620000] x23: 0000000000000001 x22: ffff00001160be58 [ 11.625307] x21: 0000000500a41bf9 x20: ffff800073fe3390 [ 11.630615] x19: ffff000010ddc8c8 x18: 0000000000000000 [ 11.635921] x17: 0000000000000000 x16: 0000000000000000 [ 11.641229] x15: 0000000000000000 x14: 0000000000000000 [ 11.646535] x13: 0000000000000000 x12: 0000000000000000 [ 11.651842] x11: 0000000000000000 x10: 0000000000000000 [ 11.657149] x9 : 0000000000000000 x8 : 0000000000000000 [ 11.662456] x7 : 0000000000000000 x6 : ffff00001160be58 [ 11.667762] x5 : ffff00001160be58 x4 : 0000000000000000 [ 11.673070] x3 : ffff800073e5b180 x2 : 0000000000000000 [ 11.678377] x1 : 0000000000000000 x0 : ffdf0000101283e8 [ 11.683684] Call trace: [ 11.686129] 0xffdf0000101283e8 [ 11.689270] itimer_get_remtime+0x18/0x68 [ 11.693276] do_setitimer+0x13c/0x248 [ 11.696936] __arm64_sys_setitimer+0x8c/0x158 [ 11.701292] el0_svc_common.constprop.0+0x58/0xf0 [ 11.705992] el0_svc_handler+0x20/0x78 [ 11.709739] el0_svc+0x8/0xc [ 11.712621] Code: bad PC value [ 11.715675] ---[ end trace 4d575d83efb91cb2 ]--- [ 32.448449] rcu: INFO: rcu_sched detected stalls on CPUs/tasks: [ 32.454385] rcu: 3-...0: (0 ticks this GP) idle=8b6/1/0x4000000000000000 [ 32.463594] rcu: (detected by 1, t=5252 jiffies, g=1997, q=137) [ 32.469597] Task dump for CPU 3: [ 32.472821] systemd-journal R running task 0 381 1 0x00000826 [ 32.479866] Call trace: [ 32.482317] __switch_to+0xb4/0x1b8 [ 32.485807] free_unref_page_list+0x13c/0x1b0 [ 32.490163] release_pages+0x360/0x410 [ 32.493911] free_pages_and_swap_cache+0xf8/0x128 [ 32.498611] 0xffff800072b14100 Thanks. Edited May 15, 2019 by Igor spoilers Link to comment Share on other sites More sharing options...
Igor Posted May 15, 2019 Share Posted May 15, 2019 3 hours ago, kometch said: kernel error is output and restarted when executed from start What do you do that this crash happens? How did you make logs if kernel crash at start and there is nothing suspicious in them http://ix.io/1J5s ? Link to comment Share on other sites More sharing options...
kometch Posted May 15, 2019 Author Share Posted May 15, 2019 Hello Igor, Thank you for your reply. After rebooting several times, I sometimes can log in, and at that time I somehow uploaded this log. Best regards. Link to comment Share on other sites More sharing options...
Igor Posted May 15, 2019 Share Posted May 15, 2019 27 minutes ago, kometch said: Hello Igor, Thank you for your reply. After rebooting several times, I sometimes can log in, and at that time I somehow uploaded this log. Best regards. I just notice you are using development 5.y kernel ... which means problem is irrelevant for at least another 6+ months, closing. Link to comment Share on other sites More sharing options...
kometch Posted May 15, 2019 Author Share Posted May 15, 2019 (edited) Hello, The following thread has been closed, so please. # Im sorry to create a thread in succession. A kernel error occurs from the first boot. Spoiler U-Boot SPL 2019.04-armbian (May 03 2019 - 17:44:31 +0200) DRAM: 2048 MiB Trying to boot from MMC1 NOTICE: BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000) NOTICE: Configuring SPC Controller NOTICE: BL3-1: v1.0(debug):c9f55c0 NOTICE: BL3-1: Built : 03:01:10, May 2 2019 NOTICE: DT: sun50i-a64-bananapi-m64 INFO: Configuring AXP PMIC INFO: PMIC: DRAM voltage: 1.50V INFO: PMIC: setup successful NOTICE: SCPI: dummy stub handler, implementation level: 000000 INFO: BL3-1: Initializing runtime services INFO: BL3-1: Preparing for EL3 exit to normal world INFO: BL3-1: Next image address: 0x4a000000, SPSR: 0x3c9 U-Boot 2019.04-armbian (May 03 2019 - 17:44:31 +0200) Allwinner Technology CPU: Allwinner A64 (SUN50I) Model: BananaPi-M64 DRAM: 2 GiB MMC: Device 'mmc@1c11000': seq 1 is in use by 'mmc@1c10000' mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1 Loading Environment from EXT4... ** File not found /boot/boot.env ** ** Unable to read "/boot/boot.env" from mmc0:1 ** In: serial Out: serial Err: serial Allwinner mUSB OTG (Peripheral) Net: phy interface7 eth0: ethernet@1c30000 Warning: usb_ether using MAC address from ROM , eth1: usb_ether 230454 bytes read in 13 ms (16.9 MiB/s) starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 1 for devices... 1 USB Device(s) found scanning bus 2 for devices... 2 USB Device(s) found scanning bus 3 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Autoboot in 1 seconds, press <Space> to stop switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 3042 bytes read in 2 ms (1.5 MiB/s) ## Executing script at 4fc00000 U-boot loaded from SD Boot script loaded from mmc 104 bytes read in 1 ms (101.6 KiB/s) 33861 bytes read in 5 ms (6.5 MiB/s) 3795 bytes read in 2 ms (1.8 MiB/s) Applying kernel provided DT fixup script (sun50i-a64-fixup.scr) ## Executing script at 44000000 5406487 bytes read in 265 ms (19.5 MiB/s) 14311432 bytes read in 698 ms (19.6 MiB/s) ## Loading init Ramdisk from Legacy Image at 4fe00000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 5406423 Bytes = 5.2 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 4fa00000 Booting using the fdt blob at 0x4fa00000 Loading Ramdisk to 49ad8000, end 49fffed7 ... OK Loading Device Tree to 0000000049a67000, end 0000000049ad7fff ... OK Starting kernel ... [ 11.530279] Unable to handle kernel NULL pointer dereference at virtual addrc [ 11.539078] Mem abort info: [ 11.541869] ESR = 0x96000044 [ 11.544920] Exception class = DABT (current EL), IL = 32 bits [ 11.550832] SET = 0, FnV = 0 [ 11.553883] EA = 0, S1PTW = 0 [ 11.557019] Data abort info: [ 11.559895] ISV = 0, ISS = 0x00000044 [ 11.563726] CM = 0, WnR = 1 [ 11.566693] user pgtable: 4k pages, 48-bit VAs, pgdp = 00000000580635de [ 11.573300] [000000000000004c] pgd=0000000000000000 [ 11.578174] Internal error: Oops: 96000044 [#1] SMP [ 11.583046] Modules linked in: zstd zram brcmfmac snd_soc_simple_card snd_sok [ 11.616339] Process swapper/2 (pid: 0, stack limit = 0x00000000f35415bd) [ 11.623036] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.19.38-sunxi64 #5.83 [ 11.629989] Hardware name: BananaPi-M64 (DT) [ 11.634255] pstate: 20000085 (nzCv daIf -PAN -UAO) [ 11.639052] pc : __memcpy+0x110/0x180 [ 11.642715] lr : timekeeping_advance+0x36c/0x618 [ 11.647327] sp : ffff000008013d30 [ 11.650637] x29: ffff000008013d30 x28: 003b9aca00000000 [ 11.655946] x27: ffff000008e36f60 x26: ffff000008d78000 [ 11.661253] x25: ffff000008d78000 x24: 003b9aca00000000 [ 11.666561] x23: 000000003b9aca00 x22: 0000000000000000 [ 11.671869] x21: 0000000000000004 x20: 0000000000000000 [ 11.677177] x19: ffff000008e36f60 x18: 0000000000000000 [ 11.682485] x17: 0000000000000000 x16: 0000000000000000 [ 11.687792] x15: 0000000000000400 x14: ffff000008dfaa90 [ 11.693099] x13: 159b468afff02e00 x12: 000000027c453e65 [ 11.698406] x11: 00328b7403be0200 x10: 0000001829aaaaab [ 11.703714] x9 : 000000001f215732 x8 : 00ffffffffffffff [ 11.709022] x7 : ffff000008dfaa90 x6 : 000000000000004c [ 11.714330] x5 : 000000028fa6ae00 x4 : 0000000000000000 [ 11.719637] x3 : 000000000000131a x2 : 0000000000000088 [ 11.724945] x1 : ffff000008e36fa0 x0 : 000000000000004c [ 11.730252] Call trace: [ 11.732699] __memcpy+0x110/0x180 [ 11.736012] update_wall_time+0x10/0x18 [ 11.739848] tick_do_update_jiffies64.part.3+0xc8/0x138 [ 11.745069] tick_sched_do_timer+0x7c/0x80 [ 11.749162] tick_sched_timer+0x38/0x98 [ 11.752994] __hrtimer_run_queues+0xe4/0x1f8 [ 11.757260] hrtimer_interrupt+0xf4/0x2b0 [ 11.761271] arch_timer_handler_phys+0x28/0x40 [ 11.765712] handle_percpu_devid_irq+0x80/0x138 [ 11.770241] generic_handle_irq+0x24/0x38 [ 11.774248] __handle_domain_irq+0x5c/0xb0 [ 11.778342] gic_handle_irq+0x58/0xa8 [ 11.782001] el1_irq+0xb0/0x140 [ 11.785141] arch_cpu_idle+0x10/0x18 [ 11.788715] do_idle+0x1d4/0x298 [ 11.791942] cpu_startup_entry+0x24/0x28 [ 11.795863] secondary_start_kernel+0x18c/0x1c8 [ 11.800392] Code: a8c12027 a8c12829 a8c1302b a8c1382d (a88120c7) [ 11.806481] ---[ end trace 527ec1c178675643 ]--- [ 11.811095] Kernel panic - not syncing: Fatal exception in interrupt [ 11.817444] SMP: stopping secondary CPUs [ 12.924067] SMP: failed to stop secondary CPUs 0-3 [ 12.928851] Kernel Offset: disabled [ 12.932336] CPU features: 0x0,24802004 [ 12.936079] Memory Limit: none [ 12.939134] Rebooting in 10 seconds.. [ 23.182751] SMP: stopping secondary CPUs [ 24.289284] SMP: failed to stop secondary CPUs 0-3 INFO: PSCI Affinity Map: INFO: AffInst: Level 0, MPID 0x0, State ON INFO: AffInst: Level 0, MPID 0x1, State ON INFO: AffInst: Level 0, MPID 0x2, State ON INFO: AffInst: Level 0, MPID 0x3, State ON U-Boot SPL 2019.04-armbian (May 03 2019 - 17:44:31 +0200) root@bananapim64:~# [ 138.146344] Unable to handle kernel paging request at vi9 [ 138.154275] Mem abort info: [ 138.157065] ESR = 0x96000004 [ 138.160117] Exception class = DABT (current EL), IL = 32 bits [ 138.166029] SET = 0, FnV = 0 [ 138.169079] EA = 0, S1PTW = 0 [ 138.172216] Data abort info: [ 138.175092] ISV = 0, ISS = 0x00000004 [ 138.178923] CM = 0, WnR = 0 [ 138.181888] [fbff000008a78bf9] address between user and kernel address ranges [ 138.189017] Internal error: Oops: 96000004 [#1] SMP [ 138.193890] Modules linked in: snd_soc_simple_card snd_soc_hdmi_codec snd_sok [ 138.227184] Process swapper/2 (pid: 0, stack limit = 0x00000000f6d4c32b) [ 138.233882] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.19.38-sunxi64 #5.83 [ 138.240834] Hardware name: BananaPi-M64 (DT) [ 138.245101] pstate: 20000085 (nzCv daIf -PAN -UAO) [ 138.249899] pc : cpu_load_update+0x48/0x128 [ 138.254080] lr : cpu_load_update_active+0x80/0xa8 [ 138.258778] sp : ffff000008013d70 [ 138.262088] x29: ffff000008013d70 x28: ffff80007bfa3280 [ 138.267396] x27: ffff80007bfa2d40 x26: 0000000000000000 [ 138.272704] x25: 0000000000000080 x24: 0000002029c9350f [ 138.278013] x23: ffff800079bca640 x22: 0000000000000002 [ 138.283321] x21: 0000000000000000 x20: ffff80007bfa6d00 [ 138.288629] x19: ffff000008d78000 x18: 0000000000000000 [ 138.293937] x17: 0000000000000000 x16: 0000000000000000 [ 138.299245] x15: 0000000000000000 x14: 0000000000000008 [ 138.304552] x13: 0000000000000001 x12: fbff000008a78bf8 [ 138.309860] x11: 00003d0900007d00 x10: ffff000008a78c00 [ 138.315168] x9 : 0000000000000000 x8 : 0000000000000001 [ 138.320475] x7 : ffff80007bfa6d10 x6 : 0000000000000002 [ 138.325784] x5 : 00ffffffffffffff x4 : 0000000000000001 [ 138.331091] x3 : ffff000008a78b38 x2 : 0000000000000001 [ 138.336399] x1 : 0000000000000000 x0 : 0000000000000000 [ 138.341708] Call trace: [ 138.344155] cpu_load_update+0x48/0x128 [ 138.347990] scheduler_tick+0x8c/0x130 [ 138.351738] update_process_times+0x40/0x58 [ 138.355921] tick_sched_handle.isra.5+0x30/0x48 [ 138.360448] tick_sched_timer+0x48/0x98 [ 138.364280] __hrtimer_run_queues+0xe4/0x1f8 [ 138.368547] hrtimer_interrupt+0xf4/0x2b0 [ 138.372557] arch_timer_handler_phys+0x28/0x40 [ 138.376998] handle_percpu_devid_irq+0x80/0x138 [ 138.381527] generic_handle_irq+0x24/0x38 [ 138.385535] __handle_domain_irq+0x5c/0xb0 [ 138.389628] gic_handle_irq+0x58/0xa8 [ 138.393288] el1_irq+0xb0/0x140 [ 138.396427] arch_cpu_idle+0x10/0x18 [ 138.400000] do_idle+0x1d4/0x298 [ 138.403227] cpu_startup_entry+0x24/0x28 [ 138.407150] secondary_start_kernel+0x18c/0x1c8 [ 138.411679] Code: d2800024 2a0403e8 f94000e0 b40003c2 (386c6883) [ 138.417767] ---[ end trace 60c5ba4999d39773 ]--- [ 138.422380] Kernel panic - not syncing: Fatal exception in interrupt [ 138.428729] SMP: stopping secondary CPUs [ 139.535263] SMP: failed to stop secondary CPUs 0,2 [ 139.540048] Kernel Offset: disabled [ 139.543533] CPU features: 0x0,24802004 [ 139.547277] Memory Limit: none [ 139.550331] Rebooting in 10 seconds.. [ 149.793871] SMP: stopping secondary CPUs [ 150.900395] SMP: failed to stop secondary CPUs 0,2 INFO: PSCI Affinity Map: Thanks. Edited May 15, 2019 by Igor spoilers Link to comment Share on other sites More sharing options...
kometch Posted May 15, 2019 Author Share Posted May 15, 2019 (edited) There were other kernel errors as below. Spoiler Starting kernel ... [ 9.246315] kernel BUG at arch/arm64/kernel/traps.c:415! [ 9.251640] Internal error: Oops - BUG: 0 [#1] SMP [ 9.256427] Modules linked in: zstd brcmfmac snd_soc_simple_card snd_soc_hdmk [ 9.289721] Process swapper/2 (pid: 0, stack limit = 0x(____ptrval____)) [ 9.296426] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.19.38-sunxi64 #5.83 [ 9.303384] Hardware name: BananaPi-M64 (DT) [ 9.307658] pstate: 00000085 (nzcv daIf -PAN -UAO) [ 9.312460] pc : do_undefinstr+0xdc/0x2d8 [ 9.316477] lr : do_undefinstr+0xc8/0x2d8 [ 9.320487] sp : ffff000008013cb0 [ 9.323802] x29: ffff000008013cb0 x28: ffff800079bca640 [ 9.329115] x27: ffff80007bfa2d40 x26: 0000000000000000 [ 9.334428] x25: ffff000008132d70 x24: 0000000000000000 [ 9.339741] x23: 0000000020000085 x22: ffff0000081220a4 [ 9.345053] x21: ffff000008013e50 x20: ffff000008013d10 [ 9.350360] x19: ffff000008d78000 x18: 0000000000005000 [ 9.355669] x17: 00000000ffffffff x16: ffff7e0001bcc880 [ 9.360977] x15: 0000000000000000 x14: 0000000000000000 [ 9.366284] x13: 0000000000000000 x12: 0000000000000000 [ 9.371592] x11: 0000000000000000 x10: 0000000000000000 [ 9.376899] x9 : 0000000000000000 x8 : 0000000000000000 [ 9.382207] x7 : 0000000000000000 x6 : ffff800077aebb38 [ 9.387515] x5 : 0000000000000000 x4 : 0000000000000000 [ 9.392823] x3 : 0000000000000002 x2 : 0000000000000000 [ 9.398131] x1 : 98c9012dce3d0600 x0 : 0000000020000085 [ 9.403440] Call trace: [ 9.405890] do_undefinstr+0xdc/0x2d8 [ 9.409552] el1_undef+0x10/0x70 [ 9.412782] __hrtimer_run_queues+0xec/0x1f8 [ 9.417049] hrtimer_interrupt+0xf4/0x2b0 [ 9.421058] arch_timer_handler_phys+0x28/0x40 [ 9.425499] handle_percpu_devid_irq+0x80/0x138 [ 9.430027] generic_handle_irq+0x24/0x38 [ 9.434033] __handle_domain_irq+0x5c/0xb0 [ 9.438126] gic_handle_irq+0x58/0xa8 [ 9.441785] el1_irq+0xb0/0x140 [ 9.444925] arch_cpu_idle+0x10/0x18 [ 9.448500] do_idle+0x1d4/0x298 [ 9.451726] cpu_startup_entry+0x24/0x28 [ 9.455647] secondary_start_kernel+0x18c/0x1c8 [ 9.460176] Code: f2400c1f 54fffae0 a9025bb5 f9001bb7 (d4210000) [ 9.466266] ---[ end trace 6e4ba7f64d05d3de ]--- [ 9.470881] Kernel panic - not syncing: Fatal exception in interrupt [ 9.477231] SMP: stopping secondary CPUs [ 9.481150] Kernel Offset: disabled [ 9.484636] CPU features: 0x0,24802004 [ 9.488379] Memory Limit: none [ 9.491435] Rebooting in 10 seconds.. Edited May 15, 2019 by Igor spoilers Link to comment Share on other sites More sharing options...
Igor Posted May 15, 2019 Share Posted May 15, 2019 OK, thanks for reporting bug on stable kernel. Possibly related to all A64 ... 1 Link to comment Share on other sites More sharing options...
martinayotte Posted May 15, 2019 Share Posted May 15, 2019 56 minutes ago, Igor said: OK, thanks for reporting bug on stable kernel. Possibly related to all A64 ... I don't see such crash on my Pine64 with 5.1.0 ... EDIT : I don't see such crash on my OrangePiWin either with 5.1.0 ... 1 Link to comment Share on other sites More sharing options...
Igor Posted May 15, 2019 Share Posted May 15, 2019 5 hours ago, martinayotte said: I don't see such crash on my OrangePiWin either with 5.1.0 ... It seems its related to this change https://github.com/armbian/build/commit/c474e35fe1fc795154baf88dec36cc01c6a5b567 which was not changed in DEV ... I will try to fix otherwise reverting. Link to comment Share on other sites More sharing options...
martinayotte Posted May 15, 2019 Share Posted May 15, 2019 6 minutes ago, Igor said: which was not changed in DEV Do you mean the U-Boot version ? Nope, since I've done the same change to DEV for my own A64 builds, but you just remind me that I didn't committed yet ... Link to comment Share on other sites More sharing options...
Igor Posted May 15, 2019 Share Posted May 15, 2019 12 minutes ago, martinayotte said: Do you mean the U-Boot version ? Yes. It seems not all boards are affected ... I tested only one Lime and Pinebook IIRC and found no troubles. Reverting back to BOOTSOURCE='https://github.com/anarsoul/u-boot-pine64' BOOTBRANCH='branch:pinebook-wip-20181109' seems like a fix (workaround). Still testing and looking into ... Link to comment Share on other sites More sharing options...
Igor Posted May 15, 2019 Share Posted May 15, 2019 Changing u-boot brought no change. Still crashing on DEB branch. Link to comment Share on other sites More sharing options...
martinayotte Posted May 15, 2019 Share Posted May 15, 2019 4 minutes ago, Igor said: Changing u-boot brought no change. Maybe something else than U-Boot version, but maybe DT of this specific board... Can you compare decompiled version of both DTs of a working image and and the non-working one ? EDIT : I've often debug new non-booting image by replacing DT from the previous build, then, if it boot, using "meld" provided clues between bot DT. Link to comment Share on other sites More sharing options...
Igor Posted May 15, 2019 Share Posted May 15, 2019 15 minutes ago, martinayotte said: Can you compare decompiled version of both DTs of a working image and and the non-working one ? In the morning. No more energy for any serious stuff Link to comment Share on other sites More sharing options...
cath Posted July 7, 2019 Share Posted July 7, 2019 Have you solved this problem? I can't boot at all after flashed Armbian_5.90_Bananapim64_Debian_buster_next_4.19.57。 I am using the bananaPi M64 with falshing into SDcard. [ 13.176294] note_gp_changes+0x1c/0xb8 [ 13.176298] rcu_process_callbacks+0xcc/0x470 [ 13.176301] __do_softirq+0x10c/0x200 [ 13.176304] irq_exit+0xac/0xc0 [ 13.176309] __handle_domain_irq+0x60/0xb0 [ 13.176312] gic_handle_irq+0x58/0xa8 [ 13.176315] el1_irq+0xb0/0x140 [ 13.176318] arch_cpu_idle+0x10/0x18 [ 13.176322] do_idle+0x1d4/0x298 [ 13.176326] cpu_startup_entry+0x20/0x28 [ 13.176331] secondary_start_kernel+0x18c/0x1c8 [ 13.176336] Code: d53b4234 d50342df f9401033 f9400023 (f9400662) [ 13.176340] ---[ end trace 0978ec7ae3ccf3cd ]--- [ 13.176343] Kernel panic - not syncing: Fatal exception in interrupt [ 13.176350] SMP: stopping secondary CPUs [ 13.189064] Mem abort info: [ 13.201273] ESR = 0x96000004 [ 13.214268] ESR = 0x96000004 [ 13.221408] Exception class = DABT (current EL), IL = 32 bits [ 13.269367] Exception class = DABT (current EL), IL = 32 bits [ 13.281398] SET = 0, FnV = 0 [ 13.290711] SET = 0, FnV = 0 [ 13.300576] EA = 0, S1PTW = 0 [ 13.310471] EA = 0, S1PTW = 0 [ 13.320292] Data abort info: [ 13.328593] Data abort info: [ 13.338910] ISV = 0, ISS = 0x00000004 [ 13.349200] ISV = 0, ISS = 0x00000004 [ 13.359452] CM = 0, WnR = 0 [ 13.369674] CM = 0, WnR = 0 [ 13.379824] user pgtable: 4k pages, 48-bit VAs, pgdp = 00000000e0f24fa8 [ 13.389941] user pgtable: 4k pages, 48-bit VAs, pgdp = 00000000cebd7c41 [ 13.400033] [000000030000000d] pgd=0000000000000000 [ 13.410082] [0000000000000706] pgd=0000000000000000 [ 14.279814] SMP: failed to stop secondary CPUs 0,2-3 [ 14.287530] Kernel Offset: disabled [ 14.293747] CPU features: 0x0,24802004 [ 14.300214] Memory Limit: none [ 14.305971] Rebooting in 10 seconds.. Link to comment Share on other sites More sharing options...
cath Posted July 7, 2019 Share Posted July 7, 2019 Here is the serial port output for boinic U-Boot SPL 2019.04-armbian (Jul 06 2019 - 15:13:59 +0200) DRAM: 2048 MiB Trying to boot from MMC1 NOTICE: BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000) NOTICE: Configuring SPC Controller NOTICE: BL3-1: v1.0(debug):c9f55c0 NOTICE: BL3-1: Built : 14:30:11, Jul 6 2019 NOTICE: DT: sun50i-a64-bananapi-m64 INFO: Configuring AXP PMIC INFO: PMIC: DRAM voltage: 1.50V INFO: PMIC: setup successful NOTICE: SCPI: dummy stub handler, implementation level: 000000 INFO: BL3-1: Initializing runtime services INFO: BL3-1: Preparing for EL3 exit to normal world INFO: BL3-1: Next image address: 0x4a000000, SPSR: 0x3c9 U-Boot 2019.04-armbian (Jul 06 2019 - 15:13:59 +0200) Allwinner Technology CPU: Allwinner A64 (SUN50I) Model: BananaPi-M64 DRAM: 2 GiB MMC: Device 'mmc@1c11000': seq 1 is in use by 'mmc@1c10000' mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1 Loading Environment from EXT4... ** File not found /boot/boot.env ** ** Unable to read "/boot/boot.env" from mmc0:1 ** In: serial Out: serial Err: serial Allwinner mUSB OTG (Peripheral) Net: phy interface7 eth0: ethernet@1c30000 Warning: usb_ether using MAC address from ROM , eth1: usb_ether 230454 bytes read in 13 ms (16.9 MiB/s) starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 1 for devices... 1 USB Device(s) found scanning bus 2 for devices... 2 USB Device(s) found scanning bus 3 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Autoboot in 1 seconds, press <Space> to stop switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 3042 bytes read in 1 ms (2.9 MiB/s) ## Executing script at 4fc00000 U-boot loaded from SD Boot script loaded from mmc 153 bytes read in 1 ms (149.4 KiB/s) 33861 bytes read in 5 ms (6.5 MiB/s) 3795 bytes read in 3 ms (1.2 MiB/s) Applying kernel provided DT fixup script (sun50i-a64-fixup.scr) ## Executing script at 44000000 8741673 bytes read in 428 ms (19.5 MiB/s) 14311432 bytes read in 698 ms (19.6 MiB/s) ## Loading init Ramdisk from Legacy Image at 4fe00000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 8741609 Bytes = 8.3 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 4fa00000 Booting using the fdt blob at 0x4fa00000 Loading Ramdisk to 497a9000, end 49fff2e9 ... OK Loading Device Tree to 0000000049738000, end 00000000497a8fff ... OK Starting kernel ... [ 11.258136] Unable to handle kernel paging request at virtual address 000000007323d5f2 [ 11.266065] Mem abort info: [ 11.268856] ESR = 0x96000004 [ 11.271908] Exception class = DABT (current EL), IL = 32 bits [ 11.277820] SET = 0, FnV = 0 [ 11.280869] EA = 0, S1PTW = 0 [ 11.284005] Data abort info: [ 11.286882] ISV = 0, ISS = 0x00000004 [ 11.290712] CM = 0, WnR = 0 [ 11.293680] user pgtable: 4k pages, 48-bit VAs, pgdp = 00000000e976007a [ 11.300287] [000000007323d5f2] pgd=0000000000000000 [ 11.305161] Internal error: Oops: 96000004 [#1] SMP [ 11.310034] Modules linked in: zstd zram brcmfmac brcmutil snd_soc_hdmi_codec snd_soc_spdif_tx snd_soc_simple_card snd_soc_simple_card_utils snd_soc_core cfg80211 snd_pcm_dmaengine lima snd_pcm snd_timer gpu_sched snd ttm axp20x_battery axp20x_ac_power soundcore dw_hdmi_cec dw_hdmi_i2s_audio axp20x_adc sun4i_gpadc_iio industrialio cpufreq_dt thermal_sys sch_fq_codel pinctrl_axp209 realtek [ 11.344469] Process swapper/2 (pid: 0, stack limit = 0x000000001e795c4b) [ 11.351177] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.19.57-sunxi64 #5.90 [ 11.358130] Hardware name: BananaPi-M64 (DT) [ 11.362396] pstate: 60000085 (nZCv daIf -PAN -UAO) [ 11.367192] pc : rcu_is_cpu_rrupt_from_idle+0x0/0x38 [ 11.372154] lr : rcu_check_callbacks+0x60/0x780 [ 11.376678] sp : ffff000008013d50 [ 11.379989] x29: ffff000008013d50 x28: ffff80007bfa3280 [ 11.385296] x27: ffff80007bfa2d40 x26: 0000000000000000 [ 11.390604] x25: 0000000000000080 x24: 000000029eabeb09 [ 11.395912] x23: ffff80007bfa2da0 x22: 0000000000000000 [ 11.401219] x21: ffff00000919bdf0 x20: 0000000000000000 [ 11.406526] x19: ffff000008d92000 x18: 0000000000000000 [ 11.411834] x17: 0000000000000000 x16: 0000000000000000 [ 11.417141] x15: 0000000000000400 x14: 0000000000000400 [ 11.422449] x13: 0000000000000001 x12: 0000000000000000 [ 11.427756] x11: ffff000008d6dd6e x10: 0000000000000040 [ 11.433064] x9 : ffff000008d91f48 x8 : ffff800079400248 [ 11.438371] x7 : ffff800079400290 x6 : 000000001ed85bb5 [ 11.443679] x5 : 000080007323d000 x4 : ffff000008d92e40 [ 11.448986] x3 : 000080007323d000 x2 : ffff000008d92aa8 [ 11.454294] x1 : 00000000000005f2 x0 : ffff000008d92e40 [ 11.459602] Call trace: [ 11.462048] rcu_is_cpu_rrupt_from_idle+0x0/0x38 [ 11.466663] update_process_times+0x2c/0x58 [ 11.470846] tick_sched_handle.isra.5+0x30/0x48 [ 11.475372] tick_sched_timer+0x48/0x98 [ 11.479204] __hrtimer_run_queues+0xe4/0x1f8 [ 11.483471] hrtimer_interrupt+0xf4/0x2b0 [ 11.487481] arch_timer_handler_phys+0x28/0x40 [ 11.491921] handle_percpu_devid_irq+0x80/0x138 [ 11.496450] generic_handle_irq+0x24/0x38 [ 11.500456] __handle_domain_irq+0x5c/0xb0 [ 11.504550] gic_handle_irq+0x58/0xa8 [ 11.508210] el1_irq+0xb0/0x140 [ 11.511349] arch_cpu_idle+0x10/0x18 [ 11.514923] do_idle+0x1d4/0x298 [ 11.518149] cpu_startup_entry+0x20/0x28 [ 11.522071] secondary_start_kernel+0x18c/0x1c8 [ 11.526600] Code: b00063e0 91190000 91100000 17fffff7 (d0006261) [ 11.532689] ---[ end trace 0400e26ad3ded69d ]--- [ 11.537302] Kernel panic - not syncing: Fatal exception in interrupt [ 11.543651] SMP: stopping secondary CPUs [ 11.547571] Kernel Offset: disabled [ 11.551057] CPU features: 0x0,24802004 [ 11.554801] Memory Limit: none [ 11.557856] Rebooting in 10 seconds.. Link to comment Share on other sites More sharing options...
cath Posted July 7, 2019 Share Posted July 7, 2019 sometimes can successfully boot,but it will die and reboot when i do anything (like armbian-config or just login). ____ ____ _ __ __ __ _ _ | __ )| _ \(_) | \/ |/ /_ | || | | _ \| |_) | | | |\/| | '_ \| || |_ | |_) | __/| | | | | | (_) |__ _| |____/|_| |_| |_| |_|\___/ |_| Welcome to Ubuntu Bionic with Armbian Linux 4.19.57-sunxi64 System load: 0.96 0.25 0.08 Up time: 0 min Memory usage: 5 % of 1969MB IP: CPU temp: 59°C Usage of /: 13% of 15G [ 0 security updates available, 57 updates total: apt upgrade ] Last check: 2019-07-06 13:23 [ General system configuration (beta): armbian-config ] gao@bananapim64:~$ [ 43.850351] Internal error: SP/PC alignment exception: 8a000000 [#1] SMP [ 43.861064] Modules linked in: zstd zram brcmfmac brcmutil snd_soc_simple_card snd_soc_spdif_tx snd_soc_hdmi_codec snd_soc_simple_card_utils snd_soc_core cfg80211 snd_pcm_dmaengine snd_pcm snd_timer lima gpu_sched snd dw_hdmi_i2s_audio axp20x_battery ttm soundcore axp20x_ac_power dw_hdmi_cec axp20x_adc sun4i_gpadc_iio industrialio cpufreq_dt thermal_sys sch_fq_codel pinctrl_axp209 realtek [ 43.908815] Process swapper/3 (pid: 0, stack limit = 0x000000002ce13ab2) [ 43.920169] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.19.57-sunxi64 #5.90 [ 43.931856] Hardware name: BananaPi-M64 (DT) [ 43.940824] pstate: 60000085 (nZCv daIf -PAN -UAO) [ 43.950285] pc : 0xa354e5da1 [ 43.957781] lr : 0xa354e5da1 [ 43.965189] sp : ffff00000801bd70 [ 43.972979] x29: ffff800079fb7da0 x28: 003b9aca00000000 [ 43.982827] x27: ffff000008e36fa0 x26: ffff000008d78000 [ 43.992648] x25: ffff000008d78000 x24: 0000000000000000 [ 44.002414] x23: 003d090000000000 x22: 0000000000000000 [ 44.012151] x21: ffff000008e38000 x20: 000000000000bd6e [ 44.021890] x19: ffff000008e36fa0 x18: ffff000008d8ecc8 [ 44.031620] x17: 0000000000000007 x16: 0000000000000001 [ 44.041347] x15: 0000000000000400 x14: 0000000000000400 [ 44.051071] x13: 0000000000000000 x12: 0000000000000001 [ 44.060786] x11: ffff000008d76000 x10: 0000000000000040 [ 44.070497] x9 : ffff000008d91f48 x8 : ffff000008e2e000 [ 44.080193] x7 : 002b646612778a00 x6 : ffffffffffff8300 [ 44.089911] x5 : 0000000000000000 x4 : 003d090000000000 [ 44.099616] x3 : 0000000000017700 x2 : 0000000000017700 [ 44.109281] x1 : 0000000029aaaaab x0 : 0000000000000000 [ 44.118937] Call trace: [ 44.125685] 0xa354e5da1 [ 44.132526] Code: bad PC value [ 44.139841] ---[ end trace 3db4a718f2ce5280 ]--- [ 44.148715] Kernel panic - not syncing: Fatal exception in interrupt [ 44.159390] SMP: stopping secondary CPUs [ 45.271072] SMP: failed to stop secondary CPUs 0-1,3 [ 45.280369] Kernel Offset: disabled [ 45.288180] CPU features: 0x0,24802004 [ 45.296231] Memory Limit: none [ 45.303558] Rebooting in 10 seconds.. Link to comment Share on other sites More sharing options...
Igor Posted July 7, 2019 Share Posted July 7, 2019 33 minutes ago, cath said: Here is the serial port output for boinic Bionic, Stretch, Buster, Jessie, whatever used the same kernel. My board works. Survived 10 reboots into desktop ... which means you failed to read most basic instructions: https://docs.armbian.com/User-Guide_Getting-Started/ or there is a hardware failure which we can't do nothing about. Logs: http://ix.io/1NVr Link to comment Share on other sites More sharing options...
TB-SVN Posted July 7, 2019 Share Posted July 7, 2019 Hi, I have tried to start a BPi M64 with the image 3.83. Unfortunately I just got a few kernel messages which looks like a kernel panic and the last message that the board will be rebooted in 10 seconds. I tried several sd-cards ans boards (I plan to use some in paralel), but nothing changed. I tried as well 3.75, 3.69 and 5.65. with that images but I didn't get any monitor signal and there is no try of getting an ip adress from this board (I checked the dnsmasq log files on my dhcp server). Just the 5.59 image is working. But after an (dist-)upgrade the version change to 3.83 and I have a not running board. As a workaround I freezed kernel updates to be able to use the board but in my opinion this is not the correct way. Has anyone a solution for that topic? Do you need more information? thx for your help! Link to comment Share on other sites More sharing options...
Igor Posted July 7, 2019 Share Posted July 7, 2019 32 minutes ago, TB-SVN said: Has anyone a solution for that topic? Do you need more information? There is a similar report above, but my - the one and only - Bananapi M64 works fine. In such cases, details photo of PCB, revision number might help. Incompatible memory chips, low quality components, ... Its good that this data is getting collected and perhaps someone gets an idea or have time to investigate deeper. Link to comment Share on other sites More sharing options...
sisyphos Posted September 28, 2019 Share Posted September 28, 2019 Hi I got my BPI-M64 board V1.1 up and running using the Debian 4.4 image, however I am not able to use Armbian. I tried several SD cards, and checked the power supply delivering enough juice for the board (among others I monitor the volatage on the 3.3V and 5V pins of the GPIO Pin header). For example using the Armbian_5.90_Bananapim64_Debian_buster_next_4.19.57.img with mainline kernel from https://www.armbian.com/bananapi-m64/ It starts up into u-boot fine: U-Boot 2019;04-armbian (Jul 06 2019 - 15:13:59 +0200) Allwinner Technology CPU: Allwinner A64 (SUN50I) Model: BananaPi-M64 DRAM: 2 GiB MMC: Device 'mmc@1c11000': seq 1 is in use by 'mmc@1c10000' mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1 Loading Environment from EXT4... ** File not found /boot/boot.env ** ** Unable to read "/boot/boot.env" from mmc0:1 ** In: serial Out: vidconsole Err: vidconsole Allwinner mUSB OTG (Peripheral) Net: phy interface7 eth0: ethernet@1c30000 Warning: usb_ether using MAC address from ROM , eth1: usb_ether 230454 bytes read in 12 ms (18.3 MiB/s) starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 1 for devices... 1 USB Device(s) found scanning bus 2 for devices... 4 USB Device(s) found scanning bus 3 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Autoboot in 1 seconds, press <Space> to stop the boot.env error I solved via => env default -f -a ## Resetting default environment => env save Saving Environment to EXT4... Recovery required File Sysem is consistent update journal finished done OK => reset but will still fail later with a kernel panic around ... [ OK ] Started Helper to synchronize boot up for ifdown. [ OK ] Started Created Static Device Nodes in /dev. Starting udev Kernel Device Manager... [ OK ] Started Flush Journal to Persistent Storage. [ OK ] Started udev Kernel Device Manager. [ OK ] Started Set the console keyboard layout. [ OK ] Reached target Local File System (Pre) Mounting /tmp... [ OK ] Mounted /tmp. [ OK ] Reached target Local File System What can I do to get to the root of this issue and fix it? Link to comment Share on other sites More sharing options...
sisyphos Posted September 28, 2019 Share Posted September 28, 2019 Reading up on other topics like: and and I was wondering if maybe the default configuration for the A64 start it with a borderline high frequency. depending on the board quality it works, for others not. Combined with the fact that temperature readings seem not to work properly and as such thermal throttling not working, the system is running into a kernel panic. I furtehr noticed that the CPU is getting warmer then when using it with the Debian 4.4 image. To test this, I would like to startup the kernel with a lower frequency. Normally - if I understand correctly I would change the CPU frequency in /etc/default/cpufrequtils - but is there a way to set this on uboot? Link to comment Share on other sites More sharing options...
sisyphos Posted September 28, 2019 Share Posted September 28, 2019 Maybe further infos of my board; eMMC : Samsung KLM8G1WEPD-B031 PwrMgmt : X-Powers AXP803 Memory : SKhynix H5TQ4G83CFR Link to comment Share on other sites More sharing options...
BradW Posted September 30, 2019 Share Posted September 30, 2019 I'm facing a similar issue on my Banana Pi M64. It runs through reboot in 10 seconds several times before eventually getting me to the login. It did allow me to change the default password but now it reboots any time I get to the login and enter the password. Link to comment Share on other sites More sharing options...
BradW Posted October 5, 2019 Share Posted October 5, 2019 I can confirm @sisyphos experience. After checking power supplies and SD cards doing apt-get update and apt-get upgrade the armbian image continued to crash frequently and fail to boot doing many reboots to get to a login. But the Debian 4.4 image he linked to installed and booted to a desktop on it's first attempt. Link to comment Share on other sites More sharing options...
Igor Posted October 7, 2019 Share Posted October 7, 2019 On 9/28/2019 at 7:10 PM, sisyphos said: Maybe further infos of my board; It looks almost identical to mine: which boots fine for me but I manage to trigger power off while stressing the board heavily. Perhaps I did reach the thermal limits, perhaps they are set too low. This has to be inspected when time permits. Yes, there are some issues with A64 which are not resolved yet. Try attached image. Boot log: http://ix.io/1XUB Dealing with proprietary Allwinner boot and Kernel 4.4.y combo is IMHO pure waste of time. Armbian_5.98_Bananapim64_Debian_buster_current_5.3.3_minimal.img.gz Link to comment Share on other sites More sharing options...
Monster Posted November 7, 2019 Share Posted November 7, 2019 (edited) Confirm this issue. Please revert linux-dtb-next-sunxi64 package to version from stretch distribution. Bug locate suggestion: make DTB differences as overlays and activate them individually. I can help your with this process). Edited November 8, 2019 by Monster add suggestions Link to comment Share on other sites More sharing options...
shaddow501 Posted January 19, 2020 Share Posted January 19, 2020 Hello The problem I think it is that the manufacturer updated the hardware (it is now V1.2) Here is the official answer; our products and systems need to be updated, so every batch of hardware and software is updated. The products produced this year have updated DDR materials, so I think This is one reason. In addition, since armbian is not our official system, I have asked for technical help, and they have no way to solve this problem. We will remind on the official website that WiFi is unavailable. I think it is the problem of the crashes. 1 Link to comment Share on other sites More sharing options...
Igor Posted January 19, 2020 Share Posted January 19, 2020 1 hour ago, shaddow501 said: I think it is the problem of the crashes. I am not fully satisfied since we have seen similar or same crashes on Orangepi Win. Link to comment Share on other sites More sharing options...
shaddow501 Posted January 20, 2020 Share Posted January 20, 2020 5 hours ago, Igor said: I am not fully satisfied since we have seen similar or same crashes on Orangepi Win. Well since Orange PI Win uses the same chip, and since it is no secret that china copies almost everything, I wont be surprised if Banana A64 and Orange PI Win uses the exact hardware configuration, if one is EOL most likely that they both be moving to the exact next revision of the chips. (DDR & Wifi/BT) Best way is to compare between them. Link to comment Share on other sites More sharing options...
Recommended Posts