Jump to content

rock 3a was using it on the latest armbian, Internal error: Oops: 0000000086000004 [#1] PREEMPT SMP


vamzi

Recommended Posts

 

 [22787.457010] Internal error: Oops: 0000000086000004 [#1] PREEMPT SMP                                        
[22787.457594] Modules linked in: xt_nat xt_tcpudp veth xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlinks
[22787.465404] CPU: 1 PID: 609416 Comm: kworker/u8:5 Not tainted 6.1.11-rk35xx #23.02.2                                      
[22787.466103] Hardware name: Radxa ROCK3 Model A (DT)                                                                       
[22787.466552] Workqueue: ext4-rsv-conversion ext4_end_io_rsv_work                                                           
[22787.467107] pstate: 804000c9 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)                                               
[22787.467732] pc : 0x0                                                                                                      
[22787.467945] lr : __hrtimer_run_queues+0x104/0x318                                                                         
[22787.468378] sp : ffff80000800bea0                                                                                         
[22787.468681] x29: ffff80000800bea0 x28: 000014b9b057287e x27: ffff800031f53cd0                                             
[22787.469325] x26: 00000000000000c0 x25: 0000000000000004 x24: ffff8000096b8008                                             
[22787.469968] x23: 0000000000000000 x22: ffff800009999a48 x21: ffff0001fef71500                                             
[22787.470612] x20: ffff0001fef71540 x19: ffff0001fef71580 x18: 0000000000000000                                             
[22787.471254] x17: ffff8001f58b4000 x16: ffff80000800c000 x15: 00002e53bb97ad60                                             
[22787.471894] x14: 000000000000011c x13: 0000000000000016 x12: 0000000000000001                                             
[22787.472534] x11: 0000000000000003 x10: 000000000000001c x9 : ffff00013bcb8f40                                             
[22787.473177] x8 : 0000000000000000 x7 : 7fffffffffffffff x6 : 0000000000000001                                             
[22787.473820] x5 : 000014b9b0941500 x4 : 0000000000000000 x3 : 0000000000010002                                             
[22787.474462] x2 : 0000000000010001 x1 : ffff00013bcb8ec0 x0 : ffff800031f53cd0                                             
[22787.475102] Call trace:                                                                                                   
[22787.475331]  0x0                                                                                                          
[22787.475507]  hrtimer_interrupt+0xf4/0x250                                                                                 
[22787.475875]  arch_timer_handler_phys+0x30/0x40                                                                            
[22787.476280]  handle_percpu_devid_irq+0xa0/0x238                                                                           
[22787.476694]  generic_handle_domain_irq+0x2c/0x48                                                                          
[22787.476933] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000                          
[22787.477111]  gic_handle_irq+0x50/0x130                                                                                    
[22787.477128] Mem abort info:                                                                                               
[22787.477133]  call_on_irq_stack+0x2c/0x54                                                                                  
[22787.477903]   ESR = 0x0000000086000004                                                                                    
[22787.477911]  do_interrupt_handler+0xd8/0xf0                                                                               
[22787.478247]   EC = 0x21: IABT (current EL), IL = 32 bits                                                                  
[22787.478253]   SET = 0, FnV = 0                                                                                            
[22787.478498]  el1_interrupt+0x38/0x70                                                                                      
[22787.478507]  el1h_64_irq_handler+0x18/0x28                                                                                
[22787.478848]   EA = 0, S1PTW = 0                                                                                           
[22787.478855]  el1h_64_irq+0x64/0x68                                                                                        
[22787.478861]  _raw_spin_unlock_irqrestore+0x18/0x40                                                                        
[22787.479189]   FSC = 0x04: level 0 translation fault                                                                       
[22787.479194]  ext4_finish_bio+0x17c/0x2e0                                                                                  
[22787.479565] user pgtable: 4k pages, 48-bit VAs, pgdp=00000001a86f2000                                                     
[22787.479571]  ext4_release_io_end+0x4c/0x128                                                                               
[22787.479579]  ext4_end_io_rsv_work+0x108/0x1d8                                                                             
[22787.480041] [0000000000000000] pgd=0000000000000000                                                                       
[22787.480047]  process_one_work+0x21c/0x4a0                                                                                 
[22787.480321] , p4d=0000000000000000                                                                                        
[22787.480328]  worker_thread+0x48/0x420                                                                                     
[22787.480646]                                                                                                               
[22787.480652]  kthread+0xf0/0x108                                                                                           
[22787.480659]  ret_from_fork+0x10/0x20                                                                                      
[22787.486226] Code: bad PC value                                                                                            
[22787.486513] ---[ end trace 0000000000000000 ]---                                                                          
[22787.486928] Kernel panic - not syncing: Oops: Fatal exception in interrupt                                                
[22787.487537] SMP: stopping secondary CPUs                                                                                  
[22788.654556] SMP: failed to stop secondary CPUs 1-2                                                                        
[22788.654987] Kernel Offset: disabled                                                                                       
[22788.655300] CPU features: 0x30000,000400a4,6600721b                                                                       
[22788.655736] Memory Limit: none                                                                                            
[22788.656017] Rebooting in 90 seconds..    

this happens and doesnt reboot, its just hung up, need to force reboot it, any suggestions on it please?

 

this is the setup,

image.thumb.png.a82e35c1a396db1e9ba2cae525dc6649.png

 

using the official sata hat, 4 drives in raid 5 that is on /dev/md0

 

this crash happened when i am trying to bulk upload the local images from my pc to immich server

image.png.5b8a2fd632f36fb6e2ae384f7e09a89c.png

 

and rock crashed with the above error

 

after force restarting the rock 3a, it didnt recognize the raid array,one of the hdd was missing, had to restart the rock along with the power supply to pi hat, then it started working fine..

 

thanks

 

Edited by vamzi
updated the actions that caused the panic
Link to comment
Share on other sites

after restarting this are the initial logs captured through gpio debug pins

DDR Version V1.10 20210810             
In             
ddrconfig:7             
LPDDR4X, 324MHz             
BW=32 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=8192MB             
tdqss: cs0 dqs0: 48ps, dqs1: -48ps, dqs2: -48ps, dqs3: -120ps,              
tdqss: cs1 dqs0: 72ps, dqs1: -72ps, dqs2: -48ps, dqs3: -120ps,              
             
change to: 324MHz             
PHY drv:clk:36,ca:36,DQ:29,odt:60             
vrefinner:16%, vrefout:41%             
dram drv:40,odt:0             
clk skew:0x60             
             
change to: 528MHz             
PHY drv:clk:36,ca:36,DQ:29,odt:60             
vrefinner:16%, vrefout:41%             
dram drv:40,odt:0             
clk skew:0x58             
             
change to: 780MHz             
PHY drv:clk:36,ca:36,DQ:29,odt:60             
vrefinner:16%, vrefout:41%             
dram drv:40,odt:0             
clk skew:0x58             
             
change to: 1560MHz(final freq)             
PHY drv:clk:36,ca:36,DQ:29,odt:60             
vrefinner:16%, vrefout:22%             
dram drv:40,odt:80             
vref_ca:00000071             
clk skew:0x1c             
cs 0:             
the read training result:             
DQS0:0x38, DQS1:0x38, DQS2:0x3b, DQS3:0x2f,              
min  :0x10 0x11 0x15 0x12  0x3  0x7  0xc  0x8 , 0xc  0x8  0x1  0x5  0xf  0xc  0xd  0xa ,             
      0x15 0x14  0xf  0xc  0x6  0x1  0x3  0x8 , 0xe  0x7  0x7  0x2  0xf  0xf  0xc  0xf ,             
mid  :0x2d 0x2e 0x31 0x2d 0x20 0x24 0x27 0x22 ,0x28 0x26 0x1f 0x22 0x2d 0x28 0x29 0x27 ,             
      0x31 0x31 0x2b 0x2a 0x22 0x1f 0x20 0x25 ,0x26 0x21 0x21 0x1c 0x2a 0x2b 0x27 0x2a ,             
max  :0x4b 0x4b 0x4d 0x49 0x3d 0x42 0x43 0x3d ,0x44 0x44 0x3d 0x3f 0x4b 0x45 0x46 0x44 ,             
      0x4d 0x4f 0x48 0x48 0x3e 0x3d 0x3d 0x42 ,0x3f 0x3c 0x3c 0x37 0x45 0x47 0x42 0x45 ,             
range:0x3b 0x3a 0x38 0x37 0x3a 0x3b 0x37 0x35 ,0x38 0x3c 0x3c 0x3a 0x3c 0x39 0x39 0x3a ,             
      0x38 0x3b 0x39 0x3c 0x38 0x3c 0x3a 0x3a ,0x31 0x35 0x35 0x35 0x36 0x38 0x36 0x36 ,             
the write training result:             
DQS0:0x25, DQS1:0x13, DQS2:0x13, DQS3:0x5,              
min  :0x6b 0x6e 0x72 0x6f 0x5e 0x64 0x67 0x68 0x65 ,0x54 0x52 0x4e 0x51 0x58 0x55 0x5a 0x56 0x52 ,             
      0x5a 0x5a 0x54 0x52 0x49 0x48 0x4b 0x4e 0x4f ,0x4c 0x4b 0x49 0x48 0x51 0x52 0x4f 0x55 0x46 ,             
mid  :0x87 0x89 0x8d 0x8a 0x77 0x7d 0x82 0x81 0x7d ,0x6f 0x6d 0x66 0x69 0x72 0x6e 0x72 0x70 0x6b ,             
      0x76 0x76 0x6e 0x6e 0x64 0x61 0x65 0x69 0x6a ,0x66 0x64 0x61 0x60 0x69 0x6c 0x68 0x6f 0x60 ,             
max  :0xa4 0xa5 0xa9 0xa5 0x91 0x97 0x9e 0x9a 0x96 ,0x8b 0x89 0x7f 0x82 0x8d 0x88 0x8b 0x8b 0x85 ,             
      0x93 0x92 0x88 0x8b 0x80 0x7b 0x80 0x85 0x85 ,0x80 0x7d 0x7a 0x79 0x82 0x87 0x81 0x89 0x7b ,             
range:0x39 0x37 0x37 0x36 0x33 0x33 0x37 0x32 0x31 ,0x37 0x37 0x31 0x31 0x35 0x33 0x31 0x35 0x33 ,             
      0x39 0x38 0x34 0x39 0x37 0x33 0x35 0x37 0x36 ,0x34 0x32 0x31 0x31 0x31 0x35 0x32 0x34 0x35 ,             
cs 1:             
the read training result:             
DQS0:0x36, DQS1:0x37, DQS2:0x3b, DQS3:0x32,              
min  : 0xf 0x11 0x15 0x12  0x1  0x8  0xc  0x9 , 0xc  0x6  0x2  0x2  0xf  0xb  0xe  0x8 ,             
      0x15 0x12  0xe  0xc  0x5  0x1  0x3  0x7 , 0xe  0x9  0x9  0x3 0x11 0x11 0x10 0x12 ,             
mid  :0x2b 0x2d 0x30 0x2d 0x1d 0x24 0x26 0x22 ,0x27 0x24 0x1d 0x1f 0x2b 0x28 0x29 0x24 ,             
      0x31 0x31 0x2b 0x2a 0x21 0x1f 0x20 0x24 ,0x28 0x25 0x24 0x20 0x2c 0x2c 0x2c 0x2e ,             
max  :0x47 0x49 0x4b 0x48 0x3a 0x40 0x41 0x3b ,0x42 0x42 0x39 0x3d 0x48 0x45 0x44 0x41 ,             
      0x4e 0x50 0x48 0x48 0x3d 0x3e 0x3e 0x42 ,0x42 0x42 0x40 0x3d 0x48 0x48 0x48 0x4b ,             
range:0x38 0x38 0x36 0x36 0x39 0x38 0x35 0x32 ,0x36 0x3c 0x37 0x3b 0x39 0x3a 0x36 0x39 ,             
      0x39 0x3e 0x3a 0x3c 0x38 0x3d 0x3b 0x3b ,0x34 0x39 0x37 0x3a 0x37 0x37 0x38 0x39 ,             
the write training result:             
DQS0:0x25, DQS1:0x13, DQS2:0x13, DQS3:0x5,              
min  :0x71 0x73 0x76 0x74 0x62 0x69 0x6e 0x6c 0x6b ,0x50 0x4f 0x48 0x4c 0x55 0x51 0x56 0x52 0x4e ,             
      0x5b 0x5c 0x56 0x53 0x4b 0x49 0x4f 0x52 0x53 ,0x4e 0x4c 0x4a 0x47 0x52 0x53 0x52 0x56 0x4a ,             
mid  :0x8d 0x8f 0x92 0x8f 0x7d 0x82 0x88 0x86 0x85 ,0x6d 0x6b 0x63 0x66 0x70 0x6c 0x70 0x6e 0x69 ,             
      0x78 0x78 0x70 0x70 0x66 0x64 0x68 0x6c 0x6d ,0x6a 0x67 0x65 0x62 0x6d 0x6f 0x6b 0x71 0x65 ,             
max  :0xaa 0xac 0xaf 0xab 0x99 0x9c 0xa2 0xa1 0x9f ,0x8a 0x88 0x7f 0x81 0x8b 0x88 0x8a 0x8a 0x85 ,             
      0x95 0x94 0x8b 0x8d 0x82 0x7f 0x81 0x86 0x88 ,0x87 0x82 0x80 0x7d 0x89 0x8b 0x85 0x8d 0x80 ,             
range:0x39 0x39 0x39 0x37 0x37 0x33 0x34 0x35 0x34 ,0x3a 0x39 0x37 0x35 0x36 0x37 0x34 0x38 0x37 ,             
      0x3a 0x38 0x35 0x3a 0x37 0x36 0x32 0x34 0x35 ,0x39 0x36 0x36 0x36 0x37 0x38 0x33 0x37 0x36 ,             
CA Training result:             
cs:0 min  :0x4f 0x53 0x45 0x46 0x45 0x43 0x4f ,0x4e 0x4a 0x42 0x3f 0x41 0x41 0x4c ,             
cs:0 mid  :0x8f 0x8f 0x85 0x82 0x83 0x7e 0x80 ,0x8c 0x87 0x80 0x7c 0x80 0x7e 0x7e ,             
cs:0 max  :0xcf 0xcb 0xc5 0xbe 0xc2 0xb9 0xb1 ,0xca 0xc4 0xbe 0xb9 0xc0 0xbc 0xb1 ,             
cs:0 range:0x80 0x78 0x80 0x78 0x7d 0x76 0x62 ,0x7c 0x7a 0x7c 0x7a 0x7f 0x7b 0x65 ,             
cs:1 min  :0x4d 0x57 0x43 0x4b 0x43 0x46 0x51 ,0x49 0x51 0x40 0x44 0x40 0x47 0x4c ,             
cs:1 mid  :0x8f 0x8f 0x86 0x82 0x84 0x7e 0x83 ,0x8c 0x88 0x81 0x7c 0x82 0x7f 0x7f ,             
cs:1 max  :0xd1 0xc8 0xc9 0xba 0xc6 0xb6 0xb6 ,0xd0 0xc0 0xc3 0xb4 0xc4 0xb7 0xb2 ,             
cs:1 range:0x84 0x71 0x86 0x6f 0x83 0x70 0x65 ,0x87 0x6f 0x83 0x70 0x84 0x70 0x66 ,             
out             
U-Boot SPL board init             
U-Boot SPL 2017.09-armbian (Sep 21 2022 - 18:46:05)             
Trying to boot from MMC2             
## Verified-boot: 0             
## Checking atf-1 0x00040000 ... sha256(2f01bd8955...) + OK             
## Checking uboot 0x00a00000 ... sha256(41dab642c0...) + OK             
## Checking fdt 0x00b2ece0 ... sha256(877bce1efa...) + OK             
## Checking atf-2 0xfdcc9000 ... sha256(f1fecab971...) + OK             
## Checking atf-3 0xfdcd0000 ... sha256(d7aa45eb18...) + OK             
Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)             
Total: 695.605 ms             
             
INFO:    Preloader serial: 2             
NOTICE:  BL31: v2.3():v2.3-152-g4e725b15f:cl             
NOTICE:  BL31: Built : 10:51:13, Jul 15 2021             
INFO:    GICv3 without legacy support detected.             
INFO:    ARM GICv3 driver initialized in EL3             
INFO:    pmu v1 is valid             
INFO:    dfs DDR fsp_param[0].freq_mhz= 1560MHz             
INFO:    dfs DDR fsp_param[1].freq_mhz= 324MHz             
INFO:    dfs DDR fsp_param[2].freq_mhz= 528MHz             
INFO:    dfs DDR fsp_param[3].freq_mhz= 780MHz             
INFO:    Using opteed sec cpu_context!             
INFO:    boot cpu mask: 0             
INFO:    BL31: Initializing runtime services             
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will reK
ERROR:   Error initializing runtime service opteed_fast             
INFO:    BL31: Preparing for EL3 exit to normal world             
INFO:    Entry point address = 0xa00000             
INFO:    SPSR = 0x3c9             
             
             
U-Boot 2017.09-armbian (Sep 21 2022 - 18:46:05 +0000)             
             
Model: Radxa ROCK3 Model A             
PreSerial: 2, raw, 0xfe660000             
DRAM:  7.7 GiB             
Sysmem: init             
Relocation Offset: ed349000             
Relocation fdt: eb9f79c0 - eb9fece0             
CR: M/C/I             
Using default environment             
             
no mmc device at slot 1             
dwmmc@fe2b0000: 1 (SD), dwmmc@fe2c0000: 2, sdhci@fe310000: 0             
Bootdev(atags): mmc 1             
MMC1: Legacy, 52Mhz             
PartType: EFI             
No misc partition             
boot mode: None             
FIT: No boot partition             
No resource partition             
No resource partition             
Failed to load DTB, ret=-19             
Failed to get kernel dtb, ret=-19             
I2c0 speed: 100000Hz             
vsel-gpios- not found! Error: -2             
vdd_cpu 1025000 uV             
PMIC:  RK8090 (on=0x40, off=0x00)             
vdd_logic init 900000 uV             
vdd_gpu init 900000 uV             
vdd_npu init 900000 uV             
io-domain: OK             
Model: Radxa ROCK3 Model A             
rockchip_set_serialno: could not find efuse/otp device             
CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A)             
  apll 816000 KHz             
  dpll 780000 KHz             
  gpll 1188000 KHz             
  cpll 1000000 KHz             
  npll 24000 KHz             
  vpll 24000 KHz             
  hpll 24000 KHz             
  ppll 200000 KHz             
  armclk 816000 KHz             
  aclk_bus 150000 KHz             
  pclk_bus 50000 KHz             
  aclk_top_high 300000 KHz             
  aclk_top_low 200000 KHz             
  hclk_top 150000 KHz             
  pclk_top 50000 KHz             
  aclk_perimid 300000 KHz             
  hclk_perimid 150000 KHz             
  pclk_pmu 100000 KHz             
No misc partition             
Net:   No ethernet found.             
Hit key to stop autoboot('CTRL+C'):  0              
             
Device 0: unknown device             
switch to partitions #0, OK             
mmc1 is current device             
Scanning mmc 1:1...             
Found U-Boot script /boot.scr             
reading /boot.scr             
3242 bytes read in 2 ms (1.5 MiB/s)             
## Executing script at 00c00000             
Boot script loaded from mmc 1             
reading /armbianEnv.txt             
232 bytes read in 1 ms (226.6 KiB/s)             
reading /uInitrd             
21977072 bytes read in 1814 ms (11.6 MiB/s)             
reading /Image             
29096448 bytes read in 2401 ms (11.6 MiB/s)             
reading /dtb/rockchip/rk3568-rock-3a.dtb             
118062 bytes read in 16 ms (7 MiB/s)             
** Unable to read file /dtb/rockchip/overlay/rk35xx-fixup.scr **             
Fdt Ramdisk skip relocation             
No misc partition             
## Loading init Ramdisk from Legacy Image at 0a200000 ...             
   Image Name:   uInitrd             
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)             
   Data Size:    21977008 Bytes = 21 MiB             
   Load Address: 00000000             
   Entry Point:  00000000             
   Verifying Checksum ... OK             
## Flattened Device Tree blob at 0x0a100000             
   Booting using the fdt blob at 0x0a100000             
   reserving fdt memory region: addr=a100000 size=83000             
   Using Device Tree in place at 000000000a100000, end 000000000a185fff             
can't found rockchip,drm-logo, use rockchip,fb-logo             
WARNING: could not set reg FDT_ERR_BADOFFSET.             
failed to reserve fb-loader-logo memory             
Adding bank: 0x00200000 - 0xf0000000 (size: 0xefe00000)             
Adding bank: 0x100000000 - 0x200000000 (size: 0x100000000)             
Total: 5929.55 ms

 

if these details can help

Link to comment
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...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines