0
kometch

Banana Pi M64 kernel error

Recommended Posts

(edited)
Armbianmonitor:

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 by Igor
spoilers

Share this post


Link to post
Share on other sites
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 ?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
(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 by Igor
spoilers

Share this post


Link to post
Share on other sites
(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 by Igor
spoilers

Share this post


Link to post
Share on other sites
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 ...

Share this post


Link to post
Share on other sites
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 ...

 

Share this post


Link to post
Share on other sites
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 ...

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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 :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0