Repository navigation
Closed
Description
Describe the bug
crash log:
<1>[ 276.393904] CPU 0 Unable to handle kernel paging request at virtual address 7036837c, epc == 7036837c, ra == 80004574
<4>[ 276.415127] Oops[#1]:
<4>[ 276.419646] CPU: 0 PID: 11573 Comm: jshn Tainted: G O 6.6.50 #0
<4>[ 276.434213] $ 0 : 00000000 00000001 00000002 806d1698
<4>[ 276.444644] $ 4 : 7fce7d9f 00000002 ffffff83 82979e00
<4>[ 276.455068] $ 8 : 00000000 00000000 00000001 81995965
<4>[ 276.465489] $12 : 00000000 8076eccc 00000003 85d5a630
<4>[ 276.475911] $16 : 7fce7d9f 81995960 00000000 85d83e00
<4>[ 276.486334] $20 : 85c8ac80 806d07a0 82ae3640 807b0000
<4>[ 276.496758] $24 : 00000000 843b1cc4
<4>[ 276.507180] $28 : 843b0000 843b1dd8 843b1df0 80004574
<4>[ 276.517606] Hi : 00000002
<4>[ 276.523329] Lo : 00000003
<4>[ 276.529053] epc : 7036837c 0x7036837c
<4>[ 276.536692] ra : 80004574 arch_align_stack+0x50/0x70
<4>[ 276.547115] Status: 1100e403 KERNEL EXL IE
<4>[ 276.555454] Cause : 10800008 (ExcCode 02)
<4>[ 276.563432] BadVA : 7036837c
<4>[ 276.569156] PrId : 00019650 (MIPS 24KEc)
<4>[ 276.577133] Modules linked in: ksmbd rt2800soc(O) rt2800mmio(O) rt2800lib(O) qcserial pppoe ppp_async option cdc_mbim wireguard usb_wwan sierra_net sierra rt2x00soc(O) rt2x00mmio(O) rt2x00lib(O) rndis_host qmi_wwan pptp pppox ppp_mppe ppp_generic nft_fib_inet mac80211(O) libchacha20poly1305 ipt_REJECT huawei_cdc_ncm cfg80211(O) cdc_ncm cdc_ether xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent 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_TCPMSS xt_REDIRECT xt_MASQUERADE xt_LOG xt_HL xt_DSCP xt_CLASSIFY usbserial usbnet usblp ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda ts_fsm ts_bm tcp_scalable tcp_bbr slhc sch_cake r8152 poly1305_mips nft_tproxy nft_socket nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject_bridge nft_reject nft_redir nft_quota nft_queue nft_numgen nft_nat nft_meta_bridge nft_masq nft_log nft_limit nft_hash
<4>[ 276.577771] nft_fwd_netdev nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_dup_netdev nft_ct nft_compat nft_chain_nat nfnetlink_queue nf_tproxy_ipv6 nf_tproxy_ipv4 nf_tables nf_socket_ipv6 nf_socket_ipv4 nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_pptp nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_log_syslog nf_dup_netdev nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_sane nf_conntrack_pptp nf_conntrack_netbios_ns nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast nf_conntrack_bridge ts_kmp nf_conntrack_amanda nf_conncount macvlan libcurve25519_generic libcrc32c ipvlan iptable_nat iptable_mangle iptable_filter ipt_ECN ipheth ip_tables crc_ccitt compat(O) chacha_mips cdc_wdm br_netfilter natflow(O) natcap(O) nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 fuse ntfs3 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 ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netportnet
<4>[ 276.756961] 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_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 nfsv4 nls_ucs2_utils cifs_arc4 asn1_decoder nfs msdos ip6_gre ip_gre gre ip6_udp_tunnel udp_tunnel sit ip6_tunnel oid_registry tunnel6 tunnel4 ip_tunnel tun lockd sunrpc grace autofs4 dns_resolver nls_utf8 nls_iso8859_1 nls_cp437 crypto_user algif_skcipher algif_rng algif_hash algif_aead af_alg sha512_generic sha256_generic libsha256 sha1_generic seqiv sha3_generic drbg md5 hmac geniv rng ecb des_generic libdes cmac arc4 uas mtk_sd mmc_block cqhci usb_storage mmc_core leds_gpio xhci_plat_hcd xhci_pci xhci_hcd ohci_platform ohci_hcd fsl_mph_dr_of ehci_platform ehci_fsl sd_mod scsi_mod scsi_common ehci_hcd gpio_button_hotplug(O) vfat fat ext4 mbcache jbd2
<4>[ 276.936754] exfat usbcore nls_base usb_common mii crc32c_generic [last unloaded: ksmbd]
<4>[ 277.132417] Process jshn (pid: 11573, threadinfo=71d86be0, task=a21c8eab, tls=77ef9df4)
<4>[ 277.148373] Stack : 77e850ff 77dc6bc0 85d83e00 85c0c400 85d83800 801d39d4 00000006 00000000
<4>[ 277.165055] 85d8385c 80820000 00000012 00000000 00000003 0041ff14 00401d50 00400000
<4>[ 277.181732] 00420028 00400034 00000008 00401140 00000022 00000002 77dc6bc0 806d1698
<4>[ 277.198409] 77db4000 85d83800 00000034 00000000 00000000 00000000 82ae36e0 00000000
<4>[ 277.215084] 00000100 ecbcfece 808241dc fffffff8 85d83800 80823890 00000006 00000000
<4>[ 277.231762] ...
<4>[ 277.236629] Call Trace:
<4>[ 277.236634]
<4>[ 277.244604] [<801d39d4>] load_elf_binary+0xc44/0x1590
<4>[ 277.254839] [<80174d54>] bprm_execve+0x1ec/0x578
<4>[ 277.264053] [<801747a4>] copy_string_kernel+0x104/0x240
<4>[ 277.274472] [<801756f0>] do_execveat_common+0x1b4/0x240
<4>[ 277.284884] [<8000fdec>] do_page_fault+0xd4/0x554
<4>[ 277.294419] [<80176378>] sys_execve+0x34/0x48
<4>[ 277.303111] [<8000dee0>] syscall_common+0x34/0x58
<4>[ 277.312502]
<4>[ 277.315456] Code: (Bad address in epc)
<4>[ 277.315456]
<4>[ 277.325856]
<4>[ 277.329048] ---[ end trace 0000000000000000 ]---
no crash for kernel version <= 6.6.45
OpenWrt version
r27609-cf79b823996
OpenWrt release
24.04_b202409140123
OpenWrt target/subtarget
ramips/mt7620
Device
Youku YK-L1c
Image kind
Self-built image
Steps to reproduce
No response
Actual behaviour
No response
Expected behaviour
No response
Additional info
No response
Diffconfig
No response
Terms
- I am reporting an issue for OpenWrt, not an unsupported fork.
Activity
github-actions commentedon Sep 15, 2024
Invalid Version reported.
r27609-cf79b823996Is this from a clean repository?
github-actions commentedon Sep 15, 2024
Invalid Release reported.
24.04_b202409140123Is this from a clean repository?
ptpt52 commentedon Sep 15, 2024
ping @hauke @dangowrt
namiltd commentedon Sep 15, 2024
Same issue on TP-Link Archer C5 v4 (also mt7620), system randomly reboots on kernel 6.6.47 and newer. On kernel 6.6.45 this issue does not occur.
namiltd commentedon Sep 15, 2024
Kernel in snapshot has just been updated to 6.6.51. Testing has started.
namiltd commentedon Sep 15, 2024
The crash restarts seem to have stopped.
However, there is still a problem with frequent "phy1: Hardware restart was requested" after a higher load, after which 2.4GHz WiFi stops working. I have temporarily enabled a script that restarts the Wi-Fi network in cron when it detects such a situation.
Two questions:
Why is it starting a hardware restart?
Why is the restart not happening? Commits ee82d96 and f547fc9 are wrong?
But this is a different problem and requires a separate look at it.
ptpt52 commentedon Sep 16, 2024
crash again on kernel 6.6.51
@namiltd
no crash on your device?
namiltd commentedon Sep 16, 2024
I haven't noticed any crashes yet, but maybe it's just luck.Update: Problems remain
ptpt52 commentedon Sep 16, 2024
I notice that this issue happens on mt798x:
142 remaining items
namiltd commentedon Apr 3, 2025
Maybe the reason for the restarts is the jitterentropy_rng loading error?
Please check the behavior of routers after adding #18399 and x-wrt@1266739
ptpt52 commentedon Apr 6, 2025
tested, crash again with the PR and patch
namiltd commentedon Jun 28, 2025
The problem is still not solved. On my TP-Link Archer C5 v4 it can be invoked by running:
while true ; do var=$(iw phy1-ap0 station dump | grep "Station") ; doneThe only thing that helps is to disable va space randomization by adding it to the penultimate line of /etc/rc.local:
echo 0 > /proc/sys/kernel/randomize_va_spaceramips: disable CONFIG_LIST_HARDENED on MT7620
ramips: mt7620: drop the workarounds for the EPC erratum
ramips: mt7620: enable LIST_HARDENED again
ramips: mt7620: drop the workarounds for the EPC erratum
ramips: mt7620: enable LIST_HARDENED again
ramips: mt7620: drop the workarounds for the EPC erratum
ramips: mt7620: enable LIST_HARDENED again
namiltd commentedon Nov 17, 2026
Finally fixed in: #26650
ramips: mt7620: drop the workarounds for the EPC erratum
ramips: mt7620: enable LIST_HARDENED again
ramips: mt7620: drop the workarounds for the EPC erratum
ramips: mt7620: enable LIST_HARDENED again