Kernel Warning ipq40xx device

Hi,

After updating my DAP-2610 (ipq40xx device) to:

OpenWrt SNAPSHOT, r12320-3660a89cb9

I get this:

[25411.365014] ------------[ cut here ]------------
[25411.365184] WARNING: CPU: 1 PID: 0 at target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx_generic/ath10k-ct-regular/ath10k-ct-2020-02-18-bed49a5f/ath10k-5.4/txrx.c:121 ath10k_txrx_tx_unref+0x49c/0x66c [ath10k_core]
[25411.368735] Invalid VHT rate, nss: 3  hw_rate: 15 ratecode: 255
[25411.387892] Modules linked in: pppoe ppp_async iptable_nat ipt_MASQUERADE ath10k_pci ath10k_core ath xt_state xt_nat xt_conntrack xt_REDIRECT xt_FLOWOFFLOAD xt_CT pppox ppp_generic nf_nat_ipv4 nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack 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 leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom gpio_button_hotplug
[25411.431207] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.19.106 #0
[25411.453431] Hardware name: Generic DT based system
[25411.459701] [<c030e310>] (unwind_backtrace) from [<c030ab70>] (show_stack+0x10/0x14)
[25411.464384] [<c030ab70>] (show_stack) from [<c07acd20>] (dump_stack+0x94/0xa8)
[25411.472283] [<c07acd20>] (dump_stack) from [<c031bb48>] (__warn+0xd4/0xf0)
[25411.479311] [<c031bb48>] (__warn) from [<c031b7f0>] (warn_slowpath_fmt+0x38/0x48)
[25411.486257] [<c031b7f0>] (warn_slowpath_fmt) from [<bf2df44c>] (ath10k_txrx_tx_unref+0x49c/0x66c [ath10k_core])
[25411.493859] [<bf2df44c>] (ath10k_txrx_tx_unref [ath10k_core]) from [<bf2d8db4>] (ath10k_htt_t2h_msg_handler+0x65c/0x1100 [ath10k_core])
[25411.503692] [<bf2d8db4>] (ath10k_htt_t2h_msg_handler [ath10k_core]) from [<bf331fbc>] (ath10k_pci_htt_rx_cb+0x1c8/0x218 [ath10k_pci])
[25411.515844] [<bf331fbc>] (ath10k_pci_htt_rx_cb [ath10k_pci]) from [<bf2f7d9c>] (ath10k_ce_per_engine_service+0x80/0xd8 [ath10k_core])
[25411.528027] [<bf2f7d9c>] (ath10k_ce_per_engine_service [ath10k_core]) from [<bf2f7e60>] (ath10k_ce_per_engine_service_any+0x6c/0x98 [ath10k_core])
[25411.539967] [<bf2f7e60>] (ath10k_ce_per_engine_service_any [ath10k_core]) from [<bf3344c0>] (ath10k_pci_napi_poll+0x9c/0x13c [ath10k_pci])
[25411.552944] [<bf3344c0>] (ath10k_pci_napi_poll [ath10k_pci]) from [<c0693c08>] (net_rx_action+0x138/0x2fc)
[25411.565345] [<c0693c08>] (net_rx_action) from [<c03021c8>] (__do_softirq+0xe0/0x25c)
[25411.574975] [<c03021c8>] (__do_softirq) from [<c031fa8c>] (irq_exit+0x9c/0xfc)
[25411.582874] [<c031fa8c>] (irq_exit) from [<c035fa7c>] (__handle_domain_irq+0x9c/0xac)
[25411.589907] [<c035fa7c>] (__handle_domain_irq) from [<c0548978>] (gic_handle_irq+0x5c/0x90)
[25411.597803] [<c0548978>] (gic_handle_irq) from [<c0301a0c>] (__irq_svc+0x6c/0x90)
[25411.605955] Exception stack(0xcf861f68 to 0xcf861fb0)
[25411.613594] 1f60:                   00000000 00ff78a0 cfd842c4 c0313bc0 ffffe000 c0b04c6c
[25411.618635] 1f80: 00000002 c0b04cac c0a3cda8 00000000 00000000 00000000 c0b0d800 cf861fb8
[25411.626790] 1fa0: c0308358 c030835c 60000013 ffffffff
[25411.634954] [<c0301a0c>] (__irq_svc) from [<c030835c>] (arch_cpu_idle+0x34/0x38)
[25411.639994] [<c030835c>] (arch_cpu_idle) from [<c0341c48>] (do_idle+0xf0/0x200)
[25411.647456] [<c0341c48>] (do_idle) from [<c0341fb4>] (cpu_startup_entry+0x18/0x1c)
[25411.654486] [<c0341fb4>] (cpu_startup_entry) from [<803023ec>] (0x803023ec)
[25411.662116] ---[ end trace 95d9dfa7302e7d28 ]---

Anyone is having the same "problem" in ipq40xx devices after updating?

Thanks!!!

2 Likes

Same here with Netgear Nighthawk X4S R7800 (IPQ8065)

OpenWrt SNAPSHOT, r12324-35890514bb (hnyman's build)

[97321.237573] ------------[ cut here ]------------
[97321.237784] WARNING: CPU: 0 PID: 0 at target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/ath10k-ct-regular/ath10k-ct-2020-02-18-bed49a5f/ath10k-5.4/txrx.c:121 ath10k_txrx_tx_unref+0x4b4/0x698 [ath10k_core]
[97321.241300] Invalid VHT rate, nss: 3  hw_rate: 15 ratecode: 255
[97321.260459] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pptp pppox ppp_mppe ppp_generic mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 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_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY wireguard slhc nf_reject_ipv4 nf_nat_ipv4 nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack_netlink nf_conncount iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt compat chaoskey fuse sch_cake sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic
[97321.314989]  act_skbedit act_mirred ledtrig_usbport 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_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6table_nat ip6t_NPT ip6t_MASQUERADE nf_nat_ipv6 nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos ip_gre gre ifb ip6_udp_tunnel udp_tunnel sit tunnel4 ip_tunnel tun vfat fat hfsplus cifs nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 nls_cp1250 sha1_generic md5 md4 ecb des_generic arc4 usb_storage leds_gpio xhci_plat_hcd xhci_pci
[97321.386212]  xhci_hcd dwc3 dwc3_qcom ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 exfat crc32c_generic
[97321.408394] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.19.106 #0
[97321.428070] Hardware name: Generic DT based system
[97321.434245] [<c030f7fc>] (unwind_backtrace) from [<c030b610>] (show_stack+0x14/0x20)
[97321.438934] [<c030b610>] (show_stack) from [<c0813b74>] (dump_stack+0x94/0xa8)
[97321.446833] [<c0813b74>] (dump_stack) from [<c031df58>] (__warn+0xd4/0xf0)
[97321.453858] [<c031df58>] (__warn) from [<c031dbe8>] (warn_slowpath_fmt+0x34/0x4c)
[97321.460744] [<c031dbe8>] (warn_slowpath_fmt) from [<bf889a3c>] (ath10k_txrx_tx_unref+0x4b4/0x698 [ath10k_core])
[97321.468377] [<bf889a3c>] (ath10k_txrx_tx_unref [ath10k_core]) from [<bf882e6c>] (ath10k_htt_t2h_msg_handler+0x674/0x1100 [ath10k_core])
[97321.478205] [<bf882e6c>] (ath10k_htt_t2h_msg_handler [ath10k_core]) from [<bf8dc214>] (ath10k_pci_htt_rx_cb+0x1dc/0x23c [ath10k_pci])
[97321.490367] [<bf8dc214>] (ath10k_pci_htt_rx_cb [ath10k_pci]) from [<bf8a3c7c>] (ath10k_ce_per_engine_service+0x9c/0x10c [ath10k_core])
[97321.502524] [<bf8a3c7c>] (ath10k_ce_per_engine_service [ath10k_core]) from [<bf8a3d64>] (ath10k_ce_per_engine_service_any+0x78/0xb4 [ath10k_core])
[97321.514484] [<bf8a3d64>] (ath10k_ce_per_engine_service_any [ath10k_core]) from [<bf8de1a4>] (ath10k_pci_napi_poll+0xac/0x160 [ath10k_pci])
[97321.527567] [<bf8de1a4>] (ath10k_pci_napi_poll [ath10k_pci]) from [<c06f8f18>] (net_rx_action+0x144/0x31c)
[97321.539975] [<c06f8f18>] (net_rx_action) from [<c03021dc>] (__do_softirq+0xf4/0x280)
[97321.549607] [<c03021dc>] (__do_softirq) from [<c03222e4>] (irq_exit+0xa0/0x108)
[97321.557510] [<c03222e4>] (irq_exit) from [<c0367d5c>] (__handle_domain_irq+0xa8/0xc8)
[97321.564541] [<c0367d5c>] (__handle_domain_irq) from [<c056a4ac>] (gic_handle_irq+0x6c/0xb8)
[97321.572523] [<c056a4ac>] (gic_handle_irq) from [<c0301a0c>] (__irq_svc+0x6c/0x90)
[97321.580677] Exception stack(0xc0b01f08 to 0xc0b01f50)
[97321.588319] 1f00:                   00000000 00005883 1cf54000 dd991940 ffffe000 c0b04c6c
[97321.593361] 1f20: 00005883 00005883 dd7e4600 00000000 5dca5420 5dc487c0 00000015 c0b01f58
[97321.601514] 1f40: c06a1660 c06a16a0 30000013 ffffffff
[97321.609673] [<c0301a0c>] (__irq_svc) from [<c06a16a0>] (cpuidle_enter_state+0x184/0x2ec)
[97321.614712] [<c06a16a0>] (cpuidle_enter_state) from [<c0347b84>] (do_idle+0x18c/0x224)
[97321.622869] [<c0347b84>] (do_idle) from [<c0347e90>] (cpu_startup_entry+0x1c/0x24)
[97321.630597] [<c0347e90>] (cpu_startup_entry) from [<c0a00d78>] (start_kernel+0x46c/0x47c)

1 Like

Thanks @fatbob313 , it seems to be something related to wifi driver/firmware.
Time to wait for a new version.

1 Like

Same issue on Fritzbox 4040.