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.

OpenedID  descCategoryTask TypePrioritySeveritySummaryReported InStatus
27.10.20203410Base systemBug ReportVery LowMediumbusybox ip cannot show all IPv6 routing table but localopenwrt-19.07Unconfirmed Task Description

In OpenWrt 19.07.4, ip from busybox can modify IPv6 routes in any table but it cannot show them. ip-full does not have any issues any issues:

# busybox ip -6 route add fdac:9818:b256:fe::6 dev wireguard table 22
# busybox ip -6 route show table 22
# ip -6 route show table 22 # ip form ip-full
fdac:9818:b256:fe::6 dev wireguard metric 1024 pref medium

It is not target specific. Tested with x86_64 and ath79

26.10.20203409Base systemBug ReportVery LowLowcan not connect to wifi after "WARNING" in klogTrunkUnconfirmed Task Description

On “TP-LINK TL-WDR4900 v1” with trunk r14723, i could
not connect to wifi anymore. I found this message in klog.
Executing ‘wifi’ fixed it.
I’am not 100% sure if this ‘WARNING’ is the root cause.


 3138.668410] ------------[ cut here ]------------
[ 3138.673122] WARNING: CPU: 0 PID: 9094 at backports-5.8-1/net/mac80211/ibss.c:1087 ieee80211_he_spr_ie_to_bss_conf+0x20c0/0x2168 [mac80211]
[ 3138.685541] Modules linked in: ath9k ath9k_common xt_connlimit nf_conncount iptable_nat ath9k_hw ath xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_NETMAP xt_MASQUERADE xt_FLOWOFFLOAD xt_CT nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 macvlan iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables compat sch_sfq sch_red sch_prio sch_pie sch_multiq sch_gred sch_fq sch_dsmark sch_codel em_text em_nbyte em_meta em_cmp act_simple act_police act_pedit act_ipt act_gact act_csum libcrc32c sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route
[ 3138.685685]  cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 nls_utf8 zram zsmalloc usb_storage gpio_keys leds_gpio fsl_mph_dr_of ehci_platform ehci_fsl scsi_mod ehci_hcd mbcache button_hotplug input_core usbcore usb_common crc32c_generic [last unloaded: sd_mod]
[ 3138.806062] CPU: 0 PID: 9094 Comm: kworker/u2:0 Not tainted 5.4.71 #0
[ 3138.812521] Workqueue: phy1 ieee80211_ibss_leave [mac80211]
[ 3138.818085] NIP:  c97538cc LR: c9753684 CTR: 00000000
[ 3138.823127] REGS: c79f7ac0 TRAP: 0700   Not tainted  (5.4.71)
[ 3138.828862] MSR:  00029000 <CE,EE,ME>  CR: 22002422  XER: 00000000
[ 3138.835038]
[ 3138.835038] GPR00: c9753540 c79f7b78 c791d4a0 00000000 c79f7bb0 00000000 00000001 00000000
[ 3138.835038] GPR08: c49a2d28 c49a2cf0 00000000 c41e4a8c c0016400 00000000 c004844c c4be3160
[ 3138.835038] GPR16: 00000000 00000000 00000fff 00000000 c4b0e130 c4341000 c4150c00 00000000
[ 3138.835038] GPR24: 00000000 c42a7080 c49a2d28 c4150c00 c4f3d3d8 00000087 c42a7070 c41e4460
[ 3138.869913] NIP [c97538cc] ieee80211_he_spr_ie_to_bss_conf+0x20c0/0x2168 [mac80211]
[ 3138.877576] LR [c9753684] ieee80211_he_spr_ie_to_bss_conf+0x1e78/0x2168 [mac80211]
[ 3138.885133] Call Trace:
[ 3138.887589] [c79f7b78] [c9753540] ieee80211_he_spr_ie_to_bss_conf+0x1d34/0x2168 [mac80211] (unreliable)
[ 3138.896990] [c79f7d08] [c9753e10] ieee80211_ibss_rx_queued_mgmt+0xcc/0x3dc [mac80211]
[ 3138.904828] [c79f7e28] [c9755aa8] ieee80211_ibss_leave+0xdbc/0x1c64 [mac80211]
[ 3138.912053] [c79f7e78] [c0042084] process_one_work+0x290/0x3dc
[ 3138.917879] [c79f7ea8] [c0042b20] worker_thread+0x88/0x4c8
[ 3138.923360] [c79f7ef8] [c004858c] kthread+0x140/0x144
[ 3138.928408] [c79f7f38] [c000f26c] ret_from_kernel_thread+0x14/0x1c
[ 3138.934577] Instruction dump:
[ 3138.937538] 39200001 7ea3ab78 993506f0 4801f779 4bfffb58 0fe00000 38bd0004 7f84e378
[ 3138.945282] 38c00018 7f63db78 4802bf65 4bffff78 <0fe00000> 8261015c 4bfffdbc 7f8b2040
[ 3138.953202] ---[ end trace 7041a104a2b1da00 ]---
26.10.20203408Base systemBug ReportVery LowLowDWC2 USB errors with Huawei E3372 4G dongle running in ...openwrt-19.07Unconfirmed Task Description

I have a BT Humehub 5A with a Huawei E3372 dongle, used purely for a backup for my VDSL connection, so only tested every few months, I noticed with 19.07.03 it wasn’t working, so I upgraded to 19.07.04 and it’s still not working.

It seems to initially “see” the dongle, then fail to talk to it

root@hh5a:~# dmesg|grep -i usb
[    0.374109] usbcore: registered new interface driver usbfs
[    0.379680] usbcore: registered new interface driver hub
[    0.385095] usbcore: registered new device driver usb
[    1.651958] USB_VBUS: disabling
[    3.779353] dwc2 1e101000.usb: 1e101000.usb supply vusb_d not found, using dummy regulator
[    3.786491] dwc2 1e101000.usb: 1e101000.usb supply vusb_a not found, using dummy regulator
[    3.794916] dwc2 1e101000.usb: dwc2_core_reset() HANG! AHB Idle GRSTCTL=0
[    4.001788] dwc2 1e101000.usb: DWC OTG Controller
[    4.005122] dwc2 1e101000.usb: new USB bus registered, assigned bus number 1
[    4.012215] dwc2 1e101000.usb: irq 62, io mem 0x1e101000
[    4.018987] hub 1-0:1.0: USB hub found
[   11.543311] usbcore: registered new interface driver cdc_wdm
[   11.902165] usbcore: registered new interface driver usbserial
[   11.906895] usbcore: registered new interface driver usbserial_generic
[   11.913296] usbserial: USB Serial support registered for generic
[   11.994648] usbcore: registered new interface driver cdc_ncm
[   12.039432] usbcore: registered new interface driver huawei_cdc_ncm
[   15.249532] usb 1-1: new high-speed USB device number 2 using dwc2
[   16.453533] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[   16.645469] usb 1-1: new high-speed USB device number 3 using dwc2
[   16.650389] dwc2 1e101000.usb: NYET/NAK/ACK/other in non-error case, 0x00000002
[   16.657632] dwc2 1e101000.usb: NYET/NAK/ACK/other in non-error case, 0x00000002
[   16.664934] dwc2 1e101000.usb: NYET/NAK/ACK/other in non-error case, 0x00000002
[   16.672397] dwc2 1e101000.usb: NYET/NAK/ACK/other in non-error case, 0x00000002
[   16.679561] dwc2 1e101000.usb: NYET/NAK/ACK/other in non-error case, 0x00000002
[   16.686865] dwc2 1e101000.usb: NYET/NAK/ACK/other in non-error case, 0x00000002
[   16.694339] dwc2 1e101000.usb: NYET/NAK/ACK/other in non-error case, 0x00000002
[   16.701495] dwc2 1e101000.usb: NYET/NAK/ACK/other in non-error case, 0x00000002
[   16.708802] dwc2 1e101000.usb: NYET/NAK/ACK/other in non-error case, 0x00000002
[   17.366922] usbcore: registered new interface driver option
[   17.371364] usbserial: USB Serial support registered for GSM modem (1-port)
[   17.925693] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[   17.931060] usb usb1-port1: attempt power cycle

Normally it would use /dev/ttyUSB0 but as a result of the above erros, no USB tty devices exist

root@hh5a:~# ls /dev/tty*
/dev/tty      /dev/ttyLTQ0
25.10.20203406KernelBug ReportVery LowHighproblems router ip address TrunkUnconfirmed Task Description

Hello all,

For some time I see that a problem persists when you want to change the ip address to access the router, this cannot be done from the luci web interface.
The following errors occurred after I connected to the web interface and I wanted to access 5ghz wifi from the phone it can no longer connect to wifi.

WRT1900ACS V2

BusyBox v1.31.1 () built-in shell (ash)

_______                     ________        __

| |.—–.—–.—–.| | | |.—-.| |_
| - || _ | -| || | | || _|| _|
|
_|| |_||||||| ||

        |__| W I R E L E S S   F R E E D O M

—————————————————– SuperWRT SNAPSHOT, r14664-156b72b9aa


root@swrt:~#
root@swrt:~# logread -f
Sun Oct 25 04:04:19 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED f4:bf :80:45:b0:96
Sun Oct 25 04:04:41 2020 kern.err kernel: [ 1284.577725] ieee80211 phy0: cmd 0×9 125=BAStream timed out
Sun Oct 25 04:04:41 2020 kern.err kernel: [ 1284.583157] ieee80211 phy0: return code: 0×1125 Sun Oct 25 04:04:41 2020 kern.err kernel: [ 1284.587705] ieee80211 phy0: timeout : 0×1125 Sun Oct 25 04:04:41 2020 kern.debug kernel: [ 1284.591972] ieee80211 phy0: MACRE G_REG_INT_CODE: 0×0000 Sun Oct 25 04:05:01 2020 kern.err kernel: [ 1304.601351] ieee80211 phy0: cmd 0×9122=UpdateEncryption timed out
Sun Oct 25 04:05:01 2020 kern.err kernel: [ 1304.607475] ieee80211 phy0: return code: 0×1122 Sun Oct 25 04:05:01 2020 kern.err kernel: [ 1304.612039] ieee80211 phy0: timeout: 0×1122 Sun Oct 25 04:05:01 2020 kern.err kernel: [ 1304.616246] wlan0: failed to remove key (0, f4:bf:80:45:b0:96) from hardware (-5)
Sun Oct 25 04:05:01 2020 kern.debug kernel: [ 1304.624282] ieee80211 phy0: MACREG_REG_INT_CODE: 0×0000 Sun Oct 25 04:05:21 2020 kern.err kernel: [ 1324.621009] ieee80211 phy0: cmd 0×9111=SetNewStation timed out
Sun Oct 25 04:05:21 2020 kern.err kernel: [ 1324.626872] ieee80211 phy0: return code: 0×1111 Sun Oct 25 04:05:21 2020 kern.err kernel: [ 1324.631456] ieee80211 phy0: timeout: 0×1111 Sun Oct 25 04:05:21 2020 daemon.notice hostapd: nl80211: nl80211_recv_beacons→nl_recvmsgs failed: -5
Sun Oct 25 04:05:21 2020 daemon.info hostapd: wlan0: STA f4:bf:80:45:b0:96 IEEE 802.11: deauthenticated due to local deauth request
Sun Oct 25 04:05:21 2020 kern.debug kernel: [ 1324.638249] ieee80211 phy0: MACREG_REG_INT_CODE: 0×0000 Sun Oct 25 04:05:41 2020 kern.err kernel: [ 1344.654692] ieee80211 phy0: cmd 0x801c=80211RadioControl timed out
Sun Oct 25 04:05:41 2020 kern.err kernel: [ 1344.660908] ieee80211 phy0: return code: 0x001c
Sun Oct 25 04:05:41 2020 kern.err kernel: [ 1344.665456] ieee80211 phy0: timeout: 0x001c
Sun Oct 25 04:05:41 2020 daemon.notice hostapd: Remove interface ‘wlan0’ Sun Oct 25 04:05:41 2020 daemon.notice hostapd: wlan0: interface state ENABLED→DISABLED
Sun Oct 25 04:05:41 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 00:0
Sun Oct 25 04:05:41 2020 daemon.notice hostapd: wlan0: AP-DISABLED
Sun Oct 25 04:05:41 2020 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Sun Oct 25 04:05:41 2020 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sun Oct 25 04:05:41 2020 daemon.err collectd[3056]: plugin_read_thread: read-function of the `iwinfo’ plugin took 62.271 seconds, which is above read interval (30.000 seconds). You might want to adjust the `Interval’ or `ReadThreads’ settings.
Sun Oct 25 04:05:41 2020 kern.info kernel: [ 1344.728857] device wlan0 left promiscuous mode
Sun Oct 25 04:05:41 2020 kern.info kernel: [ 1344.733375] br-lan: port 5(wlan0) entered disabled state
Sun Oct 25 04:05:41 2020 kern.debug kernel: [ 1344.769066] ieee80211 phy0: MACREG_REG_INT_CODE: 0×0000 Sun Oct 25 04:05:51 2020 daemon.notice netifd: radio0 (5952): Command failed: Request timed out
Sun Oct 25 04:05:55 2020 daemon.err uhttpd[2825]: luci: accepted login on / for root from 192.168.5.153
Sun Oct 25 04:06:01 2020 kern.err kernel: [ 1364.780388] ieee80211 phy0: cmd 0×9125=BAStream timed out
Sun Oct 25 04:06:01 2020 kern.err kernel: [ 1364.785813] ieee80211 phy0: return code: 0×1125 Sun Oct 25 04:06:01 2020 kern.err kernel: [ 1364.790370] ieee80211 phy0: timeout: 0×1125 Sun Oct 25 04:06:01 2020 kern.debug kernel: [ 1364.794609] ieee80211 phy0: MACREG_REG_INT_CODE: 0×0000 Sun Oct 25 04:06:21 2020 kern.err kernel: [ 1384.808104] ieee80211 phy0: cmd 0×9122=UpdateEncryption timed out
Sun Oct 25 04:06:21 2020 kern.err kernel: [ 1384.814227] ieee80211 phy0: return code: 0×1122 Sun Oct 25 04:06:21 2020 kern.err kernel: [ 1384.818785] ieee80211 phy0: timeout: 0×1122 Sun Oct 25 04:06:21 2020 kern.err kernel: [ 1384.822987] wlan0: failed to remove key (0, 0053:05) from hardware (-5)
Sun Oct 25 04:06:21 2020 kern.debug kernel: [ 1384.830595] ieee80211 phy0: MACREG_REG_INT_CODE: 0×0000 Sun Oct 25 04:06:41 2020 kern.err kernel: [ 1404.841802] ieee80211 phy0: cmd 0×9111=SetNewStation timed out
Sun Oct 25 04:06:41 2020 kern.err kernel: [ 1404.847662] ieee80211 phy0: return code: 0×1111 Sun Oct 25 04:06:41 2020 kern.err kernel: [ 1404.852219] ieee80211 phy0: timeout: 0×1111 Sun Oct 25 04:06:41 2020 kern.debug kernel: [ 1404.856494] ieee80211 phy0: MACREG_REG_INT_CODE: 0×0000 Sun Oct 25 04:07:01 2020 kern.err kernel: [ 1424.861434] ieee80211 phy0: cmd 0×9100=BssStart timed out
Sun Oct 25 04:07:01 2020 kern.err kernel: [ 1424.866858] ieee80211 phy0: return code: 0×1100 Sun Oct 25 04:07:01 2020 kern.err kernel: [ 1424.871418] ieee80211 phy0: timeout: 0×1100 Sun Oct 25 04:07:01 2020 kern.debug kernel: [ 1424.875624] ieee80211 phy0: change: 0×40 Sun Oct 25 04:07:01 2020 kern.debug kernel: [ 1424.879573] ieee80211 phy0: MACREG_REG_INT_CODE: 0×0000 Sun Oct 25 04:07:21 2020 kern.err kernel: [ 1444.891088] ieee80211 phy0: cmd 0×9114=SetApMode timed out
Sun Oct 25 04:07:21 2020 kern.err kernel: [ 1444.896600] ieee80211 phy0: return code: 0×1114 Sun Oct 25 04:07:21 2020 kern.err kernel: [ 1444.901159] ieee80211 phy0: timeout: 0×1114 Sun Oct 25 04:07:21 2020 kern.debug kernel: [ 1444.905360] ieee80211 phy0: MACREG_REG_INT_CODE: 0×0000 Sun Oct 25 04:07:41 2020 kern.err kernel: [ 1464.914770] ieee80211 phy0: cmd 0×8129=LinkAdaptCsMode timed out
Sun Oct 25 04:07:41 2020 kern.err kernel: [ 1464.920810] ieee80211 phy0: return code: 0×0129 Sun Oct 25 04:07:41 2020 kern.err kernel: [ 1464.925358] ieee80211 phy0: timeout: 0×0129 Sun Oct 25 04:07:41 2020 kern.debug kernel: [ 1464.929568] ieee80211 phy0: MACREG_REG_INT_CODE: 0×0000 Sun Oct 25 04:08:01 2020 kern.err kernel: [ 1484.928460] ieee80211 phy0: cmd 0×8120=80211hDetectRadar timed out
Sun Oct 25 04:08:01 2020 kern.err kernel: [ 1484.934670] ieee80211 phy0: return code: 0×0120 Sun Oct 25 04:08:01 2020 kern.err kernel: [ 1484.939228] ieee80211 phy0: timeout: 0×0120 Sun Oct 25 04:08:01 2020 kern.debug kernel: [ 1484.943430] ieee80211 phy0: MACREG_REG_INT_CODE: 0×0000 Sun Oct 25 04:08:21 2020 kern.err kernel: [ 1504.954202] ieee80211 phy0: cmd 0x810a=SetRfChannel timed out
Sun Oct 25 04:08:21 2020 kern.err kernel: [ 1504.959984] ieee80211 phy0: return code: 0x010a
Sun Oct 25 04:08:21 2020 kern.err kernel: [ 1504.964532] ieee80211 phy0: timeout: 0x010a
Sun Oct 25 04:08:21 2020 kern.debug kernel: [ 1504.968747] ieee80211 phy0: change: 0×100 Sun Oct 25 04:08:21 2020 kern.debug kernel: [ 1504.972773] ieee80211 phy0: MACREG_REG_INT_CODE: 0×0000 Sun Oct 25 04:08:42 2020 kern.err kernel: [ 1524.973915] ieee80211 phy0: cmd 0x801c=80211RadioControl timed out
Sun Oct 25 04:08:42 2020 kern.err kernel: [ 1524.980130] ieee80211 phy0: return code: 0x001c
Sun Oct 25 04:08:42 2020 kern.err kernel: [ 1524.984678] ieee80211 phy0: timeout: 0x001c
Sun Oct 25 04:08:42 2020 daemon.notice netifd: Network device ‘wlan0’ link is down
Sun Oct 25 04:08:42 2020 kern.debug kernel: [ 1524.990084] ieee80211 phy0: MACREG_REG_INT_CODE: 0×0000 Sun Oct 25 04:09:02 2020 kern.err kernel: [ 1544.989692] ieee80211 phy0: cmd 0×9122=UpdateEncryption timed out
Sun Oct 25 04:09:02 2020 kern.err kernel: [ 1544.995821] ieee80211 phy0: return code: 0×1122 Sun Oct 25 04:09:02 2020 kern.err kernel: [ 1545.000369] ieee80211 phy0: timeout: 0×1122 Sun Oct 25 04:09:02 2020 kern.err kernel: [ 1545.004570] wlan0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-5)
Sun Oct 25 04:09:02 2020 kern.debug kernel: [ 1545.012464] ieee80211 phy0: MACREG_REG_INT_CODE: 0×0000 Sun Oct 25 04:09:22 2020 kern.err kernel: [ 1565.023490] ieee80211 phy0: cmd 0×9111=SetNewStation timed out
Sun Oct 25 04:09:22 2020 kern.err kernel: [ 1565.029358] ieee80211 phy0: return code: 0×1111 Sun Oct 25 04:09:22 2020 kern.err kernel: [ 1565.033906] ieee80211 phy0: timeout: 0×1111 Sun Oct 25 04:09:22 2020 kern.debug kernel: [ 1565.038164] ieee80211 phy0: MACREG_REG_INT_CODE: 0×0000 Sun Oct 25 04:09:42 2020 kern.err kernel: [ 1585.033299] ieee80211 phy0: cmd 0x801c=80211RadioControl timed out
Sun Oct 25 04:09:42 2020 kern.err kernel: [ 1585.039519] ieee80211 phy0: return code: 0x001c
Sun Oct 25 04:09:42 2020 kern.err kernel: [ 1585.044070] ieee80211 phy0: timeout: 0x001c
Sun Oct 25 04:09:42 2020 kern.debug kernel: [ 1585.048285] ieee80211 phy0: MACREG_REG_INT_CODE: 0×0000 Sun Oct 25 04:09:42 2020 daemon.debug dnsmasq[3734]: stopped listening on wlan0(#21): f0d:10d1%wlan0 port 53
Sun Oct 25 04:09:42 2020 daemon.err nlbwmon[5172]: Netlink receive failure: Out of memory
Sun Oct 25 04:09:42 2020 daemon.err nlbwmon[5172]: Unable to dump conntrack: No buffer space available
Sun Oct 25 04:09:42 2020 daemon.err collectd[3056]: plugin_read_thread: read-function of the `iwinfo’ plugin took 238.479 seconds, which is above its read interval (30.000 seconds). You might want to adjust the `Interval’ or `ReadThreads’ settings.
Sun Oct 25 04:09:42 2020 daemon.notice hostapd: wlan1: interface state ENABLED→DISABLED
Sun Oct 25 04:09:42 2020 daemon.notice hostapd: wlan1: AP-DISABLED
Sun Oct 25 04:09:42 2020 daemon.notice hostapd: wlan1: CTRL-EVENT-TERMINATING
Sun Oct 25 04:09:42 2020 daemon.notice hostapd: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
Sun Oct 25 04:09:42 2020 kern.info kernel: [ 1585.235380] device wlan1 left promiscuous mode
Sun Oct 25 04:09:42 2020 kern.info kernel: [ 1585.239902] br-lan: port 6(wlan1) entered disabled state
Sun Oct 25 04:09:42 2020 kern.debug kernel: [ 1585.304638] ieee80211 phy1: change: 0×40 Sun Oct 25 04:09:42 2020 kern.debug kernel: [ 1585.355285] ieee80211 phy1: change: 0×100 Sun Oct 25 04:09:42 2020 daemon.notice netifd: Network device ‘wlan1’ link is down
Sun Oct 25 04:09:42 2020 daemon.debug dnsmasq[3734]: stopped listening on wlan1(#22): fe:10d0%wlan1 port 53
Sun Oct 25 04:09:42 2020 daemon.notice netifd: radio1 (6077): Command failed: Not found
Sun Oct 25 04:09:47 2020 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy1.conf (phy wlan1) –> new PHY
Sun Oct 25 04:09:47 2020 kern.debug kernel: [ 1590.515230] ieee80211 phy1: change: 0xffffffff
Sun Oct 25 04:09:47 2020 kern.info kernel: [ 1590.579817] br-lan: port 5(wlan1) entered blocking state
Sun Oct 25 04:09:47 2020 kern.info kernel: [ 1590.585173] br-lan: port 5(wlan1) entered disabled state
Sun Oct 25 04:09:47 2020 kern.info kernel: [ 1590.590650] device wlan1 entered promiscuous mode
Sun Oct 25 04:09:47 2020 daemon.notice hostapd: wlan1: interface state UNINITIALIZED→COUNTRY_UPDATE
Sun Oct 25 04:09:47 2020 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy0.conf (phy wlan0) –> new PHY
Sun Oct 25 04:09:47 2020 kern.debug kernel: [ 1590.597565] ieee80211 phy0: MACREG_REG_INT_CODE: 0×0000 Sun Oct 25 04:09:47 2020 kern.debug kernel: [ 1590.602837] ieee80211 phy0: MACREG_REG_INT_CODE: 0×0000 Sun Oct 25 04:10:07 2020 kern.err kernel: [ 1610.599047] ieee80211 phy0: cmd 0×8203=SetRateAdaptationMode timed out
Sun Oct 25 04:10:07 2020 kern.err kernel: [ 1610.605616] ieee80211 phy0: return code: 0×0203 Sun Oct 25 04:10:07 2020 kern.err kernel: [ 1610.610166] ieee80211 phy0: timeout: 0×0203 Sun Oct 25 04:10:07 2020 kern.debug kernel: [ 1610.614369] ieee80211 phy0: MACREG_REG_INT_CODE: 0×0000 Sun Oct 25 04:10:07 2020 daemon.err hostapd: Could not set interface wlan0 flags (UP): I/O error
Sun Oct 25 04:10:07 2020 daemon.err hostapd: nl80211: Could not set interface ‘wlan0’ UP
Sun Oct 25 04:10:07 2020 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sun Oct 25 04:10:07 2020 daemon.err hostapd: nl80211 driver initialization failed.
Sun Oct 25 04:10:07 2020 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Sun Oct 25 04:10:07 2020 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn’t started
Sun Oct 25 04:10:07 2020 daemon.notice netifd: radio0 (6041): Command failed: Invalid argument
Sun Oct 25 04:10:07 2020 kern.debug kernel: [ 1610.679517] ieee80211 phy1: change: 0×100 Sun Oct 25 04:10:07 2020 kern.debug kernel: [ 1610.692221] ieee80211 phy1: change: 0×42 Sun Oct 25 04:10:07 2020 kern.info kernel: [ 1610.815045] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
Sun Oct 25 04:10:07 2020 kern.info kernel: [ 1610.821506] br-lan: port 5(wlan1) entered blocking state
Sun Oct 25 04:10:07 2020 kern.info kernel: [ 1610.826854] br-lan: port 5(wlan1) entered forwarding state
Sun Oct 25 04:10:07 2020 daemon.notice netifd: Network device ‘wlan1’ link is up
Sun Oct 25 04:10:07 2020 daemon.notice hostapd: wlan1: interface state COUNTRY_UPDATE→ENABLED
Sun Oct 25 04:10:07 2020 daemon.notice hostapd: wlan1: AP-ENABLED
Sun Oct 25 04:10:08 2020 kern.debug kernel: [ 1611.658311] ieee80211 phy0: MACREG_REG_INT_CODE: 0×0000 Sun Oct 25 04:10:08 2020 kern.debug kernel: [ 1611.663573] ieee80211 phy0: MACREG_REG_INT_CODE: 0×0000 Sun Oct 25 04:10:28 2020 kern.err kernel: [ 1631.666840] ieee80211 phy0: cmd 0×8203=SetRateAdaptationMode timed out
Sun Oct 25 04:10:28 2020 kern.err kernel: [ 1631.673404] ieee80211 phy0: return code: 0×0203 Sun Oct 25 04:10:28 2020 kern.err kernel: [ 1631.677961] ieee80211 phy0: timeout: 0×0203 Sun Oct 25 04:10:28 2020 kern.debug kernel: [ 1631.682164] ieee80211 phy0: MACREG_REG_INT_CODE: 0×0000 Sun Oct 25 04:10:28 2020 daemon.notice netifd: radio0 (6041): RTNETLINK answers: I/O error
Sun Oct 25 04:10:28 2020 daemon.notice netifd: radio0 (6041): Interface 0 setup failed: IFUP_ERROR
Sun Oct 25 04:10:28 2020 daemon.debug dnsmasq[3734]: listening on wlan1(#25): fe8:10d0%wlan1 port 53

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
24.10.20203404PackagesBug ReportVery LowMediumzsh: cannot backspace when connected from openssh in tm...TrunkUnconfirmed Task Description

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

  • OpenWrt 19.07.4 r11208-ce6496d796
  • zsh - 5.6.2-2

- Steps to reproduce

 1. Start a tmux session on Linux PC
 2. Use ssh to connect to OpenWRT router, where the user uses zsh instead of zsh (i.e. the config in /etc/passwd looks like this `root:x:0:0:root:/root:/usr/bin/zsh`)
 3. Type arbitrary words and delete them by pressing Backspace key

- Expected behavior

 The chars are deleted

- Actual behavior

 A whitespace was appended to the char instead, as if we're typing the space key, but it's deleted internally: when pressing Enter to execute the command, what's been executed is the original command minus the deleted part

Note that I don’t have the issue when:
1. connecting to a normal Linux computer (the user’s shell is zsh ofc)
2. using the default busybox ash
3. executing ssh outside tmux, e.g. a normal Konsole terminal session

23.10.20203403PackagesBug ReportVery LowLowkmod-ath9k: Please enable "Support chips used in PC OEM...openwrt-19.07Unconfirmed Task Description

- Happens on all x86 targets
- Happens with trunk and 19.07.4
- To reproduce, run ip a in any x86 machine with an ath9k-compatible (mini-)PCIE wifi card installed. You will note that no relevant wireless interface is found.

Although this issue concerns the kmod-ath9k driver, it is not about the code itself; rather, the build system and the packaged modules.

Recently I tried to run OpenWRT on x86_64 machine that has an AR9462 mini-pcie wifi card installed.
Although lspci detected the card, no drivers were loaded for it, and the wireless interface does not show up with the ip command, even with the ath9k drivers installed.

I have found out that this is because support for PC OEM cards are not enabled by default. As a result, I had to build my own copy of OpenWRT from scratch with that option specifically turned on.
And even then, with matching versions (19.07.4), my install of OpenWRT complained that the package built had a different kernel version. I was unsure why, but I wasn’t interested in finding out and I simply forced the install.

I believe that the support for PC OEM cards for ath9k should be turned on by default for the x86 builds of the driver. People running OpenWRT on x86 are unlikely to run into serious space constraints.
Kindly consider my suggestion.

23.10.20203402Base systemBug ReportVery LowCriticalRUT955: Seriously brokenTrunkUnconfirmed Task Description

RS485 and RS232 (DB9) unusable on my recent RUT955, batch 84.
I want to use RS485 (in worst case, RS232) for modbus comms.

However, my custom built image basically works, incl. mqtt, mwan3, LTE (EC25) etc.
The firmware from TELTONIKA runs without problems.
For strange boot log, pls refere to
https://forum.openwrt.org/t/teltonika-rut955-tainted-kernel-ath1/77335/2

 


21.10.20203396Base systemBug ReportVery LowMediumfstools block insufficient target lengthTrunkUnconfirmed Task Description

In testing a new setup using a current trunk build on a ClearFog Base device with two SSD drives, I ran into the issue where the LVM path name for my preferred volume naming was too long for the fstools handling.

In at least mount_action() and mount_device() a local char[32] is used which in my case ended up being insufficient when attempting to use paths such as “/dev/mapper/vgA_samplehostname-volnamesomething”. For the time being I happen to be able to use the shorter version of “/dev/vgA_samplehostname/volnamesomething”, but it should be considered to expand the full device name buffer to a larger size.

18.10.20203393Base systemBug ReportMediumLowstdout flooded with openwrt/staging_dir/host/lib/libfak...TrunkNew Task Description

OpenWrt version: r14723-7f5f738466

Since some weeks/months, building an image floods my terminal with messages like this:

dlsym(acl_get_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_fd
dlsym(acl_get_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_file
dlsym(acl_set_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_fd
dlsym(acl_set_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_file
dlsym(acl_get_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_fd
dlsym(acl_get_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_file
dlsym(acl_set_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_fd
dlsym(acl_set_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_file
dlsym(acl_get_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_fd
dlsym(acl_get_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_file
dlsym(acl_set_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_fd
dlsym(acl_set_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_file
dlsym(acl_get_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_fd
dlsym(acl_get_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_file
dlsym(acl_set_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_fd
dlsym(acl_set_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_file
dlsym(acl_get_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_fd
dlsym(acl_get_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_file
dlsym(acl_set_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_fd
dlsym(acl_set_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_file
dlsym(acl_get_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_fd
dlsym(acl_get_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_file
dlsym(acl_set_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_fd
dlsym(acl_set_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_file
dlsym(acl_get_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_fd
dlsym(acl_get_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_file
dlsym(acl_set_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_fd
dlsym(acl_set_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_file
dlsym(acl_get_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_fd
dlsym(acl_get_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_file
dlsym(acl_set_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_fd
dlsym(acl_set_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_file
dlsym(acl_get_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_fd
dlsym(acl_get_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_file
dlsym(acl_set_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_fd
dlsym(acl_set_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_file
dlsym(acl_get_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_fd
dlsym(acl_get_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_file
dlsym(acl_set_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_fd
dlsym(acl_set_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_file
dlsym(acl_get_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_fd
dlsym(acl_get_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_file
dlsym(acl_set_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_fd
dlsym(acl_set_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_file
dlsym(acl_get_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_fd
dlsym(acl_get_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_file
dlsym(acl_set_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_fd
dlsym(acl_set_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_file
dlsym(acl_get_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_fd
dlsym(acl_get_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_file
dlsym(acl_set_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_fd
dlsym(acl_set_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_file
dlsym(acl_get_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_fd
dlsym(acl_get_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_file
dlsym(acl_set_fd): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_fd
dlsym(acl_set_file): /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_file

This is extremely annoying and should be fixed.

18.10.20203391Base systemBug ReportVery LowLowUML: boot: warning during early /sbin/initTrunkUnconfirmed Task Description

selfcompiled:
OpenWrt SNAPSHOT, r14721+18-4ff7bdfeeb

Image is working, so this seems to be cosmetic only.

[...]
[ 0.100000] Run /sbin/init as init process
[ 0.120000] init: Console is alive
[ 0.120000] harddog_open - run_helper failed, errno = -2
[ 0.120000] ————[ cut here ]———— [ 0.120000] WARNING: CPU: 0 PID: 1 at fs/open.c:832 do_dentry_open+0x31a/0×430 [ 0.120000] Modules linked in:
[ 0.120000] CPU: 0 PID: 1 Comm: init Not tainted 5.4.71 #0
[ 0.120000] Stack:
[ 0.120000] 607ae5d4 62433ae7 600385a0 00000009
[ 0.120000] 62433af8 00000000 00000000 60046361
[ 0.120000] f00000010 e00000011 606402b4 00000000
[ 0.120000] Call Trace:
[ 0.120000] [<6003b6e5>] ? os_is_signal_stack+0×15/0×30 [ 0.120000] [<60080115>] ? printk+0×0/0x9b
[ 0.120000] [<6001f677>] ? show_stack.cold+0xa7/0×110 [ 0.120000] [<600385a0>] ? os_pipe+0×0/0xd0
[ 0.120000] [<60046361>] ? warn.cold+0xc/0×39 [ 0.120000] [<6004645a>] ? warn_slowpath_fmt+0xcc/0xe2
[ 0.120000] [<6004638e>] ? warn_slowpath_fmt+0×0/0xe2
[ 0.120000] [<6030ac67>] ? misc_open+0×187/0x1d0
[ 0.120000] [<601504b0>] ? exact_match+0×0/0×10 [ 0.120000] [<60150fd1>] ? cdev_put.part.0+0×11/0×30 [ 0.120000] [<601510bd>] ? chrdev_open+0xcd/0x1a0
[ 0.120000] [<60150ff0>] ? chrdev_open+0×0/0x1a0
[ 0.120000] [<60147baa>] ? do_dentry_open+0x31a/0×430 [ 0.120000] [<6015c5b5>] ? path_openat+0×395/0×1660 [ 0.120000] [<60021f9e>] ? copy_chunk_to_user+0x1e/0×30 [ 0.120000] [<60021f80>] ? copy_chunk_to_user+0×0/0×30 [ 0.120000] [<600221ce>] ? do_op_one_page+0xfe/0×160 [ 0.120000] [<60021fea>] ? strncpy_chunk_from_user+0x3a/0×60 [ 0.120000] [<600220d0>] ? do_op_one_page+0×0/0×160 [ 0.120000] [<6015c220>] ? path_openat+0×0/0×1660 [ 0.120000] [<6015ecd9>] ? do_filp_open+0×89/0xf0
[ 0.120000] [<6016d670>] ? expand_files+0×0/0×220 [ 0.120000] [<6016de6e>] ?
alloc_fd+0x3e/0×170 [ 0.120000] [<604f0de0>] ? ptrace+0×0/0xd0
[ 0.120000] [<604f0de0>] ? ptrace+0×0/0xd0
[ 0.120000] [<6014916d>] ? do_sys_open+0x17d/0×240 [ 0.120000] [<604c2110>] ? __waitpid+0×0/0xa0
[ 0.120000] [<604f0de0>] ? ptrace+0×0/0xd0
[ 0.120000] [<60021f1f>] ? handle_syscall+0x6f/0xa0
[ 0.120000] [<6003e7c6>] ? userspace+0×366/0×500 [ 0.120000] [<6001de03>] ? new_thread_handler+0xb3/0xc0
[ 0.120000]
[ 0.120000] —[ end trace 8db4519d8907f435 ]— [ 0.140000] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[...]

17.10.20203390Base systemBug ReportVery LowLowIPv6 network stops working after a whileTrunkUnconfirmed Task Description

I have a Teltonika RUTX11 mobile internet router. It’s having issues that makes my router to loose IPv6 connectivity after a while.

root@Teltonika-RUTX11:~# ping6 ftp.sunet.se
PING ftp.sunet.se (2001:6b0:19::165): 56 data bytes
ping6: sendto: Permission denied

If I kill the odhcp6c process it will spawn a new process and IPv6 connectivity is restored for a while but in like 1-3 days It’s diving again.

I have logged a task at Teltonika but they haven’t been able to pinpoint where the issue is. I have tried starting the process with -v but it seems to not be able to give any more details in the logs.

The process is started with these arguments:

 odhcp6c -v -s /lib/netifd/dhcpv6.script -P0 -t120 qmimux0

Is there anything I can do to enable more logging to pinpoint the issue?

The /lib/netifd/dhcpv6.script file is quite massive:

 /proc/sys/net/ipv6/conf/$device/hop_limit
	[ -n "$RA_MTU" ] && [ "$RA_MTU" -ge 1280 ] && echo "$RA_MTU" > /proc/sys/net/ipv6/conf/$device/mtu 2>/dev/null
	[ -n "$RA_REACHABLE" ] && [ "$RA_REACHABLE" -gt 0 ] && echo "$RA_REACHABLE" > /proc/sys/net/ipv6/neigh/$device/base_reachable_time_ms
	[ -n "$RA_RETRANSMIT" ] && [ "$RA_RETRANSMIT" -gt 0 ] && echo "$RA_RETRANSMIT" > /proc/sys/net/ipv6/neigh/$device/retrans_time_ms
 
	proto_init_update "*" 1
 
	# Merge RA-DNS
	for radns in $RA_DNS; do
		local duplicate=0
		for dns in $RDNSS; do
			[ "$radns" = "$dns" ] && duplicate=1
		done
		[ "$duplicate" = 0 ] && RDNSS="$RDNSS $radns"
	done
 
	for dns in $RDNSS; do
		proto_add_dns_server "$dns"
	done
 
	for radomain in $RA_DOMAINS; do
		local duplicate=0
		for domain in $DOMAINS; do
			[ "$radomain" = "$domain" ] && duplicate=1
		done
		[ "$duplicate" = 0 ] && DOMAINS="$DOMAINS $radomain"
	done
 
	for domain in $DOMAINS; do
		proto_add_dns_search "$domain"
	done
 
	for prefix in $PREFIXES; do
		proto_add_ipv6_prefix "$prefix"
		prefsig="$prefsig ${prefix%%,*}"
		local entry="${prefix#*/}"
		entry="${entry#*,}"
		entry="${entry#*,}"
		local valid="${entry%%,*}"
 
		if [ -z "$RA_ADDRESSES" -a -z "$RA_ROUTES" -a \
				-z "$RA_DNS" -a "$FAKE_ROUTES" = 1 ]; then
			RA_ROUTES="::/0,$SERVER,$valid,4096"
		fi
	done
 
	for prefix in $USERPREFIX; do
		proto_add_ipv6_prefix "$prefix"
	done
 
	# Merge addresses
	for entry in $RA_ADDRESSES; do
		local duplicate=0
		local addr="${entry%%/*}"
		for dentry in $ADDRESSES; do
			local daddr="${dentry%%/*}"
			[ "$addr" = "$daddr" ] && duplicate=1
		done
		[ "$duplicate" = "0" ] && ADDRESSES="$ADDRESSES $entry"
	done
 
	for entry in $ADDRESSES; do
		local addr="${entry%%/*}"
		entry="${entry#*/}"
		local mask="${entry%%,*}"
		entry="${entry#*,}"
		local preferred="${entry%%,*}"
		entry="${entry#*,}"
		local valid="${entry%%,*}"
 
		proto_add_ipv6_address "$addr" "$mask" "$preferred" "$valid" 1
		addrsig="$addrsig $addr/$mask"
 
		if [ -z "$RA_ADDRESSES" -a -z "$RA_ROUTES" -a \
				-z "$RA_DNS" -a "$FAKE_ROUTES" = 1 ]; then
			RA_ROUTES="::/0,$SERVER,$valid,4096"
		fi
 
		# RFC 7278
		if [ "$mask" -eq 64 -a -z "$PREFIXES" -a -n "$EXTENDPREFIX" ]; then
			proto_add_ipv6_prefix "$addr/$mask,$preferred,$valid"
 
			local raroutes=""
			for route in $RA_ROUTES; do
				local prefix="${route%%/*}"
				local entry="${route#*/}"
				local pmask="${entry%%,*}"
				entry="${entry#*,}"
				local gw="${entry%%,*}"
 
				[ -z "$gw" -a "$mask" = "$pmask" ] && {
					case "$addr" in
						"${prefix%*::}"*) continue;;
					esac
				}
				raroutes="$raroutes $route"
			done
			RA_ROUTES="$raroutes"
		fi
	done
 
	for entry in $RA_ROUTES; do
		local duplicate=$NOSOURCEFILTER
		local addr="${entry%%/*}"
		entry="${entry#*/}"
		local mask="${entry%%,*}"
		entry="${entry#*,}"
		local gw="${entry%%,*}"
		entry="${entry#*,}"
		local valid="${entry%%,*}"
		entry="${entry#*,}"
		local metric="${entry%%,*}"
 
		for xentry in $RA_ROUTES; do
			local xprefix="${xentry%%,*}"
			xentry="${xentry#*,}"
			local xgw="${xentry%%,*}"
 
			[ -n "$gw" -a -z "$xgw" -a "$addr/$mask" = "$xprefix" ] && duplicate=1
		done
 
		if [ -z "$gw" -o "$duplicate" = 1 ]; then
			proto_add_ipv6_route "$addr" "$mask" "$gw" "$metric" "$valid"
		else
			for prefix in $PREFIXES $ADDRESSES; do
				local paddr="${prefix%%,*}"
				proto_add_ipv6_route "$addr" "$mask" "$gw" "$metric" "$valid" "$paddr"
			done
		fi
	done
 
	proto_add_data
	[ -n "$CER" ] && json_add_string cer "$CER"
	[ -n "$PASSTHRU" ] && json_add_string passthru "$PASSTHRU"
	[ -n "$ZONE" ] && json_add_string zone "$ZONE"
	proto_close_data
 
	proto_send_update "$INTERFACE"
 
	MAPTYPE=""
	MAPRULE=""
 
	if [ -n "$MAPE" -a -f /lib/netifd/proto/map.sh ]; then
		MAPTYPE="map-e"
		MAPRULE="$MAPE"
	elif [ -n "$MAPT" -a -f /lib/netifd/proto/map.sh -a -f /proc/net/nat46/control ]; then
		MAPTYPE="map-t"
		MAPRULE="$MAPT"
	elif [ -n "$LW4O6" -a -f /lib/netifd/proto/map.sh ]; then
		MAPTYPE="lw4o6"
		MAPRULE="$LW4O6"
	fi
 
	[ -n "$ZONE" ] || ZONE=$(fw3 -q network $INTERFACE 2>/dev/null)
 
	if [ "$IFACE_MAP" != 0 -a -n "$MAPTYPE" -a -n "$MAPRULE" ]; then
		[ -z "$IFACE_MAP" -o "$IFACE_MAP" = 1 ] && IFACE_MAP=${INTERFACE}_4
		json_init
		json_add_string name "$IFACE_MAP"
		json_add_string ifname "@$INTERFACE"
		json_add_string proto map
		json_add_string type "$MAPTYPE"
		json_add_string _prefsig "$prefsig"
		[ "$MAPTYPE" = lw4o6 ] && json_add_string _addrsig "$addrsig"
		json_add_string rule "$MAPRULE"
		json_add_string tunlink "$INTERFACE"
		[ -n "$ZONE_MAP" ] || ZONE_MAP=$ZONE
		[ -n "$ZONE_MAP" ] && json_add_string zone "$ZONE_MAP"
		[ -n "$ENCAPLIMIT_MAP" ] && json_add_string encaplimit "$ENCAPLIMIT_MAP"
		[ -n "$IFACE_MAP_DELEGATE" ] && json_add_boolean delegate "$IFACE_MAP_DELEGATE"
		json_close_object
		ubus call network add_dynamic "$(json_dump)"
	elif [ -n "$AFTR" -a "$IFACE_DSLITE" != 0 -a -f /lib/netifd/proto/dslite.sh ]; then
		[ -z "$IFACE_DSLITE" -o "$IFACE_DSLITE" = 1 ] && IFACE_DSLITE=${INTERFACE}_4
		json_init
		json_add_string name "$IFACE_DSLITE"
		json_add_string ifname "@$INTERFACE"
		json_add_string proto "dslite"
		json_add_string peeraddr "$AFTR"
		json_add_string tunlink "$INTERFACE"
		[ -n "$ZONE_DSLITE" ] || ZONE_DSLITE=$ZONE
		[ -n "$ZONE_DSLITE" ] && json_add_string zone "$ZONE_DSLITE"
		[ -n "$ENCAPLIMIT_DSLITE" ] && json_add_string encaplimit "$ENCAPLIMIT_DSLITE"
		[ -n "$IFACE_DSLITE_DELEGATE" ] && json_add_boolean delegate "$IFACE_DSLITE_DELEGATE"
		json_close_object
		ubus call network add_dynamic "$(json_dump)"
	elif [ "$IFACE_464XLAT" != 0 -a -f /lib/netifd/proto/464xlat.sh ]; then
		[ -z "$IFACE_464XLAT" -o "$IFACE_464XLAT" = 1 ] && IFACE_464XLAT=${INTERFACE}_4
		json_init
		json_add_string name "$IFACE_464XLAT"
		json_add_string ifname "@$INTERFACE"
		json_add_string proto "464xlat"
		json_add_string tunlink "$INTERFACE"
		json_add_string _addrsig "$addrsig"
		[ -n "$ZONE_464XLAT" ] || ZONE_464XLAT=$ZONE
		[ -n "$ZONE_464XLAT" ] && json_add_string zone "$ZONE_464XLAT"
		[ -n "$IFACE_464XLAT_DELEGATE" ] && json_add_boolean delegate "$IFACE_464XLAT_DELEGATE"
		json_close_object
		ubus call network add_dynamic "$(json_dump)"
	fi
 
	# TODO: $SNTP_IP $SIP_IP $SNTP_FQDN $SIP_DOMAIN
}
 
teardown_interface() {
	proto_init_update "*" 0
	proto_send_update "$INTERFACE"
}
 
case "$2" in
	bound)
		teardown_interface "$1"
		setup_interface "$1"
	;;
	informed|updated|rebound)
		setup_interface "$1"
	;;
	ra-updated)
		[ -n "$ADDRESSES$RA_ADDRESSES$PREFIXES$USERPREFIX" ] && setup_interface "$1"
	;;
	started|stopped|unbound)
		teardown_interface "$1"
	;;
esac
 
# user rules
[ -f /etc/odhcp6c.user ] && . /etc/odhcp6c.user "$@"
 
exit 0
>
14.10.20203386KernelBug ReportVery LowHighRegression: Broadcom Roboswitch B53TrunkUnconfirmed Task Description

Hi,

in the current trunk version, Broadcom Roboswitch will not work for certain router models. However, in the past it did work.

Building OpenWrt from scratch results in a working switch with v17.01.5 (from 15 Jul 2018 21:25:16) for target profile “Broadcom SOC, BCM43xx Wifi (brcmsmac)”. Building OpenWrt from scratch for v18.06.0 (from 30 Jul 2018 18:44:34) results in the switch not working for the same target. So the problematic commit must have been between 15 Jul 2018 and 30 Jul 2018, and the problem is still present today.


For v17.01.5

# dmesg | grep switch
[    3.596260] bgmac_bcma bcma0:2: Support for Roboswitch not implemented
[    3.683106] b53_common: found switch: BCM5325, rev 4

Despite the message “Roboswitch not implemented” the switch comes up automatically and I can ping other computers connected through the switch.

# swconfig dev switch0 show
Global attributes:
        enable_vlan: 1
        ports: 0x003f
Port 0:
        pvid: 2
        link: port:0 link:down
Port 1:
        pvid: 1
        link: port:1 link:down
Port 2:
        pvid: 1
        link: port:2 link:down
Port 3:
        pvid: 1
        link: port:3 link:up speed:100baseT full-duplex auto
Port 4:
        pvid: 1
        link: port:4 link:down
Port 5:
        pvid: 0
        link: port:5 link:up speed:100baseT full-duplex
VLAN 1:
        ports: 1 2 3 4 5t
VLAN 2:
        ports: 0 5t

For v18.06.0

# dmesg | grep switch
[    4.174603] bgmac_bcma bcma0:2: Support for Roboswitch not implemented
[    4.275337] b53_common: unsupported switch detected (BCM5304/BCM4)
[    4.281640] Broadcom B53 (2) bcma_mdio-0-0:1e: failed to register switch: -22

The switch does not come up and thus I cannot ping.


I tested this for the (unsuported) router Huawei B593u-12. You can find details about the router, logs, etc. under https://openwrt.org/toh/huawei/b593u-12

This also seems to address other routers, e.g. ZTE H218N, see https://forum.openwrt.org/t/b53-failed-to-detect-switch-on-bcm5358/20011

13.10.20203384Base systemBug ReportVery LowLowDescription of "Local Service Only" in dhcp and dns pag...TrunkUnconfirmed Task Description
  • Background

On the “DHCP and DNS” page of the graphical UI (LuCI), there is an option named “Local Service Only” with a description of the option. The option reads as follows:

“Limit DNS service to subnets interfaces on which we are serving DNS.”

This is a very confusing description of whatever it is this option is intended to do. For comparison, this is a bit like saying “Delivery of food is only provided in locations where we provide food delivery.”

There is an option in dnsmasq called “no-dhcp-interface” whose description is similar to the one provided for the option in question here; I am guessing that this might have been the intended treatment.

  • Version of openwrt:

OpenWrt 19.07.4 r11208-ce6496d796

  • Steps to reproduce:

See the option labeled “Local Service Only” on the LuCI page for “DHCP and DNS

  • Expected results:

Option description should match an option or combination of options available in dnsmasq in a clear, non-circular fashion.

  • Actual results:

Uncertainty as to what this option is supposed to do, written in an obvious and intuitive manner.

  • Workaround:

Avoiding any use of this option until its meaning is clarified in the description.

  • Additional:

It may be that the intention was to implement something like the no-dhcp-interface option of dnsmasq. I cannot tell from the UI, but the description as it stands seems to indicate that. Hopefully, clarifying what this option actually does do will help avoid confusing user support issues.

13.10.20203383WebsiteBug ReportVery LowMediumluci management webside - network - interface proto MAP...openwrt-19.07Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on mt7621
- Software versions of OpenWrt 19.07.03 19.07.04
- Steps to reproduce
first: select map-e support on menuconfig Network→map
select luci support on menuconfig Luci
second: update firmware, and then loggin to 192.168.1.1, network - interface - proto MAP/LW4over6
and error occur when click config apply

 
12.10.20203382KernelBug ReportVery LowHighmikrotik: rb-nor-flash-16M-ac-initramfs-kernel.bin does...openwrt-19.07Unconfirmed Task Description

Booting openwrt-19.07.4-ar71xx-mikrotik-rb-nor-flash-16M-ac-initramfs-kernel.bin via tftp. Relevant dmesg chunk at driver load demonstrating that only 2.4GHz interface is detected:

Tue Sep 8 07:29:00 2020 kern.debug kernel: [ 10.257636] ath: EEPROM regdomain: 0×0 Tue Sep 8 07:29:00 2020 kern.debug kernel: [ 10.257643] ath: EEPROM indicates default country code should be used
Tue Sep 8 07:29:00 2020 kern.debug kernel: [ 10.257646] ath: doing EEPROM country→regdmn map search
Tue Sep 8 07:29:00 2020 kern.debug kernel: [ 10.257659] ath: country maps to regdmn code: 0x3a
Tue Sep 8 07:29:00 2020 kern.debug kernel: [ 10.257663] ath: Country alpha2 being used: US
Tue Sep 8 07:29:00 2020 kern.debug kernel: [ 10.257666] ath: Regpair used: 0x3a
Tue Sep 8 07:29:00 2020 kern.debug kernel: [ 10.274863] ieee80211 phy0: Selected rate control algorithm ‘minstrel_ht’ Tue Sep 8 07:29:00 2020 kern.info kernel: [ 10.276460] ieee80211 phy0: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47

12.10.20203381Base systemBug ReportVery LowLowTrunk don't initialize pci cards at mt7621TrunkUnconfirmed Task Description

Trunk does not initialize pci adapter cards properly.

I’m using unielec mt7621 board with kind of Atheros miniPCIe cards? in this test installed AR9287 adapter.

Here is lspci and part of dmesg output from 19.07.4:

root@OpenWrt:~# lspci -v
02:00.0 Network controller: Qualcomm Atheros AR9287 Wireless Network Adapter (PCI-Express) (rev 01)
        Subsystem: Qualcomm Atheros Device 30a4
        Flags: fast devsel, IRQ 255
        Memory at 60200000 (64-bit, non-prefetchable) [disabled] [size=64K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [60] Express Legacy Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 00-15-17-ff-ff-24-14-12
        Capabilities: [170] Power Budgeting <?>

[    2.261556] pci 0000:02:00.0: [168c:002e] type 00 class 0x028000
[    2.261628] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    2.261756] pci 0000:02:00.0: supports D1
[    2.261764] pci 0000:02:00.0: PME# supported from D0 D1 D3hot

Here is lspci and part of dmesg output from trunk:

02:00.0 Ethernet controller: Qualcomm Atheros AR5008 Wireless Network Adapter (rev 01)
        Flags: fast devsel, IRQ 255
        Memory at 60200000 (64-bit, non-prefetchable) [disabled] [size=64K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [60] Express Legacy Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
        Capabilities: [170] Power Budgeting <?>

[    1.604742] pci 0000:02:00.0: [168c:ff1c] type 00 class 0x020000
[    1.610801] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    1.617717] pci 0000:02:00.0: supports D1
[    1.621723] pci 0000:02:00.0: PME# supported from D0 D1 D3hot

You may see the the trunk cannot see correct PCI ID and some pci parameters like device serial numbers. Also any wifi modules does not work (mac80211, etc).


11.10.20203379Base systemBug ReportVery LowMediumMissing switch0 LEDs in board definitionopenwrt-19.07Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: TP-Link WDR3600
- Software versions of OpenWrt/LEDE release, packages, etc.: OpenWrt 19.07.4 r11208-ce6496d796 / LuCI openwrt-19.07 branch git-20.247.75781-0d0ab01

LEDs of switch0 are missing in board definition thus missing in LuCi web interface on ath79 target.

 


11.10.20203378Base systemBug ReportVery LowMediumuhttpd randomly returns "400 Bad request"TrunkUnconfirmed Task Description

In recent trunk uhttpd (2020-08-05-212f8364-1) sometimes return http error 400 Bad request

when cl→state==CLIENT_STATE_INIT
ustream_get_read_buf should read http request starting with method (GET,POST)
and ending with request body

sometimes it reads previous request body followed by current request (GET ...........)
it looks like

<some_json_date>GET /cgi-bin/luci/....

then this block is passed to client_init_cb and client_parse_request
client_parse_request return CLIENT_STATE_DONE
and it triggers uh_header_error(cl, 400, “Bad Request”);

If I replace uhttpd binary with the one taken from 19.07 problem disappears (had to ln one .so to make it work)

09.10.20203373Base systemBug ReportVery LowHighIPV6 flow offload brokenTrunkUnconfirmed Task Description

Enabling this option makes the ipv6 connection unstable.

Example: connecting to #openwrt-devel from hexchat (Ubuntu) makes you constantly disconnect.
Disabling flow offload makes the connection stable.


09.10.20203372Base systemBug ReportVery LowCriticalAfter flashing 19.07.4 on Kingston MLWG2, no network ar...openwrt-19.07Unconfirmed Task Description

Just flashed 19.07.4 on Kingston MLWG2.

Followed online procedure found (copy image to SD card, touch special file, login via telnet on stock firmware, write image, reboot device) to flash OpenWRT.

After flash, device “seems” stuck dead (all leds are on, wired network irresponsive, no WiFi AP detected).

I have opened the device, soldered the serial console pins and accessere via serial console.

Device is actually booting perfectly, but both wired and wifi are not accessible.

1. I have WiFi enabled by setting “disabled = 0” in /etc/config/wireless to OpenWrt AP

2. I have Wired enabled by adding “option iface “eth0”” to the “lan” interface in /etc/config/network

3. Device now works great

Without these two changes, the device is as good as dead.

This is a peculiar device: only 1 ethernet port and 2.4Ghz Wifi. My guess something is wrong in the vlan/bridge/switch settings?

I hope a fix can be commited somehow so that future users do not end up with a dead-like device.

 


04.10.20203368Base systemBug ReportVery LowLowsysupgrade using CLI require downloading image from htt...openwrt-19.07Unconfirmed Task Description

Hi,

I would like to submit a feature/enhancement request more than a bug request.

Supply the following if possible:
- Device problem occurs on
tested on xiaomi mi wifi 3G v1 (https://openwrt.org/toh/hwdata/xiaomi/xiaomi_miwifi_3g)
but probably occuring for all devices
- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt 19.07.4
- Steps to reproduce
1/ upgrade to last stable firmware, so currently 19.07.4
2/ try to download the sysupgrade image
cd /tmp; wget –no-check-certificate “https://downloads.openwrt.org/releases/19.07.4/targets/ramips/mt7621/openwrt-19.07.4-ramips-mt7621-xiaomi_mir3g-squashfs-sysupgrade.bin” wget: SSL support not available, please install one of the libustream-.*[ssl|tls] packages as well as the ca-bundle and ca-certificates packages.

Since a few month, upgrade images have to be downloaded with https, because http requests are now redirected to https.
I also think that redirecting to https, can be a good idea.

Extract of https://openwrt.org/docs/guide-user/installation/sysupgrade.cli :
Download and check the firmware checksum with:
cd /tmp;wget $DOWNLOAD_LINK;wget $SHA256SUMS;sha256sum -c sha256sums 2>/dev/null|grep OK

When applied to my device and last stable release :
cd /tmp; wget –no-check-certificate “https://downloads.openwrt.org/releases/19.07.4/targets/ramips/mt7621/openwrt-19.07.4-ramips-mt7621-xiaomi_mir3g-squashfs-sysupgrade.bin” wget: SSL support not available, please install one of the libustream-.*[ssl|tls] packages as well as the ca-bundle and ca-certificates packages.

As discussed in forum (https://forum.openwrt.org/t/problem-downloading-openwrt-release-to-router-using-wget/63805), there are alternatives.

But, it’s a pain (at least not user friendly) to install a package, in order to download a new image to flash.
Can you add an ssl package to the default packages list ?

Another option is to permit download on http, but may not be the best idea.

I agree about the fact, that adding a package to all images is not so easy and maybe impossible due to space disk considerations.

As an openwrt user, I appreciate all the work, you are doing. Thank you for that project.

Regards,
Serge

03.10.20203367Base systemBug ReportVery LowMediumproblems in speed test on the Ethernet side TrunkUnconfirmed Task Description

Model router Linksys WRT1900ACS rev.v2
Architecture ARMv7 Processor rev 1 (v7l)
Firmware Version SNAPSHOT r14618-6f96a4d043 / LuCI Master git-20.267.53658-b17ec09
Kernel Version 5.4.68

Linksys WRT1900ACS v2 since it switched to this kernel version it no longer reaches a speed of 1Gbps on the wire, in speed test it reaches a maximum of 870Mbps!
DD-WRT, Linksys software manages to carry 1Gbps on the wire without problems!

 


30.09.20203366Base systemBug ReportVery LowMediumrouter keeps running out of memory, have to power cycle...openwrt-19.07Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
netgear r6350
- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt 19.07.4 r11208-ce6496d796 / LuCI openwrt-19.07 branch git-20.247.75781-0d0ab01
I installed ocserv too but I don’t think its the problem
- Steps to reproduce
Just let router run, maybe will stay up for a week and then at some point gui tells me can’t fork, I can’t login to router with ssh and I have to power cycle it.

I added swap space on a USB stick to try to keep it from locking up.
I’ve ssh’ed into and run the following to try to figure out what’s going on.

I expected to find a process growing but nothing looks obvious to me. I just see free memory keep going down, and I see a bit of swap space used.

Any suggestions on what else I could do to figure out what’s going on with the memory usage?

looking at meminfo it shows about ~100M used but the numbers don’t seem to add up to that.

while sleep 60
do
  date
  uptime
  top -b -n 1 | head -n 10
  ps w | awk '$3 > 4000'
  free -m
  cat /proc/meminfo
  printf "\n"
done

Here’s what 10 days looks like:

Wed Sep 30 00:56:16 EDT 2020
 00:56:16 up 10 days,  2:38,  load average: 0.00, 0.02, 0.00
Mem: 100276K used, 23496K free, 1076K shrd, 1832K buff, 4600K cached
CPU:   0% usr   0% sys   0% nic 100% idle   0% io   0% irq   0% sirq
Load average: 0.01 0.02 0.00 2/71 27832
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
27831  7096 root     R     1224   1%   0% top -b -n 1
 2175  2174 root     S     4912   4%   0% ocserv-sm
 2174     1 root     S     4740   4%   0% ocserv-main
  931     1 root     S     2324   2%   0% /sbin/rpcd -s /var/run/ubus.sock -t 30
 2001     1 root     S     1784   1%   0% /usr/sbin/hostapd -s -P /var/run/wifi-phy0.pid -B /var/run/hostapd-phy0.conf
 1077     1 root     S     1748   1%   0% /sbin/netifd
  PID USER       VSZ STAT COMMAND
 2174 root      4740 S    ocserv-main
 2175 root      4912 S    ocserv-sm
              total        used        free      shared  buff/cache   available
Mem:         123772       93796       23544        1076        6432        2604
Swap:        262140        1024      261116
MemTotal:         123772 kB
MemFree:           23500 kB
MemAvailable:       2560 kB
Buffers:            1832 kB
Cached:             4600 kB
SwapCached:          232 kB
Active:             5184 kB
Inactive:           3364 kB
Active(anon):       1120 kB
Inactive(anon):     2072 kB
Active(file):       4064 kB
Inactive(file):     1292 kB
Unevictable:           0 kB
Mlocked:               0 kB
HighTotal:             0 kB
HighFree:              0 kB
LowTotal:         123772 kB
LowFree:           23500 kB
SwapTotal:        262140 kB
SwapFree:         261116 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:          1960 kB
Mapped:             2136 kB
Shmem:              1076 kB
Slab:              11756 kB
SReclaimable:       1912 kB
SUnreclaim:         9844 kB
KernelStack:         624 kB
PageTables:          308 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      324024 kB
Committed_AS:       6680 kB
VmallocTotal:    1040376 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
28.09.20203365Base systemBug ReportVery LowCriticalaccess USB storage in LEDE for Talon AD7200TrunkUnconfirmed Task Description

Anybody have an ideal to access USB storage at Talon AD72000 with nexmon firmware? lede-ad7200?

Several ways I have tried:

1. search for path like `/mnt/dev` `/dev/`, I can see my usb flash disk led blinking and there show up the device after I insert the disk, but I can NOT cd into the disk

2. install other tool via `opkg`, especially Quick Start for Adding a USB drive, however, the whole OS will crash down when install `kmod-usb-storage` at step 3 and I have to start all over.

Let me know if any solution

Best.

24.09.20203360Base systemBug ReportVery LowLowmake with source files in package does not always rebui...AllUnconfirmed Task Description

Whilst working on a custom build it has been observed that if I have an openwrt package that includes a build/Prepare step which copies sourcecode from the packagedir to the build dir this does not always happen if the sourcecode has been modified.

I’ve tracked it down to the find_mds step which uses the find command to make a list of all the files in the package directory.

This list is passed to the mkhash utility on stdin, which produces the hash part of the .prepared file.

If the contents of the list change then the build/Prepare step is re-ran, which copies the source code from package dir to build dir.

However if the contents of the list have not changed then the build/Prepare step is not run leaving the old stale files in the build dir.

There are a few issues with the list method

The order of files is undefined, the list can change order resulting in a different hash causing false rebuild
If a file is modified it may not go to the end of the list, resulting in same list with same hash so no build when required.

By adding modified time after the filename, then sorting the list both the above two issues can be resolved.

I’ve made a potential fix here : https://github.com/openwrt/openwrt/pull/3445

I’ve tested my fix locally and I can see rebuilds only when I modify source.

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

 


23.09.20203359PackagesBug ReportVery LowMediumhttps-dns-proxy / luci-app-https-dns-proxy: expose a co...TrunkUnconfirmed Task Description

As per https://github.com/aarond10/https_dns_proxy, it supports `-v` for `Increase logging verbosity. (INFO)`. I’m encountering some problems with https-dns-proxy (https://github.com/aarond10/https_dns_proxy/issues/92) but I can’t troubleshoot them because there’s no way to pass `-v` to `https-dns-proxy` when started by luci-app-https-dns-proxy.

23.09.20203358PackagesBug ReportVery LowHighiwinfo.scan ubus call failed with latest uhttpdTrunkUnconfirmed Task Description

With latest uhttpd package (2020-09-18), the wireless scan failed in our MT7688 devices (ramps mt76x8). The original uhttpd (2020-08-05-212f8364) version works before.

The iwinfo.scan is using the nobatch=true flag when calling rpc.declare (luci/modules/luci-base/htdocs/luci-static/resources/network.js:83)

23.09.20203357PackagesBug ReportVery LowLowcollectd-mod-openvpn: can't enable pluginTrunkUnconfirmed Task Description

See the screenshot. Unlike other plugins, this one is missing “Enable this plugin” checkbox, and therefore, cannot be enabled via UI.

22.09.20203356PackagesBug ReportVery LowMediumhttps-dns-proxy: Luci interface breaks the configuratio...openwrt-19.07Unconfirmed Task Description

When you edit `/etc/config/https-dns-proxy` and set a custom server, not known to Luci HTML interface, the Luci UI at /cgi-bin/luci/admin/services/https-dns-proxy will display “CIRA Canadian Shield (Family)” as the selected resolver. This, by itself is not a problem yet, as the Proxy will function as expected.

However, the moment one makes any changes in the UI, e.g. changing listen port, `/etc/config/https-dns-proxy` will get rewritten and an actual resolver for CIRA Canadian Shield (Family) will be used.

Luci interface for HTTPS DNS Proxy should:

1. Bare minimum: indicate a custom resolver is used, and not lose the resolver after making changes to listen port and other stuff.
1. Nice to have: Allow a user to define a custom resolver in the UI - by specifying `resolver_url`, `bootstrap_dns`, `user` and `group` properties

The problem applies on any device as it’s not device-specific.

Reproduction instruction:

1. Edit `/etc/config/https-dns-proxy` and make it look like this:

```
config main ‘config’

      option update_dnsmasq_config '-'

config https-dns-proxy

      option listen_addr '127.0.0.1'
      option listen_port '5054'
      option user 'nobody'
      option group 'nogroup'
      option bootstrap_dns '1.1.1.1,1.0.0.1,2606:4700:4700::1111,2606:4700:4700::1001'
      option resolver_url 'https://1.1.1.1/dns-query'

```
2. Go to http://192.168.10.1/cgi-bin/luci/admin/services/https-dns-proxy and observe “CIRA Canadian Shield (Family)” as the selected resolver.
3. Change listen port and click Save & Apply.
4. Observe `/etc/config/https-dns-proxy` lose `resolver_url` setting.

21.09.20203355PackagesBug ReportVery LowLowUMDNS: does not start on master with seccomp TrunkUnconfirmed Task Description

UMDNS does not start on master with seccomp
this has bee tested on ramips (dir878 and redmiac2100)
if i comment out
# procd_set_param seccomp /etc/seccomp/umdns.json
from /etc/init.d/umdns

it works

20.09.20203353PackagesBug ReportVery LowMediumiproute2 compilation fails due to dynsyms syntax errorTrunkNew Task Description

Building master:

files="e_bpf.c em_canid.c em_cmp.c em_ipset.c em_ipt.c em_meta.c em_nbyte.c em_u32.c f_basic.c f_bpf.c f_cgroup.c f_flow.c f_flower.c f_fw.c f_matchall.c f_route.c f_rsvp.c f_tcindex.c f_u32.c m_action.c m_bpf.c m_connmark.c m_csum.c
m_ct.c m_ctinfo.c m_ematch.c m_estimator.c m_gact.c m_gate.c m_ife.c m_ipt.c m_mirred.c m_mpls.c m_nat.c m_pedit.c m_police.c m_sample.c m_simple.c m_skbedit.c m_skbmod.c m_tunnel_key.c m_vlan.c m_xt_old.c p_eth.c p_icmp.c p_ip.c p_ip
6.c p_tcp.c p_udp.c q_atm.c q_cake.c q_cbq.c q_cbs.c q_choke.c q_clsact.c q_codel.c q_drr.c q_dsmark.c q_etf.c q_ets.c q_fifo.c q_fq.c q_fq_codel.c q_fq_pie.c q_gred.c q_hfsc.c q_hhf.c q_htb.c q_ingress.c q_mqprio.c q_multiq.c q_netem
.c q_pie.c q_plug.c q_prio.c q_qfq.c q_red.c q_rr.c q_sfb.c q_sfq.c q_skbprio.c q_taprio.c q_tbf.c static-syms.c tc.c tc_cbq.c tc_class.c tc_core.c tc_estimator.c tc_exec.c tc_filter.c tc_monitor.c tc_qdisc.c tc_red.c tc_stab.c tc_uti
l.c" ; \
echo "{" > dynsyms.list ; \
for s in `grep -B 3 '\<dlsym' $files | sed -n '/snprintf/{s:.*"\([^"]*\)".*:\1:;s:%s::;p}'` ; do \
        sed -n '/'$s'[^ ]* =/{s:.* \([^ ]*'$s'[^ ]*\) .*:\1;:;p}' $files ; \
done >> dynsyms.list ; \
echo "show_stats; print_nl; print_tm; parse_rtattr; parse_rtattr_flags; get_u32; matches; addattr_l; addattr_nest; addattr_nest_end; };" >> dynsyms.list
    CC       m_xt.so
In file included from ../include/uapi/linux/netfilter_ipv4/ip_tables.h:21,
                 from m_xt.c:19:
../include/uapi/linux/if.h:134: warning: "IFF_VOLATILE" redefined
 #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|\

In file included from m_xt.c:16:
/home/user/dev/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/include/net/if.h:48: note: this is the location of the previous definition
 #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST| \

    CC       emp_ematch.tab.o
/home/user/dev/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/lib/gcc/mips-openwrt-linux-musl/8.4.0/../../../../mips-openwrt-linux-musl/bin/ld:dynsyms.list:0: syntax error in dynamic list
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:174: m_xt.so] Error 1

The dynsyms file contains:

$ cat ./build_dir/target-mips_24kc_musl/linux-ath79_generic/iproute2-tc/iproute2-5.8.0/tc/dynsyms.list
{
bpf_action_util;
connmark_action_util;
csum_action_util;
ct_action_util;
ctinfo_action_util;
gact_action_util;
gate_action_util;
ife_action_util;
ipt_action_util;
mirred_action_util;
mpls_action_util;
nat_action_util;
pedit_action_util;
police_action_util;
sample_action_util;
simple_action_util;
skbedit_action_util;
skbmod_action_util;
tunnel_key_action_util;
vlan_action_util;
ipt_action_util;
canid_ematch_util;
cmp_ematch_util;
ipset_ematch_util;
ipt_ematch_util;
meta_ematch_util;
nbyte_ematch_util;
u32_ematch_util;
p_pedit_eth;
p_pedit_icmp;
p_pedit_ip;
p_pedit_ip6;
p_pedit_tcp;
p_pedit_udp;
atm_qdisc_util;
cake_qdisc_util;
cbq_qdisc_util;
cbs_qdisc_util;
choke_qdisc_util;
clsact_qdisc_util;
codel_qdisc_util;
drr_qdisc_util;
dsmark_qdisc_util;
etf_qdisc_util;
ets_qdisc_util;
bfifo_qdisc_util;
pfifo_qdisc_util;
pfifo_head_drop_qdisc_util;
pfifo_fast_qdisc_util;
fq_qdisc_util;
fq_codel_qdisc_util;
fq_pie_qdisc_util;
gred_qdisc_util;
hfsc_qdisc_util;
hhf_qdisc_util;
htb_qdisc_util;
ingress_qdisc_util;
mqprio_qdisc_util;
multiq_qdisc_util;
netem_qdisc_util;
pie_qdisc_util;
plug_qdisc_util;
prio_qdisc_util;
qfq_qdisc_util;
red_qdisc_util;
rr_qdisc_util;
sfb_qdisc_util;
sfq_qdisc_util;
skbprio_qdisc_util;
taprio_qdisc_util;
tbf_qdisc_util;
basic_filter_util;
bpf_filter_util;
cgroup_filter_util;
flow_filter_util;
flower_filter_util;
fw_filter_util;
matchall_filter_util;
route_filter_util;
rsvp_filter_util;
rsvp6_filter_util;
tcindex_filter_util;
u32_filter_util;
bpf_exec_util;
show_stats; print_nl; print_tm; parse_rtattr; parse_rtattr_flags; get_u32; matches; addattr_l; addattr_nest; addattr_nest_end; };
 


20.09.20203352Base systemBug ReportVery LowMedium[dnsmasq] DHCP Option 6 doesn't proper auto-configuredTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

DHCP Options 6(DNS Server) doesn’t correctly set after re-enable dns role on dnsmasq.

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

LuCI Master (git-20.223.26773-d18ef13) / OpenWrt R20.8.27
DNSMasq Version 2.81
Unbound Version 1.10.1

- Steps to reproduce

1. According to OpenWRT Wiki, https://openwrt.org/docs/guide-user/base-system/dhcp_configuration#disabling_dns_role , Disable DNS Role first.
2. Re-Enable DNS Role by reverting the changes above or configure unbound DNS with LuCI, make sure to set unbound linked to dnsmasq as DHCP Server.
3. Whatever choice you made on step 2, DHCP Option 6 won’t be set. According to the capture by wireshark, the DHCP response packet does NOT contain any DNS Server related setting, which will finally lead Windows set 127.0.0.1 as DNS server and your internet connection won’t be detected.


19.09.20203350KernelBug ReportVery LowHighKernel Warning in module mac80211/tx.copenwrt-19.07Unconfirmed Task Description

Hi,

I am using the following with the latest update of openwrt:

Model Netgear R6220
Architecture MediaTek MT7621 ver:1 eco:3
Firmware Version OpenWrt 19.07.4 r11208-ce6496d796 / LuCI openwrt-19.07 branch git-20.260.30581-915a64c
Kernel Version 4.14.195

The problem occured already with 19.07.3 several times, so I upgraded to 19.07.4, but the problem remains.
The wifi module kept crashing and in consequence a part of the wifi devices cannot connect anymore. Sometimes the router
recovers by itself, sometimes not and a reboot is necessary to get wifi working again. It mostly affects the 2,4 GHz band
and not the 5 GHz band, but that might be related which device is renewing DHCP or which ones are not (I am not sure).
A reboot solves the problem, but after some time, the problem occurs again. After the below warning, the router runs without
further problems for 2 days now. So it seems pretty rare. Nevertheless, the same hardware was working fine with 18.x
openwrt for a year at least. No kernel warning at the time. I cannot completely rule out that the HW is broken as it is
of age, as you can see. Any hint on what I should report or test myself is welcome! I can help debug and even install
updates that should fix the problem, if necessary. The router ist just used as an access point - routing is taking
place elsewhere.

Here is the korresponding kernel warning, where I included the immediate log entries before and after:

Thu Sep 17 22:02:05 2020 daemon.notice hostapd: wlan1: DFS-RADAR-DETECTED freq=5680 ht_enabled=1 chan_offset=-1 chan_width=2 cf1=5670 cf2=0
Thu Sep 17 22:02:05 2020 daemon.notice hostapd: wlan1: DFS-NEW-CHANNEL freq=5220 chan=44 sec_chan=1
Thu Sep 17 22:02:05 2020 daemon.info hostapd: wlan1: IEEE 802.11 driver starting channel switch: freq=5220, ht=1, vht_ch=0×0, offset=1, width=2 (40 MHz), cf1=5230, cf2=0
Thu Sep 17 22:02:05 2020 daemon.notice hostapd: wlan1: CTRL-EVENT-STARTED-CHANNEL-SWITCH freq=5220 ht_enabled=1 ch_offset=1 ch_width=40 MHz cf1=5230 cf2=0 dfs=0
Thu Sep 17 22:02:06 2020 daemon.info hostapd: wlan1: IEEE 802.11 driver had channel switch: freq=5220, ht=1, vht_ch=0×0, offset=1, width=2 (40 MHz), cf1=5230, cf2=0
Thu Sep 17 22:02:06 2020 daemon.notice hostapd: wlan1: CTRL-EVENT-CHANNEL-SWITCH freq=5220 ht_enabled=1 ch_offset=1 ch_width=40 MHz cf1=5230 cf2=0 dfs=0
Thu Sep 17 22:02:06 2020 daemon.notice hostapd: wlan1: AP-CSA-FINISHED freq=5220 dfs=0
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.685439] ————[ cut here ]———— Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.694747] WARNING: CPU: 1 PID: 14 at backports-4.19.137-1/net/mac80211/tx.c:4292 0x877acbc4 [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.716632] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib 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 nfnetlink nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd gpio_button_hotplug
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.858467] usbcore nls_base usb_common
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.866285] CPU: 1 PID: 14 Comm: ksoftirqd/1 Not tainted 4.14.195 #0
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.878915] Stack : 00000000 00000000 00000000 86dae9b0 00000000 00000000 00000000 00000000
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.895548] 00000000 00000000 00000000 00000000 00000000 00000001 87c67b70 53261622
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.912178] 87c67c08 00000000 00000000 00006298 00000038 8049c858 00000008 00000000
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.928810] 00000000 80550000 000d37ed 00000000 87c67b50 00000000 00000000 877e7fd0
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.945442] 877acbc4 000010c4 86f0a480 86dae9b0 00000003 802ad210 00000004 806b0004
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.962073] ...
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.966931] Call Trace:
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.966973] [<8049c858>] 0x8049c858
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.978757] [<877acbc4>] 0x877acbc4 [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.990532] [<802ad210>] 0x802ad210
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.997462] [<8000c1a0>] 0x8000c1a0
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.004393] [<8000c1a8>] 0x8000c1a8
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.011325] [<804856b4>] 0x804856b4
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.018260] [<877acbc4>] 0x877acbc4 [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.030029] [<80072a84>] 0x80072a84
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.036956] [<8002e608>] 0x8002e608
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.043892] [<877acbc4>] 0x877acbc4 [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.055668] [<8002e6f0>] 0x8002e6f0
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.062600] [<80053b7c>] 0x80053b7c
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.069536] [<877acbc4>] 0x877acbc4 [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.081310] [<877af408>] 0x877af408 [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.093086] [<80067ca8>] 0x80067ca8
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.100018] [<80017f6c>] 0x80017f6c
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.106957] [<87777b90>] 0x87777b90 [mt76x02_lib@87770000+0×9700]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.119081] [<877af86c>] 0x877af86c [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.130870] [<87777bd0>] 0x87777bd0 [mt76x02_lib@87770000+0×9700]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.142999] [<877b65e0>] 0x877b65e0 [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.154789] [<877b66bc>] 0x877b66bc [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.166573] [<87774a94>] 0x87774a94 [mt76x02_lib@87770000+0×9700]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.178702] [<800329f4>] 0x800329f4
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.185630] [<804a3658>] 0x804a3658
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.192561] [<8004fd10>] 0x8004fd10
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.199494] [<8004fd10>] 0x8004fd10
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.206420] [<80032cc8>] 0x80032cc8
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.213348] [<8004feb8>] 0x8004feb8
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.220280] [<8049ebd8>] 0x8049ebd8
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.227208] [<8004bf38>] 0x8004bf38
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.234139] [<8004be08>] 0x8004be08
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.241070] [<8004be08>] 0x8004be08
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.248002] [<8004be08>] 0x8004be08
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.254933] [<80006f78>] 0x80006f78
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.261870]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.265166] —[ end trace 9a8b15fbb768cb19 ]— Thu Sep 17 22:02:06 2020 daemon.notice hostapd: wlan1: STA 6c:ad:f8:f1:5a:4b IEEE 802.11: did not acknowledge authentication response
Thu Sep 17 22:02:06 2020 daemon.notice hostapd: wlan1: STA 6c:ad:f8:f1:5a:4b IEEE 802.11: did not acknowledge authentication response

19.09.20203349PackagesBuild FailureVery LowLowlibustream: package/install file conflictsTrunkUnconfirmed Task Description

Reproduce the problem:
selecting `luci-ssl-openssl`

Collected errors:
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package libustream-openssl20200215.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
 *      luci-proto-ppp
 * opkg_install_cmd: Cannot install package luci.
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package luci-ssl-openssl.
pts (1.4.0-9) to root...
make[1]: *** [package/Makefile:68: package/install] Error 255
make[1]: Leaving directory '/media/builds/github-openwrt/openwrt'
make: *** [/media/builds/github-openwrt/openwrt/include/toplevel.mk:236: package/install] Error 2
Command exited with non-zero status 2
19.09.20203348PackagesBuild FailureVery LowLowlibustream: package/install file conflictsTrunkUnconfirmed Task Description

Reproduce the problem:
selecting `luci-ssl-openssl`

Collected errors:
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package libustream-openssl20200215.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
 *      luci-proto-ppp
 * opkg_install_cmd: Cannot install package luci.
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package luci-ssl-openssl.
pts (1.4.0-9) to root...
make[1]: *** [package/Makefile:68: package/install] Error 255
make[1]: Leaving directory '/media/builds/github-openwrt/openwrt'
make: *** [/media/builds/github-openwrt/openwrt/include/toplevel.mk:236: package/install] Error 2
Command exited with non-zero status 2
19.09.20203347PackagesBuild FailureVery LowLowlibustream: package/install file conflictsTrunkUnconfirmed Task Description

Reproduce the problem:
selecting `luci-ssl-openssl`

Collected errors:
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package libustream-openssl20200215.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
 *      luci-proto-ppp
 * opkg_install_cmd: Cannot install package luci.
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package luci-ssl-openssl.
pts (1.4.0-9) to root...
make[1]: *** [package/Makefile:68: package/install] Error 255
make[1]: Leaving directory '/media/builds/github-openwrt/openwrt'
make: *** [/media/builds/github-openwrt/openwrt/include/toplevel.mk:236: package/install] Error 2
Command exited with non-zero status 2
19.09.20203346PackagesBuild FailureVery LowMediumUbox invalid memory access (does not build with gcc10)TrunkUnconfirmed Task Description

See: https://git.openwrt.org/?p=project/ubox.git;a=blob;f=kmodloader.c;h=6f06ee3939f2f3e151357d33cfd165603cb40e4d;hb=HEAD#l699

Prints:

In function 'main_insmod',
    inlined from 'main' at /home/openwrt/openwrt-lam/build/archer-c7-v2eu/build_dir/target-mips_24kc_musl/ubox-2019-12-31-0e34af14/kmodloader.c:1062:10:
/home/openwrt/openwrt-lam/build/archer-c7-v2eu/build_dir/target-mips_24kc_musl/ubox-2019-12-31-0e34af14/kmodloader.c:734:13: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
  734 |  options[0] = 0;
      |  ~~~~~~~~~~~^~~
/home/openwrt/openwrt-lam/build/archer-c7-v2eu/build_dir/target-mips_24kc_musl/ubox-2019-12-31-0e34af14/kmodloader.c: In function 'main':
/home/openwrt/openwrt-lam/build/archer-c7-v2eu/build_dir/target-mips_24kc_musl/ubox-2019-12-31-0e34af14/kmodloader.c:727:12: note: at offset 0 to an object with size 0 allocated by 'malloc' here
  727 |  options = malloc(len);
      |            ^~~~~~~~~~~

Fix im using for my builds is attached.

Kind regards
MartB

17.09.20203345Base systemBug ReportVery LowCriticalWifi off TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on TP-Link TL-WR842N v5.
- OpenWrt/LEDE 19.07.04 with last updating.
- Just use wifi on the device. It have random wifi off about 1 min.
Log:
https://pastebin.com/c64H5kCR

15.09.20203340Base systemBuild FailureVery LowLowiproute2 broken on openwrt/packages CITrunkUnconfirmed Task Description

@hauke

It appears that iproute2 is not compiling on the openwrt packages continuous integration tests for arc_arc700 and arc_archs

https://github.com/openwrt/packages/pull/13169/checks?check_run_id=1115466649 https://github.com/openwrt/packages/pull/13169/checks?check_run_id=1115466679


14.09.20203338Base systemBug ReportVery LowHighTL-WR841N v13 (ramips) unstable Ethernet and WiFi in 19...openwrt-19.07Unconfirmed Task Description

I am using default build of OpenWRT 19.07.4 for TL-WR841N v13 without any additional packages. I have Ethernet PPPoE from provider, some ethernet and WiFi WPA2 clients. WiFi and Ethernet are unstable: they can disappear for 30-60 seconds without any serious reason. On 18.06.8 there wasn’t those problems. I attached system log. Thanks for help.

13.09.20203336Base systemBug ReportVery LowLowtrunk: generic/pending-5.4/770-11-net-ethernet-mtk_eth_...TrunkUnconfirmed Task Description

On current trunk the following file has a truncated extension

generic/pending-5.4/770-11-net-ethernet-mtk_eth_soc-avoid-rearming-interrupt-if.pa

the initial commit of this file

09.09.20203330Base systemBug ReportVery LowLowds-lite: too low default MTUopenwrt-19.07Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on TP-Link Archer C7 v5
- Software versions of OpenWrt/LEDE release, packages, etc.

OpenWrt 19.07.3 r11063-85e04e9f46 / LuCI openwrt-19.07 branch git-20.136.49537-fb2f363
ds-lite 7-4

- Steps to reproduce: install system, install ds-lite, the mtu for all dslite connections will be [1280|https://github.com/openwrt/openwrt/blob/master/package/network/ipv6/ds-lite/files/dslite.sh#L66] by default.

Because of it, if a VPN with ipv6 is used over ipv4, it’s completely broken.

tun0 w/ ipv6 -> [vpn client -> [dslite with mtu 1280] -> vpn server] -> private network

As far as I see, it should be relatively easy to make default MTU autoconfigurable with parent’s MTU-x (where 30 is 30, if I’m right)

06.09.20203329Base systemBug ReportVery LowMediumChannel 144 disabled for Europe regulatory domains when...TrunkUnconfirmed Task Description

This applies for all devices all releases.

iw list throws 5720 MHz [144] (disabled) for ES reg domain.

Channel 144 is allowed in all Europe and have the same rules as channel 140 for example, so it should be listed as:
5720 MHz [144] (26.0 dBm) (no IR, radar detection).

More info: https://en.wikipedia.org/wiki/List_of_WLAN_channels#5_GHz_or_5.9_GHz_(802.11a/h/j/n/ac/ax)

I’m not sure if this is the place to report because I think this is present also upstream in the kernel regulatory rules.

With 144 active is possible to have one more 20, 40 and 80 mhz band in Europe. The rest of the channels have been updated properly, even the 169 an 173 channels only usable in Europe and India appears as available. It’s just 144 the only one I see is not taken into account for Europe.

06.09.20203327Base systemBug ReportVery LowLowEthernet LED assignments incorrect on Linkysys WRT32Xopenwrt-19.07Unconfirmed Task Description

Device: Linksys WRT32X
OpenWRT version: OpenWrt 19.07.3 r11063-85e04e9f46

The LAN/WAN link LEDs seem to be incorrectly assigned in OpenWRT (offset by 1):

- LAN Port 1 link results in no LED lighting
- LAN Ports 2-4 light LAN link LEDs 1-3 respectively
- WAN port lights LAN LED 4

The WAN LED is assigned to the correct (and default) interface (eth1) in LUCI. The rest of the LEDs are not configurable, leading me to believe the issue is with indexing of the LEDs themselves, as opposed to LED-Port assignment.

06.09.20203326Base systemBug ReportVery LowLowArcher C7 v2 and TL-WR1043ND v2 doesn't broadcast prop...TrunkUnconfirmed Task Description

I was having issues to connect with the 2 GHz interfaces with a Intel 8265. The SSID is hardly seen by the client. I reported a bugs some time ago into iwlwifi module but today I have seen this:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=252197f014932c03cea7c080d8ab90e0a963a281

I think It could be related. I will need to test with ar71xx flashed to see if the problem dissapears but It seems very similar and also the affected interfaces are Atheros ones.

06.09.20203325Base systemBug ReportVery LowLowMT7628an: lose radio whilst downloading jarge dataTrunkUnconfirmed Task Description

Using a GL.inet MT300N-V2

For simple browsing this setup works well.
If I downlaod a large file, for example a Debina DVD, a few seconds varying to a few minutes into the download, the PC disconnect and the SSID vanishes in list. The PC cannot reconnect.

If I connect over WAN and resrart the radio under network wireless, I can reconnect.

Typically the download is occuring at 60mbits and the PC is connect at 144mbits. Mean Score 14-15.
If I use traffic shaping tbf on the output of the wireless interface, and throttle back to 35mbits (with occassional peak over 40mbits as tokens allow). I have very reliable wifi.

I cannot replicate on GL.iNET stick firmware using the closed source driver.

I am using a 2.1a power supply, so I think this is OK.
I am have replicated on multiple devices, so I do not think this is hhardware.
I live on a UK estate of multiple blocks of flats (arond about 16 blocks of 8 flats each). 2.4GHz wifi is very busy. After some grief discussion on forum, I believe the cause is wireless environmant.

The MT300N-V2 and PC are about 0.75m apart.

WAN: connection ethernet → ISP @ 120mbits
LAN: LAN switch port, with wireless bridge. PSK V2, Cipher auto, 20MHz width.

Given I think cause is environment, I think recreation might be tuff.
What tracing can I do to help?
I have nohup running, so I can run logread to a usb stick to get ths output?
Will this help?

git status shows I am up to date, I cloned 2020-09-01 not great with git so not sure how to get mroe info about version.

Thanks for your help
Simon

06.09.20203324Base systemBug ReportVery LowMediumZyxel EMG2926-Q10A (aka NBG6716) requires changes in tr...TrunkUnconfirmed Task Description

459c8c9ef816156107e297964d088ddee2b4eef5 added support for the Zyxel NBG6716 device. Unfortunately, I believe it made an error in the partition layout. Because the RAS image header is written to flash, the offsets for sub-partitions of firmware must be shifted down by the size of this header (i.e., 128KiB):

diff --git a/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts b/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts                                            
index 90328078dd..148a6ea2d1 100644
--- a/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts
+++ b/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts
@@ -148,14 +148,19 @@
                        reg = <0x500000 0x7b00000>;
                };

-               partition@500000 {
+               // There's a RAS image header inside the firmware partition,
+               // taking up one erase block (128KiB), so the kernel and ubi
+               // partitions are shifted by that amount.
+
+               partition@520000 {
+                       // JFFS2 containing the compressed kernel
                        label = "kernel";
-                       reg = <0x500000 0x400000>;
+                       reg = <0x520000 0x400000>;
                };

-               partition@900000 {
+               partition@920000 {
                        label = "ubi";
-                       reg = <0x900000 0x7700000>;
+                       reg = <0x920000 0x76C0000>;
                };
        };
 };

Without this change, the bootloader finds the kernel inside its JFFS2 partition just fine, but then the kernel dies when it cannot find the UBI header at the indicated offset.

It is not clear to me whether this change should be applied to all NBG6716-equivalent devices or merely the one I have in hand.

Speaking of, that device calls itself a AAVK-EMG2926Q10A in its RAS header and refuses to flash anything not so labeled. Therefore, I have added a target for it by lightly extending the existing one:

diff --git a/target/linux/ath79/dts/qca9558_zyxel_aavk-emg2926q10a.dts b/target/linux/ath79/dts/qca9558_zyxel_aavk-emg2926q10a.dts                          
new file mode 100644
index 0000000000..ec94aa0d73
--- /dev/null
+++ b/target/linux/ath79/dts/qca9558_zyxel_aavk-emg2926q10a.dts
@@ -0,0 +1,2 @@
+/* This is just an alias, really */
+#include "qca9558_zyxel_nbg6716.dts"
diff --git a/target/linux/ath79/image/nand.mk b/target/linux/ath79/image/nand.mk                                                                            
index ad79c487ad..7336dc45d7 100644
--- a/target/linux/ath79/image/nand.mk
+++ b/target/linux/ath79/image/nand.mk
@@ -263,3 +263,9 @@ define Device/zyxel_nbg6716
   UBINIZE_OPTS := -E 5
 endef
 TARGET_DEVICES += zyxel_nbg6716
+
+define Device/zyxel_aavk-emg2926q10a
+  $(call Device/zyxel_nbg6716)
+  RAS_BOARD := AAVK-EMG2926Q10A
+endef
+TARGET_DEVICES += zyxel_aavk-emg2926q10a

05.09.20203323KernelBug ReportVery LowLowBuffalo WZR-600DHP needs kmod-usb-ohci for USB to workopenwrt-19.07Unconfirmed Task Description

In both openwrt-15.05.1-ar71xx-generic-wzr-600dhp-squashfs-tftp.bin and openwrt-19.07.3-ar71xx-generic-wzr-600dhp-squashfs-sysupgrade.bin USB did not work. Power was available at the USB port, but plugging in various USB devices did absolutely nothing. I had to install kmod-usb-ohci to make USB start working.

I feel this is a bug because in 19.07.3 kmod-usb-ehci is already installed. So, one might think that required USB modules are there and something is wrong.

I tried both USB 1.1 and 2.0 high speed devices before. The ohci module is required even to use USB 2.0 high speed devices.

05.09.20203321Base systemBug ReportVery LowLowwireless phy, capable of bands g and a but set as AP to...TrunkUnconfirmed Task Description

OpenWrt SNAPSHOT, r14382+7-ad0f0df909
Ubiquiti Routerstation ar71xx with 3 pcs. PCIe 2.4/5 GHz radio
wlan0 set AP 5 GHz wlan1,2 set as AP 2.4 GHz

from dmesg:
daemon.notice hostapd: wlan2: DFS-CAC-COMPLETED success=1 freq=5640 ht_enabled=1 chan_offset=-1 chan_width=2 cf1=5630 cf2=0
daemon.warn hostapd: current_mode != IEEE80211A
daemon.notice hostapd: wlan1: DFS-CAC-COMPLETED success=1 freq=5640 ht_enabled=1 chan_offset=-1 chan_width=2 cf1=5630 cf2=0
daemon.warn hostapd: current_mode != IEEE80211A

When set to 2.4 GHz band no radar scan on 5 GHz band should be done but apparently it is being done. As the radio circuit cannot do G and A band service at the same time
this interferes with continuous service in the 80211 G band.
No idea where this 5630 GHz frequency stems from that the log shows. wlan1 is set to channel 12 and wlan2 to channel 1. Being AP they are not supposed to scan, let alone on 5 GHz.
iwinfo:
wlan0 ESSID: “some a”

        Access Point: 00:0C:42:xxxxxx
        Mode: Master  Channel: 128 (5.640 GHz)
        Tx-Power: 18 dBm  Link Quality: 70/70
        Signal: -29 dBm  Noise: -95 dBm
        Bit Rate: 81.0 MBit/s
        Encryption: WPA PSK (CCMP)
        Type: nl80211  HW Mode(s): 802.11abgn
        Hardware: 168C:0029 168C:4204 [Generic MAC80211]
        TX power offset: unknown
        Frequency offset: unknown
        Supports VAPs: yes  PHY name: phy0

wlan1 ESSID: “some b”

        Access Point: 00:1B:B1:xxxxxx
        Mode: Master  Channel: 12 (2.467 GHz)
        Tx-Power: 18 dBm  Link Quality: unknown/70
        Signal: unknown  Noise: -95 dBm
        Bit Rate: unknown
        Encryption: WPA PSK (CCMP)
        Type: nl80211  HW Mode(s): 802.11abgn
        Hardware: 168C:0029 168C:2096 [Generic MAC80211]
        TX power offset: unknown
        Frequency offset: unknown
        Supports VAPs: yes  PHY name: phy1

wlan2 ESSID: “some c”

        Access Point: 00:0C:42:xxxxxx
        Mode: Master  Channel: 1 (2.412 GHz)
        Tx-Power: 16 dBm  Link Quality: unknown/70
        Signal: unknown  Noise: -95 dBm
        Bit Rate: unknown
        Encryption: WPA PSK (CCMP)
        Type: nl80211  HW Mode(s): 802.11abgn
        Hardware: 168C:0029 168C:4204 [Generic MAC80211]
        TX power offset: unknown
        Frequency offset: unknown
        Supports VAPs: yes  PHY name: phy2
Showing tasks 101 - 150 of 1029 Page 3 of 21 - 1 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing