Hi,
first of all let me send a BIG THANK YOU to all the wonderful people who contribute to OpenWrt (running the project, writing documentation, coding, lots more). Thanks for giving me the choice to leverage an open source alternative for such a crucial topic (networking = core communication)!
Unfortunately with the current choice of hardware (Netgear Nighthawk X4S R7800) I am running into stability issues. Anybody else facing similar messages in the logs?
Running a vanilla 19.07.0-rc2 installation downloaded at https://downloads.openwrt.org/releases/19.07.0-rc2/targets/ipq806x/generic/ btw.
Some hopefully useful information below. Not every time the kernel trace is being logged you see a loss of connectivity, but sometimes you do. Weird enough, I notice by getting a "destination host unreachable" from my master-router. So, not wifi is gone, but routing. Usually rebooting doesn't help, but a power cycle is needed, maybe to get some settings off the ath10k driver.
Reading the trace I noticed 19.07.0-rc2 seems to go with a 4.14 kernel but a backported driver of the 4.19 tree. Wouldn't it be easier to go full 4.19 kernel eliminating backporting issues?
Hopefully you'll be able to point me the right direction how to debug/solve.
have a great day, thx in advance!
root@w34master ~> dmesg|grep Machine.model
[ 0.000000] OF: fdt: Machine model: Netgear Nighthawk X4S R7800
root@w34master ~> cat /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='19.07.0-rc2'
DISTRIB_REVISION='r10775-db8345d8e4'
DISTRIB_TARGET='ipq806x/generic'
DISTRIB_ARCH='arm_cortex-a15_neon-vfpv4'
DISTRIB_DESCRIPTION='OpenWrt 19.07.0-rc2 r10775-db8345d8e4'
DISTRIB_TAINTS=''
root@w34master ~> opkg list-installed|grep -e kernel -e ath
ath10k-firmware-qca9984-ct - 2019-10-03-d622d160-1
kernel - 4.14.156-1-0894164cab0effc42201a29fec8ce33f
kmod-ath - 4.14.156+4.19.85-1-1
kmod-ath10k-ct - 4.14.156+2019-09-09-5e8cd86f-1
root@w34master ~> logread|grep Jan..6|grep kern.warn.kernel
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.776451] ------------[ cut here ]------------
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.776513] WARNING: CPU: 0 PID: 2402 at backports-4.19.85-1/net/wireless/util.c:1147 0xbf1e5c98 [cfg80211@bf1e1000+0x37000]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.780315] invalid rate bw=0, mcs=15, nss=4
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.791434] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.844077] sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.866280] CPU: 0 PID: 2402 Comm: kworker/u4:0 Not tainted 4.14.156 #0
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.875370] Hardware name: Generic DT based system
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.881991] Workqueue: phy0 0xbf24158c [mac80211@bf22d000+0x68000]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.886839] Function entered at [<c030f1c4>] from [<c030b390>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.892995] Function entered at [<c030b390>] from [<c07bf364>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.898811] Function entered at [<c07bf364>] from [<c031fa58>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.904627] Function entered at [<c031fa58>] from [<c031fab8>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.910441] Function entered at [<c031fab8>] from [<bf1e5c98>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.916295] Function entered at [<bf1e5c98>] from [<bf27e930>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.922090] Function entered at [<bf27e930>] from [<bf27e9dc>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.927892] Function entered at [<bf27e9dc>] from [<bf27f2f8>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.933706] Function entered at [<bf27f2f8>] from [<bf27ab68>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.939522] Function entered at [<bf27ab68>] from [<bf24181c>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.945340] Function entered at [<bf24181c>] from [<c03371e0>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.951153] Function entered at [<c03371e0>] from [<c03376dc>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.956969] Function entered at [<c03376dc>] from [<c033d32c>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.962784] Function entered at [<c033d32c>] from [<c0307c48>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.968698] ---[ end trace 14e53bb3327f7551 ]---
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.974501] ------------[ cut here ]------------
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.979292] WARNING: CPU: 0 PID: 2402 at backports-4.19.85-1/net/mac80211/mesh_hwmp.c:344 0xbf27e948 [mac80211@bf22d000+0x68000]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34040.983795] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34041.043790] sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34041.066013] CPU: 0 PID: 2402 Comm: kworker/u4:0 Tainted: G W 4.14.156 #0
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34041.075111] Hardware name: Generic DT based system
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34041.083114] Workqueue: phy0 0xbf24158c [mac80211@bf22d000+0x68000]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34041.087787] Function entered at [<c030f1c4>] from [<c030b390>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34041.093947] Function entered at [<c030b390>] from [<c07bf364>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34041.099763] Function entered at [<c07bf364>] from [<c031fa58>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34041.105579] Function entered at [<c031fa58>] from [<c031fb44>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34041.111395] Function entered at [<c031fb44>] from [<bf27e948>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34041.117213] Function entered at [<bf27e948>] from [<bf27e9dc>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34041.123030] Function entered at [<bf27e9dc>] from [<bf27f2f8>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34041.128845] Function entered at [<bf27f2f8>] from [<bf27ab68>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34041.134660] Function entered at [<bf27ab68>] from [<bf24181c>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34041.140476] Function entered at [<bf24181c>] from [<c03371e0>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34041.146292] Function entered at [<c03371e0>] from [<c03376dc>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34041.152106] Function entered at [<c03376dc>] from [<c033d32c>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34041.157924] Function entered at [<c033d32c>] from [<c0307c48>]
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34041.163845] ---[ end trace 14e53bb3327f7552 ]---
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34041.170944] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
Mon Jan 6 14:07:21 2020 kern.warn kernel: [34041.174354] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 1, skipped old beacon