OpenWrt/LEDE Project

Welcome to the OpenWrt/LEDE Project bug reporting and issue tracking system

Problems to be reported here are for the OpenWrt/LEDE Project targets, sources, toolchain, core packages, build procedures, distribution and infrastructure. Guidelines for submitting a good bug report can be found at the OpenWrt/LEDE Project website. Problems related to LuCI or OpenWrt packages need to be reported in their repositories:

Notifications of all submissions and task changes are sent to lede-bugs@infradead.org.

OpenedIDCategory  descTask TypePrioritySeveritySummaryReported InStatus
04.02.20181326KernelBug ReportVery LowMediumKernel crashTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
Archer C7 v2

- Software versions of OpenWrt/LEDE release, packages, etc.

OpenWrt SNAPSHOT r5994-fd30187c87 / LuCI Master (git-18.031.70145-518ac52)

Feb 3rd 2018 snapshot.

- Steps to reproduce

 

install snapshot, let it run, normal usage, connect disconnect etc.

info from kernel log:

[14458.634926] ath10k_pci 0000:01:00.0: failed to delete peer c4:b3:01:8f:ef:62 for vdev 0: -145
[14458.643587] ath10k_pci 0000:01:00.0: found sta peer c4:b3:01:8f:ef:62 (ptr 86958c00 id 27) entry on vdev 0 after it was supposedly removed
[14458.656870] ————[ cut here ]———— [14458.661686] WARNING: CPU: 0 PID: 13630 at backports-2017-11-01/net/mac80211/sta_info.c:1001 sta_set_sinfo+0×930/0x9d8 [mac80211]
[14458.673453] Modules linked in: xt_tcpmss xt_statistic xt_recent xt_length xt_hl xt_helper xt_ecn xt_dscp xt_connmark xt_connlimit xt_connbytes xt_HL xt_DSCP xt_CLASSIFY ipt_ECN sch_cake act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ifb ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_netlink 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_CT slhc nfnetlink nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle
[14458.745995] iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables sit tunnel4 ip_tunnel nls_utf8 nls_iso8859_1 nls_cp437 vfat fat usb_storage sd_mod scsi_mod ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[14458.775167] CPU: 0 PID: 13630 Comm: hostapd Not tainted 4.9.77 #0
[14458.781337] Stack : 804f765a 00000035 00000000 00000001 87c2f614 80489347 80439b58 0000353e
[14458.789882] 804f37a0 000003e9 00000000 00000000 00000000 800a9934 8043f378 80480000
[14458.798426] 00000003 000003e9 8043d53c 86b5fb0c 00000000 800d847c 804f765a 00000074
[14458.806971] 00000000 8022ef00 00000000 00000000 00000000 00000000 00000000 00000000
[14458.815516] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[14458.824051] ...
[14458.826552] Call Trace:
[14458.829043] [<8006b2c8>] show_stack+0×54/0×88 [14458.833482] [<8007ff40>] warn+0xe4/0×118 [14458.837657] [<80080008>] warn_slowpath_null+0x1c/0×34 [14458.842880] [<87706fd8>] sta_set_sinfo+0×930/0x9d8 [mac80211]
[14458.848830] [<87704940>] sta_info_get_bss+0×18/0×68 [mac80211]
[14458.854870] [<87707160>] sta_info_destroy_addr_bss+0×38/0×60 [mac80211]
[14458.861694] [<8764e3d0>] cfg80211_check_station_change+0x21cc/0×3848 [cfg80211]
[14458.869154] —[ end trace e47c69f6c533b83e ]— [14461.914797] ath10k_pci 0000:01:00.0: failed to wait for created wmi peer c4:b3:01:8f:ef:62 on vdev 0: -145
[14461.924661] ath10k_pci 0000:01:00.0: failed to add peer c4:b3:01:8f:ef:62 for vdev 0 when adding a new sta: -145
[14746.711911] ath10k_pci 0000:01:00.0: failed to install key for vdev 0 peer 2c:0e:3d:12:09:95: -11
[14746.720962] wlan0: failed to remove key (0, 2c:0e:3d:12:09:95) from hardware (-11)
[14746.753467] ath10k_pci 0000:01:00.0: cipher 0 is not supported
[14746.759445] ath10k_pci 0000:01:00.0: failed to remove peer wep key 0: -122
[14746.766463] ath10k_pci 0000:01:00.0: failed to clear all peer wep keys for vdev 0: -122
[14746.774607] ath10k_pci 0000:01:00.0: failed to disassociate station: 2c:0e:3d:12:09:95 vdev 0: -122
[14746.783787] ————[ cut here ]———— [14746.788602] WARNING: CPU: 0 PID: 13630 at backports-2017-11-01/net/mac80211/sta_info.c:993 sta_set_sinfo+0x8e0/0x9d8 [mac80211]
[14746.800249] Modules linked in: xt_tcpmss xt_statistic xt_recent xt_length xt_hl xt_helper xt_ecn xt_dscp xt_connmark xt_connlimit xt_connbytes xt_HL xt_DSCP xt_CLASSIFY ipt_ECN sch_cake act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ifb ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_netlink 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_CT slhc nfnetlink nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle
[14746.872787] iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables sit tunnel4 ip_tunnel nls_utf8 nls_iso8859_1 nls_cp437 vfat fat usb_storage sd_mod scsi_mod ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[14746.901958] CPU: 0 PID: 13630 Comm: hostapd Tainted: G W 4.9.77 #0
[14746.909370] Stack : 804f765a 00000043 00000000 00000001 87c2f614 80489347 80439b58 0000353e
[14746.917913] 804f37a0 000003e1 00000000 00000000 00000000 800a9934 8043f378 80480000
[14746.926458] 00000003 000003e1 8043d53c 86b5fb0c 00000000 800d847c 804f765a 00000073
[14746.935002] 8049ae60 8022ef00 00000000 00000000 00000000 00000000 00000000 00000000
[14746.943547] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[14746.952092] ...
[14746.954583] Call Trace:
[14746.957064] [<8006b2c8>] show_stack+0×54/0×88 [14746.961495] [<8007ff40>]
warn+0xe4/0×118 [14746.965666] [<80080008>] warn_slowpath_null+0x1c/0×34 [14746.970889] [<87706f88>] sta_set_sinfo+0x8e0/0x9d8 [mac80211]
[14746.976845] [<87704940>] sta_info_get_bss+0×18/0×68 [mac80211]
[14746.982873] [<87707160>] sta_info_destroy_addr_bss+0×38/0×60 [mac80211]
[14746.989699] [<8764e3d0>] cfg80211_check_station_change+0x21cc/0×3848 [cfg80211]
[14746.997160] —[ end trace e47c69f6c533b83f ]— [14750.071885] ath10k_pci 0000:01:00.0: failed to delete peer 2c:0e:3d:12:09:95 for vdev 0: -11
[14750.080493] ath10k_pci 0000:01:00.0: found sta peer 2c:0e:3d:12:09:95 (ptr 86115e00 id 57) entry on vdev 0 after it was supposedly removed
[14753.111859] ath10k_pci 0000:01:00.0: failed to set beacon mode for vdev 0: -11
[14756.151812] ath10k_pci 0000:01:00.0: failed to set dtim period for vdev 0: -11
[14759.191795] ath10k_pci 0000:01:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[14762.231753] ath10k_pci 0000:01:00.0: failed to set cts protection for vdev 0: -11
[14765.271707] ath10k_pci 0000:01:00.0: failed to set preamble for vdev 0: -11
[88965.620794] ath10k_pci 0000:01:00.0: failed to install key for vdev 0 peer a4:2b:b0:df:39:70: -11
[88965.630032] wlan0: failed to set key (2, ff:ff:ff:ff:ff:ff) to hardware (-11)
[111930.445474] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111933.485423] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111937.165444] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111940.205359] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111947.165313] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111950.205384] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111957.165174] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111960.205293] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111964.685124] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111967.725111] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111974.525032] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111977.565030] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111984.524945] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111987.564913] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111994.524853] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111997.564835] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[112004.524759] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[112007.564726] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request

13.03.20181429KernelBug ReportVery LowMediumOpenWrt kernel is missing support for hardware rtc devi...TrunkUnconfirmed Task Description

It seams that sometime in the past support for hardware rtc devices was removed from kernel:
https://patches.linaro.org/patch/1235/

But this is quite important feature to a lot of people who are building iot devices or just want their routers to have correct time even when they are offline and some time without power.

Manually enabling rtc support and using rtc device like sparkfun ds1307 hardware clock works as expected.

Here are steps I used to get rtc support enabled in latest OpenWrt git code:
http://kernelreloaded.com/adding-rtc-to-openwrt-devices-part-2/

Please consider enabling rtc support again kernel and make rtc kernel modules available as packages.

26.04.20181517KernelBug ReportVery LowMediumkernel error: CPU: 2 PID: 27318 at lib/iov_iter.c:695 c...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: MT 7621 - ZBT 3526)
- Software versions: Model ZBT-WG3526 (16M)
- Firmware Version: TRUNK - OpenWrt SNAPSHOT r6755-d089a5d / LuCI Master (git-18.113.52925-0c30ee0)
- Kernel Version 4.14.34

- Steps to reproduce
after a while i get: kernel errors and affterwards reboot needed.

Thu Apr 26 12:59:00 2018 kern.warn kernel: [69277.917386] ------------[ cut here ]------------
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69277.922064] WARNING: CPU: 2 PID: 27318 at lib/iov_iter.c:695 copy_page_to_iter+0xc4/0x508
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69277.930339] Modules linked in: pppoe ppp_async option usb_wwan pptp pppox ppp_mppe ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 mt76x2e mt7603e mt76 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_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY usbserial usb_storage ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.001388]  nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda macvlan iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat br_netfilter fuse sch_cake nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet 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 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.072898]  ip6table_mangle ip6table_filter ip6_tables x_tables ip_gre gre ifb ip_tunnel tun vfat fat f2fs ext4 jbd2 mbcache nls_utf8 nls_iso8859_1 nls_cp437 sha1_generic ecb crc32c_generic crc32_generic mmc_block mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.105236] CPU: 2 PID: 27318 Comm: cat Not tainted 4.14.34 #0
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.111065] Stack : 00000000 00000000 00000000 00000000 805f7ada 00000032 00000000 00000000
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.119416]         8f0ac1f4 80590927 8051cabc 00000002 00006ab6 00000001 8dca3be8 b3f6da0b
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.127750]         00000000 00000000 805f0000 00008808 00000000 00000199 00000008 00000000
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.136087]         00000000 80590000 00019b14 00000000 80000000 00000000 805b0000 80229950
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.144432]         00000009 000002b7 00000000 8dca3db0 00000001 802911d0 00000008 805f0008
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.152779]         ...
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.155227] Call Trace:
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.157698] [<80010498>] show_stack+0x58/0x100
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.162148] [<8045f24c>] dump_stack+0x9c/0xe0
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.166501] [<8002e1d8>] __warn+0xe0/0x114
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.170581] [<8002e29c>] warn_slowpath_null+0x1c/0x30
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.175621] [<80229950>] copy_page_to_iter+0xc4/0x508
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.180656] [<800dc5c8>] shmem_file_read_iter+0x2c0/0x3c0
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.186080] [<8013f3c0>] generic_file_splice_read+0xec/0x170
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.191721] [<8013f69c>] splice_direct_to_actor+0xc8/0x234
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.197187] [<8013f8a0>] do_splice_direct+0x98/0xd0
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.202061] [<8010b664>] do_sendfile+0x284/0x478
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.206683] [<8010e628>] SyS_sendfile64+0x84/0xd8
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.211399] [<80019578>] syscall_common+0x34/0x58
Thu Apr 26 12:59:00 2018 kern.warn kernel: [69278.216566] ---[ end trace b0a90f34a85fa703 ]---
03.05.20181530KernelBug ReportVery LowMediumr6755: tl-841n-v8 problems: ath: phy0: DMA failed to st...TrunkUnconfirmed Task Description

revision: trunk - r6755-d089a5d773
hardware: tp-link 841n-v8
build-configs:
https://github.com/weimarnetz/firmware/blob/master/configs/ar71xx_tiny.config https://github.com/weimarnetz/firmware/blob/master/configs/common.config

Started to see these errors in crash-reports - seems to happen multiple times per day.

crashlog fh461-TP-Link TL-WR841N/ND v8
beta-113-g9c709a2+openwrt-r6755-d089a5d773
Linux fh461 4.9.91 #0 Mon Apr 23 20:07:22 2018 mips GNU/Linux
69:24:7d:f0:91:12:fa:32:92:55:08:69:f3:4a:27:09:d4:4a:f9:05
TP-Link TL-WR841N/ND v8
Time: 1525266772.173517
Modules:	ath9k@80ee0000+15db0	ath9k_common@80e34000+2a80	ath9k_hw@80f00000+51020	ath@80e38000+41c0	mac80211@80e80000+5faa0	iptable_nat@80e31000+2c0	ipt_REJECT@80ce2000+360	ipt_MASQUERADE@80d85000+260	cfg80211@80e00000+30d50	xt_time@80da3000+620	xt_tcpudp@80da1000+680	xt_state@80d9e000+280	xt_nat@80da2000+440	xt_multiport@80da0000+480	xt_mark@80d9d000+260	xt_mac@80d9a000+240	xt_limit@80d98000+3c0	xt_conntrack@80d95000+860	xt_comment@80d87000+1c0	xt_TCPMSS@80d90000+a40	xt_REDIRECT@80d84000+260	xt_LOG@80d80000+2c0	nf_reject_ipv4@80ce8000+7a0	nf_nat_redirect@80ceb000+360	nf_nat_masquerade_ipv4@80cfc000+4f0	nf_conntrack_ipv4@80d82000+1240	nf_nat_ipv4@80ce0000+c50	nf_nat@80ce4000+2010	nf_log_ipv4@80d13000+c20	nf_defrag_ipv4@80d1a000+2c0	nf_conntrack_rtcache@80d1b000+960	nf_conntrack@80cf0000+b2c0	iptable_mangle@80d0e000+380	iptable_filter@80d10000+2a0	ip_tables@80d14000+2490	compat@80cda000+1260	ip6t_REJECT@80d07000+380	nf_reject_ipv6@80cd9000+840	nf_log_ipv6@80d05000+cc0	nf_log_common@80d0c000+840	ip6table_mangle@80cdf000+460	ip6table_filter@80d35000+260	ip6_tables@80d08000+2400	x_tables@80cdc000+2b30	tun@80d00000+4360	gpio_button_hotplug@80c8c000+11c0
<5>[    0.000000] Linux version 4.9.91 (buildbot@weimarnetz) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r6556-d7ca4c6d3e) ) #0 Mon Apr 23 20:07:22 2018
<7>[    0.000000] MyLoader: sysp=8b8b81ac, boardp=96e34c72, parts=b298aa77
<6>[    0.000000] bootconsole [early0] enabled
<6>[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
<6>[    0.000000] SoC: Atheros AR9341 rev 1
<6>[    0.000000] Determined physical RAM map:
<6>[    0.000000]  memory: 02000000 @ 00000000 (usable)
<6>[    0.000000] Initrd not found or empty - disabling initrd
<4>[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
<4>[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
<6>[    0.000000] Zone ranges:
<6>[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
<6>[    0.000000] Movable zone start for each node
<6>[    0.000000] Early memory node ranges
<6>[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
<6>[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
<7>[    0.000000] On node 0 totalpages: 8192
<7>[    0.000000] free_area_init_node: node 0, pgdat 803ec8b4, node_mem_map 81000020
<7>[    0.000000]   Normal zone: 64 pages used for memmap
<7>[    0.000000]   Normal zone: 0 pages reserved
<7>[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
<7>[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
<7>[    0.000000] pcpu-alloc: [0] 0
<6>[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
<5>[    0.000000] Kernel command line:  board=TL-WR841N-v8  console=ttyS0,115200 rootfstype=squashfs noinitrd
<6>[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
<6>[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
<6>[    0.000000] Writing ErrCtl register=00000000
<6>[    0.000000] Readback ErrCtl register=00000000
<6>[    0.000000] Memory: 27984K/32768K available (3153K kernel code, 150K rwdata, 332K rodata, 196K init, 212K bss, 4784K reserved, 0K cma-reserved)
<6>[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
<6>[    0.000000] NR_IRQS:51
<6>[    0.000000] Clocks: CPU:535.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
<6>[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7144898866 ns
<6>[    0.000011] sched_clock: 32 bits at 267MHz, resolution 3ns, wraps every 8027976190ns
<6>[    0.008248] Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248)
<6>[    0.091064] pid_max: default: 32768 minimum: 301
<6>[    0.096058] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.103051] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.113506] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
<6>[    0.123919] futex hash table entries: 256 (order: -1, 3072 bytes)
<6>[    0.131034] NET: Registered protocol family 16
<6>[    0.137451] MIPS: machine is TP-LINK TL-WR841N/ND v8
<4>[    0.618054] Can't analyze schedule() prologue at 80370e68
<6>[    0.635480] clocksource: Switched to clocksource MIPS
<6>[    0.642102] NET: Registered protocol family 2
<6>[    0.647714] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.655078] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.661846] TCP: Hash tables configured (established 1024 bind 1024)
<6>[    0.668662] UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>[    0.674834] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>[    0.681773] NET: Registered protocol family 1
<7>[    0.686454] PCI: CLS 0 bytes, default 32
<4>[    0.691104] Crashlog allocated RAM at address 0x1f00000
<6>[    0.698114] workingset: timestamp_bits=30 max_order=13 bucket_order=0
<6>[    0.712737] squashfs: version 4.0 (2009/01/31) Phillip Lougher
<6>[    0.718933] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
<6>[    0.739073] io scheduler noop registered
<6>[    0.743211] io scheduler deadline registered (default)
<6>[    0.749106] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
<6>[    0.756351] console [ttyS0] disabled
<6>[    0.780246] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
<6>[    0.789368] console [ttyS0] enabled
<6>[    0.796935] bootconsole [early0] disabled
<4>[    0.809405] m25p80 spi0.0: found s25sl032p, expected m25p80
<6>[    0.815183] m25p80 spi0.0: s25sl032p (4096 Kbytes)
<5>[    0.821115] 5 tp-link partitions found on MTD device spi0.0
<5>[    0.826931] Creating 5 MTD partitions on "spi0.0":
<5>[    0.831893] 0x000000000000-0x000000020000 : "u-boot"
<5>[    0.838748] 0x000000020000-0x00000015107c : "kernel"
<5>[    0.845853] 0x00000015107c-0x0000003f0000 : "rootfs"
<5>[    0.852824] mtd: device 2 (rootfs) set to be root filesystem
<5>[    0.858792] 1 squashfs-split partitions found on MTD device rootfs
<5>[    0.865191] 0x000000390000-0x0000003f0000 : "rootfs_data"
<5>[    0.872684] 0x0000003f0000-0x000000400000 : "art"
<5>[    0.879534] 0x000000020000-0x0000003f0000 : "firmware"
<6>[    0.887904] libphy: Fixed MDIO Bus: probed
<6>[    0.911041] libphy: ag71xx_mdio: probed
<6>[    1.537571] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:00 [uid=004dd042, driver=Generic PHY]
<6>[    1.547876] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
<6>[    2.177362] ag71xx-mdio.1: Found an AR934X built-in switch
<6>[    2.229797] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
<6>[    2.238507] NET: Registered protocol family 10
<6>[    2.247818] NET: Registered protocol family 17
<6>[    2.252602] 8021q: 802.1Q VLAN Support v1.8
<6>[    2.265221] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
<6>[    2.273857] Freeing unused kernel memory: 196K
<4>[    2.278494] This architecture does not have kernel memory protection.
<5>[    2.545497] random: fast init done
<14>[    3.233660] init: Console is alive
<14>[    3.237514] init: - watchdog -
<14>[    3.994732] kmodloader: loading kernel modules from /etc/modules-boot.d/*
<14>[    4.146802] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
<14>[    4.155226] init: - preinit -
<6>[    5.340601] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
<5>[    8.562019] jffs2: notice: (366) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
<14>[    8.579568] mount_root: switching to jffs2 overlay
<12>[    8.616411] urandom-seed: Seeding with /etc/urandom.seed
<14>[    8.689353] procd: - early -
<14>[    8.692446] procd: - watchdog -
<14>[    9.250783] procd: - watchdog -
<14>[    9.254343] procd: - ubus -
<14>[    9.517271] procd: - init -
<14>[    9.830081] kmodloader: loading kernel modules from /etc/modules.d/*
<6>[    9.840020] tun: Universal TUN/TAP device driver, 1.6
<6>[    9.845248] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
<6>[    9.856765] ip6_tables: (C) 2000-2006 Netfilter Core Team
<6>[    9.874264] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
<6>[    9.882597] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
<6>[    9.891727] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[    9.906150] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
<6>[    9.962757] xt_time: kernel timezone is -0000
<7>[   10.071153] ath: EEPROM regdomain: 0x0
<7>[   10.071164] ath: EEPROM indicates default country code should be used
<7>[   10.071168] ath: doing EEPROM country->regdmn map search
<7>[   10.071185] ath: country maps to regdmn code: 0x3a
<7>[   10.071191] ath: Country alpha2 being used: US
<7>[   10.071195] ath: Regpair used: 0x3a
<7>[   10.084756] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
<6>[   10.089600] ieee80211 phy0: Atheros AR9340 Rev:1 mem=0xb8100000, irq=47
<14>[   10.132795] kmodloader: done loading kernel modules from /etc/modules.d/*
<6>[   21.132399] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
<6>[   21.159067] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
<6>[   21.181083] IPv6: ADDRCONF(NETDEV_UP): br-vap: link is not ready
<6>[   21.216086] IPv6: ADDRCONF(NETDEV_UP): br-roam: link is not ready
<6>[   23.217877] eth0: link up (100Mbps/Full duplex)
<6>[   23.222619] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
<7>[   23.416141] ath: EEPROM regdomain: 0x8114
<7>[   23.420293] ath: EEPROM indicates we should expect a country code
<7>[   23.426643] ath: doing EEPROM country->regdmn map search
<7>[   23.432129] ath: country maps to regdmn code: 0x37
<7>[   23.437092] ath: Country alpha2 being used: DE
<7>[   23.441679] ath: Regpair used: 0x37
<7>[   23.445283] ath: regdomain 0x8114 dynamically updated by user
<6>[   28.082864] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
<6>[   28.377681] br-vap: port 1(wlan0-1) entered blocking state
<6>[   28.383369] br-vap: port 1(wlan0-1) entered disabled state
<6>[   28.389588] device wlan0-1 entered promiscuous mode
<6>[   28.507712] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
<6>[   28.514627] br-vap: port 1(wlan0-1) entered blocking state
<6>[   28.520388] br-vap: port 1(wlan0-1) entered forwarding state
<6>[   28.582371] IPv6: ADDRCONF(NETDEV_CHANGE): br-vap: link becomes ready
<6>[   28.617361] br-roam: port 1(wlan0-2) entered blocking state
<6>[   28.623278] br-roam: port 1(wlan0-2) entered disabled state
<6>[   28.629546] device wlan0-2 entered promiscuous mode
<6>[   28.696011] IPv6: ADDRCONF(NETDEV_UP): wlan0-2: link is not ready
<6>[   28.702438] br-roam: port 1(wlan0-2) entered blocking state
<6>[   28.708272] br-roam: port 1(wlan0-2) entered forwarding state
<6>[   28.714815] IPv6: ADDRCONF(NETDEV_CHANGE): br-roam: link becomes ready
<6>[   28.826240] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-2: link becomes ready
<6>[   29.344781] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
<6>[   29.554096] wlan0: Created IBSS using preconfigured BSSID 02:ca:ff:ee:ba:be
<6>[   29.561380] wlan0: Creating new IBSS network, BSSID 02:ca:ff:ee:ba:be
<6>[   29.600876] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
<5>[   54.884553] random: crng init done
<3>[26187.720165] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
<3>[26729.429478] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
<3>[28439.382610] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
<3>[29941.604627] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00026400
<3>[34096.679390] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
<3>[35348.329357] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00006400
<4>[39363.344165] ------------[ cut here ]------------
<4>[39363.348963] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:316 0x802a95c0
<6>[39363.356276] NETDEV WATCHDOG: eth0 (ag71xx): transmit queue 0 timed out
<0>[39363.363033] Kernel panic - not syncing: panic_on_warn set ...
<0>[39363.363033]
28.06.20181618KernelBug ReportVery LowMediummtk_soc_eth error with kernel stacktrace since kernel 4...TrunkUnconfirmed Task Description

Xiaomi Mi Router 3G with MediaTek MT7621
I’ve tested with about 5 daily snapshots, but the problem still exists. I think snapshots based on kernels prior to 4.14.50 had no such problem as I had uptime more than 2 weeks
Router stops eth device until reboot, sometimes rebooted with this error automatically, but in most cases I have to login and reboot it manually.
Once I found a correlation with a device performing backup of WatsApp mobile application, router stops eth device in about 2 minutes after restart and return to normal working behavior only after finishing backup by this device.
Here is the messages from the log:
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.132134] ————[ cut here ]———— Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.136778] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:320 dev_watchdog+0x1ac/0×324 Wed Jun 27 14:02:30 2018 kern.info kernel: [ 6216.145052] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.152031] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt7603e mt76 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 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.220963] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.50 #0
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.226940] Stack : 00000000 00000000 00000000 00000000 80607ad2 00000034 00000000 00000000
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.235275] 8059cdb4 8059c947 8052758c 00000000 00000000 00000001 8fc09d68 1cc282d2
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.243606] 00000000 00000000 80600000 00006288 00000000 0000013d 00000008 00000000
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.251935] 00000000 805a0000 00035f23 00000000 00000000 00000000 805c0000 803765e8
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.260265] 00000009 00000140 00000000 8fd86c40 00000003 80299e30 00000000 80600000
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.268596] ...
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.271031] Call Trace:
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.273491] [<80010558>] show_stack+0×58/0×100 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.277928] [<8046842c>] dump_stack+0x9c/0xe0
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.282268] [<8002e218>] warn+0xe0/0×114 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.286343] [<8002e27c>] warn_slowpath_fmt+0×30/0x3c
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.291285] [<803765e8>] dev_watchdog+0x1ac/0×324 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.295984] [<800861c4>] call_timer_fn.isra.3+0×24/0×84 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.301184] [<800863dc>] run_timer_softirq+0x1b8/0×244 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.306314] [<804856f0>]
do_softirq+0×128/0x2ec
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.311000] [<80032920>] irq_exit+0×98/0xcc
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.315182] [<8024a82c>] plat_irq_dispatch+0xfc/0×138 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.320209] [<8000b5a8>] except_vec_vi_end+0xb8/0xc4
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.325149] [<8000cf70>] r4k_wait_irqoff+0x1c/0×24 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.329939] [<8006647c>] do_idle+0xe4/0×168 Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.334103] [<800666f8>] cpu_startup_entry+0×24/0x2c
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.339048] [<805c5bf8>] start_kernel+0x48c/0x4ac
Wed Jun 27 14:02:30 2018 kern.warn kernel: [ 6216.343858] —[ end trace 1c5f30dcaaf8aef8 ]— Wed Jun 27 14:02:30 2018 kern.err kernel: [ 6216.348544] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Wed Jun 27 14:02:30 2018 kern.info kernel: [ 6216.354810] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Wed Jun 27 14:02:30 2018 kern.info kernel: [ 6216.360833] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0ea80000, max=0, ctx=3009, dtx=2986, fdx=2977, next=3009
Wed Jun 27 14:02:30 2018 kern.info kernel: [ 6216.371710] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0e210000, max=0, calc=3938, drx=3940
Wed Jun 27 14:02:30 2018 kern.info kernel: [ 6216.785365] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x5760000c, 0x10c = 0×80818 Wed Jun 27 14:02:30 2018 kern.info kernel: [ 6216.798589] mtk_soc_eth 1e100000.ethernet: PPE started

Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.035252] ————[ cut here ]———— Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.039894] WARNING: CPU: 2 PID: 0 at net/sched/sch_generic.c:320 dev_watchdog+0x1ac/0×324 Wed Jun 27 16:52:20 2018 kern.info kernel: [10116.048165] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.055097] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt7603e mt76 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 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.123939] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.50 #0
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.129927] Stack : 00000000 00000000 00000000 00000000 80607ad2 00000034 00000000 00000000
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.138263] 8fc44834 8059c947 8052758c 00000002 00000000 00000001 8fc11d68 1cc282d2
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.146606] 00000000 00000000 80600000 000061c8 00000000 0000013a 00000008 00000000
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.154951] 00000000 805a0000 0001e423 00000000 00000000 00000000 805c0000 803765e8
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.163283] 00000009 00000140 00000002 8ffc9c40 00000003 80299e30 00000008 80600008
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.171617] ...
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.174053] Call Trace:
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.176514] [<80010558>] show_stack+0×58/0×100 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.180950] [<8046842c>] dump_stack+0x9c/0xe0
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.185300] [<8002e218>] warn+0xe0/0×114 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.189378] [<8002e27c>] warn_slowpath_fmt+0×30/0x3c
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.194321] [<803765e8>] dev_watchdog+0x1ac/0×324 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.199020] [<800861c4>] call_timer_fn.isra.3+0×24/0×84 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.204220] [<800863dc>] run_timer_softirq+0x1b8/0×244 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.209351] [<804856f0>]
do_softirq+0×128/0x2ec
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.214039] [<80032920>] irq_exit+0×98/0xcc
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.218224] [<8024a82c>] plat_irq_dispatch+0xfc/0×138 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.223252] [<8000b5a8>] except_vec_vi_end+0xb8/0xc4
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.228195] [<8000cf70>] r4k_wait_irqoff+0x1c/0×24 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.232986] [<8006647c>] do_idle+0xe4/0×168 Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.237152] [<800666f8>] cpu_startup_entry+0×24/0x2c
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.242104] [<800180b4>] not_nmi+0x8c/0x1d8
Wed Jun 27 16:52:20 2018 kern.warn kernel: [10116.246325] —[ end trace d3f46981f3a08d6e ]— Wed Jun 27 16:52:20 2018 kern.err kernel: [10116.250930] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Wed Jun 27 16:52:20 2018 kern.info kernel: [10116.257093] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Wed Jun 27 16:52:20 2018 kern.info kernel: [10116.263075] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0eaa0000, max=0, ctx=3816, dtx=3812, fdx=3803, next=3816
Wed Jun 27 16:52:20 2018 kern.info kernel: [10116.273916] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0e230000, max=0, calc=3651, drx=3652
Wed Jun 27 16:52:20 2018 kern.info kernel: [10116.688339] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x5860000c, 0x10c = 0×80818 Wed Jun 27 16:52:20 2018 kern.info kernel: [10116.701640] mtk_soc_eth 1e100000.ethernet: PPE started
Wed Jun 27 16:52:26 2018 kern.err kernel: [10122.115217] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Wed Jun 27 16:52:26 2018 kern.info kernel: [10122.121415] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Wed Jun 27 16:52:26 2018 kern.info kernel: [10122.127452] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0e260000, max=0, ctx=4, dtx=0, fdx=0, next=4
Wed Jun 27 16:52:26 2018 kern.info kernel: [10122.137321] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0de30000, max=0, calc=149, drx=150
Wed Jun 27 16:52:26 2018 kern.info kernel: [10122.548342] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x5460000c, 0x10c = 0×80818 Wed Jun 27 16:52:26 2018 kern.info kernel: [10122.562101] mtk_soc_eth 1e100000.ethernet: PPE started
Wed Jun 27 16:52:35 2018 kern.err kernel: [10132.035215] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Wed Jun 27 16:52:35 2018 kern.info kernel: [10132.041420] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Wed Jun 27 16:52:35 2018 kern.info kernel: [10132.047471] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0e0b0000, max=0, ctx=2, dtx=0, fdx=0, next=2
Wed Jun 27 16:52:35 2018 kern.info kernel: [10132.057333] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0d480000, max=0, calc=296, drx=297
Wed Jun 27 16:52:36 2018 kern.info kernel: [10132.468120] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x5060030c, 0x10c = 0×80818 Wed Jun 27 16:52:36 2018 kern.info kernel: [10132.482429] mtk_soc_eth 1e100000.ethernet: PPE started
Wed Jun 27 16:52:45 2018 kern.err kernel: [10142.035113] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Wed Jun 27 16:52:45 2018 kern.info kernel: [10142.041301] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Wed Jun 27 16:52:45 2018 kern.info kernel: [10142.047328] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0dea0000, max=0, ctx=1, dtx=0, fdx=0, next=1
Wed Jun 27 16:52:45 2018 kern.info kernel: [10142.057147] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0ec40000, max=0, calc=358, drx=359
Wed Jun 27 16:52:46 2018 kern.info kernel: [10142.468048] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x4a60090c, 0x10c = 0×80818 Wed Jun 27 16:52:46 2018 kern.info kernel: [10142.482993] mtk_soc_eth 1e100000.ethernet: PPE started
Wed Jun 27 16:52:55 2018 kern.err kernel: [10152.035093] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Wed Jun 27 16:52:55 2018 kern.info kernel: [10152.041279] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Wed Jun 27 16:52:55 2018 kern.info kernel: [10152.047294] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0d500000, max=0, ctx=1, dtx=0, fdx=0, next=1
Wed Jun 27 16:52:55 2018 kern.info kernel: [10152.057096] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0d570000, max=0, calc=389, drx=390
Wed Jun 27 16:52:56 2018 kern.info kernel: [10152.468021] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x5460000c, 0x10c = 0×80818 Wed Jun 27 16:52:56 2018 kern.info kernel: [10152.482044] mtk_soc_eth 1e100000.ethernet: PPE started
Wed Jun 27 16:53:05 2018 daemon.info hostapd: wlan0: STA 80:56:f2:b3:3f:b5 IEEE 802.11: authenticated
Wed Jun 27 16:53:05 2018 daemon.info hostapd: wlan0: STA 80:56:f2:b3:3f:b5 IEEE 802.11: associated (aid 2)
Wed Jun 27 16:53:05 2018 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 80:56:f2:b3:3f:b5
Wed Jun 27 16:53:05 2018 daemon.info hostapd: wlan0: STA 80:56:f2:b3:3f:b5 WPA: pairwise key handshake completed (RSN)
Wed Jun 27 16:53:05 2018 daemon.info dnsmasq-dhcp[2484]: DHCPREQUEST(br-lan) 172.29.192.119 80:56:f2:b3:3f:b5
Wed Jun 27 16:53:05 2018 daemon.info dnsmasq-dhcp[2484]: DHCPACK(br-lan) 172.29.192.119 80:56:f2:b3:3f:b5 PZhukov-02-wifi
Wed Jun 27 16:53:05 2018 daemon.warn odhcpd[1083]: DHCPV6 SOLICIT IA_NA from 0001000121c0435874867a519335 on br-lan: ok fdc9:c20f:b3e1::7fa/128
Wed Jun 27 16:53:05 2018 daemon.info dnsmasq[2484]: read /etc/hosts - 4 addresses
Wed Jun 27 16:53:05 2018 daemon.info dnsmasq[2484]: read /tmp/hosts/odhcpd - 7 addresses
Wed Jun 27 16:53:05 2018 daemon.info dnsmasq[2484]: read /tmp/hosts/dhcp.cfg01411c - 16 addresses
Wed Jun 27 16:53:05 2018 daemon.info dnsmasq-dhcp[2484]: read /etc/ethers - 0 addresses
Wed Jun 27 16:53:05 2018 kern.err kernel: [10162.035026] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Wed Jun 27 16:53:05 2018 kern.info kernel: [10162.041227] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Wed Jun 27 16:53:05 2018 kern.info kernel: [10162.047256] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0d480000, max=0, ctx=1, dtx=0, fdx=0, next=1
Wed Jun 27 16:53:05 2018 kern.info kernel: [10162.057058] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0df90000, max=0, calc=290, drx=291
Wed Jun 27 16:53:06 2018 kern.info kernel: [10162.467931] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x46600d0c, 0x10c = 0×80818 Wed Jun 27 16:53:06 2018 kern.info kernel: [10162.475297] mtk_soc_eth 1e100000.ethernet: reset pse
Wed Jun 27 16:53:06 2018 kern.emerg kernel: [10162.486116] skbuff: skb_over_panic: text:803091b4 len:1568 put:1568 head:8de28e00 data:8de28e42 tail:0x8de29462 end:0x8de29460 dev:eth0
Wed Jun 27 16:53:06 2018 kern.info kernel: [10162.486270] mtk_soc_eth 1e100000.ethernet: PPE started

Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.134652] ————[ cut here ]———— Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.139303] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:320 dev_watchdog+0x1ac/0×324 Thu Jun 28 10:55:49 2018 kern.info kernel: [ 6066.147555] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.154480] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt7603e mt76 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 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables sit tunnel4 ip_tunnel tun leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.225260] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.51 #0
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.231234] Stack : 00000000 00000000 00000000 00000000 80607ad2 00000034 00000000 00000000
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.239567] 8059edb4 8059e947 8052860c 00000000 00000000 00000001 8fc09d68 1cc282d3
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.247901] 00000000 00000000 80600000 000062e8 00000000 0000013e 00000008 00000000
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.256231] 00000000 805a0000 00036fec 00000000 00000000 00000000 805c0000 80376df8
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.264561] 00000009 00000140 00000000 8fe2ce40 00000003 8029a160 00000000 80600000
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.272890] ...
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.275326] Call Trace:
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.277780] [<80010598>] show_stack+0×58/0×100 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.282216] [<80468c5c>] dump_stack+0x9c/0xe0
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.286557] [<8002e328>] warn+0xe0/0×114 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.290632] [<8002e38c>] warn_slowpath_fmt+0×30/0x3c
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.295573] [<80376df8>] dev_watchdog+0x1ac/0×324 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.300269] [<80086204>] call_timer_fn.isra.3+0×24/0×84 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.305469] [<8008641c>] run_timer_softirq+0x1b8/0×244 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.310597] [<80485f10>]
do_softirq+0×128/0x2ec
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.315285] [<80032a30>] irq_exit+0×98/0xcc
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.319466] [<8024a95c>] plat_irq_dispatch+0xfc/0×138 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.324491] [<8000b5e8>] except_vec_vi_end+0xb8/0xc4
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.329431] [<8000cfb0>] r4k_wait_irqoff+0x1c/0×24 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.334221] [<800664bc>] do_idle+0xe4/0×168 Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.338391] [<80066738>] cpu_startup_entry+0×24/0x2c
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.343339] [<805c7bf8>] start_kernel+0x48c/0x4ac
Thu Jun 28 10:55:49 2018 kern.warn kernel: [ 6066.348123] —[ end trace 26a1a8527dad924c ]— Thu Jun 28 10:55:49 2018 kern.err kernel: [ 6066.352729] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Thu Jun 28 10:55:49 2018 kern.info kernel: [ 6066.358911] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000067
Thu Jun 28 10:55:49 2018 kern.info kernel: [ 6066.364918] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0eac0000, max=0, ctx=3327, dtx=3314, fdx=3306, next=3327
Thu Jun 28 10:55:49 2018 kern.info kernel: [ 6066.375761] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0e250000, max=0, calc=2626, drx=2634
Thu Jun 28 10:55:49 2018 kern.info kernel: [ 6066.787702] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x4e60050c, 0x10c = 0×80818 Thu Jun 28 10:55:49 2018 kern.info kernel: [ 6066.800991] mtk_soc_eth 1e100000.ethernet: PPE started

09.08.20181756KernelFeature RequestVery LowMediumquantenna chipset supportTrunkUnconfirmed Task Description

Hello,

At first, thanks for the great work on openwrt !

As you probably already know, quantenna driver are now available on linux wireless https://github.com/torvalds/linux/tree/master/drivers/net/wireless/quantenna/qtnfmac

Is there a chance to include this driver on openwrt ? It will be profitable for several routers like netgear r7500 or asus rt-ac87u...

Regards,

16.08.20181784KernelBug ReportVery LowMediumMany 5Ghz channels are missing from the Linksys EA3500 AllUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
- Software versions of OpenWrt/LEDE release, packages, etc.
- Steps to reproduce

 

As far as I am aware this issue has been present since 17.XX
On EA3500 and EA4500 only the lowest 4 5Ghz channels are available.

There is a [[Patch|https://patchwork.kernel.org/patch/10060831/]] which was accepted and fixed the issue 
but never merged/included in the source for these devices .
Steps to reproduce this issue is simply installing Lede on the device  , same on any Lede 17.XX version or 
even the newly released 18.06.0.
20.08.20181800KernelBug ReportVery LowMediumError compiling Openwrt if netfilter is disabled on som...TrunkUnconfirmed Task Description

- Device problem occurs on - ramips mediatek soc targets (e.g ramips_mt76x8)
- Software versions of OpenWrt/LEDE release, packages, etc. - master and 18.06 (probably earlier, couldn’t confirm); kernel package
- Steps to reproduce - try to build without netfilter support (e.g. for creating a dumb ap in hardware with very low flash space)

Building Openwrt fails (confirmed on master and 18.06) for some mediatek targets if netfilter is disabled, due to a unnecessary include in OpenWRT kernel source that isn’t even present in vanilla/upstream kernel:

In file included from drivers/net/ethernet/mediatek/mtk_eth_soc.c:34:0:
./include/net/netfilter/nf_flow_table.h:19:2: error: unknown type name ‘nf_hookfn’

nf_hookfn   *hook;
^~~~~~~~~

./include/net/netfilter/nf_flow_table.h:149:23: warning: ‘struct nf_hook_state’ declared inside parameter list will not be visible outside of this definition or declaration

        const struct nf_hook_state *state);
                     ^~~~~~~~~~~~~

./include/net/netfilter/nf_flow_table.h:151:25: warning: ‘struct nf_hook_state’ declared inside parameter list will not be visible outside of this definition or declaration

          const struct nf_hook_state *state);
                       ^~~~~~~~~~~~~

The problem resides in the file linux-4.14.*/drivers/net/ethernet/mediatek/mtk_eth_soc.c at line 34 that has:

#include <net/netfilter/nf_flow_table.h>

By simply removing/commenting the aforementioned line, it is possible to build the image with success. As such, this line seems unnecessary and just causes issues?

This line isn’t present in vanilla/upstream kernel as you can see in:

https://github.com/torvalds/linux/blob/master/drivers/net/ethernet/mediatek/mtk_eth_soc.c

The change comes from openwrt file target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_eth_soc.c and as such the attached patch fixes this issue for now, but is more a workaround. Maybe who put the include should review and add some ifdefs where appropriate?

For now, my tests indicate that applying this patch does not cause major issues if you build with netfilter (firewall, iptables, etc.) support, but something is probably missing. Can you please check?

Also, please note that the same (unnecessary?) include is present in target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_offload.h and probably affects building with some other configurations as well.

Thanks and best regards.

22.08.20181804KernelBug ReportVery LowMediumusb support failed | rt305x | huawei hg255dAllUnconfirmed Task Description

Device:huawei HG255d https://openwrt.org/toh/huawei/hg255d

Software versions: OpenWrt 18.06.1 r7258-5eb055306f
Installed: All required usb drivers listed on Installing and troubleshooting USB Drivers.

Problem: Can not connect to usb device with all usb drivers installed.
Both lede17 Openwrt18 have the problem.

04.10.20181879KernelBug ReportVery LowMediumOpenWRT fails to initialize a SECOND USB-to-Ethernet ad...TrunkUnconfirmed Task Description

When using TWO USB-to-Ethernet adapters on Raspberry Pi3 Model B+, only the first one connected will work.
There’s a similar thread for openmptcprouter, so I assume it could be a Kernel bug? https://github.com/Ysurac/openmptcprouter/issues/142

* Device problem occurs on: Raspberry Pi 3 Model B+
* Software versions of OpenWrt/LEDE release, packages, etc.

  • OpenWrt: rpi-3-ext4-factory.img.gz 58beb23298e5c31ba2a61ed73a58af77ea26973904ef77e3cab21071a03f8a8b 9440.1 KB Wed Oct 3 08:47:27 2018
  • Kernel/Architecture: Linux OpenWrt 4.9.130 #0 SMP Wed Oct 3 03:54:01 2018 aarch64 GNU/Linux
  • Packages:
    • base-files - 196-r8217-2cc821e
    • brcm2708-gpu-fw - 2018-05-16-0f5f899ccec1c2ef8bba02aa49700b4ec19b4199
    • brcmfmac-board-rpi2 - 2018-03-12-86e88fbf0345da49555d0ec34c80b4fbae7d0cd3
    • brcmfmac-board-rpi3 - 2018-03-12-86e88fbf0345da49555d0ec34c80b4fbae7d0cd3
    • brcmfmac-firmware-43430-sdio - 2018-08-03-7b5835fd-1
    • brcmfmac-firmware-43455-sdio - 2018-08-03-7b5835fd-1
    • brcmfmac-firmware-usb - 2018-08-03-7b5835fd-1
    • busybox - 1.29.3-2
    • dnsmasq - 2.80test7-1
    • dropbear - 2017.75-8
    • e2fsprogs - 1.44.3-1
    • firewall - 2018-08-13-1c4d5bcd-1
    • fstools - 2018-05-23-dd02dad3-2
    • fwtool - 1
    • hostapd-common - 2018-05-21-62566bc2-4
    • ip-tiny - 4.18.0-4
    • ip6tables - 1.6.2-3
    • ipset - 6.34-1
    • iptables - 1.6.2-3
    • iptables-mod-conntrack-extra - 1.6.2-3
    • iptables-mod-ipopt - 1.6.2-3
    • iw - 4.14-1
    • iwinfo - 2018-07-31-65b8333f-1
    • joe - 4.6-1
    • jshn - 2018-07-25-c83a84af-2
    • jsonfilter - 2018-02-04-c7e938d6-1
    • kernel - 4.9.130-1-2adb9ed1c261fb0a5ff2564c10301966
    • kmod-brcmutil - 4.9.130+4.19-rc5-1-1
    • kmod-fs-vfat - 4.9.130-1
    • kmod-hid - 4.9.130-1
    • kmod-hid-generic - 4.9.130-1
    • kmod-input-core - 4.9.130-1
    • kmod-input-evdev - 4.9.130-1
    • kmod-ip6tables - 4.9.130-1
    • kmod-ipt-conntrack - 4.9.130-1
    • kmod-ipt-conntrack-extra - 4.9.130-1
    • kmod-ipt-core - 4.9.130-1
    • kmod-ipt-ipopt - 4.9.130-1
    • kmod-ipt-ipset - 4.9.130-1
    • kmod-ipt-nat - 4.9.130-1
    • kmod-ipt-raw - 4.9.130-1
    • kmod-lib-crc-ccitt - 4.9.130-1
    • kmod-libphy - 4.9.130-1
    • kmod-mii - 4.9.130-1
    • kmod-mmc - 4.9.130-1
    • kmod-nf-conntrack - 4.9.130-1
    • kmod-nf-conntrack6 - 4.9.130-1
    • kmod-nf-ipt - 4.9.130-1
    • kmod-nf-ipt6 - 4.9.130-1
    • kmod-nf-nat - 4.9.130-1
    • kmod-nf-reject - 4.9.130-1
    • kmod-nf-reject6 - 4.9.130-1
    • kmod-nfnetlink - 4.9.130-1
    • kmod-nls-base - 4.9.130-1
    • kmod-nls-cp437 - 4.9.130-1
    • kmod-nls-iso8859-1 - 4.9.130-1
    • kmod-nls-utf8 - 4.9.130-1
    • kmod-ppp - 4.9.130-1
    • kmod-pppoe - 4.9.130-1
    • kmod-pppox - 4.9.130-1
    • kmod-slhc - 4.9.130-1
    • kmod-sound-arm-bcm2835 - 4.9.130-1
    • kmod-sound-core - 4.9.130-1
    • kmod-usb-core - 4.9.130-1
    • kmod-usb-hid - 4.9.130-1
    • kmod-usb-net - 4.9.130-1
    • kmod-usb-net-asix - 4.9.130-1
    • kmod-usb-net-asix-ax88179 - 4.9.130-1
    • kmod-usb-net-cdc-ether - 4.9.130-1
    • libblkid - 2.32.1-2
    • libblobmsg-json - 2018-07-25-c83a84af-2
    • libc - 1.1.20-1
    • libcomerr - 1.44.3-1
    • libext2fs - 1.44.3-1
    • libf2fs - 1.11.0-1
    • libgcc - 7.3.0-1
    • libip4tc - 1.6.2-3
    • libip6tc - 1.6.2-3
    • libipset - 6.34-1
    • libiwinfo - 2018-07-31-65b8333f-1
    • libiwinfo-lua - 2018-07-31-65b8333f-1
    • libjson-c - 0.12.1-2
    • libjson-script - 2018-07-25-c83a84af-2
    • liblua - 5.1.5-1
    • liblucihttp - 2018-05-18-cb119ded-1
    • liblucihttp-lua - 2018-05-18-cb119ded-1
    • libmnl - 1.0.4-1
    • libncurses - 6.1-1
    • libnl-tiny - 0.1-5
    • libpthread - 1.1.20-1
    • librt - 1.1.20-1
    • libsmartcols - 2.32.1-2
    • libss - 1.44.3-1
    • libubox - 2018-07-25-c83a84af-2
    • libubus - 2018-07-26-40e0931e-1
    • libubus-lua - 2018-07-26-40e0931e-1
    • libuci - 2018-08-11-4c8b4d6e-1
    • libuclient - 2018-08-03-ae1c656f-1
    • libuuid - 2.32.1-2
    • libxtables - 1.6.2-3
    • logd - 2018-02-14-128bc35f-2
    • lua - 5.1.5-1
    • luci - git-18.276.41146-280dd33-1
    • luci-app-firewall - git-18.276.41146-280dd33-1
    • luci-base - git-18.276.41146-280dd33-1
    • luci-lib-ip - git-18.276.41146-280dd33-1
    • luci-lib-jsonc - git-18.276.41146-280dd33-1
    • luci-lib-nixio - git-18.276.41146-280dd33-1
    • luci-mod-admin-full - git-18.276.41146-280dd33-1
    • luci-mod-network - git-18.276.41146-280dd33-1
    • luci-mod-status - git-18.276.41146-280dd33-1
    • luci-mod-system - git-18.276.41146-280dd33-1
    • luci-proto-ipv6 - git-18.276.41146-280dd33-1
    • luci-proto-ppp - git-18.276.41146-280dd33-1
    • luci-theme-bootstrap - git-18.276.41146-280dd33-1
    • mkf2fs - 1.11.0-1
    • mtd - 23
    • mwan3 - 2.7.2-1
    • netifd - 2018-10-02-83428fac-2
    • odhcp6c - 2018-07-14-67ae6a71-16
    • odhcpd-ipv6only - 1.11-3
    • openwrt-keyring - 2018-05-18-103a32e9-1
    • opkg - 2017-12-07-3b417b9f-2
    • partx-utils - 2.32.1-2
    • ppp - 2.4.7-13
    • ppp-mod-pppoe - 2.4.7-13
    • procd - 2018-08-06-e29966f0-1
    • rpcd - 2018-08-16-41333abe-1
    • rpcd-mod-rrdns - 20170710
    • terminfo - 6.1-1
    • ubox - 2018-02-14-128bc35f-2
    • ubus - 2018-07-26-40e0931e-1
    • ubusd - 2018-07-26-40e0931e-1
    • uci - 2018-08-11-4c8b4d6e-1
    • uclient-fetch - 2018-08-03-ae1c656f-1
    • uhttpd - 2018-08-23-b741dec3-1
    • usign - 2015-07-04-ef641914-1
    • wpad-mini - 2018-05-21-62566bc2-4

* Steps to reproduce

  • Connect two USB-to-Ethernet adapters
  • Connect Ethernet cables to both
  • See error message: ERROR::assign_and_init_hc:1397: assign_and_init_hc: Failed to allocate memory handle non-dword aligned buffer case
  • Observer second adapter not receiving an IP address via DHCP, not sending/receiving any packets according to Luci interfaces overview


10.12.20181994KernelBug ReportVery LowMediumKernel crash when hardware flow offloading is enabledTrunkUnconfirmed Task Description

Using device Xiaomi Mir3G and OpenWrt SNAPSHOT, r8631+22-f381cbc

Device restarts regularly (on average 1 or 2 times a day) when hardware flow offloading is enabled. The issue don’t seem to occur when only software flow offloading is enabled.

cat /sys/kernel/debug/crashlog:

<3>[394940.982588] CM_ERROR=2002b481 COH_RD_ERR <CCA=5 TR=mmio MCmd=Coherent Read Share STag=0 SPort=1
<3>[394940.982588] >
<3>[394940.992997] CM_ADDR =1c000000
<3>[394940.996034] CM_OTHER=00000000 None
<1>[394940.999504] Data bus error, epc == 80385b78, ra == 803875dc
<4>[394941.005138] Oops[#1]:
<4>[394941.007489] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.82 #0
<4>[394941.013557] task: 8fc444c0 task.stack: 8fc66000
<4>[394941.018150] $ 0 : 00000000 00000001 0a992c52 00000000
<4>[394941.023448] $ 4 : 8d1e1c10 9c000004 8d1e1c1c 0e1ef713
<4>[394941.028744] $ 8 : 00000001 00c5f000 8fc02e00 00000001
<4>[394941.034042] $12 : 000f087f 86591380 86591380 171e46bc
<4>[394941.039340] $16 : 8086e9c0 80596d80 8fd90fc0 00000003
<4>[394941.044636] $20 : 00000001 00000000 00000000 00000000
<4>[394941.049932] $24 : 00000000 00000001
<4>[394941.055230] $28 : 8fc66000 8fc11cd8 80596d80 803875dc
<4>[394941.060530] Hi : 00926b02
<4>[394941.063478] Lo : 65497170
<4>[394941.066449] epc : 80385b78 ip_send_check+0×50/0×80 <4>[394941.071482] ra : 803875dc ip_local_out+0x3c/0xc8
<4>[394941.076591] Status: 11007c03 KERNEL EXL IE <4>[394941.080849] Cause : 5080001c (ExcCode 07)
<4>[394941.084922] PrId : 0001992f (MIPS 1004Kc)
<4>[394941.089078] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib mt7603e mt76 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_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_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 iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat fuse sch_cake nf_conntrack act_skbedit act_mirred em_u32 cls_u32
<4>[394941.159842] cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb ip6_udp_tunnel udp_tunnel usb_storage leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
<4>[394941.192038] Process swapper/2 (pid: 0, threadinfo=8fc66000, task=8fc444c0, tls=00000000)
<4>[394941.200176] Stack : 8fd91100 803bba10 8fc11dc8 00000130 8086e9c0 8d453c00 8086e9c0 8d453c00
<4>[394941.208596] 8fd911d8 80388784 8fc11d90 00000000 8086e9c0 80596d80 8fd90fc0 8038768c
<4>[394941.217020] 8086e780 80570000 8e30f214 00000003 8086e780 80570000 8e30f214 803887dc
<4>[394941.225442] 8086e780 80570000 8e30f214 00000003 00000001 803bc430 81231db0 00000000
<4>[394941.233864] 81231d80 805761b8 8fd90fc0 80590000 8fd91030 00000000 00000000 80570000
<4>[394941.242285] ...
<4>[394941.244810] Call Trace:
<4>[394941.247340] [<80385b78>] ip_send_check+0×50/0×80 <4>[394941.252034] [<803875dc>]
ip_local_out+0x3c/0xc8
<4>[394941.256803] [<8038768c>] ip_local_out+0×24/0×78 <4>[394941.261404] [<803887dc>] ip_send_skb+0×14/0x3c
<4>[394941.265925] [<803bc430>] icmp_send+0×420/0x4d4
<4>[394941.270436] [<8037d1fc>] ipv4_link_failure+0×20/0x6c
<4>[394941.275464] [<803b96b8>] arp_error_report+0×40/0×54 <4>[394941.280435] [<80349b40>] neigh_invalidate+0xe0/0×150 <4>[394941.285466] [<8034f990>] neigh_timer_handler+0x1c4/0x2d8
<4>[394941.290859] [<800864f4>] call_timer_fn.isra.3+0×24/0×84 <4>[394941.296146] [<80086710>] run_timer_softirq+0x1bc/0×248 <4>[394941.301368] [<80466058>] __do_softirq+0×128/0x2ec
<4>[394941.306150] [<80032a94>] irq_exit+0xac/0xc8
<4>[394941.310410] [<80243b7c>] plat_irq_dispatch+0xfc/0×138 <4>[394941.315530] [<8000b5e8>] except_vec_vi_end+0xb8/0xc4
<4>[394941.320568] [<8000cfb0>] r4k_wait_irqoff+0x1c/0×24 <4>[394941.325448] [<800665dc>] do_idle+0xe4/0×168 <4>[394941.329698] [<80066858>] cpu_startup_entry+0×24/0x2c
<4>[394941.334740] [<800180b4>] not_nmi+0x8c/0x1d8
<4>[394941.338991] Code: 00481021 8ca30000 24a50004 <00621021> 0043182b 14c5fffb 00431021 00021c00 00621821
<4>[394941.348805]
<4>[394941.350616] —[ end trace 2751015d45562c0d ]—


15.12.20182000KernelBug ReportVery LowMediumMT7621 routing performance issueAllUnconfirmed Task Description

environment: RB750Gr3 (MT7621 SoC), OpenWrt 18.06 and trunk version

The official spec page says this device can achieve 1972Mbps routing througput, my test proves it is true under factory firmware. but if I switched to OpenWrt, the routing performance was always limited under 1Gbps, HW OFFLOAD has been enabled.

17.12.20182007KernelBug ReportVery LowMediumLinux MIPS ASLR DEP bugAllUnconfirmed Task Description

I’m not a developer. I came across this bug on Hacker News.[1]
I’m sure someone here is on it already, but just in case it was missed...

There seems to be a serious bug in Linux MIPS regarding ASLR and DEP.
This paper[2] by Parker Thompson and Mudge Zatko at cyber-itl.org[3] explains it.

[1] https://news.ycombinator.com/item?id=18688947

[2] https://cyber-itl.org/assets/papers/2018/Linux_MIPS_missing_foundations.pdf

[3] https://cyber-itl.org/2018/12/07/a-look-at-home-routers-and-linux-mips.html

Supply the following if possible:
- Device problem occurs on

 Unsure. I think the latest kernel is impacted.

- Software versions of OpenWrt/LEDE release, packages, etc.

?

- Steps to reproduce

 Please Read the research paper for more.
 


04.01.20192047KernelBug ReportVery LowMediumSwap kernel option doesn't work and /proc/swap endpoint...TrunkUnconfirmed Task Description

Device: TP-LINK TL-MR3420 v2 with replaced NAND flash chip (8MB ROM now) + USB hub with external power + 8Gb flash drive + 1Tb USB hdd
OpenWRT version: Trunk, OpenWrt GCC 7.4.0 r8982-a54129d
Steps to reproduce:
1) Install block-mount and swap-utils
2) Create swap partition and try to enable it

root@OpenWrt:~# mkswap /dev/sdb2
mkswap: /dev/sdb2: warning: wiping old swap signature.
Setting up swapspace version 1, size = 256 MiB (268431360 bytes)
no label, UUID=3068f953-a060-41cd-a09b-bcc2c531bf40
root@OpenWrt:~# swapon /dev/sdb2
block: failed to swapon /dev/sdb2 (-1)

3) Try to get /proc/swaps file

root@OpenWrt:~# cat /proc/swaps
cat: can’t open ‘/proc/swaps’: No such file or directory


“dmesg” output is attached.

10.01.20192053KernelBug ReportVery LowMediumRegular crashes of ath10k-ct driver on ZyXEL NBG6817TrunkUnconfirmed Task Description

Model ZyXEL NBG6817
Architecture ARMv7 Processor rev 0 (v7l)
Firmware Version OpenWrt SNAPSHOT r9010-adc8b374e3 / LuCI Master (git-19.007.66460-4edac36)
Kernel Version 4.14.91
Local Time Thu Jan 10 10:57:42 2019
Uptime 16h 32m 57s
Load Average 0.40, 0.34, 0.18

Sadly there isn’t any simple way to reproduce, but they seem to be happening somewhat regularly. Since I put the device to use, 1 yesterday, 2 today.

Jan 10 09:26:10 hs14 kernel: [54084.922093] ath10k_pci 0001:01:00.0: firmware crashed! (guid ec43bc35-1369-4765-b62f-6ccef1fb3d02)
Jan 10 09:26:10 hs14 kernel: [54084.922155] ath10k_pci 0001:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
Jan 10 09:26:10 hs14 kernel: [54084.929958] ath10k_pci 0001:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
Jan 10 09:26:10 hs14 kernel: [54084.942242] ath10k_pci 0001:01:00.0: firmware ver 10.4b-ct-9984-fW-012-81e1edd54 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,reg
dump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT crc32 0391c067
Jan 10 09:26:10 hs14 kernel: [54084.951289] ath10k_pci 0001:01:00.0: board_file api 2 bmi_id 0:2 crc32 cf58c3bc
Jan 10 09:26:10 hs14 kernel: [54084.972926] ath10k_pci 0001:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
Jan 10 09:26:10 hs14 kernel: [54084.982076] ath10k_pci 0001:01:00.0: firmware register dump:
Jan 10 09:26:10 hs14 kernel: [54084.990109] ath10k_pci 0001:01:00.0: [00]: 0x0000000A 0x000015B3 0x009A582B 0x00975B31
Jan 10 09:26:10 hs14 kernel: [54084.996013] ath10k_pci 0001:01:00.0: [04]: 0x009A582B 0x00060B30 0x00000000 0x00000000
Jan 10 09:26:10 hs14 kernel: [54085.003740] ath10k_pci 0001:01:00.0: [08]: 0x00000000 0x004602A4 0x00406764 0x00000000
Jan 10 09:26:10 hs14 kernel: [54085.011640] ath10k_pci 0001:01:00.0: [12]: 0x00000009 0x00000000 0x00973ABC 0x00973AD2
Jan 10 09:26:10 hs14 kernel: [54085.019537] ath10k_pci 0001:01:00.0: [16]: 0x00973AB0 0x0096398A 0x009606CA 0x00000000
Jan 10 09:26:10 hs14 kernel: [54085.027437] ath10k_pci 0001:01:00.0: [20]: 0x409A582B 0x0040660C 0x00000005 0x000000FF
Jan 10 09:26:10 hs14 kernel: [54085.035336] ath10k_pci 0001:01:00.0: [24]: 0x809A698A 0x0040666C 0x00000005 0xC09A582B
Jan 10 09:26:10 hs14 kernel: [54085.043235] ath10k_pci 0001:01:00.0: [28]: 0x809A7EF9 0x0040669C 0x0045F0D0 0x0045FCA8
Jan 10 09:26:10 hs14 kernel: [54085.051135] ath10k_pci 0001:01:00.0: [32]: 0x809A8D32 0x0040672C 0x0045FCE4 0x00406850
Jan 10 09:26:10 hs14 kernel: [54085.059035] ath10k_pci 0001:01:00.0: [36]: 0x809A8D62 0x0040684C 0x0042D864 0x0042EF70
Jan 10 09:26:10 hs14 kernel: [54085.066934] ath10k_pci 0001:01:00.0: [40]: 0x80985E4B 0x0040689C 0x00000000 0x0045A9F4
Jan 10 09:26:10 hs14 kernel: [54085.074833] ath10k_pci 0001:01:00.0: [44]: 0x80994A73 0x004068BC 0x0042ED20 0x0045A9F4
Jan 10 09:26:10 hs14 kernel: [54085.082732] ath10k_pci 0001:01:00.0: [48]: 0x8098FC30 0x004068DC 0x0042ED20 0x00000000
Jan 10 09:26:10 hs14 kernel: [54085.090631] ath10k_pci 0001:01:00.0: [52]: 0x80963AD3 0x00406A7C 0x0042ED20 0x0098FC28
Jan 10 09:26:10 hs14 kernel: [54085.098530] ath10k_pci 0001:01:00.0: [56]: 0x80960E80 0x00406A9C 0x0000001F 0x00400000
Jan 10 09:26:10 hs14 kernel: [54085.106429] ath10k_pci 0001:01:00.0: Copy Engine register dump:
Jan 10 09:26:10 hs14 kernel: [54085.114333] ath10k_pci 0001:01:00.0: [00]: 0x0004a000  13  13   3   3
Jan 10 09:26:10 hs14 kernel: [54085.120150] ath10k_pci 0001:01:00.0: [01]: 0x0004a400  10  10 432 433
Jan 10 09:26:10 hs14 kernel: [54085.126747] ath10k_pci 0001:01:00.0: [02]: 0x0004a800  46  46 109 110
Jan 10 09:26:10 hs14 kernel: [54085.133170] ath10k_pci 0001:01:00.0: [03]: 0x0004ac00  21  21  23  21
Jan 10 09:26:10 hs14 kernel: [54085.139594] ath10k_pci 0001:01:00.0: [04]: 0x0004b000 2043 1937  30  30
Jan 10 09:26:10 hs14 kernel: [54085.146018] ath10k_pci 0001:01:00.0: [05]: 0x0004b400   1   1 128 129
Jan 10 09:26:10 hs14 kernel: [54085.152441] ath10k_pci 0001:01:00.0: [06]: 0x0004b800  10  10  10  10
Jan 10 09:26:10 hs14 kernel: [54085.159039] ath10k_pci 0001:01:00.0: [07]: 0x0004bc00   1   1   1   1
Jan 10 09:26:10 hs14 kernel: [54085.165462] ath10k_pci 0001:01:00.0: [08]: 0x0004c000   0   0 127   0
Jan 10 09:26:10 hs14 kernel: [54085.171886] ath10k_pci 0001:01:00.0: [09]: 0x0004c400   1   1   1   1
Jan 10 09:26:10 hs14 kernel: [54085.178310] ath10k_pci 0001:01:00.0: [10]: 0x0004c800   0   0   0   0
Jan 10 09:26:10 hs14 kernel: [54085.184733] ath10k_pci 0001:01:00.0: [11]: 0x0004cc00   0   0   0   0
Jan 10 09:26:10 hs14 kernel: [54085.193175] ath10k_pci 0001:01:00.0: debug log header, dbuf: 0x423818  dropped: 0
Jan 10 09:26:10 hs14 kernel: [54085.198590] ath10k_pci 0001:01:00.0: [0] next: 0x423800 buf: 0x419610 sz: 1500 len: 252 count: 9 free: 0
Jan 10 09:26:10 hs14 kernel: [54085.206060] ath10k_pci 0001:01:00.0: ath10k_pci ATH10K_DBG_BUFFER:
Jan 10 09:26:10 hs14 kernel: [54085.214587] ath10k: [0000]: 034C7883 14004C01 71104441 01050F98 00019003 00000000 0000FFFF 034C7884
Jan 10 09:26:10 hs14 kernel: [54085.220581] ath10k: [0008]: 14004C01 71108880 00000000 00D80000 00000000 00000FF0 034C7884 14004C01
Jan 10 09:26:10 hs14 kernel: [54085.229521] ath10k: [0016]: 71108880 00010000 00D80000 00000000 00000000 034C7884 14004C01 71108880
Jan 10 09:26:10 hs14 kernel: [54085.238548] ath10k: [0024]: 00020000 00D80000 00000000 00000000 034C7884 14004C01 71108880 00030000
Jan 10 09:26:10 hs14 kernel: [54085.247576] ath10k: [0032]: 00D80000 00000000 00000000 034C7884 14004C01 71108880 00040000 00D80000
Jan 10 09:26:10 hs14 kernel: [54085.256604] ath10k: [0040]: 00000000 00000000 034C7884 14004C01 71108880 00050000 00D80000 00000000
Jan 10 09:26:10 hs14 kernel: [54085.265642] ath10k: [0048]: 00000000 034C7884 14004C01 71108880 00060000 00D80000 00000000 00000000
Jan 10 09:26:10 hs14 kernel: [54085.274659] ath10k: [0056]: 034C7885 17FC0001 009A582B 000015B3 000015B3 004064FC 91104569
Jan 10 09:26:10 hs14 kernel: [54085.283686] ath10k_pci 0001:01:00.0: ATH10K_END
Jan 10 09:26:10 hs14 kernel: [54085.293030] ath10k_pci 0001:01:00.0: [1] next: 0x423818 buf: 0x419020 sz: 1500 len: 0 count: 0 free: 0
Jan 10 09:26:10 hs14 kernel: [54085.336026] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 1, skipped old beacon
Jan 10 09:26:10 hs14 kernel: [54085.361017] ath10k_pci 0001:01:00.0: removing peer, cleanup-all, deleting: peer da1bf400 vdev: 0 addr: 48:45:20:c2:27:84
Jan 10 09:26:10 hs14 kernel: [54085.361055] ath10k_pci 0001:01:00.0: removing peer, cleanup-all, deleting: peer da1be400 vdev: 0 addr: 64:a2:f9:31:0f:98
Jan 10 09:26:10 hs14 kernel: [54085.371034] ath10k_pci 0001:01:00.0: removing peer, cleanup-all, deleting: peer da1be200 vdev: 0 addr: 84:c7:ea:8f:41:c7
Jan 10 09:26:10 hs14 kernel: [54085.381962] ath10k_pci 0001:01:00.0: removing peer, cleanup-all, deleting: peer da1bf000 vdev: 0 addr: 6c:c7:ec:46:de:44
Jan 10 09:26:10 hs14 kernel: [54085.392896] ath10k_pci 0001:01:00.0: removing peer, cleanup-all, deleting: peer da1bfc00 vdev: 0 addr: 88:d7:f6:9f:51:10
Jan 10 09:26:10 hs14 kernel: [54085.403829] ath10k_pci 0001:01:00.0: removing peer, cleanup-all, deleting: peer dbd42e00 vdev: 1 addr: 5e:e2:8c:f2:fe:80
Jan 10 09:26:10 hs14 kernel: [54085.414796] ath10k_pci 0001:01:00.0: removing peer, cleanup-all, deleting: peer dbbdc200 vdev: 0 addr: 5c:e2:8c:f2:fe:80
Jan 10 09:26:10 hs14 kernel: [54085.516577] ieee80211 phy1: Hardware restart was requested
Jan 10 09:26:11 hs14 kernel: [54085.597874] ath10k_pci 0001:01:00.0: Invalid state: 3 in ath10k_htt_tx_32, warning will not be repeated.
Jan 10 09:26:11 hs14 kernel: [54085.597905] ------------[ cut here ]------------
Jan 10 09:26:11 hs14 kernel: [54085.606562] WARNING: CPU: 1 PID: 0 at /var/lib/buildbot/slaves/tictex-02/ipq806x_generic/build/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/ath10k-ct-2018-12-20-118e16da/ath10k-4.19/htt_tx.c:1250 ath10k_htt_tx_32+0xf0/0x9e0 [ath10k_core]
Jan 10 09:26:11 hs14 kernel: [54085.611507] 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 act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables leds_gpio
Jan 10 09:26:11 hs14 kernel: [54085.682720]  xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple 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 jbd2 mbcache crc32c_generic
Jan 10 09:26:11 hs14 kernel: [54085.704952] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.91 #0
Jan 10 09:26:11 hs14 kernel: [54085.726639] Hardware name: Generic DT based system
Jan 10 09:26:11 hs14 kernel: [54085.732654] [<c030f58c>] (unwind_backtrace) from [<c030b7a4>] (show_stack+0x14/0x20)
Jan 10 09:26:11 hs14 kernel: [54085.737240] [<c030b7a4>] (show_stack) from [<c07b26f8>] (dump_stack+0x88/0x9c)
Jan 10 09:26:11 hs14 kernel: [54085.745143] [<c07b26f8>] (dump_stack) from [<c0318ec4>] (__warn+0xf0/0x11c)
Jan 10 09:26:11 hs14 kernel: [54085.752167] [<c0318ec4>] (__warn) from [<c0318fb0>] (warn_slowpath_null+0x20/0x28)
Jan 10 09:26:11 hs14 kernel: [54085.759059] [<c0318fb0>] (warn_slowpath_null) from [<bf4a5c18>] (ath10k_htt_tx_32+0xf0/0x9e0 [ath10k_core])
Jan 10 09:26:11 hs14 kernel: [54085.766772] [<bf4a5c18>] (ath10k_htt_tx_32 [ath10k_core]) from [<bf48a0f8>] (ath10k_mac_op_set_bitrate_mask+0xc40/0xdac [ath10k_core])
Jan 10 09:26:11 hs14 kernel: [54085.776369] [<bf48a0f8>] (ath10k_mac_op_set_bitrate_mask [ath10k_core]) from [<bf48ff24>] (ath10k_mac_tx_push_txq+0x234/0x290 [ath10k_core])
Jan 10 09:26:11 hs14 kernel: [54085.788524] [<bf48ff24>] (ath10k_mac_tx_push_txq [ath10k_core]) from [<bf4901b4>] (ath10k_mac_op_wake_tx_queue+0x88/0x12c [ath10k_core])
Jan 10 09:26:11 hs14 kernel: [54085.801339] [<bf4901b4>] (ath10k_mac_op_wake_tx_queue [ath10k_core]) from [<bf3fefa4>] (ieee80211_unreserve_tid+0x658/0x718 [mac80211])
Jan 10 09:26:11 hs14 kernel: [54085.813569] [<bf3fefa4>] (ieee80211_unreserve_tid [mac80211]) from [<bf401c94>] (__ieee80211_subif_start_xmit+0x728/0x978 [mac80211])
Jan 10 09:26:11 hs14 kernel: [54085.825444] [<bf401c94>] (__ieee80211_subif_start_xmit [mac80211]) from [<bf4021d4>] (ieee80211_subif_start_xmit+0x2f0/0x310 [mac80211])
Jan 10 09:26:11 hs14 kernel: [54085.837553] [<bf4021d4>] (ieee80211_subif_start_xmit [mac80211]) from [<c069cd80>] (dev_hard_start_xmit+0xc8/0x154)
Jan 10 09:26:11 hs14 kernel: [54085.849828] [<c069cd80>] (dev_hard_start_xmit) from [<c069d54c>] (__dev_queue_xmit+0x630/0x7b0)
Jan 10 09:26:11 hs14 kernel: [54085.859983] [<c069d54c>] (__dev_queue_xmit) from [<c07917d4>] (br_dev_queue_push_xmit+0x144/0x168)
Jan 10 09:26:11 hs14 kernel: [54085.868662] [<c07917d4>] (br_dev_queue_push_xmit) from [<c0791830>] (br_forward_finish+0x38/0xa0)
Jan 10 09:26:11 hs14 kernel: [54085.877688] [<c0791830>] (br_forward_finish) from [<c0791980>] (__br_forward+0xe8/0x144)
Jan 10 09:26:11 hs14 kernel: [54085.886629] [<c0791980>] (__br_forward) from [<c0793624>] (br_handle_frame_finish+0x4fc/0x56c)
Jan 10 09:26:11 hs14 kernel: [54085.894788] [<c0793624>] (br_handle_frame_finish) from [<c0793a90>] (br_handle_frame+0x328/0x3c0)
Jan 10 09:26:11 hs14 kernel: [54085.903218] [<c0793a90>] (br_handle_frame) from [<c0698458>] (__netif_receive_skb_core+0x71c/0xbdc)
Jan 10 09:26:11 hs14 kernel: [54085.912154] [<c0698458>] (__netif_receive_skb_core) from [<c069a714>] (process_backlog+0xb0/0x164)
Jan 10 09:26:11 hs14 kernel: [54085.921008] [<c069a714>] (process_backlog) from [<c069e334>] (net_rx_action+0x144/0x31c)
Jan 10 09:26:11 hs14 kernel: [54085.930032] [<c069e334>] (net_rx_action) from [<c03015c8>] (__do_softirq+0xf0/0x264)
Jan 10 09:26:11 hs14 kernel: [54085.938285] [<c03015c8>] (__do_softirq) from [<c031d280>] (irq_exit+0xdc/0x148)
Jan 10 09:26:11 hs14 kernel: [54085.946006] [<c031d280>] (irq_exit) from [<c035a0d8>] (__handle_domain_irq+0xa8/0xc8)
Jan 10 09:26:11 hs14 kernel: [54085.953036] [<c035a0d8>] (__handle_domain_irq) from [<c0301488>] (gic_handle_irq+0x6c/0xb8)
Jan 10 09:26:11 hs14 kernel: [54085.961022] [<c0301488>] (gic_handle_irq) from [<c030c38c>] (__irq_svc+0x6c/0x90)
Jan 10 09:26:11 hs14 kernel: [54085.969176] Exception stack(0xdd45ff80 to 0xdd45ffc8)
Jan 10 09:26:11 hs14 kernel: [54085.976838] ff80: 00000001 00000000 00000000 c0315300 ffffe000 c0b03c74 c0b03c28 00000000
Jan 10 09:26:11 hs14 kernel: [54085.981876] ffa0: 00000000 512f04d0 00000000 00000000 dd45ffc8 dd45ffd0 c030884c c0308850
Jan 10 09:26:11 hs14 kernel: [54085.990018] ffc0: 60000013 ffffffff
Jan 10 09:26:11 hs14 kernel: [54085.998171] [<c030c38c>] (__irq_svc) from [<c0308850>] (arch_cpu_idle+0x38/0x44)
Jan 10 09:26:11 hs14 kernel: [54086.001477] [<c0308850>] (arch_cpu_idle) from [<c034ff08>] (do_idle+0xe8/0x1bc)
Jan 10 09:26:11 hs14 kernel: [54086.009111] [<c034ff08>] (do_idle) from [<c0350250>] (cpu_startup_entry+0x1c/0x20)
Jan 10 09:26:11 hs14 kernel: [54086.016142] [<c0350250>] (cpu_startup_entry) from [<423017cc>] (0x423017cc)
Jan 10 09:26:11 hs14 kernel: [54086.023843] ---[ end trace 452feb3a499a0195 ]---
Jan 10 09:26:11 hs14 kernel: [54086.030636] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:11 hs14 kernel: [54086.035568] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:11 hs14 kernel: [54086.042594] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:11 hs14 kernel: [54086.048636] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:11 hs14 kernel: [54086.054310] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:11 hs14 kernel: [54086.061524] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:11 hs14 kernel: [54086.081184] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
Jan 10 09:26:11 hs14 kernel: [54086.081230] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 1, skipped old beacon
Jan 10 09:26:11 hs14 kernel: [54086.087310] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
Jan 10 09:26:11 hs14 kernel: [54086.094688] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 1, skipped old beacon
Jan 10 09:26:11 hs14 kernel: [54086.101966] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
Jan 10 09:26:11 hs14 kernel: [54086.398043] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:11 hs14 kernel: [54086.398093] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:11 hs14 kernel: [54086.404163] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:11 hs14 kernel: [54086.410265] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:11 hs14 kernel: [54086.415885] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:11 hs14 kernel: [54086.423100] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:12 hs14 kernel: [54086.859493] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:12 hs14 kernel: [54086.859541] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:12 hs14 kernel: [54086.865611] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:12 hs14 kernel: [54087.668435] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:12 hs14 kernel: [54087.668484] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:12 hs14 kernel: [54087.674553] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:13 hs14 kernel: [54087.998516] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:13 hs14 kernel: [54087.998564] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:13 hs14 kernel: [54088.004648] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:13 hs14 kernel: [54088.010739] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:13 hs14 kernel: [54088.016359] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:13 hs14 kernel: [54088.023559] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:13 hs14 kernel: [54088.315168] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:13 hs14 kernel: [54088.315215] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:13 hs14 kernel: [54088.321286] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.199325] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:16 hs14 kernel: [54091.199378] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.205447] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.317048] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:16 hs14 kernel: [54091.317096] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.323165] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.399734] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:16 hs14 kernel: [54091.399767] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.405938] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.414260] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:16 hs14 kernel: [54091.417567] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.424841] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.442523] ath10k_pci 0001:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
Jan 10 09:26:16 hs14 kernel: [54091.442587] ath10k_pci 0001:01:00.0: msdu-desc: 2500  skid: 32
Jan 10 09:26:16 hs14 kernel: [54091.474435] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:16 hs14 kernel: [54091.474465] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.480544] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.492287] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:16 hs14 kernel: [54091.492316] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.499467] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.524925] ath10k_pci 0001:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
Jan 10 09:26:16 hs14 kernel: [54091.525752] ath10k_pci 0001:01:00.0: wmi print 'free: 87020 iram: 26788 sram: 18240'
Jan 10 09:26:16 hs14 kernel: [54091.578225] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:16 hs14 kernel: [54091.578254] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:16 hs14 kernel: [54091.584413] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:17 hs14 kernel: [54091.941028] ath10k_pci 0001:01:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
Jan 10 09:26:17 hs14 kernel: [54092.060188] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:17 hs14 kernel: [54092.060235] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.066307] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.072884] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:17 hs14 kernel: [54092.078031] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.085315] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.092632] ath10k_pci 0001:01:00.0: failed to transmit packet, dropping: -19
Jan 10 09:26:17 hs14 kernel: [54092.096943] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.104226] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.110805] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.115940] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.122235] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.127668] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.194155] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.194197] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.199984] ath10k_pci 0001:01:00.0: failed to submit frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.204944] ath10k_pci 0001:01:00.0: failed to push frame: -19
Jan 10 09:26:17 hs14 kernel: [54092.263526] ath10k_pci 0001:01:00.0: device successfully recovered
20.01.20192066KernelBug ReportVery LowMediumUSB doesn't work on openwrt-18.06.1 & lede-17.01.4AllUnconfirmed Task Description

Hello, it’s my first issue here.
My hardware: ALFA Network W502U / R36
Problem: USB port doesn’t work.
It works on openwrt-15.05, but does not work on lede-17.01.4 & openwrt-18.06.1.
I tried all I could find on google, but no successes.

All bellow done using: OpenWrt 18.06.1, r7258-5eb055306f

I don’t know how to do diagnostics properly, but here is what I already did:


root@OpenWrt:~# lsusb -t
Segmentation fault
root@OpenWrt:~# lsusb
unable to initialize libusb: -99
root@OpenWrt:~# opkg list-installed | grep usb
kmod-usb-core - 4.14.63-1
kmod-usb-ehci - 4.14.63-1
kmod-usb-storage - 4.14.63-1
kmod-usb-uhci - 4.14.63-1
kmod-usb2 - 4.14.63-1
libusb-1.0 - 1.0.22-1
usbutils - 007-9
root@OpenWrt:~# lsusb
unable to initialize libusb: -99
root@OpenWrt:~# lsusb -t
Segmentation fault
root@OpenWrt:~#


Maybe this can help:
root@OpenWrt:~# dmesg
[ 0.000000] Linux version 4.14.63 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7102-3f3a2c9)) #0 Thu Aug 16 07:51:15 20 18
[ 0.000000] SoC Type: Ralink RT3350 id:1 rev:2
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
[ 0.000000] MIPS: machine is ALFA Networks W502U
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 byt es
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0×0000000000000000-0x0000000001ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000001ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000001ffffff]
[ 0.000000] On node 0 totalpages: 8192
[ 0.000000] free_area_init_node: node 0, pgdat 803eaeb0, node_mem_map 8100004 0
[ 0.000000] Normal zone: 64 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 8192 pages, LIFO batch:0
[ 0.000000] random: get_random_bytes called from 0x803ee72c with crng_init=0
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jff s2
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Writing ErrCtl register=00065de0
[ 0.000000] Readback ErrCtl register=00065de0
[ 0.000000] Memory: 27964K/32768K available (3419K kernel code, 172K rwdata, 424K rodata, 200K init, 210K bss, 4804K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 256
[ 0.000000] CPU Clock: 320MHz
[ 0.000000] timer_probe: no matching timers found
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_i dle_ns: 11945377789 ns
[ 0.000019] sched_clock: 32 bits at 160MHz, resolution 6ns, wraps every 13421 772796ns
[ 0.007898] Calibrating delay loop... 212.58 BogoMIPS (lpj=1062912)
[ 0.094000] pid_max: default: 32768 minimum: 301
[ 0.099003] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.105607] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.122218] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma x_idle_ns: 19112604462750000 ns
[ 0.132051] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.138273] pinctrl core: initialized pinctrl subsystem
[ 0.146792] NET: Registered protocol family 16
[ 0.160804] Can’t analyze schedule() prologue at 80352ab0
[ 0.213659] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.219347] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.236791] clocksource: Switched to clocksource MIPS
[ 0.244339] NET: Registered protocol family 2
[ 0.250848] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.257890] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.264159] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.270926] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.276710] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.283640] NET: Registered protocol family 1
[ 0.295590] rt-timer 10000100.timer: maximum frequency is 3255Hz
[ 0.303509] Crashlog allocated RAM at address 0x1f00000
[ 0.313920] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[ 0.332748] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.338615] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT Y) © 2001-2006 Red Hat, Inc.
[ 0.380470] io scheduler noop registered
[ 0.384301] io scheduler deadline registered (default)
[ 0.390769] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.403784] console [ttyS0] disabled
[ 0.407515] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 6666666) is a Palmchip BK-3103
[ 0.417412] console [ttyS0] enabled
[ 0.424364] bootconsole [early0] disabled
[ 0.433566] cacheinfo: Failed to find cpu0 device node
[ 0.438911] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.446463] 1f000000.cfi: Found 1 x16 devices at 0×0 in 16-bit bank. Manufact urer ID 0x0000c2 Chip ID 0x0022cb
[ 0.456743] Amd/Fujitsu Extended Query Table at 0×0040 [ 0.462002] Amd/Fujitsu Extended Query version 1.1.
[ 0.467163] number of CFI chips: 1
[ 0.488329] 4 fixed-partitions partitions found on MTD device 1f000000.cfi
[ 0.495300] Creating 4 MTD partitions on “1f000000.cfi”:
[ 0.500855] 0×000000000000-0×000000030000 : “u-boot” [ 0.508096] 0×000000030000-0×000000040000 : “u-boot-env” [ 0.515425] 0×000000040000-0×000000050000 : “factory” [ 0.522776] 0×000000050000-0×000000800000 : “firmware” [ 0.542321] 2 uimage-fw partitions found on MTD device firmware
[ 0.548525] 0×000000050000-0x00000019e790 : “kernel” [ 0.555519] 0x00000019e790-0×000000800000 : “rootfs” [ 0.562562] mtd: device 5 (rootfs) set to be root filesystem
[ 0.568501] 1 squashfs-split partitions found on MTD device rootfs
[ 0.574802] 0x0000003c0000-0×000000800000 : “rootfs_data” [ 0.583610] libphy: Fixed MDIO Bus: probed
[ 0.591353] rt3050-esw 10110000.esw: link changed 0×01 [ 0.609880] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0 100000, irq 5
[ 0.619526] rt2880_wdt 10000120.watchdog: Initialized
[ 0.627610] NET: Registered protocol family 10
[ 0.642865] Segment Routing with IPv6
[ 0.646978] NET: Registered protocol family 17
[ 0.651634] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 0.664823] 8021q: 802.1Q VLAN Support v1.8
[ 0.681284] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 0.691413] Freeing unused kernel memory: 200K
[ 0.695918] This architecture does not have kernel memory protection.
[ 1.619412] init: Console is alive
[ 1.623555] init: - watchdog -
[ 2.396830] random: fast init done
[ 2.722565] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 2.890829] kmodloader: done loading kernel modules from /etc/modules-boot.d/ *
[ 2.910041] init: - preinit -
[ 4.382680] 8021q: adding VLAN 0 to HW filter on device eth0
[ 4.672961] random: procd: uninitialized urandom read (4 bytes read)
[ 8.115618] jffs2: notice: (324) jffs2_build_xattr_subsystem: complete buildi ng xattr subsystem, 4 of xdatum (3 unchecked, 1 orphan) and 32 of xref (1 dead, 0 orphan) found.
[ 8.134525] mount_root: switching to jffs2 overlay
[ 8.190331] overlayfs: upper fs does not support tmpfile.
[ 8.206092] urandom-seed: Seeding with /etc/urandom.seed
[ 8.442557] procd: - early -
[ 8.445811] procd: - watchdog -
[ 9.256926] procd: - watchdog -
[ 9.261065] procd: - ubus -
[ 9.415882] random: ubusd: uninitialized urandom read (4 bytes read)
[ 9.427196] random: ubusd: uninitialized urandom read (4 bytes read)
[ 9.434866] random: ubusd: uninitialized urandom read (4 bytes read)
[ 9.444910] procd: - init -
[ 10.363541] kmodloader: loading kernel modules from /etc/modules.d/*
[ 10.493682] usbcore: registered new interface driver usbfs
[ 10.499804] usbcore: registered new interface driver hub
[ 10.505524] usbcore: registered new device driver usb
[ 10.542139] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 10.640628] SCSI subsystem initialized
[ 10.679912] ehci-platform: EHCI generic platform driver
[ 10.696730] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 10.732456] Loading modules backported from Linux version wt-2017-11-01-0-gfe 248fc2c180
[ 10.740697] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[ 10.756445] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.782367] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[ 10.925284] usbcore: registered new interface driver usb-storage
[ 10.976219] xt_time: kernel timezone is -0000
[ 11.101389] PPP generic driver version 2.4.2
[ 11.112322] NET: Registered protocol family 24
[ 11.161352] usbcore: registered new interface driver rtl8187
[ 11.203176] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device “factory "
[ 11.210710] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 2872, rev 0200 d etected
[ 11.218641] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0005 detected
[ 11.227089] ieee80211 phy0: Selected rate control algorithm ‘minstrel_ht’ [ 11.399574] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 13.487575] urandom_read: 5 callbacks suppressed
[ 13.487592] random: jshn: uninitialized urandom read (4 bytes read)
[ 31.034969] 8021q: adding VLAN 0 to HW filter on device eth0
[ 31.128839] br-lan: port 1(eth0.1) entered blocking state
[ 31.134327] br-lan: port 1(eth0.1) entered disabled state
[ 31.140711] device eth0.1 entered promiscuous mode
[ 31.145584] device eth0 entered promiscuous mode
[ 31.247802] br-lan: port 1(eth0.1) entered blocking state
[ 31.253292] br-lan: port 1(eth0.1) entered forwarding state
[ 31.259544] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 32.027373] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 39.584842] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 39.605642] br-lan: port 2(wlan0) entered blocking state
[ 39.611182] br-lan: port 2(wlan0) entered disabled state
[ 39.617552] device wlan0 entered promiscuous mode
[ 40.719820] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 40.726761] br-lan: port 2(wlan0) entered blocking state
[ 40.732315] br-lan: port 2(wlan0) entered forwarding state
[ 76.772365] random: crng init done
[ 83.214660] do_page_fault(): sending SIGSEGV to lsusb for invalid read access from 00000000
[ 83.223256] epc = 00406f3d in lsusb[400000+11000]
[ 83.228069] ra = 00406f19 in lsusb[400000+11000]
[ 1235.373340] do_page_fault(): sending SIGSEGV to lsusb for invalid read access from 00000000
[ 1235.381999] epc = 00406f3d in lsusb[400000+11000]
[ 1235.386822] ra = 00406f19 in lsusb[400000+11000]

 


21.01.20192075KernelBug ReportVery LowMediumath10k_pci -- SWBA overrun on vdev 0, skipped old beac...TrunkUnconfirmed Task Description

Periodically (every 4-12 hours) the AP (Ubiquiti UniFi-AC-LITE) apparently resets it firmware and drops all clients. After recovery all clients migrate back to the failed AP. I receive the following in the system log:

Sun Jan 20 01:19:15 2019 kern.warn kernel: [626814.624640] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:15 2019 kern.warn kernel: [626814.727032] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:15 2019 kern.warn kernel: [626814.829453] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:15 2019 kern.warn kernel: [626814.931841] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:15 2019 kern.warn kernel: [626815.034240] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:15 2019 kern.warn kernel: [626815.136629] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:15 2019 kern.warn kernel: [626815.239040] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:15 2019 kern.warn kernel: [626815.341440] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:15 2019 kern.warn kernel: [626815.443835] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:16 2019 kern.warn kernel: [626815.546251] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:16 2019 kern.warn kernel: [626815.648637] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:16 2019 kern.warn kernel: [626815.751043] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:16 2019 kern.warn kernel: [626815.853446] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:16 2019 kern.warn kernel: [626815.955854] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:16 2019 kern.warn kernel: [626816.058259] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:16 2019 kern.warn kernel: [626816.160653] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:16 2019 kern.warn kernel: [626816.263056] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:16 2019 kern.warn kernel: [626816.365458] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:16 2019 kern.warn kernel: [626816.467864] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:17 2019 kern.warn kernel: [626816.570265] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:17 2019 kern.warn kernel: [626816.672667] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:17 2019 kern.warn kernel: [626816.775083] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:17 2019 kern.warn kernel: [626816.877475] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:17 2019 kern.warn kernel: [626816.979877] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:17 2019 kern.warn kernel: [626817.082279] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:17 2019 kern.warn kernel: [626817.184686] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:17 2019 kern.warn kernel: [626817.287098] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:17 2019 kern.warn kernel: [626817.389482] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:17 2019 kern.warn kernel: [626817.491885] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.543991] ath10k_pci 0000:00:00.0: wmi command 36893 timeout, restarting hardware
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.552229] ath10k_pci 0000:00:00.0: failed to delete peer 40:4e:36:7f:72:59 for vdev 0: -11
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.561304] ath10k_pci 0000:00:00.0: found sta peer 40:4e:36:7f:72:59 (ptr 85cf0200 id 86) entry on vdev 0 after it was supposedly removed
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.574561] ————[ cut here ]———— Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.579573] WARNING: CPU: 0 PID: 14402 at backports-4.19.7-1/net/mac80211/sta_info.c:1004 sta_set_sinfo+0xaec/0xb98 [mac80211]
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.591588] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw 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 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables gpio_button_hotplug
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.657187] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.665363] CPU: 0 PID: 14402 Comm: hostapd Not tainted 4.14.91 #0
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.671831] Stack : 80540000 804f1a8c 00000000 00000000 804cb014 865d3b04 87d0c85c 8051b9c7
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.680702] 804c73b8 00003842 80593800 000003ec 865d3cb4 00000001 865d3ab8 6a0710c0
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.689575] 00000000 00000000 80590000 000083f0 00000000 00000000 00000008 00000000
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.698350] 00000188 f8b6dd8c 00000187 6d6d3a20 80000000 00000000 87663a04 876079d4
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.707137] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.715075] 00000009 000003ec 865d3cb4 87c92000 00000010 80263864 00000000 80590000
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.723805] ...
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.726511] Call Trace:
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.729234] [<8006c44c>] show_stack+0×58/0×100 Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.734094] [<800824c0>] __warn+0xe4/0×118 Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.738594] [<80082584>] warn_slowpath_null+0x1c/0×28 Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.744162] [<876079d4>] sta_set_sinfo+0xaec/0xb98 [mac80211]
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.750389] [<87607b60>] sta_info_destroy_addr_bss+0×38/0×60 [mac80211]
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.757764] [<8750f15c>] cfg80211_check_station_change+0x1be0/0x2c54 [cfg80211]
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.765684] —[ end trace 4604677d3a14d96c ]— Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.799099] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626817.901488] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626818.003882] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626818.106295] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626818.208683] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626818.311083] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626818.413480] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:18 2019 kern.warn kernel: [626818.515885] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:19 2019 kern.warn kernel: [626818.618279] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:19 2019 kern.warn kernel: [626818.720682] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:19 2019 kern.warn kernel: [626818.823084] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:19 2019 kern.warn kernel: [626818.925504] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:19 2019 kern.warn kernel: [626819.027903] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:19 2019 kern.warn kernel: [626819.130290] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:19 2019 kern.warn kernel: [626819.232697] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:19 2019 kern.warn kernel: [626819.335107] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:19 2019 kern.warn kernel: [626819.437492] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:20 2019 kern.warn kernel: [626819.539900] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:20 2019 kern.warn kernel: [626819.642300] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:20 2019 kern.warn kernel: [626819.744707] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:20 2019 kern.warn kernel: [626819.847110] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:20 2019 kern.warn kernel: [626819.949512] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:20 2019 kern.warn kernel: [626820.051909] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:20 2019 kern.warn kernel: [626820.154304] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:20 2019 kern.warn kernel: [626820.256719] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:20 2019 kern.warn kernel: [626820.359112] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:20 2019 kern.warn kernel: [626820.461524] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:21 2019 kern.warn kernel: [626820.563921] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:21 2019 kern.warn kernel: [626820.666314] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 20 01:19:21 2019 kern.warn kernel: [626820.698954] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 8612e200 vdev: 0 addr: fc:ec:da:ae:a0:d1
Sun Jan 20 01:19:21 2019 kern.info kernel: [626820.838595] ieee80211 phy0: Hardware restart was requested
Sun Jan 20 01:19:21 2019 kern.warn kernel: [626820.844562] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -143
Sun Jan 20 01:19:21 2019 kern.warn kernel: [626820.852243] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -143
Sun Jan 20 01:19:22 2019 kern.warn kernel: [626821.884646] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
Sun Jan 20 01:19:22 2019 kern.info kernel: [626821.902855] ath10k_pci 0000:00:00.0: wmi print ‘P 128 V 8 T 410’ Sun Jan 20 01:19:22 2019 kern.info kernel: [626821.909440] ath10k_pci 0000:00:00.0: wmi print ‘msdu-desc: 1424 sw-crypt: 0 ct-sta: 0’ Sun Jan 20 01:19:22 2019 kern.info kernel: [626821.917837] ath10k_pci 0000:00:00.0: wmi print ‘alloc rem: 24616 iram: 26584’ Sun Jan 20 01:19:22 2019 kern.warn kernel: [626821.990859] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
Sun Jan 20 01:19:22 2019 kern.warn kernel: [626822.006126] ath10k_pci 0000:00:00.0: set-coverage-class, phyclk: 88 value: 0
Sun Jan 20 01:19:22 2019 kern.info kernel: [626822.023489] ath10k_pci 0000:00:00.0: device successfully recovered

Supply the following if possible:
- Device problem occurs on

- Ubiquiti UniFi-AC-LITE
- OpenWrt SNAPSHOT r9019-0e8d5ff / LuCI Master (git-19.011.54860-47d9205)
- Qualcomm Atheros QCA956X ver 1 rev 0

- Software versions of OpenWrt/LEDE release, packages, etc.

@OpenWrt_LR:~# opkg list-installed
ath10k-firmware-qca988x-ct - 2018-10-10-d366b80d-1
base-files - 196-r9019-0e8d5ff
busybox - 1.30.0-2
dnsmasq - 2.80-5
dropbear - 2017.75-9
firewall - 2019-01-02-70f8785b-2
fstools - 2018-12-28-af93f4b8-3
fwtool - 1
hostapd - 2018-12-02-c2c6c01b-1
hostapd-common - 2018-12-02-c2c6c01b-1
ip6tables - 1.8.2-2
iptables - 1.8.2-2
iw - 4.14-1
iwinfo - 2018-12-25-dd508af4-1
jshn - 2018-07-25-c83a84af-2
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 4.14.91-1-62c515ec7afd0a040b29be060097c14e
kmod-ath - 4.14.91+4.19.7-1-1
kmod-ath10k-ct - 4.14.91+2018-12-20-118e16da-1
kmod-ath9k - 4.14.91+4.19.7-1-1
kmod-ath9k-common - 4.14.91+4.19.7-1-1
kmod-cfg80211 - 4.14.91+4.19.7-1-1
kmod-gpio-button-hotplug - 4.14.91-2
kmod-hwmon-core - 4.14.91-1
kmod-ip6tables - 4.14.91-1
kmod-ipt-conntrack - 4.14.91-1
kmod-ipt-core - 4.14.91-1
kmod-ipt-nat - 4.14.91-1
kmod-ipt-offload - 4.14.91-1
kmod-lib-crc-ccitt - 4.14.91-1
kmod-mac80211 - 4.14.91+4.19.7-1-1
kmod-nf-conntrack - 4.14.91-1
kmod-nf-conntrack6 - 4.14.91-1
kmod-nf-flow - 4.14.91-1
kmod-nf-ipt - 4.14.91-1
kmod-nf-ipt6 - 4.14.91-1
kmod-nf-nat - 4.14.91-1
kmod-nf-reject - 4.14.91-1
kmod-nf-reject6 - 4.14.91-1
kmod-ppp - 4.14.91-1
kmod-pppoe - 4.14.91-1
kmod-pppox - 4.14.91-1
kmod-slhc - 4.14.91-1
libblobmsg-json - 2018-07-25-c83a84af-2
libc - 1.1.20-1
libgcc - 7.4.0-1
libip4tc - 1.8.2-2
libip6tc - 1.8.2-2
libiwinfo - 2018-12-25-dd508af4-1
libiwinfo-lua - 2018-12-25-dd508af4-1
libjson-c - 0.12.1-2
libjson-script - 2018-07-25-c83a84af-2
liblua - 5.1.5-1
liblucihttp - 2018-05-18-cb119ded-1
liblucihttp-lua - 2018-05-18-cb119ded-1
libmbedtls - 2.14.1-1
libnl-tiny - 0.1-5
libpthread - 1.1.20-1
libubox - 2018-07-25-c83a84af-2
libubus - 2018-10-06-221ce7e7-1
libubus-lua - 2018-10-06-221ce7e7-1
libuci - 2018-08-11-4c8b4d6e-1
libuclient - 2018-11-24-3ba74ebc-1
libustream-mbedtls - 2018-07-30-23a3f283-1
libxtables - 1.8.2-2
logd - 2018-12-18-876c7f5b-1
lua - 5.1.5-1
luci - git-19.011.54860-47d9205-1
luci-app-firewall - git-19.011.54860-47d9205-1
luci-app-opkg - git-19.011.54860-47d9205-1
luci-base - git-19.011.54860-47d9205-1
luci-lib-ip - git-19.011.54860-47d9205-1
luci-lib-jsonc - git-19.011.54860-47d9205-1
luci-lib-nixio - git-19.011.54860-47d9205-1
luci-mod-admin-full - git-19.011.54860-47d9205-1
luci-mod-network - git-19.011.54860-47d9205-1
luci-mod-status - git-19.011.54860-47d9205-1
luci-mod-system - git-19.011.54860-47d9205-1
luci-proto-ipv6 - git-19.011.54860-47d9205-1
luci-proto-ppp - git-19.011.54860-47d9205-1
luci-ssl - git-19.011.54860-47d9205-1
luci-theme-bootstrap - git-19.011.54860-47d9205-1
mtd - 23
netifd - 2018-12-16-2750ce2e-1
odhcp6c - 2019-01-11-d2e247d8-16
odhcpd-ipv6only - 2018-12-12-2d2a3b84-3
openwrt-keyring - 2018-05-18-103a32e9-1
opkg - 2017-12-07-3b417b9f-3
ppp - 2.4.7-14
ppp-mod-pppoe - 2.4.7-14
procd - 2018-11-23-d6673547-1
px5g-mbedtls - 8
rpcd - 2018-11-28-3aa81d0d-1
rpcd-mod-rrdns - 20170710
swconfig - 12
uboot-envtools - 2018.03-3
ubox - 2018-12-18-876c7f5b-1
ubus - 2018-10-06-221ce7e7-1
ubusd - 2018-10-06-221ce7e7-1
uci - 2018-08-11-4c8b4d6e-1
uclient-fetch - 2018-11-24-3ba74ebc-1
uhttpd - 2018-11-28-cdfc902a-1
usign - 2015-07-04-ef641914-1
wireless-regdb - 2017-10-20-4343d359

- Steps to reproduce

 

Occurs every 4-12 hours.

06.02.20192106KernelBug ReportVery LowMediumnew storage and match method required in firewall3/ipse...AllUnconfirmed Task Description

The new version of ipset now incoporates new set type: “hash:mac”.

But in openwrt project firewall3/ipset.c this new set type is not supported (line 68-87).

The result is that while refreshing firewall error message “Section @ipset has an invalid combination of storage method and matches” would appear, and no set type is created.

Please made some revision.

Thank you!

01.03.20192156KernelBug ReportVery LowMediumcacheinfo kernel error on TD-W8970 v1TrunkUnconfirmed Task Description

See this at every boot. Does no happen on previous versions. Can this be related to random crash + auto-reboots I’m experiencing with this devices?
I have a TD-W8970 v1 with OpenWrt SNAPSHOT r9458-c8153722a2.

Fri Mar  1 11:09:10 2019 kern.err kernel: [    0.691124] cacheinfo: Failed to find cpu0 device node
Fri Mar  1 11:09:10 2019 kern.warn kernel: [    0.694921] cacheinfo: Unable to detect cache hierarchy for CPU 0
12.03.20192182KernelBug ReportVery LowMediumath10k_pci repeated errors in dmesgTrunkUnconfirmed Task Description

Netgear R7800
OpenWrt SNAPSHOT, r9559-445ca981d1

dmesg full of these errors. Kernel crashes too (reported in  FS#2178 ), not sure if related or a different issues.

[40794.429593] ath10k_pci 0001:01:00.0: received unexpected tx_fetch_ind event: in push mode
[40794.429647] ath10k_pci 0001:01:00.0: received unexpected tx_fetch_ind event: in push mode
[40794.436800] ath10k_pci 0001:01:00.0: received unexpected tx_fetch_ind event: in push mode
[40794.445022] ath10k_pci 0001:01:00.0: received unexpected tx_fetch_ind event: in push mode
...
14.03.20192186KernelBug ReportVery LowMediumDSA driver performance issueTrunkUnconfirmed Task Description


Device: Linksys EA9500
Trunk: Kernel v4.19.25

I’ve compiled my own kernel and used DSA driver instead of swconfig
one for this router. Note: Kernel v4.19 enables broadcom tags for
B53 family of switches in this DSA driver

Here are some of my observations:

1. Lan to Lan speed is indeed 1Gbps (file copy)
2. However, Lan to Wan port is capped at ~500Mbps

 i. My internet is limited to 200Mbps, please see by test 
    setup below
ii. One of the users who has 1GBps internet had initially
    reported this issue

I’ve tried all the lan ports but the result is same. Note that this
router has 8 lan ports and 1 wan port. Where, switch bcm53012
covers lan4, lan7, lan8 and wan ports. While bcm53125 covers lan1,
lan2, lan3, lan5 and lan6 ports. bcm53125’s cpu port(8) hangs of
bcm53012 at port(0). bcm53012 is connected to GMAC.

When I load factory firmware, I do get 1Gbps from lan to wan port

Test setup:


Router ⇔ pfsense box ⇔ Modem

             ||
            SSD

File copy is limited to ~500Mbps

Thanks,

Vivek


21.03.20192197KernelBug ReportVery LowMediumdefault kernel option CONFIG_BPF_JIT=y breaking bpf fil...TrunkUnconfirmed Task Description

Between 18.06.2 and the Trunk the kernel option CONFIG_BPF_JIT=y was added.

With JIT enabled, a simple beacon filter shows no traffic.
With JIT disabled, the filter works normally.

Device: ar71xx generic device (gl-mifi):

Test:
put the radio card in monitor mode:
iw wlan0 set type monitor
ifconfig wlan0 up
iw wlan0 set channel 1 # some channel with an AP

tcpdump -i wlan0
see lots of traffic and beacons

tcpdump -i wlan0 wlan type mgt subtype beacon
no traffic

Fix:
echo 0 > /proc/sys/net/core/bpf_jit_enable

tcpdump -i wlan0 wlan type mgt subtype beacon
see lots of beacons

More detail:
Testing on my side, with JIT enabled, it seems to be computing the offset to the start of the wlan packet incorrectly. In my case, the offset was off by +16 bytes. A filter of “wlan[0] == 0×80” should show beacons, because the type/subtype field is the first byte of the wlan packet. With JIT enabled, wlan[0] was equal to the first byte of the addr3/bssid field (the first byte of my AP’s MAC address), which is 16 bytes later in the packet.


28.03.20192208KernelBug ReportVery LowMediumUAS support for USB3.0 drivesopenwrt-19.07Unconfirmed Task Description

UAS module is loaded fine on Linksys WRT3200ACM with openwrt 18.06 but when plugging a USB 3.0 drive (for example a USB 3.0 external HDD) it does not load in the right way and device ends using driver usb-storage, which prevents of using device at full speed.

Steps to reproduce: Plug a USB 3.0 external HDD to USB 3.0 port of any openwrt 18.06 device and check speed when copying a file to the external HDD, it should be around 100+ MBps

Any needed additional info can be found at this forum question: https://forum.openwrt.org/t/usb3-0-hdd-issues/34031/13


29.08.20192472KernelBug ReportVery LowMediumnetdev led trigger on wwan0 actived even the qmi has no...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on Orange PI One based board
- Software versions of OpenWrt/LEDE release, packages, etc.
- Steps to reproduce

 

This happens with Quectel EC25 LTE modem (USB interface, 2c7c:0125). The board is based on Allwinner H3, using openwrt-19.07-snapshot (kernel 4.14.140).

Following is the configuration, that 4g_wan will not be enabled when booted. But the LED binded with wwan0 been actived even the 4g_wan does not be enabled.

config interface '4g_wan'
	option proto 'qmi'
	option device '/dev/cdc-wdm0'
	option auto '0'
config led 'led_modem'
	option name 'modem'
	option sysfs 'kooiot:green:modem'
	option trigger 'netdev'
	option mode 'link tx rx'
	option default '0'
	option dev 'wwan0'

Once we enabled the 4g_wan, and then disabled the 4g_wan, the LED will be turned off.

When system booted, ifconfig -a shows:

wwan0     Link encap:Ethernet  HWaddr AA:C8:51:F9:2A:67  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

when 4g_wan enabled and disabled, ifconfig -a shows:

wwan0     Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          POINTOPOINT NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:636 (636.0 B)  TX bytes:1192 (1.1 KiB)
15.09.20192498KernelBug ReportVery LowMediumUsing "wifi" causes soft reboot after a certain kernel ...TrunkUnconfirmed Task Description

Device: Xiaomi Mi Router 3g
OpenWrt: SNAPSHOT r10890-7d542dc804
mt76: 4.14.140+2019-08-22-2a0edbb4-1
Full list of installed packages

Some time during the normal operation “ieee80211_ctstoself_get” warning happens which and I seemingly lose the ability to use 5ghz AP from my tablet(on my phone it’s perfectly fine).
If I try to restart APs via “wifi” Oops in hostapd happens and take the router with it to soft reboot. Attached 2 recent crashlogs.

05.10.20192534KernelBug ReportVery LowMediumath79: no ethernet link and console on TP-Link TL-WA901...TrunkUnconfirmed Task Description

I found an older device TP-Link TL-WA901ND v2 in my rack and tried to install latest OpenWrt master (27bf8abe69)
on it. I used the ath79 target with a mostly default minimal configuration.

The device comes up, but no Ethernet link is established with my switch.
This worked of course before (I had an older OpenWrt ar7100 image on it).

Also, I get no serial console so I can only update via U-Boot and ymodem protocol (not tested whether network works in U-Boot).

I attach a full trace of the boot process. Hints are welcome :-)

09.10.20192540KernelBug ReportVery LowMediumUBNT-ERX: hwnat = very slow "tls shaking"TrunkUnconfirmed Task Description

OpenWrt SNAPSHOT r11175-700e7a2eb9
UBNT-ERX (ramips)

When hwnat is turn on than no www browsing is possible
due to very, very slow “tls shaking”. This is so slow that
mostly there are timeouts. When hwnat is turn off and just software
offloading is used than it works like a charm.

25.10.20192567KernelBug ReportVery LowMedium[ATH79] USB speed degradation on WDR4300openwrt-19.07Assigned Task Description

Hello!

I experience huge speed loss on the lastest build (Thu Oct 24 21:58:18 2019) using the ath79 snapshot image builder. I had the same problem on the ~2 weeks earlier build as well, just wanted to have a try on the up to date version now.
Built configuration on both 18.04.6 and 19.07:
PROFILE=tplink_tl-wdr4300-v1 PACKAGES=”block-mount diffutils f2fs-tools kmod-fs-f2fs kmod-mtd-rw kmod-usb-storage luci mailsend-nossl minidlna nfs-kernel-server ppp-mod-pppoe shadow-su transmission-daemon-mbedtls transmission-remote-mbedtls vsftpd usbreset zram-swap -ip6tables -kmod-ip6tables -kmod-ipv6 -kmod-nf-conntrack6 -kmod-nf-ipt6 -libopenssl1.1 -odhcp6c -odhcpd-ipv6only -luci-proto-ipv6 -libip6tc2”

Drive: Kingston DT G3 32GB (old one, better quality with Intel MLC flash)
Firewall: w and w/o flow offload on 19.07
Model: TP-Link WDR4300 v1

File read speeds:
18.06.4 orig vstpd 542M 75s 7,2MB/s
18.06.4 pepe2k vstpd 542M 64s 7,2MB/s
19.07 pepe2k vstpd 542M 543s 1,0MB/s
19.07 pepe2k dd+nc 256M 321s 0,8MB/s

- During the measurement, no root overlay was in use, just a general filesystem was attached
- lower speeds are really close to USB 1.x standard
- measurements took on fresh installations
- the degradation exists if only one drive is attached
- the degradation exists on both filesystem and block level.

I’m using pepe2k’s uboot image (CPU clocked to 600MHz). However I didn’t revert the uboot partition now, I did for a few weeks, nothing has changed.

Let me know if I can help the troubleshooting anyway. Dmesg logs are attached for all mentioned configurations (18.06.4 orig, 18.06.4 pepe2k, 19.07 pepe2k).

Best regards

11.11.20192587KernelBug ReportVery LowMediumCY-SWR1100 WiFi 2.4GHz fails on some situationAllUnconfirmed Task Description

When I enable 2.4GHz and disable 5GHz (via uci), and reboot, then both wlan0 (2.4GHz) and wlan1 (5GHz) interface exist on `ip link` list, but only wlan0 is up and wlan1 is in down state.
In this situation, wlan0 does not work at all. AP SSID can not be found, and `iw dev wlan0 scan` returns no result.
But when I enable wlan1, or disable it again to make wlan1 completely disappear on `ip link` list, then wlan0 becomes functional without any problem.

right after boot, wlan0 on, wlan1 off: wlan0 fails, network restart doen’t make any difference
right after boot, wlan0 on, wlan1 on: no problem
wlan0 on, wlan1 off→on, network reload: no problem
wlan0 on, wlan1 on→off, network reload: no problem

I found this behavior on 15.05.1, 17.01.6, 18.06.4, and snapshot.

There’s a thread on the forum reporting 2.4GHz radio problem. Maybe same bug?
https://forum.openwrt.org/t/samsung-cy-swr1100-radios-are-not-working-even-after-enabled-please-help/13114

29.11.20192641KernelBug ReportVery LowMediumDevice file for USB does not appear /dev/ttyUSB*openwrt-19.07Waiting on reporter Task Description

With new version 19.07.0rc I could not make my USB cellular (3g) modem dongle to work due to it simply no any serial device like /dev/ttyUSB* file appear with insertion.
In kernel log it appears report about new device insertion and nothing happenings after.
I made several attempts, with ‘modeswitch’ or without and several other ‘mods’ the result is the same no any /dev/ttyUSB*
With other version it was not such problem it appeared exactly three /dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2 es well as on my Ubuntu 19.04 And Ubuntu 16.04 Ubuntu 18.04

Both router and dongle are USB-2
Actually router is Asus RT-N16
and modem dongle is Alcatel One Touch X090S

P.S. I need this one to be solved to report other bugs. :)

28.12.20192702KernelBug ReportVery LowMediumPerformance degradation after kernel.warn ath10k_core@8...openwrt-19.07Unconfirmed Task Description

Supply the following if possible:

- Device problem occurs on
Archer C7v2

- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt 19.07-rc.2

[---] PACKAGES INSTALLED
echo [INFO] Downloading package information ...
opkg update
#
echo [INFO] Removing packages ...
opkg remove wpad-basic
#
echo [INFO] Installing packages ...
opkg install bash
opkg install block-mount
opkg install curl
opkg install e2fsprogs
opkg install htop
# opkg install igmpproxy
opkg install kmod-br-netfilter
opkg install kmod-fs-ext4
opkg install kmod-fs-msdos
opkg install kmod-fs-ntfs
opkg install kmod-scsi-core
opkg install kmod-usb-storage
opkg install libncurses
opkg install libpcre
opkg install lua luafilesystem
opkg install luci-mod-rpc
opkg install luci-proto-relay
opkg install mailsend
opkg install nano
opkg install relayd
opkg install rpcd
opkg install terminfo
opkg install tcpdump
opkg install uhttpd-mod-ubus
opkg install vsftpd
opkg install wget
opkg install wpad
#
# batman-adv
opkg install kmod-batman-adv
opkg install batctl-full
[---]

- Steps to reproduce
Today worked on batman-adv via ad-hoc between two devices. Device A has LAN to bat0, batman-adv works over ad-hoc wifi, Device B has bat0 to LAN. (Device B has only one wired client behind)
Both devices (Archer C7v2 with OpenWrt 19.07-rc.2) had multiple crashes of the below printed type resulting in only 10 MBit/s download speed on the computer attached via LAN to Device B. Before the kernel.warn log line appeared on one of the APs, the speed was full 100 MBit/s. As soon I reboot the “kernel.warn”ing AP, the speed is 100 MBit again. bat0 is bridged to eth0.101 on both ends.

 
Sat Dec 28 14:50:04 2019 daemon.notice hostapd: wlan0-1: AP-ENABLED
Sat Dec 28 14:50:05 2019 kern.info kernel: [ 2416.392454] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sat Dec 28 14:50:05 2019 daemon.notice wpa_supplicant[16106]: Successfully initialized wpa_supplicant
Sat Dec 28 14:50:06 2019 kern.info kernel: [ 2417.755684] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sat Dec 28 14:50:06 2019 daemon.notice wpa_supplicant[16106]: Note: nl80211 driver interface is not designed to be used with ap_scan=2; this can result in connection failures
Sat Dec 28 14:50:06 2019 daemon.notice wpa_supplicant[16176]: wlan0: Trying to associate with SSID 'Permakultur'
Sat Dec 28 14:50:06 2019 kern.info kernel: [ 2417.950938] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2417.991646] ------------[ cut here ]------------
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2417.996394] WARNING: CPU: 0 PID: 16176 at /builder/shared-workdir/build/build_dir/target-mips_24kc_musl/linux-ath79_generic/ath10k-ct-2019-09-09-5e8cd86f/ath10k-4.19/mac.c:6598 0x8700bd24 [ath10k_core@87000000+0x5d210]
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.016231] Modules linked in: ath9k ath9k_common pppoe ppp_async batman_adv ath9k_hw 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 libcrc32c iptable_mangle iptable_filter ip_tables crc_ccitt compat br_netfilter ledtrig_usbport nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos vfat fat ntfs nls_utf8 nls_iso8859_1 nls_cp437
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.088204]  usb_storage sd_mod scsi_mod ext4 mbcache jbd2 crc16 crc32c_generic crypto_hash ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.103218] CPU: 0 PID: 16176 Comm: wpa_supplicant Tainted: G        W       4.14.156 #0
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.111503] Stack : 000000f8 800b2a94 80500000 804af544 00000000 00000000 00000000 00000000
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.120128]         00000000 00000000 00000000 00000000 00000000 00000001 853c59d8 ebe9a33e
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.128783]         853c5a70 00000000 00000000 00009378 00000038 80447958 00000008 00000000
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.137442]         000001c9 6e8dd5be 000001c8 00000000 853c59b8 80000000 00000000 8704e480
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.146036]         8700bd24 000019c6 86310d28 87428800 00000003 8027f944 00000000 80630000
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.154570]         ...
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.157183] Call Trace:
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.157198] [<800b2a94>] 0x800b2a94
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.163293] [<80500000>] 0x80500000
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.166873] [<80447958>] 0x80447958
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.170485] [<8700bd24>] 0x8700bd24 [ath10k_core@87000000+0x5d210]
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.176813] [<8027f944>] 0x8027f944
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.180352] [<8006a56c>] 0x8006a56c
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.184017] [<8006a574>] 0x8006a574
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.187559] [<80084c20>] 0x80084c20
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.191102] [<8700bd24>] 0x8700bd24 [ath10k_core@87000000+0x5d210]
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.197583] [<80084d08>] 0x80084d08
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.201136] [<80318194>] 0x80318194
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.204714] [<8700bd24>] 0x8700bd24 [ath10k_core@87000000+0x5d210]
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.211078] [<87795f70>] 0x87795f70 [mac80211@87780000+0x6c280]
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.217204] [<8772d0d0>] 0x8772d0d0 [cfg80211@87700000+0x363f0]
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.223313] [<8772941c>] 0x8772941c [cfg80211@87700000+0x363f0]
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.229530] [<8771ddc0>] 0x8771ddc0 [cfg80211@87700000+0x363f0]
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.235711] [<80134f00>] 0x80134f00
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.239316] [<80350498>] 0x80350498
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.243000] [<803501ac>] 0x803501ac
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.246630] [<8034eb44>] 0x8034eb44
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.250375] [<8034f410>] 0x8034f410
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.253980] [<8034c9bc>] 0x8034c9bc
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.257540] [<8034e208>] 0x8034e208
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.261197] [<8034e6e4>] 0x8034e6e4
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.264845] [<802f7c1c>] 0x802f7c1c
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.268386] [<8034bcf8>] 0x8034bcf8
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.271988] [<8034e308>] 0x8034e308
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.275625] [<802f7e7c>] 0x802f7e7c
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.279170] [<800ac680>] 0x800ac680
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.282723] [<802f5f34>] 0x802f5f34
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.286301] [<802f6718>] 0x802f6718
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.289840] [<8034bdec>] 0x8034bdec
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.293390] [<802f681c>] 0x802f681c
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.297024] [<8013fd78>] 0x8013fd78
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.300656] [<802fd5c0>] 0x802fd5c0
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.304252] [<802f8704>] 0x802f8704
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.307808] [<802f6718>] 0x802f6718
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.311405] [<8006f72c>] 0x8006f72c
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.314981] [<802f84a4>] 0x802f84a4
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.318624]
Sat Dec 28 14:50:06 2019 kern.warn kernel: [ 2418.320140] ---[ end trace b03503722668fd71 ]---
Sat Dec 28 14:50:07 2019 kern.info kernel: [ 2418.329016] wlan0: Selected IBSS BSSID [MAC] based on configured SSID
Sat Dec 28 14:50:07 2019 daemon.notice netifd: Network device 'wlan0-1' link is up
Sat Dec 28 14:50:07 2019 daemon.notice netifd: Network device 'wlan0-2' link is up
Sat Dec 28 14:50:07 2019 daemon.notice netifd: Network device 'wlan0-3' link is up
Sat Dec 28 14:50:07 2019 daemon.notice netifd: Network device 'wlan0' link is up
Sat Dec 28 14:50:07 2019 daemon.notice netifd: Interface 'nwi_mesh0' is enabled
Sat Dec 28 14:50:07 2019 daemon.notice netifd: Interface 'nwi_mesh0' has link connectivity
Sat Dec 28 14:50:07 2019 daemon.notice netifd: Interface 'nwi_mesh0' is setting up now
Sat Dec 28 14:50:07 2019 kern.info kernel: [ 2418.899578] batman_adv: bat0: Adding interface: wlan0
Sat Dec 28 14:50:07 2019 kern.info kernel: [ 2418.904876] batman_adv: bat0: Interface activated: wlan0
Sat Dec 28 14:50:07 2019 daemon.notice netifd: Interface 'nwi_mesh0' is now up
Sat Dec 28 14:50:08 2019 daemon.notice wpa_supplicant[16176]: wlan0: Associated with [MAC]


04.02.20202808KernelBug ReportVery LowMediumlantiq: xway: dwc2 - USB not working (ARV752DPW22 - Eas...TrunkUnconfirmed Task Description

Device problem occurs on: ARV752DPW22 (EasyBox803a) tested.

Software versions of OpenWrt/LEDE release: since kernel 4.19 (OpenWrt trunk)

kernel 4.14 USB reset every time working

Steps to reproduce:

openWrt_trunk first boot	> hang!
30sec power supply disconnect	> no_hang
soft reboot			> no_hang
short power supply disconnect	> hang!
15sec power supply disconnect	> hang!
30sec power supply disconnect	> hang!
30sec power plug disconnect	> hang!
soft reboot			> hang!
60sec power plug disconnect	> hang!

?seems hardware related? (reproducible), 2 of 3 EasyBoxes have hang! bug / behave like

Bootlog:

dwc2 1e101000.usb: dwc2_core_reset: HANG! Soft Reset timeout GRSTCTL GRSTCTL_CSFTRST
dwc2: probe of 1e101000.usb failed with error -16

full bootlog

tried fixes:

lantiq: 4.19: increase usb reset timeouts → set to: 1000000

08.03.20202889KernelBug ReportVery LowMediumTP-Link TL-WR841 snpshot ath79 kernel 5.4 error : ag71x...TrunkUnconfirmed Task Description

problem is : Failed to connect to the switch !
only happen with kernel 5.4, kernel 4.19 is fine

U-Boot 1.1.4 (Nov 16 2009 - 09:06:24)

AP93 (ar7240) U-boot
DRAM:
sri
#### TAP VALUE 1 = 8, 2 = 8
32 MB
id read 0x100000ff
flash size 4194304, sector count = 64
Flash:  4 MB
Using default environment

Hn:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7014
dth0: 00:03:7f:09:0b:ad
eth0 up
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... @K

Starting kernel ...



OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Looking for OpenWrt image... found at 0xbf022000
Decompressing kernel... done!
Ptarting kernel at 80060000...

Linux version 5.4.22 (huhu@bikom) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r11816-d5ede68f8b)) #0 Thu Mar 5 11:53:50 2020
printk: bootconsole [early0] enabled
CPU0 revision is: 00019374 (MIPS 24Kc)
LIPS: machine is TP-Link TL-WR841N/ND v5/v6
SoC: Atheros AR7240 rev 2
Initrd not found or empty - disabling initrd
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Zone ranges:
  Normal   [mem 0x0000000000000000-0x0000000001ffffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000000000000-0x0000000001ffffff]
Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
Built 1 zonelists, mobility grouping on.  Total pages: 8128
Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
Writing ErrCtl register=00000000
Readback ErrCtl regist"er=00000000
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 27372K/32768K available (3175K kernel code, 134K rwdata, 372K rodata, 1176K init, 182K bss, 5396K reserved, 0K cma-reserved)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS: 51
random: get_random_bytes called from 0x803fa9ac with crng_init=0
CPU clock: 400.000 MHz
clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: -1, 3072 bytes, linear)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
PCI host bridge /ahb/apb/pcie-controller@180c0000 ranges:
 MEM 0x0000000010000000..0x0000000013ffffff
  IO 0x0000000000000000..0x0000000000000000
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
pci_bus 0000:00: root bus resource [io  0x0000]
pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:00.0: [168c:002a] type 00 class 0x028000
pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
pci 0000:00:00.0: supports D1
pci 0000:00:00.0: PME# supported from D0 D1 D3hot
pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
clocksource: Switched to clocksource MIPS
NET: Registered protocol family 2
tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 32
workingset: timestamp_bits=30 max_order=13 bucket_order=0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
pinctrl-single 18040028.pinmux: 64 pins, size 8
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
printk: console [ttyS0] disabled
18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 12500000) is a 16550A
printk: console [ttyS0] enabled
printk: console [ttyS0] enabled
printk: bootconsole [early0] disabled
printk: bootconsole [early0] disabled
spi-nor spi0.0: s25sl032p (4096 Kbytes)
3 fixed-partitions partitions found on MTD device spi0.0
Creating 3 MTD partitions on "spi0.0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x0000003f0000 : "firmware"
2 tplink-fw partitions found on MTD device firmware
Creating 2 MTD partitions on "firmware":
0x000000000000-0x000000136bf2 : "kernel"
0x000000136bf4-0x0000003d0000 : "rootfs"
mtd: device 3 (rootfs) set to be root filesystem
0 squashfs-split partitions found on MTD device rootfs
0x000000370000-0x0000003d0000 : "rootfs_data"
0x0000003f0000-0x000000400000 : "art"
libphy: Fixed MDIO Bus: probed
ag71xx: probe of 19000000.eth failed with error -2
ag71xx: probe of 1a000000.eth failed with error -2
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
Freeing unused kernel memory: 1176K
This architecture does not have kernel memory protection.
Run /sbin/init as init process
random: fast init done
init: Console is alive
init: - watchdog -
hmodloader: loading kernel modules from /etc/modules-boot.d/*
kmodloader: done loading kernel modules from /etc/modules-boot.d/*
init: - preinit -
random: jshn: uninitialized urandom read (4 bytes read)
random: jshn: uninitialized urandom read (4 bytes read)
random: jshn: uninitialized urandom read (4 bytes read)
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
trandom_read: 2 callbacks suppressed
random: procd: uninitialized urandom read (4 bytes read)
jffs2: notice: (362) jffs2_build_xattr_subsystem: complete building xattr subsystem, 15 of xdatum (0 unchecked, 8 orphan) and 17 of xref (8 dead, 0 orphan) found.
mount_root: switching to jffs2 overlay
`verlayfs: upper fs does not support tmpfile.
urandom-seed: Seeding with /etc/urandom.seed
procd: - early -
procd: - watchdog -
procd: - watchdog -
procd: - ubus -
random: ubusd: uninitialized urandom read (4 bytes read)
random: ubusd: uninitialized urandom read (4 bytes read)
random: ubusd: uninitialized urandom read (4 bytes read)
procd: - init -
Please press Enter to activate this console.
kmodloader: loading kernel modules from /etc/modules.d/*
tun: Universal TUN/TAP device driver, 1.6
Loading modules backported from Linux version v5.4-rc8-0-gaf42d3466bdc
Backport generated by backports.git v5.4-rc8-1-0-g368e8c51
xt_time: kernel timezone is -0000
ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=14
kmodloader: done loading kernel modules from /etc/modules.d/*
urngd: v1.0.2 started.
random: crng init done
random: 1 urandom warning(s) missed due to ratelimiting


24.03.20202925KernelBug ReportVery LowMediumsdc_busy timeout: before CMD<55> <- msdc_command_start(...openwrt-19.07Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on:
Architecture: MediaTek MT7621 ver:1 eco:3
Model: MTC Wireless Router WR1201
Router brand: Strong 1200
- Software versions of OpenWrt/LEDE release, packages, etc.:
OpenWrt 19.07.0 r10860-a3ffeb413b / LuCI openwrt-19.07 branch git-20.006.26738-35aa527
Packages installed:
kmod-mmc 4.14.162-1
kmod-sdhci-mt7620 4.14.162-1
kmod-mt76-core 4.14.162+2020-01-04-8a785679-1
kmod-usb-core 4.14.162-1
kmod-usb3 4.14.162-1
Kernel 4.14.162
- Steps to reproduce

Problem is that microSD card is not recognized. After inserting the microsd card this is shown in logs. I try three vendors. example brand new SanDisk microSDHC 32 GB Ultra Class 10 UHS-I
[ 1763.831968] msdc0 → XXX sdc_busy timeout: before CMD<55> ← msdc_command_start() : L<860> PID<kworker/0:1><0×39>
[ 1763.852517] mmc0: error -145 whilst initialising SD card
[ 1764.131968] msdc0 → XXX sdc_busy timeout: before CMD<55> ← msdc_command_start() : L<860> PID<kworker/0:1><0×39>
[ 1764.152467] mmc0: error -145 whilst initialising SD card
[ 1764.431965] msdc0 → XXX sdc_busy timeout: before CMD<55> ← msdc_command_start() : L<860> PID<kworker/0:1><0×39>
[ 1764.452549] mmc0: error -145 whilst initialising SD card

 


29.03.20202943KernelBug ReportVery LowMediumKernel panic with dev_net(skb->dev)==NULL in nf_xfrm_me...AllUnconfirmed Task Description

Hi, I have some questions regarding debugging of random reboot problem caused by kernel panic.

I’m getting random reboot when running a software inserting prerouting iptables rules in order to redirect traffic. My device is a x86_64 router. My openwrt release is compiled by myself from a forked openwrt source at https://github.com/coolsnowwolf/lede . Its kernel version is 4.19.108.

The software causing this problem is called OpenClash. It acts as a transparent proxy. It inserts prerouting rules to redirect all tcp traffic from computers in LAN to its own listening port and sends the traffic through a proxy.

Whenever this software is started, I get random reboots at 1-2 times/day. There was not any abnormal in saved log files because the crash happend in kernel and it caused reboot quickly. So I had to compile the NetConsole kernel module to capture the dmesg when crash happened. You can see the crash logs in crash_dmesg.txt.

The crash happens in the `nf_xfrm_me_harder` function. Decompiling the crash code, I get crash_code.png (The highlighted line is the crash instruction). The crash log mentions illegal memory access at 000000000000113c and the crash code shows that the kernel was accessing [rax+0x113c], so I think the problem is rax==0, which should not be happening.

The source code causing crash actually locates in a patch, which is also included in trunk OpenWrt: https://github.com/openwrt/openwrt/blob/master/target/linux/generic/pending-4.19/616-net_optimize_xfrm_calls.patch

After patched, function `nf_xfrm_me_harder` looks like

int nf_xfrm_me_harder(struct net *net, struct sk_buff *skb, unsigned int family)
{
        struct flowi fl;
        unsigned int hh_len;
        struct dst_entry *dst;
        struct sock *sk = skb->sk;
        int err;

        if (skb->dev && !dev_net(skb->dev)->xfrm.policy_count[XFRM_POLICY_OUT]) // <-------crash
                return 0;

        err = xfrm_decode_session(skb, &fl, family);
        if (err < 0)
                return err;

This means

dev_net(skb->dev)

sometimes equals to `NULL` .

I’m not familiar with the network mechanism in linux kernel, so I’m not sure how I can find the reason of it being NULL. Is this problem something we can safely ignore by checking its validity like this?

if (skb->dev && dev_net(skb->dev) && !dev_net(skb->dev)->xfrm.policy_count[XFRM_POLICY_OUT])

If not, can anyone give me some advice on how I can debug this problem? I understand this may be difficult for you developers to figure out what’s happening by merely reading my description, especially when I’m not using the trunk OpenWrt. So I would love to dig it by myself.

You can see other information of my router in dmesg.txt.

Thanks a lot.

01.04.20202956KernelBug ReportVery LowMediumtcp_bbr: suffering poor performance with samba4-serveropenwrt-19.07Unconfirmed Task Description

Environment: Newifi-D2(arch mipsel_24kc), OpenWrt 19.07.1/19.07.2/master branch with kernel 1.14.170+, samba-4.11, a usb-disk with ext4 file system.
(samba4 uses default settings)

I run samba-4.11 server in my router with usb-harddisk of 3T volumes. If the router enables tcp_bbr kernel module with default config file, then lan PCs copying files from the router is very slowly with speed of 4-10MB. The speed of writing files to router’s share is also a little slower.
Without tcp_bbr the speed is up to 40-60MB when copying files from the router.

I found the problem is caused by lack value of “net.core.default_qdisc=fq” in default bbr config file (/etc/sysctl.d/12-tcp-bbr.conf)
The default bbr config file is :
```
# Do not edit, changes to this file will be lost on upgrades
# /etc/sysctl.conf can be used to customize sysctl settings

net.ipv4.tcp_congestion_control=bbr
net.core.default_qdisc=fq #add this line then problem disappear.
```


06.04.20202972KernelBug ReportVery LowMediumPhcomm K3: intermittent network interruptionTrunkUnconfirmed Task Description

Phcomm K3 belongs to bcm53xx and USES the master branch to compile. Serious intermittent network interruption occurs, which is caused by mac80211!
Step by step troubleshooting found that the use of 19.07 branch of mac80211 source package compiled k3 firmware brush into the machine, everything is normal!


10.04.20202992KernelBug ReportVery LowMediumUSB problem on bcm6318 AllUnconfirmed Task Description

Hi
I’m using openwrt on bcm63xx bcm6318 sagemcom F@ST 2704N V1.
the router is actually V1.1 (16MB flash , 64MB RAM).
trying to connect a usb wifi dongle as AP

root@Openwrt:~# lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

wlan1     Link encap:Ethernet  HWaddr 7C:DD:90:48:2A:D2  
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::7edd:90ff:fe48:2ad2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:955 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:184246 (179.9 KiB)

the problem is that there’s no connectivity at all , I can connect to the AP (only without encryption ) and the ssid doesn’t always show on my mobile phone.
the usb port is working fine , I tried mounting a usb flash drive with no problem.
also the adapter is working , I tried it on Orange pi , Raspberrypi , bcm6328 , all with openwrt installed on them and didn’t have any problem .
I guess it is something related to bcm6318 or its architecture code .
the onboard broadcom pci wifi is working .
I suspected that its a power problem so I added an external usb power , but with same issues.
also I tried openwrt 19 ,18 ,17 with same problem.
I’m also using two bcm6328 routers as point to point wifi 5ghz link with Ralink RT5572 chipset ( rt2800usb driver ) withouyt any problem.
dmesg is filled with :

[ 1269.191198] rt2800usb_tx_sta_fifo_read_completed: 13054 callbacks suppressed
[ 1269.191239] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -32
[ 1269.208421] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -32
[ 1269.218373] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -32
[ 1269.228285] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -32
[ 1269.238151] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -32
[ 1269.248029] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -32
[ 1269.257902] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -32
[ 1269.267793] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -32
[ 1269.278183] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -32
[ 1269.287995] ieee80211 phy1: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -32

using rmmod to remove rt2800usb module results in kernel crash /sometimes hang and sometimes panic and reboot.

steps to reproduce:
-boot the router with usb wifi dongle
-configure it as access point and enable it
- dmesg log starts to fill and adapter is not working

15.04.20203013KernelBug ReportVery LowMediumKernel Bugopenwrt-19.07Unconfirmed Task Description

Device: Mikrotik RB750Gr3
Software: OpenWrt 19.07.2 (with no default package updates yet)
Installed Packages: installed_packages.txt (attached)
How to reproduce: Unknown
Consequence: None. The device continues to operate normally.

I have removed personal information and some garbage from the log files.

Compass.

27.04.20203054KernelBug ReportVery LowMediumTL-WR841ND v5 (AR7240 rev 2) eth0: tx timeoutTrunkUnconfirmed Task Description

Device: TL-WR841ND v5 (SoC AR7240 rev 2)
Firmware: OpenWrt 18.06-SNAPSHOT r8004-1f0679f54d / LuCI openwrt-18.06 branch (git-20.115.52343-1e59ed1)

I use this router as wireless client (it’s only client, it’s not repeater). There are 2 clients connected on the 841ND v5 lan switch (the clients are plugged before the router is powerup), nothing connected on the wan port. High sustained traffic (main router ↔ 841ND v5 as wireless client ↔ 1 client connected to the 841ND v5 lan switch) is triggering the following on the 841ND v5:

Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.693553] ------------[ cut here ]------------
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.698221] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:316 0x802a9738
Sun Apr 26 11:48:59 2020 kern.info kernel: [25447.705315] NETDEV WATCHDOG: eth0 (ag71xx): transmit queue 0 timed out
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.711854] Modules linked in: ath9k ath9k_common ath9k_hw ath 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 nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables gpio_button_hotplug
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.764877] CPU: 0 PID: 0 Comm: swapper Not tainted 4.9.219 #0
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.770718] Stack : 80447522 00000032 00000000 00000001 00000000 00000000 00000000 00000000
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.779167]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.787617]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.796095]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.804546]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.812979]         ...
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.815465] Call Trace:
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.817785] [<8006ab8c>] 0x8006ab8c
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.821283] [<8006ab8c>] 0x8006ab8c
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.824808] [<8007f9a4>] 0x8007f9a4
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.828310] [<802a9738>] 0x802a9738
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.831824] [<8007f9dc>] 0x8007f9dc
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.835360] [<802a9738>] 0x802a9738
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.838862] [<80092d00>] 0x80092d00
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.842368] [<802a95c4>] 0x802a95c4
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.845880] [<800b36fc>] 0x800b36fc
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.849387] [<8006d690>] 0x8006d690
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.852894] [<800b3944>] 0x800b3944
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.856407] [<800aa878>] 0x800aa878
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.859918] [<800823cc>] 0x800823cc
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.863417] [<800ae4bc>] 0x800ae4bc
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.866934] [<800a9fbc>] 0x800a9fbc
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.870439] [<801e3eb8>] 0x801e3eb8
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.873947] [<800660b8>] 0x800660b8
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.877438]
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.878936] ---[ end trace 3c20d976bd0e1077 ]---
Sun Apr 26 11:48:59 2020 kern.info kernel: [25447.883580] eth0: tx timeout

after this the router lan switch is unusable. After the crash there is no useful traffic going on the lan switch. In some cases after some minutes (10+ minutes) it recovers but usualy the switch just remain stuck, unpluging and repluging the eth cable in the lan switch or reseting/powering off has no effect (the switch remain unusable; client is unable to get an ip from dhcp and manual setting one in the right class changes nothing, you can’t ping the 841ND v5 or the main router, clearly the 841ND v5 switch is stuck) The 841ND V5 can be accessed from wireless, internet addresses can be pinged from the router (the ideea is that only the eth switch is affected). Only way to fix it is to issue

ifup lan

from wireless. But it’s just matter of time until the switch will crash again. After second crash only

eth0: tx timeout

is visible in dmesg/sys log.
For example a speedtest on https://ipv6-test.com/speedtest/ can trigger it. Downloading torrents at high speed can trigger it. It’s not an 100% success rate to trigger it but it will happen sooner or later. In 12 hours I can trigger it at least 3 times by just doing my normal stuff on the internet.

Further investigation pointed to this bug report: https://bugs.openwrt.org/index.php?do=details&task_id=106 After that we had the following commit: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=83997146e76d4097e30facf6ad89e5fa3bd7c65b that disabled flow control for AR934x (not for ar7240).
Flow control was enabled for multiple SoCs in the following commit: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=26b8db253745b0591bfffa21f02323428f11a88f Taking into consideration the age of the commit that enabled flow control all OpenWRT 18.6.x are affected.
I decided to remove:

pdata->use_flow_control = 1;

from the following section of the file /openwrt/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c

	case ATH79_SOC_AR7240:
		if (id == 0) {
			pdata->reset_bit |= AR71XX_RESET_GE0_PHY;
			pdata->set_speed = ath79_set_speed_dummy;

			pdata->phy_mask = BIT(4);
		} else {
			pdata->reset_bit |= AR71XX_RESET_GE1_PHY;
			pdata->set_speed = ath79_set_speed_dummy;

			pdata->speed = SPEED_1000;
			pdata->duplex = DUPLEX_FULL;
			pdata->switch_data = &ath79_switch_data;
			pdata->use_flow_control = 1;

			ath79_switch_data.phy_poll_mask |= BIT(4);
		}
		pdata->has_gbit = 1;
		pdata->is_ar724x = 1;
		if (ath79_soc == ATH79_SOC_AR7240)
			pdata->is_ar7240 = 1;
		break;

and compile OpenWRT 18.06 for my TL-WR841ND v5 and flash it. Atm with the firmware with pdata→use_flow_control = 1; removed from the above section I have 23 hours uptime and the eth0: tx timeout issue looks to be gone, I’m no longer capable to trigger it no matter what I try.

By looking at the source code in OpenWRT 19.07 ar71xx flow control is enable there too so OpenWRT 19.07 ar71xx is probably affected also. I don’t know where to look for ath79.

09.05.20203080KernelBug ReportVery LowMediumramips/mt7621 Netgear R6220 WIFI 5 GHz issueopenwrt-19.07Unconfirmed Task Description

I am using a Netgear R6220 router. My router has one “bad erase block”

[    2.859177] Scanning device for bad blocks
[    2.952205] Bad eraseblock 361 at 0x000002d20000
[    3.116833] 6 fixed-partitions partitions found on MTD device MT7621-NAND

Every test is done with default settings. For me it is easier to debug this issue with openwrt in station mode, but it applies to AccessPoint/Master as well.

  • 2.4 GHz WIFI operation as expected
  • 5 GHz WIFI only affected
  • low throughput only in openwrt TX direction / openwrt RX direction OK
  • things got much worse with openwrt 19.07.02 → openwrt 18.06.08 was better
    This is why I suspect that it is related to FS#1926 - MTD partition offset not correctly mapped when bad eraseblocks present.
    This fix has been integrated in 19.07. I don’t want to revert this change, as this is the first version openwrt sets the correct MAC address.

Comarison of OpenWrt 18.06.08 and 19.07.02

  • OpenWrt 18.06.08: TX Power is set to 3dBm
  • OpenWrt 19.07.02: TX Power is set to 20dBm (default?)
  • In both cases/logs The “HT Mode is VHT80”
  • Changing the TX Power in 19.07.02 has no effect
    Resource is busy

My guess/conclusion is that

  • the calibration data is not taken into account (maybe it was never and openwrt 18.06 was just lucky)
  • The offset to read the calibration data has changed with openwrt 19.07.02. This is why things got worse (for me)

Attached is the mtd4.bin (factory). I don’t know if this helps for this issue.

OpenWrt 18.06.08

WIFI 5 GHz operation “normal”. Means I can use any channel in 5 GHz and get good performance/throughput.
Channel 36
TX ~80Mbit/s
RX ~95Mbit/s
Channel 124
TX ~80Mbit/s
RX ~95Mbit/s

iw --debug phy phy1 info
phy phy1
        max # scan SSIDs: 4
        max scan IEs length: 2247 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Available Antennas: TX 0x3 RX 0x3
        Configured Antennas: TX 0x3 RX 0x3
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
                 * mesh point
        Band 2:
                Capabilities: 0x1ff
                        RX LDPC
                        HT20/HT40
                        SM Power Save disabled
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 4 usec (0x05)
                HT TX/RX MCS rate indexes supported: 0-15
                VHT Capabilities (0x018001b0):
                        Max MPDU length: 3895
                        Supported Channel Width: neither 160 nor 80+80
                        RX LDPC
                        short GI (80 MHz)
                        TX STBC
                VHT RX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: not supported
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT RX highest supported: 0 Mbps
                VHT TX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: not supported
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT TX highest supported: 0 Mbps
                Frequencies:
                        * 5180 MHz [36] (3.0 dBm)
                        * 5200 MHz [40] (3.0 dBm)
                        * 5220 MHz [44] (3.0 dBm)
                        * 5240 MHz [48] (3.0 dBm)
                        * 5260 MHz [52] (3.0 dBm) (no IR, radar detection)
                        * 5280 MHz [56] (3.0 dBm) (no IR, radar detection)
                        * 5300 MHz [60] (3.0 dBm) (no IR, radar detection)
                        * 5320 MHz [64] (3.0 dBm) (no IR, radar detection)
                        * 5500 MHz [100] (3.0 dBm) (no IR, radar detection)
                        * 5520 MHz [104] (3.0 dBm) (no IR, radar detection)
                        * 5540 MHz [108] (3.0 dBm) (no IR, radar detection)
                        * 5560 MHz [112] (3.0 dBm) (no IR, radar detection)
                        * 5580 MHz [116] (3.0 dBm) (no IR, radar detection)
                        * 5600 MHz [120] (3.0 dBm) (no IR, radar detection)
                        * 5620 MHz [124] (3.0 dBm) (no IR, radar detection)
                        * 5640 MHz [128] (3.0 dBm) (no IR, radar detection)
                        * 5660 MHz [132] (3.0 dBm) (no IR, radar detection)
                        * 5680 MHz [136] (3.0 dBm) (no IR, radar detection)
                        * 5700 MHz [140] (3.0 dBm) (no IR, radar detection)
                        * 5745 MHz [149] (3.0 dBm) (no IR)
                        * 5765 MHz [153] (3.0 dBm) (no IR)
                        * 5785 MHz [157] (3.0 dBm) (no IR)
                        * 5805 MHz [161] (3.0 dBm) (no IR)
                        * 5825 MHz [165] (3.0 dBm) (no IR)
        valid interface combinations:
                 * #{ IBSS } <= 1, #{ managed, AP, mesh point } <= 8,
                   total <= 8, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz }

        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
        Device supports VHT-IBSS.
root@OpenWrt:~# iw --debug wlan1 info
Interface wlan1
        ifindex 8
        wdev 0x100000002
        addr xx:xx:xx:xx:xx:xx
        ssid Africa_5GHz
        type managed
        wiphy 1
        channel 124 (5620 MHz), width: 80 MHz, center1: 5610 MHz
        txpower 3.00 dBm
wifi status
"radio1": {
                "up": true,
                "pending": false,
                "autostart": true,
                "disabled": false,
                "retry_setup_failed": false,
                "config": {
                        "hwmode": "11a",
                        "path": "pci0000:00\/0000:00:00.0\/0000:01:00.0",
                        **"htmode": "VHT80",**
                        "channel": "124",
                        "country": "00",
                        "legacy_rates": true,
                        "disabled": false

OpenWrt 19.07.02

Channel 36
TX ~1.25 Mbit/s
RX ~95 Mbit/s
Channel 124
TX ~1.25 Mbit/s
RX ~95 Mbit/s

root@OpenWrt:~# iw --debug phy1 info
Wiphy phy1
        max # scan SSIDs: 4
        max scan IEs length: 2247 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Available Antennas: TX 0x3 RX 0x3
        Configured Antennas: TX 0x3 RX 0x3
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
                 * mesh point
        Band 2:
                Capabilities: 0x1ff
                        RX LDPC
                        HT20/HT40
                        SM Power Save disabled
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 4 usec (0x05)
                HT TX/RX MCS rate indexes supported: 0-15
                VHT Capabilities (0x318001b0):
                        Max MPDU length: 3895
                        Supported Channel Width: neither 160 nor 80+80
                        RX LDPC
                        short GI (80 MHz)
                        TX STBC
                        RX antenna pattern consistency
                        TX antenna pattern consistency
                VHT RX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: not supported
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT RX highest supported: 0 Mbps
                VHT TX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: not supported
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT TX highest supported: 0 Mbps
                Frequencies:
                        * 5180 MHz [36] (20.0 dBm)
                        * 5200 MHz [40] (20.0 dBm)
                        * 5220 MHz [44] (20.0 dBm)
                        * 5240 MHz [48] (20.0 dBm)
                        * 5260 MHz [52] (20.0 dBm) (no IR, radar detection)
                        * 5280 MHz [56] (20.0 dBm) (no IR, radar detection)
                        * 5300 MHz [60] (20.0 dBm) (no IR, radar detection)
                        * 5320 MHz [64] (20.0 dBm) (no IR, radar detection)
                        * 5500 MHz [100] (20.0 dBm) (no IR, radar detection)
                        * 5520 MHz [104] (20.0 dBm) (no IR, radar detection)
                        * 5540 MHz [108] (20.0 dBm) (no IR, radar detection)
                        * 5560 MHz [112] (20.0 dBm) (no IR, radar detection)
                        * 5580 MHz [116] (20.0 dBm) (no IR, radar detection)
                        * 5600 MHz [120] (20.0 dBm) (no IR, radar detection)
                        * 5620 MHz [124] (20.0 dBm) (no IR, radar detection)
                        * 5640 MHz [128] (20.0 dBm) (no IR, radar detection)
                        * 5660 MHz [132] (20.0 dBm) (no IR, radar detection)
                        * 5680 MHz [136] (20.0 dBm) (no IR, radar detection)
                        * 5700 MHz [140] (20.0 dBm) (no IR, radar detection)
                        * 5745 MHz [149] (20.0 dBm) (no IR)
                        * 5765 MHz [153] (20.0 dBm) (no IR)
                        * 5785 MHz [157] (20.0 dBm) (no IR)
                        * 5805 MHz [161] (20.0 dBm) (no IR)
                        * 5825 MHz [165] (20.0 dBm) (no IR)
        valid interface combinations:
                 * #{ IBSS } <= 1, #{ managed, AP, mesh point } <= 8,
                   total <= 8, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz }

        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
        Supported extended features:
                * [ VHT_IBSS ]: VHT-IBSS
                * [ RRM ]: RRM
                * [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
                * [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
                * [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
root@OpenWrt:~# iw --debug wlan1 info
Interface wlan1
        ifindex 9
        wdev 0x100000003
        addr xx:xx:xx:xx:xx:xx
        ssid Africa_5GHz
        type managed
        wiphy 1
        channel 124 (5620 MHz), width: 80 MHz, center1: 5610 MHz
        txpower 20.00 dBm
        multicast TXQ:
                qsz-byt qsz-pkt flows   drops   marks   overlmt hashcol tx-bytestx-packets
                0       0       0       0       0       0       0       0      0
wifi status
"radio1": {
                "up": false,
                "pending": false,
                "autostart": false,
                "disabled": false,
                "retry_setup_failed": false,
                "config": {
                        "hwmode": "11a",
                        "path": "pci0000:00/0000:00:00.0/0000:01:00.0",
                        "htmode": "VHT80",
                        "channel": "124",
                        "country": "00",
                        "legacy_rates": false
14.05.20203097KernelBug ReportVery LowMediumBUG when try to delete directoryTrunkUnconfirmed Task Description

Device: gl-ar300m-nand
OPENWRT_RELEASE: OpenWrt SNAPSHOT r13235-eb17ee294c
Kernel: 4.19.123-1-79d26c42c84b39dafc40e3236152b99d

It seems a bug on overlayfs with ubifs. It works as expected with overlayfs and jffs2. I search the source and found jffs2-rename.patch. Maybe a patch with ubifs should be added.

Steps to reproduce:

 root@OpenWrt:~# mount
/dev/root on /rom type squashfs (ro,relatime)
......
/dev/ubi0_1 on /overlay type ubifs (rw,noatime,assert=read-only,ubi=0,vol=1)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
......
root@OpenWrt:~# rmdir /mnt # both /mnt and /rom/mnt are empty
root@OpenWrt:~# mkdir /mnt
mkdir: cannot create directory ‘mnt’: I/O error
root@OpenWrt:~# rmdir /etc/uci-defaults # /etc/uci-defaults is empty, while /rom/etc/uci-defaults isn't.
rmdir: failed to remove '/etc/uci-defaults': I/O error
21.05.20203113KernelBug ReportVery LowMediumFailed to receive offered IP address for devices at ran...openwrt-19.07Unconfirmed Task Description

Hardware: TP-LINK Archer C9 V1
Version: OpenWrt 19.07.2 r10947-65030d81f3

The Archer C9 is the only device doing any NAT on the network and is the only DHCP service on the network. To get around the fact that BCM4360 has no drivers I installed a WiFi Dongle. The Archer C9 is the gateway to the internet.

Sometimes any device at random when connecting to the gateway will be unable to acquire an IP Address despite the fact that the system log clearly shows it offered an IP address to a device with the same mac address. There’s a definite working physical link between the device and gateway. Connecting to alternative ‘dumb APs’ on the same network as the gateway results in the same problem; Unable to acquire an IP address. Asking the device’s DHCP client to renew the address does not help.

I have always experienced this problem with this router when using any non stock firmware (I.E all builds of DD-WRT that I tried seemed to exhibit the same behavior) otherwise I would have said it was a problem specific to only this hardware. If left long enough (Several hours) eventually the device will receive it’s an IP address again. Stock firmware did not once exhibit this behavior in the 2 years+ I had it running.

Eventually I set the device’s IP address manually to the exact IP Address being offered by the DHCP server. The device was still unable to ping the gateway.
I then tried to set the device’s IP address to a random IP address (within the range of IP addresses the DHCP server could potentially serve) The device was still unable to ping the gateway. Finally I set the device IP address outside of the range being offered by the DHCP server and then it was able to communicate with the gateway.

I have attached the system log of when a device failed to acquire an IP address. I have replaced all mac addresses and IP addresses with randomly generated mac addresses and IP addresses. ‘1b:ac:8b:93:55:ba’ is the device struggling to acquire the IP address. It is a MacBook Pro. If memory serves correctly devices requesting an IP address in the same time period will also fail to acquire a IP address from the DHCP server, further testing is required for me to prove that though. Other services including NAT translation for pre-allocated devices appears to behave as expected. The gateway will function as expected in every other way. The log will show me successfully logging via my Android device during the time it was happening.

22.05.20203115KernelBug ReportVery LowMediumPerformance/ping/network latency regression in OpenWrt ...openwrt-19.07Unconfirmed Task Description

Today I’ve upgraded from OpenWrt 19.07.1 to 19.07.3 and noticed that latency for my WDR3600 router has increased more than threefold.

In OpenWrt 19.07.1 ping from my PC to the router (connected via a 1Gb wired connection, less than a meter) took approximately 0.250ms

In OpenWrt 19.07.3 ping is now 0.860ms on average.

I haven’t changed any settings after upgrading to OpenWrt 19.07.3.

This is quite a serious performance regression.

When I was carrying out the tests I had zero load and zero Internet traffic, so the router CPU was completely idle.

# uptime 
 15:22:59 up  4:36,  load average: 0.00, 0.00, 0.00
24.05.20203122KernelBug ReportVery LowMediumKernel panic - Unable to mount root fs on R7800openwrt-19.07Unconfirmed Task Description

Device problem occurs after installing openwrt 19.07.2 / configuring : 3 vlans, 3 wifi networks, firewall rules, Changing DNS (diff for each vlan), installing luci tranlations

After that, it works several hours but Luci doesn’t answer anymore. At reboot, kernel panic, after resetting device reinstalling config via backup, the same... see Serial log below. thanks.

U-Boot 2012.07 [local,local] (Sep 03 2015 - 17:33:28)

U-boot 2012.07 dni1 V0.4 for DNI HW ID: 29764958 NOR flash 0MB; NAND flash 128MB; RAM 512MB; 1st Radio 4x4; 2nd Radio 4x4; Cascade
smem ram ptable found: ver: 0 len: 5
DRAM:  491 MiB
NAND:  SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
128 MiB
MMC:   
*** Warning - bad CRC, using default environment

PCI0 Link Intialized
PCI1 Link Intialized
In:    serial
Out:   serial
Err:   serial
 131072 bytes read: OK
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net:   MAC1 addr:cc:40:d0:56:e:7e
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init  done
MAC2 addr:cc:40:d0:56:e:7d
eth0, eth1
Hit any key to stop autoboot:  0 
Mac2 unit failed
Mac1 unit failed

 nmrp server is stopped or failed !

Loading from device 0: nand0 (offset 0x1480000)

** check kernel image **
   Verifying Checksum ... OK

** check rootfs image **
   Verifying Checksum ... OK
MMC Device 0 not found

Loading from nand0, offset 0x1480000
   Image Name:   ARM OpenWrt Linux-4.14.171
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2200315 Bytes = 2.1 MiB
   Load Address: 42208000
   Entry Point:  42208000
Automatic boot of image at addr 0x44000000 ...
   Image Name:   ARM OpenWrt Linux-4.14.171
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2200315 Bytes = 2.1 MiB
   Load Address: 42208000
   Entry Point:  42208000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
mtdparts variable not set, see 'help mtdparts'
no partitions defined

defaults:
mtdids  : nand0=msm_nand
mtdparts: none
info: "mtdparts" not set
Using machid 0x136c from environment

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.171 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r10947-65030d81f3)) #0 SMP Thu Feb 27 21:05:12 2020
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Netgear Nighthawk X4S R7800
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] random: get_random_bytes called from 0xc09008dc with crng_init=0
[    0.000000] percpu: Embedded 15 pages/cpu s29388 r8192 d23860 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 121920
[    0.000000] Kernel command line: 
[    0.000000] Bootloader command line (ignored): console=ttyHSL1,115200n8
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 477376K/491520K available (4975K kernel code, 160K rwdata, 756K rodata, 1024K init, 235K bss, 14144K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xde800000 - 0xff800000   ( 528 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xde000000   ( 480 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0208000 - 0xc07dbe98   (5968 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a28180   ( 161 kB)
[    0.000000]        .bss : 0xc0a2a000 - 0xc0a64e18   ( 236 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000008] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000022] Switching to timer-based delay loop, resolution 160ns
[    0.000228] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000254] pid_max: default: 32768 minimum: 301
[    0.000379] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000397] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000971] CPU: Testing write buffer coherency: ok
[    0.001727] Setting up static identity map for 0x42300000 - 0x42300060
[    0.001884] Hierarchical SRCU implementation.
[    0.002625] smp: Bringing up secondary CPUs ...
[    0.004460] smp: Brought up 1 node, 2 CPUs
[    0.004476] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.004485] CPU: All CPU(s) started in SVC mode.
[    0.014749] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.014919] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.014944] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.015058] pinctrl core: initialized pinctrl subsystem
[    0.016053] NET: Registered protocol family 16
[    0.016311] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.017655] cpuidle: using governor ladder
[    0.017720] cpuidle: using governor menu
[    0.040311] msm_bus_fabric_init_driver
[    0.041824] usbcore: registered new interface driver usbfs
[    0.041902] usbcore: registered new interface driver hub
[    0.041991] usbcore: registered new device driver usb
[    0.042048] pps_core: LinuxPPS API ver. 1 registered
[    0.042060] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.042094] PTP clock support registered
[    0.043798] clocksource: Switched to clocksource dg_timer
[    0.047040] NET: Registered protocol family 2
[    0.047634] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.047676] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.047731] TCP: Hash tables configured (established 4096 bind 4096)
[    0.047824] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.047852] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.048029] NET: Registered protocol family 1
[    0.049217] No memory allocated for crashlog
[    0.049492] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.054651] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.054671] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.061244] io scheduler noop registered
[    0.061261] io scheduler deadline registered (default)
[    0.062935] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda not found, using dummy regulator
[    0.063044] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_phy not found, using dummy regulator
[    0.063135] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_refclk not found, using dummy regulator
[    0.063921] OF: PCI: host bridge /soc/pci@1b500000 ranges:
[    0.063968] OF: PCI:    IO 0x0fe00000..0x0fefffff -> 0x0fe00000
[    0.063995] OF: PCI:   MEM 0x08000000..0x0fdfffff -> 0x08000000
[    0.164480] qcom-pcie 1b500000.pci: link up
[    0.164657] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.164682] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.164704] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfe00000-0xfefffff])
[    0.164719] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.165242] PCI: bus0: Fast back to back transfers disabled
[    0.167476] PCI: bus1: Fast back to back transfers disabled
[    0.167580] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.167605] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.167733] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.167758] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.168292] pcieport 0000:00:00.0: AER enabled with IRQ 35
[    0.168814] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda not found, using dummy regulator
[    0.168913] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_phy not found, using dummy regulator
[    0.169018] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_refclk not found, using dummy regulator
[    0.169773] OF: PCI: host bridge /soc/pci@1b700000 ranges:
[    0.169809] OF: PCI:    IO 0x31e00000..0x31efffff -> 0x31e00000
[    0.169832] OF: PCI:   MEM 0x2e000000..0x31dfffff -> 0x2e000000
[    0.279738] qcom-pcie 1b700000.pci: link up
[    0.279897] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.279918] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.279933] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.280399] PCI: bus0: Fast back to back transfers disabled
[    0.282745] PCI: bus1: Fast back to back transfers disabled
[    0.282832] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.282856] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.282989] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.283009] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.283496] pcieport 0001:00:00.0: AER enabled with IRQ 68
[    0.285956] L2 @ QSB rate. Forcing new rate.
[    0.286169] L2 @ 384000 KHz
[    0.286343] CPU0 @ 800000 KHz
[    0.286356] CPU1 @ QSB rate. Forcing new rate.
[    0.286483] CPU1 @ 384000 KHz
[    0.290325] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.292267] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.294968] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.295073] msm_serial 16340000.serial: uartclk = 7372800
[    0.295160] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 101, base_baud = 460800) is a MSM
[    0.295199] msm_serial: console setup on port #0
[    1.015021] console [ttyMSM0] enabled
[    1.019730] msm_serial: driver initialized
[    1.028412] loop: module loaded
[    1.030466] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xa1
[    1.030500] nand: Micron MT29F1G08ABBEAH4
[    1.037054] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.040974] 8 fixed-partitions partitions found on MTD device qcom_nand.0
[    1.048424] Creating 8 MTD partitions on "qcom_nand.0":
[    1.055270] 0x000000000000-0x000000c80000 : "qcadata"
[    1.065253] random: fast init done
[    1.083023] 0x000000c80000-0x000001180000 : "APPSBL"
[    1.092491] 0x000001180000-0x000001200000 : "APPSBLENV"
[    1.094218] 0x000001200000-0x000001340000 : "art"
[    1.099432] 0x000001340000-0x000001480000 : "artbak"
[    1.104377] 0x000001480000-0x000001880000 : "kernel"
[    1.114194] 0x000001880000-0x000007900000 : "ubi"
[    1.282928] 0x000007900000-0x000008000000 : "reserve"
[    1.297225] libphy: GPIO Bitbanged MDIO: probed
[    1.318740] switch0: Atheros AR8337 rev. 2 switch registered on gpio-0
[    2.186120] ar8327: qca,phy-rgmii-en is not specified
[    2.186506] libphy: Fixed MDIO Bus: probed
[    2.192324] ipq806x-gmac-dwmac 37200000.ethernet: PTP uses main clock
[    2.194527] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    2.200660] ipq806x-gmac-dwmac 37200000.ethernet: Ring mode enabled
[    2.205784] ipq806x-gmac-dwmac 37200000.ethernet: DMA HW capability register supported
[    2.211772] ipq806x-gmac-dwmac 37200000.ethernet: Enhanced/Alternate descriptors
[    2.219833] ipq806x-gmac-dwmac 37200000.ethernet: Enabled extended descriptors
[    2.227395] ipq806x-gmac-dwmac 37200000.ethernet: RX Checksum Offload Engine supported
[    2.234423] ipq806x-gmac-dwmac 37200000.ethernet: COE Type 2
[    2.242238] ipq806x-gmac-dwmac 37200000.ethernet: TX Checksum insertion supported
[    2.248135] ipq806x-gmac-dwmac 37200000.ethernet: Wake-Up On Lan supported
[    2.255513] ipq806x-gmac-dwmac 37200000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.263812] ipq806x-gmac-dwmac 37400000.ethernet: PTP uses main clock
[    2.271083] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    2.277221] ipq806x-gmac-dwmac 37400000.ethernet: Ring mode enabled
[    2.282167] ipq806x-gmac-dwmac 37400000.ethernet: DMA HW capability register supported
[    2.288311] ipq806x-gmac-dwmac 37400000.ethernet: Enhanced/Alternate descriptors
[    2.296308] ipq806x-gmac-dwmac 37400000.ethernet: Enabled extended descriptors
[    2.303784] ipq806x-gmac-dwmac 37400000.ethernet: RX Checksum Offload Engine supported
[    2.310897] ipq806x-gmac-dwmac 37400000.ethernet: COE Type 2
[    2.318768] ipq806x-gmac-dwmac 37400000.ethernet: TX Checksum insertion supported
[    2.324610] ipq806x-gmac-dwmac 37400000.ethernet: Wake-Up On Lan supported
[    2.331910] ipq806x-gmac-dwmac 37400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.339460] i2c /dev entries driver
[    2.348210] Calibration not found.
[    2.351669] Speed bin: 0
[    2.353948] PVS bin: 4
[    2.358048] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    2.358880] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    2.366693] sdhci: Secure Digital Host Controller Interface driver
[    2.373311] sdhci: Copyright(c) Pierre Ossman
[    2.379622] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.385414] NET: Registered protocol family 10
[    2.391108] Segment Routing with IPv6
[    2.394044] NET: Registered protocol family 17
[    2.397865] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.402664] 8021q: 802.1Q VLAN Support v1.8
[    2.415285] Registering SWP/SWPB emulation handler
[    2.431257] qcom_rpm 108000.rpm: RPM firmware 3.0.16777364
[    2.443350] s1a: supplied by regulator-dummy
[    2.443451] s1a: Bringing 0uV into 1050000-1050000uV
[    2.447028] s1b: supplied by regulator-dummy
[    2.451684] s1b: Bringing 0uV into 1050000-1050000uV
[    2.456229] s2a: supplied by regulator-dummy
[    2.460900] s2a: Bringing 0uV into 775000-775000uV
[    2.465384] s2b: supplied by regulator-dummy
[    2.469745] s2b: Bringing 0uV into 775000-775000uV
[    2.479070] UBI: auto-attach mtd6
[    2.479103] ubi0: attaching mtd6
[    2.528833] random: crng init done
[    3.188552] ubi0: scanning is finished
[    3.198077] ubi0: attached mtd6 (name "ubi", size 96 MiB)
[    3.198098] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.202445] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.209290] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.216138] ubi0: good PEBs: 772, bad PEBs: 0, corrupted PEBs: 0
[    3.222844] ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[    3.229157] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1530044714
[    3.236185] ubi0: available PEBs: 748, total reserved PEBs: 24, PEBs reserved for bad PEB handling: 20
[    3.245511] hctosys: unable to open rtc devic�[    3.260030] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    3.260051] Please append a correct "root=" boot option; here are the available partitions:
[    3.266567] 1f00           12800 mtdblock0 
[    3.266571]  (driver?)
[    3.278805] 1f01            5120 mtdblock1 
[    3.278809]  (driver?)
[    3.285399] 1f02             512 mtdblock2 
[    3.285404]  (driver?)
[    3.291824] 1f03            1280 mtdblock3 
[    3.291827]  (driver?)
[    3.298335] 1f04            1280 mtdblock4 
[    3.298339]  (driver?)
[    3.304915] 1f05            4096 mtdblock5 
[    3.304920]  (driver?)
[    3.311355] 1f06           98816 mtdblock6 
[    3.311359]  (driver?)
[    3.317942] 1f07            7168 mtdblock7 
[    3.317947]  (driver?)
[    3.324439] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    3.326828] CPU1: stopping
[    3.335065] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.171 #0
[    3.337752] Hardware name: Generic DT based system
[    3.343928] Function entered at [<c030f1c4>] from [<c030b390>]
[    3.348608] Function entered at [<c030b390>] from [<c07c0664>]
[    3.354423] Function entered at [<c07c0664>] from [<c030e40c>]
[    3.360239] Function entered at [<c030e40c>] from [<c03014b8>]
[    3.366054] Function entered at [<c03014b8>] from [<c030bf8c>]
[    3.371870] Exception stack(0xdd461f80 to 0xdd461fc8)
[    3.377715] 1f80: 00000001 00000000 00000000 c0315100 ffffe000 c0a03cb8 c0a03c6c 00000000
[    3.382842] 1fa0: 00000000 512f04d0 00000000 00000000 dd461fc8 dd461fd0 c030854c c0308550
[    3.390977] 1fc0: 60000013 ffffffff
[    3.399125] Function entered at [<c030bf8c>] from [<c0308550>]
[    3.402425] Function entered at [<c0308550>] from [<c03589c8>]
[    3.408330] Function entered at [<c03589c8>] from [<c0358d10>]
[    3.414143] Function entered at [<c0358d10>] from [<423017cc>]
[    3.419963] Rebooting in 1 seconds..
27.05.20203130KernelBug ReportVery LowMediumWARNING: CPU: 0 PID: 2865 at net/core/flow_dissector.c:...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

Linksys EA8500

- Software versions of OpenWrt/LEDE release, packages, etc.

OpenWrt SNAPSHOT r13373-e8fbb98c6d

- Steps to reproduce

Run dmesg and look for this exception stack. The system appears to run normally after boot.

[ 43.556644] ————[ cut here ]———— [ 43.556725] WARNING: CPU: 0 PID: 2865 at net/core/flow_dissector.c:942 skb_flow_dissect+0×448/0x156c
[ 43.560479] Modules linked in: ath10k_pci ath10k_core ath mac80211 iptable_nat ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_policy 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_MASQUERADE xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY nf_reject_ipv4 nf_nat 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 compat br_netfilter fuse act_connmark nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred ledtrig_usbport ledtrig_heartbeat 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
[ 43.560909] 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 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ifb ipcomp6 xfrm6_tunnel esp6 ah6 xfrm4_tunnel ipcomp esp4 ah4 tunnel6 tunnel4 tun xfrm_user xfrm_ipcomp af_key xfrm_algo vfat fat ntfs nls_utf8 nls_iso8859_1 nls_cp437 sha1_generic md5 echainiv des_generic libdes cbc authenc usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom ohci_platform ohci_hcd phy_qcom_dwc3 ahci fsl_mph_dr_of ehci_platform ehci_fsl sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 exfat(C) crc32c_generic
[ 43.702907] CPU: 0 PID: 2865 Comm: charon Tainted: G C 5.4.42 #0
[ 43.725016] Hardware name: Generic DT based system
[ 43.732162] [<c030f954>] (unwind_backtrace) from [<c030b96c>] (show_stack+0×14/0×20)
[ 43.737012] [<c030b96c>] (show_stack) from [<c08c61e0>] (dump_stack+0×94/0xa8)
[ 43.744922] [<c08c61e0>] (dump_stack) from [<c031e7c0>] (
warn+0xb4/0xd0)
[ 43.751944] [<c031e7c0>] (warn) from [<c031e82c>] (warn_slowpath_fmt+0×50/0×90)
[ 43.758805] [<c031e82c>] (warn_slowpath_fmt) from [<c075aa10>] (
skb_flow_dissect+0×448/0x156c)
[ 43.766357] [<c075aa10>] (skb_flow_dissect) from [<c075bfd0>] (skb_get_hash_perturb+0x6c/0x1ac)
[ 43.775380] [<c075bfd0>] (skb_get_hash_perturb) from [<bf63dc80>] (ieee80211_reserve_tid+0xb50/0xf74 [mac80211])
[ 43.784311] [<bf63dc80>] (ieee80211_reserve_tid [mac80211]) from [<bf642154>] (ieee80211_tx_prepare_skb+0x23c/0×294 [mac80211])
[ 43.794456] [<bf642154>] (ieee80211_tx_prepare_skb [mac80211]) from [<bf643e6c>] (ieee80211_tx_pending+0xc4/0×294 [mac80211])
[ 43.805544] [<bf643e6c>] (ieee80211_tx_pending [mac80211]) from [<c0322740>] (tasklet_action_common.constprop.3+0×74/0x10c)
[ 43.816879] [<c0322740>] (tasklet_action_common.constprop.3) from [<c0302298>] (
do_softirq+0×130/0x2d4)
[ 43.827812] [<c0302298>] (do_softirq) from [<c0322948>] (do_softirq.part.2+0×48/0×58)
[ 43.837524] [<c0322948>] (do_softirq.part.2) from [<c0322a30>] (
local_bh_enable_ip+0xd8/0xe8)
[ 43.845354] [<c0322a30>] (__local_bh_enable_ip) from [<c08974e4>] (packet_poll+0×84/0×118)
[ 43.854038] [<c08974e4>] (packet_poll) from [<c0740fcc>] (sock_poll+0×98/0xc0)
[ 43.862370] [<c0740fcc>] (sock_poll) from [<c04647b0>] (do_sys_poll+0x2f0/0×558)
[ 43.869576] [<c04647b0>] (do_sys_poll) from [<c046552c>] (sys_poll+0×24/0×120)
[ 43.877118] [<c046552c>] (sys_poll) from [<c0301000>] (ret_fast_syscall+0×0/0×54)
[ 43.884136] Exception stack(0xd8fabfa8 to 0xd8fabff0)
[ 43.891708] bfa0: 00000000 00000000 b6920c40 00000006 ffffffff 00000000
[ 43.896756] bfc0: 00000000 00000000 012b4470 000000a8 b6920ce8 b6f3a8a4 b6920c40 b6920cbc
[ 43.904896] bfe0: b6920c00 b6920bf0 b6f8d5cc b6f8caa4
[ 43.913185] —[ end trace 36ce985abed2ad7b ]—


17.08.20203289KernelBug ReportVery LowMediumMT6720a Slowness in 2.4Ghz bandAllUnconfirmed Task Description

Device: MI R3

https://openwrt.org/toh/xiaomi/mir3

I am using a Openwrt fork, X-WRT in my MI R3. Whenever i use 2.4Ghz band connection, I am getting really slow speeds... I.e if i have bandwidth of 10 mbps upload and download speed then i am only half the speed. However, I have fixed the download speed by changing the 2.4ghz channel to 13 but still there are some packet losses which can be seen and still the upload speed doesn’t cross 5mbps...

I have attached speedtest screenshot for your reference. This speedtest has been done while no one was using my bandwidth and that too in the morning.

20.08.20203296KernelBug ReportVery LowMediumTP-Link RE450 v3: QCA9880 (5 GHz-Wifi) is only detected...TrunkUnconfirmed Task Description

- Device: TP-Link RE450 v3
- OpenWRT-version: OpenWRT SNAPSHOT r14198-da98603597 (snapshot from 8/19/2020)
- Installed packages: Just the base install + LuCI

- Steps to reproduce:

  • Install OpenWRT via stock firmware web interface
  • ‘iw list’ shows 2 physical interfaces: 2.4 GHz (phy1) and 5 GHz (phy0)
  • Reboot
  • ‘iw list’ now only shows the 2.4 GHz-wifi
  • 5 GHz-wifi is only redetected after power-cycling, simple reboot doesn’t work

- Logs:

  • dmesg with both interfaces:
[    0.000000] Linux version 5.4.58 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r14198-da98603597)) #0 Tue Aug 18 16:14:54 2020
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is TP-Link RE450 v3
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000]   Normal zone: 144 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 56888K/65536K available (5134K kernel code, 190K rwdata, 1176K rodata, 1236K init, 205K bss, 8648K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] random: get_random_bytes called from start_kernel+0x32c/0x520 with crng_init=0
[    0.000000] CPU clock: 775.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008231] Calibrating delay loop... 385.02 BogoMIPS (lpj=770048)
[    0.046722] pid_max: default: 32768 minimum: 301
[    0.051722] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059438] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.071600] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.081924] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.089218] pinctrl core: initialized pinctrl subsystem
[    0.097103] NET: Registered protocol family 16
[    0.131044] clocksource: Switched to clocksource MIPS
[    0.137499] NET: Registered protocol family 2
[    0.142953] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.151841] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.159940] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.167381] TCP: Hash tables configured (established 1024 bind 1024)
[    0.174204] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.181148] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.188827] NET: Registered protocol family 1
[    0.193482] PCI: CLS 0 bytes, default 32
[    0.201049] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.214066] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.220256] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.243018] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.254285] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.261343] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.270150] printk: console [ttyS0] disabled
[    0.274741] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.283847] printk: console [ttyS0] enabled
[    0.292909] printk: bootconsole [early0] disabled
[    0.320880] spi-nor spi0.0: s25fl064k (8192 Kbytes)
[    0.325996] 7 fixed-partitions partitions found on MTD device spi0.0
[    0.332567] Creating 7 MTD partitions on "spi0.0":
[    0.337536] 0x000000000000-0x000000020000 : "u-boot"
[    0.343635] 0x000000020000-0x000000022000 : "info"
[    0.349457] 0x000000022000-0x000000024000 : "partition-table"
[    0.356285] 0x000000024000-0x00000002e000 : "info2"
[    0.362222] 0x00000002e000-0x000000050000 : "config"
[    0.368262] 0x000000050000-0x0000007f0000 : "firmware"
[    0.379175] 2 tplink-fw partitions found on MTD device firmware
[    0.385326] Creating 2 MTD partitions on "firmware":
[    0.390466] 0x000000000000-0x000000209c24 : "kernel"
[    0.396459] 0x000000209c24-0x0000007a0000 : "rootfs"
[    0.402434] mtd: device 7 (rootfs) set to be root filesystem
[    0.409991] 1 squashfs-split partitions found on MTD device rootfs
[    0.416454] 0x000000490000-0x0000007a0000 : "rootfs_data"
[    0.422923] 0x0000007f0000-0x000000800000 : "art"
[    0.429578] libphy: GPIO Bitbanged MDIO: probed
[    0.439954] libphy: Fixed MDIO Bus: probed
[    0.772835] ag71xx 19000000.eth: connected to PHY at gpio-0:04 [uid=004dd074, driver=Atheros 8031 ethernet]
[    0.783492] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii
[    0.790217] i2c /dev entries driver
[    0.796315] NET: Registered protocol family 10
[    0.806499] Segment Routing with IPv6
[    0.810436] NET: Registered protocol family 17
[    0.815112] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.828504] 8021q: 802.1Q VLAN Support v1.8
[    0.833637] PCI host bridge /ahb/pcie-controller@18250000 ranges:
[    0.840001]  MEM 0x0000000012000000..0x0000000013ffffff
[    0.845403]   IO 0x0000000000000000..0x0000000000000000
[    0.850951] PCI host bridge to bus 0000:00
[    0.855222] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    0.862326] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.868086] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.875103] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.883320] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
[    0.889579] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.896644] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.903638] pci 0000:00:00.0: supports D1 D2
[    0.909008] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.915890] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    0.923468] pci 0000:00:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[    0.931847] hctosys: unable to open rtc device (rtc0)
[    0.941503] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[    0.955778] Freeing unused kernel memory: 1236K
[    0.960477] This architecture does not have kernel memory protection.
[    0.967127] Run /sbin/init as init process
[    1.199054] random: fast init done
[    1.566294] init: Console is alive
[    1.570122] init: - watchdog -
[    2.588796] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.798646] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.816569] init: - preinit -
[    3.672705] random: jshn: uninitialized urandom read (4 bytes read)
[    3.775161] random: jshn: uninitialized urandom read (4 bytes read)
[    3.821070] random: jshn: uninitialized urandom read (4 bytes read)
[    8.283883] jffs2: notice: (549) jffs2_build_xattr_subsystem: complete building xattr subsystem, 37 of xdatum (29 unchecked, 6 orphan) and 54 of xref (6 dead, 0 orphan) found.
[    8.303296] mount_root: switching to jffs2 overlay
[    8.327567] overlayfs: upper fs does not support tmpfile.
[    8.342994] urandom-seed: Seeding with /etc/urandom.seed
[    8.432323] procd: - early -
[    8.435456] procd: - watchdog -
[    9.067071] procd: - watchdog -
[    9.070585] procd: - ubus -
[    9.152818] urandom_read: 5 callbacks suppressed
[    9.152825] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.230475] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.238452] procd: - init -
[   10.042593] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.300426] Loading modules backported from Linux version v5.8-0-gbcf876870b95
[   10.307932] Backport generated by backports.git v5.8-1-0-g79400d9e
[   10.367861] xt_time: kernel timezone is -0000
[   10.384141] urngd: v1.0.2 started.
[   10.549643] PPP generic driver version 2.4.2
[   10.563949] NET: Registered protocol family 24
[   10.642376] ath10k 5.4 driver, optimized for CT firmware, probing pci device: 0x3c.
[   10.650448] ath10k_mac_create, priv_size: 804  hw: (ptrval)  hw->priv: (ptrval)
[   10.680568] random: crng init done
[   10.685632] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[   10.692309] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   14.049037] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   14.058609] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   14.071077] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-538f0906 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 e1c91a74
[   14.309918] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   15.285846] ath10k_pci 0000:00:00.0: unsupported HTC service id: 1536
[   15.292959] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   15.309879] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[   15.316163] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   15.324452] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 20984 iram: 25656'
[   15.386995] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[   15.397150] ath10k_pci 0000:00:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   15.504539] ath: EEPROM regdomain sanitized
[   15.504549] ath: EEPROM regdomain: 0x64
[   15.504552] ath: EEPROM indicates we should expect a direct regpair map
[   15.504570] ath: Country alpha2 being used: 00
[   15.504573] ath: Regpair used: 0x64
[   15.585882] ath: EEPROM regdomain sanitized
[   15.585893] ath: EEPROM regdomain: 0x64
[   15.585897] ath: EEPROM indicates we should expect a direct regpair map
[   15.585916] ath: Country alpha2 being used: 00
[   15.585919] ath: Regpair used: 0x64
[   15.598233] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   15.600158] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2
[   15.627498] kmodloader: done loading kernel modules from /etc/modules.d/*
[   26.247323] br-lan: port 1(eth0) entered blocking state
[   26.252771] br-lan: port 1(eth0) entered disabled state
[   26.258462] device eth0 entered promiscuous mode
[   30.947562] ath10k_pci 0000:00:00.0: unsupported HTC service id: 1536
[   30.954344] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   30.971271] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[   30.977555] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   30.985854] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 20984 iram: 25656'
[   31.048771] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[   31.079988] br-lan: port 2(wlan0) entered blocking state
[   31.085532] br-lan: port 2(wlan0) entered disabled state
[   31.091324] device wlan0 entered promiscuous mode
[   31.211412] br-lan: port 3(wlan1-1) entered blocking state
[   31.217133] br-lan: port 3(wlan1-1) entered disabled state
[   31.223228] device wlan1-1 entered promiscuous mode
[   31.228434] br-lan: port 3(wlan1-1) entered blocking state
[   31.234131] br-lan: port 3(wlan1-1) entered forwarding state
[   31.241283] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   31.347526] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   31.354300] br-lan: port 2(wlan0) entered blocking state
[   31.359835] br-lan: port 2(wlan0) entered forwarding state
[   32.095174] br-lan: port 3(wlan1-1) entered disabled state
[   34.157207] wlan1: authenticate with c8:0e:14:fc:02:ed
[   34.176691] wlan1: send auth to c8:0e:14:fc:02:ed (try 1/3)
[   34.185984] wlan1: authenticated
[   34.191228] wlan1: associate with c8:0e:14:fc:02:ed (try 1/3)
[   34.203447] wlan1: RX AssocResp from c8:0e:14:fc:02:ed (capab=0x31 status=0 aid=6)
[   34.211556] wlan1: associated
[   34.226587] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   34.245010] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-1: link becomes ready
[   34.252015] br-lan: port 3(wlan1-1) entered blocking state
[   34.257731] br-lan: port 3(wlan1-1) entered forwarding state
  • iw list of both interfaces:
Wiphy phy1
	max # scan SSIDs: 4
	max scan IEs length: 2257 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports AP-side u-APSD.
	Device supports T-DLS.
	Available Antennas: TX 0x7 RX 0x7
	Configured Antennas: TX 0x7 RX 0x7
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
		 * P2P-client
		 * P2P-GO
		 * outside context of a BSS
	Band 1:
		Capabilities: 0x11ee
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			RX STBC 1-stream
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-23
		Frequencies:
			* 2412 MHz [1] (20.0 dBm)
			* 2417 MHz [2] (20.0 dBm)
			* 2422 MHz [3] (20.0 dBm)
			* 2427 MHz [4] (20.0 dBm)
			* 2432 MHz [5] (20.0 dBm)
			* 2437 MHz [6] (20.0 dBm)
			* 2442 MHz [7] (20.0 dBm)
			* 2447 MHz [8] (20.0 dBm)
			* 2452 MHz [9] (20.0 dBm)
			* 2457 MHz [10] (20.0 dBm)
			* 2462 MHz [11] (20.0 dBm)
			* 2467 MHz [12] (20.0 dBm) (no IR)
			* 2472 MHz [13] (20.0 dBm) (no IR)
			* 2484 MHz [14] (20.0 dBm) (no IR)
	valid interface combinations:
		 * #{ managed } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO } <= 1, #{ IBSS } <= 1,
		   total <= 2048, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz }

	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Supported extended features:
		* [ RRM ]: RRM
		* [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
		* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
		* [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
		* [ AIRTIME_FAIRNESS ]: airtime fairness scheduling
Wiphy phy0
	max # scan SSIDs: 16
	max scan IEs length: 199 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports AP-side u-APSD.
	Available Antennas: TX 0x7 RX 0x7
	Configured Antennas: TX 0x7 RX 0x7
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
		 * P2P-client
		 * P2P-GO
		 * P2P-device
	Band 2:
		Capabilities: 0x19ef
			RX LDPC
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			RX STBC 1-stream
			Max AMSDU length: 7935 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-23
		VHT Capabilities (0x338001b2):
			Max MPDU length: 11454
			Supported Channel Width: neither 160 nor 80+80
			RX LDPC
			short GI (80 MHz)
			TX STBC
			RX antenna pattern consistency
			TX antenna pattern consistency
		VHT RX MCS set:
			1 streams: MCS 0-9
			2 streams: MCS 0-9
			3 streams: MCS 0-9
			4 streams: not supported
			5 streams: not supported
			6 streams: not supported
			7 streams: not supported
			8 streams: not supported
		VHT RX highest supported: 0 Mbps
		VHT TX MCS set:
			1 streams: MCS 0-9
			2 streams: MCS 0-9
			3 streams: MCS 0-9
			4 streams: not supported
			5 streams: not supported
			6 streams: not supported
			7 streams: not supported
			8 streams: not supported
		VHT TX highest supported: 0 Mbps
		Frequencies:
			* 5180 MHz [36] (20.0 dBm)
			* 5200 MHz [40] (20.0 dBm)
			* 5220 MHz [44] (20.0 dBm)
			* 5240 MHz [48] (20.0 dBm)
			* 5260 MHz [52] (20.0 dBm) (no IR, radar detection)
			* 5280 MHz [56] (20.0 dBm) (no IR, radar detection)
			* 5300 MHz [60] (20.0 dBm) (no IR, radar detection)
			* 5320 MHz [64] (20.0 dBm) (no IR, radar detection)
			* 5500 MHz [100] (20.0 dBm) (no IR, radar detection)
			* 5520 MHz [104] (20.0 dBm) (no IR, radar detection)
			* 5540 MHz [108] (20.0 dBm) (no IR, radar detection)
			* 5560 MHz [112] (20.0 dBm) (no IR, radar detection)
			* 5580 MHz [116] (20.0 dBm) (no IR, radar detection)
			* 5600 MHz [120] (20.0 dBm) (no IR, radar detection)
			* 5620 MHz [124] (20.0 dBm) (no IR, radar detection)
			* 5640 MHz [128] (20.0 dBm) (no IR, radar detection)
			* 5660 MHz [132] (20.0 dBm) (no IR, radar detection)
			* 5680 MHz [136] (20.0 dBm) (no IR, radar detection)
			* 5700 MHz [140] (20.0 dBm) (no IR, radar detection)
			* 5720 MHz [144] (20.0 dBm) (no IR, radar detection)
			* 5745 MHz [149] (20.0 dBm) (no IR)
			* 5765 MHz [153] (20.0 dBm) (no IR)
			* 5785 MHz [157] (20.0 dBm) (no IR)
			* 5805 MHz [161] (20.0 dBm) (no IR)
			* 5825 MHz [165] (20.0 dBm) (no IR)
			* 5845 MHz [169] (disabled)
			* 5865 MHz [173] (disabled)
	valid interface combinations:
		 * #{ managed, P2P-client } <= 16, #{ P2P-GO } <= 3, #{ AP } <= 16, #{ IBSS } <= 1,
		   total <= 16, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz }

	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Supported extended features:
		* [ VHT_IBSS ]: VHT-IBSS
		* [ RRM ]: RRM
		* [ SET_SCAN_DWELL ]: scan dwell setting
		* [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
		* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
		* [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
		* [ AIRTIME_FAIRNESS ]: airtime fairness scheduling
  • dmesg with only 2.4 GHz-wifi:
root@OpenWrt:~# dmesg 
[    0.000000] Linux version 5.4.58 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r14198-da98603597)) #0 Tue Aug 18 16:14:54 2020
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is TP-Link RE450 v3
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000]   Normal zone: 144 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 56888K/65536K available (5134K kernel code, 190K rwdata, 1176K rodata, 1236K init, 205K bss, 8648K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] random: get_random_bytes called from start_kernel+0x32c/0x520 with crng_init=0
[    0.000000] CPU clock: 775.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008231] Calibrating delay loop... 385.02 BogoMIPS (lpj=770048)
[    0.046722] pid_max: default: 32768 minimum: 301
[    0.051721] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059438] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.071590] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.081915] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.089209] pinctrl core: initialized pinctrl subsystem
[    0.097096] NET: Registered protocol family 16
[    0.131045] clocksource: Switched to clocksource MIPS
[    0.137496] NET: Registered protocol family 2
[    0.142951] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.151839] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.159931] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.167372] TCP: Hash tables configured (established 1024 bind 1024)
[    0.174198] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.181140] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.188818] NET: Registered protocol family 1
[    0.193465] PCI: CLS 0 bytes, default 32
[    0.201000] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.214024] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.220214] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.242855] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.254127] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.261184] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.269993] printk: console [ttyS0] disabled
[    0.274584] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.283698] printk: console [ttyS0] enabled
[    0.292759] printk: bootconsole [early0] disabled
[    0.321224] spi-nor spi0.0: s25fl064k (8192 Kbytes)
[    0.326339] 7 fixed-partitions partitions found on MTD device spi0.0
[    0.332909] Creating 7 MTD partitions on "spi0.0":
[    0.337878] 0x000000000000-0x000000020000 : "u-boot"
[    0.343925] 0x000000020000-0x000000022000 : "info"
[    0.349744] 0x000000022000-0x000000024000 : "partition-table"
[    0.356582] 0x000000024000-0x00000002e000 : "info2"
[    0.362517] 0x00000002e000-0x000000050000 : "config"
[    0.368552] 0x000000050000-0x0000007f0000 : "firmware"
[    0.379462] 2 tplink-fw partitions found on MTD device firmware
[    0.385627] Creating 2 MTD partitions on "firmware":
[    0.390774] 0x000000000000-0x000000209c24 : "kernel"
[    0.396763] 0x000000209c24-0x0000007a0000 : "rootfs"
[    0.402729] mtd: device 7 (rootfs) set to be root filesystem
[    0.410258] 1 squashfs-split partitions found on MTD device rootfs
[    0.416725] 0x000000490000-0x0000007a0000 : "rootfs_data"
[    0.423252] 0x0000007f0000-0x000000800000 : "art"
[    0.429885] libphy: GPIO Bitbanged MDIO: probed
[    0.440229] libphy: Fixed MDIO Bus: probed
[    0.772836] ag71xx 19000000.eth: connected to PHY at gpio-0:04 [uid=004dd074, driver=Atheros 8031 ethernet]
[    0.783494] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii
[    0.790216] i2c /dev entries driver
[    0.796303] NET: Registered protocol family 10
[    0.806492] Segment Routing with IPv6
[    0.810429] NET: Registered protocol family 17
[    0.815115] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.828508] 8021q: 802.1Q VLAN Support v1.8
[    0.833630] PCI host bridge /ahb/pcie-controller@18250000 ranges:
[    0.839994]  MEM 0x0000000012000000..0x0000000013ffffff
[    0.845396]   IO 0x0000000000000000..0x0000000000000000
[    0.850800] ar724x-pci 18250000.pcie-controller: PCIe link is down
[    0.857332] PCI host bridge to bus 0000:00
[    0.861603] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    0.868710] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.874469] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.881484] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.890429] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.897945] hctosys: unable to open rtc device (rtc0)
[    0.907557] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[    0.921813] Freeing unused kernel memory: 1236K
[    0.926520] This architecture does not have kernel memory protection.
[    0.933170] Run /sbin/init as init process
[    1.175048] random: fast init done
[    1.532016] init: Console is alive
[    1.535840] init: - watchdog -
[    2.553540] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.763237] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.781133] init: - preinit -
[    3.635176] random: jshn: uninitialized urandom read (4 bytes read)
[    3.740548] random: jshn: uninitialized urandom read (4 bytes read)
[    3.786584] random: jshn: uninitialized urandom read (4 bytes read)
[    8.246371] jffs2: notice: (548) jffs2_build_xattr_subsystem: complete building xattr subsystem, 35 of xdatum (29 unchecked, 4 orphan) and 52 of xref (4 dead, 0 orphan) found.
[    8.265777] mount_root: switching to jffs2 overlay
[    8.290175] overlayfs: upper fs does not support tmpfile.
[    8.306647] urandom-seed: Seeding with /etc/urandom.seed
[    8.395809] procd: - early -
[    8.398875] procd: - watchdog -
[    9.032264] procd: - watchdog -
[    9.035819] procd: - ubus -
[    9.118067] urandom_read: 5 callbacks suppressed
[    9.118073] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.195823] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.204378] procd: - init -
[   10.001922] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.260046] Loading modules backported from Linux version v5.8-0-gbcf876870b95
[   10.267552] Backport generated by backports.git v5.8-1-0-g79400d9e
[   10.327832] xt_time: kernel timezone is -0000
[   10.419909] urngd: v1.0.2 started.
[   10.517728] PPP generic driver version 2.4.2
[   10.531947] NET: Registered protocol family 24
[   10.670799] random: crng init done
[   10.699652] ath: EEPROM regdomain sanitized
[   10.699663] ath: EEPROM regdomain: 0x64
[   10.699666] ath: EEPROM indicates we should expect a direct regpair map
[   10.699686] ath: Country alpha2 being used: 00
[   10.699689] ath: Regpair used: 0x64
[   10.711980] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.713846] ieee80211 phy0: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2
[   10.823428] kmodloader: done loading kernel modules from /etc/modules.d/*
[   22.215341] br-lan: port 1(eth0) entered blocking state
[   22.220791] br-lan: port 1(eth0) entered disabled state
[   22.226493] device eth0 entered promiscuous mode
[   25.552299] br-lan: port 2(wlan0-1) entered blocking state
[   25.558022] br-lan: port 2(wlan0-1) entered disabled state
[   25.564080] device wlan0-1 entered promiscuous mode
[   28.429430] wlan0: authenticate with c8:0e:14:fc:02:ed
[   28.449012] wlan0: send auth to c8:0e:14:fc:02:ed (try 1/3)
[   28.457875] wlan0: authenticated
[   28.463223] wlan0: associate with c8:0e:14:fc:02:ed (try 1/3)
[   28.475679] wlan0: RX AssocResp from c8:0e:14:fc:02:ed (capab=0x31 status=0 aid=6)
[   28.483786] wlan0: associated
[   28.498734] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   28.517355] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
[   28.524337] br-lan: port 2(wlan0-1) entered blocking state
[   28.530062] br-lan: port 2(wlan0-1) entered forwarding state
[   28.555183] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
  • iw list with only 2.4 GHz-wifi:
Wiphy phy0
	max # scan SSIDs: 4
	max scan IEs length: 2257 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports AP-side u-APSD.
	Device supports T-DLS.
	Available Antennas: TX 0x7 RX 0x7
	Configured Antennas: TX 0x7 RX 0x7
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
		 * P2P-client
		 * P2P-GO
		 * outside context of a BSS
	Band 1:
		Capabilities: 0x11ee
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			RX STBC 1-stream
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-23
		Frequencies:
			* 2412 MHz [1] (20.0 dBm)
			* 2417 MHz [2] (20.0 dBm)
			* 2422 MHz [3] (20.0 dBm)
			* 2427 MHz [4] (20.0 dBm)
			* 2432 MHz [5] (20.0 dBm)
			* 2437 MHz [6] (20.0 dBm)
			* 2442 MHz [7] (20.0 dBm)
			* 2447 MHz [8] (20.0 dBm)
			* 2452 MHz [9] (20.0 dBm)
			* 2457 MHz [10] (20.0 dBm)
			* 2462 MHz [11] (20.0 dBm)
			* 2467 MHz [12] (20.0 dBm) (no IR)
			* 2472 MHz [13] (20.0 dBm) (no IR)
			* 2484 MHz [14] (20.0 dBm) (no IR)
	valid interface combinations:
		 * #{ managed } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO } <= 1, #{ IBSS } <= 1,
		   total <= 2048, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz }

	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Supported extended features:
		* [ RRM ]: RRM
		* [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
		* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
		* [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
		* [ AIRTIME_FAIRNESS ]: airtime fairness scheduling

05.09.20203318KernelBug ReportVery LowMediumkmod-rtl8xxxu does not work with RTL8723BU moduleopenwrt-19.07Unconfirmed Task Description

RTL8723BU USB module ID 0bda:b720 does not work with kmod-rtl8xxxu driver and rtl8723bu-firmware
Bluetooth scanning does not see any device.
Module cannot be loaded.

[ 8893.763180] usb 1-1.4: This Realtek USB WiFi dongle (0x0bda:0xb720) is untested!
[ 8894.291851] usb 1-1.4: Firmware revision 35.0 (signature 0×5301)
[ 8894.564319] usb 1-1.4: Firmware failed to start
[ 8894.568980] rtl8xxxu: probe of 1-1.4:1.2 failed with error -11
[ 8894.575434] usbcore: registered new interface driver rtl8xxxu

24.10.20203405KernelBug ReportVery LowMediumath10k-ct TP-Link EAP245v3 (QCA9982) 5Ghz 802.11ac radi...TrunkUnconfirmed Task Description

Model : TP-Link EAP245 v3
Architecture : Qualcomm Atheros QCA956X ver 1 rev 0
Firmware Version : OpenWrt SNAPSHOT r14740-0b31713c85 / LuCI Master git-20.295.56858-2bbde85
Kernel Version : 5.4.72


radio0 : Type: Qualcomm Atheros QCA9990 802.11nac


TP-Link EAP245 v3 spec states it uses a QCA9982 chip. Driver looks to be id’ing the chip as QCA9990.


When using kmod-ath10k-ct Module/Driver. The 5Ghz Radio never goes into 80Mhz width in TX mode, 40Mhz max. The Wireless client list shows TX as 40Mhz and external Spectrum Analyzer verifies the AP radio is only using the “correct” 40Mhz width for TX. Depending on channel used, you can see either the upper or lower 40Mhz width use.

By switching to the Kernel base kmod-ath10k Module/Driver. The Wireless client list always says 6Mb/s 20Mhz for the TX mode. But, testing throughput and watching Spectrum Analyzer actually shows the AP radio is TX’ing at 80Mhz width and higher VHT Rates.

Using the Kernel base or CT Firmware in either combo does not make a difference. But, the CT Firmware seems to have a bit better throughput performance while using either Module/Driver.


Below is Station info Dumps, Device Infos and Boot Log (dmesg) for both Module/Driver usages.

Using [ath10k-firmware-qca99x0-ct - 2020-07-02-1 & kmod-ath10k-ct - 5.4.72+2020-06-30-edfbf916-1]

root@OpenWrt:~# iw dev wlan0 station dump
Station XX:XX:XX:XX:XX:XX (on wlan0)
	inactive time:	4 ms
	rx bytes:	372464
	rx packets:	1978
	tx bytes:	551868
	tx packets:	1377
	tx retries:	4
	tx failed:	0
	rx drop misc:	0
	signal:  	-40 [-43, -41, -36] dBm
	signal avg:	-38 [-44, -40, -35] dBm
	tx bitrate:	405.0 MBit/s VHT-MCS 6 40MHz short GI VHT-NSS 3
	tx duration:	938974 us
	rx bitrate:	1300.0 MBit/s VHT-MCS 9 80MHz short GI VHT-NSS 3
	rx duration:	0 us
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		no
	TDLS peer:	no
	DTIM period:	2
	beacon interval:100
	short slot time:yes
	connected time:	33 seconds
	associated at [boottime]:	312.103s
	associated at:	18446725628512616754 ms
	current time:	1546824856 ms
root@OpenWrt:~# hostapd_cli all_sta
Selected interface 'wlan0'
XX:XX:XX:XX:XX:XX
flags=[AUTH][ASSOC][AUTHORIZED][WMM][HT][VHT]
aid=1
capability=0x1
listen_interval=10
supported_rates=8c 12 98 24 b0 48 60 6c
timeout_next=NULLFUNC POLL
rx_packets=428
tx_packets=324
rx_bytes=75284
tx_bytes=114911
inactive_msec=0
signal=-47
rx_rate_info=240
tx_rate_info=3600 vhtmcs 5 vhtnss 3 shortGI
rx_vht_mcs_map=ffea
tx_vht_mcs_map=ffea
ht_mcs_bitmask=ffffff00000000000000
connected_time=7
min_txpower=2
max_txpower=32
vht_caps_info=0x0f8259b2
ht_caps_info=0x09ef
ext_capab=0400000000000040
root@OpenWrt:~# iw dev wlan0 info
Interface wlan0
	ifindex 8
	wdev 0x2
	addr b0:95:75:6d:f0:3d
	ssid OpenWrt
	type AP
	wiphy 0
	channel 149 (5745 MHz), width: 80 MHz, center1: 5775 MHz
	txpower 20.00 dBm
	multicast TXQ:
		qsz-byt	qsz-pkt	flows	drops	marks	overlmt	hashcol	tx-bytes	tx-packets
		0	0	0	0	0	0	0	0		0
root@OpenWrt:~# iw phy phy0 info
Wiphy phy0
	wiphy index: 0
	max # scan SSIDs: 16
	max scan IEs length: 199 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports RSN-IBSS.
	Device supports AP-side u-APSD.
	Supported Ciphers:
		* WEP40 (00-0f-ac:1)
		* WEP104 (00-0f-ac:5)
		* TKIP (00-0f-ac:2)
		* CCMP-128 (00-0f-ac:4)
		* CMAC (00-0f-ac:6)
		* CMAC-256 (00-0f-ac:13)
		* GMAC-128 (00-0f-ac:11)
		* GMAC-256 (00-0f-ac:12)
		* GCMP-128 (00-0f-ac:8)
		* GCMP-256 (00-0f-ac:9)
		* CCMP-256 (00-0f-ac:10)
	Available Antennas: TX 0x7 RX 0x7
	Configured Antennas: TX 0x7 RX 0x7
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
		 * P2P-client
		 * P2P-GO
		 * P2P-device
	Band 2:
		Capabilities: 0x19ef
			RX LDPC
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			RX STBC 1-stream
			Max AMSDU length: 7935 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-23
		VHT Capabilities (0x339a79b2):
			Max MPDU length: 11454
			Supported Channel Width: neither 160 nor 80+80
			RX LDPC
			short GI (80 MHz)
			TX STBC
			SU Beamformer
			SU Beamformee
			MU Beamformer
			MU Beamformee
			RX antenna pattern consistency
			TX antenna pattern consistency
		VHT RX MCS set:
			1 streams: MCS 0-9
			2 streams: MCS 0-9
			3 streams: MCS 0-9
			4 streams: not supported
			5 streams: not supported
			6 streams: not supported
			7 streams: not supported
			8 streams: not supported
		VHT RX highest supported: 0 Mbps
		VHT TX MCS set:
			1 streams: MCS 0-9
			2 streams: MCS 0-9
			3 streams: MCS 0-9
			4 streams: not supported
			5 streams: not supported
			6 streams: not supported
			7 streams: not supported
			8 streams: not supported
		VHT TX highest supported: 0 Mbps
		Bitrates (non-HT):
			* 6.0 Mbps
			* 9.0 Mbps
			* 12.0 Mbps
			* 18.0 Mbps
			* 24.0 Mbps
			* 36.0 Mbps
			* 48.0 Mbps
			* 54.0 Mbps
		Frequencies:
			* 5180 MHz [36] (23.0 dBm)
			* 5200 MHz [40] (23.0 dBm)
			* 5220 MHz [44] (23.0 dBm)
			* 5240 MHz [48] (23.0 dBm)
			* 5260 MHz [52] (23.0 dBm) (radar detection)
			* 5280 MHz [56] (23.0 dBm) (radar detection)
			* 5300 MHz [60] (23.0 dBm) (radar detection)
			* 5320 MHz [64] (23.0 dBm) (radar detection)
			* 5500 MHz [100] (23.0 dBm) (radar detection)
			* 5520 MHz [104] (23.0 dBm) (radar detection)
			* 5540 MHz [108] (23.0 dBm) (radar detection)
			* 5560 MHz [112] (23.0 dBm) (radar detection)
			* 5580 MHz [116] (23.0 dBm) (radar detection)
			* 5600 MHz [120] (23.0 dBm) (radar detection)
			* 5620 MHz [124] (23.0 dBm) (radar detection)
			* 5640 MHz [128] (23.0 dBm) (radar detection)
			* 5660 MHz [132] (23.0 dBm) (radar detection)
			* 5680 MHz [136] (23.0 dBm) (radar detection)
			* 5700 MHz [140] (23.0 dBm) (radar detection)
			* 5720 MHz [144] (23.0 dBm) (radar detection)
			* 5745 MHz [149] (30.0 dBm)
			* 5765 MHz [153] (30.0 dBm)
			* 5785 MHz [157] (30.0 dBm)
			* 5805 MHz [161] (30.0 dBm)
			* 5825 MHz [165] (30.0 dBm)
			* 5845 MHz [169] (disabled)
			* 5865 MHz [173] (disabled)
	Supported commands:
		 * new_interface
		 * set_interface
		 * new_key
		 * start_ap
		 * new_station
		 * new_mpath
		 * set_mesh_config
		 * set_bss
		 * authenticate
		 * associate
		 * deauthenticate
		 * disassociate
		 * join_ibss
		 * join_mesh
		 * remain_on_channel
		 * set_tx_bitrate_mask
		 * frame
		 * frame_wait_cancel
		 * set_wiphy_netns
		 * set_channel
		 * set_wds_peer
		 * probe_client
		 * set_noack_map
		 * register_beacons
		 * start_p2p_device
		 * set_mcast_rate
		 * testmode
		 * connect
		 * disconnect
		 * channel_switch
		 * set_qos_map
		 * set_multicast_to_unicast
	Supported TX frame types:
		 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
	Supported RX frame types:
		 * IBSS: 0x40 0xb0 0xc0 0xd0
		 * managed: 0x40 0xb0 0xd0
		 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * mesh point: 0xb0 0xc0 0xd0
		 * P2P-client: 0x40 0xd0
		 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * P2P-device: 0x40 0xd0
	software interface modes (can always be added):
		 * AP/VLAN
		 * monitor
	valid interface combinations:
		 * #{ managed } <= 16, #{ AP, mesh point } <= 16, #{ IBSS } <= 1,
		   total <= 16, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz, 80+80 MHz, 160 MHz }

	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Device supports TX status socket option.
	Device supports HT-IBSS.
	Device supports SAE with AUTHENTICATE command
	Device supports scan flush.
	Device supports AP scan.
	Device supports per-vif TX power setting
	Driver supports full state transitions for AP/GO clients
	Driver supports a userspace MPM
	Driver/device bandwidth changes during BSS lifetime (AP/GO mode)
	Device supports static SMPS
	Device supports configuring vdev MAC-addr on create.
	Maximum associated stations in AP mode: 0
	Supported extended features:
		* [ VHT_IBSS ]: VHT-IBSS
		* [ RRM ]: RRM
		* [ SET_SCAN_DWELL ]: scan dwell setting
		* [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
		* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
		* [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
		* [ AQL ]: Airtime Queue Limits (AQL)
		* [ CONTROL_PORT_NO_PREAUTH ]: disable pre-auth over nl80211 control port support
		* [ DEL_IBSS_STA ]: deletion of IBSS station support
		* [ SCAN_FREQ_KHZ ]: scan on kHz frequency support
		* [ CONTROL_PORT_OVER_NL80211_TX_STATUS ]: tx status for nl80211 control port support
root@OpenWrt:~# dmesg
[    0.000000] Linux version 5.4.72 (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r14736-6a56a6eb30)) #0 Thu Oct 22 14:13:38 2020
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is TP-Link EAP245 v3
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 288 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 121672K/131072K available (5052K kernel code, 312K rwdata, 1212K rodata, 1288K init, 206K bss, 9400K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] random: get_random_bytes called from start_kernel+0x3a4/0x590 with crng_init=0
[    0.000000] CPU clock: 775.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008219] Calibrating delay loop... 385.02 BogoMIPS (lpj=770048)
[    0.046722] pid_max: default: 32768 minimum: 301
[    0.051723] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059434] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.071487] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.081799] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.089092] pinctrl core: initialized pinctrl subsystem
[    0.095574] NET: Registered protocol family 16
[    0.127640] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.140856] clocksource: Switched to clocksource MIPS
[    0.181151] NET: Registered protocol family 2
[    0.186456] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.195337] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.203434] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.210882] TCP: Hash tables configured (established 1024 bind 1024)
[    0.217712] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.224649] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.232285] NET: Registered protocol family 1
[    0.236952] PCI: CLS 0 bytes, default 32
[    0.244535] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.257536] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.263728] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.288911] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.295954] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.303355] printk: console [ttyS0] disabled
[    0.307945] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.317053] printk: console [ttyS0] enabled
[    0.326113] printk: bootconsole [early0] disabled
[    0.351896] spi-nor spi0.0: w25q128 (16384 Kbytes)
[    0.356934] 10 fixed-partitions partitions found on MTD device spi0.0
[    0.363599] Creating 10 MTD partitions on "spi0.0":
[    0.368667] 0x000000000000-0x000000040000 : "factory-boot"
[    0.375225] 0x000000040000-0x000000080000 : "u-boot"
[    0.381335] 0x000000080000-0x000000090000 : "partition-table"
[    0.388164] 0x000000090000-0x0000000a0000 : "info"
[    0.394006] 0x0000000a0000-0x0000000b0000 : "art"
[    0.399746] 0x0000000b0000-0x0000000c0000 : "extra-para"
[    0.406163] 0x0000000c0000-0x000000f00000 : "firmware"
[    0.417720] 2 elf-loader-fw partitions found on MTD device firmware
[    0.424248] Creating 2 MTD partitions on "firmware":
[    0.429400] 0x000000000000-0x000000210000 : "kernel"
[    0.435417] 0x000000210000-0x000000e40000 : "rootfs"
[    0.441473] mtd: device 8 (rootfs) set to be root filesystem
[    0.449158] 1 squashfs-split partitions found on MTD device rootfs
[    0.455596] 0x0000005d0000-0x000000e40000 : "rootfs_data"
[    0.462049] 0x000000f00000-0x000000f30000 : "config"
[    0.468096] 0x000000f30000-0x000000fb0000 : "mutil-log"
[    0.474388] 0x000000fb0000-0x000000ff0000 : "oops"
[    0.482101] libphy: Fixed MDIO Bus: probed
[    1.137235] libphy: ag71xx_mdio: probed
[    1.142929] switch0: Atheros AR8337 rev. 2 switch registered on mdio.0
[    1.152880] random: fast init done
[    1.721331] ag71xx 19000000.eth: connected to PHY at mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    1.732601] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii
[    1.739214] i2c /dev entries driver
[    1.744588] NET: Registered protocol family 10
[    1.753750] Segment Routing with IPv6
[    1.757690] NET: Registered protocol family 17
[    1.762365] 8021q: 802.1Q VLAN Support v1.8
[    1.767443] PCI host bridge /ahb/pcie-controller@18250000 ranges:
[    1.773814]  MEM 0x0000000012000000..0x0000000013ffffff
[    1.779227]   IO 0x0000000000000000..0x0000000000000000
[    1.784797] PCI host bridge to bus 0000:00
[    1.789074] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    1.796185] pci_bus 0000:00: root bus resource [io  0x0000]
[    1.801946] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    1.808962] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.817175] pci 0000:00:00.0: [168c:0040] type 00 class 0x028000
[    1.823442] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    1.830593] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
[    1.836927] pci 0000:00:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    1.852054] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    1.858936] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    1.872041] VFS: Mounted root (squashfs filesystem) readonly on device 31:8.
[    1.886624] Freeing unused kernel memory: 1288K
[    1.891332] This architecture does not have kernel memory protection.
[    1.897983] Run /sbin/init as init process
[    2.529841] init: Console is alive
[    2.533676] init: - watchdog -
[    3.641876] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.799509] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.817441] init: - preinit -
[    4.823650] random: jshn: uninitialized urandom read (4 bytes read)
[    4.928057] random: jshn: uninitialized urandom read (4 bytes read)
[    5.027609] random: jshn: uninitialized urandom read (4 bytes read)
[    6.134756] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is up
[    6.148545] eth0: link up (1000Mbps/Full duplex)
[    6.161906] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.177015] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[    6.213179] urandom_read: 4 callbacks suppressed
[    6.213186] random: procd: uninitialized urandom read (4 bytes read)
[   10.447678] jffs2: notice: (533) jffs2_build_xattr_subsystem: complete building xattr subsystem, 22 of xdatum (18 unchecked, 4 orphan) and 31 of xref (4 dead, 0 orphan) found.
[   10.466239] mount_root: switching to jffs2 overlay
[   10.475385] overlayfs: upper fs does not support tmpfile.
[   10.485765] urandom-seed: Seeding with /etc/urandom.seed
[   10.586510] eth0: link down
[   10.608144] procd: - early -
[   10.611280] procd: - watchdog -
[   11.232608] procd: - watchdog -
[   11.236186] procd: - ubus -
[   11.384760] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.392328] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.400337] procd: - init -
[   12.433915] urngd: v1.0.2 started.
[   12.550359] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.597093] Loading modules backported from Linux version v5.8-0-gbcf876870b95
[   12.604596] Backport generated by backports.git v5.8-1-0-g79400d9e
[   12.668910] xt_time: kernel timezone is -0000
[   12.693678] random: crng init done
[   13.081029] PPP generic driver version 2.4.2
[   13.094232] NET: Registered protocol family 24
[   14.239275] ath10k 5.4 driver, optimized for CT firmware, probing pci device: 0x40.
[   14.247374] ath10k_mac_create, priv_size: 804  hw: 97bf64b5  hw->priv: c7d00963
[   14.257806] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[   14.264596] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   16.036920] ath10k_pci 0000:00:00.0: qca99x0 hw2.0 target 0x01000000 chip_id 0x003b01ff sub 168c:0002
[   16.046471] ath10k_pci 0000:00:00.0: kconfig debug 1 debugfs 1 tracing 0 dfs 1 testmode 0
[   16.065270] ath10k_pci 0000:00:00.0: firmware ver 10.4b-ct-9980-fW-13-10af6a005 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 4a0fa880
[   16.162208] ath10k_pci 0000:00:00.0: board_file api 2 bmi_id 1:1 crc32 08fa09f2
[   17.353958] ath10k_pci 0000:00:00.0: unsupported HTC service id: 1536
[   17.364779] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   17.372550] ath10k_pci 0000:00:00.0: msdu-desc: 2500  skid: 32
[   17.448463] ath10k_pci 0000:00:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   17.459794] ath10k_pci 0000:00:00.0: wmi print 'free: 31080 iram: 23092 sram: 9596'
[   17.722487] ath10k_pci 0000:00:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[   17.805953] ath: EEPROM regdomain sanitized
[   17.805962] ath: EEPROM regdomain: 0x64
[   17.805966] ath: EEPROM indicates we should expect a direct regpair map
[   17.805984] ath: Country alpha2 being used: 00
[   17.805987] ath: Regpair used: 0x64
[   17.923779] ath: EEPROM regdomain sanitized
[   17.923789] ath: EEPROM regdomain: 0x64
[   17.923792] ath: EEPROM indicates we should expect a direct regpair map
[   17.923811] ath: Country alpha2 being used: 00
[   17.923814] ath: Regpair used: 0x64
[   17.936067] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   17.939540] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2
[   18.018840] kmodloader: done loading kernel modules from /etc/modules.d/*
[   30.128185] eth0: link up (1000Mbps/Full duplex)
[   30.146897] br-lan: port 1(eth0.1) entered blocking state
[   30.152534] br-lan: port 1(eth0.1) entered disabled state
[   30.158435] device eth0.1 entered promiscuous mode
[   30.163431] device eth0 entered promiscuous mode
[   30.221011] br-lan: port 1(eth0.1) entered blocking state
[   30.226621] br-lan: port 1(eth0.1) entered forwarding state
[   31.149494] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   31.156565] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   32.009921] ath: EEPROM regdomain: 0x8348
[   32.009929] ath: EEPROM indicates we should expect a country code
[   32.009935] ath: doing EEPROM country->regdmn map search
[   32.009941] ath: country maps to regdmn code: 0x3a
[   32.009945] ath: Country alpha2 being used: US
[   32.009948] ath: Regpair used: 0x3a
[   32.009954] ath: regdomain 0x8348 dynamically updated by user
[   32.010026] ath: EEPROM regdomain: 0x8348
[   32.010029] ath: EEPROM indicates we should expect a country code
[   32.010034] ath: doing EEPROM country->regdmn map search
[   32.010039] ath: country maps to regdmn code: 0x3a
[   32.010042] ath: Country alpha2 being used: US
[   32.010045] ath: Regpair used: 0x3a
[   32.010049] ath: regdomain 0x8348 dynamically updated by user
[   34.709097] ath10k_pci 0000:00:00.0: unsupported HTC service id: 1536
[   34.716489] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   34.724287] ath10k_pci 0000:00:00.0: msdu-desc: 2500  skid: 32
[   34.800204] ath10k_pci 0000:00:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   34.811528] ath10k_pci 0000:00:00.0: wmi print 'free: 31080 iram: 23092 sram: 9596'
[   35.239194] ath10k_pci 0000:00:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[   35.257261] br-lan: port 2(wlan0) entered blocking state
[   35.262803] br-lan: port 2(wlan0) entered disabled state
[   35.268627] device wlan0 entered promiscuous mode
[   35.278233] ath10k_pci 0000:00:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   35.868492] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   35.875316] br-lan: port 2(wlan0) entered blocking state
[   35.880867] br-lan: port 2(wlan0) entered forwarding state
[   35.970076] ath10k_pci 0000:00:00.0: wmi: fixing invalid VHT TX rate code 0xff

Using [ath10k-firmware-qca99x0-ct - 2020-07-02-1 & kmod-ath10k - 5.4.72+5.8-1-1]

root@OpenWrt:~# iw dev wlan0 station dump
Station XX:XX:XX:XX:XX:XX (on wlan0)
	inactive time:	4 ms
	rx bytes:	565899
	rx packets:	3118
	tx bytes:	780134
	tx packets:	2370
	tx retries:	0
	tx failed:	0
	rx drop misc:	0
	signal:  	-42 [-50, -48, -45] dBm
	signal avg:	-40 [-47, -45, -42] dBm
	tx bitrate:	6.0 MBit/s
	tx duration:	1393575 us
	rx bitrate:	1300.0 MBit/s VHT-MCS 9 80MHz short GI VHT-NSS 3
	rx duration:	0 us
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		no
	TDLS peer:	no
	DTIM period:	2
	beacon interval:100
	short slot time:yes
	connected time:	67 seconds
	associated at [boottime]:	4685.320s
	associated at:	18446725628516418838 ms
	current time:	1546257928 ms
root@OpenWrt:~# hostapd_cli all_sta
Selected interface 'wlan0'
XX:XX:XX:XX:XX:XX
flags=[AUTH][ASSOC][AUTHORIZED][WMM][HT][VHT]
aid=1
capability=0x1
listen_interval=10
supported_rates=8c 12 98 24 b0 48 60 6c
timeout_next=NULLFUNC POLL
rx_packets=3951
tx_packets=3058
rx_bytes=745151
tx_bytes=1173711
inactive_msec=4
signal=-52
rx_rate_info=8775 vhtmcs 7 vhtnss 3
tx_rate_info=60
rx_vht_mcs_map=ffea
tx_vht_mcs_map=ffea
ht_mcs_bitmask=ffffff00000000000000
connected_time=80
min_txpower=2
max_txpower=32
vht_caps_info=0x0f8259b2
ht_caps_info=0x09ef
ext_capab=0400000000000040
root@OpenWrt:~# iw dev wlan0 info
Interface wlan0
	ifindex 11
	wdev 0x5
	addr b0:95:75:6d:f0:3d
	ssid OpenWrt
	type AP
	wiphy 0
	channel 149 (5745 MHz), width: 80 MHz, center1: 5775 MHz
	txpower 20.00 dBm
	multicast TXQ:
		qsz-byt	qsz-pkt	flows	drops	marks	overlmt	hashcol	tx-bytes	tx-packets
		0	0	0	0	0	0	0	0		0
root@OpenWrt:~# iw phy phy0 info
Wiphy phy0
	wiphy index: 0
	max # scan SSIDs: 16
	max scan IEs length: 199 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports RSN-IBSS.
	Device supports AP-side u-APSD.
	Supported Ciphers:
		* WEP40 (00-0f-ac:1)
		* WEP104 (00-0f-ac:5)
		* TKIP (00-0f-ac:2)
		* CCMP-128 (00-0f-ac:4)
		* CMAC (00-0f-ac:6)
		* CMAC-256 (00-0f-ac:13)
		* GMAC-128 (00-0f-ac:11)
		* GMAC-256 (00-0f-ac:12)
		* GCMP-128 (00-0f-ac:8)
		* GCMP-256 (00-0f-ac:9)
		* CCMP-256 (00-0f-ac:10)
	Available Antennas: TX 0x7 RX 0x7
	Configured Antennas: TX 0x7 RX 0x7
	Supported interface modes:
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
		 * P2P-client
		 * P2P-GO
		 * P2P-device
	Band 2:
		Capabilities: 0x19ef
			RX LDPC
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			RX STBC 1-stream
			Max AMSDU length: 7935 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-23
		VHT Capabilities (0x339a79b2):
			Max MPDU length: 11454
			Supported Channel Width: neither 160 nor 80+80
			RX LDPC
			short GI (80 MHz)
			TX STBC
			SU Beamformer
			SU Beamformee
			MU Beamformer
			MU Beamformee
			RX antenna pattern consistency
			TX antenna pattern consistency
		VHT RX MCS set:
			1 streams: MCS 0-9
			2 streams: MCS 0-9
			3 streams: MCS 0-9
			4 streams: not supported
			5 streams: not supported
			6 streams: not supported
			7 streams: not supported
			8 streams: not supported
		VHT RX highest supported: 0 Mbps
		VHT TX MCS set:
			1 streams: MCS 0-9
			2 streams: MCS 0-9
			3 streams: MCS 0-9
			4 streams: not supported
			5 streams: not supported
			6 streams: not supported
			7 streams: not supported
			8 streams: not supported
		VHT TX highest supported: 0 Mbps
		Bitrates (non-HT):
			* 6.0 Mbps
			* 9.0 Mbps
			* 12.0 Mbps
			* 18.0 Mbps
			* 24.0 Mbps
			* 36.0 Mbps
			* 48.0 Mbps
			* 54.0 Mbps
		Frequencies:
			* 5180 MHz [36] (23.0 dBm)
			* 5200 MHz [40] (23.0 dBm)
			* 5220 MHz [44] (23.0 dBm)
			* 5240 MHz [48] (23.0 dBm)
			* 5260 MHz [52] (23.0 dBm) (radar detection)
			* 5280 MHz [56] (23.0 dBm) (radar detection)
			* 5300 MHz [60] (23.0 dBm) (radar detection)
			* 5320 MHz [64] (23.0 dBm) (radar detection)
			* 5500 MHz [100] (23.0 dBm) (radar detection)
			* 5520 MHz [104] (23.0 dBm) (radar detection)
			* 5540 MHz [108] (23.0 dBm) (radar detection)
			* 5560 MHz [112] (23.0 dBm) (radar detection)
			* 5580 MHz [116] (23.0 dBm) (radar detection)
			* 5600 MHz [120] (23.0 dBm) (radar detection)
			* 5620 MHz [124] (23.0 dBm) (radar detection)
			* 5640 MHz [128] (23.0 dBm) (radar detection)
			* 5660 MHz [132] (23.0 dBm) (radar detection)
			* 5680 MHz [136] (23.0 dBm) (radar detection)
			* 5700 MHz [140] (23.0 dBm) (radar detection)
			* 5720 MHz [144] (23.0 dBm) (radar detection)
			* 5745 MHz [149] (30.0 dBm)
			* 5765 MHz [153] (30.0 dBm)
			* 5785 MHz [157] (30.0 dBm)
			* 5805 MHz [161] (30.0 dBm)
			* 5825 MHz [165] (30.0 dBm)
			* 5845 MHz [169] (disabled)
			* 5865 MHz [173] (disabled)
	Supported commands:
		 * new_interface
		 * set_interface
		 * new_key
		 * start_ap
		 * new_station
		 * new_mpath
		 * set_mesh_config
		 * set_bss
		 * authenticate
		 * associate
		 * deauthenticate
		 * disassociate
		 * join_ibss
		 * join_mesh
		 * remain_on_channel
		 * set_tx_bitrate_mask
		 * frame
		 * frame_wait_cancel
		 * set_wiphy_netns
		 * set_channel
		 * set_wds_peer
		 * probe_client
		 * set_noack_map
		 * register_beacons
		 * start_p2p_device
		 * set_mcast_rate
		 * testmode
		 * connect
		 * disconnect
		 * channel_switch
		 * set_qos_map
		 * set_multicast_to_unicast
	Supported TX frame types:
		 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
	Supported RX frame types:
		 * IBSS: 0x40 0xb0 0xc0 0xd0
		 * managed: 0x40 0xb0 0xd0
		 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * mesh point: 0xb0 0xc0 0xd0
		 * P2P-client: 0x40 0xd0
		 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * P2P-device: 0x40 0xd0
	software interface modes (can always be added):
		 * AP/VLAN
		 * monitor
	valid interface combinations:
		 * #{ managed } <= 1, #{ AP, mesh point } <= 16,
		   total <= 16, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz, 80+80 MHz, 160 MHz }

	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Device supports TX status socket option.
	Device supports HT-IBSS.
	Device supports SAE with AUTHENTICATE command
	Device supports scan flush.
	Device supports AP scan.
	Device supports per-vif TX power setting
	Driver supports full state transitions for AP/GO clients
	Driver supports a userspace MPM
	Driver/device bandwidth changes during BSS lifetime (AP/GO mode)
	Device supports static SMPS
	Device supports configuring vdev MAC-addr on create.
	Maximum associated stations in AP mode: 0
	Supported extended features:
		* [ VHT_IBSS ]: VHT-IBSS
		* [ RRM ]: RRM
		* [ SET_SCAN_DWELL ]: scan dwell setting
		* [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
		* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
		* [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
		* [ AQL ]: Airtime Queue Limits (AQL)
		* [ CONTROL_PORT_NO_PREAUTH ]: disable pre-auth over nl80211 control port support
		* [ SCAN_FREQ_KHZ ]: scan on kHz frequency support
		* [ CONTROL_PORT_OVER_NL80211_TX_STATUS ]: tx status for nl80211 control port support
root@OpenWrt:~# dmesg
[    0.000000] Linux version 5.4.72  (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r14736-6a56a6eb30)) #0 Thu Oct 22 14:13:38 2020
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is TP-Link EAP245 v3
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 288 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 121672K/131072K available (5052K kernel code, 312K rwdata, 1212K rodata, 1288K init, 206K bss, 9400K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] random: get_random_bytes called from start_kernel+0x3a4/0x590 with crng_init=0
[    0.000000] CPU clock: 775.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008221] Calibrating delay loop... 385.02 BogoMIPS (lpj=770048)
[    0.046723] pid_max: default: 32768 minimum: 301
[    0.051724] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059435] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.071493] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.081807] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.089101] pinctrl core: initialized pinctrl subsystem
[    0.095580] NET: Registered protocol family 16
[    0.127598] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.140855] clocksource: Switched to clocksource MIPS
[    0.181150] NET: Registered protocol family 2
[    0.186456] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.195329] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.203425] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.210874] TCP: Hash tables configured (established 1024 bind 1024)
[    0.217704] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.224641] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.232277] NET: Registered protocol family 1
[    0.236944] PCI: CLS 0 bytes, default 32
[    0.244573] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.257559] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.263754] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.288814] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.295899] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.303303] printk: console [ttyS0] disabled
[    0.307896] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.317005] printk: console [ttyS0] enabled
[    0.326063] printk: bootconsole [early0] disabled
[    0.351819] spi-nor spi0.0: w25q128 (16384 Kbytes)
[    0.356868] 10 fixed-partitions partitions found on MTD device spi0.0
[    0.363526] Creating 10 MTD partitions on "spi0.0":
[    0.368591] 0x000000000000-0x000000040000 : "factory-boot"
[    0.375148] 0x000000040000-0x000000080000 : "u-boot"
[    0.381258] 0x000000080000-0x000000090000 : "partition-table"
[    0.388084] 0x000000090000-0x0000000a0000 : "info"
[    0.393927] 0x0000000a0000-0x0000000b0000 : "art"
[    0.399672] 0x0000000b0000-0x0000000c0000 : "extra-para"
[    0.406085] 0x0000000c0000-0x000000f00000 : "firmware"
[    0.417643] 2 elf-loader-fw partitions found on MTD device firmware
[    0.424171] Creating 2 MTD partitions on "firmware":
[    0.429325] 0x000000000000-0x000000210000 : "kernel"
[    0.435349] 0x000000210000-0x000000e40000 : "rootfs"
[    0.441411] mtd: device 8 (rootfs) set to be root filesystem
[    0.449077] 1 squashfs-split partitions found on MTD device rootfs
[    0.455516] 0x0000005d0000-0x000000e40000 : "rootfs_data"
[    0.461967] 0x000000f00000-0x000000f30000 : "config"
[    0.468013] 0x000000f30000-0x000000fb0000 : "mutil-log"
[    0.474308] 0x000000fb0000-0x000000ff0000 : "oops"
[    0.482014] libphy: Fixed MDIO Bus: probed
[    1.137237] libphy: ag71xx_mdio: probed
[    1.142935] switch0: Atheros AR8337 rev. 2 switch registered on mdio.0
[    1.152879] random: fast init done
[    1.721333] ag71xx 19000000.eth: connected to PHY at mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    1.732602] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii
[    1.739209] i2c /dev entries driver
[    1.744590] NET: Registered protocol family 10
[    1.753757] Segment Routing with IPv6
[    1.757694] NET: Registered protocol family 17
[    1.762371] 8021q: 802.1Q VLAN Support v1.8
[    1.767446] PCI host bridge /ahb/pcie-controller@18250000 ranges:
[    1.773809]  MEM 0x0000000012000000..0x0000000013ffffff
[    1.779224]   IO 0x0000000000000000..0x0000000000000000
[    1.784793] PCI host bridge to bus 0000:00
[    1.789069] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    1.796181] pci_bus 0000:00: root bus resource [io  0x0000]
[    1.801950] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    1.808966] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.817181] pci 0000:00:00.0: [168c:0040] type 00 class 0x028000
[    1.823446] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    1.830596] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
[    1.836932] pci 0000:00:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    1.852061] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    1.858949] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    1.872068] VFS: Mounted root (squashfs filesystem) readonly on device 31:8.
[    1.886654] Freeing unused kernel memory: 1288K
[    1.891354] This architecture does not have kernel memory protection.
[    1.898004] Run /sbin/init as init process
[    2.529873] init: Console is alive
[    2.533706] init: - watchdog -
[    3.643607] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.802387] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.820321] init: - preinit -
[    4.827578] random: jshn: uninitialized urandom read (4 bytes read)
[    4.931977] random: jshn: uninitialized urandom read (4 bytes read)
[    5.031419] random: jshn: uninitialized urandom read (4 bytes read)
[    6.131039] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is up
[    6.144914] eth0: link up (1000Mbps/Full duplex)
[    6.158221] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.172985] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[    6.209112] urandom_read: 4 callbacks suppressed
[    6.209119] random: procd: uninitialized urandom read (4 bytes read)
[   10.439008] jffs2: notice: (533) jffs2_build_xattr_subsystem: complete building xattr subsystem, 18 of xdatum (15 unchecked, 3 orphan) and 26 of xref (3 dead, 0 orphan) found.
[   10.457361] mount_root: switching to jffs2 overlay
[   10.466432] overlayfs: upper fs does not support tmpfile.
[   10.476910] urandom-seed: Seeding with /etc/urandom.seed
[   10.577395] eth0: link down
[   10.599006] procd: - early -
[   10.602144] procd: - watchdog -
[   11.223676] procd: - watchdog -
[   11.227261] procd: - ubus -
[   11.375979] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.383540] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.391593] procd: - init -
[   12.153939] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.201002] Loading modules backported from Linux version v5.8-0-gbcf876870b95
[   12.208495] Backport generated by backports.git v5.8-1-0-g79400d9e
[   12.271793] xt_time: kernel timezone is -0000
[   12.606386] urngd: v1.0.2 started.
[   12.668904] PPP generic driver version 2.4.2
[   12.682215] NET: Registered protocol family 24
[   12.773573] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[   12.780355] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   12.826696] random: crng init done
[   14.665264] ath10k_pci 0000:00:00.0: Unknown FW IE: 30
[   14.670637] ath10k_pci 0000:00:00.0: qca99x0 hw2.0 target 0x01000000 chip_id 0x003b01ff sub 168c:0002
[   14.680175] ath10k_pci 0000:00:00.0: kconfig debug 1 debugfs 1 tracing 1 dfs 1 testmode 1
[   14.698951] ath10k_pci 0000:00:00.0: firmware ver 10.4b-ct-9980-fW-13-10af6a005 api 5 features mfp,peer-flow-ctrl crc32 4a0fa880
[   14.778343] ath10k_pci 0000:00:00.0: board_file api 2 bmi_id 1:1 crc32 08fa09f2
[   16.035965] ath10k_pci 0000:00:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[   16.121972] ath: EEPROM regdomain sanitized
[   16.121981] ath: EEPROM regdomain: 0x64
[   16.121985] ath: EEPROM indicates we should expect a direct regpair map
[   16.122003] ath: Country alpha2 being used: 00
[   16.122006] ath: Regpair used: 0x64
[   16.245810] ath: EEPROM regdomain sanitized
[   16.245821] ath: EEPROM regdomain: 0x64
[   16.245824] ath: EEPROM indicates we should expect a direct regpair map
[   16.245844] ath: Country alpha2 being used: 00
[   16.245847] ath: Regpair used: 0x64
[   16.258068] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   16.261529] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2
[   16.335237] kmodloader: done loading kernel modules from /etc/modules.d/*
[   28.438682] eth0: link up (1000Mbps/Full duplex)
[   28.453220] br-lan: port 1(eth0.1) entered blocking state
[   28.458848] br-lan: port 1(eth0.1) entered disabled state
[   28.464742] device eth0.1 entered promiscuous mode
[   28.469734] device eth0 entered promiscuous mode
[   28.528522] br-lan: port 1(eth0.1) entered blocking state
[   28.534153] br-lan: port 1(eth0.1) entered forwarding state
[   29.453481] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   29.460549] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   30.281854] ath: EEPROM regdomain: 0x8348
[   30.281861] ath: EEPROM indicates we should expect a country code
[   30.281867] ath: doing EEPROM country->regdmn map search
[   30.281873] ath: country maps to regdmn code: 0x3a
[   30.281877] ath: Country alpha2 being used: US
[   30.281880] ath: Regpair used: 0x3a
[   30.281886] ath: regdomain 0x8348 dynamically updated by user
[   30.281959] ath: EEPROM regdomain: 0x8348
[   30.281961] ath: EEPROM indicates we should expect a country code
[   30.281967] ath: doing EEPROM country->regdmn map search
[   30.281972] ath: country maps to regdmn code: 0x3a
[   30.281975] ath: Country alpha2 being used: US
[   30.281978] ath: Regpair used: 0x3a
[   30.281981] ath: regdomain 0x8348 dynamically updated by user
[   33.720640] br-lan: port 2(wlan0) entered blocking state
[   33.726187] br-lan: port 2(wlan0) entered disabled state
[   33.731993] device wlan0 entered promiscuous mode
[   34.427932] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   34.434737] br-lan: port 2(wlan0) entered blocking state
[   34.440284] br-lan: port 2(wlan0) entered forwarding state
Showing tasks 201 - 250 of 1029 Page 5 of 21<<First - 3 - 4 - 5 - 6 - 7 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing