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.

OpenedIDCategoryTask TypePrioritySeveritySummaryReported InStatus
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


15.09.20203339Base systemBug ReportVery LowMedium[netifd] potential kernel memory leakTrunkUnconfirmed Task Description
  • mvebu
  • self-compiled kernel 5.9 with memleak detection enabled
  • netifd 2020-09-12-55a7b6b7-1

—-

echo clear > /sys/kernel/debug/kmemleak
echo scan > /sys/kernel/debug/kmemleak
cat /sys/kernel/debug/kmemleak


  unreferenced object 0xe9400000 (size 8896):
  comm "netifd", pid 2314, jiffies 4294824963 (age 12186.578s)
  hex dump (first 32 bytes):
    00 00 40 e9 00 00 00 00 00 00 00 00 00 00 00 00  ..@.............
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<6c721e2f>] hwbm_pool_refill+0x50/0x88
    [<7e7e2552>] hwbm_pool_add+0x6c/0x11c
    [<092daf5d>] mvneta_bm_update_mtu+0x64/0x1ac
    [<25a31bd5>] mvneta_change_mtu+0xa4/0x140
    [<b80b104c>] dev_set_mtu_ext+0xd8/0x198
    [<28e7b11b>] dev_set_mtu+0x44/0xa4
    [<82387d21>] dsa_slave_change_mtu+0x134/0x20c
    [<b80b104c>] dev_set_mtu_ext+0xd8/0x198
    [<28e7b11b>] dev_set_mtu+0x44/0xa4
    [<61c48941>] dev_ioctl+0x31c/0x464
    [<2480ee5a>] sock_ioctl+0x2e4/0x664
    [<406a3520>] sys_ioctl+0x90/0xbc
    [<31543a6f>] ret_fast_syscall+0x0/0x54
    [<784618c7>] 0xbecaaad8
unreferenced object 0xea92c000 (size 8896):
  comm "netifd", pid 2314, jiffies 4294824965 (age 12186.574s)
  hex dump (first 32 bytes):
    00 c0 92 ea 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<6c721e2f>] hwbm_pool_refill+0x50/0x88
    [<7e7e2552>] hwbm_pool_add+0x6c/0x11c
    [<092daf5d>] mvneta_bm_update_mtu+0x64/0x1ac
    [<25a31bd5>] mvneta_change_mtu+0xa4/0x140
    [<b80b104c>] dev_set_mtu_ext+0xd8/0x198
    [<28e7b11b>] dev_set_mtu+0x44/0xa4
    [<82387d21>] dsa_slave_change_mtu+0x134/0x20c
    [<b80b104c>] dev_set_mtu_ext+0xd8/0x198
    [<28e7b11b>] dev_set_mtu+0x44/0xa4
    [<61c48941>] dev_ioctl+0x31c/0x464
    [<2480ee5a>] sock_ioctl+0x2e4/0x664
    [<406a3520>] sys_ioctl+0x90/0xbc
    [<31543a6f>] ret_fast_syscall+0x0/0x54
    [<784618c7>] 0xbecaaad8


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

11.09.20203332Base systemBug ReportVery LowHighpacket loss on miwifi-mini @ 19.07.4openwrt-19.07Assigned Task Description

mt7620 / miwifi-mini
19.07.3 works fine
19.07.4 works bad:

kern.err kernel: [ 6615.438086] mtk_soc_eth 10100000.ethernet eth0: transmit timed out
kern.info kernel: [ 6615.444416] mtk_soc_eth 10100000.ethernet eth0: dma_cfg:80000065
kern.info kernel: [ 6615.450586] mtk_soc_eth 10100000.ethernet eth0: tx_ring=0, base=07780000, max=1024, ctx=17, dtx=17, fdx=16, next=17
kern.info kernel: [ 6615.461258] mtk_soc_eth 10100000.ethernet eth0: rx_ring=0, base=06408000, max=1024, calc=47, drx=48
kern.err kernel: [ 6619.306350] mtk_soc_eth 10100000.ethernet eth0: transmit timed out
kern.info kernel: [ 6619.312684] mtk_soc_eth 10100000.ethernet eth0: dma_cfg:80000065
kern.info kernel: [ 6619.318854] mtk_soc_eth 10100000.ethernet eth0: tx_ring=0, base=07780000, max=1024, ctx=28, dtx=28, fdx=16, next=28
kern.info kernel: [ 6619.329525] mtk_soc_eth 10100000.ethernet eth0: rx_ring=0, base=06470000, max=1024, calc=63, drx=64
kern.err kernel: [ 6623.157217] mtk_soc_eth 10100000.ethernet eth0: transmit timed out
kern.info kernel: [ 6623.163553] mtk_soc_eth 10100000.ethernet eth0: dma_cfg:80000065
kern.info kernel: [ 6623.169720] mtk_soc_eth 10100000.ethernet eth0: tx_ring=0, base=07780000, max=1024, ctx=25, dtx=25, fdx=16, next=25
kern.info kernel: [ 6623.180398] mtk_soc_eth 10100000.ethernet eth0: rx_ring=0, base=06408000, max=1024, calc=59, drx=60
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.20203328Base systemBug ReportVery LowLowucert: dyld: Library not loaded: libjson-c.5.dylib on m...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
macOS X 10.15.6

- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWRT master 252197f014932c03cea7c080d8ab90e0a963a281
ucert 2020-05-24 00b921d80ac0dc47339305d803f865ff43c56d63
json-c 0.14

- Steps to reproduce
Clone the OpenWRT.git and try to compile it on macOS X 10.15.6

cd /Volumes/WRT3200.test
rm -rf openwrt
git clone https://github.com/openwrt/openwrt.git
cd openwrt
./scripts/feeds update -a
./scripts/feeds install -a
make defconfig
make menuconfig
# Select any target, e.g. Target System = Marvel EBU Armada, Target Profile = Linksys WRT3200ACM
# the multi-threaded build fails, but saves some time
make -j 12
make V=sc

...
make[3]: Entering directory '/Volumes/WRT3200.test/openwrt/package/base-files'
...
[ -s /Volumes/WRT3200.test/openwrt/key-build.ucert ] || /Volumes/WRT3200.test/openwrt/staging_dir/host/bin/ucert -I -c /Volumes/WRT3200.test/openwrt/key-build.ucert -p /Volumes/WRT3200.test/openwrt/key-build.pub -s /Volumes/WRT3200.test/openwrt/key-build
dyld: Library not loaded: libjson-c.5.dylib
  Referenced from: /Volumes/WRT3200.test/openwrt/staging_dir/host/bin/ucert
  Reason: image not found
bash: line 1: 22681 Abort trap: 6           /Volumes/WRT3200.test/openwrt/staging_dir/host/bin/ucert -I -c /Volumes/WRT3200.test/openwrt/key-build.ucert -p /Volumes/WRT3200.test/openwrt/key-build.pub -s /Volumes/WRT3200.test/openwrt/key-build
make[3]: *** [Makefile:229: /Volumes/WRT3200.test/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/base-files/.configured_4a9c46a6557bf47f111f9c7c4b182824_8e081b74cf069e1e6800a5bbcbb282f0] Error 134
make[3]: Leaving directory '/Volumes/WRT3200.test/openwrt/package/base-files'
time: package/base-files/compile#0.50#0.28#0.85
make[2]: *** [package/Makefile:113: package/base-files/compile] Error 2
make[2]: Leaving directory '/Volumes/WRT3200.test/openwrt'
make[1]: *** [package/Makefile:107: /Volumes/WRT3200.test/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/Volumes/WRT3200.test/openwrt'
make: *** [/Volumes/WRT3200.test/openwrt/include/toplevel.mk:235: world] Error 2

Dependancies for ucert

otool -L staging_dir/host/bin/ucert 
staging_dir/host/bin/ucert:
	@rpath/libubox.dylib (compatibility version 0.0.0, current version 0.0.0)
	@rpath/libblobmsg_json.dylib (compatibility version 0.0.0, current version 0.0.0)
	libjson-c.5.dylib (compatibility version 5.0.0, current version 5.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.100.1)

ls -l staging_dir/host/lib/libjson-c*
-rwxr-xr-x  1 g  staff  65680 Sep  6 23:12 staging_dir/host/lib/libjson-c.5.0.0.dylib
lrwxr-xr-x  1 g  staff     21 Sep  6 23:12 staging_dir/host/lib/libjson-c.5.dylib -> libjson-c.5.0.0.dylib
lrwxr-xr-x  1 g  staff     17 Sep  6 23:12 staging_dir/host/lib/libjson-c.dylib -> libjson-c.5.dylib

Workaround

cp staging_dir/host/lib/libjson-c.5.dylib package/base-files/
make -j 12
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
05.09.20203320Base systemBug ReportVery LowLowUbiquiti Routerstation compilation produces no sysupgra...TrunkUnconfirmed Task Description

OpenWrt SNAPSHOT, r14382+7-ad0f0df909
When compiling e.g. for another Ubiquiti device like Bullet XW, factory and sysupgrade images appear.
Compiling for Routerstation only the factory image.
Looking into target/linux/ath79/image/generic-ubnt.mk noticed that under
Device/ubnt there is IMAGES += factory.bin
and under
Device/ubnt_routerstation_common there is IMAGES := factory.bin

Just changing the := into +: produces a ...sysupgrade.bin but it is not accepted by sysupgrade.
Not hindered by knowledge just copied what it was in the times of ar71xx and it produces a working sysupgrade image:

define Device/ubnt_routerstation_common

DEVICE_PACKAGES := -kmod-ath9k -wpad-basic-wolfssl -uboot-envtools kmod-usb-ohci \
kmod-usb2 fconfig
DEVICE_VENDOR := Ubiquiti
SOC := ar7161
IMAGE_SIZE := 16128k
IMAGES := sysupgrade.bin factory.bin
IMAGE/factory.bin := append-rootfs | pad-rootfs | mkubntimage | \
check-size
IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | combined-image | check-size $$$$(IMAGE_SIZE)
KERNEL := kernel-bin | append-dtb | lzma | pad-to $$(BLOCKSIZE)
KERNEL_INITRAMFS := kernel-bin | append-dtb

endef

define Device/ubnt_routerstation

$(Device/ubnt_routerstation_common)
DEVICE_MODEL := RouterStation
DEVICE_TITLE := Ubiquiti RouterStation
BOARDNAME := UBNT-RS
UBNT_BOARD := RS
UBNT_TYPE := RSx
UBNT_CHIP := ar7100
DEVICE_PACKAGES += -swconfig
SUPPORTED_DEVICES += routerstation

endef
TARGET_DEVICES += ubnt_routerstation


05.09.20203319Base systemBug ReportVery LowHigherratic behaviour wireless network control on system wi...TrunkUnconfirmed Task Description

Device: Ubiquiti Routerstation (ar71xx)
Software: OpenWrt SNAPSHOT, r14382+7-ad0f0df909 (local compilation after Sep 3 2020 git pull)
Symptoms: commands like ‘wifi up wlan1’ on a system with wlan0, wlan1, and wlan2 (phy0,1,2) , make other wlanN disapperar than wlan1.
plus in dmesg messages like
[ n.n] do_page_fault(): sending SIGSEGV to hostapd for invalid write access to 00000000
[ n.n] epc = 77e79e6c in libc.so[77e4c000+9c000]
[ n.s] ra = 77e1e309 in libubus.so[77e1c000+13000]

Bug found through experimentation:
script: /lib/netifd/wireless/mac80211.sh
function: drv_mac80211_teardown()
line: json_select data
problem: ‘data’ does not produce phy, ‘config’ does.
corrected line: json_select config

Going though experimentations also found that there may be problems in
script: /lib/netifd/hostapd.sh
function: wpa_supplicant_run()
line: ubus call wpa_supplicant config_add
and the lines that follow with parameters and line continuations.
Replaced:

ubus call wpa_supplicant config_add "{ \
	\"driver\": \"${_w_driver:-wext}\", \"ctrl\": \"$_rpath\", \
	\"iface\": \"$ifname\", \"config\": \"$_config\" \
	${network_bridge:+, \"bridge\": \"$network_bridge\"} \
	${hostapd_ctrl:+, \"hostapd_ctrl\": \"$hostapd_ctrl\"} \
	}"

By:

local br=${network_bridge:+',"bridge":"'$network_bridge'"'}
local hc=${hostapd_ctrl:+',"hostapd_ctrl":"'$hostapd_ctrl'"'}
local jsonstr='{"driver":"'${_w_driver:-wext}'","iface":"'${ifname}'"'${br}${hc}',"ctrl":"'${_rpath}'","config":"'${_config}'"}'
ubus call wpa_supplicant config_add ${jsonstr}

because in a separate test script just to see the workings of the original I could not get it to work due to the nested parameter substitution.
Have removed all the \” as the " do not need to be escaped when within single quotes.


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

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

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

31.08.20203316KernelBug ReportVery LowLowTP-Link CPE210v1 - kernel issue - kernel trace included...TrunkUnconfirmed Task Description

I have build a Image for TP-Link CPE210v1. OpenWrt SNAPSHOT r14184-eadb1a9437

I can see in dmesg output in luci at every boot following trace:

[    1.145135] ------------[ cut here ]------------
[    1.149922] WARNING: CPU: 0 PID: 1 at drivers/reset/core.c:556 __reset_control_get_internal+0x15c/0x190
[    1.159456] Modules linked in:
[    1.162577] CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.52 #0
[    1.168411] Stack : 80640000 805ed468 00000000 00000000 805ec638 83c2795c 83c282fc 80623ce3
[    1.176914]         8058e9ac 00000001 807832d8 00000001 00000000 00000001 83c27910 39024192
[    1.185410]         00000000 00000000 807b0000 00000055 61696e74 00000000 2e342e35 32202330
[    1.193903] random: fast init done
[    1.197360]         00000055 a3248495 00000000 00027b11 00000000 00000009 00000000 802e6d08
[    1.205852]         00000009 00000001 00000000 83c7da10 00000000 802fe010 00000000 80780000
[    1.214344]         ...
[    1.216836] Call Trace:
[    1.219344] [<80069934>] show_stack+0x30/0x100
[    1.223873] [<8008254c>] __warn+0xc0/0x10c
[    1.228051] [<800825f4>] warn_slowpath_fmt+0x5c/0xac
[    1.233111] [<802e6d08>] __reset_control_get_internal+0x15c/0x190
[    1.239315] [<802e6e7c>] __of_reset_control_get+0x140/0x1fc
[    1.244991] [<802e7204>] __devm_reset_control_get+0x70/0x108
[    1.250776] [<8036369c>] ag71xx_mdio_probe+0xbc/0x208
[    1.255942] [<80311998>] platform_drv_probe+0x40/0x94
[    1.261087] [<8030faec>] really_probe+0x104/0x358
[    1.265883] [<8030dbdc>] bus_for_each_drv+0x70/0xb0
[    1.270854] [<8030f9a4>] __device_attach+0xdc/0x118
[    1.275827] [<8030eb14>] bus_probe_device+0x9c/0xb8
[    1.280797] [<8030bee8>] device_add+0x3e4/0x608
[    1.285413] [<803788d4>] of_platform_device_create_pdata+0xa8/0x150
[    1.291789] [<80378abc>] of_platform_bus_create+0x134/0x224
[    1.297465] [<80378d28>] of_platform_populate+0x78/0xec
[    1.302794] [<803659cc>] ag71xx_probe+0x6e4/0x98c
[    1.307586] [<80311998>] platform_drv_probe+0x40/0x94
[    1.312733] [<8030faec>] really_probe+0x104/0x358
[    1.317531] [<80310234>] device_driver_attach+0x70/0x98
[    1.322852] [<803102bc>] __driver_attach+0x60/0x100
[    1.327816] [<8030db1c>] bus_for_each_dev+0x68/0xa4
[    1.332788] [<8030ee88>] bus_add_driver+0x1f0/0x200
[    1.337752] [<80310928>] driver_register+0x84/0x148
[    1.342741] [<80660c14>] ag71xx_module_init+0x2c/0x50
[    1.347889] [<80060a1c>] do_one_initcall+0x7c/0x1dc
[    1.352877] [<8064ce10>] kernel_init_freeable+0x158/0x23c
[    1.358391] [<80500858>] kernel_init+0x10/0xf0
[    1.362922] [<80064d98>] ret_from_kernel_thread+0x14/0x1c
[    1.368431] ---[ end trace c9bd124b3a38de6d ]---
31.08.20203315Base systemBug ReportVery LowMediumTP-Link CPE210v1 - regular network disconnects - daemon...TrunkUnconfirmed Task Description

I have build a Image for TP-Link CPE210v1. OpenWrt SNAPSHOT r14184-eadb1a9437

I have issues with connection drop. The connection(routing?) suddenly dropps and then i have to reboot the device to fix this. The wifi connection itself seems to be fine at this moment (i can see in luci that its connected).

I think this is related to this issue:
Mon Aug 31 16:27:43 2020 daemon.err uwsgi[1135]: * has_emperor mode detected (fd: 7) *
Mon Aug 31 16:27:43 2020 daemon.err uwsgi[1135]: [uWSGI] getting INI configuration from /etc/uwsgi/vassals/luci-webui.ini
Mon Aug 31 16:27:43 2020 daemon.err uwsgi[1135]: Mon Aug 31 16:27:43 2020 - [emperor] vassal /etc/uwsgi/vassals/luci-webui.ini has been spawned
Mon Aug 31 16:27:43 2020 daemon.info uwsgi-luci: * big endian arch detected *
Mon Aug 31 16:27:43 2020 daemon.info uwsgi-luci: spawned uWSGI master process (pid: 3293)
Mon Aug 31 16:27:43 2020 daemon.err uwsgi[1135]: Mon Aug 31 16:27:43 2020 - [emperor] vassal /etc/uwsgi/vassals/luci-webui.ini is ready to accept requests
Mon Aug 31 16:27:43 2020 daemon.err uwsgi[1135]: Mon Aug 31 16:27:43 2020 - [emperor] vassal /etc/uwsgi/vassals/luci-webui.ini is now loyal
Mon Aug 31 16:27:47 2020 daemon.info uwsgi-luci: luci: accepted login on / for root from Mon Aug 31 16:27:53 2020 daemon.err uwsgi[1135]: * has_emperor mode detected (fd: 8) *
Mon Aug 31 16:27:53 2020 daemon.err uwsgi[1135]: [uWSGI] getting INI configuration from /etc/uwsgi/vassals/luci-cgi_io.ini
Mon Aug 31 16:27:53 2020 daemon.err uwsgi[1135]: Mon Aug 31 16:27:53 2020 - [emperor] vassal /etc/uwsgi/vassals/luci-cgi_io.ini has been spawned
Mon Aug 31 16:27:53 2020 daemon.err uwsgi[1135]: Mon Aug 31 16:27:53 2020 - [emperor] vassal /etc/uwsgi/vassals/luci-cgi_io.ini is ready to accept requests

31.08.20203314Base systemBug ReportVery LowLowath79/mikrotik: SXT Lite 5 image missing RouterBoard pl...TrunkUnconfirmed Task Description

The ath79/mikrotik MikroTik SXT Lite images (initramfs, sysupgrade) are missing the MikroTik Routerboard platform drivers. Therefore, the hard_config and soft_config partitions are not detected, correct MAC addresses can't be used and wifi calibration data can't be retrieved.

  • No MikroTik sysfs driver in dmesg:
root@OpenWrt:/# Please press Enter to activate this console.



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

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r14311-e5e54e52f7
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# dmesg | grep -i mikro
[    0.000000] MIPS: machine is MikroTik RouterBOARD SXT 5nD r2 (SXT Lite5)
  • No wifi:
root@OpenWrt:/# dmesg | grep firmware
[   12.976697] ath9k 18100000.wmac: Direct firmware load for ath9k-eeprom-ahb-18100000.wmac.bin failed with error -2
  • No soft_config / hard_config:
[    0.377893] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xf1
[    0.384532] nand: Toshiba NAND 128MiB 3,3V 8-bit
[    0.389326] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.397198] nand: WARNING: ar934x-nand: the ECC used on your system is too weak compared to the one required by the NAND chip
[    0.408888] Scanning device for bad blocks
[    0.420218] random: fast init done
[    0.526537] Bad eraseblock 768 at 0x000006000000
[    0.567786] 3 fixed-partitions partitions found on MTD device ar934x-nand
[    0.574815] Creating 3 MTD partitions on "ar934x-nand":
[    0.580244] 0x000000000000-0x000000040000 : "booter"
[    0.586538] 0x000000040000-0x000000400000 : "kernel"
[    0.592817] 0x000000400000-0x000008000000 : "ubi"
[    0.614065] spi-nor spi0.0: w25x10 (128 Kbytes)
[    0.618811] 1 fixed-partitions partitions found on MTD device spi0.0
[    0.625389] Creating 1 MTD partitions on "spi0.0":
[    0.630361] 0x000000000000-0x000000020000 : "RouterBoot"
[    0.638893] RouterBoot: routerboot partition /ahb/spi@1f000000/flash@0/partitions/partition@0/soft_config (/ahb/spi@1f000000/flash@0/partitions/partition@0) "soft_config" overlaps with previous partition "bootloader2".
[    0.658990] RouterBoot: error parsing routerboot partition /ahb/spi@1f000000/flash@0/partitions/partition@0/soft_config (/ahb/spi@1f000000/flash@0/partitions/partition@0)
[    0.674736] 2 fixed-partitions partitions found on MTD device RouterBoot
[    0.681664] Creating 2 MTD partitions on "RouterBoot":
[    0.686992] 0x000000000000-0x000000020000 : "bootloader1"
[    0.693814] 0x000000010000-0x000000020000 : "bootloader2"
31.08.20203313PackagesBuild FailureVery LowHighath79/mikrotik: initramfs image is missing the nand-uti...TrunkUnconfirmed Task Description

The initramfs-kernel.bin image for the ath79/mikrotik mikrotik,routerboard-sxt-5nd-r2 device (SXT Lite 5) is missing the nand-utils package. Therefore, when booting via TFTP (e.g., to install OpenWrt for the first time), the sysupgrade image can not be flashed:

[...] successful boot from TFTP, sysupgrade image uploaded via SCP
root@OpenWrt:/# cat /tmp/sysinfo/board_name 
mikrotik,routerboard-sxt-5nd-r2
root@OpenWrt:/# ls -la /usr/sbin/nand*
ls: /usr/sbin/nand*: No such file or directory
root@OpenWrt:/# sysupgrade -v -n /tmp/openwrt-ath79-mikrotik-mikrotik_routerboar
d-sxt-5nd-r2-squashfs-sysupgrade.bin 
Commencing upgrade. Closing all shell sessions.
Watchdog handover: fd=3
- watchdog -
killall: telnetd: no process killed
Sending TERM to remaining processes ... hostapd wpa_supplicant netifd odhcpd ntpd dnsmasq ubusd urngd logd 
Sending KILL to remaining processes ... 
Performing system upgrade...
Unlocking kernel ...
Erasing kernel ...
/lib/upgrade/do_stage2: line 25: nandwrite: not found
tar: write error: Broken pipe
removing ubiblock0_1
[  301.377800] block ubiblock0_1: released
Volume ID 0, size 19 LEBs (2451456 bytes, 2.3 MiB), LEB size 129024 bytes (126.0 KiB), dynamic, name "none", alignment 1
Volume ID 1, size 21 LEBs (2709504 bytes, 2.5 MiB), LEB size 129024 bytes (126.0 KiB), dynamic, name "rootfs", alignment 1
Set volume size to 119734272
Volume ID 2, size 928 LEBs (119734272 bytes, 114.1 MiB), LEB size 129024 bytes (126.0 KiB), dynamic, name "rootfs_data", alignment 1
sysupgrade successful
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
[  303.837785] reboot: Restarting systemt
�

so the device can’t boot, as nothing has been written to NAND.

30.08.20203312Base systemBug ReportVery LowLowstatic route being added to wrong table if ip4table is ...TrunkUnconfirmed Task Description

I have a separate route table called ‘lan’:

root@btkrgn:~# cat /etc/iproute2/rt_tables 
#
# reserved values
#
128	prelocal
255	local
254	main
253	default
0	unspec
#
# local
#
#1	inr.ruhep

40	lan

Then I have an interface configured with ip4table:

config interface 'ni'
	option type 'bridge'
	option delegate '0'
	option ifname 'eth0.22 vx22'
	option proto 'static'
	option ipaddr '192.168.22.248'
	option ip4table 'lan'
	option netmask '255.255.255.0'

And I also have static route with explicitly defined table ‘main’:

config route
	option interface 'ni'
	option target '192.168.22.0'
	option netmask '255.255.255.0'
	option gateway '192.168.22.253'
	option table 'main'
	option metric '100'

I expected that this static route will be in the ‘main’ table however it is being added to ‘lan’ table:

root@btkrgn:~# ip route show table lan
192.168.22.0/24 dev br-ni proto static scope link 
192.168.22.0/24 via 192.168.22.253 dev br-ni proto static metric 100
30.08.20203311Base systemBug ReportVery LowLowvlan(NETWORK -> SWITCH) menu missing on luci -> mt7621(...TrunkUnconfirmed Task Description

vlan menu missing on luci → mt7621(ZBT3526) - trunk

that was on 2020-01 working ?
why is it now gone ?
also in /etc/config, there are no entries for vlan

i compared to the old version from 20020-01 ..

and there is 1 file missing: (or more ?)
# cat /lib/network/switch.sh

#!/bin/sh
# Copyright (C) 2009 OpenWrt.org

setup_switch_dev() {

      local name
      config_get name "$1" name
      name="${name:-$1}"
      [ -d "/sys/class/net/$name" ] && ip link set dev "$name" up
      swconfig dev "$name" load network

}

setup_switch() {

      config_load network
      config_foreach setup_switch_dev switch

}

 


29.08.20203310Base systemBug ReportVery LowLowImage Builder error “following packages conflict with b...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
unielec_u7621-06-16m

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

- Steps to reproduce

sinan@sinan-VirtualBox:~$ make image PROFILE=unielec_u7621-06-16m PACKAGES="luci block-mount kmod-fs-ext4 wpad-mini nano htop kmod-mt76 kmod-mt76-core kmod-mt76x2 luci-app-sqm sqm-scripts kmod-usb-storage-uas kmod-usb3"
......................
......................
......................
Collected errors:
 * check_conflicts_for: The following packages conflict with busybox:
 * check_conflicts_for: 	busybox-selinux * 
 * opkg_install_cmd: Cannot install package busybox.
Makefile:154: recipe for target 'package_install' failed
make[2]: *** [package_install] Error 255
Makefile:112: recipe for target '_call_image' failed
make[1]: *** [_call_image] Error 2
Makefile:207: recipe for target 'image' failed
make: *** [image] Error 2


25.08.20203306Base systemBug ReportVery LowMediumQMI & DHCP renewal issue.openwrt-19.07Unconfirmed Task Description

I’m facing a problem on two routers WG3526 (Modem EC-25) and D-Link DWR921 (Model Broadmobi BM806). My 4G provider is Free Mobile a French mobile provider.

Every 12 hours my ISP change the IP of the interface and the DHCP-Client still get the old IP Address even if “uqmi -d /dev/cdc-wdm0 –get-current-settings” display the new valid ip address.

  • “uqmi -d /dev/cdc-wdm0 –get-current-settings” give IP “B”.
  • “udhcpc” still attribute IP “A” to the wwan0 interface resulting in an nonoperational interface until I restart it (ubus call network.interface.wwan down / ubus call network.interface.wwan up).
  • After an interface restart “udhcpc” attribute IP “B” to the wwan0 interface.

This problem happen exactly every 12 hours the duration of the dhcp lease time on the interface wwan0.

I don’t know if it’s a bug in the firmware of both modems or a problem within OpenWRT.
I can provide more informations or context if needed. It’s also described on another bug in the comment section by @Dmitry. As it’s another bug not related to the original one a new bug is needed. Thread reference https://bugs.openwrt.org/index.php?do=details&task_id=1252.


Detailed description of the BUG

'uqmi -d /dev/cdc-wdm0 –get-current-settings' display the new IP address

uqmi -d /dev/cdc-wdm0 –get-current-settings {

      "pdp-type": "ipv4",
      "ip-family": "ipv4",
      "mtu": 1500,
      "ipv4": {
              "ip": "10.81.148.43",
              "dns1": "193.41.60.16",
              "dns2": "193.41.60.15",
              "gateway": "10.81.148.44",
              "subnet": "255.255.255.248"
      },
      "ipv6": {
      },
      "domain-names": {
      }
}

'ifconfig wwan0' is showing a different IP. I tryed to restart udhcpc manually but the interface still get the old IP until I restart network interface

ifconfig wwan0

        inet addr:10.95.107.241  P-t-P:10.95.107.241  Mask:255.255.255.252
        inet6 addr: fe80::e1b3:e56d:de16:ba57/64 Scope:Link
        UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
        RX packets:54582 errors:0 dropped:0 overruns:0 frame:0
        TX packets:64104 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:1000
        RX bytes:46222544 (44.0 MiB)  TX bytes:60349584 (57.5 MiB)

After a network stack restart, "ifconfig wwan0" display the proper IP address.

ifconfig wwan0
        inet addr:10.81.148.43  P-t-P:10.81.148.43  Mask:255.255.255.248
        inet6 addr: fe80::e1b3:e56d:de16:ba57/64 Scope:Link
        UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
        RX packets:54584 errors:0 dropped:0 overruns:0 frame:0
        TX packets:64112 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:1000
        RX bytes:46223174 (44.0 MiB)  TX bytes:60351028 (57.5 MiB)

Problem happen again after 12 hours.


Details on the WG3526

root@nly-marconi:/etc/config# ubus call system board
{
	"kernel": "4.14.180",
	"hostname": "nly-marconi",
	"system": "MediaTek MT7621 ver:1 eco:3",
	"model": "ZBT-WG3526 (16M)",
	"board_name": "zbt-wg3526-16M",
	"release": {
		"distribution": "OpenWrt",
		"version": "19.07.3",
		"revision": "r11063-85e04e9f46",
		"target": "ramips/mt7621",
		"description": "OpenWrt 19.07.3 r11063-85e04e9f46"
	}
}
root@nly-marconi:~# uci show network.wwan
network.wwan=interface
network.wwan.proto='qmi'
network.wwan.device='/dev/cdc-wdm0'
network.wwan.apn='free'
network.wwan.auth='none'
network.wwan.pincode='my-pin-code-here'
network.wwan.modes='lte'
network.wwan.metric='20'
network.wwan.delegate='0'
network.wwan.force_link='0'


Details ont the Dlink router

root@lfgo-routeur:~# ubus call system board
{
	"kernel": "4.14.180",
	"hostname": "lfgo-routeur",
	"system": "MediaTek MT7620N ver:2 eco:6",
	"model": "D-Link DWR-921 C1",
	"board_name": "dlink,dwr-921-c1",
	"release": {
		"distribution": "OpenWrt",
		"version": "19.07.3",
		"revision": "r11063-85e04e9f46",
		"target": "ramips/mt7620",
		"description": "OpenWrt 19.07.3 r11063-85e04e9f46"
	}
}
root@lfgo-routeur:~# uci show network.wwan
network.wwan=interface
network.wwan.ifname='wwan0'
network.wwan.device='/dev/cdc-wdm0'
network.wwan.proto='qmi'
network.wwan.apn='free'
network.wwan.pincode='my-pin-code-here'
network.wwan.delay='10'
25.08.20203305Base systemBug ReportVery LowLowRequest for LXC support in MVEBUTrunkUnconfirmed Task Description

can the kernel needed flags for lxc support being added to the official releases, please ?

I have made a forum topic for this request and followed the tests in it !

https://forum.openwrt.org/t/request-for-lxc-support-in-mvebu/58767

24.08.20203304Base systemBug ReportVery LowLowMVEBU - sysupgrade may not correctly detect device from...TrunkUnconfirmed Task Description

forum topic : https://forum.openwrt.org/t/solved-19-07-xx-own-build-unflashable/72297 Solution : https://forum.openwrt.org/t/solved-19-07-xx-own-build-unflashable/72297/8

Sysupgrade do not correctly detect the device from some bootcmd uboot command line ...

I suppose, rootfs is not correctly detected ?

/proc/cmdline okay : console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000 root=/dev/mmcblk0p2 rw rootwait net.ifnames=0 biosdevname=0
/proc/cmdline which make an error : console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000 root=/dev/mmcblk0p2 rw ip=0.0.0.0:0.0.0.0:10.4.50.254:255.255.255.0:marvell:eth0:none nfsroot=0.0.0.0:/dev/mmcblk0p2

when error happend, the message is :
root@NAS:~# sysupgrade -v -T openwrt-19.07.3-mvebu-cortexa53-globalscale_espressobin-v7-emmc-ext4-sdcard.img.gz
Image not in /tmp, copying...
Unable to determine upgrade device
Image check failed.
root@NAS:~#

24.08.20203303Base systemBug ReportVery LowHighntfs drive not mountingTrunkUnconfirmed Task Description

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

 

This problem is occurring on a BT HomeHub 5A. I have two of these and the problem happens on both of them. I am currently using V5.X and the issue is only here but it is working in v19.07.3.

The issue is that I am not able to auto-mount my NTFS drive with bootup through fstab.
The error is as follows:

Sun Aug 23 21:56:03 2020 kern.notice kernel: [   11.711119] scsi 0:0:0:0: Direct-Access     Seagate  Expansion        0608 PQ: 0 ANSI: 6
Sun Aug 23 21:56:03 2020 kern.notice kernel: [   11.725022] sd 0:0:0:0: [sda] 976773167 512-byte logical blocks: (500 GB/466 GiB)
Sun Aug 23 21:56:03 2020 kern.notice kernel: [   11.733044] sd 0:0:0:0: [sda] Write Protect is off
Sun Aug 23 21:56:03 2020 kern.debug kernel: [   11.736665] sd 0:0:0:0: [sda] Mode Sense: 4f 00 00 00
Sun Aug 23 21:56:03 2020 kern.notice kernel: [   11.738710] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Sun Aug 23 21:56:03 2020 kern.warn kernel: [   11.739527] overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off.
Sun Aug 23 21:56:03 2020 kern.info kernel: [   12.012011]  sda: sda1
Sun Aug 23 21:56:03 2020 kern.notice kernel: [   12.020464] sd 0:0:0:0: [sda] Attached SCSI disk

Sun Aug 23 21:56:10 2020 daemon.err block: No "mount.ntfs" utility available
Sun Aug 23 21:56:10 2020 daemon.err block: mounting /dev/sda1 (ntfs) as /tmp/data-hdd failed (25) - Not a tty

Although I can mount the drive manually through ntfs-3g and the package is already installed but somehow the system thinks it is not available. For now the workaround is to manually mount the drive when the boot ends.

Please fix this issue thanks.

24.08.20203301PackagesBug ReportVery LowLowCannot satisfy dependency on iptables-mod-tproxyopenwrt-19.07Waiting on reporter Task Description

One example is iptables-mod-tproxy. It is available in 19.07.0, but not in 19.07.1. This causes dependency issue when installing some packages.
How to reproduce:

# opkg install shadowsocks-libev-ss-rules
Installing shadowsocks-libev-ss-rules (3.2.5-5) to root...
Downloading http://downloads.openwrt.org/releases/19.07.1/packages/aarch64_cortex-a53/packages/shadowsocks-libev-ss-rules_3.2.5-5_aarch64_cortex-a53.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for shadowsocks-libev-ss-rules:
 *      iptables-mod-tproxy
 * opkg_install_cmd: Cannot install package shadowsocks-libev-ss-rules.

I reproduced it on aarch64_coretex_a53, but I see it’s missing for other platforms like a72 and x86_64, too.

It was reported here: https://github.com/openwrt/packages/issues/11457 But was closed and the maintainer said it belongs here.

22.08.20203300KernelBug ReportVery LowCriticalQualcomm, MediaTek Wi-Fi Chips Vulnerable to Kr00k-Like...AllUnconfirmed Task Description

I don’t know if openwrt is/was affected
https://www.securityweek.com/qualcomm-mediatek-wi-fi-chips-vulnerable-kr00k-attacks

21.08.20203299Base systemBug ReportVery LowCriticalbusybox: Alternatives gets overwrited when busybox upda...TrunkUnconfirmed Task Description

This is device independent and I think it affects all versions but I have seen this over 19.07. If you have binary programs that conflicts with busybox ones, opkg sets them to be used instead when they are installed.

I discovered this because mwan3 got broke and investigating the error it dropped the problems seems to be that the ip binary from busybox doesn’t support some features mwan3 needs. I could find that I had ip installed as is a dependency of mwan3 so I just remembered that busybox was updated recently.

Just by reinstalling ip the issue was solved.

I don’t know how this could be managed, perhaps just when a package that has alternatives is installed update them and when the package is being upgraded ignore updating the alternatives.

I set this critical just because it could be very difficult to see where the problem is for many people (I surprised myself how it could take so many time to advert the real issue when I found it, it’s simple, but if you don’t notice busybox upgrading could be cumbersome to see), and, this could break things, like for example mwan3 or any other program that rely using alternative binaries and not the busybox ones. Of course fell free to set the severity you think could be more accurate.

21.08.20203298Base systemBug ReportVery LowCriticalEdimax 3G-6200n z OpenWrt 19.07.2 lost settings after r...openwrt-19.07Unconfirmed Task Description

Edimax 3G-6200n OpenWrt 19.07.2, r10947-65030d81f3

Steps:
1. Download the latest version OpenWrt 19.07.2 to Edimax 3G-6200n.
2. Set e.g. the password to the router and/or turn on the WiFi.
3. Reboot the router with the reboot option in OpenWrt.
4. The router has no settings previously saved - the status is as right after installing fresh OpenWRT - no password, no WiFi enabled, default settings.

Problem with JFFS.

root@OpenWrt:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
overlayfs:/tmp/root on / type overlay (rw,noatime,lowerdir=/,upperdir=/tmp/root/upper,workdir=/tmp/root/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.0M      3.0M         0 100% /rom
tmpfs                    13.8M    284.0K     13.5M   2% /tmp
tmpfs                    13.8M     60.0K     13.7M   0% /tmp/root
overlayfs:/tmp/root      13.8M     60.0K     13.7M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev

root@OpenWrt:~# free
              total        used        free      shared  buff/cache   available
Mem:          28276       14008        5224         344        9044       11872
Swap:             0           0           0
#here I added the password and turned on the WiFi network - the free RAM decreased
root@OpenWrt:~# free
              total        used        free      shared  buff/cache   available
Mem:          28276       15632        3496         368        9148       10236
Swap:             0           0           0
root@OpenWrt:~#
20.08.20203296KernelBug ReportVery LowMediumTP-Link RE450 v3: QCA9880 (5 GHz-Wifi) is only detected...TrunkUnconfirmed Task Description

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

- Steps to reproduce:

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

- Logs:

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

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

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

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

20.08.20203295Base systemBug ReportVery LowLowAdresses not configured on interface but visible via ub...TrunkUnconfirmed Task Description

On an ipq40xx/compex-wpj428, sometimes the addresses aren’t configured on the wan bridge.
netifd shows that it knows about addresses that should be configured but they aren’t.

“ip l set br-wan down” + up didn’t change that.
“ubus call network.interface.wan down” + up however, did lead to a change.

$ ip a show br-wan
6: br-wan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 04:f0:21:4e:21:05 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6f0:21ff:fe4e:2105/64 scope link 
       valid_lft forever preferred_lft forever
$ ubus call network.interface.wan status {}
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "uptime": 91629,
        "l3_device": "br-wan",
        "proto": "dhcp",
        "device": "br-wan",
        "ip4table": 1,
        "ip6table": 1,
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [
                { 
                        "address": "192.168.0.34",
                        "mask": 24
                } 
        ],
        "ipv6-address": [

        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                { 
                        "target": "0.0.0.0",
                        "mask": 0,
                        "nexthop": "192.168.0.1",
                        "source": "192.168.0.34/32"
                } 
        ],
        "dns-server": [
                "192.168.0.1",
                "192.168.0.1"
        ],
        "dns-search": [

        ],
        "neighbors": [

        ],
        "inactive": {
                "ipv4-address": [

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ],
                "neighbors": [

                ]
        },
        "data": {
                "hostname": "test",
                "leasetime": 3600,
                "ntpserver": "212.6.108.160"
        }
}
18.08.20203293Base systemBug ReportVery LowLowath10k_pci firmware crash on openwrt-19.07 branch (git-...TrunkUnconfirmed Task Description

Running OpenWRT 19.07 on TP-LINK Archer C7 v5 with Candela Technologies firmware ath10k-firmware-qca988x-ct - 2019-10-03-d622d160-1 causes AP to crash, stalling all connections.

This is specially troublesome using a Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter as client (as per this bug report I filed here: External Link ).

Please refer to attached dmesg buffer. Let me know what additional info I may provide for completeness. I’m willing to test and can compile OpenWRT from scracth.

18.08.20203291Base systemBug ReportVery LowLowprocd gives warning when called outside an init scriptTrunkUnconfirmed Task Description

The documentation here: https://openwrt.org/docs/guide-developer/procd-init-scripts suggests that you can use procd outside of init scripts.:

Note You can also send signals to named procd services from outside initscripts. Simply load the procd functions and send the signal as before.
#!/bin/sh
. /lib/functions/procd.sh
procd_send_signal service_name [instance_name] [signal]

However, when you import the procd like this, the script shows an error when it calls ‘basename’ trying to obtain the procd lock.

 # cat /tmp/test.sh 
 
 #!/bin/sh
 set -x
 . /lib/functions/procd.sh
 # /tmp/test.sh 2>&1|grep basename -C2
 + readlink 
 + local 'basescript='
 + basename
 BusyBox v1.30.1 () multi-call binary.
 
 Usage: basename FILE [SUFFIX]
 
 Strip directory path and .SUFFIX from FILE

`

Either procd.sh should be updated so that it can be called outside of init scripts without printing warnings, or the documentation should be updated to reflect that procd should not be called outside init scripts.

17.08.20203290PackagesBug ReportVery LowLowhostapd always sets ap_isolate to 1 no matter what the ...openwrt-19.07Unconfirmed Task Description

I have two devices that show the same problem - both TP-Link, but different models.
The problem is that the devices/clients connected to any of the wlans are always isolated no matter what the config “isolate clients” is set to.
These devices cannot ping and see each other but they can be pinged and they can ping devices from/to devices in lan.

Further more the generated /var/run/hostapd-phy0.conf and /var/run/hostapd-phy1.conf always have the ap_isolate=1

The tested devices are:

root@OpenWrt:~# ubus call system board
{
        "kernel": "4.14.180",
        "hostname": "OpenWrt",
        "system": "Qualcomm Atheros QCA9558 ver 1 rev 0",
        "model": "TP-Link Archer C7 v2",
        "board_name": "tplink,archer-c7-v2",
        "release": {
                "distribution": "OpenWrt",
                "version": "19.07.3",
                "revision": "r11063-85e04e9f46",
                "target": "ath79/generic",
                "description": "OpenWrt 19.07.3 r11063-85e04e9f46"
        }
}
root@OpenWrt:~# ubus call system board
{
        "kernel": "4.14.180",
        "hostname": "OpenWrt",
        "system": "Atheros AR9344 rev 2",
        "model": "TP-Link TL-WDR4300 v1",
        "board_name": "tplink,tl-wdr4300-v1",
        "release": {
                "distribution": "OpenWrt",
                "version": "19.07.3",
                "revision": "r11063-85e04e9f46",
                "target": "ath79/generic",
                "description": "OpenWrt 19.07.3 r11063-85e04e9f46"
        }
}

No packages have been updated manually on both devices.
Both devices has defaults sets coming with the default factory OpenWrt 19.07.3 image.
Both devices were set for their Network → Wireless → wlan0 (and wlan1) → Interface configuration → Advanced settings → Isolate clients UNCHECKED

Here is the config of one of the devices (/etc/config/wireless) and the respective generated /var/run/hostapd-phy0.conf

config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11g'
	option path 'platform/ahb/18100000.wmac'
	option channel 'auto'
	option country 'BG'
	option htmode 'HT20'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option key 'XXXXXX'
	option ssid 'YYYYYYYY'
	option encryption 'psk2'

Even when option isolate ‘0’ is added manually using uci not luci, and restarting the device the respective hostapd-phy0.conf remains with ap_isolate=1

driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
country_code=BG
ieee80211d=1
hw_mode=g
beacon_int=100
channel=acs_survey



ieee80211n=1
ht_coex=0
ht_capab=[LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][DSSS_CCK-40]

interface=wlan0
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
utf8_ssid=1
multi_ap=0
wpa_passphrase=XXXXXX
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=YYYYYYYY
bridge=br-lan
wpa_disable_eapol_key_retries=0
wpa_key_mgmt=WPA-PSK
okc=0
disable_pmksa_caching=1
bssid=xx:xx:xx:xx:xx:xx

My guess is that hostapd/wpad doesn’t set properly the ap_isolate according to the config.

Please let me know if you need further info.

Thanks

 


17.08.20203289KernelBug ReportVery LowMediumMT6720a Slowness in 2.4Ghz bandAllUnconfirmed Task Description

Device: MI R3

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

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

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

16.08.20203288KernelBug ReportVery LowLowrockchip: FriendlyARM NanoPi R2S Kernel CrashTrunkUnconfirmed Task Description
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.292714] ------------[ cut here ]------------
Fri Aug 14 21:56:19 2020 kern.info kernel: [187716.293203] NETDEV WATCHDOG: eth1 (r8152): transmit queue 0 timed out
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.293915] WARNING: CPU: 2 PID: 0 at net/sched/sch_generic.c:448 dev_watchdog+0x2f4/0x300
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.294655] Modules linked in: xt_connlimit pppoe ppp_async nf_conncount iptable_nat xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT pppox ppp_generic nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack ipt_REJECT 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 wireguard usbnet slhc sch_cake r8152 nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 macvlan iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables fou crc_ccitt arptable_filter arpt_mangle arp_tables sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.294941]  ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip_gre gre ifb l2tp_eth sit l2tp_netlink l2tp_core udp_tunnel ip6_udp_tunnel xfrm4_tunnel ipcomp esp4 ah4 ipip tunnel4 ip_tunnel tun xfrm_user xfrm_ipcomp af_key xfrm_algo sha1_generic md5 hmac echainiv des_generic libdes deflate cbc authenc crypto_acompress gpio_button_hotplug
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.306829] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 5.4.52 #0
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.307365] Hardware name: FriendlyARM NanoPi R2S (DT)
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.307838] pstate: 20000005 (nzCv daif -PAN -UAO)
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.308282] pc : dev_watchdog+0x2f4/0x300
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.308652] lr : dev_watchdog+0x2f4/0x300
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.309024] sp : ffff800010013da0
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.309332] x29: ffff800010013da0 x28: ffff00003cd2aa80
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.309818] x27: 0000000000000004 x26: 0000000000000140
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.310305] x25: 00000000ffffffff x24: 0000000000000002
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.310793] x23: ffff00003c05b45c x22: ffff00003c05b000
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.311281] x21: ffff00003c05b480 x20: ffff800010bf6000
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.311765] x19: 0000000000000000 x18: 0000000000000000
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.312249] x17: 0000000000000000 x16: 0000000000000000
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.312733] x15: 0000000000000000 x14: ffff800010c85fc2
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.313221] x13: 0000000000000000 x12: ffff800010c85000
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.313709] x11: ffff800010c0a000 x10: 0000000000000010
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.314195] x9 : 0000000000000000 x8 : 756575712074696d
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.314682] x7 : 736e617274203a29 x6 : ffff00003f59f710
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.315168] x5 : ffff00003f59f710 x4 : 0000000000000004
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.315652] x3 : 0000000000000000 x2 : 0000000000000004
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.316137] x1 : ffff00003d8d9780 x0 : 0000000000000039
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.316628] Call trace:
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.316869]  dev_watchdog+0x2f4/0x300
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.317215]  call_timer_fn.isra.35+0x20/0x78
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.317610]  run_timer_softirq+0x378/0x388
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.317992]  __do_softirq+0x124/0x240
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.318336]  irq_exit+0xb8/0xc8
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.318635]  __handle_domain_irq+0x64/0xb8
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.319012]  gic_handle_irq+0x50/0xa0
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.319355]  el1_irq+0xb8/0x180
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.319655]  arch_cpu_idle+0x10/0x18
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.319991]  do_idle+0x214/0x218
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.320296]  cpu_startup_entry+0x20/0x40
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.320666]  secondary_start_kernel+0x164/0x178
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.321085] ---[ end trace ce8469331d000ac7 ]---
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.321668] r8152 4-1:1.0 eth1: Tx timeout
Fri Aug 14 21:56:21 2020 kern.warn kernel: [187718.373248] r8152 4-1:1.0 eth1: Tx status -2
Fri Aug 14 21:56:21 2020 kern.warn kernel: [187718.374175] r8152 4-1:1.0 eth1: Tx status -2
Fri Aug 14 21:56:21 2020 kern.warn kernel: [187718.374767] r8152 4-1:1.0 eth1: Tx status -2
Fri Aug 14 21:56:21 2020 kern.warn kernel: [187718.376062] r8152 4-1:1.0 eth1: Tx status -2
Fri Aug 14 21:56:21 2020 kern.info kernel: [187718.941274] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci-hcd
15.08.20203286Base systemBug ReportVery LowLowSD card freezing for a while on Raspberry Pi 3 Model B ...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on Raspberry Pi 3 Model B Rev 1.2
- OpenWrt 19.07.3 and occurs in the Linux kernel module.
- Steps to reproduce: Run RPI3B and wait for a while and monitor kernel logs and you will get the following:
[ 33.111038] mmc0: timeout waiting for hardware interrupt.
[ 33.118228] [019e2838] FCM> 34f29528 34f29628
[ 33.124313] [019e2839] IRQ> 0 0
[ 33.129082] [019e283d] TSK< 34f29528 0
[ 33.134397] [019e284b] TSK> 34f29528 0
[ 33.139625] [819e286f] REQ< 8b8baa0 10801
[ 33.145087] [819e2872] CMD< d 70000
[ 33.149984] [819e2879] FCM< 8b8baa0 8b8bb40
[ 33.155539] [819e287c] RSP 900 0
[ 33.160141] [819e2882] FCM> 8b8baa0 0
[ 33.165110] [819e2883] CMD d 0
[ 33.169506] [819e2884] REQ> 8b8baa0 0
[ 33.174403] [819e288a] TSK< 8b8baa0 0
[ 33.179286] [819e288e] TSK> 8b8baa0 0
[ 33.184103] [819e2895] PRD< 34f28668 0
[ 33.188995] [819e2895] PRD1 38ecf080 0
[ 33.193843] [819e289a] PRD2 1 0
[ 33.198009] [819e28a2] PRD3 35799808 0
[ 33.202727] [819e28a2] PDM> 34f28668 0
[ 33.207372] [819e28a2] REQ< 34f28528 10801
[ 33.212369] [819e28a3] CMD< 19 ed74f8
[ 33.216877] [819e28a5] CMDD 8 200
[ 33.220985] [819e28a6] SDMA 34f28668 38ecf080
[ 33.226169] [819e28a7] FCM< 34f28528 34f285e8
[ 33.231353] [819e28a8] RSP 900 0
[ 33.235491] [819e28a8] FCM> 34f28528 0
[ 33.240065] [819e28a9] CMD 19 200
[ 33.244277] [819e28a9] REQ> 34f28528 0
[ 33.248840] [419e2a08] DMA< 34f28668 1
[ 33.253393] [419e2a09] DMA 99 10807
[ 33.257763] [419e2a0b] FDA< 34f28528 0
[ 33.262313] [419e2a0c] TCM< 34f28668 0
[ 33.266850] [419e2a0c] CMD< c 0
[ 33.270772] [419e2a0d] TCM> 34f28668 0
[ 33.275345] [419e2a0d] FDA> 34f28528 34f28628
[ 33.280535] [419e2a0e] DMA> 0 0
[ 33.284488] [419e2ba1] IRQ< 400 0
[ 33.288616] [419e2ba1] IRQB 34f28628 400
[ 33.293372] [419e2ba2] FCM< 34f28528 34f28628
[ 33.298582] [419e2ba3] RSP c00 0
[ 33.302733] [419e2ba4] FCM> 34f28528 34f28628
[ 33.307964] [419e2ba5] IRQ> 0 0
[ 33.311953] [419e2ba6] TSK< 34f28528 0
[ 33.316559] [419e2bab] TSK> 34f28528 0
[ 33.321148] [819e2bb3] REQ< 8b8baa0 10801
[ 33.326005] [819e2bb4] CMD< d 70000
[ 33.330327] [819e2bb6] FCM< 8b8baa0 8b8bb40
[ 33.335370] [819e2bb9] RSP 900 0
[ 33.339530] [819e2bbc] FCM> 8b8baa0 0
[ 33.344048] [819e2bbc] CMD d 0
[ 33.348026] [819e2bbc] REQ> 8b8baa0 0
[ 33.352541] [819e2bc0] TSK< 8b8baa0 0
[ 33.357057] [819e2bc3] TSK> 8b8baa0 0
[ 33.361557] [819e2e8c] PRD< 34f29e68 0
[ 33.366146] [819e2e8d] PRD1 38ecf080 0
[ 33.370729] [819e2e95] PRD2 1 0
[ 33.374677] [819e2e9b] PRD3 35799908 0
[ 33.379255] [819e2e9b] PDM> 34f29e68 0
[ 33.383827] [819e2e9c] REQ< 34f29d28 10801
[ 33.388754] [819e2e9d] CMD< 19 ed74f8
[ 33.393230] [819e2ea3] CMDD 8 200
[ 33.397331] [819e2ea4] SDMA 34f29e68 38ecf080
[ 33.402510] [819e2ea6] FCM< 34f29d28 34f29de8
[ 33.407688] [819e2ea8] RSP 900 0
[ 33.411822] [819e2ea8] FCM> 34f29d28 0
[ 33.416391] [819e2ea9] CMD 19 200
[ 33.420602] [819e2eaa] REQ> 34f29d28 0
[ 33.425167] [c19e301d] DMA< 34f29e68 0
[ 33.429721] [c19e301e] DMA 99 10801
[ 33.434091] [c19e3020] FDA< 34f29d28 0
[ 33.438645] [c19e3021] TCM< 34f29e68 0
[ 33.443191] [c19e3022] CMD< c 0
[ 33.447122] [c19e3024] TCM> 34f29e68 0
[ 33.451699] [c19e3024] FDA> 34f29d28 34f29e28
[ 33.456901] [c19e3024] DMA> 0 0
[ 33.460859] [019e31ce] IRQ< 400 0
[ 33.464998] [019e31cf] IRQB 34f29e28 400
[ 33.469768] [019e31cf] FCM< 34f29d28 34f29e28
[ 33.474990] [019e31d1] RSP c00 0
[ 33.479151] [019e31d2] FCM> 34f29d28 34f29e28
[ 33.484390] [019e31d3] IRQ> 0 0
[ 33.488390] [019e31d5] TSK< 34f29d28 0
[ 33.493002] [019e31dc] TSK> 34f29d28 0
[ 33.497594] [819e32e0] REQ< 8b8baa0 10801
[ 33.502455] [819e32e1] CMD< d 70000
[ 33.506784] [819e32e8] FCM< 8b8baa0 8b8bb40
[ 33.511835] [819e32eb] RSP 900 0
[ 33.515996] [819e32ef] FCM> 8b8baa0 0
[ 33.520519] [819e32ef] CMD d 0
[ 33.524507] [819e32f0] REQ> 8b8baa0 0
[ 33.529031] [819e32f6] TSK< 8b8baa0 0
[ 33.533550] [819e32fa] TSK> 8b8baa0 0
[ 33.538055] [819e3300] PRD< 34f29268 0
[ 33.542652] [819e3301] PRD1 38ecf080 0
[ 33.547242] [819e3305] PRD2 1 0
[ 33.551195] [819e330d] PRD3 35799a08 0
[ 33.555775] [819e330e] PDM> 34f29268 0
[ 33.560348] [819e330e] REQ< 34f29128 10801
[ 33.565277] [819e330f] CMD< 19 ed1908
[ 33.569749] [819e3311] CMDD 8 200
[ 33.573851] [819e3311] SDMA 34f29268 38ecf080
[ 33.579028] [819e3312] FCM< 34f29128 34f291e8
[ 33.584206] [819e3314] RSP 900 0
[ 33.588340] [819e3314] FCM> 34f29128 0
[ 33.592908] [819e3314] CMD 19 200
[ 33.597114] [819e3315] REQ> 34f29128 0
[ 33.601673] [819e349f] DMA< 34f29268 0
[ 33.606221] [819e34a0] DMA 99 10801
[ 33.610586] [819e34a3] FDA< 34f29128 0
[ 33.615133] [819e34a4] TCM< 34f29268 0
[ 33.619669] [819e34a5] CMD< c 0
[ 33.623592] [819e34a7] TCM> 34f29268 0
[ 33.628162] [819e34a7] FDA> 34f29128 34f29228
[ 33.633350] [819e34a8] DMA> 0 0
[ 33.637300] [819e3634] IRQ< 400 0
[ 33.641430] [819e3635] IRQB 34f29228 400
[ 33.646187] [819e3636] FCM< 34f29128 34f29228
[ 33.651399] [819e3639] RSP c00 0
[ 33.655551] [819e363a] FCM> 34f29128 34f29228
[ 33.660784] [819e363b] IRQ> 0 0
[ 33.664774] [819e363d] TSK< 34f29128 0
[ 33.669384] [819e364b] TSK> 34f29128 0
[ 33.673974] [819e365b] REQ< 8b8baa0 10801
[ 33.678826] [819e365c] CMD< d 70000
[ 33.683144] [819e3660] FCM< 8b8baa0 8b8bb40
[ 33.688189] [819e3662] RSP 900 0
[ 33.692344] [819e3665] FCM> 8b8baa0 0
[ 33.696861] [819e3666] CMD d 0
[ 33.700842] [819e3666] REQ> 8b8baa0 0
[ 33.705359] [819e366e] TSK< 8b8baa0 0
[ 33.709874] [819e3672] TSK> 8b8baa0 0
[ 33.714371] [819e3679] PRD< 34c12a68 0
[ 33.718959] [819e367a] PRD1 38ecf080 0
[ 33.723544] [819e3685] PRD2 13 0
[ 33.727580] [819e3696] PRD3 34d1d008 0
[ 33.732157] [819e3697] PDM> 34c12a68 0
[ 33.736729] [819e3698] REQ< 34c12928 10801
[ 33.741657] [819e3698] CMD< 17 a8
[ 33.745770] [819e369a] FCM< 34c12928 34c129a8
[ 33.750957] [819e369d] RSP 900 0
[ 33.755072] [819e369d] CMD< 12 1f9de
[ 33.759452] [819e369f] CMDD a8 200
[ 33.763662] [819e36a0] SDMA 34c12a68 38ecf080
[ 33.768864] [819e36a1] FCM< 34c12928 34c129e8
[ 33.774069] [819e36a2] RSP 900 0
[ 33.778200] [819e36a3] FCM> 34c12928 0
[ 33.782770] [819e36a3] FCM> 34c12928 0
[ 33.787318] [819e36a4] CMD 12 200
[ 33.791510] [819e36a4] REQ> 34c12928 0
[ 33.796060] [019e47c5] DMA< 34c12a68 1
[ 33.800620] [019e47c7] DMA 52 10834
[ 33.805014] [019e47d6] FDA< 34c12928 0
[ 33.809588] [019e47d7] TCM< 34c12a68 0
[ 33.814157] [019e47d8] WTC< 10804 0
[ 33.818459] [019e47d9] WTC> 10804 0
[ 33.822746] [019e47d9] TCM> 34c12a68 0
[ 33.827306] [019e47d9] FDA> 34c12928 0
[ 33.831851] [019e47d9] DMA> 0 0
[ 33.835764] [019e47db] TSK< 34c12928 0
[ 33.840297] [019e47f0] TSK> 34c12928 0
[ 33.844803] [819e481f] PRD< 34f2a668 0
[ 33.849313] [819e481f] PRD1 38ecf080 0
[ 33.853819] [819e4823] PRD2 1 0
[ 33.857684] [819e482a] PRD3 360b5d08 0
[ 33.862173] [819e482a] PDM> 34f2a668 0
[ 33.866642] [819e482b] REQ< 34f2a528 10801
[ 33.871469] [819e482d] CMD< 19 ed1910
[ 33.875876] [819e4834] CMDD 8 200
[ 33.879921] [819e4835] SDMA 34f2a668 38ecf080
[ 33.885051] [819e4838] FCM< 34f2a528 34f2a5e8
[ 33.890187] [819e4839] RSP 900 0
[ 33.894262] [819e483a] FCM> 34f2a528 0
[ 33.898781] [819e483b] CMD 19 200
[ 33.902953] [819e483b] REQ> 34f2a528 0
[ 33.907486] [019e490c] DMA< 34f2a668 1
[ 33.912034] [019e490d] DMA 99 10807
[ 33.916400] [019e490e] FDA< 34f2a528 0
[ 33.920963] [019e490f] TCM< 34f2a668 0
[ 33.925521] [019e490f] CMD< c 0
[ 33.929444] [019e4911] TCM> 34f2a668 0
[ 33.934012] [019e4912] FDA> 34f2a528 34f2a628
[ 33.939210] [019e4912] DMA> 0 0
[ 33.943171] [019e4aa2] IRQ< 400 0
[ 33.947306] [019e4aa3] IRQB 34f2a628 400
[ 33.952072] [019e4aa3] FCM< 34f2a528 34f2a628
[ 33.957293] [019e4aa5] RSP c00 0
[ 33.961452] [019e4aa6] FCM> 34f2a528 34f2a628
[ 33.966692] [019e4aa7] IRQ> 0 0
[ 33.970687] [019e4aaa] TSK< 34f2a528 0
[ 33.975301] [019e4abd] TSK> 34f2a528 0
[ 33.979897] [819e4adb] REQ< 8b8baa0 10801
[ 33.984758] [819e4add] CMD< d 70000
[ 33.989086] [819e4ae1] FCM< 8b8baa0 8b8bb40
[ 33.994136] [819e4ae4] RSP 900 0
[ 33.998297] [819e4ae8] FCM> 8b8baa0 0
[ 34.002817] [819e4ae9] CMD d 0
[ 34.006806] [819e4ae9] REQ> 8b8baa0 0
[ 34.011328] [819e4af7] TSK< 8b8baa0 0
[ 34.015849] [819e4afd] TSK> 8b8baa0 0
[ 34.020356] [819e4b08] PRD< 34f2aa68 0
[ 34.024954] [819e4b09] PRD1 38ecf080 0
[ 34.029540] [819e4b0d] PRD2 1 0
[ 34.033491] [819e4b13] PRD3 382b2608 0
[ 34.038076] [819e4b14] PDM> 34f2aa68 0
[ 34.042657] [819e4b15] REQ< 34f2a928 10801
[ 34.047594] [819e4b15] CMD< 19 ed74f8
[ 34.052075] [819e4b17] CMDD 8 200
[ 34.056183] [819e4b18] SDMA 34f2aa68 38ecf080
[ 34.061370] [819e4b1a] FCM< 34f2a928 34f2a9e8
[ 34.066554] [819e4b1b] RSP 900 0
[ 34.070691] [819e4b1b] FCM> 34f2a928 0
[ 34.075269] [819e4b1c] CMD 19 200
[ 34.079484] [819e4b1c] REQ> 34f2a928 0
[ 34.084047] [419e4c97] DMA< 34f2aa68 0
[ 34.088602] [419e4c98] DMA 99 10801
[ 34.092973] [419e4c9a] FDA< 34f2a928 0
[ 34.097521] [419e4c9c] TCM< 34f2aa68 0
[ 34.102060] [419e4c9d] CMD< c 0
[ 34.105989] [419e4ca0] TCM> 34f2aa68 0
[ 34.110563] [419e4ca1] FDA> 34f2a928 34f2aa28
[ 34.115763] [419e4ca1] DMA> 0 0
[ 34.119720] [819e4e32] IRQ< 400 0
[ 34.123855] [819e4e33] IRQB 34f2aa28 400
[ 34.128622] [819e4e34] FCM< 34f2a928 34f2aa28
[ 34.133841] [819e4e36] RSP c00 0
[ 34.138000] [819e4e37] FCM> 34f2a928 34f2aa28
[ 34.143241] [819e4e37] IRQ> 0 0
[ 34.147238] [819e4e3b] TSK< 34f2a928 0
[ 34.151853] [819e4e4d] TSK> 34f2a928 0
[ 34.156450] [819e5abf] REQ< 8b8baa0 10801
[ 34.161314] [819e5ac0] CMD< d 70000
[ 34.165644] [819e5acc] FCM< 8b8baa0 8b8bb40
[ 34.170694] [819e5acf] RSP 900 0
[ 34.174862] [819e5ad3] FCM> 8b8baa0 0
[ 34.179390] [819e5ad4] CMD d 0
[ 34.183382] [819e5ad5] REQ> 8b8baa0 0
[ 34.187913] [819e5adf] TSK< 8b8baa0 0
[ 34.192441] [819e5ae6] TSK> 8b8baa0 0
[ 34.196952] [819e5af7] PRD< 383a6668 0
[ 34.201552] [819e5af8] PRD1 38ecf080 0
[ 34.206140] [819e5b03] PRD2 2 0
[ 34.210099] [819e5b0b] PRD3 360b5d08 0
[ 34.214684] [819e5b0b] PDM> 383a6668 0
[ 34.219259] [819e5b0c] REQ< 383a6528 10801
[ 34.224191] [819e5b0c] CMD< 17 8c
[ 34.228310] [819e5b0e] FCM< 383a6528 383a65a8
[ 34.233500] [819e5b10] RSP 900 0
[ 34.237620] [819e5b11] CMD< 12 21982
[ 34.242005] [819e5b13] CMDD 8c 200
[ 34.246220] [819e5b14] SDMA 383a6668 38ecf080
[ 34.251421] [819e5b16] FCM< 383a6528 383a65e8
[ 34.256619] [819e5b17] RSP 900 0
[ 34.260748] [819e5b18] FCM> 383a6528 0
[ 34.265319] [819e5b18] FCM> 383a6528 0
[ 34.269870] [819e5b18] CMD 12 200
[ 34.274060] [819e5b19] REQ> 383a6528 0
[ 34.278607] [823adfd1] TIM< 0 0
[ 34.282555] mmc0: sbc op 23 arg 0x8c flags 0×15 - resp 00000900 00000000 00000000 00000000, err 0
[ 34.293364] mmc0: cmd op 18 arg 0×21982 flags 0xb5 - resp 00000900 00000000 00000000 00000000, err 0
[ 34.304769] mmc0: data blocks 8c blksz 200 - err 0
[ 34.310795] mmc0: stop op 12 arg 0×0 flags 0×95 - resp 00000000 00000000 00000000 00000000, err 0
[ 34.322319] mmc0:

REGISTER DUMP

[ 34.328983] mmc0: SDCMD 0×00004052 [ 34.333872] mmc0: SDARG 0×00021982 [ 34.338742] mmc0: SDTOUT 0x017d7840
[ 34.343607] mmc0: SDCDIV 0×00000003 [ 34.348472] mmc0: SDRSP0 0×00000900 [ 34.353319] mmc0: SDRSP1 0×00001269 [ 34.358154] mmc0: SDRSP2 0x7fffffff
[ 34.362970] mmc0: SDRSP3 0×00024007 [ 34.367774] mmc0: SDHSTS 0×00000080 [ 34.372593] mmc0: SDVDD 0×00000001 [ 34.377403] mmc0: SDEDM 0×00010801 [ 34.382197] mmc0: SDHCFG 0x0000040e
[ 34.386978] mmc0: SDHBCT 0×00000200 [ 34.391676] mmc0: SDHBLC 0×00000006 [ 34.396280] mmc0:

[ 34.403337] mmcblk0: error -110 transferring data, sector 137602, nr 140, cmd response 0×900, card status 0xb00

 


15.08.20203285KernelBug ReportVery LowHighCan't change MTU on IPQ806x devicesTrunkUnconfirmed Task Description

- I’ve personally tested it on ZyXEL NBG6817
- Any version with https://patchwork.kernel.org/patch/11283121/ patch applied
- To reproduce:
# ifdown wan
# ifconfig (wan_interface) MTU 1499 (or 1501 or anything other than 1500)

This bug is caused by txfifosz being 0 on IPQ806x devices (and possibly more) unless tx-fifo-depth is specified in device tree, potential fix would be to specify tx-fifo-depth in device tree for all affected devices, or, check if txfifosz == 0 and then allow MTU change.

14.08.20203283Base systemBug ReportVery LowLowLUCI unavailable when WAN MAC specifiedTrunkUnconfirmed Task Description

Running ‘OpenWrt 19.07.3 r11063-85e04e9f46’ on a Linksys WRT32ACM v1 if you set the WAN MAC to something other than what it really is, you can not access LUCI using the internal router IP (192.168.1.1) when the WAN is plugged in. If unplug the WAN, access to 192.168.1.1 is restored. This does not impact the IPv6 access via `openwrt.lan`. Repeatedly plugging and unplugging the WAN makes the problem appear and go away. I tried all kinds of Firewall rules and port forwards, rebooted and reset many times. I reverted the WAN MAC back to the actual hardware address and it works just fine. It appears that eth1.2 gets the new MAC, but the underlying eth1 still has the burned in MAC and I think that the card drops the packets (VLAN interfaces should have the same MAC as the parent). I’m now noticing that the MAC lines up with the wlan0 interface that was down and that could also contribute to the problem.

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

 

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000

  link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  inet 127.0.0.1/8 scope host lo
     valid_lft forever preferred_lft forever
  inet6 ::1/128 scope host 
     valid_lft forever preferred_lft forever

2: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 532

  link/ether 24:f5:a2:2f:39:d8 brd ff:ff:ff:ff:ff:ff
  inet6 fe80::26f5:a2ff:fe2f:39d8/64 scope link 
     valid_lft forever preferred_lft forever

3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 532

  link/ether 26:f5:a2:2f:39:d8 brd ff:ff:ff:ff:ff:ff
  inet6 fe80::24f5:a2ff:fe2f:39d8/64 scope link 
     valid_lft forever preferred_lft forever

5: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000

  link/ether 24:f5:a2:2f:39:da brd ff:ff:ff:ff:ff:ff

6: wlan1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000

  link/ether 24:f5:a2:2f:39:d9 brd ff:ff:ff:ff:ff:ff

7: mlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000

  link/ether 24:f5:a2:2f:39:db brd ff:ff:ff:ff:ff:ff

8: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000

  link/ether 26:f5:a2:2f:39:d8 brd ff:ff:ff:ff:ff:ff
  inet 192.168.1.1/24 brd 192.168.1.255 scope global br-lan
     valid_lft forever preferred_lft forever
  inet6 2600:6c52:6300:74d6::1/64 scope global dynamic 
     valid_lft 600870sec preferred_lft 600870sec
  inet6 fdaa:bf91:a905::1/60 scope global 
     valid_lft forever preferred_lft forever
  inet6 fe80::24f5:a2ff:fe2f:39d8/64 scope link 
     valid_lft forever preferred_lft forever

9: eth0.1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000

  link/ether 26:f5:a2:2f:39:d8 brd ff:ff:ff:ff:ff:ff

11: eth1.2@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000

  link/ether 24:f5:a2:2f:39:da brd ff:ff:ff:ff:ff:ff
  inet xx.xx.xx.xx/24 brd 24.176.239.255 scope global eth1.2
     valid_lft forever preferred_lft forever
  inet6 2600:6c52:7008:400:d99f:4eea:b0fd:a61/128 scope global dynamic 
     valid_lft 600870sec preferred_lft 600870sec
  inet6 fe80::26f5:a2ff:fe2f:39da/64 scope link 
     valid_lft forever preferred_lft forever
11.08.20203281PackagesBug ReportVery LowHighdnsmasq: option nonwildcard=0 and localservice=1 can no...TrunkUnconfirmed Task Description

Latest snapshot OpenWrt

It can be reproduced on many platform, you can just verify with Virtualbox and x86 images.

First restore to factory, then set ‘option nonwildcard=0’, reboot, ssh to OpenWrt, run ‘nslookup he.net’, you will get ‘;; connection timed out; no servers could be reached’ error, manually restarting dnsmasq service or setting ‘option localservice=0’ could fix it.

Showing tasks 101 - 150 of 1161 Page 3 of 24 - 1 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing