OpenWrt/LEDE Project

Welcome to the OpenWrt Project bug reporting and issue tracking system

Problems to be reported here are for the current OpenWrt and legacy LEDE Project’s targets, sources, toolchain, core packages, build procedures, distribution and infrastructure. Guidelines for submitting a good bug report can be found at the OpenWrt 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 openwrt-bugs@infradead.org.

OpenedIDCategoryTask TypePrioritySeverity  descSummaryReported InStatus
23.07.20203244KernelBug ReportVery LowHighath9k_htc: Kernel oops in snapshot on RaspberryPi 4 (at...TrunkUnconfirmed Task Description

- Device: Raspberry Pi4
- Snapshot kernel 5.4 with 5.7 backport
- Install ath9k_htc dongle and connect WiFi client

So, I have been able to tackle down who is causing a kernel panic and reboot of my RPi4 with current snapshots.

It is the ath9k_htc dongle I use but only if there are clients connected to it
Apparently it corrupts memory so the kernel panic look quite different among them, here two caputer with serial:

```
[75789.085223] Unable to handle kernel access to user memory outside uaccess routines at virtual address 0000000000000008
[75789.095930] Mem abort info:
[75789.098716] ESR = 0×96000045 [75789.101763] EC = 0×25: DABT (current EL), IL = 32 bits
[75789.107068] SET = 0, FnV = 0
[75789.110113] EA = 0, S1PTW = 0
[75789.113246] Data abort info:
[75789.116118] ISV = 0, ISS = 0×00000045 [75789.119945] CM = 0, WnR = 1
[75789.122906] user pgtable: 4k pages, 39-bit VAs, pgdp=00000000f6f67000
[75789.129339] [0000000000000008] pgd=0000000000000000, pud=0000000000000000
[75789.136124] Internal error: Oops: 96000045 [#1] SMP
[75789.140994] Modules linked in: ath9k_htc ath9k_common xt_connlimit rt2800usb rt2800lib rt2500usb pppoe ppp_async nf_conncount iptable_nat brcmfmac ath9k_hw ath xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT rtl8812au rt2x00usb rt2x00lib pppox ppp_generic nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack mt76x2u mt76x2e mt76x2_common mt76x02_usb mt76x02_lib mt7603e mt7601u mt76_usb mt76 mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY wireguard usbhid slhc sch_cake nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables hid_generic crc_ccitt compat brcmutil sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic
[75789.141074] act_skbedit act_mirred snd_bcm2835(C) hid evdev ledtrig_heartbeat xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ifb nat46 ip6_udp_tunnel udp_tunnel sit tunnel4 ip_tunnel tun snd_rawmidi snd_seq_device snd_pcm_oss snd_pcm snd_timer snd_mixer_oss snd_hwdep snd_compress snd soundcore nls_utf8 md5 vfat fat nls_iso8859_1 nls_cp437
[75789.289825] CPU: 3 PID: 721 Comm: hostapd Tainted: G C 5.4.51 #0
[75789.297125] Hardware name: Raspberry Pi 4 Model B Rev 1.2 (DT)
[75789.302950] pstate: 20400085 (nzCv daIf +PAN -UAO)
[75789.307739] pc : skb_try_recv_from_queue+0×164/0x1a0
[75789.312869] lr :
skb_try_recv_datagram+0xb0/0x1a8
[75789.317737] sp : ffffffc011553aa0
[75789.321041] x29: ffffffc011553aa0 x28: ffffffc011553bbc
[75789.326344] x27: 0000000000000000 x26: ffffff80f2ccb8d0
[75789.331646] x25: 0000000000000000 x24: ffffffc011553b90
[75789.336949] x23: 0000000000000000 x22: 0000000000000000
[75789.342251] x21: ffffffc011553bbc x20: 0000000000000000
[75789.347553] x19: ffffff80f1e51000 x18: 0000000000000000
[75789.352855] x17: 0000000000000000 x16: 0000000000000000
[75789.358157] x15: 0000000000000000 x14: 0000000000000000
[75789.363459] x13: 0000000000000000 x12: 0000000000000000
[75789.368762] x11: 0000000000000000 x10: 00000055b6805320
[75789.374064] x9 : ffffff80f5090800 x8 : 0000000000000040
[75789.379366] x7 : ffffffc01056a890 x6 : ffffffc011553b90
[75789.384668] x5 : ffffffc011553b4c x4 : ffffffc011553bbc
[75789.389970] x3 : 0000000000000000 x2 : 0000000000000000
[75789.395272] x1 : ffffff80f2ccb8d0 x0 : ffffff80f2ccb800
[75789.400575] Call trace:
[75789.403014] skb_try_recv_from_queue+0×164/0x1a0
[75789.407796]
skb_try_recv_datagram+0xb0/0x1a8
[75789.412318] skb_recv_datagram+0×84/0xa8
[75789.416405] skb_recv_datagram+0×28/0×30 [75789.420320] netlink_recvmsg+0×48/0×330 [75789.424147] sock_recvmsg+0x1c/0×28 [75789.427626]
sys_recvmsg+0×84/0x3e8
[75789.431452]
_sys_recvmsg+0×64/0×88 [75789.435107] sys_recvmsg+0×40/0×80 [75789.438673] arm64_sys_recvmsg+0×20/0×28 [75789.442762] el0_svc_handler+0xd4/0×130 [75789.446588] el0_svc+0×8/0xc
[75789.449464] Code: 51000442 b9001022 a9400662 a9007e7f (f9000441)
[75789.455549] —[ end trace 49dce345634ad00c ]— [75789.460156] Kernel panic - not syncing: Fatal exception
[75789.465373] SMP: stopping secondary CPUs
[75789.469289] Kernel Offset: disabled
[75789.472768] CPU features: 0×0002,20006000
[75789.476766] Memory Limit: none
[75789.479813] Rebooting in 3 seconds..
```

```
[22276.297087] Unable to handle kernel access to user memory with fs=KERNEL_DS at virtual address 000000000000004c
[22276.307207] Mem abort info:
[22276.309997] ESR = 0×96000005 [22276.313075] EC = 0×25: DABT (current EL), IL = 32 bits
[22276.318389] SET = 0, FnV = 0
[22276.321436] EA = 0, S1PTW = 0
[22276.324575] Data abort info:
[22276.327453] ISV = 0, ISS = 0×00000005 [22276.331287] CM = 0, WnR = 0
[22276.334255] user pgtable: 4k pages, 39-bit VAs, pgdp=00000000f1f36000
[22276.340696] [000000000000004c] pgd=00000000f40b0003, pud=00000000f40b0003, pmd=0000000000000000
[22276.349401] Internal error: Oops: 96000005 [#1] SMP
[22276.354272] Modules linked in: ath9k_htc ath9k_common xt_connlimit rt2800usb rt2800lib rt2500usb pppoe ppp_async nf_conncount iptable_nat brcmfmac ath9k_hw ath xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT rtl8812au rt2x00usb rt2x00lib pppox ppp_generic nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack mt76x2u mt76x2e mt76x2_common mt76x02_usb mt76x02_lib mt7603e mt7601u mt76_usb mt76 mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY wireguard usbhid slhc sch_cake nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables hid_generic crc_ccitt compat brcmutil sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic
[22276.354354] act_skbedit act_mirred snd_bcm2835(C) hid evdev ledtrig_heartbeat xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ifb nat46 ip6_udp_tunnel udp_tunnel sit tunnel4 ip_tunnel tun snd_rawmidi snd_seq_device snd_pcm_oss snd_pcm snd_timer snd_mixer_oss snd_hwdep snd_compress snd soundcore nls_utf8 md5 vfat fat nls_iso8859_1 nls_cp437
[22276.503133] CPU: 2 PID: 1883 Comm: sh Tainted: G C 5.4.51 #0
[22276.510088] Hardware name: Raspberry Pi 4 Model B Rev 1.2 (DT)
[22276.515916] pstate: 60400005 (nZCv daif +PAN -UAO)
[22276.520710] pc : vfs_read+0xc/0×158 [22276.524192] lr : kernel_read+0×40/0×88 [22276.527933] sp : ffffffc016943c80
[22276.531240] x29: ffffffc016943c80 x28: 0000000000000000
[22276.536546] x27: 0000000000000002 x26: ffffffc01080bf60
[22276.541853] x25: ffffff80f50d8c80 x24: ffffffc010960cd8
[22276.547158] x23: 00000000fffffff8 x22: ffffff80f52d8438
[22276.552463] x21: ffffff80f52d8400 x20: 0000007fffffffff
[22276.557769] x19: ffffff80f2c68000 x18: 0000000000000000
[22276.563074] x17: 0000000000000000 x16: 0000000000000000
[22276.568379] x15: 00000000008a4000 x14: 0000000000000001
[22276.573684] x13: 0000000000000b90 x12: 0000000000000b90
[22276.578989] x11: 0000000000474470 x10: 0000000000474470
[22276.584295] x9 : 0000000000064470 x8 : 000000046474e552
[22276.589600] x7 : 0000000000000000 x6 : 0000000000000000
[22276.594906] x5 : 0000000000000000 x4 : 0000000000000020
[22276.600211] x3 : ffffffc016943da8 x2 : 000000000000001a
[22276.605516] x1 : ffffff80f50d8c80 x0 : 0000000000000008
[22276.610821] Call trace:
[22276.613263] vfs_read+0xc/0×158 [22276.616397] kernel_read+0×40/0×88 [22276.619795] load_elf_binary+0xf4/0xd08
[22276.623624] search_binary_handler.part.55+0xac/0×278 [22276.628669] do_execve_file+0x4c4/0x6a8
[22276.632671]
arm64_sys_execve+0×38/0×48 [22276.636676] el0_svc_handler+0xd4/0×130 [22276.640505] el0_svc+0×8/0xc
[22276.643386] Code: d503201f a9bc7bfd 910003fd a90363f7 (b9404404)
[22276.649475] —[ end trace 081a8415f22be558 ]— [22276.654086] Kernel panic - not syncing: Fatal exception
[22276.659307] SMP: stopping secondary CPUs
[22276.663223] Kernel Offset: disabled
[22276.666705] CPU features: 0×0002,20006000
[22276.670706] Memory Limit: none
[22276.673756] Rebooting in 3 seconds..
```

I have tried two different RPi4 hardware and two different SD cards. No other devices are connected to the USB ports,ath9k_htc dongle is connected to USB 2.0 port.

With 19.07.x on a Orangepi PC2 device, the same dongle behaved correctly

 


28.07.20203252Base systemBug ReportVery LowHighX86 kernel has no emmc support, cause it can't boot fro...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Z83II mini pc. https://www.minipcdb.com/articles/Meet-Z83II-Mini-PC - Software versions of OpenWrt/LEDE release, packages, etc. Tested on both 19.07.3 and latest snapshots, both failed.
- Steps to reproduce: Write to image to the embedded emmc disk and boot it.

I’ve tested both 19.07.3 and latest snapshots build of openwrt x86-64 build on the Intel Z8350 fanless mini PC. Both failed to boot. The kernel can boot up correctly, but the system hang at waiting for root device. If the image is burned on USB disk, it can boot up correctly without any issue.

I searched on Google and found this post - https://forum.archive.openwrt.org/viewtopic.php?id=72195

I did the test on 19.07.3 and verified the system can boot up correctly from embedded emmc storage that by adding the following two options into the target/linux/x86/64/config-default file
CONFIG_MMC_SDHCI_ACPI
CONFIG_X86_INTEL_LPSS

Could you approve to add the options into the future update to support booting from emmc storage?
Thanks!

 


06.08.20203273KernelBug ReportVery LowHighVLAN isolation failed on ipq40xx (GL-B1300)TrunkUnconfirmed Task Description

ipq40xx GL-B1300 OpenWrt snapshot

It seems that recent snapshots broke vlan isolation, I guess https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=9da2b567605b0964d921b9ca4f0c9886db4f636d should be responsible.

More information on https://forum.openwrt.org/t/vlan-isolation-failed-on-ipq40xx-gl-b1300

06.08.20203274KernelBug ReportVery LowHighAn error is reported at each start-up phaseAllUnconfirmed Task Description

1.Error log:
[ 63.368179] i915 0000:00:02.0: Failed to load DMC firmware i915/glk_dmc_ver1_04.bin. Disabling runtime power management.
[ 63.379745] i915 0000:00:02.0: DMC firmware homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915

2.Problem:Sometimes the power is suddenly cut off and the machine crashes

3.System information:
Intel(R) Celeron(R) J4105 CPU @ 1.50GHz : 4 Core 4 Thread
OpenWrt R20.7.20 / LuCI Master (git-20.191.45716-b73d3a4)

4.I tried to use the graphics driver to the kernel.The mistake did not disappear.In addition, I swiped in the latest firmware compiled by others.The problem remains
I tried to upgrade the kernel to 5.4.56, which did not solve the problem.Please help me

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.

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.

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.

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.

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.


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.

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

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

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

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

09.10.20203373Base systemBug ReportVery LowHighIPV6 flow offload brokenTrunkUnconfirmed Task Description

Enabling this option makes the ipv6 connection unstable.

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


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

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

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

14.10.20203386KernelBug ReportVery LowHighRegression: Broadcom Roboswitch B53TrunkUnconfirmed Task Description

Hi,

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

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


For v17.01.5

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

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

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

For v18.06.0

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

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


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

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

25.10.20203406KernelBug ReportVery LowHighproblems router ip address TrunkUnconfirmed Task Description

Hello all,

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

WRT1900ACS V2

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

_______                     ________        __

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

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

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


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

31.10.20203418Base systemBug ReportVery LowHighLatest build for TL-WR1043ND v2 (ath79) does not boot -...TrunkUnconfirmed Task Description

Device: TL-WR1043ND v2
Software versions: Linux version 5.4.72 (risa@gentoo-vb) (gcc version 9.3.0 (OpenWrt GCC 9.3.0 r14820-5cdc65f6d1)) #0 Sat Oct 31 20:27:47 2020

I am building a the latest snapshot into a custom image by using ImageBuilder, the latest build of r14820-5cdc65f6d1 does not boot, because the `/sbin/init` process misses some libraries. Following is the output from serial console during the failed boot:

U-Boot 1.1.4 (Jun 18 2013 - 15:51:52)

ap135 - Scorpion 1.0DRAM:
sri
Scorpion 1.0
ath_ddr_initial_config(178): (16bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x0, 0x1e)
Tap values = (0xf, 0xf, 0xf, 0xf)
64 MB
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

*** Warning *** : PCIe WLAN Module not found !!!
*** Warning *** : PCIe WLAN Module not found !!!
In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0xe
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
Scorpion  ----> S17 PHY *
athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
eth0 up
athrs17_reg_init_wan done
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x800c0000 cfg2 0x7214
eth1: ba:be:fa:ce:08:41
eth1 up
eth0, eth1
Setting 0x18116290 to 0x50a1a14f
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 5.4.72 (risa@gentoo-vb) (gcc version 9.3.0 (OpenWrt GCC 9.3.0 r14820-5cdc65f6d1)) #0 Sat Oct 31 20:27:47 2020
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is TP-Link TL-WR1043ND v2
[    0.000000] SoC: Qualcomm Atheros QCA9558 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] 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: 57408K/65536K available (4753K kernel code, 183K rwdata, 1100K rodata, 1188K init, 196K bss, 8128K 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/0x518 with crng_init=0
[    0.000000] CPU clock: 720.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
[    0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
[    0.008304] Calibrating delay loop... 359.42 BogoMIPS (lpj=718848)
[    0.042895] pid_max: default: 32768 minimum: 301
[    0.047939] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.055731] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.068023] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.078401] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.085760] pinctrl core: initialized pinctrl subsystem
[    0.092269] NET: Registered protocol family 16
[    0.125112] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.138512] clocksource: Switched to clocksource MIPS
[    0.145000] NET: Registered protocol family 2
[    0.150412] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.159383] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.167556] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.175076] TCP: Hash tables configured (established 1024 bind 1024)
[    0.181978] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.188984] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.196689] NET: Registered protocol family 1
[    0.201403] PCI: CLS 0 bytes, default 32
[    0.209179] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.222121] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.228370] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.253702] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.260356] gpio-export gpio-export: 1 gpio(s) exported
[    0.266791] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.274237] printk: console [ttyS0] disabled
[    0.278880] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 2500000) is a 16550A
[    0.288078] printk: console [ttyS0] enabled
[    0.288078] printk: console [ttyS0] enabled
[    0.296983] printk: bootconsole [early0] disabled
[    0.296983] printk: bootconsole [early0] disabled
[    0.326653] spi-nor spi0.0: s25fl064k (8192 Kbytes)
[    0.331659] 3 fixed-partitions partitions found on MTD device spi0.0
[    0.338114] Creating 3 MTD partitions on "spi0.0":
[    0.342997] 0x000000000000-0x000000020000 : "u-boot"
[    0.348955] 0x000000020000-0x0000007f0000 : "firmware"
[    0.356886] 2 tplink-fw partitions found on MTD device firmware
[    0.362955] Creating 2 MTD partitions on "firmware":
[    0.368020] 0x000000000000-0x0000001e7881 : "kernel"
[    0.373908] 0x0000001e7884-0x0000007d0000 : "rootfs"
[    0.379757] mtd: device 3 (rootfs) set to be root filesystem
[    0.387289] 1 squashfs-split partitions found on MTD device rootfs
[    0.393628] 0x0000004b0000-0x0000007d0000 : "rootfs_data"
[    0.399977] 0x0000007f0000-0x000000800000 : "art"
[    0.407475] libphy: Fixed MDIO Bus: probed
[    0.744356] libphy: ag71xx_mdio: probed
[    0.751255] switch0: Atheros AR8327 rev. 4 switch registered on mdio.0
[    1.138505] random: fast init done
[    1.335866] ag71xx 19000000.eth: connected to PHY at mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[    1.346964] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
[    1.668297] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[    1.678016] eth1: Atheros AG71xx at 0xba000000, irq 5, mode: sgmii
[    1.684519] i2c /dev entries driver
[    1.690083] NET: Registered protocol family 10
[    1.699644] Segment Routing with IPv6
[    1.703525] NET: Registered protocol family 17
[    1.708120] 8021q: 802.1Q VLAN Support v1.8
[    1.718966] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.732581] Freeing unused kernel memory: 1188K
[    1.737201] This architecture does not have kernel memory protection.
[    1.743742] Run /sbin/init as init process
Error loading shared library libubox.so: No such file or directory (needed by /sbin/init)
Error loading shared library libubus.so: No such file or directory (needed by /sbin/init)
Error loading shared library libjson-c.so.5: No such file or directory (needed by /sbin/init)
Error loading shared library libblobmsg_json.so: No such file or directory (needed by /sbin/init)
Error loading shared library libjson_script.so: No such file or directory (needed by /sbin/init)
Error relocating[    2.195702] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[    2.204495] Rebooting in 1 seconds..


U-Boot 1.1.4 (Jun 18 2013 - 15:51:52)

The libs are built correctly:

risa@gentoo-vb ~/openwrt/openwrt $ ldd staging_dir/host/bin/ucert
        linux-vdso.so.1 (0x00007ffcd6db2000)
        libubox.so => /home/risa/openwrt/openwrt/staging_dir/host/lib/libubox.so (0x00007f914f60e000)
        libblobmsg_json.so => /home/risa/openwrt/openwrt/staging_dir/host/lib/libblobmsg_json.so (0x00007f914f609000)
        libjson-c.so.5 => /home/risa/openwrt/openwrt/staging_dir/host/lib/libjson-c.so.5 (0x00007f914f5f6000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f914f433000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f914f626000)
risa@gentoo-vb ~/openwrt/openwrt $ ls -la /home/risa/openwrt/openwrt/staging_dir/host/lib/libubox.so
-rwxr-xr-x 1 risa risa 417040 Oct 31 23:25 /home/risa/openwrt/openwrt/staging_dir/host/lib/libubox.so
risa@gentoo-vb ~/openwrt/openwrt $ ls -la /home/risa/openwrt/openwrt/staging_dir/host/lib/libblobmsg_json.so
-rwxr-xr-x 1 risa risa 115704 Oct 31 23:25 /home/risa/openwrt/openwrt/staging_dir/host/lib/libblobmsg_json.so
risa@gentoo-vb ~/openwrt/openwrt $ ls -la /home/risa/openwrt/openwrt/staging_dir/host/lib/libjson-c.so.5
lrwxrwxrwx 1 risa risa 18 Oct 31 23:24 /home/risa/openwrt/openwrt/staging_dir/host/lib/libjson-c.so.5 -> libjson-c.so.5.1.0
risa@gentoo-vb ~/openwrt/openwrt $ ls -la ./staging_dir/target-mips_24kc_musl/usr/lib/libubus.so
-rwxr-xr-x 1 risa risa 146900 Oct 31 23:27 ./staging_dir/target-mips_24kc_musl/usr/lib/libubus.so

but for some reason are not present in the final image built from ImageBuilder.

The image built using the same configuration from the older revision (7190fb2da4) has the size:

-rw-r--r--  1 risa risa 6684973 Sep 20 15:46 openwrt-ath79-generic-tplink_tl-wr1043nd-v2-squashfs-sysupgrade.bin

while the new one built now is much smaller. It looks like some parts are not correctly stored in the image:

-rw-r--r--  1 risa risa 4915501 Oct 31 23:46 openwrt-ath79-generic-tplink_tl-wr1043nd-v2-squashfs-sysupgrade.bin


01.11.20203423Base systemBug ReportVery LowHighNo dependencies installed and configuredTrunkUnconfirmed Task Description

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

 

root@OpenWrt:~# opkg install luci
Installing luci (git-20.304.73778-5a485f8) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci_git-20.304.73778-5a485f8_all.ipk Configuring luci.
root@OpenWrt:~# opkg list-installed | grep luci
luci - git-20.304.73778-5a485f8

On a fresh install, no dependencies installed and configured, leading to an non functional Luci instance.

On the lastest snapshots, with my Linksys EA7500 V1.

02.11.20203427ToolchainBug ReportVery LowHighImageBuilder images break Xiaomi Redmi 2100TrunkUnconfirmed Task Description

Hi,

I’m building image for my Xiaomi Redmi 2100 using the imagebuilder, but when I flash my router it never comes back and the amber LED is on. I’m building my image this way:
make image PROFILE=xiaomi_redmi-router-ac2100 PACKAGES=”luci -luci-proto-ppp wpad-wolfssl iperf3 ethtool mtr iwinfo kmod-tcp-bbr kmod-mtd-rw libustream-wolfssl ca-bundle -ppp -ppp-mod-pppoe -kmod-pppox -kmod-pppoe -kmod-ppp -wpad-basic-wolfssl” I’m using GitHub actions to automate it, you can check the workflow here: https://github.com/amaumene/xiaomi_redmi-router-ac2100_openwrt_mesh/blob/master/.github/workflows/build-openwrt.yml I’ve restored the original firmware and flashed with the latest snapshot from openwrt.org without any issue. The only error that I can see is this “/home/alex/openwrt-imagebuilder-ramips-mt7621.Linux-x86_64/build_dir/target-mipsel_24kc_musl/root-ramips/lib/functions/procd.sh: line 43: /home/alex/openwrt-imagebuilder-ramips-mt7621.Linux-x86_64/build_dir/target-mipsel_24kc_musl/root-ramips/usr/share/libubox/jshn.sh: No such file or directory”

08.11.20203439Base systemBug ReportVery LowHighCan't connect for WPA2-Enterprise from Windows system.openwrt-19.07Unconfirmed Task Description

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

Device problem occurs on

I can’t connect to network wifi (WPA2-Enterprise) from Windows system. I can connect from Linux and IOS systems.
I tested packages: wpad-mesh-openssl, wpad-openssl, wpad-wolfssl and wpad.

Software versions of OpenWrt/LEDE release, packages, etc

cat /etc/openwrt_release
DISTRIB_ID=’OpenWrt’ DISTRIB_RELEASE=’19.07-SNAPSHOT’ DISTRIB_REVISION=’r11201-f5afa593e7’ DISTRIB_TARGET=’ath79/generic’ DISTRIB_ARCH=’mips_24kc’ DISTRIB_DESCRIPTION=’OpenWrt 19.07-SNAPSHOT r11201-f5afa593e7’ DISTRIB_TAINTS=’’

opkg list-installed
adblock - 4.0.6-3
base-files - 204.2-r11201-f5afa593e7
blkid - 2.34-1
block-mount - 2020-05-12-84269037-1
busybox - 1.30.1-6
ca-bundle - 20200601-1
cgi-io - 19
chat - 2.4.7.git-2019-05-25-3
comgt - 0.32-32
comgt-directip - 0.32-32
comgt-ncm - 0.32-32
coreutils - 8.30-2
coreutils-sort - 8.30-2
ddns-scripts - 2.7.8-13
dnsmasq - 2.80-16.1
dropbear - 2019.78-2
e2fsprogs - 1.44.5-2
ekooneplstat - 20150706
etherwake - 1.09-4
firewall - 2019-11-22-8174814a-2
fstools - 2020-05-12-84269037-1
fwtool - 2
getrandom - 2019-06-16-4df34a4d-3
hostapd-common - 2019-08-08-ca8c2bd2-4
ip-tiny - 5.0.0-2.1
ipset - 7.3-1
iptables - 1.8.3-1
iw - 5.0.1-1
iwinfo - 2019-10-16-07315b6f-1
jshn - 2020-05-25-66195aee-1
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 4.14.195-1-38fe082385c94876bc5af35c67d5656a
kmod-ath - 4.14.195+4.19.137-1-2
kmod-ath9k - 4.14.195+4.19.137-1-2
kmod-ath9k-common - 4.14.195+4.19.137-1-2
kmod-cfg80211 - 4.14.195+4.19.137-1-2
kmod-crypto-aead - 4.14.195-1
kmod-crypto-ccm - 4.14.195-1
kmod-crypto-cmac - 4.14.195-1
kmod-crypto-crc32c - 4.14.195-1
kmod-crypto-ctr - 4.14.195-1
kmod-crypto-des - 4.14.195-1
kmod-crypto-ecb - 4.14.195-1
kmod-crypto-gcm - 4.14.195-1
kmod-crypto-gf128 - 4.14.195-1
kmod-crypto-ghash - 4.14.195-1
kmod-crypto-hash - 4.14.195-1
kmod-crypto-hmac - 4.14.195-1
kmod-crypto-iv - 4.14.195-1
kmod-crypto-manager - 4.14.195-1
kmod-crypto-md4 - 4.14.195-1
kmod-crypto-md5 - 4.14.195-1
kmod-crypto-null - 4.14.195-1
kmod-crypto-pcompress - 4.14.195-1
kmod-crypto-rng - 4.14.195-1
kmod-crypto-seqiv - 4.14.195-1
kmod-crypto-sha256 - 4.14.195-1
kmod-crypto-sha512 - 4.14.195-1
kmod-crypto-wq - 4.14.195-1
kmod-fs-ext4 - 4.14.195-1
kmod-fs-ksmbd - 4.14.195+3.1.3-1
kmod-fs-vfat - 4.14.195-1
kmod-fuse - 4.14.195-1
kmod-gpio-button-hotplug - 4.14.195-3
kmod-ipt-conntrack - 4.14.195-1
kmod-ipt-core - 4.14.195-1
kmod-ipt-ipset - 4.14.195-1
kmod-ipt-nat - 4.14.195-1
kmod-ipt-offload - 4.14.195-1
kmod-ipt-raw - 4.14.195-1
kmod-lib-crc-ccitt - 4.14.195-1
kmod-lib-crc16 - 4.14.195-1
kmod-lib-textsearch - 4.14.195-1
kmod-mac80211 - 4.14.195+4.19.137-1-2
kmod-mii - 4.14.195-1
kmod-nf-conntrack - 4.14.195-1
kmod-nf-conntrack6 - 4.14.195-1
kmod-nf-flow - 4.14.195-1
kmod-nf-ipt - 4.14.195-1
kmod-nf-ipt6 - 4.14.195-1
kmod-nf-nat - 4.14.195-1
kmod-nf-nathelper-extra - 4.14.195-1
kmod-nf-reject - 4.14.195-1
kmod-nf-reject6 - 4.14.195-1
kmod-nfnetlink - 4.14.195-1
kmod-nls-base - 4.14.195-1
kmod-nls-cp437 - 4.14.195-1
kmod-nls-iso8859-1 - 4.14.195-1
kmod-nls-utf8 - 4.14.195-1
kmod-phy-ath79-usb - 4.14.195-1
kmod-ppp - 4.14.195-1
kmod-pppoe - 4.14.195-1
kmod-pppox - 4.14.195-1
kmod-scsi-core - 4.14.195-1
kmod-slhc - 4.14.195-1
kmod-tun - 4.14.195-1
kmod-udptunnel4 - 4.14.195-1
kmod-udptunnel6 - 4.14.195-1
kmod-usb-acm - 4.14.195-1
kmod-usb-core - 4.14.195-1
kmod-usb-ehci - 4.14.195-1
kmod-usb-ledtrig-usbport - 4.14.195-1
kmod-usb-net - 4.14.195-1
kmod-usb-net-cdc-ether - 4.14.195-1
kmod-usb-net-cdc-mbim - 4.14.195-1
kmod-usb-net-cdc-ncm - 4.14.195-1
kmod-usb-net-huawei-cdc-ncm - 4.14.195-1
kmod-usb-net-qmi-wwan - 4.14.195-1
kmod-usb-net-rndis - 4.14.195-1
kmod-usb-net-sierrawireless - 4.14.195-1
kmod-usb-serial - 4.14.195-1
kmod-usb-serial-option - 4.14.195-1
kmod-usb-serial-qualcomm - 4.14.195-1
kmod-usb-serial-sierrawireless - 4.14.195-1
kmod-usb-serial-wwan - 4.14.195-1
kmod-usb-storage - 4.14.195-1
kmod-usb-storage-uas - 4.14.195-1
kmod-usb-wdm - 4.14.195-1
kmod-usb2 - 4.14.195-1
kmod-wireguard - 4.14.195+1.0.20200611-1
ksmbd-server - 3.2.1-1
ksmbd-utils - 3.2.1-1
libblkid1 - 2.34-1
libblobmsg-json - 2020-05-25-66195aee-1
libc - 1.1.24-2
libcomerr0 - 1.44.5-2
libext2fs2 - 1.44.5-2
libgcc1 - 7.5.0-2
libip4tc2 - 1.8.3-1
libip6tc2 - 1.8.3-1
libipset13 - 7.3-1
libiwinfo-lua - 2019-10-16-07315b6f-1
libiwinfo20181126 - 2019-10-16-07315b6f-1
libjson-c2 - 0.12.1-3.1
libjson-script - 2020-05-25-66195aee-1
liblua5.1.5 - 5.1.5-3
liblucihttp-lua - 2019-07-05-a34a17d5-1
liblucihttp0 - 2019-07-05-a34a17d5-1
liblzo2 - 2.10-2
libmbedtls12 - 2.16.8-1
libmnl0 - 1.0.4-2
libncurses6 - 6.1-5
libnl-core200 - 3.4.0-2
libnl-genl200 - 3.4.0-2
libnl-tiny - 0.1-5
libopenssl-conf - 1.1.1g-1
libopenssl1.1 - 1.1.1g-1
libpcap1 - 1.9.1-2.1
libpcre - 8.43-1
libpthread - 1.1.24-2
librt - 1.1.24-2
libss2 - 1.44.5-2
libubox20191228 - 2020-05-25-66195aee-1
libubus-lua - 2019-12-27-041c9d1c-1
libubus20191227 - 2019-12-27-041c9d1c-1
libuci20130104 - 2019-09-01-415f9e48-3
libuclient20160123 - 2020-06-17-51e16ebf-1
libusb-1.0-0 - 1.0.22-2
libustream-openssl20150806 - 2020-03-13-40b563b1-1
libuuid1 - 2.34-1
libwolfssl24 - 4.5.0-stable-1
libxtables12 - 1.8.3-1
logd - 2019-06-16-4df34a4d-3
lua - 5.1.5-3
luci - git-20.247.75781-0d0ab01-1
luci-app-adblock - git-20.247.75781-0d0ab01-1
luci-app-commands - git-20.247.75781-0d0ab01-1
luci-app-ddns - 2.4.9-7
luci-app-ekooneplstat - 20190629
luci-app-firewall - git-20.247.75781-0d0ab01-1
luci-app-ksmbd - git-20.247.75781-0d0ab01-1
luci-app-openvpn - git-20.247.75781-0d0ab01-1
luci-app-opkg - git-20.247.75781-0d0ab01-1
luci-app-p910nd - git-20.247.75781-0d0ab01-1
luci-app-vpnbypass - git-20.247.75781-0d0ab01-19
luci-app-wifischedule - git-20.247.75781-0d0ab01-1
luci-app-wireguard - git-20.247.75781-0d0ab01-1
luci-app-wol - git-20.247.75781-0d0ab01-1
luci-base - git-20.247.75781-0d0ab01-1
luci-compat - git-20.247.75781-0d0ab01-1
luci-i18n-adblock-en - git-20.247.75781-0d0ab01-1
luci-i18n-adblock-pl - git-20.247.75781-0d0ab01-1
luci-i18n-base-en - git-20.247.75781-0d0ab01-1
luci-i18n-base-pl - git-20.247.75781-0d0ab01-1
luci-i18n-commands-en - git-20.247.75781-0d0ab01-1
luci-i18n-commands-pl - git-20.247.75781-0d0ab01-1
luci-i18n-ddns-en - 2.4.9-7
luci-i18n-ddns-pl - 2.4.9-7
luci-i18n-firewall-en - git-20.247.75781-0d0ab01-1
luci-i18n-firewall-pl - git-20.247.75781-0d0ab01-1
luci-i18n-ksmbd-en - git-20.247.75781-0d0ab01-1
luci-i18n-ksmbd-pl - git-20.247.75781-0d0ab01-1
luci-i18n-openvpn-en - git-20.247.75781-0d0ab01-1
luci-i18n-openvpn-pl - git-20.247.75781-0d0ab01-1
luci-i18n-opkg-en - git-20.247.75781-0d0ab01-1
luci-i18n-opkg-pl - git-20.247.75781-0d0ab01-1
luci-i18n-p910nd-en - git-20.247.75781-0d0ab01-1
luci-i18n-p910nd-pl - git-20.247.75781-0d0ab01-1
luci-i18n-vpnbypass-en - git-20.247.75781-0d0ab01-19
luci-i18n-vpnbypass-pl - git-20.247.75781-0d0ab01-19
luci-i18n-wifischedule-en - git-20.247.75781-0d0ab01-1
luci-i18n-wifischedule-pl - git-20.247.75781-0d0ab01-1
luci-i18n-wireguard-en - git-20.247.75781-0d0ab01-1
luci-i18n-wireguard-pl - git-20.247.75781-0d0ab01-1
luci-i18n-wol-en - git-20.247.75781-0d0ab01-1
luci-i18n-wol-pl - git-20.247.75781-0d0ab01-1
luci-lib-ip - git-20.247.75781-0d0ab01-1
luci-lib-ipkg - git-20.247.75781-0d0ab01-1
luci-lib-jsonc - git-20.247.75781-0d0ab01-1
luci-lib-nixio - git-20.247.75781-0d0ab01-1
luci-mod-admin-full - git-20.247.75781-0d0ab01-1
luci-mod-network - git-20.247.75781-0d0ab01-1
luci-mod-status - git-20.247.75781-0d0ab01-1
luci-mod-system - git-20.247.75781-0d0ab01-1
luci-proto-3g - git-20.247.75781-0d0ab01-1
luci-proto-ipv6 - git-20.247.75781-0d0ab01-1
luci-proto-ncm - git-20.247.75781-0d0ab01-1
luci-proto-ppp - git-20.247.75781-0d0ab01-1
luci-proto-qmi - git-20.247.75781-0d0ab01-1
luci-proto-relay - git-20.247.75781-0d0ab01-1
luci-proto-wireguard - git-20.247.75781-0d0ab01-1
luci-ssl-openssl - git-20.247.75781-0d0ab01-1
luci-theme-bootstrap - git-20.247.75781-0d0ab01-1
mbedtls-util - 2.16.8-1
mtd - 24
netifd - 2019-08-05-5e02f944-1
ntfs-3g - 2017.3.23-2-fuseint
odhcpd-ipv6only - 2020-05-03-49e4949c-3
openssh-sftp-server - 8.0p1-1
openssl-util - 1.1.1g-1
openvpn-easy-rsa - 3.0.4-1
openvpn-openssl - 2.4.7-2
openwrt-keyring - 2019-07-25-8080ef34-1
opkg - 2020-05-07-f2166a89-1
p910nd - 0.97-8
port-mirroring - 1.4.4-2
ppp - 2.4.7.git-2019-05-25-3
ppp-mod-pppoe - 2.4.7.git-2019-05-25-3
procd - 2020-03-07-09b9bd82-1
relayd - 2020-04-25-f4d759be-1
rpcd - 2020-05-26-67c8a3fd-1
rpcd-mod-file - 2020-05-26-67c8a3fd-1
rpcd-mod-iwinfo - 2020-05-26-67c8a3fd-1
rpcd-mod-luci - 20191114
rpcd-mod-rrdns - 20170710
screen - 4.8.0-1
swconfig - 12
sysinfo - 20200403
terminfo - 6.1-5
uboot-envtools - 2018.03-3
ubox - 2019-06-16-4df34a4d-3
ubus - 2019-12-27-041c9d1c-1
ubusd - 2019-12-27-041c9d1c-1
uci - 2019-09-01-415f9e48-3
uclient-fetch - 2020-06-17-51e16ebf-1
uhttpd - 2020-03-13-975dce23-1
umbim - 2019-03-11-24f9dc71-1
uqmi - 2019-06-27-1965c713-7
urandom-seed - 1.0-1
urngd - 2020-01-21-c7f7b6b6-1
usb-modeswitch - 2017-12-19-f40f84c2-2
usign - 2020-05-23-f1f65026-1
vpnbypass - 1.3.1-7
wget - 1.20.3-4
wifischedule - 1-2
wireguard-tools - 1.0.20191226-1
wireless-regdb - 2019.06.03-1
wpad-mesh-openssl - 2019-08-08-ca8c2bd2-4
wsdd2 - 2020-05-06-671d040c-1
wwan - 2014-07-17-1
xinetd - 2.3.15-5
zlib - 1.2.11-3

cat /etc/config/wireless
config wifi-device ‘radio1’

  option type 'mac80211'
  option channel '36'
  option hwmode '11a'
  option path 'pci0000:00/0000:00:00.0'
  option htmode 'HT20'
  option country 'PL'


config wifi-iface ‘default_radio1’

  option device 'radio1'
  option network 'lan'
  option mode 'ap'
  option auth_server '192.168.1.X'
  option auth_port '1812'
  option auth_secret password
  option ssid 'name'
  option encryption 'wpa2+ccmp'
  option wpa_disable_eapol_key_retries '1'
  option ieee80211w '2'
  option disassoc_low_ack '0'

Steps to reproduce

Always when I tried connect to wireless network from Windows system I can’t connect to network and I saw below logs:

logread | grep wlan1
Sun Nov 8 21:54:54 2020 daemon.info hostapd: wlan1: STA MAC ADDRESS IEEE 802.11: authenticated
Sun Nov 8 21:54:54 2020 daemon.info hostapd: wlan1: STA MAC ADDRESS IEEE 802.11: associated (aid 2)
Sun Nov 8 21:54:54 2020 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-STARTED MAC ADDRESS
Sun Nov 8 21:54:54 2020 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
Sun Nov 8 21:54:55 2020 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-STARTED MAC ADDRESS
Sun Nov 8 21:54:55 2020 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
Sun Nov 8 21:54:56 2020 daemon.warn hostapd: wlan1: STA MAC ADDRESS IEEE 802.1X: could not extract EAP-Message from RADIUS message
Sun Nov 8 21:54:56 2020 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-FAILURE2 MAC ADDRESS
Sun Nov 8 21:54:56 2020 daemon.warn hostapd: wlan1: STA MAC ADDRESS IEEE 802.1X: authentication failed - EAP type: 0 (unknown)
Sun Nov 8 21:54:56 2020 daemon.info hostapd: wlan1: STA MAC ADDRESS IEEE 802.1X: Supplicant used different EAP type: 1 (Identity)
Sun Nov 8 21:55:01 2020 daemon.info hostapd: wlan1: STA MAC ADDRESS IEEE 802.11: deauthenticated due to local deauth request
Sun Nov 8 21:55:03 2020 daemon.info hostapd: wlan1: STA MAC ADDRESS IEEE 802.11: authenticated
Sun Nov 8 21:55:03 2020 daemon.info hostapd: wlan1: STA MAC ADDRESS IEEE 802.11: associated (aid 2)
Sun Nov 8 21:55:03 2020 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-STARTED MAC ADDRESS
Sun Nov 8 21:55:03 2020 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
Sun Nov 8 21:55:03 2020 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-STARTED MAC ADDRESS
Sun Nov 8 21:55:03 2020 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
Sun Nov 8 21:55:04 2020 daemon.warn hostapd: wlan1: STA MAC ADDRESS IEEE 802.1X: could not extract EAP-Message from RADIUS message
Sun Nov 8 21:55:04 2020 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-FAILURE2 MAC ADDRESS
Sun Nov 8 21:55:04 2020 daemon.warn hostapd: wlan1: STA MAC ADDRESS IEEE 802.1X: authentication failed - EAP type: 0 (unknown)
Sun Nov 8 21:55:04 2020 daemon.info hostapd: wlan1: STA MAC ADDRESS IEEE 802.1X: Supplicant used different EAP type: 1 (Identity)
Sun Nov 8 21:55:09 2020 daemon.info hostapd: wlan1: STA MAC ADDRESS IEEE 802.11: deauthenticated due to local deauth request

This problem occurred after upgrade openwrt system.

14.11.20203450KernelBug ReportVery LowHighAC2100 MT7621 eth0 (mtk_soc_eth): transmit queue 0 time...openwrt-19.07Unconfirmed Task Description

Model Xiaomi Mi Router AC2100
Architecture MediaTek MT7621 ver:1 eco:3
Firmware Version OpenWrt 19.07.4 r11208-ce6496d796 / LuCI openwrt-19.07 branch git-20.247.75781-0d0ab01
Kernel Version 4.14.195

Random BUG, no step to reproduce it exactly
Impact : Outage for few seconds, connectivity lost
Full log attached.

Regards

23.12.20203530Base systemBug ReportVery LowHighD-Link DIR-645 not maintaining WLAN connectionopenwrt-19.07Unconfirmed Task Description

- Device problem occurs on
D-Link DIR-645 Rev. A1

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

- Steps to reproduce
Setup the wireless connection. After some time the WLAN connection stops working. A restart is necessary to regain WLAN.

Topic is discussed in the forums:
https://forum.lede-project.org/t/d-link-dir-645-wifi-interface-not-maintaining-connection/6277

I am able and willing to provide log files. But I am new to the business of debugging itself. Help and guidance welcome!

Reference links:
https://forum.lede-project.org/t/d-link-dir-645-wifi-interface-not-maintaining-connection/6277 https://forum.openwrt.org/t/assistance-needed-debugging-wlan-d-link-dir-645/18664

25.12.20203533Base systemBug ReportVery LowHighrelayd can't relay packets between lan pc and the openw...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on MediaTek MT7620A ver:2 eco:6
- Software versions

  URL: https://github.com/openwrt/openwrt.git/trunk
  Relative URL: ^/trunk
  Repository Root: https://github.com/openwrt/openwrt.git
  Repository UUID: 48f6a8c1-d3d8-b121-14bd-ce57b7db7bff
  Revision: 92580

- Steps to reproduce

 1. add wifi client
 2. add relay bridge interface between wlan and lan
 3. the wlan interface get ip 192.168.3.136, the pc in lan get ip 192.168.3.128, the ip of root ap was 192.168.3.1
 4. the pc can ping 192.168.3.1 but can not ping 192.168.3.136


26.12.20203536KernelBug ReportVery LowHighRTL8811AU Wi-Fi stick dont workAllUnconfirmed Task Description

After connecting RTL8811AU to USB, it turns out that OpenWRT cannot handle it. Please add the driver to the official images.


30.12.20203545Base systemBug ReportVery LowHighunusable channels 13, 12 & auto on raspberry pi 3b & ze...openwrt-19.07Unconfirmed Task Description

Channels 13, 12 and auto are unusuable despite a valid CRDA selection (PL).

Lack of functional support for channels 13 & 12 where those are legally available renders OpenWrt unusable as AP/client on raspberry pi 3 & zero w. Both share the same BRCM 43430 driver.

Auto selection is also crippled:
Wed Dec 30 04:16:49 2020 daemon.warn hostapd: wlan0: IEEE 802.11 Configured channel (0) not found from the channel list of current mode (1) IEEE 802.11g
Wed Dec 30 04:16:49 2020 daemon.warn hostapd: wlan0: IEEE 802.11 Hardware does not support configured channel

Both would be a showstopper. OpenWrt on such platforms is often picked for its AP capabilities.

+ iw reg get
global
country PL: DFS-ETSI
        (2400 - 2483 @ 40), (N/A, 20), (N/A)
        (5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
        (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
        (5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
        (5725 - 5875 @ 80), (N/A, 13), (N/A)
        (57000 - 66000 @ 2160), (N/A, 40), (N/A)

+ uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.hwmode='11g'
wireless.radio0.path='platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
wireless.radio0.legacy_rates='0'
wireless.radio0.country='PL'
wireless.radio0.htmode='HT20'
wireless.radio0.channel='11'
wireless.default_radio0=wifi-iface
wireless.default_radio0.device='radio0'
wireless.default_radio0.network='lan'
wireless.default_radio0.mode='ap'
wireless.default_radio0.ssid='my_ssid'
wireless.default_radio0.wpa_disable_eapol_key_retries='1'
wireless.default_radio0.key='my_key'
wireless.default_radio0.hidden='1'
wireless.default_radio0.encryption='psk2'
+ uci set 'wireless.radio0.channel=13'
+ uci commit wireless
+ sleep 1
+ logread -f
+ logger start testing channel 13
+ wifi
Wed Dec 30 04:16:41 2020 user.notice root: start testing channel 13
+ sleep 3
Wed Dec 30 04:16:41 2020 daemon.notice hostapd: wlan0: interface state ENABLED->DISABLED
Wed Dec 30 04:16:41 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED MAC_ADDRESS_WAS_HERE
Wed Dec 30 04:16:41 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED MAC_ADDRESS_WAS_HERE
Wed Dec 30 04:16:41 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED MAC_ADDRESS_WAS_HERE
Wed Dec 30 04:16:41 2020 daemon.notice hostapd: wlan0: AP-DISABLED
Wed Dec 30 04:16:41 2020 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Wed Dec 30 04:16:41 2020 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Wed Dec 30 04:16:41 2020 daemon.notice netifd: Network device 'wlan0' link is down
Wed Dec 30 04:16:41 2020 daemon.notice netifd: Interface 'lan' has link connectivity loss
Wed Dec 30 04:16:42 2020 daemon.notice netifd: radio0 (8589): command failed: No error information (-524)
Wed Dec 30 04:16:42 2020 user.notice mac80211: Failed command: iw dev wlan0 del
Wed Dec 30 04:16:42 2020 daemon.notice netifd: Interface 'lan' is now down
Wed Dec 30 04:16:42 2020 daemon.notice netifd: Interface 'lan' is disabled
Wed Dec 30 04:16:42 2020 daemon.notice netifd: radio0 (8612): command failed: No error information (-524)
Wed Dec 30 04:16:42 2020 user.notice mac80211: Failed command: iw dev wlan0 del
Wed Dec 30 04:16:42 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna 0xffffffff 0xffffffff
Wed Dec 30 04:16:42 2020 daemon.notice netifd: radio0 (8612): command failed: Not supported (-95)
Wed Dec 30 04:16:42 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna_gain 0
Wed Dec 30 04:16:42 2020 daemon.notice netifd: radio0 (8612): command failed: I/O error (-5)
Wed Dec 30 04:16:42 2020 user.notice mac80211: Failed command: iw phy phy0 set distance 0
Wed Dec 30 04:16:42 2020 daemon.notice netifd: radio0 (8612): command failed: Too many open files in system (-23)
Wed Dec 30 04:16:42 2020 user.notice mac80211: Failed command: iw phy phy0 interface add wlan0 type __ap
Wed Dec 30 04:16:42 2020 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Wed Dec 30 04:16:42 2020 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Wed Dec 30 04:16:42 2020 kern.info kernel: [ 8810.101885] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Wed Dec 30 04:16:42 2020 daemon.warn hostapd: wlan0: Could not connect to kernel driver
Wed Dec 30 04:16:42 2020 daemon.err hostapd: Using interface wlan0 with hwaddr MAC_ADDRESS_WAS_HERE and ssid "my_ssid"
Wed Dec 30 04:16:42 2020 daemon.err hostapd: Failed to set beacon parameters
Wed Dec 30 04:16:42 2020 daemon.warn hostapd: wlan0: Could not connect to kernel driver
Wed Dec 30 04:16:42 2020 daemon.err hostapd: Interface initialization failed
Wed Dec 30 04:16:42 2020 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->DISABLED
Wed Dec 30 04:16:42 2020 daemon.notice hostapd: wlan0: AP-DISABLED
Wed Dec 30 04:16:42 2020 daemon.err hostapd: wlan0: Unable to setup interface.
Wed Dec 30 04:16:42 2020 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
Wed Dec 30 04:16:42 2020 daemon.notice hostapd: wlan0: AP-DISABLED
Wed Dec 30 04:16:42 2020 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Wed Dec 30 04:16:42 2020 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Wed Dec 30 04:16:42 2020 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Wed Dec 30 04:16:42 2020 kern.err kernel: [ 8810.195905] ieee80211 phy0: brcmf_cfg80211_start_ap: Set Channel failed: chspec=4109, -52
Wed Dec 30 04:16:43 2020 daemon.notice hostapd: ELOOP: remaining socket: sock=22 eloop_data=0x7fb0bb4e60 user_data=0 handler=0x41d078
Wed Dec 30 04:16:43 2020 daemon.notice netifd: radio0 (8612): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 8118 path ()
Wed Dec 30 04:16:43 2020 daemon.notice netifd: radio0 (8612): Device setup failed: HOSTAPD_START_FAILED
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8225]: exiting on receipt of SIGTERM
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: started, version 2.80 cachesize 150
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: DNS service limited to local subnets
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain test
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain onion
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain localhost
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain local
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain invalid
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain bind
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain lan
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: reading /tmp/resolv.conf.auto
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain test
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain onion
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain localhost
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain local
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain invalid
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain bind
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using local addresses only for domain lan
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using nameserver IP_ADDRESS_WAS_HERE#53
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: using nameserver IP_ADDRESS_WAS_HERE#53
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: read /etc/hosts - 4 addresses
Wed Dec 30 04:16:43 2020 daemon.info dnsmasq[8765]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
+ logger end testing channel 13
Wed Dec 30 04:16:44 2020 user.notice root: end testing channel 13
+ kill '%1'
+ pkill -9 logread
+ set -x
+ uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.hwmode='11g'
wireless.radio0.path='platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
wireless.radio0.legacy_rates='0'
wireless.radio0.country='PL'
wireless.radio0.htmode='HT20'
wireless.radio0.channel='13'
wireless.default_radio0=wifi-iface
wireless.default_radio0.device='radio0'
wireless.default_radio0.network='lan'
wireless.default_radio0.mode='ap'
wireless.default_radio0.ssid='my_ssid'
wireless.default_radio0.wpa_disable_eapol_key_retries='1'
wireless.default_radio0.key='my_key'
wireless.default_radio0.hidden='1'
wireless.default_radio0.encryption='psk2'
+ uci set 'wireless.radio0.channel=12'
+ uci commit wireless
+ sleep 1
+ logread -f
+ logger start testing channel 12
Wed Dec 30 04:16:45 2020 user.notice root: start testing channel 12
+ wifi
+ sleep 3
Wed Dec 30 04:16:45 2020 daemon.notice netifd: radio0 (8783): command failed: No error information (-524)
Wed Dec 30 04:16:45 2020 user.notice mac80211: Failed command: iw dev wlan0 del
Wed Dec 30 04:16:45 2020 daemon.notice netifd: radio0 (8803): command failed: No error information (-524)
Wed Dec 30 04:16:45 2020 user.notice mac80211: Failed command: iw dev wlan0 del
Wed Dec 30 04:16:45 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna 0xffffffff 0xffffffff
Wed Dec 30 04:16:45 2020 daemon.notice netifd: radio0 (8803): command failed: Not supported (-95)
Wed Dec 30 04:16:45 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna_gain 0
Wed Dec 30 04:16:45 2020 daemon.notice netifd: radio0 (8803): command failed: I/O error (-5)
Wed Dec 30 04:16:45 2020 user.notice mac80211: Failed command: iw phy phy0 set distance 0
Wed Dec 30 04:16:45 2020 daemon.notice netifd: radio0 (8803): command failed: Too many open files in system (-23)
Wed Dec 30 04:16:45 2020 user.notice mac80211: Failed command: iw phy phy0 interface add wlan0 type __ap
Wed Dec 30 04:16:45 2020 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Wed Dec 30 04:16:45 2020 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Wed Dec 30 04:16:45 2020 daemon.warn hostapd: wlan0: Could not connect to kernel driver
Wed Dec 30 04:16:45 2020 daemon.err hostapd: Using interface wlan0 with hwaddr MAC_ADDRESS_WAS_HERE and ssid "my_ssid"
Wed Dec 30 04:16:45 2020 kern.info kernel: [ 8813.087454] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Wed Dec 30 04:16:45 2020 daemon.err hostapd: Failed to set beacon parameters
Wed Dec 30 04:16:45 2020 daemon.warn hostapd: wlan0: Could not connect to kernel driver
Wed Dec 30 04:16:45 2020 daemon.err hostapd: Interface initialization failed
Wed Dec 30 04:16:45 2020 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->DISABLED
Wed Dec 30 04:16:45 2020 daemon.notice hostapd: wlan0: AP-DISABLED
Wed Dec 30 04:16:45 2020 daemon.err hostapd: wlan0: Unable to setup interface.
Wed Dec 30 04:16:45 2020 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
Wed Dec 30 04:16:45 2020 kern.err kernel: [ 8813.180327] ieee80211 phy0: brcmf_cfg80211_start_ap: Set Channel failed: chspec=4108, -52
Wed Dec 30 04:16:45 2020 daemon.notice hostapd: wlan0: AP-DISABLED
Wed Dec 30 04:16:45 2020 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Wed Dec 30 04:16:45 2020 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Wed Dec 30 04:16:45 2020 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Wed Dec 30 04:16:46 2020 daemon.notice hostapd: ELOOP: remaining socket: sock=22 eloop_data=0x7fa178be60 user_data=0 handler=0x41d078
Wed Dec 30 04:16:46 2020 daemon.notice netifd: radio0 (8803): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 8118 path ()
Wed Dec 30 04:16:46 2020 daemon.notice netifd: radio0 (8803): Device setup failed: HOSTAPD_START_FAILED
+ logger end testing channel 12
Wed Dec 30 04:16:48 2020 user.notice root: end testing channel 12
+ kill '%1'
+ pkill -9 logread
+ set -x
+ uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.hwmode='11g'
wireless.radio0.path='platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
wireless.radio0.legacy_rates='0'
wireless.radio0.country='PL'
wireless.radio0.htmode='HT20'
wireless.radio0.channel='12'
wireless.default_radio0=wifi-iface
wireless.default_radio0.device='radio0'
wireless.default_radio0.network='lan'
wireless.default_radio0.mode='ap'
wireless.default_radio0.ssid='my_ssid'
wireless.default_radio0.wpa_disable_eapol_key_retries='1'
wireless.default_radio0.key='my_key'
wireless.default_radio0.hidden='1'
wireless.default_radio0.encryption='psk2'
+ uci set 'wireless.radio0.channel=auto'
+ uci commit wireless
+ sleep 1
+ logread -f
+ logger start testing channel auto
Wed Dec 30 04:16:49 2020 user.notice root: start testing channel auto
+ wifi
+ sleep 3
Wed Dec 30 04:16:49 2020 daemon.notice netifd: radio0 (8880): command failed: No error information (-524)
Wed Dec 30 04:16:49 2020 user.notice mac80211: Failed command: iw dev wlan0 del
Wed Dec 30 04:16:49 2020 daemon.notice netifd: radio0 (8900): command failed: No error information (-524)
Wed Dec 30 04:16:49 2020 user.notice mac80211: Failed command: iw dev wlan0 del
Wed Dec 30 04:16:49 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna 0xffffffff 0xffffffff
Wed Dec 30 04:16:49 2020 daemon.notice netifd: radio0 (8900): command failed: Not supported (-95)
Wed Dec 30 04:16:49 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna_gain 0
Wed Dec 30 04:16:49 2020 daemon.notice netifd: radio0 (8900): command failed: I/O error (-5)
Wed Dec 30 04:16:49 2020 user.notice mac80211: Failed command: iw phy phy0 set distance 0
Wed Dec 30 04:16:49 2020 daemon.notice netifd: radio0 (8900): command failed: Too many open files in system (-23)
Wed Dec 30 04:16:49 2020 user.notice mac80211: Failed command: iw phy phy0 interface add wlan0 type __ap
Wed Dec 30 04:16:49 2020 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Wed Dec 30 04:16:49 2020 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Wed Dec 30 04:16:49 2020 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
Wed Dec 30 04:16:49 2020 kern.info kernel: [ 8817.154489] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Wed Dec 30 04:16:49 2020 kern.err kernel: [ 8817.166683] ieee80211 phy0: brcmf_run_escan: error (-52)
Wed Dec 30 04:16:49 2020 kern.err kernel: [ 8817.173057] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-52)
Wed Dec 30 04:16:49 2020 kern.err kernel: [ 8817.184908] ieee80211 phy0: brcmf_run_escan: error (-52)
Wed Dec 30 04:16:49 2020 kern.err kernel: [ 8817.191232] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-52)
Wed Dec 30 04:16:49 2020 daemon.err hostapd: ACS: Failed to request initial scan
Wed Dec 30 04:16:49 2020 daemon.warn hostapd: wlan0: IEEE 802.11 Configured channel (0) not found from the channel list of current mode (1) IEEE 802.11g
Wed Dec 30 04:16:49 2020 daemon.warn hostapd: wlan0: IEEE 802.11 Hardware does not support configured channel
Wed Dec 30 04:16:49 2020 daemon.err hostapd: Could not select hw_mode and channel. (-3)
Wed Dec 30 04:16:49 2020 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->DISABLED
Wed Dec 30 04:16:49 2020 daemon.notice hostapd: wlan0: AP-DISABLED
Wed Dec 30 04:16:49 2020 daemon.err hostapd: wlan0: Unable to setup interface.
Wed Dec 30 04:16:49 2020 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
Wed Dec 30 04:16:49 2020 daemon.notice hostapd: wlan0: AP-DISABLED
Wed Dec 30 04:16:49 2020 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Wed Dec 30 04:16:49 2020 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Wed Dec 30 04:16:49 2020 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Wed Dec 30 04:16:50 2020 daemon.notice netifd: radio0 (8900): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 8118 path ()
Wed Dec 30 04:16:50 2020 daemon.notice netifd: radio0 (8900): Device setup failed: HOSTAPD_START_FAILED
+ logger end testing channel auto
Wed Dec 30 04:16:52 2020 user.notice root: end testing channel auto
+ kill '%1'
+ pkill -9 logread
+ set -x
+ uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.hwmode='11g'
wireless.radio0.path='platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
wireless.radio0.legacy_rates='0'
wireless.radio0.country='PL'
wireless.radio0.htmode='HT20'
wireless.radio0.channel='auto'
wireless.default_radio0=wifi-iface
wireless.default_radio0.device='radio0'
wireless.default_radio0.network='lan'
wireless.default_radio0.mode='ap'
wireless.default_radio0.ssid='my_ssid'
wireless.default_radio0.wpa_disable_eapol_key_retries='1'
wireless.default_radio0.key='my_key'
wireless.default_radio0.hidden='1'
wireless.default_radio0.encryption='psk2'
+ uci set 'wireless.radio0.channel=11'
+ uci commit wireless
+ sleep 1
+ logread -f
+ logger start testing channel 11
Wed Dec 30 04:16:53 2020 user.notice root: start testing channel 11
+ wifi
+ sleep 3
Wed Dec 30 04:16:53 2020 daemon.notice netifd: radio0 (8970): command failed: No error information (-524)
Wed Dec 30 04:16:53 2020 user.notice mac80211: Failed command: iw dev wlan0 del
Wed Dec 30 04:16:53 2020 daemon.notice netifd: radio0 (8990): command failed: No error information (-524)
Wed Dec 30 04:16:53 2020 user.notice mac80211: Failed command: iw dev wlan0 del
Wed Dec 30 04:16:53 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna 0xffffffff 0xffffffff
Wed Dec 30 04:16:53 2020 daemon.notice netifd: radio0 (8990): command failed: Not supported (-95)
Wed Dec 30 04:16:53 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna_gain 0
Wed Dec 30 04:16:53 2020 daemon.notice netifd: radio0 (8990): command failed: I/O error (-5)
Wed Dec 30 04:16:53 2020 user.notice mac80211: Failed command: iw phy phy0 set distance 0
Wed Dec 30 04:16:53 2020 daemon.notice netifd: radio0 (8990): command failed: Too many open files in system (-23)
Wed Dec 30 04:16:53 2020 user.notice mac80211: Failed command: iw phy phy0 interface add wlan0 type __ap
Wed Dec 30 04:16:53 2020 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Wed Dec 30 04:16:53 2020 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Wed Dec 30 04:16:53 2020 daemon.warn hostapd: wlan0: Could not connect to kernel driver
Wed Dec 30 04:16:53 2020 daemon.err hostapd: Using interface wlan0 with hwaddr MAC_ADDRESS_WAS_HERE and ssid "my_ssid"
Wed Dec 30 04:16:53 2020 kern.info kernel: [ 8821.268054] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Wed Dec 30 04:16:53 2020 kern.info kernel: [ 8821.429792] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Wed Dec 30 04:16:53 2020 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->ENABLED
Wed Dec 30 04:16:53 2020 daemon.notice hostapd: wlan0: AP-ENABLED
Wed Dec 30 04:16:53 2020 daemon.notice netifd: Network device 'wlan0' link is up
Wed Dec 30 04:16:53 2020 daemon.notice netifd: Interface 'lan' is enabled
Wed Dec 30 04:16:53 2020 daemon.notice netifd: Interface 'lan' is setting up now
Wed Dec 30 04:16:53 2020 daemon.notice netifd: Interface 'lan' is now up
Wed Dec 30 04:16:53 2020 daemon.notice netifd: Interface 'lan' has link connectivity
Wed Dec 30 04:16:54 2020 user.notice firewall: Reloading firewall due to ifup of lan (wlan0)
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[8765]: exiting on receipt of SIGTERM
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: started, version 2.80 cachesize 150
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: DNS service limited to local subnets
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq-dhcp[9156]: DHCP, IP range IP_ADDRESS_WAS_HERE -- IP_ADDRESS_WAS_HERE, lease time 12h
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain test
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain onion
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain localhost
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain local
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain invalid
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain bind
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain lan
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: reading /tmp/resolv.conf.auto
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain test
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain onion
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain localhost
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain local
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain invalid
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain bind
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using local addresses only for domain lan
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using nameserver IP_ADDRESS_WAS_HERE#53
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: using nameserver IP_ADDRESS_WAS_HERE#53
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: read /etc/hosts - 4 addresses
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq[9156]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Wed Dec 30 04:16:55 2020 daemon.info dnsmasq-dhcp[9156]: read /etc/ethers - 0 addresses
+ logger end testing channel 11
Wed Dec 30 04:16:56 2020 user.notice root: end testing channel 11
+ kill '%1'
+ pkill -9 logread
+ iw list
Wiphy phy0
        max # scan SSIDs: 10
        max scan IEs length: 2048 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * P2P-client
                 * P2P-GO
                 * P2P-device
        Band 1:
                Capabilities: 0x1020
                        HT20
                        Static SM Power Save
                        RX HT20 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 16 usec (0x07)
                HT TX/RX MCS rate indexes supported: 0-7
                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)
                        * 2472 MHz [13] (20.0 dBm)
                        * 2484 MHz [14] (disabled)
        valid interface combinations:
                 * #{ managed } <= 1, #{ P2P-device } <= 1, #{ P2P-client, P2P-GO } <= 1,
                   total <= 3, #channels <= 2
                 * #{ managed } <= 1, #{ AP } <= 1, #{ P2P-client } <= 1, #{ P2P-device } <= 1,
                   total <= 4, #channels <= 1
        Supported extended features:
                * [ 4WAY_HANDSHAKE_STA_PSK ]: 4-way handshake with PSK in station mode
                * [ 4WAY_HANDSHAKE_STA_1X ]: 4-way handshake with 802.1X in station mode
+ iwlist wlan0 channel
wlan0     13 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
12.01.20213572Base systemBug ReportVery LowHighath79: ar934x internal switch port 5 missingAllUnconfirmed Task Description

Applies to all versions including master branch,
but only in ath79 target
old ar71xx target does not have the problem

for the internal built-in switch for ar934x series
port 5 of the switch is missing, and therefore physical ports
that are connected to port 5 of the internal switch instead of GMAC0
cannot be used.

Attempting to set a VLAN that includes port 5 never takes effect.

This issue is not noticed for many other ar934x boards with 5 physical ports
because routers with 4 LAN and 1 WAN port use GMAC0 for the WAN port
instead of port 5 of the internal switch.

in ar71xx the driver is
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_ar7240.c

in ath79 the new driver is
target/linux/generic/files/drivers/net/phy/ar8216.c

for 2 of my AR9341 boards
EAP300 v2 and ENS202EXT
port 5 is missing from swconfig output

ath79 output:

root@OpenWrt:~# swconfig dev switch0 show
Global attributes:
        enable_vlan: 1
        ar8xxx_mib_poll_interval: 500
        ar8xxx_mib_type: 0
        enable_mirror_rx: 0
        enable_mirror_tx: 0
        mirror_monitor_port: 0
        mirror_source_port: 0
        arl_table: address resolution table
Port 0: MAC 88:dc:96:34:64:d4
Port 1: MAC 00:e1:18:b0:01:1f

Port 0:
        mib: MIB counters
RxGoodByte  : 810502 (791.5 KiB)
TxByte      : 505477 (493.6 KiB)

        pvid: 0
        link: port:0 link:up speed:1000baseT full-duplex txflow rxflow
Port 1:
        mib: MIB counters
RxGoodByte  : 493285 (481.7 KiB)
TxByte      : 802608 (783.7 KiB)

        pvid: 1
        link: port:1 link:up speed:100baseT full-duplex auto
Port 2:
        mib: No MIB data
        pvid: 0
        link: port:2 link:down
Port 3:
        mib: No MIB data
        pvid: 0
        link: port:3 link:down
Port 4:
        mib: No MIB data
        pvid: 0
        link: port:4 link:down
VLAN 1:
        vid: 1
        ports: 0t 1

ar71xx output:

root@OpenWrt:/# swconfig dev switch0 show
Global attributes:
        enable_vlan: 1
        mirror_monitor_port: 15
Port 0:
        enable_mirror_rx: 0
        enable_mirror_tx: 0
        pvid: 0
        link: port:0 link:up speed:1000baseT full-duplex txflow rxflow
Port 1:
        enable_mirror_rx: 0
        enable_mirror_tx: 0
        pvid: 2
        link: port:1 link:down
Port 2:
        enable_mirror_rx: 0
        enable_mirror_tx: 0
        pvid: 1
        link: port:2 link:down
Port 3:
        enable_mirror_rx: 0
        enable_mirror_tx: 0
        pvid: 1
        link: port:3 link:down
Port 4:
        enable_mirror_rx: 0
        enable_mirror_tx: 0
        pvid: 1
        link: port:4 link:down
Port 5:
        enable_mirror_rx: 0
        enable_mirror_tx: 0
        pvid: 1
        link: port:5 link:down
VLAN 0:
        vid: 0
        ports: 0t
VLAN 1:
        vid: 1
        ports: 0t 2 3 4 5
VLAN 2:
        vid: 2
        ports: 0t 1

asking for port 5 specifically returns ???

root@OpenWrt:/# swconfig dev switch0 port 5 show
Port 5:
        mib: ???
        pvid: ???
        link: ???
20.01.20213582Base systemBug ReportVery LowHighbad eraseblock causes unreadable factory partition on N...TrunkUnconfirmed Task Description

- Device problem occurs on

Netgear R6800

- Software version of OpenWrt

current snapshot

dmesg of the affected device:

[    0.000000] Linux version 5.4.89 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r15541-e87c0d934c)) #0 SMP Tue Jan 19 12:01:03 2021
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is Netgear R6800
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] On node 0 totalpages: 65536
[    0.000000]   Normal zone: 576 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] percpu: Embedded 14 pages/cpu s26768 r8192 d22384 u57344
[    0.000000] pcpu-alloc: s26768 r8192 d22384 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Writing ErrCtl register=00011190
[    0.000000] Readback ErrCtl register=00011190
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 250272K/262144K available (6060K kernel code, 204K rwdata, 1288K rodata, 1268K init, 238K bss, 11872K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 256
[    0.000000] random: get_random_bytes called from start_kernel+0x340/0x558 with crng_init=0
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000008] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.015488] Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360)
[    0.055815] pid_max: default: 32768 minimum: 301
[    0.065164] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.079568] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.097530] rcu: Hierarchical SRCU implementation.
[    0.107607] smp: Bringing up secondary CPUs ...
[    0.133505] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.133516] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.133528] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.133626] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.144747] Synchronize counters for CPU 1: done.
[    0.224318] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.224327] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.224335] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.224392] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.243222] Synchronize counters for CPU 2: done.
[    0.319738] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.319746] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.319754] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.319814] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.330823] Synchronize counters for CPU 3: done.
[    0.390434] smp: Brought up 1 node, 4 CPUs
[    0.403083] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.422382] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.436204] pinctrl core: initialized pinctrl subsystem
[    0.448120] NET: Registered protocol family 16
[    0.467941] FPU Affinity set after 4688 emulations
[    0.484349] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.505771] clocksource: Switched to clocksource GIC
[    0.517235] random: fast init done
[    0.519932] NET: Registered protocol family 2
[    0.533512] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.550071] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.565232] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.579410] TCP: Hash tables configured (established 2048 bind 2048)
[    0.592145] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.605030] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.619125] NET: Registered protocol family 1
[    0.627683] PCI: CLS 0 bytes, default 32
[    0.725705] 4 CPUs re-calibrate udelay(lpj = 1163264)
[    0.737308] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.762216] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.773732] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.794941] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.811403] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.822747] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.834003] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.845943] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.862253] printk: console [ttyS0] disabled
[    0.870712] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    0.888650] printk: console [ttyS0] enabled
[    0.905190] printk: bootconsole [early0] disabled
[    0.926457] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[    0.941280] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[    0.953951] nand: Macronix MX30LF1G18AC
[    0.961590] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.976676] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[    0.989741] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    1.004308] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    1.018871] Scanning device for bad blocks
[    1.354795] Bad eraseblock 258 at 0x000002040000
[    2.333921] 7 fixed-partitions partitions found on MTD device mt7621-nand
[    2.347453] Creating 7 MTD partitions on "mt7621-nand":
[    2.357876] 0x000000000000-0x000000100000 : "u-boot"
[    2.369215] 0x000000100000-0x000000200000 : "SC PART_MAP"
[    2.381223] 0x000000200000-0x000000600000 : "kernel"
[    2.392538] 0x000000600000-0x000002e00000 : "ubi"
[    2.403387] 0x000002e00000-0x000004600000 : "reserved0"
[    2.415314] 0x000004600000-0x000004800000 : "factory"
[    2.426712] 0x000004800000-0x000008000000 : "reserved1"
[    2.440236] libphy: Fixed MDIO Bus: probed
[    2.476139] libphy: mdio: probed
[    2.482841] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    2.498374] mtk_soc_eth 1e100000.ethernet: generated random MAC address fa:25:cd:89:6b:20
[    2.515564] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    2.533374] i2c-mt7621 1e000900.i2c: clock 100 kHz
[    2.544345] mt7621-pci 1e140000.pcie: Parsing DT failed
[    2.557366] NET: Registered protocol family 10
[    2.567638] Segment Routing with IPv6
[    2.575077] NET: Registered protocol family 17
[    2.584024] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.610098] 8021q: 802.1Q VLAN Support v1.8
[    2.620267] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    2.645577] libphy: dsa slave smi: probed
[    2.654066] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[    2.671990] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[    2.690018] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[    2.707897] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[    2.725954] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[    2.743767] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    2.761395] DSA: tree 0 setup
[    2.767651] rt2880-pinmux pinctrl: pcie is already enabled
[    2.778618] mt7621-pci 1e140000.pcie: Error applying setting, reverse things back
[    2.793671] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    2.808637] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    2.923192] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    2.934315] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    3.045148] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    3.059026] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    3.068744] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    3.078473] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    3.097178] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    3.109861] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    3.123561] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    3.137262] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.148239] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    3.160249] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    3.172743] pci 0000:00:00.0: reg 0x14: [mem 0x60400000-0x6040ffff]
[    3.185301] pci 0000:00:00.0: supports D1
[    3.193293] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    3.205112] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    3.217129] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    3.229624] pci 0000:00:01.0: reg 0x14: [mem 0x60410000-0x6041ffff]
[    3.242183] pci 0000:00:01.0: supports D1
[    3.250175] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    3.263178] pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280
[    3.275220] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    3.288923] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    3.317844] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    3.328268] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    3.340414] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    3.353947] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    3.368342] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.381778] pci 0000:02:00.0: [14c3:7615] type 00 class 0x000280
[    3.393804] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    3.407503] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    3.436377] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    3.446812] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    3.458957] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    3.472485] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    3.486883] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    3.500109] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    3.513290] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    3.527169] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    3.540349] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    3.554228] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    3.567766] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    3.582164] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    3.595696] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
[    3.610094] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[    3.623628] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[    3.637159] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    3.650693] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    3.664233] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    3.678813] pci 0000:00:00.0: PCI bridge to [bus 01]
[    3.688707] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    3.702245] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    3.715774] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    3.730177] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff 64bit]
[    3.744750] pci 0000:00:01.0: PCI bridge to [bus 02]
[    3.754648] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    3.768175] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    3.781719] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    3.796709] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[    3.797818] UBI: auto-attach mtd3
[    3.817037] ubi0: attaching mtd3
[    4.228815] ubi0: scanning is finished
[    4.252554] ubi0: attached mtd3 (name "ubi", size 40 MiB)
[    4.263330] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    4.277018] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    4.290537] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    4.304401] ubi0: good PEBs: 319, bad PEBs: 1, corrupted PEBs: 0
[    4.316361] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    4.330744] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1610490449
[    4.348928] ubi0: available PEBs: 0, total reserved PEBs: 319, PEBs reserved for bad PEB handling: 19
[    4.367314] ubi0: background thread "ubi_bgt0d" started, PID 486
[    4.369678] block ubiblock0_0: created from ubi0:0(rootfs)
[    4.390224] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    4.404092] hctosys: unable to open rtc device (rtc0)
[    4.420757] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    4.439415] Freeing unused kernel memory: 1268K
[    4.448460] This architecture does not have kernel memory protection.
[    4.461282] Run /sbin/init as init process
[    5.015980] init: Console is alive
[    5.023014] init: - watchdog -
[    5.788477] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.889330] usbcore: registered new interface driver usbfs
[    5.900381] usbcore: registered new interface driver hub
[    5.911069] usbcore: registered new device driver usb
[    5.930998] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
[    5.948312] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
[    5.966019] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    5.976632] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    5.997854] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[    6.016150] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
[    6.028879] hub 1-0:1.0: USB hub found
[    6.036452] hub 1-0:1.0: 2 ports detected
[    6.045096] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    6.055717] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    6.070642] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
[    6.083508] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.100520] hub 2-0:1.0: USB hub found
[    6.108083] hub 2-0:1.0: 1 port detected
[    6.120758] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.146084] init: - preinit -
[    6.801631] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    6.817788] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    6.834653] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.012235] random: jshn: uninitialized urandom read (4 bytes read)
[    7.081996] random: jshn: uninitialized urandom read (4 bytes read)
[    7.148308] random: jshn: uninitialized urandom read (4 bytes read)
[    7.459020] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    7.472618] 8021q: adding VLAN 0 to HW filter on device lan1
[   10.538231] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   10.553186] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
[   11.662660] UBIFS (ubi0:1): Mounting in unauthenticated mode
[   11.674294] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 616
[   11.716258] urandom_read: 6 callbacks suppressed
[   11.716270] random: procd: uninitialized urandom read (4 bytes read)
[   11.757609] UBIFS (ubi0:1): recovery needed
[   11.949230] UBIFS (ubi0:1): recovery completed
[   11.958261] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   11.973860] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   11.993611] UBIFS (ubi0:1): FS size: 32759808 bytes (31 MiB, 258 LEBs), journal size 1650688 bytes (1 MiB, 13 LEBs)
[   12.014396] UBIFS (ubi0:1): reserved for root: 1547326 bytes (1511 KiB)
[   12.027574] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 354D5F9F-B560-4EBC-B79F-1976C57BD526, small LPT model
[   12.065167] mount_root: switching to ubifs overlay
[   12.093230] urandom-seed: Seeding with /etc/urandom.seed
[   12.203684] mt7530 mdio-bus:1f lan1: Link is Down
[   12.231835] procd: - early -
[   12.237737] procd: - watchdog -
[   12.845910] procd: - watchdog -
[   12.856805] procd: - ubus -
[   12.922792] procd: - init -
[   13.697474] urngd: v1.0.2 started.
[   13.746355] kmodloader: loading kernel modules from /etc/modules.d/*
[   13.843832] random: crng init done
[   14.012758] Key type cifs.idmap registered
[   14.180204] Loading modules backported from Linux version v5.8.18-0-gab435ce49bd1
[   14.195181] Backport generated by backports.git v5.8.18-1-0-ga630fd46
[   14.254645] xt_time: kernel timezone is -0000
[   14.320718] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=23
[   14.331525] pci 0000:00:00.0: enabling device (0006 -> 0007)
[   14.342810] mt7615e 0000:01:00.0: enabling device (0000 -> 0002)
[   14.362949] mt7615e 0000:01:00.0: Invalid MAC address, using random address 02:0f:65:aa:94:7b
[   14.385122] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.389324] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=24
[   14.400208] pci 0000:00:01.0: enabling device (0006 -> 0007)
[   14.411687] mt7615e 0000:02:00.0: enabling device (0000 -> 0002)
[   14.438077] mt7615e 0000:02:00.0: Invalid MAC address, using random address 22:3b:71:93:43:43
[   14.470145] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   14.507102] PPP generic driver version 2.4.2
[   14.517369] NET: Registered protocol family 24
[   14.527918] mt7615e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[   14.527918] 
[   14.539280] mt7615e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[   14.539280] 
[   14.606704] kmodloader: done loading kernel modules from /etc/modules.d/*
[   14.852492] mt7615e 0000:01:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649
[   14.869935] mt7615e 0000:02:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649
[   14.935755] mt7615e 0000:01:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190121161307
[   14.936807] mt7615e 0000:02:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190121161307
[   21.063778] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   21.076662] mtk_soc_eth 1e100000.ethernet: PPE table busy
[   21.100322] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   21.116356] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   21.124458] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   21.147789] 8021q: adding VLAN 0 to HW filter on device lan1
[   21.163286] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   21.177053] br-lan: port 1(lan1) entered blocking state
[   21.187810] br-lan: port 1(lan1) entered disabled state
[   21.200543] device lan1 entered promiscuous mode
[   21.209932] device eth0 entered promiscuous mode
[   21.254001] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   21.268901] 8021q: adding VLAN 0 to HW filter on device lan2
[   21.286171] br-lan: port 2(lan2) entered blocking state
[   21.296704] br-lan: port 2(lan2) entered disabled state
[   21.308856] device lan2 entered promiscuous mode
[   21.327955] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   21.345826] 8021q: adding VLAN 0 to HW filter on device lan3
[   21.362764] br-lan: port 3(lan3) entered blocking state
[   21.373269] br-lan: port 3(lan3) entered disabled state
[   21.385022] device lan3 entered promiscuous mode
[   21.405777] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   21.420558] 8021q: adding VLAN 0 to HW filter on device lan4
[   21.435572] br-lan: port 4(lan4) entered blocking state
[   21.446096] br-lan: port 4(lan4) entered disabled state
[   21.459275] device lan4 entered promiscuous mode
[   21.488788] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[   21.502867] 8021q: adding VLAN 0 to HW filter on device wan
[   24.234221] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   24.249195] br-lan: port 1(lan1) entered blocking state
[   24.259657] br-lan: port 1(lan1) entered listening state
[   26.313720] br-lan: port 1(lan1) entered learning state
[   28.329713] br-lan: port 1(lan1) entered forwarding state
[   28.341012] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

The dmesg shows a bad eraseblock 258 at 0×000002040000, this results in an unreadably factory partition. Symptoms: unreadable MAC addresses (as shown in the dmesg) and TX power on the radios limited to 6dBm, probably because of unreadable calibration data.

A hexdump of the factory partition shows correct contents, but shifted by 0×20000 bytes.

01.02.20213604Base systemBug ReportVery LowHighath9k firmware is 0 bytes on Fritzbox 7430TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on Fritz!box 7430
- Software versions of OpenWrt/LEDE snapshot r15642+2-eb11cd9ea3
- Steps to reproduce

Firmware for wifi ath9k in the directory /lib/firmware/ is 0 bytes.

Changing the parameter -s 0x1e000 to -s 0x1e800 results in the firmware
being created with 4096 bytes.

The ssid is now displayed, but wifi is very unstable and the connection
is quickly lost.

Here, too, the parameter -l 4096 was changed to -l 5120, which means
that the connection remains stable.

The file /etc/hotplug.d/firmware/12-ath9k-eeprom was locally changed to:

/usr/bin/fritz_cal_extract -i 1 -s 0x1e800 -e 0x207 -l 5120 -o /lib/firmware/$FIRMWARE $(find_mtd_chardev "urlader")

Attached the completely changed file 12-ath9k-eeprom.

08.02.20213610PackagesBug ReportVery LowHighqos-scripts: default classifications overrides previous...openwrt-19.07Unconfirmed Task Description

My understanding is, that the default classification is intended to classifiy not yet classified packets. But default classification ignores/overrides all previous classifications set by the CONNMARK restore.

Refering the attached screenshot, the CONNMARK restore with mask 0xf. Later on the default classification masks against 0xf0. That leads to a missmatch between the CONNTRACK restore and the default classification. So all CONNTRACK marked packets will be overriden by the default rules.
Actually that means that the default classification can not be used.


09.02.20213613PackagesBug ReportVery LowHighOverestimated entropy in urgndopenwrt-19.07Unconfirmed Task Description

I was looking at the entropy collected by the jitterentropy library that urngd is using. I’ve filed a bug against the library at https://github.com/smuellerDD/jitterentropy-library/issues/21

What I’m seeing it that is overestimates the amount of entropy collected. On my desktop machine this is at least a factor of 100. I’ve not looked at any of my devices using OpenWRT yet, but I expect it to be worse there.

Urngd has an oversampling factor, which is currently set to 2, meaning the factor is 2 time smaller. The oversampling in urngd currently collects twice as many bytes (64), and then tells the kernel that it contains 32 byte / 256 bit of entropy. The library also supports oversampling itself, it’s a parameter to the jent_entropy_collector_alloc function.

I suggest that you set the oversampling factor to at least 1000.

10.02.20213616Base systemBug ReportVery LowHighLAN peers unreachable after a few hoursTrunkUnconfirmed Task Description

Device: D-Link DIR-882 A1
Version: OpenWrt SNAPSHOT r15710-f5f01bcacd / LuCI Master git-21.029.67968-af1f961

After the router has been booted up for about a day, all LAN peers will become unreachable, but WAN works fine, resulting all LAN applications fail.

I ran a few tests. The Router was 192.168.1.1, a computer assigned 192.168.1.233 and another device 192.168.1.169.

Connection to the router was fine:

> tracert 192.168.1.1
Tracing route to OPENWRT.lan [192.168.1.1]
over a maximum of 30 hops:
  1     2 ms     2 ms     2 ms  OPENWRT.lan [192.168.1.1]
Trace complete.

Connection to itself was fine:

> tracert 192.168.1.233
Tracing route to WINDOWS.lan [192.168.1.233]
over a maximum of 30 hops:
  1    <1 ms    <1 ms    <1 ms  WINDOWS.lan [192.168.1.233]
Trace complete.

Connection to peer failed. It returned the address of itself:

> tracert 192.168.1.169
Tracing route to ANDROID.lan [192.168.1.169]
over a maximum of 30 hops:
  1  WINDOWS.lan [192.168.1.233]  reports: Destination host unreachable.
Trace complete.
> ping 192.168.1.169
Pinging 192.168.1.169 with 32 bytes of data:
Reply from 192.168.1.233: Destination host unreachable.
Reply from 192.168.1.233: Destination host unreachable.
Reply from 192.168.1.233: Destination host unreachable.
Reply from 192.168.1.233: Destination host unreachable.
Ping statistics for 192.168.1.169:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

System reboot can solve the problem temporarily. All LAN applications back online:

> ping 192.168.1.169
Pinging 192.168.1.169 with 32 bytes of data:
Reply from 192.168.1.169: bytes=32 time=4ms TTL=64
Reply from 192.168.1.169: bytes=32 time=5ms TTL=64
Reply from 192.168.1.169: bytes=32 time=4ms TTL=64
Reply from 192.168.1.169: bytes=32 time=4ms TTL=64
Ping statistics for 192.168.1.169:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 4ms, Maximum = 5ms, Average = 4ms
10.02.20213617Base systemBug ReportVery LowHighntpd-busybox default doesn't work with /etc/config/syst...openwrt-19.07Unconfirmed Task Description

19.07.4

Specify no busybox options in menuconfig and include an /etc/config/system ntp configuration in buildroot/files/

NTP doesn’t work, even though ntp exists via busybox. If you call ntpd and tell it to query a nameserver directly, it does get a result and set the time.

You must install ntpd, it should automatically work with busybox’s ntpd.

Bringing in ntpd also brings in:

CONFIG_PACKAGE_libmbedtls=y
# CONFIG_LIBMBEDTLS_DEBUG_C is not set
# CONFIG_PACKAGE_libnss is not set
# CONFIG_PACKAGE_libopenssl is not set
CONFIG_PACKAGE_libopenssl=y

#
# Build Options
#
# CONFIG_OPENSSL_OPTIMIZE_SPEED is not set
CONFIG_OPENSSL_WITH_ASM=y
CONFIG_OPENSSL_WITH_DEPRECATED=y
# CONFIG_OPENSSL_NO_DEPRECATED is not set
CONFIG_OPENSSL_WITH_ERROR_MESSAGES=y

#
# Protocol Support
#
CONFIG_OPENSSL_WITH_TLS13=y
# CONFIG_OPENSSL_WITH_DTLS is not set
# CONFIG_OPENSSL_WITH_NPN is not set
CONFIG_OPENSSL_WITH_SRP=y
CONFIG_OPENSSL_WITH_CMS=y

#
# Algorithm Selection
#
# CONFIG_OPENSSL_WITH_EC2M is not set
CONFIG_OPENSSL_WITH_CHACHA_POLY1305=y
CONFIG_OPENSSL_PREFER_CHACHA_OVER_GCM=y
CONFIG_OPENSSL_WITH_PSK=y

#
# Less commonly used build options
#
# CONFIG_OPENSSL_WITH_ARIA is not set
# CONFIG_OPENSSL_WITH_CAMELLIA is not set
# CONFIG_OPENSSL_WITH_IDEA is not set
# CONFIG_OPENSSL_WITH_SEED is not set
# CONFIG_OPENSSL_WITH_SM234 is not set
# CONFIG_OPENSSL_WITH_BLAKE2 is not set
# CONFIG_OPENSSL_WITH_MDC2 is not set
# CONFIG_OPENSSL_WITH_WHIRLPOOL is not set
# CONFIG_OPENSSL_WITH_COMPRESSION is not set
# CONFIG_OPENSSL_WITH_RFC3779 is not set

#
# Engine/Hardware Support
#
CONFIG_OPENSSL_ENGINE=y
# CONFIG_OPENSSL_ENGINE_BUILTIN is not set
# CONFIG_OPENSSL_WITH_GOST is not set
# CONFIG_PACKAGE_libopenssl-afalg_sync is not set
# CONFIG_PACKAGE_libopenssl-conf is not set
# CONFIG_PACKAGE_libopenssl-devcrypto is not set
# CONFIG_PACKAGE_libwolfssl is not set

#
@@ -4161,7 +4082,8 @@ CONFIG_PACKAGE_libmbedtls=y
CONFIG_PACKAGE_libblobmsg-json=y
# CONFIG_PACKAGE_libbsd is not set
# CONFIG_PACKAGE_libcanfestival is not set
# CONFIG_PACKAGE_libcap is not set
CONFIG_PACKAGE_libcap=y
# CONFIG_PACKAGE_libcap-bin is not set
# CONFIG_PACKAGE_libcares is not set
# CONFIG_PACKAGE_libcgroup is not set
# CONFIG_PACKAGE_libcharset is not set
@@ -4232,10 +4154,10 @@ CONFIG_LIBCURL_PROXY=y
# CONFIG_PACKAGE_libev is not set
# CONFIG_PACKAGE_libevdev is not set
CONFIG_PACKAGE_libevent2=y
# CONFIG_PACKAGE_libevent2-core is not set
CONFIG_PACKAGE_libevent2-core=y
# CONFIG_PACKAGE_libevent2-extra is not set
# CONFIG_PACKAGE_libevent2-openssl is not set
# CONFIG_PACKAGE_libevent2-pthreads is not set
CONFIG_PACKAGE_libevent2-pthreads=y
# CONFIG_PACKAGE_libevhtp is not set
# CONFIG_PACKAGE_libexif is not set
# CONFIG_PACKAGE_libexpat is not set
@@ -5294,9 +5216,9 @@ CONFIG_LLDPD_WITH_CUSTOM=y
# CONFIG_PACKAGE_htpdate is not set
# CONFIG_PACKAGE_linuxptp is not set
# CONFIG_PACKAGE_ntp-keygen is not set
# CONFIG_PACKAGE_ntp-utils is not set
CONFIG_PACKAGE_ntp-utils=y
# CONFIG_PACKAGE_ntpclient is not set
# CONFIG_PACKAGE_ntpd is not set
CONFIG_PACKAGE_ntpd=y
# CONFIG_PACKAGE_ntpdate is not set


11.02.20213620Base systemBug ReportVery LowHighRemote desktop unusable with software flow offloadingopenwrt-19.07Unconfirmed Task Description

I have latest stable OpenWrt 19.07.6 r11278 installed to my TP-Link TL-WDR4900 v1.
I have a port forward to a Windows RDP or using TeamViewer remote management.
When the Software flow offloading ENABLED, Windows RDP or TeamViewer remote management connection become slow and laggy.

If I disable everything works quickly without lags.

 


24.02.20213639Base systemBug ReportVery LowHighRepeated failure of wireless interfaces, seemingly rela...TrunkUnconfirmed Task Description

Supply the following if possible:



Model: Linksys WRT3200ACM
Architecture: ARMv7 Processor rev 1 (v7l)
Firmware Version: OpenWrt 19.07.7 r11306-c4a6851c72 / LuCI openwrt-19.07 branch git-21.054.03371-3b137b5
Kernel Version: 4.14.221

In the last four to six days the wireless on my network kept failing (particularly overnight - but that may be less to do with time of day and more to do with lease expiry??). I searched and found that someone else resolved this back in around 2018 by enabling IGMP Snooping and then rebooting their router (https://forum.openwrt.org/t/wifi-up-device-connected-but-no-internet/) - That worked for me but only temporarily. This morning, even though (on LuCI and via SSH) I can see IGMP Snooping is still enabled (LAN interface), the same problem occurred - all the wireless devices can connect to the router but not the Internet. For the moment, rebooting the router fixed it but clearly that’s not a realistic solution.

I have marked this high severity because:

- It looks like a regression
- My kids can't access school via their iPads and are getting marked absent! (like many/most, we're in lockdown)

`/etc/config/network` reads:

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fddf:17c3:6271::/48'

config interface 'lan'
        option type 'bridge'
        option ifname 'eth0.1'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option broadcast '192.168.7.255'
        option ipaddr '192.168.7.1'
        option gateway '****'  <- my WAN static IP
        list dns '1.1.1.1'
        option igmp_snooping '1' <- I set this, which seemed to resolve it, but only for a bit

config interface 'wan'
        option ifname 'eth1.2'
        option proto 'pppoe'
        option password '****'
        option ipv6 'auto'
        option username '****'

config interface 'wan6'
        option ifname 'eth1.2'
        option proto 'dhcpv6'

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '0 1 2 3 5t'

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option ports '4 6t'

config interface 'wwan'
        option proto 'dhcp'
25.02.20213641OtherBug ReportVery LowHighNew D-Link bootloader (for DIR-2660 and possibly others...TrunkUnconfirmed Task Description

It seems that some D-Link devices require additional header values in order to flash it via the recovery and to upgrade existing installs. The older versions of the DIR-2660 A1 could be flashed with the current OpenWrt snapshot.

The latest batch of DIR-2660 devices, and possibly others, come with a new bootloader that requires some additional header fields to be set. Manually changing the headers of the factory and upgrade files, allows them to flash succesfully;

you can edit one your self if you like
add "DIR-2660" text at address 0x40 hex
add "V1.00000" text at address 0x80 hex
add "A1" text at address 0x90 hex
change bytes 0x04 to 0x07 to 00
create crc32 for bytes 0x0 to 0x9F
place result in bytes 0x04 to 0x07

This is discussed in https://forum.openwrt.org/t/d-link-dir-2660-a2/89507/11 and https://forum.openwrt.org/t/dir-2660-dir-1935-dir-882-how-to-safely-install-openwrt/88697/10.

27.02.20213645Base systemBug ReportVery LowHighStateful DHCPv6 bugTrunkUnconfirmed Task Description

If the firmware compiled with the current source code uses Stateful DHCPv6, the IPv6 address cannot be obtained, but the DNS can be obtained. Please fix it.

04.03.20213662Base systemBug ReportVery LowHighParameters aren't passed to kernel modules at bootTrunkUnconfirmed Task Description

I have a D-Link DIR-882 A1 router (MT7621 + 2x MT7615N, 128 MB of RAM, 16 MB of NOR flash) running OpenWrt SNAPSHOT r16087-1d412235a5 (built on March 4, 2021) and I need to pass quirks=0bc2:231a:u parameter to the usb-storage module at boot in order to skip loading of the UAS driver, which is currently broken on the xhci-mtk driver this router uses (as reported here, here, here and on various topics on the OpenWrt Forums), and prevents an external USB 3.0 HDD I have to work with it.

Accordingly to several sources, this should be easily accomplished by writing usb-storage quirks=<vid>:<pid>:u on a single line into /etc/modules.d/usb-storage, however, the specified parameter is ignored and never reaches the kernel module, as running cat /sys/module/usb_storage/parameters/quirks after boot is complete returns empty. I also found this thread, dating back to 2018, with other users having the same issue, and which also seems to confirm that adding the kernel module parameters to the corresponding file under /etc/modules.d is how it’s supposed to work, but it simply doesn’t.

The only workaround I found so far is running echo “0bc2:231a:u” > /sys/module/usb_storage/parameters/quirks after booting, but then I need to physically unplug and re-plug the HDD for the changes to take effect, this also needs to be done every time the router powers on, which is very annoying. Other things I tried includes creating /etc/modprobe.d/usb-storage.conf with options usb-storage quirks=<vid>:<pid>:u and also unloading (and ever completely removing) kmod-usb-storage-uas from the device, but none of that worked.

So, is there any other mechanism for passing parameters to kernel modules at boot time? As far as I searched, /etc/modules.d seems to be the only one, but it’s broken...

05.03.20213665PackagesBug ReportVery LowHighBroken work kmod-sdhci-mt7620 packageopenwrt-19.07Unconfirmed Task Description

1. Youku-L1C
2. kmod-sdhci-mt7620
3. Broken work kmod-sdhci-mt7620 package: periodic SD card left to read-only mode. This not fix without reboot device.

 


05.03.20213666PackagesBug ReportVery LowHighVery low speed WiFi with kmod-rt2800-* packgesAllUnconfirmed Task Description

1. Youku-L1C
2. kmod-rt2800-*
3. Very low speed WiFi with kmod-rt2800-* packages: download 15-20 Mbit/sec, upload 50-80 Mbit/sec. This problem since in 2017 year after add MT76xx chipset support. With 2017 year this problem not resolved. Problem in TX module in this package: very low download speed.

Developers, please resolve and fix this problem.


22.03.20213701Base systemBug ReportVery LowHighDropbear in a crash loop TrunkUnconfirmed Task Description

Problem:
When i trying connect router by ssh i see error:

ssh: connect to host 192.168.1.1 port 22: Connection refused

OS / HW:

Model:	TP-Link TL-WR842N v5
Architecture:	MediaTek MT7628AN ver:1 eco:2
Firmware Version:	OpenWrt SNAPSHOT r16217-d7c8ca4d0b / LuCI Master git-21.081.27815-c385df1
Kernel Version:	5.4.105

Logs:

Mon Mar 22 12:04:39 2021 daemon.info procd: Instance dropbear::instance1 s in a crash loop 6 crashes, 0 seconds since last crash

I tried master and openwrt-21.02 branch. Same results.

My config:

CONFIG_TARGET_ramips=y
CONFIG_TARGET_ramips_mt76x8=y
CONFIG_TARGET_ramips_mt76x8_DEVICE_tplink_tl-wr842n-v5=y
CONFIG_BUSYBOX_CUSTOM=y
CONFIG_BUILD_PATENTED=y
CONFIG_BUSYBOX_CONFIG_ARP=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_ALLOW_EXEC is not set
# CONFIG_BUSYBOX_CONFIG_MKSWAP is not set
# CONFIG_BUSYBOX_CONFIG_SWAPOFF is not set
# CONFIG_BUSYBOX_CONFIG_SWAPON is not set
# CONFIG_BUSYBOX_CONFIG_VI is not set
CONFIG_CLEAN_IPKG=y
CONFIG_EXPERIMENTAL=y
# CONFIG_KERNEL_AIO is not set
# CONFIG_KERNEL_CGROUPS is not set
# CONFIG_KERNEL_ELF_CORE is not set
# CONFIG_KERNEL_FANOTIFY is not set
# CONFIG_KERNEL_FHANDLE is not set
# CONFIG_KERNEL_KEYS is not set
# CONFIG_KERNEL_NAMESPACES is not set
# CONFIG_KERNEL_SECCOMP is not set
# CONFIG_KERNEL_SWAP is not set
CONFIG_LIBCURL_COOKIES=y
CONFIG_LIBCURL_FTP=y
CONFIG_LIBCURL_HTTP=y
CONFIG_LIBCURL_NO_SMB="!"
CONFIG_LIBCURL_OPENSSL=y
CONFIG_LIBCURL_PROXY=y
CONFIG_LIBSODIUM_MINIMAL=y
CONFIG_LINUX_5_10=y
CONFIG_LUCI_SRCDIET=y
CONFIG_OPENSSL_ENGINE=y
CONFIG_OPENSSL_PREFER_CHACHA_OVER_GCM=y
CONFIG_OPENSSL_WITH_ASM=y
CONFIG_OPENSSL_WITH_CHACHA_POLY1305=y
CONFIG_OPENSSL_WITH_CMS=y
CONFIG_OPENSSL_WITH_DEPRECATED=y
CONFIG_OPENSSL_WITH_ERROR_MESSAGES=y
CONFIG_OPENSSL_WITH_PSK=y
CONFIG_OPENSSL_WITH_SRP=y
CONFIG_OPENSSL_WITH_TLS13=y
CONFIG_PACKAGE_cgi-io=y
CONFIG_PACKAGE_chat=y
CONFIG_PACKAGE_comgt=y
CONFIG_PACKAGE_curl=y
CONFIG_PACKAGE_htop=y
CONFIG_PACKAGE_ip-tiny=y
CONFIG_PACKAGE_ipset=y
CONFIG_PACKAGE_iptables-mod-conntrack-extra=y
CONFIG_PACKAGE_iptables-mod-ipopt=y
CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y
CONFIG_PACKAGE_kmod-ipt-ipopt=y
CONFIG_PACKAGE_kmod-ipt-ipset=y
CONFIG_PACKAGE_kmod-ipt-raw=y
CONFIG_PACKAGE_kmod-mii=y
CONFIG_PACKAGE_kmod-nfnetlink=y
CONFIG_PACKAGE_kmod-tun=y
CONFIG_PACKAGE_kmod-usb-acm=y
CONFIG_PACKAGE_kmod-usb-net=y
CONFIG_PACKAGE_kmod-usb-net-cdc-ether=y
CONFIG_PACKAGE_kmod-usb-serial=y
CONFIG_PACKAGE_kmod-usb-serial-option=y
CONFIG_PACKAGE_kmod-usb-serial-pl2303=y
CONFIG_PACKAGE_kmod-usb-serial-wwan=y
CONFIG_PACKAGE_libatomic=y
CONFIG_PACKAGE_libcares=y
CONFIG_PACKAGE_libcbor=y
CONFIG_PACKAGE_libcurl=y
CONFIG_PACKAGE_libev=y
CONFIG_PACKAGE_libevdev=y
CONFIG_PACKAGE_libfido2=y
CONFIG_PACKAGE_libipset=y
CONFIG_PACKAGE_libiwinfo-lua=y
CONFIG_PACKAGE_liblua=y
CONFIG_PACKAGE_liblucihttp=y
CONFIG_PACKAGE_liblucihttp-lua=y
CONFIG_PACKAGE_liblzo=y
CONFIG_PACKAGE_libmnl=y
CONFIG_PACKAGE_libncurses=y
CONFIG_PACKAGE_libopenssl=y
CONFIG_PACKAGE_libopenssl-conf=y
CONFIG_PACKAGE_librt=y
CONFIG_PACKAGE_libsodium=y
CONFIG_PACKAGE_libubus-lua=y
CONFIG_PACKAGE_libuci-lua=y
CONFIG_PACKAGE_libudev-zero=y
CONFIG_PACKAGE_libusb-1.0=y
CONFIG_PACKAGE_libustream-openssl=y
# CONFIG_PACKAGE_libustream-wolfssl is not set
# CONFIG_PACKAGE_libwolfssl is not set
CONFIG_PACKAGE_lua=y
CONFIG_PACKAGE_luci=y
CONFIG_PACKAGE_luci-app-firewall=y
CONFIG_PACKAGE_luci-app-opkg=y
CONFIG_PACKAGE_luci-base=y
CONFIG_PACKAGE_luci-compat=y
CONFIG_PACKAGE_luci-lib-base=y
CONFIG_PACKAGE_luci-lib-httpprotoutils=y
CONFIG_PACKAGE_luci-lib-ip=y
CONFIG_PACKAGE_luci-lib-jsonc=y
CONFIG_PACKAGE_luci-lib-nixio=y
CONFIG_PACKAGE_luci-mod-admin-full=y
CONFIG_PACKAGE_luci-mod-network=y
CONFIG_PACKAGE_luci-mod-status=y
CONFIG_PACKAGE_luci-mod-system=y
CONFIG_PACKAGE_luci-proto-3g=y
CONFIG_PACKAGE_luci-proto-ipv6=y
CONFIG_PACKAGE_luci-proto-ppp=y
CONFIG_PACKAGE_luci-theme-bootstrap=y
CONFIG_PACKAGE_nano=y
# CONFIG_PACKAGE_odhcp6c is not set
CONFIG_PACKAGE_odhcpd=y
# CONFIG_PACKAGE_odhcpd-ipv6only is not set
CONFIG_PACKAGE_odhcpd_full_ext_cer_id=0
CONFIG_PACKAGE_openssl-util=y
CONFIG_PACKAGE_rpcd=y
CONFIG_PACKAGE_rpcd-mod-file=y
CONFIG_PACKAGE_rpcd-mod-iwinfo=y
CONFIG_PACKAGE_rpcd-mod-luci=y
CONFIG_PACKAGE_rpcd-mod-rrdns=y
CONFIG_PACKAGE_terminfo=y
CONFIG_PACKAGE_uhttpd=y
CONFIG_PACKAGE_uhttpd-mod-ubus=y
CONFIG_PACKAGE_usb-modeswitch=y
CONFIG_PACKAGE_usbids=y
CONFIG_PACKAGE_usbutils=y
CONFIG_PACKAGE_wpad-basic=y
# CONFIG_PACKAGE_wpad-basic-wolfssl is not set
CONFIG_PACKAGE_zlib=y
CONFIG_STRIP_KERNEL_EXPORTS=y
# CONFIG_TARGET_ROOTFS_INITRAMFS is not set
CONFIG_TESTING_KERNEL=y
CONFIG_USE_MKLIBS=y
# CONFIG_WPA_WOLFSSL is not set
# CONFIG_LIBCURL_FILE is not set

31.03.20213714PackagesBug ReportVery LowHighSlow download speed using Kmod-usb-net-RTL8152openwrt-19.07Unconfirmed Task Description

Problem occurs with TP-Link u300 USB gigalan device chipset RTL8152 connected to usb 2.0 (not tested on 3.0)
too slow download speed on trunk compiled version and 19.07.7 stable to. Upload speed working as expected.
Working fine on 19.07.3

OpenWrt Version 19.07.7 / Trunk

- Steps to reproduce

install last trunk or 19.07.7 problem occurs, going back to 19.07.3 solves the problem
Package Kmod-usb-net-RTL8152

 


07.04.20213729Base systemBug ReportVery LowHighRT2800 (MT7620) no multiple SSIDTrunkUnconfirmed Task Description

master branch

MT7620
Nexx WT3020 8M

config wifi-device ‘radio0’

option type 'mac80211'
option channel '11'
option hwmode '11g'
option path 'platform/10180000.wmac'
option cell_density '0'
option htmode 'HT40'
option noscan '1'

config wifi-iface ‘wifinet0’

option device 'radio0'
option mode 'ap'
option encryption 'none'
option network 'lan2'
option ssid 'Public'

config wifi-iface ‘wifinet1’

option device 'radio0'
option mode 'ap'
option encryption 'none'
option network 'lan'
option ssid 'Private2'

only “Public” wifi shows

wlan0 Link encap:Ethernet HWaddr 38:xxxxxxxxxxx

        inet addr:192.168.182.1  Bcast:192.168.255.255  Mask:255.255.0.0
        inet6 addr: fe80::3a1c:4aff:fe06:c05b/64 Scope:Link
        UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
        RX packets:0 errors:0 dropped:0 overruns:0 frame:0
        TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:1000 
        RX bytes:0 (0.0 B)  TX bytes:1140 (1.1 KiB)
 


09.04.20213733KernelBug ReportVery LowHighpacket loss, link loss, bad rx status / Multihomed box ...openwrt-19.07Unconfirmed Task Description

- Device problem occurs on

Turris Omnia 2020

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

OpenWrt 19.07.7 a5672f6b96f393145070ad17c8eb1d15ef49ad2e

- Problem description:

Network setup is multihomed with configured onboard WAN (eth2) device and Huawei E3372 (eth3) device and both distinct gateways and metrics.
As soon I start pinging from eth3 beyond its gateway I observe packet loss, link loss and bad rx status crc error on eth2.


- Configuration:

Onboard WAN device eth2:

# dmesg  | grep eth2
[    4.473584] mvneta f1034000.ethernet eth2: Using hardware mac address d8:58:d7:01:14:fc
[   17.582029] mvneta f1034000.ethernet eth2: PHY [f1072004.mdio-mii:01] driver [Marvell 88E1510]
[   17.591455] mvneta f1034000.ethernet eth2: configuring for phy/sgmii link mode
[   21.831900] mvneta f1034000.ethernet eth2: Link is Up - 1Gbps/Full - flow control rx/tx

Huawei E3372 USB-Modem with recent firmware (22.328.62.00.1217) in HiLink mode

# lsusb | grep Huawei
Bus 004 Device 002: ID 12d1:14dc Huawei Technologies Co., Ltd. E33372 LTE/UMTS/GSM HiLink Modem/Networkcard

System with kmod-usb-net-cdc-ether registers successfully new network device eth3

# dmesg  | grep "CDC Ethernet Device"
[   12.553958] cdc_ether 4-1:1.0 eth3: register 'cdc_ether' at usb-f10f8000.usb3-1, CDC Ethernet Device, 0c:5b:8f:27:9a:64

Network configuration for eth2 and eth3

# ip addr show eth2
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 532
    link/ether d8:58:d7:01:14:fc brd ff:ff:ff:ff:ff:ff
    inet xxx.xxx.xxx.xxx/29 brd xxx.xxx.xxx.xxx scope global eth2
       valid_lft forever preferred_lft forever
# ip addr show eth3
14: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/ether 0c:5b:8f:27:9a:64 brd ff:ff:ff:ff:ff:ff
    inet 192.168.8.100/24 brd 192.168.8.255 scope global eth3
       valid_lft forever preferred_lft forever
# route -n | egrep "Destination|eth"
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         xxx.xxx.xxx.xxx 0.0.0.0         UG    10     0        0 eth2
0.0.0.0         192.168.8.1     0.0.0.0         UG    20     0        0 eth3
192.168.8.0     0.0.0.0         255.255.255.0   U     20     0        0 eth3
xxx.xxx.xxx.xxx 0.0.0.0         255.255.255.248 U     10     0        0 eth2

- Steps to reproduce

1. Produce traffic originating from eth3 with destination beyond its gateway:
(pinging the gateway from eth3 will not produce the error)

# ping -I eth3 -i 0.5 -q 1.1.1.1

2. From different terminal window start pinging from eth2 and observe packet loss

# ping -I eth2 -c 20 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from xxx.xxx.xxx.xxx eth2: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=119 time=2.13 ms
64 bytes from 8.8.8.8: icmp_req=2 ttl=119 time=2.15 ms
64 bytes from 8.8.8.8: icmp_req=3 ttl=119 time=2.12 ms
64 bytes from 8.8.8.8: icmp_req=4 ttl=119 time=2.12 ms
64 bytes from 8.8.8.8: icmp_req=6 ttl=119 time=2.11 ms
64 bytes from 8.8.8.8: icmp_req=13 ttl=119 time=2.13 ms
64 bytes from 8.8.8.8: icmp_req=14 ttl=119 time=2.17 ms
64 bytes from 8.8.8.8: icmp_req=15 ttl=119 time=2.13 ms
64 bytes from 8.8.8.8: icmp_req=16 ttl=119 time=2.10 ms
64 bytes from 8.8.8.8: icmp_req=17 ttl=119 time=2.11 ms
64 bytes from 8.8.8.8: icmp_req=18 ttl=119 time=2.12 ms
64 bytes from 8.8.8.8: icmp_req=19 ttl=119 time=2.11 ms
64 bytes from 8.8.8.8: icmp_req=20 ttl=119 time=2.10 ms

--- 8.8.8.8 ping statistics ---
20 packets transmitted, 13 received, 35% packet loss, time 19364ms
rtt min/avg/max/mdev = 2.104/2.129/2.177/0.040 ms

3. Check kernel ring buffer for related entries

# dmesg
[  540.372989] mvneta f1034000.ethernet eth2: Link is Down
[  542.449648] mvneta f1034000.ethernet eth2: Link is Up - 1Gbps/Full - flow control rx/tx
[  605.886917] mvneta f1034000.ethernet eth2: Link is Down
[  607.963595] mvneta f1034000.ethernet eth2: Link is Up - 1Gbps/Full - flow control rx/tx
[ 1164.426903] device eth2 entered promiscuous mode
[ 1166.118663] device eth2 left promiscuous mode
[ 1175.666308] device eth2 entered promiscuous mode
[ 1194.086756] mvneta f1034000.ethernet eth2: bad rx status 0c410000 (crc error), size=391
[ 1195.740476] mvneta f1034000.ethernet eth2: bad rx status 0c410000 (crc error), size=94
[ 1196.963670] mvneta f1034000.ethernet eth2: bad rx status 0c410000 (crc error), size=82
[ 1197.536843] mvneta f1034000.ethernet eth2: bad rx status 0c410000 (crc error), size=157
[ 1199.641764] mvneta f1034000.ethernet eth2: bad rx status 0c410000 (crc error), size=81
[ 1204.552005] mvneta f1034000.ethernet eth2: bad rx status 0c410000 (crc error), size=298
[ 1204.683304] mvneta f1034000.ethernet eth2: bad rx status 0c410000 (crc error), size=156
[ 1237.241446] device eth2 left promiscuous mode
10.04.20213734KernelBug ReportVery LowHighHuge memory leak on kernel 5.10 with vsftpd, minidlnaTrunkUnconfirmed Task Description

Device: Xiaomi Mi Router 3G
Linux version 5.10.28 (root@Vladdrako-PC) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 10.2.0 r16692-ec5eadde66) 10.2.0, GNU ld (GNU Binutils) 2.35.1) #0 SMP Sat Apr 10 04:38:37 2021
When minidlna tried to scan my HDDs, after a minute I have 0 RAM. Same with vsftpd when I accessing files on HDDs. Kernel 5.4 works fine.

root@MI-R3G:~# free
              total        used        free      shared  buff/cache   available
Mem:         250096       98148       77212         568       74736       85924
Swap:        250092       33432      216660
root@MI-R3G:~# free
              total        used        free      shared  buff/cache   available
Mem:         250096       96076       69912         568       84108       88024
Swap:        250092       33432      216660
root@MI-R3G:~# free
              total        used        free      shared  buff/cache   available
Mem:         250096      203124       27908         404       19064        3400
Swap:        250092      113380      136712

root@MI-R3G:~# lsusb -v -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/1p, 5000M
    ID 1d6b:0003
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/2p, 480M
    ID 1d6b:0002
    |__ Port 1: Dev 2, If 0, Class=, Driver=hub/4p, 480M
        ID 05e3:0610
        |__ Port 1: Dev 3, If 0, Class=, Driver=usb-storage, 480M
            ID 152d:0579
        |__ Port 2: Dev 4, If 0, Class=, Driver=usb-storage, 480M
            ID 152d:0579
        |__ Port 3: Dev 5, If 0, Class=, Driver=usb-storage, 480M
            ID 8564:1000
        |__ Port 4: Dev 7, If 0, Class=, Driver=usbfs, 1.5M
            ID 0d9f:0004
root@MI-R3G:~# lsusb
Bus 001 Device 004: ID 152d:0579 JMICRON JMS579
Bus 001 Device 007: ID 0d9f:0004 POWERCOM Co.,LTD HID UPS Battery
Bus 002 Device 001: ID 1d6b:0003 Linux 5.10.28 xhci-hcd xHCI Host Controller
Bus 001 Device 003: ID 152d:0579 JMICRON JMS579
Bus 001 Device 005: ID 8564:1000 JetFlash Mass Storage Device
Bus 001 Device 002: ID 05e3:0610 GenesysLogic USB2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux 5.10.28 xhci-hcd xHCI Host Controller
14.04.20213740Base systemBug ReportVery LowHighMT7688 wireless signal disappears under heavy loadTrunkUnconfirmed Task Description

Device: GL-MT300N-V2
CPU: MT7688
Openwrt Version: trunk(2021/4/14)

Steps:

1. install the firmware
2. modify /etc/config/wireless

config wifi-device 'radio0'
	option type 'mac80211'
	option channel '11'
	option hwmode '11g'
	option path 'platform/10300000.wmac'
	option htmode 'HT40'
	option disabled '0'
	option noscan '1'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'OpenWrt'
	option encryption 'none'

3. restart network
4. PC connect GL-MT300N-V2’s wifi
5. [Another Openwrt Router, with ‘iperf3 -s’][LAN]——–[WAN][GL-MT300N-V2][WIFI]——–[PC, with ‘iperf3 -c -R’]
6. Within 1 minutes, wifi signal disappears
7. no error appears in logread

Please fix it.

22.04.20213750Base systemBug ReportVery LowHigh[21.02.0-rc1] ath79 UniFI uap-pro fails to find rootfs ...openwrt-21.02Unconfirmed Task Description

Device Ubiquiti UniFi AP Pro: https://openwrt.org/toh/hwdata/ubiquiti/ubiquiti_unifi_ap_pro

Cross flashing from ar71xx [19.07.7] to ath79 [21.02.0-rc1] (webinterface or cli) without keeping config/settings leads to a soft brick (tftp-recoverable)!
a1de9ee5aad1c768d8cdd2a396e3c1967c2b33084b73e121a45bb0be7ad2d250 openwrt-21.02.0-rc1-ath79-generic-ubnt_unifi-ap-pro-squashfs-sysupgrade.bin

Also flashing/recovering the OpenWrt “factory” ath79 [21.02.0-rc1] image via tftp still bricks it the same way (see log):
af4de7dc5ae2b7d243b8d567cde6808cde479d21331a9ba05d7620b0afa960ee openwrt-21.02.0-rc1-ath79-generic-ubnt_unifi-ap-pro-squashfs-factory.bin

Recovering via tftp to [19.07.7] ar71xx OpenWrt factory image fixes the device again:
d6d8dee5dca7363e3400f002b9f3bc30728fd23a5281417ff52aa6c465320a5a openwrt-19.07.7-ar71xx-generic-ubnt-uap-pro-squashfs-factory.bin

Serial LOG 21.02.0-rc1 broken:

U-Boot unifi-v1.6.15.278-g4ebbbcff (Mar  5 2018 - 23:40:54)

DRAM:  128 MB
Base:0x80000000, Top:0x88000000, Res logbuf:0xa7ffb000, log_magic:0xf0127109 kseg: 0xa0000000
Flash: 16 MB
PCIe WLAN Module found (tries: 1). 
Net:   eth0: 44:d9:e7:XX:YY:ZZ
eth0
Setting 0xb8116290 to 0x20402d0f
Board: Copyright Ubiquiti Networks Inc. 2014
Hit any key to stop autoboot:  0 
Board: Ubiquiti Networks AR9344 board (e507-35.2123.0030.0030)
 0. Name = u-boot, offset = 0, start_addr=9f000000, size=262144,start_sector=0, end_sector=3 
 1. Name = u-boot-env, offset = 40000, start_addr=9f040000, size=65536,start_sector=4, end_sector=4 
 2. Name = jffs2, offset = 50000, start_addr=9f050000, size=16121856,start_sector=5, end_sector=250 
 3. Name = cfg, offset = fb0000, start_addr=9ffb0000, size=262144,start_sector=251, end_sector=254 
 4. Name = EEPROM, offset = ff0000, start_addr=9fff0000, size=65536,start_sector=255, end_sector=255 
UBNT application initialized 
Scanning JFFS2 FS: . done.
find_inode failed for name=kernel1
ls: Failed to scan jffs2 file structure
## Booting image at 81000000 ...
   Image Name:   MIPS OpenWrt Linux-5.4.111
   Created:      2021-04-18  10:06:57 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    2033665 Bytes =  1.9 MB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum at 0x81000040 ...OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 5.4.111 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16046-59980f7aaf)) #0 Sun Apr 18 10:06:57 21
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] MIPS: machine is Ubiquiti UniFi AP Pro
[    0.000000] SoC: Atheros AR9344 rev 3
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 122248K/131072K available (5216K kernel code, 190K rwdata, 684K rodata, 1196K init, 205K bss, 8824K reserved, 0K cma)
[    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 0x80655984 with crng_init=0
[    0.000000] CPU clock: 560.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6825930166 ns
[    0.000009] sched_clock: 32 bits at 280MHz, resolution 3ns, wraps every 7669584382ns
[    0.008319] Calibrating delay loop... 278.78 BogoMIPS (lpj=557568)
[    0.050865] pid_max: default: 32768 minimum: 301
[    0.055947] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.063741] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.076719] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.087139] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.094503] pinctrl core: initialized pinctrl subsystem
[    0.102692] NET: Registered protocol family 16
[    0.132387] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.146500] clocksource: Switched to clocksource MIPS
[    0.153196] NET: Registered protocol family 2
[    0.158931] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.167900] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.176073] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.183591] TCP: Hash tables configured (established 1024 bind 1024)
[    0.190533] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.197517] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.205280] NET: Registered protocol family 1
[    0.209990] PCI: CLS 0 bytes, default 32
[    0.218111] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.232602] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.238860] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.263364] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.275433] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.282639] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.292023] printk: console [ttyS0] disabled
[    0.296682] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 2500000) is a 16550A
[    0.305892] printk: console [ttyS0] enabled
[    0.305892] printk: console [ttyS0] enabled
[    0.314798] printk: bootconsole [early0] disabled
[    0.314798] printk: bootconsole [early0] disabled
[    0.334877] spi-nor spi0.0: mx25l12805d (16384 Kbytes)
[    0.340193] 5 fixed-partitions partitions found on MTD device spi0.0
[    0.346656] Creating 5 MTD partitions on "spi0.0":
[    0.351549] 0x000000000000-0x000000040000 : "u-boot"
[    0.357635] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.364056] 0x000000050000-0x000000fb0000 : "firmware"
[    0.370312] 0x000000fb0000-0x000000ff0000 : "cfg"
[    0.376132] 0x000000ff0000-0x000001000000 : "art"
[    0.383994] libphy: Fixed MDIO Bus: probed
[    0.728453] libphy: ag71xx_mdio: probed
[    0.735659] switch0: Atheros AR8327 rev. 4 switch registered on mdio.0
[    1.122492] random: fast init done
[    1.320642] ag71xx 19000000.eth: connected to PHY at mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[    1.331825] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
[    1.338540] i2c /dev entries driver
[    1.344501] NET: Registered protocol family 10
[    1.354587] Segment Routing with IPv6
[    1.358450] NET: Registered protocol family 17
[    1.363080] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you ne.
[    1.376238] 8021q: 802.1Q VLAN Support v1.8
[    1.381516] PCI host bridge /ahb/pcie-controller@180c0000 ranges:
[    1.387782]  MEM 0x0000000010000000..0x0000000013ffffff
[    1.393105]   IO 0x0000000000000000..0x0000000000000000
[    1.398625] PCI host bridge to bus 0000:00
[    1.402832] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    1.409817] pci_bus 0000:00: root bus resource [io  0x0000]
[    1.415485] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    1.422382] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.430470] pci 0000:00:00.0: [168c:0033] type 00 class 0x028000
[    1.436633] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0001ffff 64bit]
[    1.443578] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    1.450463] pci 0000:00:00.0: supports D1
[    1.454550] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.461724] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    1.468496] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit]
[    1.475949] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref]
[    1.484289] hctosys: unable to open rtc device (rtc0)
[    1.490612] /dev/root: Can't open blockdev
[    1.494814] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    1.502415] Please append a correct "root=" boot option; here are the available partitions:
[    1.510899] 1f00             256 mtdblock0 
[    1.510903]  (driver?)
[    1.517545] 1f01              64 mtdblock1 
[    1.517548]  (driver?)
[    1.524197] 1f02           15744 mtdblock2 
[    1.524200]  (driver?)
[    1.530850] 1f03             256 mtdblock3 
[    1.530852]  (driver?)
[    1.537494] 1f04              64 mtdblock4 
[    1.537496]  (driver?)
[    1.544145] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    1.552524] Rebooting in 1 seconds..

Serial Log 19.07.7 OK:

U-Boot unifi-v1.6.15.278-g4ebbbcff (Mar  5 2018 - 23:40:54)

DRAM:  128 MB
Base:0x80000000, Top:0x88000000, Res logbuf:0xa7ffb000, log_magic:0x8fb30028 kseg: 0xa0000000
Flash: 16 MB
PCIe WLAN Module found (tries: 1). 
Net:   eth0: 44:d9:e7:xx:yy:zz
eth0
Setting 0xb8116290 to 0x20402d0f
Board: Copyright Ubiquiti Networks Inc. 2014
Hit any key to stop autoboot:  0 
Board: Ubiquiti Networks AR9344 board (e507-35.2123.0030.0030)
 0. Name = u-boot, offset = 0, start_addr=9f000000, size=262144,start_sector=0, end_sector=3 
 1. Name = u-boot-env, offset = 40000, start_addr=9f040000, size=65536,start_sector=4, end_sector=4 
 2. Name = jffs2, offset = 50000, start_addr=9f050000, size=16121856,start_sector=5, end_sector=250 
 3. Name = cfg, offset = fb0000, start_addr=9ffb0000, size=262144,start_sector=251, end_sector=254 
 4. Name = EEPROM, offset = ff0000, start_addr=9fff0000, size=65536,start_sector=255, end_sector=255 
UBNT application initialized 
Scanning JFFS2 FS: . done.
find_inode failed for name=kernel1
ls: Failed to scan jffs2 file structure
## Booting image at 81000000 ...
   Image Name:   MIPS OpenWrt Linux-4.14.221
   Created:      2021-02-15  15:22:37 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1589545 Bytes =  1.5 MB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum at 0x81000040 ...OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 4.14.221 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11306-c4a6851c72)) #0 Mon Feb 15 15:22:37 1
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9344 rev 3
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] random: get_random_bytes called from 0x804f0740 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=UAP-PRO mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,2048k(kernel),13696k(rootfs),256k(cfg)rd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 124292K/131072K available (3955K kernel code, 192K rwdata, 516K rodata, 320K init, 212K bss, 6780K reserved, 0K cma-)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] Clocks: CPU:560.000MHz, DDR:450.000MHz, AHB:225.000MHz, Ref:40.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6825930166 ns
[    0.000009] sched_clock: 32 bits at 280MHz, resolution 3ns, wraps every 7669584382ns
[    0.008323] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688)
[    0.084943] pid_max: default: 32768 minimum: 301
[    0.090067] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.097127] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.106814] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.117328] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.124962] NET: Registered protocol family 16
[    0.131090] MIPS: machine is Ubiquiti UniFi AP Pro
[    0.139407] registering PCI controller with io_map_base unset
[    0.397193] PCI host bridge to bus 0000:00
[    0.401564] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.408926] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.414852] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.422090] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.430571] pci 0000:00:00.0: invalid calibration data
[    0.436482] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit]
[    0.444279] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref]
[    0.455282] clocksource: Switched to clocksource MIPS
[    0.461686] NET: Registered protocol family 2
[    0.467254] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.474680] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.481501] TCP: Hash tables configured (established 1024 bind 1024)
[    0.488404] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.494626] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.501579] NET: Registered protocol family 1
[    0.509173] Crashlog allocated RAM at address 0x3f00000
[    0.516081] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.528037] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.534244] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.554282] io scheduler noop registered
[    0.558511] io scheduler deadline registered (default)
[    0.564408] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.573299] console [ttyS0] disabled
[    0.597207] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
[    0.606405] console [ttyS0] enabled
[    0.606405] console [ttyS0] enabled
[    0.613814] bootconsole [early0] disabled
[    0.613814] bootconsole [early0] disabled
[    0.628965] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.635597] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.640761] 7 cmdlinepart partitions found on MTD device spi0.0
[    0.646808] Creating 7 MTD partitions on "spi0.0":
[    0.651675] 0x000000000000-0x000000040000 : "u-boot"
[    0.658416] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.665087] 0x000000050000-0x000000250000 : "kernel"
[    0.672154] 0x000000250000-0x000000fb0000 : "rootfs"
[    0.677989] mtd: device 3 (rootfs) set to be root filesystem
[    0.683780] 1 squashfs-split partitions found on MTD device rootfs
[    0.690118] 0x0000004b0000-0x000000fb0000 : "rootfs_data"
[    0.697764] 0x000000fb0000-0x000000ff0000 : "cfg"
[    0.703828] 0x000000ff0000-0x000001000000 : "EEPROM"
[    0.710890] 0x000000050000-0x000000fb0000 : "firmware"
[    0.718354] libphy: Fixed MDIO Bus: probed
[    0.735630] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
[    1.408859] libphy: ag71xx_mdio: probed
[    2.036688] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[    2.048049] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
[    2.056118] NET: Registered protocol family 10
[    2.064919] Segment Routing with IPv6
[    2.068815] NET: Registered protocol family 17
[    2.073376] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you ne.
[    2.087067] 8021q: 802.1Q VLAN Support v1.8
[    2.092927] hctosys: unable to open rtc device (rtc0)
[    2.102592] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    2.111264] Freeing unused kernel memory: 320K
[    2.115805] This architecture does not have kernel memory protection.
[    2.595296] random: fast init done
[    2.841850] init: Console is alive
[    2.845602] init: - watchdog -
[    3.811487] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.871242] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.879817] init: - preinit -
[    4.504183] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    4.532722] random: procd: uninitialized urandom read (4 bytes read)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    5.566550] eth0: link up (1000Mbps/Full duplex)
[    5.571320] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.846950] jffs2: notice: (427) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (0 unchecked, 2 orphan) and.
[    7.863969] mount_root: switching to jffs2 overlay
[    7.891384] overlayfs: upper fs does not support tmpfile.
[    7.903119] urandom-seed: Seeding with /etc/urandom.seed
[    8.089288] eth0: link down
[    8.103972] procd: - early -
[    8.107756] procd: - watchdog -
[    8.752875] procd: - watchdog -
[    8.756485] procd: - ubus -
[    8.866058] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.874248] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.881228] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.888818] procd: - init -
Please press Enter to activate this console.
[    9.671603] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.801100] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.823464] Loading modules backported from Linux version v4.19.161-0-gdaefdc9eb24b
[    9.831305] Backport generated by backports.git v4.19.161-1-0-g4bb568fe
[    9.857645] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.883373] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[   10.007296] xt_time: kernel timezone is -0000
[   10.117993] PPP generic driver version 2.4.2
[   10.135135] urngd: v1.0.2 started.
[   10.139557] NET: Registered protocol family 24
[   10.219311] ieee80211 phy0: Atheros AR9340 Rev:3 mem=0xb8100000, irq=47
[   10.226284] pci 0000:00:00.0: using irq 40 for pin 1
[   10.231344] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   10.256389] ieee80211 phy1: Atheros AR9300 Rev:4 mem=0xb0000000, irq=40
[   10.435674] kmodloader: done loading kernel modules from /etc/modules.d/*
[   10.696838] random: crng init done
[   10.700307] random: 6 urandom warning(s) missed due to ratelimiting
[   25.019974] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   25.027301] eth0: link up (1000Mbps/Full duplex)
[   25.031999] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   25.057283] br-lan: port 1(eth0.1) entered blocking state
[   25.062775] br-lan: port 1(eth0.1) entered disabled state
[   25.068751] device eth0.1 entered promiscuous mode
[   25.073618] device eth0 entered promiscuous mode
[   25.095649] br-lan: port 1(eth0.1) entered blocking state
[   25.101143] br-lan: port 1(eth0.1) entered forwarding state
[   25.107139] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   26.045698] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   27.268268] ath: EEPROM regdomain: 0x8210
[   27.272342] ath: EEPROM indicates we should expect a country code
[   27.278577] ath: doing EEPROM country->regdmn map search
[   27.283968] ath: country maps to regdmn code: 0x37
[   27.288843] ath: Country alpha2 being used: NL
[   27.293346] ath: Regpair used: 0x37
[   27.296915] ath: regdomain 0x8210 dynamically updated by user
[   27.302835] ath: EEPROM regdomain: 0x8210
[   27.306925] ath: EEPROM indicates we should expect a country code
[   27.313104] ath: doing EEPROM country->regdmn map search
[   27.318507] ath: country maps to regdmn code: 0x37
[   27.323362] ath: Country alpha2 being used: NL
[   27.327885] ath: Regpair used: 0x37
[   27.331425] ath: regdomain 0x8210 dynamically updated by user
[   29.343913] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   29.429205] br-lan: port 2(wlan0) entered blocking state
[   29.434606] br-lan: port 2(wlan0) entered disabled state
[   29.440367] device wlan0 entered promiscuous mode
[   29.658886] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   29.739222] br-lan: port 3(wlan1) entered blocking state
[   29.744733] br-lan: port 3(wlan1) entered disabled state
[   29.750579] device wlan1 entered promiscuous mode
[   29.755627] br-lan: port 3(wlan1) entered blocking state
[   29.761024] br-lan: port 3(wlan1) entered forwarding state
[   30.256921] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready

Boot loader info:

U-Boot unifi-v1.6.15.278-g4ebbbcff (Mar  5 2018 - 23:40:54)

DRAM:  128 MB
Base:0x80000000, Top:0x88000000, Res logbuf:0xa7ffb000, log_magic:0xf0127109 kseg: 0xa0000000
Flash: 16 MB
PCIe WLAN Module found (tries: 1). 
Net:   eth0: 44:d9:e7:xx:yy:zz
eth0
Setting 0xb8116290 to 0x20402d0f
Board: Copyright Ubiquiti Networks Inc. 2014
Hit any key to stop autoboot:  0 
ar7240> printenv
bootargs=console=tty0 panic=3
bootcmd=run ubntappinit ubntboot
bootdelay=1
ipaddr=192.168.1.20
serverip=192.168.1.254
ubntappinit=go ${ubntaddr} uappinit;go ${ubntaddr} ureset_button;urescue;go ${ubntaddr} uwrite
mtdparts=mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),15744k(jffs2),256k(cfg),64k(EEPROM)
ubntbootaddr=0x81000000
ubntboot=ubntfsboot ${ubntbootaddr} jffs2 kernel
stdin=serial
stdout=serial
stderr=serial
ethact=eth0
ubntaddr=80200020

Environment size: 449/65532 bytes
ar7240> mtdparts

device nor0 <ath-nor0>, # parts = 5
 #: name                        size            offset          mask_flags
 0: u-boot                      0x00040000      0x00000000      0
 1: u-boot-env                  0x00010000      0x00040000      0
 2: jffs2                       0x00f60000      0x00050000      0
 3: cfg                         0x00040000      0x00fb0000      0
 4: EEPROM                      0x00010000      0x00ff0000      0

active partition: nor0,0 - (u-boot) 0x00040000 @ 0x00000000

defaults:
mtdids  : nor0=ath-nor0
mtdparts: mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),15744k(jffs2),256k(cfg),64k(EEPROM)
ar7240>

ar7240> bdinfo
boot_params = 0x87F4BFB0
memstart    = 0x80000000
memsize     = 0x08000000
flashstart  = 0x9F000000
flashsize   = 0x01000000
flashoffset = 0x000321A8
ethaddr     = 00:00:00:00:00:00
ip_addr     = 192.168.1.20
baudrate    = 115200 bps
ar7240> coninfo
List of available devices:
serial   80000003 SIO stdin stdout stderr 
ar7240> flinfo

Bank # 1: mx25l128 (Id: 0xc22018)
        Size: 16 MB in 256 sectors
ar7240> fsinfo
### filesystem type is JFFS2
Scanning JFFS2 FS:  done.
Compression: NONE
        frag count: 0
        compressed sum: 0
        uncompressed sum: 0
Compression: ZERO
        frag count: 0
        compressed sum: 0
        uncompressed sum: 0
Compression: RTIME
        frag count: 0
        compressed sum: 0
        uncompressed sum: 0
Compression: RUBINMIPS
        frag count: 0
        compressed sum: 0
        uncompressed sum: 0
Compression: COPY
        frag count: 0
        compressed sum: 0
        uncompressed sum: 0
Compression: DYNRUBIN
        frag count: 0
        compressed sum: 0
        uncompressed sum: 0
Compression: ZLIB
        frag count: 0
        compressed sum: 0
        uncompressed sum: 0
ar7240> iminfo

## Checking Image at 81000000 ...
   Bad Magic Number
ar7240> ls
Scanning JFFS2 FS:  done.
ar7240> ls /
Scanning JFFS2 FS:  done.
ar7240> md
Usage:
md      - memory display

ar7240> pci
Scanning PCI devices on bus 0
BusDevFun  VendorId   DeviceId   Device Class       Sub-Class
_____________________________________________________________
00.00.00   0x168c     0x0033     Network controller      0x80
00.01.00   0x168c     0x0033     Network controller      0x80
00.02.00   0x168c     0x0033     Network controller      0x80
00.03.00   0x168c     0x0033     Network controller      0x80
00.04.00   0x168c     0x0033     Network controller      0x80
00.05.00   0x168c     0x0033     Network controller      0x80
00.06.00   0x168c     0x0033     Network controller      0x80
00.07.00   0x168c     0x0033     Network controller      0x80
00.08.00   0x168c     0x0033     Network controller      0x80
00.09.00   0x168c     0x0033     Network controller      0x80
00.0a.00   0x168c     0x0033     Network controller      0x80
00.0b.00   0x168c     0x0033     Network controller      0x80
00.0c.00   0x168c     0x0033     Network controller      0x80
00.0d.00   0x168c     0x0033     Network controller      0x80
00.0e.00   0x168c     0x0033     Network controller      0x80
00.0f.00   0x168c     0x0033     Network controller      0x80
00.10.00   0x168c     0x0033     Network controller      0x80
00.11.00   0x168c     0x0033     Network controller      0x80
00.12.00   0x168c     0x0033     Network controller      0x80
00.13.00   0x168c     0x0033     Network controller      0x80
00.14.00   0x168c     0x0033     Network controller      0x80
00.15.00   0x168c     0x0033     Network controller      0x80
00.16.00   0x168c     0x0033     Network controller      0x80
00.17.00   0x168c     0x0033     Network controller      0x80
00.18.00   0x168c     0x0033     Network controller      0x80
00.19.00   0x168c     0x0033     Network controller      0x80
00.1a.00   0x168c     0x0033     Network controller      0x80
00.1b.00   0x168c     0x0033     Network controller      0x80
00.1c.00   0x168c     0x0033     Network controller      0x80
00.1d.00   0x168c     0x0033     Network controller      0x80
00.1e.00   0x168c     0x0033     Network controller      0x80
00.1f.00   0x168c     0x0033     Network controller      0x80
28.04.20213759Base systemBug ReportVery LowHighIdle ssh Connection exits with: client_loop: send disco...openwrt-21.02Unconfirmed Task Description

Summary

  • Device problem occurs on: x86-64 based router
  • Affected Software version: 21.02.0-rc1
    • This bug does NOT happen when running 19.07.7

Steps to reproduce

SSH from one computer to another machine that is on the internet

machine 1 < —- > openwrt 21.02.0-rc1 ←— internet —→ machine 2

Run this command on machine 1: watch ‘sleep 3000;date’

After some time has passed (wait about 30 minutes, maybe a little less):
1) the ssh tunnel will exit when you press enter in the terminal.
2) The error message will be: “client_loop: send disconnect: Broken pipe”

 


29.04.20213764Base systemBug ReportVery LowHighGL-INET 6416 no USB with 21.02.0-rc1openwrt-21.02Unconfirmed Task Description

Unfortunately, USB no longer works with GL-INET 6416 V 21.02.0-rc1.
lsusb delivers: unable to initialize libusb: -99

Image generated with:
make image PROFILE=glinet_6416 PACKAGES=”luci luci-proto-relay kmod-input-polldev kmod-usb-storage kmod-fs-ext4 kmod-usb-hid block-mount e2fsprogs fdisk swap-utils tar luci-theme-material kmod-fs-cifs kmod-nls-base usbutils”

Same configuration works with V 19.07.xx


29.04.20213765KernelBug ReportVery LowHighRT5592 initializes but does not function when enabledopenwrt-21.02Unconfirmed Task Description

this issue is also present on master branch

board is EPG600 (not added yet)
this probably also affects ESR600 which is the same hardware
and other boards with RT5592

5 GHz wireless initializes and SSID can be seen on scan
however, clients cannot connect and traffic fails

init:

...
...
[   12.654377] rt2800pci 0000:01:00.0: card - bus=0x1, slot = 0x0 irq=4
[   12.668538] rt2800pci 0000:01:00.0: loaded eeprom from mtd device "factory"
[   12.675676] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5592, rev 0222 detected
[   12.683626] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 000f detected
[   12.711360] urngd: jent-rng init failed, err: 2
[   12.737471] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "rf"
[   12.744489] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[   12.752435] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 7620 detected
...
...

iw list (phy0):

Wiphy phy0
        wiphy index: 0
        max # scan SSIDs: 4
        max scan IEs length: 2261 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        Retry short long limit: 2
        Coverage class: 0 (up to 0m)
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
                 * mesh point
        Band 2:
                Capabilities: 0x2fe
                        HT20/HT40
                        SM Power Save disabled
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 2-streams
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 2 usec (0x04)
                HT TX/RX MCS rate indexes supported: 0-15, 32
                Frequencies:
                        * 5180 MHz [36] (20.0 dBm)
                        * 5190 MHz [38] (20.0 dBm)
                        * 5200 MHz [40] (20.0 dBm)
                        * 5210 MHz [42] (20.0 dBm)
                        * 5220 MHz [44] (20.0 dBm)
                        * 5230 MHz [46] (20.0 dBm)
                        * 5240 MHz [48] (20.0 dBm)
                        * 5250 MHz [50] (20.0 dBm) (no IR, radar detection)
                        * 5260 MHz [52] (20.0 dBm) (no IR, radar detection)
                        * 5270 MHz [54] (20.0 dBm) (no IR, radar detection)
                        * 5280 MHz [56] (20.0 dBm) (no IR, radar detection)
                        * 5290 MHz [58] (20.0 dBm) (no IR, radar detection)
                        * 5300 MHz [60] (20.0 dBm) (no IR, radar detection)
                        * 5310 MHz [62] (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)
                        * 5510 MHz [102] (20.0 dBm) (no IR, radar detection)
                        * 5520 MHz [104] (20.0 dBm) (no IR, radar detection)
                        * 5530 MHz [106] (20.0 dBm) (no IR, radar detection)
                        * 5540 MHz [108] (20.0 dBm) (no IR, radar detection)
                        * 5550 MHz [110] (20.0 dBm) (no IR, radar detection)
                        * 5560 MHz [112] (20.0 dBm) (no IR, radar detection)
                        * 5570 MHz [114] (20.0 dBm) (no IR, radar detection)
                        * 5580 MHz [116] (20.0 dBm) (no IR, radar detection)
                        * 5590 MHz [118] (20.0 dBm) (no IR, radar detection)
                        * 5600 MHz [120] (20.0 dBm) (no IR, radar detection)
                        * 5610 MHz [122] (20.0 dBm) (no IR, radar detection)
                        * 5620 MHz [124] (20.0 dBm) (no IR, radar detection)
                        * 5630 MHz [126] (20.0 dBm) (no IR, radar detection)
                        * 5640 MHz [128] (20.0 dBm) (no IR, radar detection)
                        * 5650 MHz [130] (20.0 dBm) (no IR, radar detection)
                        * 5660 MHz [132] (20.0 dBm) (no IR, radar detection)
                        * 5670 MHz [134] (20.0 dBm) (no IR, radar detection)
                        * 5680 MHz [136] (20.0 dBm) (no IR, radar detection)
                        * 5690 MHz [138] (20.0 dBm) (no IR, radar detection)
                        * 5700 MHz [140] (20.0 dBm) (no IR, radar detection)
                        * 5745 MHz [149] (20.0 dBm) (no IR)
                        * 5755 MHz [151] (20.0 dBm) (no IR)
                        * 5765 MHz [153] (20.0 dBm) (no IR)
                        * 5775 MHz [155] (20.0 dBm) (no IR)
                        * 5785 MHz [157] (20.0 dBm) (no IR)
                        * 5795 MHz [159] (20.0 dBm) (no IR)
                        * 5805 MHz [161] (20.0 dBm) (no IR)
                        * 5825 MHz [165] (20.0 dBm) (no IR)
                        * 4920 MHz [184] (disabled)
                        * 4940 MHz [188] (disabled)
                        * 4960 MHz [192] (disabled)
                        * 4980 MHz [196] (disabled)
        valid interface combinations:
                 * #{ managed, AP, mesh point } <= 8,
                   total <= 8, #channels <= 1
        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
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Supported extended features:
                * [ RRM ]: RRM
                * [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
                * [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
                * [ SCAN_RANDOM_SN ]: use random sequence numbers in scans
                * [ SCAN_MIN_PREQ_CONTENT ]: use probe request with only rate IEs in scans
                * [ CONTROL_PORT_NO_PREAUTH ]: disable pre-auth over nl80211 control port support
                * [ DEL_IBSS_STA ]: deletion of IBSS station support
                * [ SCAN_FREQ_KHZ ]: scan on kHz frequency support
                * [ CONTROL_PORT_OVER_NL80211_TX_STATUS ]: tx status for nl80211 control port support

errors:

[  248.431432] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'
[  248.452925] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.40
[  248.515819] br-lan: port 2(wlan0) entered blocking state
[  248.521308] br-lan: port 2(wlan0) entered disabled state
[  248.526882] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0024, type=4
[  248.540458] device wlan0 entered promiscuous mode
[  248.545362] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0072, type=4
[  248.563127] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0024, type=4
[  248.580316] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  248.587159] br-lan: port 2(wlan0) entered blocking state
[  248.592642] br-lan: port 2(wlan0) entered forwarding state
[  248.603260] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0055, type=4
[  248.623801] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0024, type=4
[  248.644220] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0072, type=4
[  248.664762] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0024, type=4
[  248.705661] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0055, type=4
[  248.726199] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0024, type=4
[  248.746620] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0072, type=4
[  249.076237] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 4003 max 3840
[  249.893479] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[  250.648599] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[  250.661836] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 4095 max 3840
[  250.681991] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[  251.065181] rt2x00lib_rxdone_read_signal: 94 callbacks suppressed
[  251.065206] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0016, type=4
[  251.084627] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0000, type=4
[  251.097831] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0001, signal=0x0120, type=4
[  251.131983] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 4095 max 3840
[  251.151566] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[  251.199122] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0072, type=4
[  251.349860] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0077, type=4
[  251.522683] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 3904 max 3840
[  251.549260] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[  251.561657] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 4095 max 3840
[  251.581250] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[  251.783651] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[  251.795947] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0001, signal=0x0120, type=4
[  251.833765] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 4095 max 3840
[  251.846411] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0000, type=4
[  251.862441] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[  251.960289] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0022, type=4
[  251.973491] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0000, type=4
[  252.013308] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 4095 max 3840
[  252.032827] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[  252.080332] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0072, type=4
[  252.393129] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 3904 max 3840
[  252.977643] rt2x00lib_rxdone_read_signal: 5 callbacks suppressed
[  252.977668] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0077, type=4
[  253.367744] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0040, type=4
[  253.383966] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0001, type=4
[  253.399972] rt2x00lib_rxdone: 17 callbacks suppressed
[  253.399994] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[  253.423120] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 4095 max 3840
[  253.435617] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0000, type=4
[  253.451641] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[  253.478082] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[  253.490376] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0001, signal=0x0120, type=4
[  253.527646] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 4095 max 3840
[  253.540122] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0027, type=4
[  253.556142] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[  253.582589] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 4095 max 3840
[  253.602113] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[  253.651031] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0072, type=4
[  253.688334] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 4074 max 3840
[  253.700828] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0000, type=4
[  253.716857] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[  253.785936] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0077, type=4
[  253.851589] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0001, signal=0x0120, type=4
[  254.864343] rt2x00lib_rxdone_read_signal: 27 callbacks suppressed
[  254.864369] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0072, type=4
[  254.913025] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0002, signal=0x006b, type=4
[  254.929122] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0010, type=4
[  255.079618] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0024, type=4
[  255.102729] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0000, type=4
[  255.132881] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0010, type=4
[  255.220453] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0002, signal=0x0078, type=4
[  255.236459] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0001, signal=0x0120, type=4
[  255.252539] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0002, signal=0x0078, type=4
[  255.268678] ieee80211 phy0: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0000, signal=0x0077, type=4
[  255.362987] rt2x00lib_rxdone: 75 callbacks suppressed
[  255.363009] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 4095 max 3840
[  255.386251] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[  255.412947] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 4095 max 3840
[  255.432490] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[  255.508218] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 4074 max 3840
[  255.520688] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[  255.540132] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 3890 max 3840
[  255.580842] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[  255.588533] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 4095 max 3840
[  255.605518] ieee80211 phy0: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
[  256.759235] rt2x00lib_rxdone_read_signal: 87 callbacks suppressed
...
...
...

29.04.20213769Base systemBug ReportVery LowHighDuplicate LAN MAC address on RB750Gr3openwrt-21.02Unconfirmed Task Description

Device: RB750Gr3
OpenWrt: 21.02.0-rc1 and 21.02-SNAPSHOT r16053-f066ee2ad5 (clean flash)

The kernel log has several lines of the following

br-lan: received packet on lan2 with own address as source address (addr:08:55:31:2e:c0:34, vlan:0)

/etc/config/network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option packet_steering '1'
        option ula_prefix 'fd60:2450:7cfe::/48'

config interface 'lan'
        option type 'bridge'
        option ifname 'lan2 lan3 lan4 lan5'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config device 'lan_lan2_dev'
        option name 'lan2'
        option macaddr '08:55:31:2e:c0:34'

config device 'lan_lan3_dev'
        option name 'lan3'
        option macaddr '08:55:31:2e:c0:34'

config device 'lan_lan4_dev'
        option name 'lan4'
        option macaddr '08:55:31:2e:c0:34'

config device 'lan_lan5_dev'
        option name 'lan5'
        option macaddr '08:55:31:2e:c0:34'
                                          
config interface 'wan'
        option ifname 'wan'
        option proto 'dhcp'
                                          
config device 'wan_wan_dev'
        option name 'wan'
        option macaddr '08:55:31:2e:c0:33'
                                          
config interface 'wan6'
        option ifname 'wan'
        option proto 'dhcpv6'


Showing tasks 201 - 250 of 1150 Page 5 of 23<<First - 3 - 4 - 5 - 6 - 7 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing