Ok if you restored old backup then you need to run
uci set system.@system[0].compat_version='2.0'
uci commit
Ok if you restored old backup then you need to run
uci set system.@system[0].compat_version='2.0'
uci commit
ok without any o/p message should i reboot now ??
Sysupgrade reboots automatically...
just one final question I hope didn't bother you, does it need to flash the sysupgrade two or more times to get it done, and how to check if sysupgrade is applied ???
Wouldn't it make sense if ofdma is not used at all if there is e. g. one ax device only using bandwidth at a certain time? And even if you have more clients you need to create a lot of traffic to make it necessary. If you cannot create enough concurrent traffic the whole band(width) is used by one client at a given time. So the decission to assign tones is made dynamically by the AP (I think!; I don't know for sure).
To do sysupgrade for sure you have you stop wpad. Right now you are trying to do sysupgrade on same version - I don't know why?? But next versions will have higher kernel or revision.
I just didn't understand the first part !
So you suspect that DL OFDMA is actually not working? Have you seen these counters ever working as expected? And what is option 10? If you can elaborate a little bit, that would be nice.
Hey guys,
After 8 days of stability, noticed this on the logs for the first time , hope it helps debugging something.
Built from https://github.com/robimarko/openwrt/tree/ipq807x-2022-10-17-1510
[710831.055773] WARNING: CPU: 2 PID: 17849 at ieee80211_bss_get_elem+0x21c/0x2b0 [cfg80211]
[710831.059429] Modules linked in: pppoe ppp_async nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet ath11k_ahb ath11k ath10k_pci ath10k_core ath wireguard pppox ppp_generic 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_tables nf_nat nf_flow_table nf_conntrack mac80211 libchacha20poly1305 iptable_mangle iptable_filter ipt_REJECT ipt_ECN ip_tables chacha_neon cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY x_tables slhc sch_cake qrtr_smd qrtr qmi_helpers poly1305_neon ns nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcurve25519_generic libcrc32c libchacha hwmon crc_ccitt compat sch_tbf sch_ingress sch_htb sch_hfsc
[710831.059641] em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred act_gact ifb ip6_udp_tunnel udp_tunnel tun zram zsmalloc seqiv jitterentropy_rng drbg michael_mic hmac cmac leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom qca_nss_dp qca_ssdk gpio_button_hotplug crc32c_generic
[710831.161667] CPU: 2 PID: 17849 Comm: reader#1 Not tainted 5.15.72 #0
[710831.183903] Hardware name: Xiaomi AX3600 (DT)
[710831.190239] pstate: 20400005 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[710831.194494] pc : ieee80211_bss_get_elem+0x21c/0x2b0 [cfg80211]
[710831.201696] lr : cfg80211_calculate_bitrate+0x228/0x56c [cfg80211]
[710831.207338] sp : ffffffc00f0c37a0
[710831.213585] x29: ffffffc00f0c37a0 x28: ffffff801485bef0 x27: ffffff8014858000
[710831.217063] x26: 0000000000000000 x25: ffffff801485bed4 x24: ffffff8014858000
[710831.224268] x23: 0000000000003f60 x22: ffffff801485bf60 x21: ffffff8005f603a0
[710831.231475] x20: ffffffc00f0c39e0 x19: ffffff8009af0e00 x18: 0cea122a0dac8927
[710831.238677] x17: 000000000b9f76c0 x16: 0675091506d65a47 x15: 0000000005cfbb60
[710831.245882] x14: 0240717102625a00 x13: 000000000206cc80 x12: 010f4471011f2ba0
[710831.253088] x11: 0000000000f42400 x10: 0087a238008f9a27 x9 : 000063ff00008556
[710831.260291] x8 : 0000c80100018fff x7 : 000027ff00002c71 x6 : 00003201000042ab
[710831.267499] x5 : 0000000000000000 x4 : 000000000000000b x3 : 0000000000000000
[710831.274702] x2 : 0000000000000000 x1 : 00000000000000ff x0 : ffffffc00f0c39e0
[710831.281907] Call trace:
[710831.289105] ieee80211_bss_get_elem+0x21c/0x2b0 [cfg80211]
[710831.291800] cfg80211_calculate_bitrate+0x228/0x56c [cfg80211]
[710831.297095] nl80211_put_sta_rate+0x4c/0x1200 [cfg80211]
[710831.302997] nl80211_put_sta_rate+0xa88/0x1200 [cfg80211]
[710831.308553] nl80211_put_sta_rate+0x1028/0x1200 [cfg80211]
[710831.313936] netlink_dump+0x104/0x370
[710831.319400] netlink_recvmsg+0x1a0/0x310
[710831.323219] ____sys_recvmsg+0x70/0x270
[710831.327301] ___sys_recvmsg+0x70/0xc0
[710831.331292] __sys_recvmsg+0x44/0x8c
[710831.334853] __arm64_sys_recvmsg+0x24/0x30
[710831.338586] invoke_syscall.constprop.0+0x5c/0x104
[710831.342580] do_el0_svc+0x74/0x16c
[710831.347438] el0_svc+0x18/0x54
[710831.350911] el0t_64_sync_handler+0xa4/0x130
[710831.354038] el0t_64_sync+0x184/0x188
[710831.358552] ---[ end trace 12dcb381bfb85c87 ]---
My wireless config, only using radio1, with constantly around 5 to 6 clients 24/7
config wifi-device 'radio0'
option type 'mac80211'
option path 'soc/20000000.pci/pci0000:00/0000:00:00.0/0000:01:00.0'
option cell_density '0'
option country 'PT'
option htmode 'HT40'
option band '2g'
option channel '3'
option noscan '1'
config wifi-device 'radio1'
option type 'mac80211'
option path 'platform/soc/c000000.wifi'
option band '5g'
option cell_density '0'
option channel '36'
option country 'PT'
option htmode 'HE160'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid '403 Forbidden'
option encryption 'sae-mixed'
option key 'xxxxxxxxxx'
config wifi-device 'radio2'
option type 'mac80211'
option path 'platform/soc/c000000.wifi+1'
option band '2g'
option cell_density '0'
option country 'PT'
option channel '3'
option htmode 'HE20'
Thanks to all of you for your efforts!
EDIT: Build Settings, just changed to ondemand governor on the kernel config
A few interesting commits for sysupgrade in master…
eg.
Next rebase will be interesting to see if our situation is improved.
That wont do anything as sysupgrade was failing since hostapd couldn't be killed due to ath11k taking forever to stop
Update pushed as 5.10.76 was merged and that allows to drop some backports.
I have added the clock driver conversion to parent_data
as well since that is gonna get sent today upstream.
On both AX3600 same error directly on boot (was not there on privous build). But Wifi and LAN works it seems without issue. Will let it run a while.
[ 5.755341] ------------[ cut here ]------------
[ 5.755381] nss_port5_rx_clk_src: rcg didn't update its configuration.
[ 5.755404] WARNING: CPU: 1 PID: 93 at update_config+0xac/0xc0
[ 5.765370] Modules linked in: leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom qca_nss_dp qca_ssdk gpio_button_hotplug crc32c_generic
[ 5.771201] CPU: 1 PID: 93 Comm: kworker/1:2 Not tainted 5.15.76 #0
[ 5.783947] Hardware name: Xiaomi AX3600 (DT)
[ 5.790108] Workqueue: events qca_mac_sw_sync_work_task [qca_ssdk]
[ 5.794626] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 5.800701] pc : update_config+0xac/0xc0
[ 5.807553] lr : update_config+0xac/0xc0
[ 5.811720] sp : ffffffc00932bb30
[ 5.815624] x29: ffffffc00932bb30 x28: 0000000000000001 x27: 0000000000000001
[ 5.818843] x26: 0000000000000000 x25: 0000000000000001 x24: 0000000000000001
[ 5.825962] x23: ffffffc000880e58 x22: 000000000124f800 x21: ffffffc0088d40b0
[ 5.833079] x20: ffffffc008b355c8 x19: 0000000000000000 x18: 000000000000011e
[ 5.840197] x17: 0000000000000000 x16: ffffffc000815c88 x15: ffffffc008aa7ac8
[ 5.847316] x14: 000000000000035a x13: 000000000000011e x12: ffffffc00932b858
[ 5.854435] x11: fffffffffffe4bd0 x10: fffffffffffe4b88 x9 : ffffffc008affac8
[ 5.861553] x8 : 0000000000001ad0 x7 : ffffffc008aa7ac8 x6 : 00000000ffffefff
[ 5.868670] x5 : ffffffc008affac8 x4 : 00000000ffffefff x3 : 0000000000000001
[ 5.875788] x2 : ffffffc008aa7a20 x1 : ffffffc008aa7a20 x0 : 000000000000003a
[ 5.882907] Call trace:
[ 5.890015] update_config+0xac/0xc0
[ 5.892274] clk_rcg2_set_rate+0x70/0x90
[ 5.896095] clk_change_rate+0x148/0x2c4
[ 5.900001] clk_core_set_rate_nolock+0x14c/0x230
[ 5.903908] clk_set_rate+0x38/0x150
[ 5.908508] ssdk_uniphy_clock_rate_set+0x80/0x130 [qca_ssdk]
[ 5.912158] ssdk_port_speed_clock_set+0xb0/0x148 [qca_ssdk]
[ 5.917801] qca_hppe_mac_sw_sync_task+0x348/0x85c [qca_ssdk]
[ 5.923530] qca_mac_sw_sync_work_task+0x40/0x6c [qca_ssdk]
[ 5.929170] process_one_work+0x200/0x3c0
[ 5.934550] worker_thread+0x78/0x4e0
[ 5.938716] kthread+0x120/0x130
[ 5.942360] ret_from_fork+0x10/0x20
[ 5.945661] ---[ end trace 38c066954ef3ce1e ]---
[ 5.950174] ------------[ cut here ]------------
[ 5.953823] nss_port5_tx_clk_src: rcg didn't update its configuration.
[ 5.953848] WARNING: CPU: 1 PID: 93 at update_config+0xac/0xc0
[ 5.964763] Modules linked in: leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom qca_nss_dp qca_ssdk gpio_button_hotplug crc32c_generic
[ 5.970593] CPU: 1 PID: 93 Comm: kworker/1:2 Tainted: G W 5.15.76 #0
[ 5.983341] Hardware name: Xiaomi AX3600 (DT)
[ 5.990890] Workqueue: events qca_mac_sw_sync_work_task [qca_ssdk]
[ 5.995407] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 6.001483] pc : update_config+0xac/0xc0
[ 6.008335] lr : update_config+0xac/0xc0
[ 6.012501] sp : ffffffc00932bb30
[ 6.016406] x29: ffffffc00932bb30 x28: 0000000000000001 x27: 0000000000000001
[ 6.019626] x26: 0000000000000000 x25: 0000000000000001 x24: 0000000000000001
[ 6.026743] x23: ffffffc000880e58 x22: 000000000124f800 x21: ffffffc0088d4018
[ 6.033861] x20: ffffffc008b354a0 x19: 0000000000000000 x18: 0000000000000142
[ 6.040980] x17: 0000000000000000 x16: ffffffc000815c88 x15: ffffffc008aa7ac8
[ 6.048098] x14: 00000000000003c6 x13: 0000000000000142 x12: ffffffc00932b858
[ 6.055215] x11: fffffffffffe5468 x10: fffffffffffe5420 x9 : ffffffc008affac8
[ 6.062333] x8 : 0000000000001e30 x7 : ffffffc008aa7ac8 x6 : 00000000ffffefff
[ 6.069452] x5 : ffffffc008affac8 x4 : 00000000ffffefff x3 : 0000000000000001
[ 6.076569] x2 : ffffffc008aa7a20 x1 : ffffffc008aa7a20 x0 : 000000000000003a
[ 6.083688] Call trace:
[ 6.090797] update_config+0xac/0xc0
[ 6.093055] clk_rcg2_set_rate+0x70/0x90
[ 6.096877] clk_change_rate+0x148/0x2c4
[ 6.100782] clk_core_set_rate_nolock+0x14c/0x230
[ 6.104690] clk_set_rate+0x38/0x150
[ 6.109288] ssdk_uniphy_clock_rate_set+0x80/0x130 [qca_ssdk]
[ 6.112939] ssdk_port_speed_clock_set+0xc0/0x148 [qca_ssdk]
[ 6.118581] qca_hppe_mac_sw_sync_task+0x348/0x85c [qca_ssdk]
[ 6.124311] qca_mac_sw_sync_work_task+0x40/0x6c [qca_ssdk]
[ 6.129953] process_one_work+0x200/0x3c0
[ 6.135331] worker_thread+0x78/0x4e0
[ 6.139497] kthread+0x120/0x130
[ 6.143142] ret_from_fork+0x10/0x20
[ 6.146441] ---[ end trace 38c066954ef3ce1f ]---
What is the hash you built from?
Sorry for that! This was my fault! I did just a git pull as usual. Didn't use the vanilla build first. Thought it will work like last builds. Now it looks like I've forgotten a "make clean" to me.
Vanilla build does not have this issue!
It should work, that is why I am asking what is the hash of the latest commit in your tree?
Ah, Sorry thought you want the hash from the downloaded file.
9f24d800239e222e0debf893cfdc372461afeb83
Yeah, that's the current tip of the branch.
I am now seeing some issues with the clock driver conversion, will revert that for now.
The prebuilt release has also been deleted to prevent people from losing access or boards hanging.
Thank you. Will wait then with rebuild until tomorrow.
Its gonna get pushed within couple of minutes, will take CI 2-3 hours to build