GL-MT1300 keeps crashing - more with wireguard server running

Please help as GL-MT1300 keeps crashing - every 1-3 days without wireguard server running and less than 24hrs if wireguard server is running. Log files without wireguard server running

  • Hostname

GL-MT1300

  • Model

GL.iNet GL-MT1300

  • Architecture

MediaTek MT7621 ver:1 eco:3

  • OpenWrt Version

OpenWrt 22.03.4 r20123-38ccc47687

  • Kernel Version

5.10.176

Log Entry 1 (at position 0)
<6>[ 277.343626] br-lan: port 2(lan2) entered forwarding state
<6>[ 277.544679] mt7530 mdio-bus:1f lan1: Link is Down
<6>[ 277.549655] br-lan: port 1(lan1) entered disabled state
<6>[ 280.918111] mt7530 mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control off
<6>[ 348.233371] mt7530 mdio-bus:1f lan2: Link is Down
<6>[ 348.239090] br-lan: port 2(lan2) entered disabled state
<6>[ 356.413159] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[ 356.421175] br-lan: port 2(lan2) entered blocking state
<6>[ 356.426541] br-lan: port 2(lan2) entered forwarding state
<6>[ 363.089302] mt7530 mdio-bus:1f wan: Link is Down
<6>[ 363.349490] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
<6>[ 363.356917] 8021q: adding VLAN 0 to HW filter on device wan
<6>[ 364.269295] mt7530 mdio-bus:1f lan2: Link is Down
<6>[ 364.274427] br-lan: port 2(lan2) entered disabled state
<6>[ 367.709757] mt7530 mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[ 385.239574] mt7530 mdio-bus:1f wan: Link is Down
<6>[ 385.570218] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
<6>[ 385.580331] 8021q: adding VLAN 0 to HW filter on device wan
<6>[ 388.626581] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[ 388.634692] br-lan: port 2(lan2) entered blocking state
<6>[ 388.640019] br-lan: port 2(lan2) entered forwarding state
<6>[ 392.123548] mt7530 mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control off
<6>[ 587.677033] mt7530 mdio-bus:1f wan: Link is Down
<6>[ 587.928537] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
<6>[ 587.938005] 8021q: adding VLAN 0 to HW filter on device wan
<6>[ 593.574255] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control off
<6>[ 593.581820] br-lan: port 1(lan1) entered blocking state
<6>[ 593.587085] br-lan: port 1(lan1) entered forwarding state
<6>[ 791.471308] mt7530 mdio-bus:1f lan2: Link is Down
<6>[ 791.478689] br-lan: port 2(lan2) entered disabled state
<6>[ 794.596639] mt7530 mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[ 796.229563] mt7530 mdio-bus:1f lan1: Link is Down
<6>[ 796.234667] br-lan: port 1(lan1) entered disabled state
<6>[ 799.387856] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control off
<6>[ 799.395398] br-lan: port 2(lan2) entered blocking state
<6>[ 799.400744] br-lan: port 2(lan2) entered forwarding state
<6>[ 831.506233] mt7530 mdio-bus:1f wan: Link is Down
<6>[ 831.863902] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
<6>[ 831.871932] 8021q: adding VLAN 0 to HW filter on device wan
<6>[ 832.452670] mt7530 mdio-bus:1f lan2: Link is Down
<6>[ 832.457763] br-lan: port 2(lan2) entered disabled state
<6>[ 834.421046] mt7530 mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control off
<6>[ 840.478478] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[ 840.486639] br-lan: port 2(lan2) entered blocking state
<6>[ 840.492624] br-lan: port 2(lan2) entered forwarding state
<6>[ 4137.298981] device wlan1 left promiscuous mode
<6>[ 4137.304026] br-lan: port 3(wlan1) entered disabled state
<4>[283631.857484] Unhandled kernel unaligned access[#1]:
<4>[283631.862396] CPU: 2 PID: 27870 Comm: timeout Not tainted 5.10.176 #0
<4>[283631.868721] $ 0 : 00000000 00000001 00000011 00000010
<4>[283631.874036] $ 4 : 80862414 00000001 80179308 81028580
<4>[283631.879342] $ 8 : 80862414 07a6b808 00000001 8503f240
<4>[283631.884653] $12 : 00009a17 00000000 00000000 00000001
<4>[283631.889965] $16 : 81403600 00000cc0 00000000 80179308
<4>[283631.895273] $20 : 80860000 00000cc0 00000001 000007fc
<4>[283631.900578] $24 : 7fe51f7c 77e2d9d8
<4>[283631.905883] $28 : 83796000 83797cd0 00001000 80193460
<4>[283631.911193] Hi : 0020968c
<4>[283631.914145] Lo : 339fc2de
<4>[283631.917133] epc : 80193520 kmem_cache_alloc+0x100/0x3b4
<4>[283631.922597] ra : 80193460 kmem_cache_alloc+0x40/0x3b4
<4>[283631.927969] Status: 1100fc03 KERNEL EXL IE
<4>[283631.932236] Cause : 40800010 (ExcCode 04)
<4>[283631.936311] BadVA : 00000011
<4>[283631.939261] PrId : 0001992f (MIPS 1004Kc)
<4>[283631.943426] Modules linked in: pppoe ppp_async option usb_wwan rndis_host qmi_wwan pppox ppp_generic nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet mt7615e mt7615_common mt76_connac_lib mt76 mac80211 ipt_REJECT huawei_cdc_ncm cfg80211 cdc_ncm cdc_ether xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_quota xt_pkttype xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_cgroup xt_bpf xt_addrtype xt_TPROXY xt_TCPMSS xt_REDIRECT xt_MASQUERADE xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY wireguard usbserial usbnet ts_kmp ts_fsm ts_bm slhc nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_objref nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_ct nft_counter nft_compat nft_chain_nat nf_tproxy_ipv6 nf_tproxy_ipv4 nf_tables nf_reject_ipv4
<4>[283631.943840] nf_log_ipv6 nf_log_ipv4 nf_log_common nf_flow_table nf_conntrack_netlink nf_conncount libcrc32c iptable_raw iptable_nat iptable_mangle iptable_filter ipt_ECN ipheth ip_tables hwmon crc_ccitt compat cdc_wdm cdc_acm br_netfilter arptable_filter arpt_mangle arp_tables fuse sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred act_gact xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ipmac ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6table_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6t_NPT ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ifb ip6_udp_tunnel udp_tunnel udp_diag tcp_diag raw_diag inet_diag tun vfat fat ntfs nls_utf8 nls_iso8859_1
<4>[283632.030941] nls_cp437 sha256_generic libsha256 seqiv jitterentropy_rng drbg hmac cmac mtdoops mmc_block usb_storage mtk_sd mmc_core leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd uhci_hcd ohci_platform ohci_hcd fsl_mph_dr_of ehci_platform ehci_fsl sd_mod scsi_mod ehci_hcd gpio_button_hotplug gl_sdk4_tertf ext4 mbcache jbd2 exfat usbcore nls_base usb_common mii crc32c_generic gl_sdk4_hw_info
<4>[283632.153066] Process timeout (pid: 27870, threadinfo=54820833, task=d4165d87, tls=77e8bdf0)
<4>[283632.161387] Stack : 00000000 bb67ae85 1f83d9ab 3c6ef372 5be0cd19 80a60000 00000000 00000001
<4>[283632.169828] 8102850c 00000000 8503f240 8503f240 85151400 80a60000 00000000 80179308
<4>[283632.178263] 852447fc 85151400 00000000 80168004 00000000 00000081 8503f240 00000000
<4>[283632.186700] 00000001 00000000 00000001 8016c440 7fe520e4 00000000 77e89000 77e89000
<4>[283632.195137] 00000cc0 80183770 00000cc0 8503f240 00000081 00000cc0 0007ffff 7ffff000
<4>[283632.203575] …
<4>[283632.206106] Call Trace:
<4>[283632.208660] [<80193520>] kmem_cache_alloc+0x100/0x3b4
<4>[283632.213810] [<80179308>] __anon_vma_prepare+0x3c/0x1a8
<4>[283632.219016] [<8016c440>] handle_mm_fault+0x46c/0xe38
<4>[283632.224077] [<8016432c>] __get_user_pages+0x12c/0x370
<4>[283632.229201] [<80164738>] __get_user_pages_remote+0x128/0x39c
<4>[283632.234951] [<801b25d0>] get_arg_page+0x34/0xa0
<4>[283632.239551] [<801b31d0>] copy_string_kernel+0x18c/0x29c
<4>[283632.244850] [<801b45c8>] do_execveat_common+0x130/0x238
<4>[283632.250148] [<801b5450>] sys_execve+0x34/0x48
<4>[283632.254585] [<80014578>] syscall_common+0x34/0x58
<4>[283632.259359]
<4>[283632.260930] Code: 02603025 8e03001c 00431021 <8c480000> 41676000 30e70001 000000c0 8f86000c 8e020000
<4>[283632.270760]
<4>[283632.273292] —[ end trace 6d0db88889b4d5db ]—
<0>[283632.284529] Kernel panic - not syncing: Fatal exception

Which GL Firmware do you use?

Thanks for looking at this.
It’s 4.3.10 release1
Compile time 2feb2024 so the latest release one.