Belkin RT3200/Linksys E8450 WiFi AX discussion

I am now on just the official snapshot build r19180-73c6d8fd04

Wed Mar 23 21:19:26 2022 daemon.notice netifd: radio1 (2410): Phy not found
Wed Mar 23 21:19:26 2022 daemon.notice netifd: radio1 (2410): Could not find PHY for device 'radio1'
Wed Mar 23 21:19:26 2022 daemon.notice netifd: Wireless device 'radio1' set retry=0
Wed Mar 23 21:19:26 2022 daemon.crit netifd: Wireless device 'radio1' setup failed, retry=0
Wed Mar 23 21:19:26 2022 daemon.notice netifd: radio1 (2477): WARNING: Variable 'data' does not exist or is not an array/object
Wed Mar 23 21:19:26 2022 daemon.notice netifd: radio1 (2477): Bug: PHY is undefined for device 'radio1'
Wed Mar 23 21:19:26 2022 daemon.notice netifd: Wireless device 'radio1' is now down

for some reason mt7915e kernel module was not present anymore on my device. no idea why! working now

I have performed the update as described by @hnyman.
Everything worked, router runs perfectly.
Thanks for the help!

2 Likes

I'd appreciate some help regarding the high frequency channels, 149 and above.
I can't seem to launch any configuration with those channels.
I'm using the US as country flag.

So everything seems fine.
The wireless overview section in luci shows up the network as set up and running, but with no power:

I tried all kind of parameters (various channels and widths) with no difference.
I'm using a slightly outdated build about 2 months old (can't update ATM), but I'm guessing it's unrelated and I'm doing something wrong. Any ideas?

EDIT: False alarm, a reboot solved it.

I think auc may be broken for today's build. It complains about a few packages. No biggie as there is always the official. Really appreciate the landing of making LAN multi-cpu. Sure, it is only dual core but it helps. The device is definitely faster than my Pine64 and pi3b.

To the person asking about snapshot builds: this is my primary router for my house. I'm living dangerously but I have 2 of them. I just wish I knew if bmx7 or batman or 802.11s is the way to go for a mesh.

Thanks to everyone making this device great.

1 Like

It might related to this post I made which @hnyman answered:

You might want to try using Attended Sys Upgrade in luci to work around the missing items issue?

2 Likes

Aha, that makes sense. My current build is a day old so I'm OK staying on this one until things shake out. That's a good idea about the attended upgrade.

OpenWrt 22.03 will include the E8450 and the alternative RT3200 as officially supported devices. You can check it in the repo of the new release:

It is there in line 151. I only hope it will remain there, as the OpenWrt implementation for the device is way more stable than for some officially already supported devices.

7 Likes

Is this still accurate?
The wiki (presumably because of your post) says:

However on a default install via dangowrt/linksys-e8450-openwrt-installer v0.61 I viewed the min frequency:

cat /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq

30000
  1. Not 300000

The scaling_governor also defaults to userspace.

Is there an error with the command on the wiki?
Should it be

echo 43750 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq

rather than 437500?

Every few days the router will kernel panic, and I'm wondering if its related to following the wiki and setting it to 437500 rather than 43750.

Here are the logs of a recent (one crash) today:
dmesg-ramoops-0

Oops#1 Part1
<6>[259210.666499] br-lan: port 4(lan4) entered blocking state
<6>[259210.671835] br-lan: port 4(lan4) entered forwarding state
<6>[259215.856632] br-lan: port 4(lan4) entered disabled state
<6>[259215.860784] mt7530 mdio-bus:00 lan4: Link is Down
<6>[259217.938760] mt7530 mdio-bus:00 lan4: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[259217.946449] br-lan: port 4(lan4) entered blocking state
<6>[259217.951770] br-lan: port 4(lan4) entered forwarding state
<6>[261450.640765] mt7530 mdio-bus:00 lan3: Link is Up - 10Mbps/Full - flow control rx/tx
<6>[261450.648520] br-lan: port 3(lan3) entered blocking state
<6>[261450.653841] br-lan: port 3(lan3) entered forwarding state
<6>[261452.718596] mt7530 mdio-bus:00 lan3: Link is Down
<6>[261452.724307] br-lan: port 3(lan3) entered disabled state
<6>[261455.840685] mt7530 mdio-bus:00 lan3: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[261455.848358] br-lan: port 3(lan3) entered blocking state
<6>[261455.853679] br-lan: port 3(lan3) entered forwarding state
<6>[261456.877776] mt7530 mdio-bus:00 lan3: Link is Down
<6>[261456.882772] br-lan: port 3(lan3) entered disabled state
<6>[261460.000737] mt7530 mdio-bus:00 lan3: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[261460.008397] br-lan: port 3(lan3) entered blocking state
<6>[261460.013718] br-lan: port 3(lan3) entered forwarding state
<6>[261463.119031] mt7530 mdio-bus:00 lan3: Link is Down
<6>[261463.123948] br-lan: port 3(lan3) entered disabled state
<6>[261466.240634] mt7530 mdio-bus:00 lan3: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[261466.248299] br-lan: port 3(lan3) entered blocking state
<6>[261466.253620] br-lan: port 3(lan3) entered forwarding state
<6>[264955.408600] mt7530 mdio-bus:00 lan3: Link is Down
<6>[264955.413496] br-lan: port 3(lan3) entered disabled state
<6>[265383.887361] mt7530 mdio-bus:00 lan3: Link is Up - 10Mbps/Full - flow control rx/tx
<6>[265383.895134] br-lan: port 3(lan3) entered blocking state
<6>[265383.900454] br-lan: port 3(lan3) entered forwarding state
<6>[265384.924675] mt7530 mdio-bus:00 lan3: Link is Down
<6>[265384.930361] br-lan: port 3(lan3) entered disabled state
<6>[265388.046872] mt7530 mdio-bus:00 lan3: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[265388.054555] br-lan: port 3(lan3) entered blocking state
<6>[265388.059875] br-lan: port 3(lan3) entered forwarding state
<6>[265390.123885] mt7530 mdio-bus:00 lan3: Link is Down
<6>[265390.129579] br-lan: port 3(lan3) entered disabled state
<6>[265392.207611] mt7530 mdio-bus:00 lan3: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[265392.215822] br-lan: port 3(lan3) entered blocking state
<6>[265392.221143] br-lan: port 3(lan3) entered forwarding state
<6>[265396.364615] br-lan: port 3(lan3) entered disabled state
<6>[265396.371070] mt7530 mdio-bus:00 lan3: Link is Down
<6>[265399.486674] mt7530 mdio-bus:00 lan3: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[265399.494344] br-lan: port 3(lan3) entered blocking state
<6>[265399.499665] br-lan: port 3(lan3) entered forwarding state
<6>[265888.439469] mt7530 mdio-bus:00 lan4: Link is Down
<6>[265888.445139] br-lan: port 4(lan4) entered disabled state
<6>[266617.475381] mt7530 mdio-bus:00 lan4: Link is Up - 10Mbps/Full - flow control rx/tx
<6>[266617.483136] br-lan: port 4(lan4) entered blocking state
<6>[266617.488456] br-lan: port 4(lan4) entered forwarding state
<6>[266618.513194] mt7530 mdio-bus:00 lan4: Link is Down
<6>[266618.518859] br-lan: port 4(lan4) entered disabled state
<6>[266623.715334] mt7530 mdio-bus:00 lan4: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[266623.723005] br-lan: port 4(lan4) entered blocking state
<6>[266623.728325] br-lan: port 4(lan4) entered forwarding state
<6>[266628.913106] mt7530 mdio-bus:00 lan4: Link is Down
<6>[266628.918106] br-lan: port 4(lan4) entered disabled state
<6>[266630.995296] mt7530 mdio-bus:00 lan4: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[266631.002969] br-lan: port 4(lan4) entered blocking state
<6>[266631.008289] br-lan: port 4(lan4) entered forwarding state
<6>[267537.705335] mt7530 mdio-bus:00 lan3: Link is Down
<6>[267537.711054] br-lan: port 3(lan3) entered disabled state
<6>[267653.304979] br-lan: port 4(lan4) entered disabled state
<6>[267653.311014] mt7530 mdio-bus:00 lan4: Link is Down
<6>[273328.061594] device wlan1 left promiscuous mode
<6>[273328.066369] br-lan: port 5(wlan1) entered disabled state
<6>[273328.532873] br-lan: port 5(wlan1) entered blocking state
<6>[273328.538396] br-lan: port 5(wlan1) entered disabled state
<6>[273328.544185] device wlan1 entered promiscuous mode
<6>[273394.221598] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
<6>[273394.228370] br-lan: port 5(wlan1) entered blocking state
<6>[273394.233785] br-lan: port 5(wlan1) entered forwarding state
<6>[276264.434654] mt7530 mdio-bus:00 lan4: Link is Up - 10Mbps/Full - flow control rx/tx
<6>[276264.442427] br-lan: port 4(lan4) entered blocking state
<6>[276264.447749] br-lan: port 4(lan4) entered forwarding state
<6>[276266.512578] mt7530 mdio-bus:00 lan4: Link is Down
<6>[276266.518258] br-lan: port 4(lan4) entered disabled state
<6>[276271.715626] mt7530 mdio-bus:00 lan4: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[276271.723327] br-lan: port 4(lan4) entered blocking state
<6>[276271.728647] br-lan: port 4(lan4) entered forwarding state
<6>[276275.872527] mt7530 mdio-bus:00 lan4: Link is Down
<6>[276275.878197] br-lan: port 4(lan4) entered disabled state
<6>[276278.994501] mt7530 mdio-bus:00 lan4: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[276279.002179] br-lan: port 4(lan4) entered blocking state
<6>[276279.007498] br-lan: port 4(lan4) entered forwarding state
<6>[277086.026038] mt7530 mdio-bus:00 lan4: Link is Down
<6>[277086.031804] br-lan: port 4(lan4) entered disabled state
<1>[277614.340462] Unable to handle kernel paging request at virtual address dead000000000110
<1>[277614.348489] Mem abort info:
<1>[277614.351426]   ESR = 0x96000004
<1>[277614.354570]   EC = 0x25: DABT (current EL), IL = 32 bits
<1>[277614.359966]   SET = 0, FnV = 0
<1>[277614.363155]   EA = 0, S1PTW = 0
<1>[277614.366413] Data abort info:
<1>[277614.369378]   ISV = 0, ISS = 0x00000004
<1>[277614.373324]   CM = 0, WnR = 0
<1>[277614.376512] [dead000000000110] address between user and kernel address ranges
<0>[277614.383752] Internal error: Oops: 96000004 [#1] SMP
<7>[277614.388711] Modules linked in: pppoe ppp_async iptable_nat xt_state xt_nat xt_conntrack xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT pppox ppp_generic nf_nat nf_flow_table nf_conntrack mt7915e mt7615e mt7615_common mt76_connac_lib mt76 mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG slhc nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables hwmon crc_ccitt compat nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 vfat fat autofs4 nls_utf8 nls_iso8859_1 nls_cp437 seqiv uas usb_storage leds_gpio xhci_plat_hcd gpio_button_hotplug exfat
<7>[277614.450216] CPU: 1 PID: 29080 Comm: kworker/u4:6 Tainted: G S                5.10.80 #0
<7>[277614.458295] Hardware name: Linksys E8450 (UBI) (DT)
<7>[277614.463265] Workqueue: nf_ft_offload_stats nf_flow_table_offload_setup [nf_flow_table]
<7>[277614.471263] pstate: 20000005 (nzCv daif -PAN -UAO -TCO BTYPE=--)
<7>[277614.477348] pc : nf_flow_offload_ip_hook+0x778/0x1340 [nf_flow_table]
<7>[277614.483866] lr : nf_flow_offload_ip_hook+0x78c/0x1340 [nf_flow_table]
<7>[277614.490383] sp : ffffffc0153b3c20
<7>[277614.493777] x29: ffffffc0153b3c20 x28: 0000000000000000 
<7>[277614.499172] x27: ffffff8002ac8d48 x26: 0000000000000000 
<7>[277614.504563] x25: ffffff8002a60600 x24: ffffffc008a99648 
<7>[277614.509954] x23: ffffffc0153b3d40 x22: 0000000000000002 
<7>[277614.515345] x21: ffffffc008a99638 x20: 0000000000000000 
<7>[277614.520735] x19: dead0000000000f0 x18: 0000000000000000 
<7>[277614.526126] x17: 0000000000000016 x16: ffffffc0107f83e0 
<7>[277614.531523] x15: 000000000000003d x14: 0000000000000000 
<7>[277614.536919] x13: 0000000000000087 x12: ffffffffffffffff 
<7>[277614.542314] x11: 0000000000000040 x10: ffffff8000ce710c 
<7>[277614.547710] x9 : ffffff8003ccee7c x8 : 0000000000000000 
<7>[277614.553105] x7 : ffffffffffffffff x6 : 0000000000000000 
<7>[277614.558500] x5 : 0000000000000002 x4 : 0000000000000000 
<7>[277614.563895] x3 : ffffff8000beb700 x2 : 0000000000000000 
<7>[277614.569290] x1 : dead000000000100 x0 : 000000000000006d 
<7>[277614.574686] Call trace:
<7>[277614.577220]  nf_flow_offload_ip_hook+0x778/0x1340 [nf_flow_table]
<7>[277614.583395]  nf_flow_table_offload_setup+0x468/0x660 [nf_flow_table]
<7>[277614.589832]  process_one_work+0x1d4/0x370
<7>[277614.593922]  worker_thread+0x178/0x4e0
<7>[277614.597753]  kthread+0x120/0x124
<7>[277614.601063]  ret_from_fork+0x10/0x18
<0>[277614.604724] Code: d1004013 eb0002bf 54000580 52800014 (f9401263) 
<4>[277614.610898] ---[ end trace 352bdf7ac49c8abe ]---

dmesg-ramoops-1

Panic#2 Part1
<6>[259217.946449] br-lan: port 4(lan4) entered blocking state
<6>[259217.951770] br-lan: port 4(lan4) entered forwarding state
<6>[261450.640765] mt7530 mdio-bus:00 lan3: Link is Up - 10Mbps/Full - flow control rx/tx
<6>[261450.648520] br-lan: port 3(lan3) entered blocking state
<6>[261450.653841] br-lan: port 3(lan3) entered forwarding state
<6>[261452.718596] mt7530 mdio-bus:00 lan3: Link is Down
<6>[261452.724307] br-lan: port 3(lan3) entered disabled state
<6>[261455.840685] mt7530 mdio-bus:00 lan3: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[261455.848358] br-lan: port 3(lan3) entered blocking state
<6>[261455.853679] br-lan: port 3(lan3) entered forwarding state
<6>[261456.877776] mt7530 mdio-bus:00 lan3: Link is Down
<6>[261456.882772] br-lan: port 3(lan3) entered disabled state
<6>[261460.000737] mt7530 mdio-bus:00 lan3: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[261460.008397] br-lan: port 3(lan3) entered blocking state
<6>[261460.013718] br-lan: port 3(lan3) entered forwarding state
<6>[261463.119031] mt7530 mdio-bus:00 lan3: Link is Down
<6>[261463.123948] br-lan: port 3(lan3) entered disabled state
<6>[261466.240634] mt7530 mdio-bus:00 lan3: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[261466.248299] br-lan: port 3(lan3) entered blocking state
<6>[261466.253620] br-lan: port 3(lan3) entered forwarding state
<6>[264955.408600] mt7530 mdio-bus:00 lan3: Link is Down
<6>[264955.413496] br-lan: port 3(lan3) entered disabled state
<6>[265383.887361] mt7530 mdio-bus:00 lan3: Link is Up - 10Mbps/Full - flow control rx/tx
<6>[265383.895134] br-lan: port 3(lan3) entered blocking state
<6>[265383.900454] br-lan: port 3(lan3) entered forwarding state
<6>[265384.924675] mt7530 mdio-bus:00 lan3: Link is Down
<6>[265384.930361] br-lan: port 3(lan3) entered disabled state
<6>[265388.046872] mt7530 mdio-bus:00 lan3: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[265388.054555] br-lan: port 3(lan3) entered blocking state
<6>[265388.059875] br-lan: port 3(lan3) entered forwarding state
<6>[265390.123885] mt7530 mdio-bus:00 lan3: Link is Down
<6>[265390.129579] br-lan: port 3(lan3) entered disabled state
<6>[265392.207611] mt7530 mdio-bus:00 lan3: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[265392.215822] br-lan: port 3(lan3) entered blocking state
<6>[265392.221143] br-lan: port 3(lan3) entered forwarding state
<6>[265396.364615] br-lan: port 3(lan3) entered disabled state
<6>[265396.371070] mt7530 mdio-bus:00 lan3: Link is Down
<6>[265399.486674] mt7530 mdio-bus:00 lan3: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[265399.494344] br-lan: port 3(lan3) entered blocking state
<6>[265399.499665] br-lan: port 3(lan3) entered forwarding state
<6>[265888.439469] mt7530 mdio-bus:00 lan4: Link is Down
<6>[265888.445139] br-lan: port 4(lan4) entered disabled state
<6>[266617.475381] mt7530 mdio-bus:00 lan4: Link is Up - 10Mbps/Full - flow control rx/tx
<6>[266617.483136] br-lan: port 4(lan4) entered blocking state
<6>[266617.488456] br-lan: port 4(lan4) entered forwarding state
<6>[266618.513194] mt7530 mdio-bus:00 lan4: Link is Down
<6>[266618.518859] br-lan: port 4(lan4) entered disabled state
<6>[266623.715334] mt7530 mdio-bus:00 lan4: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[266623.723005] br-lan: port 4(lan4) entered blocking state
<6>[266623.728325] br-lan: port 4(lan4) entered forwarding state
<6>[266628.913106] mt7530 mdio-bus:00 lan4: Link is Down
<6>[266628.918106] br-lan: port 4(lan4) entered disabled state
<6>[266630.995296] mt7530 mdio-bus:00 lan4: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[266631.002969] br-lan: port 4(lan4) entered blocking state
<6>[266631.008289] br-lan: port 4(lan4) entered forwarding state
<6>[267537.705335] mt7530 mdio-bus:00 lan3: Link is Down
<6>[267537.711054] br-lan: port 3(lan3) entered disabled state
<6>[267653.304979] br-lan: port 4(lan4) entered disabled state
<6>[267653.311014] mt7530 mdio-bus:00 lan4: Link is Down
<6>[273328.061594] device wlan1 left promiscuous mode
<6>[273328.066369] br-lan: port 5(wlan1) entered disabled state
<6>[273328.532873] br-lan: port 5(wlan1) entered blocking state
<6>[273328.538396] br-lan: port 5(wlan1) entered disabled state
<6>[273328.544185] device wlan1 entered promiscuous mode
<6>[273394.221598] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
<6>[273394.228370] br-lan: port 5(wlan1) entered blocking state
<6>[273394.233785] br-lan: port 5(wlan1) entered forwarding state
<6>[276264.434654] mt7530 mdio-bus:00 lan4: Link is Up - 10Mbps/Full - flow control rx/tx
<6>[276264.442427] br-lan: port 4(lan4) entered blocking state
<6>[276264.447749] br-lan: port 4(lan4) entered forwarding state
<6>[276266.512578] mt7530 mdio-bus:00 lan4: Link is Down
<6>[276266.518258] br-lan: port 4(lan4) entered disabled state
<6>[276271.715626] mt7530 mdio-bus:00 lan4: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[276271.723327] br-lan: port 4(lan4) entered blocking state
<6>[276271.728647] br-lan: port 4(lan4) entered forwarding state
<6>[276275.872527] mt7530 mdio-bus:00 lan4: Link is Down
<6>[276275.878197] br-lan: port 4(lan4) entered disabled state
<6>[276278.994501] mt7530 mdio-bus:00 lan4: Link is Up - 1Gbps/Full - flow control rx/tx
<6>[276279.002179] br-lan: port 4(lan4) entered blocking state
<6>[276279.007498] br-lan: port 4(lan4) entered forwarding state
<6>[277086.026038] mt7530 mdio-bus:00 lan4: Link is Down
<6>[277086.031804] br-lan: port 4(lan4) entered disabled state
<1>[277614.340462] Unable to handle kernel paging request at virtual address dead000000000110
<1>[277614.348489] Mem abort info:
<1>[277614.351426]   ESR = 0x96000004
<1>[277614.354570]   EC = 0x25: DABT (current EL), IL = 32 bits
<1>[277614.359966]   SET = 0, FnV = 0
<1>[277614.363155]   EA = 0, S1PTW = 0
<1>[277614.366413] Data abort info:
<1>[277614.369378]   ISV = 0, ISS = 0x00000004
<1>[277614.373324]   CM = 0, WnR = 0
<1>[277614.376512] [dead000000000110] address between user and kernel address ranges
<0>[277614.383752] Internal error: Oops: 96000004 [#1] SMP
<7>[277614.388711] Modules linked in: pppoe ppp_async iptable_nat xt_state xt_nat xt_conntrack xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT pppox ppp_generic nf_nat nf_flow_table nf_conntrack mt7915e mt7615e mt7615_common mt76_connac_lib mt76 mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG slhc nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables hwmon crc_ccitt compat nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 vfat fat autofs4 nls_utf8 nls_iso8859_1 nls_cp437 seqiv uas usb_storage leds_gpio xhci_plat_hcd gpio_button_hotplug exfat
<7>[277614.450216] CPU: 1 PID: 29080 Comm: kworker/u4:6 Tainted: G S                5.10.80 #0
<7>[277614.458295] Hardware name: Linksys E8450 (UBI) (DT)
<7>[277614.463265] Workqueue: nf_ft_offload_stats nf_flow_table_offload_setup [nf_flow_table]
<7>[277614.471263] pstate: 20000005 (nzCv daif -PAN -UAO -TCO BTYPE=--)
<7>[277614.477348] pc : nf_flow_offload_ip_hook+0x778/0x1340 [nf_flow_table]
<7>[277614.483866] lr : nf_flow_offload_ip_hook+0x78c/0x1340 [nf_flow_table]
<7>[277614.490383] sp : ffffffc0153b3c20
<7>[277614.493777] x29: ffffffc0153b3c20 x28: 0000000000000000 
<7>[277614.499172] x27: ffffff8002ac8d48 x26: 0000000000000000 
<7>[277614.504563] x25: ffffff8002a60600 x24: ffffffc008a99648 
<7>[277614.509954] x23: ffffffc0153b3d40 x22: 0000000000000002 
<7>[277614.515345] x21: ffffffc008a99638 x20: 0000000000000000 
<7>[277614.520735] x19: dead0000000000f0 x18: 0000000000000000 
<7>[277614.526126] x17: 0000000000000016 x16: ffffffc0107f83e0 
<7>[277614.531523] x15: 000000000000003d x14: 0000000000000000 
<7>[277614.536919] x13: 0000000000000087 x12: ffffffffffffffff 
<7>[277614.542314] x11: 0000000000000040 x10: ffffff8000ce710c 
<7>[277614.547710] x9 : ffffff8003ccee7c x8 : 0000000000000000 
<7>[277614.553105] x7 : ffffffffffffffff x6 : 0000000000000000 
<7>[277614.558500] x5 : 0000000000000002 x4 : 0000000000000000 
<7>[277614.563895] x3 : ffffff8000beb700 x2 : 0000000000000000 
<7>[277614.569290] x1 : dead000000000100 x0 : 000000000000006d 
<7>[277614.574686] Call trace:
<7>[277614.577220]  nf_flow_offload_ip_hook+0x778/0x1340 [nf_flow_table]
<7>[277614.583395]  nf_flow_table_offload_setup+0x468/0x660 [nf_flow_table]
<7>[277614.589832]  process_one_work+0x1d4/0x370
<7>[277614.593922]  worker_thread+0x178/0x4e0
<7>[277614.597753]  kthread+0x120/0x124
<7>[277614.601063]  ret_from_fork+0x10/0x18
<0>[277614.604724] Code: d1004013 eb0002bf 54000580 52800014 (f9401263) 
<4>[277614.610898] ---[ end trace 352bdf7ac49c8abe ]---
<0>[277614.635152] Kernel panic - not syncing: Oops: Fatal exception
<2>[277614.640987] SMP: stopping secondary CPUs
<0>[277614.644998] Kernel Offset: disabled
<0>[277614.648568] CPU features: 0x0000002,04002004
<0>[277614.652916] Memory Limit: none
1 Like

It is 300000 = 300MHz
That has already been corrected in master and 22.03 in January (after the 0.6.1 installer that you referenced.

1 Like

Thanks, that clarifies that!
I'm guessing my kernel panics are not related to this then.

I had hardware offloading on, I'm thinking that may be related.

@dreamsyntax - https://github.com/openwrt/openwrt/pull/5025

If you limit the min freq as shown in that PR, you can use ondemand or schedutil without fear of hitting the bug. Not sure why that PR wasn't merged yet.

You don't need the PR's solution for your device; you can simplify it to a single line in your /etc/rc.local:

echo 437500 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq
1 Like

Found a strange one due to a bad cable run.

Lan1 has a cable issue and could only run at 100Mbps. Haven't diag'd the cable yet but assuming issue is outside the primary 100MB pairs.

You can see here that the kernel broght up the link at 100 Full:

15.218527] mt7530 mdio-bus:00 lan1: Link is Up - 100Mbps/Full - flow control off

BUT ubus call luci-rpc getNetworkDevices reports the link at 1000

	"lan1": {
		"name": "lan1",
		"master": "DotQSwitch",
		"wireless": false,
		"up": true,
		"mtu": 1500,
		"qlen": 1000,
		"devtype": "dsa",
		"ipaddrs": [
			
		],
		"ip6addrs": [
			
		],
		"mac": "E8:9F:80:E9:60:22",
		"type": 1,
		"ifindex": 3,
		"parent": "eth0",
		"stats": {
			"rx_bytes": 11913336732,
			"tx_bytes": 177796641,
			"tx_errors": 0,
			"rx_errors": 0,
			"tx_packets": 598660,
			"rx_packets": 11924008,
			"multicast": 0,
			"collisions": 0,
			"rx_dropped": 4481,
			"tx_dropped": 0
		},
		"flags": {
			"up": true,
			"broadcast": true,
			"promisc": false,
			"loopback": false,
			"noarp": false,
			"multicast": false,
			"pointtopoint": false
		},
		"link": {
			"speed": 1000,
			"duplex": "full",
			"carrier": true,
			"changes": 13,
			"up_count": 7,
			"down_count": 6
		}
	},

No sure if this is a wrt problem or hardware specific .... so if it needs to be moved/reported elsewhere happy to take your advice.

Maybe I was not clear, the crashes were happening with

echo 437500 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq
and schedutil for the governor already set.

I was wondering if it should have been 43750, but hnyman cleared it up for me.
My crashes are not at all related to the above.

I've since then flashed 0.62 with that installer (to make it easy to not deal with iptables -> firewall4 conversion) and then performed an update to latest snapshot with luci attended sysupgrade.

[Snapshot r19226-62fd9f9709]

I've put the 437500 and schedutil back in my startup (equivalent to the rc suggestion) and re-enabled hardware offloading. We'll see if the kernel panics happen again.

OK. Thought I read some posts about HW offloading being unstable. Not sure if that changed. Guess you'll find out.

1 Like

I am unable to upgrade my router as it keeps giving me the following error using LUCI:

NotFoundError - Resource not found

Any clues on how to overcome this issue?

It works fine here from yesterdays build to todays with my local ISP DNS upstream server

I am not sure how you said yours is working, I am also using my ISP upstream DNS servers, but keep getting the error when I try the upgrade via LUCI:

I am on the following:
Firmware Version OpenWrt SNAPSHOT r19044-545cabee9e / LuCI Master git-22.058.70382-d29400e

I'm trying to figure out the Wi-Fi issue that I'm encountering for my E8450 and came across this 'anomaly' which I couldn't figure out at the moment, so I thot maybe I would bounce this off folks here to pick your brains.

@tohojo, you may be able to cast some lights on it I would think.

So I added debug logs for my E8450 builds to the mac80211 backport driver, specifically to the ieee80211_txq_airtime_check() function. In this function, there's this section of code:

        if (atomic_read(&air_info->aql_tx_pending) < air_info->aql_limit_low)
                return true;

        if (atomic_read(&local->aql_total_pending_airtime) <
            local->aql_threshold &&
            atomic_read(&air_info->aql_tx_pending) < air_info->aql_limit_high)
                return true;

        net_info_ratelimited("%s: returning false - txq->sta[0x%px], aql_tx_pend[%d], aql_ttl_pend_at[%d]\n",
                __func__, txq, txq->sta,
                atomic_read(&air_info->aql_tx_pending), atomic_read(&local->aql_total_pending_airtime));

        return false;

I added debug statement to this function, just before the return false; statement to find out why it is returning false.

I get this sample output:

[ 3353.510831] ieee80211_txq_airtime_check: returning false - txq->sta[0xffffff8003b020f0], aql_tx_pend[61885024], aql_ttl_pend_at[12008]

It looks like the station's txq's aql_tx_pending value is computed using airtime in us (i.e. total time in us this station's queue has transmitted), while the interface's aql_total_pending_airtime value is computed using AQL's queue limit (which I assumed is in the unit of number of queued packets.)

Naturally, this will result in the ieee80211_txq_airtime_check() function returning false a lot, which shows up as this log:

[ 3353.482872] net_ratelimit: 37036 callbacks suppressed

The aql_total_pending_airtime and aql_tx_pending are both 32 bits integer, so aql_tx_pending will roll-over in a matters of days if the station is always transmitting. Could this be the reason why I start seeing issues after 3-4 days of use?

The ieee80211_tx_dequeue() function calls ieee80211_txq_airtime_check() and so my sole Wi-Fi client connected to the E8450 will be denied transmission, but somehow I'm still able to use the client to surf the Internet. I would assume that this will perpetually block transmission.

What I couldn't understand is that both aql_total_pending_airtime and aql_tx_pending are incremented using the same values, but it somehow shows up as vastly differently in value.

Maybe the experts in this forum can shed some lights?

Edit: Some users reported that setting aql_enable to '0' via debug_fs seems to solve the issue for them, as that would essentially make the ieee80211_txq_airtime_check() function always returning true and therefore will pass the first check in ieee80211_tx_dequeue(), among others. Coincidence?

Edit 2: I'm an idiot. Apologies. There's a bug with the debug statement. There was an addition argument passed into the printout causing the printout to output a pointer instead of the value. Now I get this, which is as expected:

[  206.251919] ieee80211_txq_airtime_check: returning false - txq->sta[0xffffff80034dba60], aql_tx_pend[12040], aql_ttl_pend_at[12040]
[  245.604440] net_ratelimit: 4435 callbacks suppressed

Back to square one.

3 Likes

i'm working with my E8450 again, using installer v0.62 by @daniel and r19226 snapshot. the short story is that things are good, but i have a couple questions about implementation and possible problems lurking.

  1. the the backup initramfs image: will not revert to stock image with powercycle if a device at 192.168.1.254 is detected on a lan port. i connected the E8450 lan port to my home network for testing; my network has its main router at 192.168.1.254, which the E8450 bootloader probes for a recovery image. i don't have a tftp server at 192.168.1.254, but the presnce of a device at that address still somehow changes the boot behavior. so powercycling works as described by @daniel as long as the lan ports are disconnected during reboot. i'm not sure of the best solution, since looking for a boot image on lan seems a safety feature. and i dont know of a better address in the 192.168.1.0 network, but .254 is commonly used on networks that i've seen.

  2. in kernel bootlogs, i got some CPU anomalies detected:

[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[    0.000000] CPU features: detected: ARM erratum 843419


[    0.058987] CPU features: SANITY CHECK: Unexpected variation in SYS_CNTFRQ_EL0. Boot CPU: 0x00000000bebc20, CPU1: 0x00000000000000
[    0.059003] CPU features: Unsupported CPU feature variation detected.

[    0.108695] CPU: All CPU(s) started at EL2
[    0.112940] alternatives: patching kernel code
[    0.120973] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns

i'm not sure if any of this will cause problems but i was curous about the unexpected vairation and kernel patching with regard to possible misspcificaiton in the device tree?

thanks to all developers on this project.