BPi R3 kernel panic on 23.05.2

Hello, I have a R3 for my home network that randomly crashes and reboots in recovery. I managed to recover the logs from /sys/fs/fports you can find below. It seems to be the same problems this other user has, that sums up to:

Unable to handle kernel access to user memory outside uaccess routines at virtual address 00

Any idea I could troubleshoot this?

Here the complete logs.

/sys/fs/pstore# vi dmesg-ramoops-0

Oops#1 Part1                                                                                                  
<6>[   14.359480] br-lan: port 3(lan3) entered disabled state                                                 
<6>[   14.367340] device lan3 entered promiscuous mode                                                        
<6>[   14.383141] mt7530-mdio mdio-bus:1f lan4: configuring for phy/gmii link mode                            
<6>[   14.392998] br-lan: port 4(lan4) entered blocking state                                                 
<6>[   14.398227] br-lan: port 4(lan4) entered disabled state                                                 
<6>[   14.406227] device lan4 entered promiscuous mode                                                        
<6>[   14.418439] mt7530-mdio mdio-bus:1f sfp2: configuring for inband/2500base-x link mode                   
<6>[   14.428245] br-lan: port 5(sfp2) entered blocking state                                                 
<6>[   14.433537] br-lan: port 5(sfp2) entered disabled state                                                 
<6>[   14.441675] device sfp2 entered promiscuous mode                                                        
<6>[   14.457123] mt7530-mdio mdio-bus:1f wan: configuring for phy/gmii link mode                             
<6>[   14.466936] br-lan: port 6(wan) entered blocking state                                                  
<6>[   14.472110] br-lan: port 6(wan) entered disabled state                                                  
<6>[   14.480323] device wan entered promiscuous mode                                                         
<6>[   14.493875] mtk_soc_eth 15100000.ethernet eth1: configuring for inband/2500base-x link mode             
<6>[   16.482306] mt7530-mdio mdio-bus:1f lan2: Link is Up - 100Mbps/Full - flow control rx/tx                
<6>[   16.514542] br-lan: port 7(phy1-ap0) entered blocking state                                             
<6>[   16.520123] br-lan: port 7(phy1-ap0) entered disabled state                                             
<6>[   16.525839] device phy1-ap0 entered promiscuous mode                                                    
<6>[   16.530888] br-lan: port 7(phy1-ap0) entered blocking state                                             
<6>[   16.536443] br-lan: port 7(phy1-ap0) entered forwarding state                                           
<6>[   16.542319] br-lan: port 7(phy1-ap0) entered disabled state                                             
<6>[   16.544598] mt7530-mdio mdio-bus:1f lan4: Link is Up - 100Mbps/Full - flow control off                  
<6>[   16.547990] br-lan: port 2(lan2) entered blocking state                                                 
<6>[   16.560980] br-lan: port 2(lan2) entered forwarding state                                               
<6>[   16.566420] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready                                   
<6>[   16.573038] br-lan: port 4(lan4) entered blocking state                                                 
<6>[   16.578248] br-lan: port 4(lan4) entered forwarding state                                               
<6>[   16.583689] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan.1: link becomes ready                                 
<6>[   16.590383] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan.10: link becomes ready                                
<6>[   16.601050] device phy1-ap0 left promiscuous mode                                                       
<6>[   16.605799] br-lan: port 7(phy1-ap0) entered disabled state                                             
<6>[   16.671598] br-lan: port 7(phy1-ap0) entered blocking state                                             
<6>[   16.677175] br-lan: port 7(phy1-ap0) entered disabled state                                             
<6>[   16.683008] device phy1-ap0 entered promiscuous mode                                                    
<6>[   17.256245] br-lan: port 8(phy0-ap0) entered blocking state                                             
<6>[   17.261829] br-lan: port 8(phy0-ap0) entered disabled state                                             
<6>[   17.267535] device phy0-ap0 entered promiscuous mode                                                    
<6>[   17.272614] br-lan: port 8(phy0-ap0) entered blocking state                                             
<6>[   17.278170] br-lan: port 8(phy0-ap0) entered forwarding state                                           
<6>[   17.550108] br-lan: port 8(phy0-ap0) entered disabled state                                             
<6>[   17.708677] mt7530-mdio mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control rx/tx                   
<6>[   17.716536] br-lan: port 6(wan) entered blocking state                                                  
<6>[   17.721668] br-lan: port 6(wan) entered forwarding state                                                
<6>[   17.862563] mt7530-mdio mdio-bus:1f lan3: Link is Up - 1Gbps/Full - flow control off                    
<6>[   17.870332] br-lan: port 3(lan3) entered blocking state                                                 
<6>[   17.875544] br-lan: port 3(lan3) entered forwarding state                                               
<6>[   19.540507] IPv6: ADDRCONF(NETDEV_CHANGE): phy0-ap0: link becomes ready                                 
<6>[   19.547224] br-lan: port 8(phy0-ap0) entered blocking state                                             
<6>[   19.552795] br-lan: port 8(phy0-ap0) entered forwarding state                                           
<6>[   19.601730] br-lan: port 9(phy0-ap1) entered blocking state                                             
<6>[   19.607311] br-lan: port 9(phy0-ap1) entered disabled state                                             
<6>[   19.613160] device phy0-ap1 entered promiscuous mode                                                    
<6>[   19.619169] br-lan: port 9(phy0-ap1) entered blocking state        
<6>[   19.624755] br-lan: port 9(phy0-ap1) entered forwarding state
<6>[   19.632204] device phy0-ap1 left promiscuous mode                                                       
<6>[   19.636955] br-lan: port 9(phy0-ap1) entered disabled state                                             
<6>[   19.740994] br-lan: port 9(phy0-ap1) entered blocking state                                             
<6>[   19.746563] br-lan: port 9(phy0-ap1) entered disabled state                                             
<6>[   19.752320] device phy0-ap1 entered promiscuous mode                                                    
<6>[   19.757335] br-lan: port 9(phy0-ap1) entered blocking state                                             
<6>[   19.762899] br-lan: port 9(phy0-ap1) entered forwarding state                                           
<6>[   19.768897] IPv6: ADDRCONF(NETDEV_CHANGE): phy0-ap1: link becomes ready                                 
<6>[   43.309653] sfp sfp-1: module HUAWEI           MA5671A          rev 0000 sn 032WDY10J9006272 dc 180510  
<6>[   43.358875] hwmon hwmon4: temp1_input not attached to any thermal zone                                  
<6>[   43.380109] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 2.5Gbps/Full - flow control off            
<6>[   43.388599] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready                                     
<6>[   43.395188] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.835: link becomes ready                                 
<6>[   59.030855] pppoe-fibra: renamed from ppp0                                                              
<6>[   80.557918] IPv6: ADDRCONF(NETDEV_CHANGE): phy1-ap0: link becomes ready                                 
<6>[   80.564684] br-lan: port 7(phy1-ap0) entered blocking state                                             
<6>[   80.570268] br-lan: port 7(phy1-ap0) entered forwarding state                                           
<6>[ 6351.002178] mt7530-mdio mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx                  
<6>[ 6351.010133] br-lan: port 1(lan1) entered blocking state                                                 
<6>[ 6351.015361] br-lan: port 1(lan1) entered forwarding state                                               
<1>[10434.760710] Unable to handle kernel access to user memory outside uaccess routines at virtual address 00
<1>[10434.771407] Mem abort info:                                                                             
<1>[10434.774193]   ESR = 0x0000000096000005                                                                  
<1>[10434.777926]   EC = 0x25: DABT (current EL), IL = 32 bits                                                
<1>[10434.783218]   SET = 0, FnV = 0                                                                          
<1>[10434.786261]   EA = 0, S1PTW = 0                                                                         
<1>[10434.789386]   FSC = 0x05: level 1 translation fault                                                     
<1>[10434.794249] Data abort info:                                                                            
<1>[10434.797113]   ISV = 0, ISS = 0x00000005                                                                 
<1>[10434.800930]   CM = 0, WnR = 0                                                                           
<1>[10434.803893] user pgtable: 4k pages, 39-bit VAs, pgdp=00000000458a7000                                   
<1>[10434.810313] [0000000000000008] pgd=0000000000000000, p4d=0000000000000000, pud=0000000000000000         
<0>[10434.818996] Internal error: Oops: 0000000096000005 [#1] SMP                                             
<7>[10434.824548] Modules linked in: pppoe ppp_async nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flo
<7>[10434.902930] CPU: 3 PID: 1703 Comm: hostapd Not tainted 5.15.137 #0                                      
<7>[10434.909091] Hardware name: Bananapi BPI-R3 (DT)                                                         
<7>[10434.913602] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)                             
<7>[10434.920543] pc : 0xffffffc0009da53c [mac80211@0000000045da9f82+0x83000]                                 
<7>[10434.927148] lr : 0xffffffc0009da0dc [mac80211@0000000045da9f82+0x83000]                                 
<7>[10434.933742] sp : ffffffc00a4a36d0                                                                       
<7>[10434.937040] x29: ffffffc00a4a36d0 x28: 0000000000000001 x27: ffffffc00a4a3dd0                           
<7>[10434.944155] x26: ffffff800007e880 x25: ffffff80056b0900 x24: ffffff800558e735                           
<7>[10434.951271] x23: 0000000000081620 x22: ffffffc00a4a37f8 x21: 0000058d1783bf82                           
<7>[10434.958386] x20: ffffff800558e000 x19: ffffffc00a4a37f8 x18: 0000000000000000                           
<7>[10434.965502] x17: 0000000000000000 x16: 0000000000000000 x15: 0000007f996917e0                           
<7>[10434.972617] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000                           
<7>[10434.979732] x11: 0000000000000040 x10: ffffffc008afdde0 x9 : 0000000000000000                           
<7>[10434.986847] x8 : ffffffc00a4a38e0 x7 : ffffff8000e68880 x6 : 000000005b6111b3                           
<7>[10434.993962] x5 : ffffff8000e683a0 x4 : 0000000000000000 x3 : 0000000000000000                           
<7>[10435.001078] x2 : ffffffc00a4a383c x1 : 0000000000000001 x0 : 0000000000000000                           
<7>[10435.008193] Call trace:                                                                                 
<7>[10435.010626]  0xffffffc0009da53c [mac80211@0000000045da9f82+0x83000]                                     
<7>[10435.016874]  0xffffffc0009f23bc [mac80211@0000000045da9f82+0x83000]                                     
<7>[10435.023122]  0xffffffc0009a9190 [cfg80211@000000009248117a+0x43000]                                     
<7>[10435.029370]  0xffffffc0086dd7f4 
<7>[10435.032495]  0xffffffc0086ddc60                                                                         
<7>[10435.035620]  0xffffffc0086dc968                                                                         
<7>[10435.038745]  0xffffffc0086dd144                                                                         
<7>[10435.041870]  0xffffffc0086dc124                                                                         
<7>[10435.044995]  0xffffffc0086dc3bc                                                                         
<7>[10435.048120]  0xffffffc00863f150                                                                         
<7>[10435.051244]  0xffffffc008641960                                                                         
<7>[10435.054370]  0xffffffc008641a94                                                                         
<7>[10435.057496]  0xffffffc008641b10                                                                         
<7>[10435.060620]  0xffffffc00801f4cc                                                                         
<7>[10435.063744]  0xffffffc00801f5a0                                                                         
<7>[10435.066870]  0xffffffc008832ca8                                                                         
<7>[10435.069995]  0xffffffc008833950                                                                         
<7>[10435.073120]  0xffffffc0080115cc                                                                         
<0>[10435.076247] Code: d3441c63 12000c00 8b030ca3 f9409c63 (f9400465)                                        
<4>[10435.082320] ---[ end trace e86e85f109081ff6 ]---                                        
/sys/fs/pstore# vi dmesg-ramoops-1 

Panic#2 Part1
<6>[   14.398227] br-lan: port 4(lan4) entered disabled state
<6>[   14.406227] device lan4 entered promiscuous mode
<6>[   14.418439] mt7530-mdio mdio-bus:1f sfp2: configuring for inband/2500base-x link mode
<6>[   14.428245] br-lan: port 5(sfp2) entered blocking state
<6>[   14.433537] br-lan: port 5(sfp2) entered disabled state
<6>[   14.441675] device sfp2 entered promiscuous mode
<6>[   14.457123] mt7530-mdio mdio-bus:1f wan: configuring for phy/gmii link mode
<6>[   14.466936] br-lan: port 6(wan) entered blocking state
<6>[   14.472110] br-lan: port 6(wan) entered disabled state
<6>[   14.480323] device wan entered promiscuous mode
<6>[   14.493875] mtk_soc_eth 15100000.ethernet eth1: configuring for inband/2500base-x link mode
<6>[   16.482306] mt7530-mdio mdio-bus:1f lan2: Link is Up - 100Mbps/Full - flow control rx/tx
<6>[   16.514542] br-lan: port 7(phy1-ap0) entered blocking state
<6>[   16.520123] br-lan: port 7(phy1-ap0) entered disabled state
<6>[   16.525839] device phy1-ap0 entered promiscuous mode
<6>[   16.530888] br-lan: port 7(phy1-ap0) entered blocking state
<6>[   16.536443] br-lan: port 7(phy1-ap0) entered forwarding state
<6>[   16.542319] br-lan: port 7(phy1-ap0) entered disabled state
<6>[   16.544598] mt7530-mdio mdio-bus:1f lan4: Link is Up - 100Mbps/Full - flow control off
<6>[   16.547990] br-lan: port 2(lan2) entered blocking state
<6>[   16.560980] br-lan: port 2(lan2) entered forwarding state
<6>[   16.566420] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
<6>[   16.573038] br-lan: port 4(lan4) entered blocking state
<6>[   16.578248] br-lan: port 4(lan4) entered forwarding state
<6>[   16.583689] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan.1: link becomes ready
<6>[   16.590383] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan.10: link becomes ready
<6>[   16.601050] device phy1-ap0 left promiscuous mode
<6>[   16.605799] br-lan: port 7(phy1-ap0) entered disabled state
<6>[   16.671598] br-lan: port 7(phy1-ap0) entered blocking state
<6>[   16.677175] br-lan: port 7(phy1-ap0) entered disabled state
<6>[   16.683008] device phy1-ap0 entered promiscuous mode
<6>[   17.256245] br-lan: port 8(phy0-ap0) entered blocking state
<6>[   17.261829] br-lan: port 8(phy0-ap0) entered disabled state
<6>[   17.267535] device phy0-ap0 entered promiscuous mode
<6>[   17.272614] br-lan: port 8(phy0-ap0) entered blocking state
<6>[   17.278170] br-lan: port 8(phy0-ap0) entered forwarding state
<6>[   17.550108] br-lan: port 8(phy0-ap0) entered disabled state
<6>[   17.708677] mt7530-mdio mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[   17.716536] br-lan: port 6(wan) entered blocking state
<6>[   17.721668] br-lan: port 6(wan) entered forwarding state
<6>[   17.862563] mt7530-mdio mdio-bus:1f lan3: Link is Up - 1Gbps/Full - flow control off
<6>[   17.870332] br-lan: port 3(lan3) entered blocking state
<6>[   17.875544] br-lan: port 3(lan3) entered forwarding state
<6>[   19.540507] IPv6: ADDRCONF(NETDEV_CHANGE): phy0-ap0: link becomes ready
<6>[   19.547224] br-lan: port 8(phy0-ap0) entered blocking state
<6>[   19.552795] br-lan: port 8(phy0-ap0) entered forwarding state
<6>[   19.601730] br-lan: port 9(phy0-ap1) entered blocking state
<6>[   19.607311] br-lan: port 9(phy0-ap1) entered disabled state
<6>[   19.613160] device phy0-ap1 entered promiscuous mode
<6>[   19.619169] br-lan: port 9(phy0-ap1) entered blocking state
<6>[   19.624755] br-lan: port 9(phy0-ap1) entered forwarding state
<6>[   19.632204] device phy0-ap1 left promiscuous mode
<6>[   19.636955] br-lan: port 9(phy0-ap1) entered disabled state
<6>[   19.740994] br-lan: port 9(phy0-ap1) entered blocking state
<6>[   19.746563] br-lan: port 9(phy0-ap1) entered disabled state                                
<6>[   19.752320] device phy0-ap1 entered promiscuous mode                                       
<6>[   19.757335] br-lan: port 9(phy0-ap1) entered blocking state                                
<6>[   19.762899] br-lan: port 9(phy0-ap1) entered forwarding state                              
<6>[   19.768897] IPv6: ADDRCONF(NETDEV_CHANGE): phy0-ap1: link becomes ready                    
<6>[   43.309653] sfp sfp-1: module HUAWEI           MA5671A          rev 0000 sn 032WDY10J9006272 dc 180510
<6>[   43.358875] hwmon hwmon4: temp1_input not attached to any thermal zone                                
<6>[   43.380109] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 2.5Gbps/Full - flow control off          
<6>[   43.388599] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready                                   
<6>[   43.395188] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.835: link becomes ready                               
<6>[   59.030855] pppoe-fibra: renamed from ppp0                                                            
<6>[   80.557918] IPv6: ADDRCONF(NETDEV_CHANGE): phy1-ap0: link becomes ready                               
<6>[   80.564684] br-lan: port 7(phy1-ap0) entered blocking state                                           
<6>[   80.570268] br-lan: port 7(phy1-ap0) entered forwarding state                                         
<6>[ 6351.002178] mt7530-mdio mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx                
<6>[ 6351.010133] br-lan: port 1(lan1) entered blocking state                                               
<6>[ 6351.015361] br-lan: port 1(lan1) entered forwarding state                                             
<1>[10434.760710] Unable to handle kernel access to user memory outside uaccess routines at virtual address 00
<1>[10434.771407] Mem abort info:                                                                             
<1>[10434.774193]   ESR = 0x0000000096000005                                                                  
<1>[10434.777926]   EC = 0x25: DABT (current EL), IL = 32 bits                                                
<1>[10434.783218]   SET = 0, FnV = 0                                                                          
<1>[10434.786261]   EA = 0, S1PTW = 0                                                                         
<1>[10434.789386]   FSC = 0x05: level 1 translation fault                                                     
<1>[10434.794249] Data abort info:                                                                            
<1>[10434.797113]   ISV = 0, ISS = 0x00000005                                                                 
<1>[10434.800930]   CM = 0, WnR = 0                                                                           
<1>[10434.803893] user pgtable: 4k pages, 39-bit VAs, pgdp=00000000458a7000                                   
<1>[10434.810313] [0000000000000008] pgd=0000000000000000, p4d=0000000000000000, pud=0000000000000000         
<0>[10434.818996] Internal error: Oops: 0000000096000005 [#1] SMP                                             
<7>[10434.824548] Modules linked in: pppoe ppp_async nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flo
<7>[10434.902930] CPU: 3 PID: 1703 Comm: hostapd Not tainted 5.15.137 #0                                      
<7>[10434.909091] Hardware name: Bananapi BPI-R3 (DT)                                                         
<7>[10434.913602] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)                             
<7>[10434.920543] pc : 0xffffffc0009da53c [mac80211@0000000045da9f82+0x83000]                                 
<7>[10434.927148] lr : 0xffffffc0009da0dc [mac80211@0000000045da9f82+0x83000]                                 
<7>[10434.933742] sp : ffffffc00a4a36d0                                                                       
<7>[10434.937040] x29: ffffffc00a4a36d0 x28: 0000000000000001 x27: ffffffc00a4a3dd0                           
<7>[10434.944155] x26: ffffff800007e880 x25: ffffff80056b0900 x24: ffffff800558e735                           
<7>[10434.951271] x23: 0000000000081620 x22: ffffffc00a4a37f8 x21: 0000058d1783bf82                           
<7>[10434.958386] x20: ffffff800558e000 x19: ffffffc00a4a37f8 x18: 0000000000000000                           
<7>[10434.965502] x17: 0000000000000000 x16: 0000000000000000 x15: 0000007f996917e0                           
<7>[10434.972617] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000                           
<7>[10434.979732] x11: 0000000000000040 x10: ffffffc008afdde0 x9 : 0000000000000000                           
<7>[10434.986847] x8 : ffffffc00a4a38e0 x7 : ffffff8000e68880 x6 : 000000005b6111b3                           
<7>[10434.993962] x5 : ffffff8000e683a0 x4 : 0000000000000000 x3 : 0000000000000000                           
<7>[10435.001078] x2 : ffffffc00a4a383c x1 : 0000000000000001 x0 : 0000000000000000                           
<7>[10435.008193] Call trace:                                                                                 
<7>[10435.010626]  0xffffffc0009da53c [mac80211@0000000045da9f82+0x83000]                                     
<7>[10435.016874]  0xffffffc0009f23bc [mac80211@0000000045da9f82+0x83000]                                     
<7>[10435.023122]  0xffffffc0009a9190 [cfg80211@000000009248117a+0x43000]                                     
<7>[10435.029370]  0xffffffc0086dd7f4                                                                         
<7>[10435.032495]  0xffffffc0086ddc60                                
<7>[10435.035620]  0xffffffc0086dc968                                                                         
<7>[10435.038745]  0xffffffc0086dd144                                                                         
<7>[10435.041870]  0xffffffc0086dc124                                                                         
<7>[10435.044995]  0xffffffc0086dc3bc                                                                         
<7>[10435.048120]  0xffffffc00863f150                                                                         
<7>[10435.051244]  0xffffffc008641960                                                                         
<7>[10435.054370]  0xffffffc008641a94                                                                         
<7>[10435.057496]  0xffffffc008641b10                                                                         
<7>[10435.060620]  0xffffffc00801f4cc                                                                         
<7>[10435.063744]  0xffffffc00801f5a0                                                                         
<7>[10435.066870]  0xffffffc008832ca8                                                                         
<7>[10435.069995]  0xffffffc008833950                                                                         
<7>[10435.073120]  0xffffffc0080115cc                                                                         
<0>[10435.076247] Code: d3441c63 12000c00 8b030ca3 f9409c63 (f9400465)                                        
<4>[10435.082320] ---[ end trace e86e85f109081ff6 ]---                                                        
<0>[10435.091157] Kernel panic - not syncing: Oops: Fatal exception                                           
<2>[10435.096884] SMP: stopping secondary CPUs                                                                
<0>[10435.100791] Kernel Offset: disabled                                                                     
<0>[10435.104261] CPU features: 0x0,00000000,20000802                                                         
<0>[10435.108775] Memory Limit: none                                                                          
- dmesg-ramoops-1 [Readonly] 128/128 100%

Well.. new user error

https://openwrt.org/meta/infobox/upgrade_packages_warning

Tried reinstalling and now it works flawlessly.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.