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
27.01.20224243Base systemBuild FailureVery LowCritical[BUILD] Failure due to recent feed system changeTrunkUnconfirmed Task Description

Recently the feed scripts were changed and the “custom” targets aren’t anymore installed on ./target/linux but instead on ./target/linux/feeds.

Due to change the Makefile of that custom target isn’t reachable, and consequently following build error:

“OpenWrt/include/kernel-version.mk:11: *** Missing kernel version/hash file for . "

Meaning the KERNEL_PATCHVER isn’t found!

 


20.01.20224233Base systemBug ReportVery LowCriticalawk from busybox-v1.35.0 doesn't work.TrunkUnconfirmed Task Description

Form data handler ‘<form action=”/examples/awk-scripts.cgi” method=”post“>’ is not executed.
awk problem with busybox-v1.35.0-1.

Reverting awk itself to busybox-v1.33.1 and rebuilding.
And the awk scripting engine works.

The patch is needed in: /openwrt-master/package/utils/busybox/patches/521-revert_awk_busybox-1.33.1.patch

04.12.20214176KernelBug ReportVery LowCriticalCrashing or rebooting early in boot on x86_64openwrt-21.02Unconfirmed Task Description

I hadn’t updated my VM in a while, so sorry for finding this so late.

I have a VM on Hyper-V Server 2019 that had been running OpenWrt 21.02 RC3 on x86_64 with EFI and using squashfs as the rootfs type in a generation 2 (EFI-supporting) Hyper-V VM, and recently I tried updating to a build of 21.02.1. Very early in boot (after Grub, while OpenWrt is booting) it just reboots, and keeps doing this repeatedly. I tried to watch for any error message flashing on the screen just before the reboot, but I couldn’t spot anything, and also the failsafe option from the boot menu doesn’t help.

I’ve tested this with a fresh clean install without my configs on a new virtual hard drive, and the problem still occurs. Other than my own build of 21.02.1, I’ve found it happens on the official builds, too. I checkpointed the VM and started testing official builds, finding that it started with 21.02 release (RC4 was fine) and it continues through to 21.02.1 and also a snapshot build from master that I tried.

I skimmed through the few commits between RC4 and 21.02 release and found this commit affecting x86_64:

https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=750b966866b098a2e9a8693d313111ed1e892ab6

After reverting the change in my local tree, rebuilding 21.02.1, and installing the image on my VM, it boots successfully with no problems.

29.11.20214164Base systemBug ReportVery LowCriticalASUS RT-N56U reboots unexpectedly on OpenWrt 21.02.1openwrt-21.02Unconfirmed Task Description

Device the problem occurs on: Asus RT-N56U.

Software versions of OpenWrt/LEDE release, packages, etc.: the latest version of OpenWrt to date, 21.02.1. The previous one, OpenWrt 21.02, suffers from this problem as well. All packages are on their default versions for this releases, nothing has been updated.

Steps to reproduce:
1. Install OpenWrt 21.02.1 on Asus RT-N56U (version A1).
2. Either load the router with some heavy task or wait a day or so. In my case the router reboots when I’m trying to download a big file (e.g game or film) on the speed of 200 Mbits (which is the speed of my internet connection). Or it reboots randomly after somewhere like 24 hours of uptime. The best uptime I’ve got on this version of firmware was around 48 hours, so only 2 days.

Unfortunately, I’m not able to provide logs, as they are erased every time the router reboots, which happens exactly after the problem occurs. However, I might try to set up persistent logging, if it’s necessary.

Workaround: use OpenWrt 19.07, the oldstable version. The latest version at the moment is 19.07.8. I moved here from 21.02 and everything works fine so far. I had also used it for 1.5 years before 21.02 released, and had a very solid uptime then. Even if it has ever crashed, it was such a rare occurence I don’t remember it at all.

27.11.20214158KernelBug ReportVery LowCriticalMaster regression - boot loop due to kernel panic (mt76...TrunkUnconfirmed Task Description

I just did a build yesterday for the Archer C6 v3.2 from master, and now it is not booting anymore due to a boot loop issue (kernel panic).

Running OpenWRT SNAPSHOT custom build from master (r18195-d1c7df9c4b)

To reproduce, just install the build and reboot the device.

Attaching a UART I can see the kernel panic error below:

(...)
[    0.797651] CPU 1 Unable to handle kernel paging request at virtual address 5050404, epc == 80588ef8, ra == 801fe360
[    0.808162] Oops[#1]:
[    0.810387] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.4.159 #0
[    0.816345] $ 0   : 00000000 00000001 8fc304a4 00000108
[    0.821525] $ 4   : 05050404 80621000 8064d18f 00000061
[    0.826712] $ 8   : fffffffc 80594b3c 00000045 006d6873
[    0.831893] $12   : 015ede76 08fca8f3 9715a5ed 5c2e1039
[    0.837079] $16   : 8ff9cc00 8fc2523c 05050404 8064d184
[    0.842261] $20   : 0000000b 8fc06e00 8ff9cc8c 806ebd24
[    0.847448] $24   : 00000010 76ec2f43
[    0.852629] $28   : 8fc40000 8fc41d50 38e38e39 801fe360
[    0.857816] Hi    : 00000000
[    0.860665] Lo    : 006c0400
[    0.863546] epc   : 80588ef8 strlen+0x0/0x2c
[    0.867771] ra    : 801fe360 insert_header+0x140/0x4f8
[    0.872847] Status: 11007c03 KERNEL EXL IE
[    0.876997] Cause : 40800008 (ExcCode 02)
[    0.880969] BadVA : 05050404
[    0.883821] PrId  : 0001992f (MIPS 1004Kc)
[    0.887882] Modules linked in:
[    0.890910] Process swapper/0 (pid: 1, threadinfo=(ptrval), task=(ptrval), ts=00000000)
[    0.898940] Stack : 08fca8f3 00000000 2ab4a599 00000dc0 00000000 8fc06e30 8f06e00 801fc880
[    0.907235]         80862190 00000000 00000000 8fe57007 00000000 8ff9cc00 8f06e00 80860000
[    0.915528]         8fc06e00 00000001 00000000 801feaec 806f0000 80830000 8024aec 00000000
[    0.923822]         8064d008 8fd64a00 806eb18c 8fc06e00 8063ab2c 8063ab50 0000001 8fc06e00
[    0.932118]         8fe57007 806ebc4c 8fe57000 806ebc04 00000001 806eb18c 8030000 80830000
[    0.940412]         ...
[    0.942832] Call Trace:
[    0.945261] [<80588ef8>] strlen+0x0/0x2c
[    0.949146] [<801fe360>] insert_header+0x140/0x4f8
[    0.953897] [<801feaec>] __register_sysctl_table+0x30c/0x630
[    0.959516] [<801ff154>] __register_sysctl_paths+0xf4/0x1e8
[    0.965067] [<8070de10>] ipc_sysctl_init+0x14/0x24
[    0.969793] [<800015c8>] do_one_initcall+0x50/0x1a8
[    0.974641] [<806fbeec>] kernel_init_freeable+0x1ec/0x2d0
[    0.979997] [<80594e78>] kernel_init+0x10/0xf8
[    0.984398] [<80006478>] ret_from_kernel_thread+0x14/0x1c
[    0.989755] Code: a066ffff  1000fff7  00000000 <80820000> 10400007  00000000 00801025  80430001  1460fffe
[    0.999424]
[    1.000995] ---[ end trace d1818afedd9795ac ]---
```

Reverting to a build I did a couple of weeks ago (also from master) solves the problem.

I believe I have already identified the root cause.

It seems that the amount of RAM memory sometimes is not correctly identified. When the boot fails, the boot loader seems to be identifying a “HighMem” memory that does not exist in this device:

Wrong HighMem Memory Detected causes Kernel Panic during boot:

(...)
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000]   HighMem  [mem 0x0000000010000000-0x0000000023ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000001bffffff]
[    0.000000]   node   0: [mem 0x0000000020000000-0x0000000023ffffff]
(...)
[    0.000000] Memory: 510004K/524288K available (5739K kernel code, 200K rwdata, 1196K rodata, 1236K init, 226K bss, 14284K reserved, 0K cma-reserved, 262144K highmem)

Per log above the identified amount of RAM memory is 512MB, when in fact this device has only 128MB of RAM. When the above situation happens the boot fails with kernel panic.

After a couple of power cycles, the memory is correctly identified as 128MB (no HighMem) per below and the device boots OK:

Correct Memory Size Detected boots OK:

(...)
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
(...)
[    0.000000] Memory: 120916K/131072K available (5739K kernel code, 200K rwdata, 1196K rodata, 1236K init, 226K bss, 10156K reserved, 0K cma-reserved, 0K highmem)
(...)

Full log is attached.

22.11.20214146KernelBug ReportVery LowCriticale1000e: Detected Hardware Unit Hang, Reset adapter unex...openwrt-21.02Unconfirmed Task Description

System is a Fujitsu Esprimo C5731 with Intel Core2Duo E7500 and 4 GB RAM.

The problem NIC:

00:19.0 Ethernet controller [0200]: Intel Corporation 82567LF-3 Gigabit Network Connection [8086:10df] (rev 02)

Openwrt:
OpenWrt x86_64 21.02.1 r16325-88151b8303

System is configured as a simple router with the e1000e NIC as WAN and a skge NIC [Ethernet controller [0200]: D-Link System Inc Gigabit Ethernet Adapter [1186:4c00] (rev 11)] as LAN.
When doing a speedtest through the router (bredbandskollen.se) the hang occurs during the upload test (when the e1000e NIC sends data and the skge NIC receives data). The download test does not cause the error.

Similar (identical?) problems were reported previously:
https://serverfault.com/questions/616485/e1000e-reset-adapter-unexpectedly-detected-hardware-unit-hang https://serverfault.com/questions/193114/linux-e1000e-intel-networking-driver-problems-galore-where-do-i-start https://web.archive.org/web/20160205153351/http://ehc.ac:80/p/e1000/bugs/378/

Turning TSO off is a workaround.

ethtool -K eth0 tso off

but pcie_aspm=off does not help.

[49573.954931] e1000e 0000:00:19.0 eth0: Detected Hardware Unit Hang:
[49573.954931]   TDH                  <2>
[49573.954931]   TDT                  <1a>
[49573.954931]   next_to_use          <1a>
[49573.954931]   next_to_clean        <ff>
[49573.954931] buffer_info[next_to_clean]:
[49573.954931]   time_stamp           <100bbf478>
[49573.954931]   next_to_watch        <2>
[49573.954931]   jiffies              <100bbf6f8>
[49573.954931]   next_to_watch.status <0>
[49573.954931] MAC Status             <80083>
[49573.954931] PHY Status             <796d>
[49573.954931] PHY 1000BASE-T Status  <3800>
[49573.954931] PHY Extended Status    <3000>
[49573.954931] PCI Status             <10>
[49575.970909] e1000e 0000:00:19.0 eth0: Detected Hardware Unit Hang:
[49575.970909]   TDH                  <2>
[49575.970909]   TDT                  <1a>
[49575.970909]   next_to_use          <1a>
[49575.970909]   next_to_clean        <ff>
[49575.970909] buffer_info[next_to_clean]:
[49575.970909]   time_stamp           <100bbf478>
[49575.970909]   next_to_watch        <2>
[49575.970909]   jiffies              <100bbf8f0>
[49575.970909]   next_to_watch.status <0>
[49575.970909] MAC Status             <80083>
[49575.970909] PHY Status             <796d>
[49575.970909] PHY 1000BASE-T Status  <3800>
[49575.970909] PHY Extended Status    <3000>
[49575.970909] PCI Status             <10>
[49577.954909] e1000e 0000:00:19.0 eth0: Detected Hardware Unit Hang:
[49577.954909]   TDH                  <2>
[49577.954909]   TDT                  <1a>
[49577.954909]   next_to_use          <1a>
[49577.954909]   next_to_clean        <ff>
[49577.954909] buffer_info[next_to_clean]:
[49577.954909]   time_stamp           <100bbf478>
[49577.954909]   next_to_watch        <2>
[49577.954909]   jiffies              <100bbfae0>
[49577.954909]   next_to_watch.status <0>
[49577.954909] MAC Status             <80083>
[49577.954909] PHY Status             <796d>
[49577.954909] PHY 1000BASE-T Status  <3800>
[49577.954909] PHY Extended Status    <3000>
[49577.954909] PCI Status             <10>
[49578.082559] e1000e 0000:00:19.0 eth0: Reset adapter unexpectedly
[49578.254005] e1000e: eth0 NIC Link is Down
[49581.083429] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
18.10.20214090Base systemBug ReportVery LowCriticalNo configuration from ISP on Asus RT-AC85Popenwrt-21.02Unconfirmed Task Description

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

 After installing latest released OpenWrt 21.02 to AC85P I found it is not able to get network configuration from ISP - WAN interface has no IP etc. 

Some additional info:

  • My old TL-WR1043ND with OpenWrt 19.07 works good with my ISP.
  • My desktop machine and all my several laptops works good with my ISP (connecting to is directly by cable).
  • RT-AC85P with stock firmware works good with my ISP; it is getting network config from ISP.

I made a call to my ISP support informing them my router not able to get network config on what they answered “my router doesn’t sends its MAC address”.

An appropriate forum thread: https://forum.openwrt.org/t/no-configuration-from-isp-on-asus-rt-ac85p/108056/12

16.10.20214088ToolchainBug ReportVery LowCriticalmake clean required for changes in $BUILDROOT/files/ to...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

 

It isn’t and shouldn’t need to be documented as it should automatically update files in files/ when make is ran.

I assume this is a hearing thing and some crazy people who don’t think expect `make clean` or something?

I don’t know why, but this shouldn’t be this way.

09.08.20213971Base systemBug ReportVery LowCriticalZyxel nbg-419v2 bootloopopenwrt-21.02Unconfirmed Task Description

after upgrading my zyxel nbg-419v2 to 2021.02RC4 i noticed a bootloop

when connecting the serial cable it turned out to be a kernel unpacking issue:

raspi_read: from:50000 len:40 
.   Image Name:   MIPS OpenWrt Linux-5.4.137
   Created:      2021-07-31  17:21:01 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1496161 Bytes =  1.4 MB
   Load Address: 80000000
   Entry Point:  80000000
raspi_read: from:50040 len:16d461 
.......................   Verifying Checksum ... OK
   Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover


U-Boot 1.1.3 (Jun  9 2012 - 07:23:11)

Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fac000
******************************
Software System Reset Occurred
******************************
spi_wait_nsec: 3c 
spi device id: c2 20 17 c2 20 (2017c220)
find flash: MX25L6405D

once i managed flashing 19.07.08 via tftp it works again as expected.

unfortunately the wiki was more misleading than helping, especally the magic number is wrong, it seems the right one is already in the normal images, so changing makes things worse.

06.08.20213967Base systemBug ReportVery LowCriticalsnapshot / gswip 1e108000.switch: dsa switch register f...TrunkUnconfirmed Task Description

ethernet switch (Intel XWAY PHY11G) will not come up
- Device problem occurs on: TP Link Archer VR200v (xRX200 rev 1.2)
- openwrt version: yesterday’s Snapshot r17264-774b386a92
- reproduce: (1) flash firmware via the webservice, (2) wait

 
30.07.20213957Base systemBug ReportVery LowCriticalWAN port broken on WNDR3800openwrt-21.02Unconfirmed Task Description

Supply the following if possible:
- Netgear WNDR3800-1CHNAS
- OpenWrt 21.02-SNAPSHOT r16247-60fad8f82b
- Steps to reproduce:

  • Flash from stock to OpenWRT 19.07.x ATH79
  • Flash from 19.07.x to OpenWRT 21.02-SNAPSHOT
  • Reset to factory in GUI
  • WAN never comes up, it never leaves “UP BROADCAST MULTICAST” according to ifconfig.
  • WAN port is always flapping, nothing is logged on kernel/system logs.

The hardware was checked before flashing, in OEM firmware WAN is working.

As shown below one of the ports has a blank uid value (full zeros).

(Attached is a full copy of kernel log.

[ 1.192635] ag71xx 19000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[ 1.202218] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
[ 1.524463] ag71xx 1a000000.eth: connected to PHY at rtl8366s:04 [uid=001cc960, driver=Generic PHY]
[ 1.534115] eth1: Atheros AG71xx at 0xba000000, irq 5, mode: rgmii

26.07.20213951Base systemBug ReportVery LowCriticalAP inaccessible after https://github.com/openwrt/openwr...openwrt-21.02Unconfirmed Task Description

Supply the following if possible:
- mir3g and mi4a gigabit edition mt7621 devices.. a dlink dir 882 remained accessible but all other ports seem down..
- openwrt https://github.com/openwrt/openwrt/commit/089efd61e9a6cdc0ea39c184d37bc8ebbe03175c - flash latest master or latest 21.02 makes device unreachable had to hard flash stock again and flash older openwrt

 


25.07.20213948KernelBug ReportVery LowCriticalath10k not working on clearfog pro with openwrt-21.02openwrt-21.02Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
SolidRun Clearfog Pro A1

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

- Steps to reproduce
boot it with a compex wle600 or wle900 pcie wifi card and it will report something like:

[  683.019493] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[  683.265291] ath10k_pci 0000:02:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[  683.274540] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[  683.284178] ath10k_pci 0000:02:00.0: firmware ver 10.2.4-1.0-00047 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 35bd9258
[  683.342118] ath10k_pci 0000:02:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[  685.564553] ath10k_pci 0000:02:00.0: failed to receive control response completion, polling..
[  686.604459] ath10k_pci 0000:02:00.0: Service connect timeout
[  686.610136] ath10k_pci 0000:02:00.0: failed to connect htt (-110)
[  686.725295] ath10k_pci 0000:02:00.0: could not init core (-110)
[  686.731257] ath10k_pci 0000:02:00.0: could not probe fw (-110)

I configured the kernel with CONFIG_PACKAGE_ath10k-board-qca988x=y and CONFIG_PACKAGE_ath10k-firmware-qca988x=y

In openwrt 19.x i get:

 OpenWrt 19.07.7, r11306-c4a6851c72
 -----------------------------------------------------
root@OpenWrt:~# dmesg | grep ath
[   11.207948] ath10k_pci 0000:02:00.0: enabling device (0140 -> 0142)
[   11.214444] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   11.454635] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2
[   11.465380] ath10k_pci 0000:02:00.0: Falling back to user helper
[   11.507440] firmware ath10k!pre-cal-pci-0000:02:00.0.bin: firmware_loading_store: map pages failed
[   11.516611] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2
[   11.527009] ath10k_pci 0000:02:00.0: Falling back to user helper
[   11.537130] firmware ath10k!cal-pci-0000:02:00.0.bin: firmware_loading_store: map pages failed
[   11.545913] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[   11.556650] ath10k_pci 0000:02:00.0: Falling back to user helper
[   11.566721] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[   11.623287] ath10k_pci 0000:02:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 0000:0000
[   11.632549] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   11.642078] ath10k_pci 0000:02:00.0: firmware ver 10.2.4-1.0-00047 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 35bd9258
[   11.686880] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[   11.697349] ath10k_pci 0000:02:00.0: Falling back to user helper
[   11.707724] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[   11.720044] ath10k_pci 0000:02:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   12.859296] ath10k_pci 0000:02:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[   12.992322] ath: EEPROM regdomain: 0x0
[   12.992325] ath: EEPROM indicates default country code should be used
[   12.992327] ath: doing EEPROM country->regdmn map search
[   12.992330] ath: country maps to regdmn code: 0x3a
[   12.992333] ath: Country alpha2 being used: US
[   12.992334] ath: Regpair used: 0x3a
[   14.794232] ath: EEPROM regdomain: 0x82f4
[   14.804051] ath: EEPROM indicates we should expect a country code
[   14.810159] ath: doing EEPROM country->regdmn map search
[   14.815521] ath: country maps to regdmn code: 0x37
[   14.820326] ath: Country alpha2 being used: CH
[   14.824790] ath: Regpair used: 0x37
[   14.828285] ath: regdomain 0x82f4 dynamically updated by user
[   17.571688] ath10k_pci 0000:02:00.0: pdev param 0 not supported by firmware

I tried it also with the -ht firmware in v21_02 but still no luck.
Here https://githubmemory.com/repo/greearb/ath10k-ct/issues/148 someone mentioned that this might be a problem with SolidRun’s PCIe implementation (if i understood that correctly).

24.07.20213947KernelBug ReportVery LowCriticalWifi STA that loses AP signal takes down the whole rout...openwrt-21.02Unconfirmed Task Description

Initially reported on forum: https://forum.openwrt.org/t/wifi-client-disconnecting-takes-the-whole-wifi-ap-down-on-21-02-snapshot-how-to-debug/102094/8

Device: Asus RT-N56U
Branch: openwrt-21.02, initial report commit 60fad8f (v21.02.0-rc3-74-g60fad8f82b)

Observation: when a wifi client disconnects that appears to see the AP with low signal strength, the whole AP goes down. Verified with airmon/tcpdump that AP beacons stop. Reboot of the router also observed when log_level set to 2 or lower.

Bisecting, commit https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=a078037ace50 (v21.02.0-rc3-35-ga078037ace) seems to be the issue:

    mac80211: improve rate control performance

    Call rate control handler after intermediate queueuing
    Includes follow-up fixes

Test case:

1. Connect to AP
2. Move far away or shield mobile so the AP signal drops significantly as seen by mobile
3. Viewing the wifi networks of the mobile (android), if when signal drops below some threshold:
4.1 AP disappears from list: FAIL [the router also reboots]
4.2 AP moves from “Connected” to “Saved”: PASS

I did not have these issues at all in May 2021 using the dev snapshot. I updated to the July 2021 dev snapshot, observed the issue, then built openwrt-21.02 and still observed the issue.

21.07.20213946PackagesBug ReportVery LowCritical lldpd needs update to fix CVE-2020-27827openwrt-19.07Unconfirmed Task Description

the current verion 1.0.3 on 19.07 needs a update to fix CVE-2020-27827

read https://github.com/lldpd/lldpd/releases

20.07.20213941KernelBug ReportVery LowCriticalBanana Pi M2 Ultra follow in endless rebooting with lat...TrunkUnconfirmed Task Description

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

 

Device: Banana Pi M2 Ultra
OpenWrt: Snapshot image from https://downloads.openwrt.org/snapshots/targets/sunxi/cortexa7/ Steps:

1. uncompressed downloaded file
2. dd to TF card
3. Put this TF card into board’s TF slot
4. Using usb-serial converter connects to its debug uart pins
5. Power on M2U board
6. Watch the boot log

  [    1.376746] libphy: stmmac: probed
  [    1.389128] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
  [    1.394664] mmc0: host does not support reading read-only switch, assuming write-enable
  [    1.402844] mmc0: new SDHC card at address 0001
  [    1.408341] mmcblk0: mmc0:0001 SD8GB 7.28 GiB 
  [    1.414442] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
  [    1.419981]  mmcblk0: p1 p2
  [    1.426302] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
  [   
  U-Boot SPL 2020.04 (Jul 20 2021 - 03:16:48 +0000)
  DRAM: 2048 MiB
  Trying to boot from MMC1
19.07.20213938Base systemBug ReportVery LowCriticalAkitio MyCloud Mini hangs during boot of akitio_mycloud...openwrt-21.02Unconfirmed Task Description

Supply the following if possible:

 

The akitio_mycloud-initramfs-uImage from 21.02.0-rc3 hangs when booting on Akitio MyCloud Mini. This was also reported as an issue in the forums with 19.07 release.

Stage-1 Bootloader 五 10月 28 10:36:29 CST 2011
Attempting to set PLLA to 750MHz ...
  plla_ctrl0 : 0x0000000A
  plla_ctrl1 : 0x000F0000
  plla_ctrl2 : 0x001D01A0
  plla_ctrl3 : 0x00000017
PLLA Set

Setup memory, testing, Image 0
  Hdr len: 0x0001AC3C
  Hdr CRC: 0xB931AD17
 OK


U-Boot 1.1.2 (Oct 28 2011 - 10:44:29)

U-Boot code: 60D00000 -> 60D1AC3C  BSS: -> 60D1F2F4
RAM Configuration:
        Bank #0: 60000000 256 MB
SRAM Configuration:
        64KB at 0x50000000
NAND:256 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Setting Linux mem= boot arg value
Reading upgrade flag from NAND address 0x01ec0000 : 0
Hit any key to stop autoboot:  0 
$ tftp 64000000 uImage.mycloud
Wait GMAC to reset
Wait for PHY reset
PHY is Realtek RTL8211D
Wait for link to come up................Link up
Wait for auto-negotiation to complete
Link is 1000M
TFTP from server 192.168.50.59; our IP address is 192.168.50.100
Filename 'uImage.mycloud'.
Load address: 0x64000000
Loading: 
ARP Resend request
T invalid RARP header
################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##########################
done
Bytes transferred = 7120489 (6ca669 hex)
$ bootm 64000000
## Booting image at 64000000 ...
   Image Name:   ARM OpenWrt Linux-5.4.124
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    7120425 Bytes =  6.8 MB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.124 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16172-2aba3e9784)) #0 SMP Sun Jun 13 22:02:19 2021
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Akitio MyCloud
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 64 MiB at 0x64000000
[    0.000000] percpu: Embedded 15 pages/cpu s29772 r8192 d23476 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: earlyprintk console=ttyS0,115200
[    0.000000] Bootloader command line (ignored): root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=256M poweroutage=yes
[    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] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 47188K/131072K available (6144K kernel code, 171K rwdata, 784K rodata, 9216K init, 214K bss, 18348K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=2.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] FPGA IRQ chip 0 "interrupt-controller" @ (ptrval), 32 irqs, parent IRQ: 16
[    0.000000] random: get_random_bytes called from 0xc0800b88 with crng_init=0
[    0.000020] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.000074] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000089] timer_oxnas_rps: Registered clocksource rate 390625Hz
[    0.000112] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500
[    0.000276] GIC: PPI13 is secure or misconfigured
[    0.000330] GIC: PPI13 is secure or misconfigured
[    0.000450] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
[    0.070307] pid_max: default: 32768 minimum: 301
[    0.070661] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.070689] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.072107] CPU: Testing write buffer coherency: ok
[    0.074155] Setting up static identity map for 0x60100000 - 0x6010005c
[    0.074457] rcu: Hierarchical SRCU implementation.
[    0.075202] smp: Bringing up secondary CPUs ...
[    0.076308] GIC: PPI13 is secure or misconfigured
[    0.140692] smp: Brought up 1 node, 2 CPUs
[    0.140728] SMP: Total of 2 processors activated (598.42 BogoMIPS).
[    0.146245] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.146286] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.153093] pinctrl core: initialized pinctrl subsystem
[    0.154055] NET: Registered protocol family 16
[    0.158021] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.160611] cpuidle: using governor menu
[    0.160719] No ATAGs?
[    0.181959] pps_core: LinuxPPS API ver. 1 registered
[    0.181982] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.182041] PTP clock support registered
[    0.182300] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.183626] clocksource: Switched to clocksource oxnas_rps_clocksource_timer
[    0.185013] thermal_sys: Registered thermal governor 'step_wise'
[    0.185392] NET: Registered protocol family 2
[    0.185592] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.187010] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.187092] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.187130] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.187169] TCP: Hash tables configured (established 1024 bind 1024)
[    0.187343] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.187412] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.187837] NET: Registered protocol family 1
[    0.187896] PCI: CLS 0 bytes, default 32
[    0.487014] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.498406] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.499348] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.502737] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.506877] printk: console [ttyS0] disabled
[    0.507051] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    0.967037] printk: console [ttyS0] enabled
[    0.989649] brd: module loaded
[    1.004014] loop: module loaded
[    1.073950] Could not find a valid ONFI parameter page, trying bit-wise majority to recover it
[    1.082611] ONFI parameter recovery failed, aborting
[    1.087621] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    1.093977] nand: Hynix NAND 256MiB 3,3V 8-bit
[    1.098403] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.105996] Scanning device for bad blocks
[    1.161538] Bad eraseblock 618 at 0x000004d40000
[    1.183211] Bad eraseblock 824 at 0x000006700000
[    1.190617] Bad eraseblock 858 at 0x000006b40000
[    1.251353] Bad eraseblock 1536 at 0x00000c000000
[    1.271260] Bad eraseblock 1720 at 0x00000d700000
[    1.295429] Bad eraseblock 1955 at 0x00000f460000
[    1.307783] 2 fixed-partitions partitions found on MTD device 41000000.nand-controller
[    1.315706] Creating 2 MTD partitions on "41000000.nand-controller":
[    1.322055] 0x000000000000-0x0000026c0000 : "boot"
[    1.328936] 0x0000026c0000-0x000010000000 : "ubi"
[    1.337172] libphy: Fixed MDIO Bus: probed
[    1.342082] oxnas-dwmac 40400000.ethernet: IRQ eth_lpi not found
[    1.348318] oxnas-dwmac 40400000.ethernet: PTP uses main clock
[    1.354201] oxnas-dwmac 40400000.ethernet: no reset control found
[    1.424023] oxnas-dwmac 40400000.ethernet: User ID: 0x12, Synopsys ID: 0x35
[    1.430981] oxnas-dwmac 40400000.ethernet:   DWMAC1000
[    1.436070] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported
[    1.443345] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported
[    1.450659] oxnas-dwmac 40400000.ethernet: COE Type 2
[    1.455723] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported
[    1.462563] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported
[    1.468899] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors
[    1.475706] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors
[    1.482291] oxnas-dwmac 40400000.ethernet: Ring mode enabled
[    1.487953] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.495815] oxnas-dwmac 40400000.ethernet: device MAC address 3e:c3:3f:d1:0c:ca
[    1.536033] libphy: stmmac: probed
[    1.539445] RTL8211DN Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211DN Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    1.552128] RTL8211DN Gigabit Ethernet stmmac-0:03: attached PHY driver [RTL8211DN Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:03, irq=POLL)
[    1.567016] ledtrig-cpu: registered to indicate activity on CPUs
[    1.573120] hidraw: raw HID events driver (C) Jiri Kosina
[    1.580288] NET: Registered protocol family 10
[    1.586462] Segment Routing with IPv6
[    1.590225] NET: Registered protocol family 17
[    1.594862] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.607805] 8021q: 802.1Q VLAN Support v1.8

Device hangs at this point.

13.07.20213932Base systemBug ReportVery LowCritical[21.02] Autonegotiation speed fails with my provider's ...openwrt-21.02Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: xiaomi mir3g
- 21.02 rc3
- My provider uses pppoe, cable is 4-wire 100baseT and my router is 1000baseT xiaomi mir3g

 

openwrt 21.02 fails to establish pppoe link because of failing to autonegotiate (Speed: Unknown!, Link detected: no, etc):

# ethtool wan
Settings for wan:
	Supported ports: [ TP MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Supported pause frame use: Symmetric Receive-only
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Advertised pause frame use: Symmetric Receive-only
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Speed: Unknown!
	Duplex: Unknown! (255)
	Port: MII
	PHYAD: 1
	Transceiver: external
	Auto-negotiation: on
	Supports Wake-on: d
	Wake-on: d
	Link detected: no

When I set autonegotiation to off and forced to 100baseT/Full, pppoe worked like a charm.

/usr/sbin/ethtool -s wan speed 100 duplex full autoneg off
# ethtool wan
Settings for wan:
	Supported ports: [ TP MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Supported pause frame use: Symmetric Receive-only
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  100baseT/Full 
	Advertised pause frame use: Symmetric Receive-only
	Advertised auto-negotiation: No
	Advertised FEC modes: Not reported
	Speed: 100Mb/s
	Duplex: Full
	Port: MII
	PHYAD: 1
	Transceiver: external
	Auto-negotiation: off
	Supports Wake-on: d
	Wake-on: d
	Link detected: yes
11.07.20213927Base systemBug ReportVery LowCriticalOpenWrt 21.02.0-rc3 bricks Netgear WNDR3700 v4openwrt-21.02Unconfirmed Task Description

I saw the announcement on the website about the next stable release so like an idiot I went to upgrade the firmware. Router never came back, left it on overnight to see if it would eventually come up. I was upgrading from 19.07.7.

Breaking open the case I see a UART header and some pads for a JTAG but I’m not the guy to debug what broke. I just wanted to give someone else a heads up so they don’t lose their router, too.

The debricking guide is some random notes for people who jump into the hardware, not really organized in any understandable way.

https://openwrt.org/docs/guide-user/troubleshooting/generic.debrick

I like the line “The usual recovery methods have failed, forceing the user to to go to JTAG.” Like, where are the usual recovery methods listed? Not in the debricking guide, they aren’t.

Sorry, it’s just frustrating for a somewhat literate user like me (coming from LEDE, 20-ish years in IT/networking/sysadmin crap) that the debricking guide is useless for me. No “here’s the steps the OS takes to initialize” and “here’s where a safemode kicks in where you can set some TFTP or here’s where you pop into the serial connection via PuTTY” or like a general list of steps in order that you can attempt before working up to “ok solder a JTAG connector, here’s a DIGIKey part number to get you started.”

Tried Failsafe, Factory Reset, and Recovery all with no dice.

10.07.20213925Base systemBug ReportVery LowCriticalwgt634u: jffs2 Filesystem overwrites the bootloader par...openwrt-19.07Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on WGT643u
- Software versions of OpenWrt/LEDE OpenWrt 19.07
Steps to reproduce:
- after fresh install I installed some bigger packages then the system hangs
- a reboot with power off/on not working
- The serial/UART/Terminal of the box shows the bootloader stops because the param partition at the end of the flash was overwritten and the checksum was wrong

It seems the partition size of the jffs2 partition is wrong.

Linux side:
root@OpenWrt:/# cat /proc/partitions
major minor #blocks name

                                                                              
31        0        640 mtdblock0                                              
31        1       7424 mtdblock1                                              
31        2          2 mtdblock2                                              
31        3       1324 mtdblock3                                              
31        4       6097 mtdblock4                                              
31        5       3456 mtdblock5                                              
31        6        128 mtdblock6 -->param partition

root@OpenWrt:/# cat /proc/mtd
dev: size erasesize name
mtd0: 000a0000 00020000 “boot”
mtd1: 00740000 00020000 “firmware”
mtd2: 00000928 00000928 “loader”
mtd3: 0014b2bc 00020000 “linux”
mtd4: 005f4400 00020000 “rootfs”
mtd5: 00360000 00020000 “rootfs_data”
mtd6: 00020000 00020000 “nvram” –>bootloader param partition == 131072 bytes (Bootloader says 8KB...)

root@OpenWrt:/# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
overlayfs:/tmp/root on / type overlay (rw,noatime,lowerdir=/,upperdir=/tmp/root/upper,workdir=/tmp/root/wo)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)

UART/Terminal shows after boot:
[ 127.964107] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0×1985 not found at 0×00000000: 0x0c3b instead
[ 128.053636] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0×1985 not found at 0×00000004: 0x58cd instead
[ 128.063208] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0×1985 not found at 0×00000008: 0x54cc instead
[ 128.193636] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0×1985 not found at 0x0000000c: 0×6859 instead
[ 128.203202] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0×1985 not found at 0×00000010: 0x916a instead
[ 128.283363] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0×1985 not found at 0×00000014: 0x9d93 instead
[ 128.303639] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0×1985 not found at 0×00000018: 0x6b25 instead
[ 128.313209] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0×1985 not found at 0x0000001c: 0x54bb instead
[ 128.413768] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0×1985 not found at 0×00000020: 0xeacc instead
[ 128.423620] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0×1985 not found at 0×00000024: 0x8dc5 instead
[ 128.433144] jffs2: Further such events for this erase block will not be printed
[ 128.829317] jffs2: Empty flash at 0×00010004 ends at 0×00011000
[ 128.884133] jffs2: Empty flash at 0×00011004 ends at 0×00012000
[ 128.891154] jffs2: Empty flash at 0×00012004 ends at 0×00014000
[ 128.999749] jffs2_scan_eraseblock(): End of filesystem marker found at 0×20000
[ 129.133686] jffs2: Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
[ 129.142209] jffs2: empty_blocks 26, bad_blocks 0, c→nr_blocks 27

                                            

root@OpenWrt:/# reboot
root@OpenWrt:/# ^C

See on the UART/Terminal while power on and press CTRL-C long:

                                                                              

CFE version 1.0.34 for BCM95365R (32bit,SP,LE)
Build Date: Tue Feb 24 03:21:41 CST 2004 (root@jackylinux)
Copyright (C) 2000,2001,2002 Broadcom Corporation.

                                                                              

Add MAC client version(DNI).
Initializing Arena.
Initializing Devices.
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller
CPU type 0×29007: 200MHz
Total memory: 0×2000000 bytes (32MB)

                                                                              

Total memory used by CFE: 0x81BB1280 - 0×82000000 (4517248)
Initialized Data: 0x81BB1280 - 0x81BB3E90 (11280)
BSS Area: 0x81BB3E90 - 0x81BB45D0 (1856)
Local Heap: 0x81BB45D0 - 0x81FB45D0 (4194304)
Stack Area: 0x81FB45D0 - 0x81FB65D0 (8192)
Text (code) segment: 0x81FB65E0 - 0x81FFFFB0 (301520)
Boot area (physical): 0x01B70000 - 0x01BB0000
Relocation Factor: I:E23B65E0 - D:01BB0280

                                                                              

configure vlans
*
* VLAN Driver initial
***
Process LAN port(2-5) vlan Architecture...
SUCCESS: trying to create VLAN 0 for switch
SUCCESS: trying to add LAN port

                                                                              

Process WAN port(2-5) vlan Architecture...
SUCCESS: trying to create VLAN 0 for switch
SUCCESS: trying to add WAN port
SUCCESS: enable ports success
configure vlans...done
Automatic startup canceled via Ctrl-C

                           

CFE> show devices
Device Name Description
——————- ———————————————————
uart0 NS16550 UART at 0×18000300
uart1 NS16550 UART at 0×18000400
flash0.boot New CFI flash at 1C000000 offset 00000000 size 384KB
flash0.config New CFI flash at 1C000000 offset 00060000 size 128KB
flash0.os New CFI flash at 1C000000 offset 00080000 size 7672KB
flash0.nvram New CFI flash at 1C000000 offset 007FE000 size 8KB —–>param partition for bootloader

please fix the jffs2 partition size!

22.06.20213894Base systemBug ReportVery LowCriticalkexec -l crashes 5.4 and 5.10 kernel on mips 32bit targ...TrunkUnconfirmed Task Description

kexec is crashing the running kernel “loading” the new kernel. I can not get to the point of running `kexec -e` because the image can never load.

I am testing on a MT7621 device.

I have tried 5.4 kernel from 21.02-RC3 and also 5.10.43 from Head. Both exhibit the same failure.

I build and flash my image, and from the build i take `target-mipsel_24kc_musl/linux-ramips_mt7621/vmlinux.elf` which is the kernel in the image, in its original .elf form.

The image boots fine and has no issues.
scp the vmlinux.elf to /tmp

Execute:

# kexec -l –append=”console=ttyS0,115200 rootfstype=squashfs /tmp/vmlinux.elf

Modified cmdline:console=ttyS0,115200 rootfstype=squashfs 
Unable to find /proc/device-tree/chosen/[linux,]stdout-path, printing from purgatory is disabled
[  761.663355] kexec command line truncated to 256 bytes
[  761.668452] usercopy: Kernel memory overwrite attempt detected to kernel text (offset 81844, size 256)!
[  761.677856] Kernel bug detected[#1]:
[  761.681423] CPU: 2 PID: 1755 Comm: kexec Not tainted 5.10.43 #0
[  761.687317] $ 0   : 00000000 00000001 0000005b 00988000
[  761.692545] $ 4   : 805e4408 8101e378 810238f8 822e1ca8
[  761.697770] $ 8   : 00000001 822e1cc0 00000000 000019c8
[  761.702991] $12   : 74206465 ffffff7f 00000001 656b206f
[  761.708214] $16   : 800153b4 00000100 00000000 800154b4
[  761.713435] $20   : 0041e02c 80010000 00000000 00000000
[  761.718656] $24   : 00000000 80314988                  
[  761.723877] $28   : 822e0000 822e1e50 80650000 801507e8
[  761.729100] Hi    : 00000125
[  761.731964] Lo    : 122f2000
[  761.734845] epc   : 801507e8 usercopy_abort+0x94/0x98
[  761.739886] ra    : 801507e8 usercopy_abort+0x94/0x98
[  761.744913] Status: 1100fc03 KERNEL EXL IE 
[  761.749097] Cause : 50800024 (ExcCode 09)
[  761.753086] PrId  : 0001992f (MIPS 1004Kc)
[  761.757161] Modules linked in: mt7915e mt76 mac80211 cfg80211 hwmon crc_ccitt compat sha256_generic libsha256 seqiv jitterentropy_rng drbg hmac cmac leds_gpio gpio_button_hotplug zram zsmalloc
[  761.774316] Process kexec (pid: 1755, threadinfo=c9ceaefe, task=a03f7798, tls=77ef2ec8)
[  761.782284] Stack : 00000100 80568ddc 805b702c 80568f04 8055f414 8055f414 8055f414 00013fb4
[  761.790642]         00000100 8237ce00 00000100 80150940 822e1eb4 80010000 0041e02c 80069818
[  761.798997]         00000100 8237ce00 38e38e39 00000100 80015388 8237ce00 80010000 80014cb8
[  761.807354]         822e1eb0 00000100 00000006 8054f4ba 8237ce00 00000000 807c8ee0 8237ce20
[  761.815709]         00000000 00000003 00000000 800a4498 00000000 8012a078 00000000 815ba758
[  761.824061]         ...
[  761.826505] Call Trace:
[  761.828944] [<801507e8>] usercopy_abort+0x94/0x98
[  761.833632] [<80150940>] __check_object_size+0x154/0x1c4
[  761.838945] [<80014cb8>] machine_kexec_prepare+0x124/0x2c4
[  761.844430] [<800a4498>] sys_kexec_load+0x258/0x388
[  761.849293] [<800135f8>] syscall_common+0x34/0x58
[  761.853980] 
[  761.855461] Code: afa30010  0c01a5fe  24848e80 <000c000d> 3c02805d  8c4293fc  1c40006c  00000000  27bdffd0 
[  761.865209] 
[  761.866973] ---[ end trace 8145ef41fc12390f ]---
[  761.871748] Kernel panic - not syncing: Fatal exception
[  761.876984] Rebooting in 3 seconds..


20.06.20213893Base systemBug ReportVery LowCriticalConnecting to a WiFi network causes interoperabilityopenwrt-21.02Unconfirmed Task Description

I’m using a WRT3200ACM, one partition is OpenWRT 19.07.7 and works perfectly. The other has been flashed to 21.*(all three candidates and a snapshot tried) and when I connect to my wifi router thru the Network»Wireless»Scan Luci page the whole router becomes unresponsive(Luci and SSH). I manually cleared the configuration by using the button in the back. Then I can SSH and reboot to the first partition (I find that switching it three times doesn’t always work). I’m not sure the logs that’ll you’ll need but send the code and I’ll return the results ASAP.

PS I’ve also tried disabling 802.11w with the same results.

19.06.20213889OtherBug ReportVery LowCriticalLoss of connection every 2 sec on 100Mbps cableAllUnconfirmed Task Description

i have a Xiaomi Mi Router 3G (gigabyte) router, installed openwrt four years ago from source, it had issue - in lan the network would re-connect once 1-2 secs (dont know about WAN). it was impossible to use, i changed to another firmware, not openwrt

time passed, my lan upgraded to gigabyte cables, i compiled openwrt again, the re-connections were no longer an issue! it was ok.

Then i noticed these re-connections appeared suddenly in vmware in bridge mode.

Then more: if i connect to router, i can even use unmanaged switch (mercusys ms108g) clients with 100Mbit cable, then the device starts having these re-connects again. gigabyte clients don’t have this issue.

Then i noticed that ethernet device it can be with 100Mbit network card, but the cable is gigabyte - the issue also disappears. I thought it is a bug in drivers for a long time.

But today I found one firmware at github, a fork, https://github.com/coolsnowwolf/lede compiled it, installed. Connected device with 100Mbit cable, waited 40 mins, disconnects are missing. in vmware they’re also absent.
q
Hope this can be fixed in openwrt
The problem is observed on versions: 18.06 - present (21.02), and nightly.

I’m ready to be a tester, provide any logs, and flashing the router in testing the fix.

03.06.20213844Base systemBug ReportVery LowCriticalUnable to connect to WiFi of D-Link DIR-885LAllUnconfirmed Task Description

am having a problem trying to connect to the WiFi of a D-Link DIR-885L revision A1 with default settings
for the following clients:
Client1: Dell Inspiron 15 5000 running Ubuntu 20.04.2 LTS
Client2: Sony Xperia XZ3 running Android 10

WPA2 → Unable to retrieve DHCP?
WPA3 → Unable to connect
Connecting both clients to Archer C7 1750 v2 running OpenWrt version 19.07.7 works with both WPA2 & WPA3
Connecting to the WiFi of the router itself works with DD-WRT, as well, as the original firmware, so it should not be a hardware issue.

Here is what I have tried:

Both versions 21.02.0-rc1 and 19.07.7
Various combinations of wpad (openssl and wolfssl)
Strage stuff encountered: Ununtu is showing the incorrect security settings...
When using WPA3 with wpad_basic_wolf_ssl it’s saying the network has no security
When using WPA3 with wpad_basic_open_ssl it’s saying the network has WPA2 security
I have attached logs from both the router and the client in the hopes that someone can understand what the issue is.

24.05.20213823Base systemBug ReportVery LowCriticalethernet down after rebootopenwrt-21.02Unconfirmed Task Description

the problemi is with turris omnia and owrt 21.02-rc1 , fresh installation, no additional package
the turris is connected to
wan device
a second wan device (lan4)
a raspberry (lan3)
a switch (lan2)

all work with the 19.07.7
logread https://pastebin.com/XbzQL9aN ip address https://pastebin.com/9hcES8WQ

after upgrading to 21.02.0-rc1 at first reboot , i have in the serial console an error about “partx: /dev/mmcblk0 delete/adding” , i don’t know if it is normal or not
https://pastebin.com/g3CL8j1f

at first boot , here logread https://pastebin.com/V7Tsuvbd
i lost the device on the lan2 , it says “LOWERLAYERDOWN” and no led light on, but the user is connected https://pastebin.com/0033LAnL

if i reboot , here logread https://pastebin.com/8yxyvyL5 , i lost the other lan3 device , no light on https://pastebin.com/BmwRj5B3

no matter if i reboot the device or power it on/off
the front panel led litgh on according to the ip address state (UP/DOWN)

reverting to 19.07.7 , solve the problem

tried 3 time to flash 21.02 , same beahviour

 


22.05.20213821Base systemBug ReportVery LowCriticalRandom link down on RB 750Gr3openwrt-21.02Unconfirmed Task Description

HW: Mikrotik Routerboard 750Gr3
SW: linux version 5.4.119 (cezary@eko.one.pl) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r15819-0011c7ad12)) #0 SMP Fri May 14 21:36:47 2021

I am randomly loosing connection with the router for a few seconds. Here is the system log after the link is reestablished:

Sat May 22 16:32:05 2021 kern.info kernel: [24372.328509] mt7530 mdio-bus:1f lan2: Link is Down
Sat May 22 16:32:05 2021 kern.info kernel: [24372.333341] br-lan: port 1(lan2) entered disabled state
Sat May 22 16:32:05 2021 daemon.notice netifd: Network device 'lan2' link is down
Sat May 22 16:32:06 2021 daemon.notice netifd: bridge 'br-lan' link is down
Sat May 22 16:32:06 2021 daemon.notice netifd: Interface 'lan' has link connectivity loss
Sat May 22 16:32:09 2021 kern.info kernel: [24376.424716] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
Sat May 22 16:32:09 2021 kern.info kernel: [24376.432249] br-lan: port 1(lan2) entered blocking state
Sat May 22 16:32:09 2021 kern.info kernel: [24376.437506] br-lan: port 1(lan2) entered forwarding state
Sat May 22 16:32:09 2021 daemon.notice netifd: Network device 'lan2' link is up
Sat May 22 16:32:09 2021 daemon.notice netifd: bridge 'br-lan' link is up
Sat May 22 16:32:09 2021 daemon.notice netifd: Interface 'lan' has link connectivity
Sat May 22 16:32:10 2021 kern.info kernel: [24377.448578] mt7530 mdio-bus:1f lan2: Link is Down
Sat May 22 16:32:10 2021 kern.info kernel: [24377.453413] br-lan: port 1(lan2) entered disabled state
Sat May 22 16:32:10 2021 daemon.notice netifd: Network device 'lan2' link is down
Sat May 22 16:32:11 2021 daemon.notice netifd: bridge 'br-lan' link is down
Sat May 22 16:32:11 2021 daemon.notice netifd: Interface 'lan' has link connectivity loss
Sat May 22 16:32:13 2021 kern.info kernel: [24380.520779] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
Sat May 22 16:32:13 2021 kern.info kernel: [24380.528342] br-lan: port 1(lan2) entered blocking state
Sat May 22 16:32:13 2021 kern.info kernel: [24380.533562] br-lan: port 1(lan2) entered forwarding state
Sat May 22 16:32:13 2021 daemon.notice netifd: Network device 'lan2' link is up
Sat May 22 16:32:13 2021 daemon.notice netifd: bridge 'br-lan' link is up
Sat May 22 16:32:13 2021 daemon.notice netifd: Interface 'lan' has link connectivity
Sat May 22 16:32:14 2021 kern.info kernel: [24381.544635] mt7530 mdio-bus:1f lan2: Link is Down
Sat May 22 16:32:14 2021 kern.info kernel: [24381.549486] br-lan: port 1(lan2) entered disabled state
Sat May 22 16:32:14 2021 daemon.notice netifd: Network device 'lan2' link is down
Sat May 22 16:32:15 2021 daemon.notice netifd: bridge 'br-lan' link is down
Sat May 22 16:32:15 2021 daemon.notice netifd: Interface 'lan' has link connectivity loss
Sat May 22 16:32:17 2021 kern.info kernel: [24384.616828] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
Sat May 22 16:32:17 2021 kern.info kernel: [24384.624361] br-lan: port 1(lan2) entered blocking state
Sat May 22 16:32:17 2021 kern.info kernel: [24384.629611] br-lan: port 1(lan2) entered forwarding state
Sat May 22 16:32:17 2021 daemon.notice netifd: Network device 'lan2' link is up
Sat May 22 16:32:17 2021 daemon.notice netifd: bridge 'br-lan' link is up
Sat May 22 16:32:17 2021 daemon.notice netifd: Interface 'lan' has link connectivity
Sat May 22 16:32:18 2021 kern.info kernel: [24385.640683] mt7530 mdio-bus:1f lan2: Link is Down
Sat May 22 16:32:18 2021 kern.info kernel: [24385.645511] br-lan: port 1(lan2) entered disabled state
Sat May 22 16:32:18 2021 daemon.notice netifd: Network device 'lan2' link is down
Sat May 22 16:32:19 2021 daemon.notice netifd: bridge 'br-lan' link is down
Sat May 22 16:32:19 2021 daemon.notice netifd: Interface 'lan' has link connectivity loss
Sat May 22 16:32:21 2021 kern.info kernel: [24388.712887] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
Sat May 22 16:32:21 2021 kern.info kernel: [24388.720458] br-lan: port 1(lan2) entered blocking state
Sat May 22 16:32:21 2021 kern.info kernel: [24388.725684] br-lan: port 1(lan2) entered forwarding state
Sat May 22 16:32:21 2021 daemon.notice netifd: Network device 'lan2' link is up
Sat May 22 16:32:21 2021 daemon.notice netifd: bridge 'br-lan' link is up
Sat May 22 16:32:21 2021 daemon.notice netifd: Interface 'lan' has link connectivity
Sat May 22 16:32:22 2021 kern.info kernel: [24389.736743] mt7530 mdio-bus:1f lan2: Link is Down
Sat May 22 16:32:22 2021 kern.info kernel: [24389.741572] br-lan: port 1(lan2) entered disabled state
Sat May 22 16:32:22 2021 daemon.notice netifd: Network device 'lan2' link is down
Sat May 22 16:32:23 2021 daemon.notice netifd: bridge 'br-lan' link is down
Sat May 22 16:32:23 2021 daemon.notice netifd: Interface 'lan' has link connectivity loss
Sat May 22 16:32:25 2021 kern.info kernel: [24392.808941] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
Sat May 22 16:32:25 2021 kern.info kernel: [24392.816473] br-lan: port 1(lan2) entered blocking state
Sat May 22 16:32:25 2021 kern.info kernel: [24392.821720] br-lan: port 1(lan2) entered forwarding state
Sat May 22 16:32:25 2021 daemon.notice netifd: Network device 'lan2' link is up
Sat May 22 16:32:25 2021 daemon.notice netifd: bridge 'br-lan' link is up
Sat May 22 16:32:25 2021 daemon.notice netifd: Interface 'lan' has link connectivity
Sat May 22 16:32:26 2021 kern.info kernel: [24393.832799] mt7530 mdio-bus:1f lan2: Link is Down
Sat May 22 16:32:26 2021 kern.info kernel: [24393.837630] br-lan: port 1(lan2) entered disabled state
Sat May 22 16:32:26 2021 daemon.notice netifd: Network device 'lan2' link is down
Sat May 22 16:32:27 2021 daemon.notice netifd: bridge 'br-lan' link is down
Sat May 22 16:32:27 2021 daemon.notice netifd: Interface 'lan' has link connectivity loss
Sat May 22 16:32:30 2021 kern.info kernel: [24396.904992] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
Sat May 22 16:32:30 2021 kern.info kernel: [24396.912523] br-lan: port 1(lan2) entered blocking state
Sat May 22 16:32:30 2021 kern.info kernel: [24396.917771] br-lan: port 1(lan2) entered forwarding state
Sat May 22 16:32:30 2021 daemon.notice netifd: Network device 'lan2' link is up
Sat May 22 16:32:30 2021 daemon.notice netifd: bridge 'br-lan' link is up
Sat May 22 16:32:30 2021 daemon.notice netifd: Interface 'lan' has link connectivity
Sat May 22 16:32:31 2021 kern.info kernel: [24397.928855] mt7530 mdio-bus:1f lan2: Link is Down
Sat May 22 16:32:31 2021 kern.info kernel: [24397.933692] br-lan: port 1(lan2) entered disabled state
Sat May 22 16:32:31 2021 daemon.notice netifd: Network device 'lan2' link is down
Sat May 22 16:32:32 2021 daemon.notice netifd: bridge 'br-lan' link is down
Sat May 22 16:32:32 2021 daemon.notice netifd: Interface 'lan' has link connectivity loss
Sat May 22 16:32:34 2021 kern.info kernel: [24401.001066] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
Sat May 22 16:32:34 2021 kern.info kernel: [24401.008643] br-lan: port 1(lan2) entered blocking state
Sat May 22 16:32:34 2021 kern.info kernel: [24401.013868] br-lan: port 1(lan2) entered forwarding state
Sat May 22 16:32:34 2021 daemon.notice netifd: Network device 'lan2' link is up
Sat May 22 16:32:34 2021 daemon.notice netifd: bridge 'br-lan' link is up
Sat May 22 16:32:34 2021 daemon.notice netifd: Interface 'lan' has link connectivity
Sat May 22 16:32:35 2021 kern.info kernel: [24402.024917] mt7530 mdio-bus:1f lan2: Link is Down
Sat May 22 16:32:35 2021 kern.info kernel: [24402.029756] br-lan: port 1(lan2) entered disabled state
Sat May 22 16:32:35 2021 daemon.notice netifd: Network device 'lan2' link is down
Sat May 22 16:32:36 2021 daemon.notice netifd: bridge 'br-lan' link is down
Sat May 22 16:32:36 2021 daemon.notice netifd: Interface 'lan' has link connectivity loss
Sat May 22 16:32:41 2021 kern.info kernel: [24408.169236] mt7530 mdio-bus:1f lan2: Link is Up - 100Mbps/Full - flow control rx/tx
Sat May 22 16:32:41 2021 kern.info kernel: [24408.176955] br-lan: port 1(lan2) entered blocking state
Sat May 22 16:32:41 2021 kern.info kernel: [24408.182189] br-lan: port 1(lan2) entered forwarding state
Sat May 22 16:32:41 2021 daemon.notice netifd: Network device 'lan2' link is up
Sat May 22 16:32:41 2021 daemon.notice netifd: bridge 'br-lan' link is up
Sat May 22 16:32:41 2021 daemon.notice netifd: Interface 'lan' has link connectivity


05.05.20213783Base systemBug ReportVery LowCriticalMT7621 WiFi driver crash openwrt-21.02Unconfirmed Task Description

Summary

The WiFi driver crashes on an MT7621 router running OpenWRT21.02rc1 (5 commits further to be exact 6f053e5b).
The router used is an InvizBox Go (WiFi only) i.e. MT7621 + MT7603E (not supported by OpenWRT just yet - I’m working on getting there). I don’t believe the issue is specific to that hardware though.

The crash seems to happen in AP/STA mode when an AP gets added to the configuration and the STA was connected (I’ll add more information if I come across more scenarios). I’m not able to reproduce consistently at the moment.
Once crashed the WiFi stack is not usable anymore until a reboot. Following a reboot, things are back to normal.

The crash stack is as follow:

[  726.587920] ------------[ cut here ]------------
[  726.597570] WARNING: CPU: 0 PID: 1767 at backports-5.10.16-1/net/mac80211/ieee80211_i.h:1468 sta_info_alloc+0x5c4/0x5fc [mac80211]
[  726.621113] Modules linked in: xt_connlimit pppoe ppp_async nf_conncount iptable_nat xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_MASQUERADEr
[  726.621458]  algif_skcipher algif_rng algif_hash algif_aead af_alg sha256_generic libsha256 sha1_generic jitterentropy_rng drbg md5 hmac echainiv des_generic libdes cbc authec
[  726.859235] CPU: 0 PID: 1767 Comm: hostapd Not tainted 5.4.111 #0
[  726.871379] Stack : 8e375fb4 8007ce5c 80660000 80660d78 806c0000 80660d40 8065fe94 8e257a34
[  726.888032]         80800000 8dc34188 806aa6e3 805f993c 00000000 00000001 8e2579d8 72c69b9f
[  726.904659]         00000000 00000000 80830000 00000000 30232031 0000014b 2e352064 31312e34
[  726.921286]         00000000 00000024 00000000 000d1c63 80000000 806c0000 00000000 8e3075b8
[  726.937913]         00000009 8e146480 00000005 00000002 00000000 8034dfbc 00000000 80800000
[  726.954538]         ...
[  726.959397] Call Trace:
[  726.964284] [<8000b64c>] show_stack+0x30/0x100
[  726.973153] [<80542370>] dump_stack+0xa4/0xdc
[  726.981832] [<8002bee0>] __warn+0xc0/0x10c
[  726.989981] [<8002bf88>] warn_slowpath_fmt+0x5c/0xac
[  727.000018] [<8e3075b8>] sta_info_alloc+0x5c4/0x5fc [mac80211]
[  727.011712] [<8e3259b0>] ieee80211_nan_func_match+0x3d88/0x4410 [mac80211]
[  727.025846] ---[ end trace bc705bf94f0c5c24 ]---

Steps to reproduce

The following steps do not necessarily lead to the crash. I expect them to be what leads to it but am still unsure. The stack may show the way to a better reproduction scenario...

On an MT7621 router setup as AP/STA, add a second AP and possibly a third one.
Call /etc/init.d/network reload after each change

Current behaviour

Crash stack is visible in console/dmesg and the STA fails to reconnect (which also leads all APs to become not accessible - expected).

Expected behaviour

No crash

Notes This crash was also observed on builds before the rc1 tag. I don’t know the conditions leading to these crashes.

I had saved one older crash stack (truncated by console unfortunately) as a reference (early 21.02 branch when I started testing in preparation for release):

[ 1939.972549] ------------[ cut here ]------------
[ 1939.982051] WARNING: CPU: 2 PID: 2079 at backports-5.10.16-1/net/mac80211/ieee80211_i.h:1468 sta_info_alloc+0x5c4/0x]
[ 1940.005526] Modules linked in: xt_connlimit pppoe ppp_async nf_conncount iptable_nat xt_state xt_nat xt_helper xt_cor
[ 1940.005842]  algif_skcipher algif_rng algif_hash algif_aead af_alg sha256_generic libsha256 sha1_generic jitterentroc
[ 1940.243641] CPU: 2 PID: 2079 Comm: hostapd Not tainted 5.4.111 #0
[ 1940.255784] Stack : 8df75fb4 8007ce5c 80660000 80660d78 806c0000 80660d40 8065fe94 8dd01a34
[ 1940.272451]         80800000 8fe51fc8 806aa6e3 805f993c 00000002 00000001 8dd019d8 91468ee6
[ 1940.289110]         00000000 00000000 80830000 00000000 30232031 0000012f 2e352064 31312e34
[ 1940.305752]         00000000 00000060 00000000 0003b7b9 80000000 806c0000 00000000 8df075b8
[ 1940.322392]         00000009 8fed4480 00000005 00000002 00000000 8034dfbc 00000008 80800008
[ 1940.339021]         ...
[ 1940.343883] Call Trace:
[ 1940.348778] [<8000b64c>] show_stack+0x30/0x100
[ 1940.357652] [<80542370>] dump_stack+0xa4/0xdc
[ 1940.366336] [<8002bee0>] __warn+0xc0/0x10c
[ 1940.374487] [<8002bf88>] warn_slowpath_fmt+0x5c/0xac
[ 1940.384532] [<8df075b8>] sta_info_alloc+0x5c4/0x5fc [mac80211]
[ 1940.396280] [<8df259b0>] ieee80211_nan_func_match+0x3d88/0x4410 [mac80211]
[ 1940.410460] ---[ end trace dda71e821ee728c4 ]---
05.05.20213782Base systemBug ReportVery LowCriticalTP-Link CPE510 v2 bootloop with 21.02.0-rc1openwrt-21.02Requires testing Task Description

Installing the 21.02.0-rc1 Sysupgrade image on the TP-Link CPE510 v2 or TP-Link CPE610 v1 results in the same bootloop as reported in https://bugs.openwrt.org/index.php?do=details&task_id=3750

Here is a log from my device with a line length of 80 chars

TP-LINK SafeLoader (Build time: Jun 14 2017 - 10:08:41)
CPU: 560MHz AHB: 225MHz DDR: 8MB
Performing LED check..  PASS
Press CTRL+B to enter SafeLoader: 1

Allocated memory for elf segment ok: addr: 0x80060000, size 0x16dc
Loading .text @ 0x80060000 (5852 bytes)

Starting kernel


OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Looking for OpenWrt image... found at 0xbf043000
Decompressing kernel... done!
Starting kernel at 80060000...
[    0.000000] Linux version 5.4.111 (builder@buildhost) (gcc version 8.4.0 (Ope
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] MIPS: machine is TP-Link CPE510 v2
[    0.000000] SoC: Atheros AR9344 rev 2
[    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
[    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,115200 rootfstype=squashfs,jf
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, li
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, lin
[    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: 57336K/65536K available (5216K kernel code, 190K rwdata,
[    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_
[    0.000010] sched_clock: 32 bits at 280MHz, resolution 3ns, wraps every 7669
[    0.009095] Calibrating delay loop... 278.78 BogoMIPS (lpj=557568)
[    0.052225] pid_max: default: 32768 minimum: 301
[    0.057783] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, line
[    0.066284] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes,
[    0.080827] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, m
[    0.092208] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.100259] pinctrl core: initialized pinctrl subsystem
[    0.109580] NET: Registered protocol family 16
[    0.117299] GPIO line 18 (tp-link:ext:lna0) hogged as output/high
[    0.124466] GPIO line 19 (tp-link:ext:lna1) hogged as output/high
[    0.159972] workqueue: max_active 576 requested for napi_workq is out of ran
[    0.176037] clocksource: Switched to clocksource MIPS
[    0.183518] NET: Registered protocol family 2
[    0.189793] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096
[    0.199606] TCP established hash table entries: 1024 (order: 0, 4096 bytes, 
[    0.208534] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.216742] TCP: Hash tables configured (established 1024 bind 1024)
[    0.224301] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.231970] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.240490] NET: Registered protocol family 1
[    0.245632] PCI: CLS 0 bytes, default 32
[    0.255091] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.271344] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.278179] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORI
[    0.307686] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 
[    0.321044] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.329034] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.339440] printk: console [ttyS0] disabled
[    0.344535] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 25
[    0.354585] printk: console [ttyS0] enabled
[    0.354585] printk: console [ttyS0] enabled
[    0.363495] printk: bootconsole [early0] disabled
[    0.363495] printk: bootconsole [early0] disabled
[    0.388005] spi-nor spi0.0: gd25q64 (8192 Kbytes)
[    0.392920] 6 fixed-partitions partitions found on MTD device spi0.0
[    0.399384] Creating 6 MTD partitions on "spi0.0":
[    0.404285] 0x000000000000-0x000000020000 : "u-boot"
[    0.410563] 0x000000020000-0x000000030000 : "partition-table"
[    0.417611] 0x000000030000-0x000000040000 : "info"
[    0.423688] 0x000000040000-0x0000007c0000 : "firmware"
[    0.430160] 0x0000007c0000-0x0000007f0000 : "config"
[    0.436538] 0x0000007f0000-0x000000800000 : "art"
[    0.445059] libphy: Fixed MDIO Bus: probed
[    0.768479] libphy: ag71xx_mdio: probed
[    0.773748] libphy: ar8xxx-mdio: probed
[    0.785848] switch0: Atheros AR8229 rev. 1 switch registered on mdio.0
[    1.145976] ag71xx 19000000.eth: connected to PHY at mdio.0:1f:04 [uid=004dd
[    1.156116] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[    1.162648] i2c /dev entries driver
[    1.169430] NET: Registered protocol family 10
[    1.180091] random: fast init done
[    1.184945] Segment Routing with IPv6
[    1.188879] NET: Registered protocol family 17
[    1.193512] bridge: filtering via arp/ip/ip6tables is no longer available by
[    1.206679] 8021q: 802.1Q VLAN Support v1.8
[    1.212391] hctosys: unable to open rtc device (rtc0)
[    1.218812] /dev/root: Can't open blockdev
[    1.223069] VFS: Cannot open root device "(null)" or unknown-block(0,0): err
[    1.230673] Please append a correct "root=" boot option; here are the availa
[    1.239162] 1f00             128 mtdblock0 
[    1.239166]  (driver?)
[    1.245826] 1f01              64 mtdblock1 
[    1.245829]  (driver?)
[    1.252485] 1f02              64 mtdblock2 
[    1.252488]  (driver?)
[    1.259138] 1f03            7680 mtdblock3 
[    1.259140]  (driver?)
[    1.265792] 1f04             192 mtdblock4 
[    1.265795]  (driver?)
[    1.272452] 1f05              64 mtdblock5 
[    1.272455]  (driver?)
[    1.279103] Kernel panic - not syncing: VFS: Unable to mount root fs on unkn
[    1.287482] Rebooting in 1 seconds..


02.05.20213772Base systemBug ReportVery LowCriticalOpenWrt 21.02.0-rc1 reboots frequently after turning on...openwrt-21.02Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on TP-Link TL-WR1043ND v1
- Software versions of OpenWrt/LEDE release, packages, etc. OpenWrt 21.02.0-rc1 r16046-59980f7aaf / LuCI openwrt-21.02 branch git-21.106.55967-06dd6b5

- Steps to reproduce

 

Upgrade go OpenWrt 21.02.1-rc1 without saving previous configs (otherwise system will become unstable immediately after upgrade). Turn on Wireless in Network–>Wireless–>.... After this a device becomes unstable and completely unusable starting to reboot again and again.

29.04.20213762Base systemBug ReportVery LowCriticalWAN performance regression on MT7621 21.02-rc1 vs 19.07...TrunkUnconfirmed Task Description

There is an issue with Wan throughput on the MT7621 and OpenWrt 21.02-rc1 vs 19.07.7

The test setup is an Iperf3 server running locally on the wan side of the router (A NeWifi-D2) and running Iperf3 as client on the router. This is stock firmware with no changes to the network settings from stock.

19.07.7 - TX = 531Mbps RX = 629Mbps
21.02-Rc1 - TX = 792Mbps Rx = 523Mbps

So while it appears TX has improved, RX is suffering and it is noticeable with non synthetic transfers.

Noticably the RX test on 21.02-RC1 is reporting rampant Retransmits by the Iperf server. These are not present in 19.07.7 in either direction, OR in 21.02-RC1 when the router is sending, only when its receiving. I also ran mpstat with an interval of 3 seconds to see processor load during the test. In the result sets below, iperf3 test was started during interval 3.

The command line on the router is
TX =

iperf3 -c <server ip> -P 2

RX =

iperf3 -c <server ip> -P 2 -R

19.07.7 - TX

iperf3 -c 192.168.69.102 -P 2
Connecting to host 192.168.69.102, port 5201
[  5] local 192.168.69.127 port 50742 connected to 192.168.69.102 port 5201
[  7] local 192.168.69.127 port 50744 connected to 192.168.69.102 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.04   sec  28.7 MBytes   231 Mbits/sec    0    130 KBytes       
[  7]   0.00-1.04   sec  28.7 MBytes   231 Mbits/sec    0    123 KBytes       
[SUM]   0.00-1.04   sec  57.3 MBytes   462 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   1.04-2.00   sec  28.8 MBytes   251 Mbits/sec    0    130 KBytes       
[  7]   1.04-2.00   sec  28.8 MBytes   251 Mbits/sec    0    130 KBytes       
[SUM]   1.04-2.00   sec  57.5 MBytes   502 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   2.00-3.01   sec  30.0 MBytes   251 Mbits/sec    0    130 KBytes       
[  7]   2.00-3.01   sec  30.0 MBytes   251 Mbits/sec    0    140 KBytes       
[SUM]   2.00-3.01   sec  60.0 MBytes   502 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   3.01-4.00   sec  30.0 MBytes   252 Mbits/sec    0    130 KBytes       
[  7]   3.01-4.00   sec  30.0 MBytes   252 Mbits/sec    0    140 KBytes       
[SUM]   3.01-4.00   sec  60.0 MBytes   505 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   4.00-5.03   sec  31.2 MBytes   256 Mbits/sec    0    130 KBytes       
[  7]   4.00-5.03   sec  31.2 MBytes   256 Mbits/sec    0    140 KBytes       
[SUM]   4.00-5.03   sec  62.5 MBytes   511 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   5.03-6.01   sec  30.0 MBytes   257 Mbits/sec    0    130 KBytes       
[  7]   5.03-6.01   sec  30.0 MBytes   257 Mbits/sec    0    140 KBytes       
[SUM]   5.03-6.01   sec  60.0 MBytes   513 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   6.01-7.02   sec  31.2 MBytes   258 Mbits/sec    0    130 KBytes       
[  7]   6.01-7.02   sec  31.2 MBytes   258 Mbits/sec    0    140 KBytes       
[SUM]   6.01-7.02   sec  62.5 MBytes   517 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   7.02-8.01   sec  35.0 MBytes   298 Mbits/sec    0    130 KBytes       
[  7]   7.02-8.01   sec  35.0 MBytes   298 Mbits/sec    0    140 KBytes       
[SUM]   7.02-8.01   sec  70.0 MBytes   595 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   8.01-9.01   sec  36.2 MBytes   305 Mbits/sec    0    139 KBytes       
[  7]   8.01-9.01   sec  36.2 MBytes   305 Mbits/sec    0    140 KBytes       
[SUM]   8.01-9.01   sec  72.5 MBytes   611 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   9.01-10.03  sec  37.5 MBytes   306 Mbits/sec    0    139 KBytes       
[  7]   9.01-10.03  sec  37.5 MBytes   306 Mbits/sec    0    140 KBytes       
[SUM]   9.01-10.03  sec  75.0 MBytes   612 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.03  sec   319 MBytes   266 Mbits/sec    0             sender
[  5]   0.00-10.07  sec   319 MBytes   265 Mbits/sec                  receiver
[  7]   0.00-10.03  sec   319 MBytes   266 Mbits/sec    0             sender
[  7]   0.00-10.07  sec   319 MBytes   265 Mbits/sec                  receiver
[SUM]   0.00-10.03  sec   637 MBytes   533 Mbits/sec    0             sender
[SUM]   0.00-10.07  sec   637 MBytes   531 Mbits/sec                  receiver

iperf Done.


# mpstat 3 10
Linux 4.14.221 (OpenWrt) 	04/29/21 	_mips_	(4 CPU)

05:45:14     CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle
05:45:17     all    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
05:45:20     all    0.66    0.00    0.17    0.00    0.00    0.00    0.00    0.00    0.00   99.17
05:45:23     all    0.08    0.00   18.11    0.00    0.00   10.38    0.00    0.00    0.00   71.43
05:45:26     all    1.16    0.00   22.92    0.00    0.00   13.62    0.00    0.00    0.00   62.29
05:45:29     all    0.33    0.00   24.50    0.00    0.00   14.62    0.00    0.00    0.00   60.55
05:45:32     all    0.58    0.00   14.04    0.00    0.00   10.38    0.00    0.00    0.00   75.00
05:45:35     all    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
05:45:38     all    0.50    0.00    0.33    0.00    0.00    0.00    0.00    0.00    0.00   99.17

19.07.7 - RX (Server Iperf3 Stats)

Accepted connection from 192.168.69.127, port 50746
[  5] local 192.168.69.102 port 5201 connected to 192.168.69.127 port 50748
[  8] local 192.168.69.102 port 5201 connected to 192.168.69.127 port 50750
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  38.9 MBytes   326 Mbits/sec    0    334 KBytes       
[  8]   0.00-1.00   sec  36.5 MBytes   306 Mbits/sec    0    266 KBytes       
[SUM]   0.00-1.00   sec  75.4 MBytes   633 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   1.00-2.00   sec  37.5 MBytes   314 Mbits/sec    0    334 KBytes       
[  8]   1.00-2.00   sec  37.9 MBytes   318 Mbits/sec    0    266 KBytes       
[SUM]   1.00-2.00   sec  75.4 MBytes   632 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   2.00-3.00   sec  37.4 MBytes   314 Mbits/sec    0    334 KBytes       
[  8]   2.00-3.00   sec  37.0 MBytes   310 Mbits/sec    0    266 KBytes       
[SUM]   2.00-3.00   sec  74.4 MBytes   624 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   3.00-4.00   sec  37.5 MBytes   314 Mbits/sec    0    334 KBytes       
[  8]   3.00-4.00   sec  37.5 MBytes   315 Mbits/sec    0    266 KBytes       
[SUM]   3.00-4.00   sec  75.0 MBytes   629 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   4.00-5.00   sec  37.5 MBytes   315 Mbits/sec    0    334 KBytes       
[  8]   4.00-5.00   sec  37.7 MBytes   316 Mbits/sec    0    266 KBytes       
[SUM]   4.00-5.00   sec  75.3 MBytes   631 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   5.00-6.00   sec  37.5 MBytes   314 Mbits/sec    0    334 KBytes       
[  8]   5.00-6.00   sec  37.5 MBytes   315 Mbits/sec    0    266 KBytes       
[SUM]   5.00-6.00   sec  75.0 MBytes   629 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   6.00-7.00   sec  37.2 MBytes   312 Mbits/sec    0    430 KBytes       
[  8]   6.00-7.00   sec  36.4 MBytes   305 Mbits/sec    0    322 KBytes       
[SUM]   6.00-7.00   sec  73.5 MBytes   617 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   7.00-8.00   sec  38.3 MBytes   321 Mbits/sec    0    430 KBytes       
[  8]   7.00-8.00   sec  37.9 MBytes   318 Mbits/sec    0    322 KBytes       
[SUM]   7.00-8.00   sec  76.2 MBytes   639 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   8.00-9.00   sec  37.1 MBytes   311 Mbits/sec    0    430 KBytes       
[  8]   8.00-9.00   sec  37.0 MBytes   311 Mbits/sec    0    322 KBytes       
[SUM]   8.00-9.00   sec  74.1 MBytes   622 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   9.00-10.00  sec  37.8 MBytes   317 Mbits/sec    0    430 KBytes       
[  8]   9.00-10.00  sec  37.8 MBytes   317 Mbits/sec    0    322 KBytes       
[SUM]   9.00-10.00  sec  75.7 MBytes   635 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]  10.00-10.04  sec   954 KBytes   214 Mbits/sec    0    430 KBytes       
[  8]  10.00-10.04  sec  1.55 MBytes   356 Mbits/sec    0    322 KBytes       
[SUM]  10.00-10.04  sec  2.49 MBytes   570 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.04  sec   378 MBytes   316 Mbits/sec    0             sender
[  8]   0.00-10.04  sec   375 MBytes   313 Mbits/sec    0             sender
[SUM]   0.00-10.04  sec   752 MBytes   629 Mbits/sec    0             sender

# mpstat 3 10 
Linux 4.14.221 (OpenWrt) 	04/29/21 	_mips_	(4 CPU)

05:46:28     CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle
05:46:31     all    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
05:46:34     all    0.58    0.00    0.33    0.00    0.00    0.00    0.00    0.00    0.00   99.09
05:46:37     all    0.42    0.00   13.95    0.00    0.00   14.37    0.00    0.00    0.00   71.26
05:46:40     all    0.58    0.00   14.37    0.00    0.00   27.57    0.00    0.00    0.00   57.48
05:46:43     all    1.00    0.00   17.77    0.00    0.00   26.58    0.00    0.00    0.00   54.65
05:46:46     all    0.33    0.00   12.46    0.00    0.00   15.20    0.00    0.00    0.00   72.01
05:46:49     all    0.50    0.00    0.33    0.00    0.00    0.00    0.00    0.00    0.00   99.17
05:46:52     all    0.00    0.00    0.00    0.00    0.00    0.17    0.00    0.00    0.00   99.83

21.02-RC1 - TX

# iperf3 -c 192.168.69.102 -P 2
Connecting to host 192.168.69.102, port 5201
[  5] local 192.168.69.128 port 54862 connected to 192.168.69.102 port 5201
[  7] local 192.168.69.128 port 54864 connected to 192.168.69.102 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.02   sec  48.7 MBytes   400 Mbits/sec    0    134 KBytes       
[  7]   0.00-1.02   sec  48.6 MBytes   400 Mbits/sec    0    134 KBytes       
[SUM]   0.00-1.02   sec  97.3 MBytes   799 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   1.02-2.02   sec  47.5 MBytes   401 Mbits/sec    0    134 KBytes       
[  7]   1.02-2.02   sec  47.5 MBytes   401 Mbits/sec    0    146 KBytes       
[SUM]   1.02-2.02   sec  95.0 MBytes   801 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   2.02-3.01   sec  47.5 MBytes   399 Mbits/sec    0    134 KBytes       
[  7]   2.02-3.01   sec  47.5 MBytes   399 Mbits/sec    0    146 KBytes       
[SUM]   2.02-3.01   sec  95.0 MBytes   799 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   3.01-4.03   sec  46.8 MBytes   388 Mbits/sec    0    214 KBytes       
[  7]   3.01-4.03   sec  45.7 MBytes   379 Mbits/sec    0    164 KBytes       
[SUM]   3.01-4.03   sec  92.5 MBytes   767 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   4.03-5.01   sec  46.2 MBytes   396 Mbits/sec    0    214 KBytes       
[  7]   4.03-5.01   sec  46.2 MBytes   396 Mbits/sec    0    164 KBytes       
[SUM]   4.03-5.01   sec  92.5 MBytes   792 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   5.01-6.01   sec  47.5 MBytes   397 Mbits/sec    0    214 KBytes       
[  7]   5.01-6.01   sec  47.5 MBytes   397 Mbits/sec    0    164 KBytes       
[SUM]   5.01-6.01   sec  95.0 MBytes   794 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   6.01-7.01   sec  47.5 MBytes   398 Mbits/sec    0    214 KBytes       
[  7]   6.01-7.01   sec  47.5 MBytes   398 Mbits/sec    0    164 KBytes       
[SUM]   6.01-7.01   sec  95.0 MBytes   796 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   7.01-8.01   sec  47.5 MBytes   397 Mbits/sec    0    226 KBytes       
[  7]   7.01-8.01   sec  47.5 MBytes   397 Mbits/sec    0    174 KBytes       
[SUM]   7.01-8.01   sec  95.0 MBytes   795 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   8.01-9.02   sec  47.5 MBytes   396 Mbits/sec    0    226 KBytes       
[  7]   8.01-9.02   sec  47.5 MBytes   396 Mbits/sec    0    180 KBytes       
[SUM]   8.01-9.02   sec  95.0 MBytes   792 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   9.02-10.00  sec  46.2 MBytes   395 Mbits/sec    0    226 KBytes       
[  7]   9.02-10.00  sec  46.2 MBytes   395 Mbits/sec    0    180 KBytes       
[SUM]   9.02-10.00  sec  92.5 MBytes   790 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   473 MBytes   397 Mbits/sec    0             sender
[  5]   0.00-10.01  sec   473 MBytes   396 Mbits/sec                  receiver
[  7]   0.00-10.00  sec   472 MBytes   396 Mbits/sec    0             sender
[  7]   0.00-10.01  sec   472 MBytes   396 Mbits/sec                  receiver
[SUM]   0.00-10.00  sec   945 MBytes   792 Mbits/sec    0             sender
[SUM]   0.00-10.01  sec   945 MBytes   792 Mbits/sec                  receiver

iperf Done.

# mpstat 3 10
Linux 5.4.111 (OpenWrt) 	04/29/21 	_mips_	(4 CPU)

06:14:41     CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle
06:14:44     all    0.75    0.00    0.25    0.00    0.00    0.00    0.00    0.00    0.00   99.00
06:14:47     all    0.00    0.00    0.00    0.00    0.00    0.08    0.00    0.00    0.00   99.92
06:14:50     all    0.08    0.00   16.97    0.00    0.00   10.40    0.00    0.00    0.00   72.55
06:14:53     all    1.33    0.00   25.48    0.00    0.00   15.24    0.00    0.00    0.00   57.95
06:14:56     all    0.17    0.00   25.02    0.00    0.00   15.21    0.00    0.00    0.00   59.60
06:14:59     all    0.58    0.00   17.00    0.00    0.00    9.83    0.00    0.00    0.00   72.58
06:15:02     all    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
06:15:05     all    0.83    0.00    0.25    0.00    0.00    0.00    0.00    0.00    0.00   98.92

21.02-RC1 - RX (Server Iperf3 stats)

Accepted connection from 192.168.69.128, port 54872
[  5] local 192.168.69.102 port 5201 connected to 192.168.69.128 port 54874
[  8] local 192.168.69.102 port 5201 connected to 192.168.69.128 port 54876
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  28.7 MBytes   241 Mbits/sec   20    342 KBytes       
[  8]   0.00-1.00   sec  34.5 MBytes   290 Mbits/sec    1    443 KBytes       
[SUM]   0.00-1.00   sec  63.3 MBytes   531 Mbits/sec   21             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   1.00-2.00   sec  28.8 MBytes   241 Mbits/sec    0    403 KBytes       
[  8]   1.00-2.00   sec  31.3 MBytes   262 Mbits/sec    4    362 KBytes       
[SUM]   1.00-2.00   sec  60.0 MBytes   504 Mbits/sec    4             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   2.00-3.00   sec  27.8 MBytes   234 Mbits/sec    7    339 KBytes       
[  8]   2.00-3.00   sec  35.5 MBytes   298 Mbits/sec    0    428 KBytes       
[SUM]   2.00-3.00   sec  63.4 MBytes   532 Mbits/sec    7             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   3.00-4.00   sec  27.9 MBytes   234 Mbits/sec    2    291 KBytes       
[  8]   3.00-4.00   sec  35.2 MBytes   296 Mbits/sec   17    356 KBytes       
[SUM]   3.00-4.00   sec  63.1 MBytes   530 Mbits/sec   19             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   4.00-5.00   sec  27.8 MBytes   234 Mbits/sec    0    356 KBytes       
[  8]   4.00-5.00   sec  34.4 MBytes   289 Mbits/sec    0    424 KBytes       
[SUM]   4.00-5.00   sec  62.3 MBytes   522 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   5.00-6.00   sec  25.2 MBytes   212 Mbits/sec    1    297 KBytes       
[  8]   5.00-6.00   sec  37.7 MBytes   316 Mbits/sec    0    486 KBytes       
[SUM]   5.00-6.00   sec  62.9 MBytes   528 Mbits/sec    1             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   6.00-7.00   sec  26.1 MBytes   219 Mbits/sec    0    359 KBytes       
[  8]   6.00-7.00   sec  36.5 MBytes   307 Mbits/sec    7    395 KBytes       
[SUM]   6.00-7.00   sec  62.6 MBytes   525 Mbits/sec    7             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   7.00-8.00   sec  30.7 MBytes   258 Mbits/sec    0    420 KBytes       
[  8]   7.00-8.00   sec  30.0 MBytes   252 Mbits/sec    4    321 KBytes       
[SUM]   7.00-8.00   sec  60.7 MBytes   509 Mbits/sec    4             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   8.00-9.00   sec  33.9 MBytes   284 Mbits/sec   10    232 KBytes       
[  8]   8.00-9.00   sec  27.7 MBytes   232 Mbits/sec    0    383 KBytes       
[SUM]   8.00-9.00   sec  61.5 MBytes   516 Mbits/sec   10             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   9.00-10.00  sec  25.4 MBytes   213 Mbits/sec    0    303 KBytes       
[  8]   9.00-10.00  sec  38.7 MBytes   324 Mbits/sec    0    451 KBytes       
[SUM]   9.00-10.00  sec  64.0 MBytes   537 Mbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.01  sec   282 MBytes   237 Mbits/sec   40             sender
[  8]   0.00-10.01  sec   342 MBytes   286 Mbits/sec   33             sender
[SUM]   0.00-10.01  sec   624 MBytes   523 Mbits/sec   73             sender

# mpstat 3 10
Linux 5.4.111 (OpenWrt) 	04/29/21 	_mips_	(4 CPU)

06:17:59     CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle
06:18:02     all    0.00    0.00    0.00    0.00    0.00    0.17    0.00    0.00    0.00   99.83
06:18:05     all    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
06:18:08     all    1.33    0.00   16.81    0.00    0.00   31.86    0.00    0.00    0.00   50.00
06:18:11     all    0.83    0.00   22.55    0.00    0.00   44.43    0.00    0.00    0.00   32.20
06:18:14     all    1.66    0.00   23.13    0.00    0.00   43.68    0.00    0.00    0.00   31.53
06:18:17     all    0.50    0.00   12.51    0.00    0.00   24.85    0.00    0.00    0.00   62.14
06:18:20     all    0.67    0.00    0.17    0.00    0.00    0.08    0.00    0.00    0.00   99.09
06:18:23     all    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
29.04.20213760Base systemBug ReportVery LowCriticalWifi to WAN traffic causes eth0 to crash with a NETDEV ...openwrt-21.02Unconfirmed Task Description

I have been testing OpenWRT 21.02-RC1 stock released firmware image on the Newifi-D2 target (MT7621 based).

Sporadically while using the router, i experience the WAN interface crashing with NETDEV WATCHDOG errors.

I am using the released image for OpenWrt 21.02-rc1 for the Newifi-D2 target
I have also experienced this fault with a custom router build based on MT7621 for a different target, the fault appears general to MT7621 not this target.

I have loaded 19.07.7 stock firmware on this same hardware and the fault does not occur in that firmware version. A colleague has replicated this fault in 21.02-RC1 with the same type of target (physically different unit), but in a different environment with no shared network resources.

Other than setting up the wifi ssid and password and enabling the 5ghz radio, the network settings are stock.

I have worked out a 90% reliable test case to reproduce the fault:

Have a client device connected to the router on WiFi 5ghz
And a local Iperf3 server running on the wan side of the wired interface.

On the server run:

iperf3 -s

Note the servers IP address

On the client run:

iperf3 -c <serverIP> -P 50

Notes:
Iperf3 server needs to be local on a 1gbps wired link. With an internet based Iperf3 server (or one with a slower connection) the error is much harder to trigger, it will happen but its much more random.
The number of connections does not need to be 50, however, the lower the number of connections the less reliable the error triggers.
The WiFi client should be getting about 300-400mbps throughput over the wifi link when its working correctly.

On most runs, the iperf3 performance will drop to 0mbps, logread on the router then reveals:

Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.065748] ------------[ cut here ]------------
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.070403] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:448 0x8047e780
Thu Apr 29 03:58:44 2021 kern.info kernel: [  578.077443] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.084412] Modules linked in: pppoe ppp_async iptable_nat xt_state xt_nat xt_conntrack xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT pppox ppp_generic nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack mt76x2e mt76x2_common mt76x02_lib mt7603e mt76 mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG slhc nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables 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 usbcore nls_base usb_common
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.147503] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.4.111 #0
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.153490] Stack : 00000000 80840000 ffffffff 8007d6e0 00000000 00000000 00000000 00000000
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.161831]         00000000 00000000 00000000 00000000 00000000 00000001 8fc0fd50 8ba64c1c
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.170163]         8fc0fde8 00000000 00000000 00000000 00000038 805e1804 342e3520 3131312e
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.178486]         00000000 0000001c 00000000 0002402f 00000000 8fc0fd30 00000000 8047e780
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.186808]         00000009 00000001 00200000 00000122 00000003 80359e2c 00000004 80810004
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.195132]         ...
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.197567] Call Trace:
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.197583] [<8007d6e0>] 0x8007d6e0
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.203512] [<805e1804>] 0x805e1804
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.206990] [<8047e780>] 0x8047e780
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.210464] [<80359e2c>] 0x80359e2c
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.213941] [<8000b05c>] 0x8000b05c
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.217409] [<8000b064>] 0x8000b064
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.220879] [<805c6f9c>] 0x805c6f9c
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.224351] [<8007d8ac>] 0x8007d8ac
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.227829] [<8002bfe8>] 0x8002bfe8
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.231302] [<8047e780>] 0x8047e780
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.234775] [<8002c0c0>] 0x8002c0c0
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.238257] [<8047e780>] 0x8047e780
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.241731] [<800a9018>] 0x800a9018
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.245212] [<8047e484>] 0x8047e484
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.248688] [<800965d4>] 0x800965d4
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.252161] [<8009681c>] 0x8009681c
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.255640] [<805e7d1c>] 0x805e7d1c
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.259116] [<80030768>] 0x80030768
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.262588] [<802f8404>] 0x802f8404
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.266064] [<80006c28>] 0x80006c28
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.269533]
Thu Apr 29 03:58:44 2021 kern.warn kernel: [  578.271153] ---[ end trace eabfb050c5985bce ]---
Thu Apr 29 03:58:44 2021 kern.err kernel: [  578.275799] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Thu Apr 29 03:58:44 2021 kern.info kernel: [  578.282602] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
Thu Apr 29 03:58:44 2021 kern.info kernel: [  578.318310] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
Thu Apr 29 03:58:44 2021 kern.info kernel: [  578.326251] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx

This only occurs on the first instance of the error, the error will repeatedly occur but the only evidence in the logs after the first error is:

Thu Apr 29 04:33:36 2021 kern.err kernel: [ 2670.043971] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Thu Apr 29 04:33:36 2021 kern.info kernel: [ 2670.050555] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
Thu Apr 29 04:33:36 2021 kern.info kernel: [ 2670.084619] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
Thu Apr 29 04:33:36 2021 kern.info kernel: [ 2670.092556] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
01.04.20213717KernelBug ReportVery LowCriticalWRT1900ACS LAN Switch speed on kernel 5.4TrunkUnconfirmed Task Description

Dear, I ‘ve found an issue with DSA and kernel 5.4.
I’m on 21.02 SNAPSHOT.
My upload speed on WAN is only 10 mbps when a device with LAN connection is linked to 10mbps.
When a device 100mbps is connected to switch all speed is 100mbps not 1 gbps
It seems that the upload speed follow the lowest lan speed...

First test is with 10mbps connection on LAN3. –> Test was done from LAN1 to router.
Second test is with a LAN2 device conneted with 100mbps. –> Test was done from LAN1 to router

PS C:\Users\Andrea\Downloads\iperf-3.1.3-win64> .\iperf3.exe -c 192.168.181.1
Connecting to host 192.168.181.1, port 5201
[  4] local 192.168.181.159 port 50593 connected to 192.168.181.1 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.01   sec   384 KBytes  3.12 Mbits/sec
[  4]   1.01-2.01   sec   640 KBytes  5.26 Mbits/sec
[  4]   2.01-3.01   sec  1.12 MBytes  9.35 Mbits/sec
[  4]   3.01-4.01   sec  1.12 MBytes  9.52 Mbits/sec
[  4]   4.01-5.01   sec  1.12 MBytes  9.41 Mbits/sec
[  4]   5.01-6.00   sec  1.12 MBytes  9.50 Mbits/sec
[  4]   6.00-7.00   sec  1.12 MBytes  9.46 Mbits/sec
[  4]   7.00-8.00   sec  1.12 MBytes  9.41 Mbits/sec
[  4]   8.00-9.01   sec  1.12 MBytes  9.40 Mbits/sec
[  4]   9.01-10.01  sec  1.12 MBytes  9.44 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.01  sec  10.0 MBytes  8.38 Mbits/sec                  sender
[  4]   0.00-10.01  sec  9.81 MBytes  8.23 Mbits/sec                  receiver

iperf Done.
PS C:\Users\Andrea\Downloads\iperf-3.1.3-win64> .\iperf3.exe -c 192.168.181.1 -R
Connecting to host 192.168.181.1, port 5201
Reverse mode, remote host 192.168.181.1 is sending
[  4] local 192.168.181.159 port 50611 connected to 192.168.181.1 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  95.6 MBytes   802 Mbits/sec
[  4]   1.00-2.00   sec  97.9 MBytes   821 Mbits/sec
[  4]   2.00-3.00   sec   101 MBytes   847 Mbits/sec
[  4]   3.00-4.00   sec   101 MBytes   850 Mbits/sec
[  4]   4.00-5.00   sec   105 MBytes   884 Mbits/sec
[  4]   5.00-6.00   sec  92.3 MBytes   774 Mbits/sec
[  4]   6.00-7.00   sec   105 MBytes   877 Mbits/sec
[  4]   7.00-8.00   sec   102 MBytes   849 Mbits/sec
[  4]   8.00-9.00   sec  99.4 MBytes   836 Mbits/sec
[  4]   9.00-10.00  sec   107 MBytes   894 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  1006 MBytes   844 Mbits/sec   23             sender
[  4]   0.00-10.00  sec  1006 MBytes   844 Mbits/sec                  receiver

This new test is with latest 19.07 (previous kernel no dsa)

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

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07-SNAPSHOT, r11328-81266d9001
 -----------------------------------------------------
root@WRT1900ACS:~# iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.181.159, port 48454
[  5] local 192.168.181.1 port 5201 connected to 192.168.181.159 port 48456
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec   108 MBytes   905 Mbits/sec                  
[  5]   1.00-2.00   sec   109 MBytes   915 Mbits/sec                  
[  5]   2.00-3.00   sec   109 MBytes   914 Mbits/sec                  
[  5]   3.00-4.00   sec   107 MBytes   900 Mbits/sec                  
[  5]   4.00-5.00   sec   108 MBytes   907 Mbits/sec                  
[  5]   5.00-6.00   sec   109 MBytes   912 Mbits/sec                  
[  5]   6.00-7.00   sec   107 MBytes   896 Mbits/sec                  
[  5]   7.00-8.00   sec   109 MBytes   917 Mbits/sec                  
[  5]   8.00-9.00   sec   108 MBytes   905 Mbits/sec                  
[  5]   9.00-10.00  sec   108 MBytes   903 Mbits/sec                  
[  5]  10.00-10.00  sec   293 KBytes   892 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.00  sec  1.06 GBytes   907 Mbits/sec 

I also noticed that with the latest version the switch LEDs flash all together and not only follow where there is communication, but I don’t think this is a problem.

Is this speed issue a bug or I do something wrong? I don’t make any changes to network config from standard. Only changed IP from 192.168.1.1 to 192.168.181.1.

16.03.20213686Base systemBug ReportVery LowCriticalBelkin F9K1115 v2 - boot loop with 21.02 snapshotopenwrt-21.02Unconfirmed Task Description

Boot loop, no communication with the router after upgrade to 21.02 snapshot (tested r15866).

Upgrade from Belkin web UI (factory image) is not working.

Probably migration to the new ath79 architecture is not correct:
- https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=563ece8a85dad24e8c3ce55af51938a4d37405f0 - https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=b403a6e1241c00f509b201ec2ac8ca5f29e1ffd1

10.03.20213678Base systemBug ReportVery LowCriticalSlow and inconsistent WiFi downloads/uploads on WAC104(...TrunkUnconfirmed Task Description

- Device problem occurs on : Netgear WAC104 / MT7621
- Software versions of OpenWrt: observed on snapshots r16134-c6652a7c9 / r16134-c6652a7c94
- Steps to reproduce : connect any device to wlan0/1 whatever the settings and download/upload data


I ran a few tests between a desktop wired to the device and a laptop connected to it through WiFi. Both are the only hosts of this device, being used a “dumb AP”, with the same hostname for both wlan. The results are always pretty bad and/or inconsistent.

For example, the following are the results of two of these tests, run one after the other:

$ iperf3 -c 192.168.1.12 -t 60 -P 1
Connecting to host 192.168.1.12, port 5201
[  5] local 192.168.1.10 port 48796 connected to 192.168.1.12 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  12.2 MBytes   102 Mbits/sec   14    201 KBytes       
[  5]   1.00-2.00   sec  3.75 MBytes  31.5 Mbits/sec   27   32.5 KBytes       
[  5]   2.00-3.00   sec  0.00 Bytes  0.00 bits/sec   13   14.1 KBytes       
[  5]   3.00-4.00   sec  2.50 MBytes  21.0 Mbits/sec   11   8.48 KBytes       
[  5]   4.00-5.00   sec  0.00 Bytes  0.00 bits/sec   13   4.24 KBytes       
[  5]   5.00-6.00   sec  5.00 MBytes  42.0 Mbits/sec    9   21.2 KBytes       
[  5]   6.00-7.00   sec  1.25 MBytes  10.5 Mbits/sec   11   1.41 KBytes       
[  5]   7.00-8.00   sec  0.00 Bytes  0.00 bits/sec    1   1.41 KBytes       
[  5]   8.00-9.00   sec  0.00 Bytes  0.00 bits/sec    1   1.41 KBytes       
[  5]   9.00-10.00  sec  0.00 Bytes  0.00 bits/sec    1   1.00 KBytes       
[  5]  10.00-11.00  sec  0.00 Bytes  0.00 bits/sec    8   3.00 KBytes       
[  5]  11.00-12.00  sec  3.75 MBytes  31.5 Mbits/sec    2   94.3 KBytes       
[  5]  12.00-13.00  sec  7.50 MBytes  62.9 Mbits/sec    0    159 KBytes       
[  5]  13.00-14.00  sec  1.25 MBytes  10.5 Mbits/sec   21   15.5 KBytes       
[  5]  14.00-15.00  sec  2.50 MBytes  21.0 Mbits/sec   10   1.41 KBytes       
[  5]  15.00-16.00  sec  0.00 Bytes  0.00 bits/sec    7   1.41 KBytes       
[  5]  16.00-17.00  sec  3.75 MBytes  31.5 Mbits/sec    4   84.4 KBytes       
[  5]  17.00-18.00  sec  1.25 MBytes  10.5 Mbits/sec   12   1.41 KBytes       
[  5]  18.00-19.00  sec  0.00 Bytes  0.00 bits/sec    1   1.41 KBytes       
[  5]  19.00-20.00  sec  0.00 Bytes  0.00 bits/sec    1   1.41 KBytes       
[  5]  20.00-21.00  sec  0.00 Bytes  0.00 bits/sec    1    720 Bytes       
[  5]  21.00-22.00  sec  0.00 Bytes  0.00 bits/sec    0    720 Bytes       
[  5]  22.00-23.00  sec  0.00 Bytes  0.00 bits/sec    0    720 Bytes       
[  5]  23.00-24.00  sec  0.00 Bytes  0.00 bits/sec    0    720 Bytes       
[  5]  24.00-25.00  sec  1.25 MBytes  10.5 Mbits/sec   33   53.5 KBytes       
[  5]  25.00-26.00  sec  6.25 MBytes  52.4 Mbits/sec    0    128 KBytes       
[  5]  26.00-27.00  sec  5.00 MBytes  41.9 Mbits/sec   14   33.8 KBytes       
[  5]  27.00-28.00  sec  0.00 Bytes  0.00 bits/sec   10   1.41 KBytes       
[  5]  28.00-29.00  sec  0.00 Bytes  0.00 bits/sec    1   1.41 KBytes       
[  5]  29.00-30.00  sec  3.75 MBytes  31.5 Mbits/sec    8   95.8 KBytes       
[  5]  30.00-31.00  sec  6.25 MBytes  52.4 Mbits/sec    6   36.6 KBytes       
[  5]  31.00-32.00  sec  2.50 MBytes  21.0 Mbits/sec   28   7.05 KBytes       
[  5]  32.00-33.00  sec  2.50 MBytes  21.0 Mbits/sec   14   7.05 KBytes       
[  5]  33.00-34.00  sec  0.00 Bytes  0.00 bits/sec    2   1.41 KBytes       
[  5]  34.00-35.00  sec  1.25 MBytes  10.5 Mbits/sec    5   19.7 KBytes       
[  5]  35.00-36.00  sec  6.25 MBytes  52.4 Mbits/sec    0    120 KBytes       
[  5]  36.00-37.00  sec  2.50 MBytes  21.0 Mbits/sec   10   1.41 KBytes       
[  5]  37.00-38.00  sec  0.00 Bytes  0.00 bits/sec    1   1.41 KBytes       
[  5]  38.00-39.00  sec  3.75 MBytes  31.5 Mbits/sec    6   90.2 KBytes       
[  5]  39.00-40.00  sec  6.25 MBytes  52.4 Mbits/sec    0    148 KBytes       
[  5]  40.00-41.00  sec  6.25 MBytes  52.4 Mbits/sec    0    190 KBytes       
[  5]  41.00-42.00  sec  6.25 MBytes  52.4 Mbits/sec    0    249 KBytes       
[  5]  42.00-43.00  sec  5.00 MBytes  41.9 Mbits/sec    2    156 KBytes       
[  5]  43.00-44.00  sec  7.50 MBytes  62.9 Mbits/sec    0    203 KBytes       
[  5]  44.00-45.00  sec  6.25 MBytes  52.4 Mbits/sec    2    152 KBytes       
[  5]  45.00-46.00  sec  7.50 MBytes  62.9 Mbits/sec    0    196 KBytes       
[  5]  46.00-47.00  sec  6.25 MBytes  52.4 Mbits/sec    0    228 KBytes       
[  5]  47.00-48.00  sec  5.00 MBytes  41.9 Mbits/sec   78    140 KBytes       
[  5]  48.00-49.00  sec  5.00 MBytes  41.9 Mbits/sec    0    173 KBytes       
[  5]  49.00-50.00  sec  0.00 Bytes  0.00 bits/sec    2   1.41 KBytes       
[  5]  50.00-51.00  sec  0.00 Bytes  0.00 bits/sec    1   1.41 KBytes       
[  5]  51.00-52.00  sec  0.00 Bytes  0.00 bits/sec    0   1.41 KBytes       
[  5]  52.00-53.00  sec  10.0 MBytes  84.0 Mbits/sec  172    163 KBytes       
[  5]  53.00-54.00  sec  22.5 MBytes   189 Mbits/sec    0    276 KBytes       
[  5]  54.00-55.00  sec  21.2 MBytes   178 Mbits/sec    2    246 KBytes       
[  5]  55.00-56.00  sec  22.5 MBytes   189 Mbits/sec    2    221 KBytes       
[  5]  56.00-57.00  sec  22.5 MBytes   189 Mbits/sec    0    313 KBytes       
[  5]  57.00-58.00  sec  22.5 MBytes   189 Mbits/sec    0    386 KBytes       
[  5]  58.00-59.00  sec  25.0 MBytes   210 Mbits/sec    2    239 KBytes       
[  5]  59.00-60.00  sec  21.2 MBytes   178 Mbits/sec    2    189 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-60.00  sec   315 MBytes  44.0 Mbits/sec  571             sender
[  5]   0.00-60.00  sec   308 MBytes  43.0 Mbits/sec                  receiver

iperf Done.
$ iperf3 -c 192.168.1.12 -t 60 -P 1
Connecting to host 192.168.1.12, port 5201
[  5] local 192.168.1.10 port 48912 connected to 192.168.1.12 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  44.8 MBytes   376 Mbits/sec   10    723 KBytes       
[  5]   1.00-2.00   sec  22.5 MBytes   189 Mbits/sec   65    110 KBytes       
[  5]   2.00-3.00   sec  20.0 MBytes   168 Mbits/sec    0    236 KBytes       
[  5]   3.00-4.00   sec  21.2 MBytes   178 Mbits/sec    1    243 KBytes       
[  5]   4.00-5.00   sec  21.2 MBytes   178 Mbits/sec    2    211 KBytes       
[  5]   5.00-6.00   sec  20.0 MBytes   168 Mbits/sec    0    291 KBytes       
[  5]   6.00-7.00   sec  21.2 MBytes   178 Mbits/sec    3    148 KBytes       
[  5]   7.00-8.00   sec  20.0 MBytes   168 Mbits/sec    1    194 KBytes       
[  5]   8.00-9.00   sec  22.5 MBytes   189 Mbits/sec    2    156 KBytes       
[  5]   9.00-10.00  sec  20.0 MBytes   168 Mbits/sec    2    197 KBytes       
[  5]  10.00-11.00  sec  20.0 MBytes   168 Mbits/sec    2    192 KBytes       
[  5]  11.00-12.00  sec  21.2 MBytes   178 Mbits/sec    1    173 KBytes       
[  5]  12.00-13.00  sec  21.2 MBytes   178 Mbits/sec    2    173 KBytes       
[  5]  13.00-14.00  sec  23.8 MBytes   199 Mbits/sec    0    288 KBytes       
[  5]  14.00-15.00  sec  26.2 MBytes   220 Mbits/sec    2    188 KBytes       
[  5]  15.00-16.00  sec  21.2 MBytes   178 Mbits/sec    0    286 KBytes       
[  5]  16.00-17.00  sec  22.5 MBytes   189 Mbits/sec    1    257 KBytes       
[  5]  17.00-18.00  sec  20.0 MBytes   168 Mbits/sec    3    195 KBytes       
[  5]  18.00-19.00  sec  26.2 MBytes   220 Mbits/sec    0    308 KBytes       
[  5]  19.00-20.00  sec  26.2 MBytes   220 Mbits/sec    0    395 KBytes       
[  5]  20.00-21.00  sec  23.8 MBytes   199 Mbits/sec    5    163 KBytes       
[  5]  21.00-22.00  sec  22.5 MBytes   189 Mbits/sec    2    116 KBytes       
[  5]  22.00-23.00  sec  22.5 MBytes   189 Mbits/sec    0    252 KBytes       
[  5]  23.00-24.00  sec  22.5 MBytes   189 Mbits/sec   26    256 KBytes       
[  5]  24.00-25.00  sec  23.8 MBytes   199 Mbits/sec    3    230 KBytes       
[  5]  25.00-26.00  sec  22.5 MBytes   189 Mbits/sec    1    197 KBytes       
[  5]  26.00-27.00  sec  23.8 MBytes   199 Mbits/sec    2    235 KBytes       
[  5]  27.00-28.00  sec  22.5 MBytes   189 Mbits/sec    4    127 KBytes       
[  5]  28.00-29.00  sec  22.5 MBytes   189 Mbits/sec    0    259 KBytes       
[  5]  29.00-30.00  sec  25.0 MBytes   210 Mbits/sec    1    252 KBytes       
[  5]  30.00-31.00  sec  22.5 MBytes   189 Mbits/sec    2    245 KBytes       
[  5]  31.00-32.00  sec  23.8 MBytes   199 Mbits/sec    3    225 KBytes       
[  5]  32.00-33.00  sec  23.8 MBytes   199 Mbits/sec    0    321 KBytes       
[  5]  33.00-34.00  sec  22.5 MBytes   189 Mbits/sec    2    257 KBytes       
[  5]  34.00-35.00  sec  23.8 MBytes   199 Mbits/sec    2    191 KBytes       
[  5]  35.00-36.00  sec  20.0 MBytes   168 Mbits/sec    3    112 KBytes       
[  5]  36.00-37.00  sec  22.5 MBytes   189 Mbits/sec    2    124 KBytes       
[  5]  37.00-38.00  sec  22.5 MBytes   189 Mbits/sec    0    259 KBytes       
[  5]  38.00-39.00  sec  23.8 MBytes   199 Mbits/sec    4    219 KBytes       
[  5]  39.00-40.00  sec  20.0 MBytes   168 Mbits/sec    1    232 KBytes       
[  5]  40.00-41.00  sec  21.2 MBytes   178 Mbits/sec    4    163 KBytes       
[  5]  41.00-42.00  sec  21.2 MBytes   178 Mbits/sec    4   94.7 KBytes       
[  5]  42.00-43.00  sec  21.2 MBytes   178 Mbits/sec    0    232 KBytes       
[  5]  43.00-44.00  sec  22.5 MBytes   189 Mbits/sec    1    246 KBytes       
[  5]  44.00-45.00  sec  22.5 MBytes   189 Mbits/sec    2    198 KBytes       
[  5]  45.00-46.00  sec  21.2 MBytes   178 Mbits/sec    2    185 KBytes       
[  5]  46.00-47.00  sec  22.5 MBytes   189 Mbits/sec    0    290 KBytes       
[  5]  47.00-48.00  sec  18.8 MBytes   157 Mbits/sec    5    187 KBytes       
[  5]  48.00-49.00  sec  20.0 MBytes   168 Mbits/sec    2    184 KBytes       
[  5]  49.00-50.00  sec  20.0 MBytes   168 Mbits/sec    2    204 KBytes       
[  5]  50.00-51.00  sec  21.2 MBytes   178 Mbits/sec    0    301 KBytes       
[  5]  51.00-52.00  sec  21.2 MBytes   178 Mbits/sec    3    180 KBytes       
[  5]  52.00-53.00  sec  18.8 MBytes   157 Mbits/sec    8    144 KBytes       
[  5]  53.00-54.00  sec  20.0 MBytes   168 Mbits/sec    1    141 KBytes       
[  5]  54.00-55.00  sec  21.2 MBytes   178 Mbits/sec    2    168 KBytes       
[  5]  55.00-56.00  sec  20.0 MBytes   168 Mbits/sec    2    153 KBytes       
[  5]  56.00-57.00  sec  21.2 MBytes   178 Mbits/sec    0    259 KBytes       
[  5]  57.00-58.00  sec  18.8 MBytes   157 Mbits/sec   11    222 KBytes       
[  5]  58.00-59.00  sec  18.8 MBytes   157 Mbits/sec    1    228 KBytes       
[  5]  59.00-60.00  sec  22.5 MBytes   189 Mbits/sec    5    174 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-60.00  sec  1.30 GBytes   186 Mbits/sec  215             sender
[  5]   0.00-60.00  sec  1.28 GBytes   183 Mbits/sec                  receiver

iperf Done.

Linux kernel buffer output:

root@wac104:~# dmesg
[    0.000000] Linux version 5.4.102 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16134-c6652a7c94)) #0 SMP Sat Mar 6 19:23:48 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 WAC104
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2} total 2
[    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-0x0000000007ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 288 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] 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.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,57600 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=00020821
[    0.000000] Readback ErrCtl register=00020821
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 120568K/131072K available (6069K kernel code, 205K rwdata, 1292K rodata, 1252K init, 238K bss, 10504K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    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.015485] Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360)
[    0.055787] pid_max: default: 32768 minimum: 301
[    0.065110] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.079507] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.097237] rcu: Hierarchical SRCU implementation.
[    0.107168] smp: Bringing up secondary CPUs ...
[    8.468259] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    8.468268] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    8.468280] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    8.468379] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.144226] Synchronize counters for CPU 1: done.
[    0.203863] smp: Brought up 1 node, 2 CPUs
[    0.216000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.235283] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.248893] pinctrl core: initialized pinctrl subsystem
[    0.260578] NET: Registered protocol family 16
[    0.282226] FPU Affinity set after 4688 emulations
[    0.302292] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.323331] clocksource: Switched to clocksource GIC
[    0.334983] NET: Registered protocol family 2
[    0.344920] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.361626] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.376749] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.390741] TCP: Hash tables configured (established 1024 bind 1024)
[    0.403493] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.416382] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.430471] NET: Registered protocol family 1
[    0.439033] PCI: CLS 0 bytes, default 32
[    0.539237] 4 CPUs re-calibrate udelay(lpj = 1163264)
[    0.550861] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.576661] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.588203] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.609861] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.626695] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.638093] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.649403] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.661273] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.677969] printk: console [ttyS0] disabled
[    0.686413] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 15, base_baud = 3125000) is a 16550A
[    0.704353] printk: console [ttyS0] enabled
[    0.720899] printk: bootconsole [early0] disabled
[    0.742962] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[    0.757928] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[    0.770591] nand: Macronix MX30LF1G18AC
[    0.778236] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.793324] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[    0.806362] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    0.820930] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    0.835495] Scanning device for bad blocks
[    0.929285] Bad eraseblock 67 at 0x000000860000
[    0.979556] Bad eraseblock 100 at 0x000000c80000
[    1.090848] Bad eraseblock 181 at 0x0000016a0000
[    1.152689] Bad eraseblock 223 at 0x000001be0000
[    2.033868] Bad eraseblock 911 at 0x0000071e0000
[    2.185200] 6 fixed-partitions partitions found on MTD device mt7621-nand
[    2.198719] Creating 6 MTD partitions on "mt7621-nand":
[    2.209139] 0x000000000000-0x000000100000 : "u-boot"
[    2.220628] 0x000000100000-0x000000200000 : "SC PID"
[    2.232144] 0x000000200000-0x000000600000 : "kernel"
[    2.243590] 0x000000600000-0x000002200000 : "ubi"
[    2.254608] 0x000002e00000-0x000002f00000 : "factory"
[    2.266193] 0x000004200000-0x000007e00000 : "reserved"
[    2.279491] libphy: Fixed MDIO Bus: probed
[    2.313633] libphy: mdio: probed
[    2.320337] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    2.336647] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 16
[    2.355482] mt7621-pci 1e140000.pcie: Parsing DT failed
[    2.369012] NET: Registered protocol family 10
[    2.379392] Segment Routing with IPv6
[    2.386832] NET: Registered protocol family 17
[    2.395766] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.421838] 8021q: 802.1Q VLAN Support v1.8
[    2.432285] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    2.454738] libphy: dsa slave smi: probed
[    2.463178] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[    2.481234] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[    2.499279] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[    2.517288] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[    2.535604] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    2.553221] DSA: tree 0 setup
[    2.559529] rt2880-pinmux pinctrl: pcie is already enabled
[    2.570481] mt7621-pci 1e140000.pcie: Error applying setting, reverse things back
[    2.585545] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    2.600470] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    2.715025] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    2.726143] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    2.836992] mt7621-pci 1e140000.pcie: pcie1 no card, disable it (RST & CLK)
[    2.850865] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    2.860586] mt7621-pci 1e140000.pcie: PCIE2 enabled
[    2.870309] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    2.889040] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    2.901725] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    2.915431] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    2.929132] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.940112] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    2.952113] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.964607] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    2.977165] pci 0000:00:00.0: supports D1
[    2.985155] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    2.997017] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    3.009033] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    3.021528] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    3.034079] pci 0000:00:01.0: supports D1
[    3.042076] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    3.054863] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.070834] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.087008] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[    3.099041] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    3.112611] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    3.126065] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    3.139612] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    3.150034] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    3.162179] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    3.175711] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    3.190107] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.203513] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000
[    3.215542] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    3.228169] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    3.241660] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    3.252095] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    3.264239] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff]
[    3.277767] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    3.292166] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    3.305403] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    3.318584] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    3.332463] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    3.345649] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    3.359528] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    3.373059] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    3.387456] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    3.400987] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
[    3.415384] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[    3.428920] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[    3.442452] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    3.455991] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    3.469532] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    3.484114] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    3.498506] pci 0000:00:00.0: PCI bridge to [bus 01]
[    3.508406] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    3.521934] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    3.535466] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    3.549866] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff]
[    3.563405] pci 0000:00:01.0: PCI bridge to [bus 02]
[    3.573298] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    3.586825] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    3.600356] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    3.615348] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[    3.630162] UBI: auto-attach mtd3
[    3.636847] ubi0: attaching mtd3
[    3.923256] ubi0: scanning is finished
[    3.947133] ubi0: attached mtd3 (name "ubi", size 28 MiB)
[    3.957945] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.971649] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.985172] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.999042] ubi0: good PEBs: 220, bad PEBs: 4, corrupted PEBs: 0
[    4.011009] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    4.025402] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1609112511
[    4.043604] ubi0: available PEBs: 0, total reserved PEBs: 220, PEBs reserved for bad PEB handling: 16
[    4.061998] ubi0: background thread "ubi_bgt0d" started, PID 454
[    4.069210] block ubiblock0_0: created from ubi0:0(rootfs)
[    4.084951] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    4.098837] hctosys: unable to open rtc device (rtc0)
[    4.116176] VFS: Mounted root (squashfs filesystem) readonly on device 259:0.
[    4.134557] Freeing unused kernel memory: 1252K
[    4.143636] This architecture does not have kernel memory protection.
[    4.156463] Run /sbin/init as init process
[    4.199120] random: fast init done
[    4.629448] init: Console is alive
[    4.636476] init: - watchdog -
[    5.412397] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.513635] usbcore: registered new interface driver usbfs
[    5.524733] usbcore: registered new interface driver hub
[    5.535460] usbcore: registered new device driver usb
[    5.560661] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.579634] init: - preinit -
[    6.335071] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    6.351194] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    6.368572] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.554386] random: jshn: uninitialized urandom read (4 bytes read)
[    6.672703] random: jshn: uninitialized urandom read (4 bytes read)
[    6.707476] random: jshn: uninitialized urandom read (4 bytes read)
[    6.911188] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    6.924828] 8021q: adding VLAN 0 to HW filter on device lan1
[   11.164263] UBIFS (ubi0:1): Mounting in unauthenticated mode
[   11.175788] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 578
[   11.259271] UBIFS (ubi0:1): recovery needed
[   11.453234] UBIFS (ubi0:1): recovery completed
[   11.462234] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   11.477831] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   11.497576] UBIFS (ubi0:1): FS size: 21078016 bytes (20 MiB, 166 LEBs), journal size 1015809 bytes (0 MiB, 8 LEBs)
[   11.518183] UBIFS (ubi0:1): reserved for root: 995566 bytes (972 KiB)
[   11.531019] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID C6A4037D-B0B0-4663-BD6C-9AFF40588098, small LPT model
[   11.569131] mount_root: switching to ubifs overlay
[   11.595957] urandom-seed: Seeding with /etc/urandom.seed
[   11.765833] procd: - early -
[   11.771721] procd: - watchdog -
[   12.379375] procd: - watchdog -
[   12.388342] procd: - ubus -
[   12.459882] procd: - init -
[   13.169190] kmodloader: loading kernel modules from /etc/modules.d/*
[   13.232256] Loading modules backported from Linux version v5.10.16-0-gde53befa79cf
[   13.247377] Backport generated by backports.git v5.10.16-1-0-g21d2a1d2
[   13.318238] xt_time: kernel timezone is -0000
[   13.377596] urngd: v1.0.2 started.
[   13.484346] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=20
[   13.495178] pci 0000:00:01.0: enabling device (0004 -> 0007)
[   13.506506] mt7603e 0000:02:00.0: enabling device (0000 -> 0002)
[   13.518705] mt7603e 0000:02:00.0: ASIC revision: 76030010
[   13.576328] random: crng init done
[   13.583135] random: 7 urandom warning(s) missed due to ratelimiting
[   14.148696] mt7603e 0000:02:00.0: Firmware Version: ap_pcie
[   14.159867] mt7603e 0000:02:00.0: Build Time: 20160107100755
[   14.195266] mt7603e 0000:02:00.0: firmware init done
[   14.382380] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.465260] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=18
[   14.476152] pci 0000:00:00.0: enabling device (0004 -> 0007)
[   14.487463] mt76x2e 0000:01:00.0: enabling device (0000 -> 0002)
[   14.499716] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[   15.100161] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
[   15.118144] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[   15.129140] mt76x2e 0000:01:00.0: Build: 1
[   15.137412] mt76x2e 0000:01:00.0: Build Time: 201507311614____
[   15.163402] mt76x2e 0000:01:00.0: Firmware running!
[   15.175128] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   15.211983] PPP generic driver version 2.4.2
[   15.222213] NET: Registered protocol family 24
[   15.258953] kmodloader: done loading kernel modules from /etc/modules.d/*
[   22.713658] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   22.741566] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   22.759129] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   22.766735] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   22.789706] 8021q: adding VLAN 0 to HW filter on device lan1
[   22.804591] br-lan: port 1(lan1) entered blocking state
[   22.815149] br-lan: port 1(lan1) entered disabled state
[   22.835482] device lan1 entered promiscuous mode
[   22.844838] device eth0 entered promiscuous mode
[   22.859793] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   22.885938] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   22.900198] 8021q: adding VLAN 0 to HW filter on device lan2
[   22.922694] br-lan: port 2(lan2) entered blocking state
[   22.933241] br-lan: port 2(lan2) entered disabled state
[   22.946267] device lan2 entered promiscuous mode
[   22.966512] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   22.999138] 8021q: adding VLAN 0 to HW filter on device lan3
[   23.017738] br-lan: port 3(lan3) entered blocking state
[   23.028367] br-lan: port 3(lan3) entered disabled state
[   23.083123] device lan3 entered promiscuous mode
[   23.104261] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   23.120338] 8021q: adding VLAN 0 to HW filter on device lan4
[   23.135141] br-lan: port 4(lan4) entered blocking state
[   23.145722] br-lan: port 4(lan4) entered disabled state
[   23.157970] device lan4 entered promiscuous mode
[   25.016009] br-lan: port 5(wlan0) entered blocking state
[   25.026756] br-lan: port 5(wlan0) entered disabled state
[   25.037963] device wlan0 entered promiscuous mode
[   25.715599] br-lan: port 6(wlan1) entered blocking state
[   25.726273] br-lan: port 6(wlan1) entered disabled state
[   25.737570] device wlan1 entered promiscuous mode
[   25.747433] br-lan: port 6(wlan1) entered blocking state
[   25.758073] br-lan: port 6(wlan1) entered listening state
[   26.011551] br-lan: port 6(wlan1) entered disabled state
[   27.099911] mt7530 mdio-bus:1f lan3: Link is Up - 1Gbps/Full - flow control rx/tx
[   27.115201] br-lan: port 3(lan3) entered blocking state
[   27.125766] br-lan: port 3(lan3) entered listening state
[   29.275253] br-lan: port 3(lan3) entered learning state
[   31.153066] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   31.166104] br-lan: port 6(wlan1) entered blocking state
[   31.176790] br-lan: port 6(wlan1) entered listening state
[   31.291260] br-lan: port 3(lan3) entered forwarding state
[   31.302029] br-lan: topology change detected, propagating
[   31.313602] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   31.669584] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   31.682780] br-lan: port 5(wlan0) entered blocking state
[   31.693472] br-lan: port 5(wlan0) entered listening state
[   33.371270] br-lan: port 6(wlan1) entered learning state
[   33.883254] br-lan: port 5(wlan0) entered learning state
[   35.387259] br-lan: port 6(wlan1) entered forwarding state
[   35.398200] br-lan: topology change detected, propagating
[   35.899252] br-lan: port 5(wlan0) entered forwarding state
[   35.910185] br-lan: topology change detected, propagating
[   97.659766] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
[   97.674752] br-lan: port 2(lan2) entered blocking state
[   97.685231] br-lan: port 2(lan2) entered listening state
[   99.931274] br-lan: port 2(lan2) entered learning state
[  101.947282] br-lan: port 2(lan2) entered forwarding state
root@wac104:~# uname -a
Linux wac104 5.4.102 #0 SMP Sat Mar 6 19:23:48 2021 mips GNU/Linux
root@wac104:~# cat /proc/cpuinfo 
system type		: MediaTek MT7621 ver:1 eco:3
machine			: Netgear WAC104
processor		: 0
cpu model		: MIPS 1004Kc V2.15
BogoMIPS		: 581.63
wait instruction	: yes
microsecond timers	: yes
tlb_entries		: 32
extra interrupt vector	: yes
hardware watchpoint	: yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa			: mips1 mips2 mips32r1 mips32r2
ASEs implemented	: mips16 dsp mt
Options implemented	: tlb 4kex 4k_cache prefetch mcheck ejtag llsc pindexed_dcache userlocal vint perf_cntr_intr_bit cdmm perf
shadow register sets	: 1
kscratch registers	: 0
package			: 0
core			: 0
VPE			: 0
VCED exceptions		: not available
VCEI exceptions		: not available

processor		: 1
cpu model		: MIPS 1004Kc V2.15
BogoMIPS		: 581.63
wait instruction	: yes
microsecond timers	: yes
tlb_entries		: 32
extra interrupt vector	: yes
hardware watchpoint	: yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa			: mips1 mips2 mips32r1 mips32r2
ASEs implemented	: mips16 dsp mt
Options implemented	: tlb 4kex 4k_cache prefetch mcheck ejtag llsc pindexed_dcache userlocal vint perf_cntr_intr_bit cdmm perf
shadow register sets	: 1
kscratch registers	: 0
package			: 0
core			: 0
VPE			: 1
VCED exceptions		: not available
VCEI exceptions		: not available

I just hope I did not forget any relevant details. The testing I made was more thorough but I did not really what would be more relevant to you. Please let me know if you need more details or if my bug report approach is not relevant enough to see the problem.

01.03.20213656Base systemBug ReportVery LowCriticalDGND3700 v2 - Boot loopopenwrt-19.07Unconfirmed Task Description

Boot

06.02.20213607ToolchainBug ReportVery LowCriticalfakeroot fails to build from source with glibc 2.33TrunkUnconfirmed Task Description

Some distributions (Arch, Fedora) ship glibc 2.33

tools/fakeroot will not compile / may not compile because

error: ‘_STAT_VER’ undeclared

and multiple other errors - Distros might patch /revert the change to glibc or fakeroot has to be patched

related fedora bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1901049 https://bugzilla.redhat.com/show_bug.cgi?id=1889862

quote from ticket: “fakeroot needs to be enhanced to intercept all new glibc interfaces. The build failure merely obscures the larger issues.”

This error is critical since fakeroot is a requirement by the build system and not optional

20.01.20213581KernelBug ReportVery LowCriticalUpload speed regression when connected 100Mbps Lan cabl...openwrt-19.07Unconfirmed Task Description

OpenWRT 19.07.6 And Trunk

When connected 100 Mbps cable into WAN port i have upload speed regression (Speedtest and iperf3)

Regression on 1 Gbs Lan, 2.4 and 5GHz clients. If i changed lan port on lan card to 100Mbs FD - no regression оn this client, but i see it on other 1Gbs lan cliens and wireless.

There is no upload speed regression when connected 1Gbs cable into Wan port. There is no probem on stock firmware

Rus.

Деградация скорости отдачи на проводных гигабитных клиентах и на Wifi ,если в Wan порт подключен 100 мегабитный кабель. Если на конкретном проводном клиенте переключить порт на 100 Мбит полный дуплекс-регрессия на нем пропадает, но сохраняется на Wifi.
Деградация скорости не наблюдается при подключении гигабитного кабеля в Wan порт. На стоке проблемы нет.


11.01.20213571KernelBug ReportVery LowCriticalKernel Drops Packets and causes heavy re-transmissionopenwrt-19.07Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on - Netgear R6220
- Software versions of OpenWrt/LEDE release, packages, etc - OpenWrt 19.07.04 & 19.07.05, mt7621
- Steps to reproduce - No Specific steps to reproduce the problem. Problem automatically starts occurring after a few weeks of usage. Upon running tcpdump on the bridged lan interface where majority of my clients are connected, many packets were dropped by the Kernel which caused many re-transmissions.

root@OpenWrt:~# tcpdump -i br-lan -w /mnt/sda1/tcpdump/tcpdump.pcap
tcpdump: listening on br-lan, link-type EN10MB (Ethernet), capture size 262144 bytes

39397 packets received by filter
14785 packets dropped by kernel
root@OpenWrt:~#

During the tcpdump packet capture, all I tried doing was browse various web pages from one client and do a speedtest from another client. The web pages would either never load and load after several re-attempts. Speedtest would fail to complete and error out.

08.01.20213565KernelBug ReportVery LowCritical19.07.5 wifi for WRT1900AC v1 regressionopenwrt-19.07Unconfirmed Task Description

Device problem occurs on: Supply the following if possible:
Software versions of OpenWrt/LEDE release: OpenWrt 19.07.5, r11257-5090152ae3
WiFi dies every now and then, I had to roll back to 19.07.4.

[ 757.192788] wlan1: failed to remove key (0, 98:09:cf:ae:1d:1e) from hardware (-5)
[ 757.212705] ieee80211 phy1: MACREG_REG_INT_CODE: 0×0000 [ 777.284194] ieee80211 phy1: cmd 0×9122=UpdateEncryption timed out
[ 777.290372] ieee80211 phy1: return code: 0×1122 [ 777.294925] ieee80211 phy1: timeout: 0×1122 [ 777.299158] wlan1: failed to remove key (0, 54:60:09:fd:b0:72) from hardware (-5)
[ 777.324342] ieee80211 phy1: MACREG_REG_INT_CODE: 0×0000

kernel log in attachment

29.12.20203544Base systemBug ReportVery LowCritical5GHz band of several ath10k devices are completely unus...TrunkUnconfirmed Task Description

- Device: Custom router board with mini PCIE slots
- Software version: OpenWrt SNAPSHOT r0-7e4585e
- Steps to reproduce:
* Git clone https://github.com/openwrt/openwrt then build with default configuration + enable ath10k & fw.
* Install an ath10k card (tested: QCA9880, QCA6174) on router board, and flash image to device.
* Run `iw list` and every 5GHz band is disabled.

Changing country code via LuCI and `iw reg set` won’t help.

Using ath10k-ct won’t help as well.

ath9k is not affected.

Logs are in attachments.

16.11.20203457KernelBug ReportVery LowCriticalipq40xx: NBG6617/B-1300 using VLANs is incredibly slow ...openwrt-19.07Unconfirmed Task Description

The listed config below is running fine on 19.07 till 19.07.3. From 19.07.4 on the throughput to peers on the tagged VLANs falls below 10Mbit/s. Seems there is some regression introduced on 19.07.4.

Sample config:

config interface 'ff_dhcp'
	option proto 'static'
	option ifname 'eth0.30'
	option ipaddr '10.36.164.65/27'

config interface 'mgmt'
	option proto 'static'
	option ifname 'eth0.42'
	option ipaddr '10.36.190.177/28'

config switch_vlan
	option device 'switch0'
	option vlan '30'
	option ports '0t 3 4'

config switch_vlan
	option device 'switch0'
	option vlan '42'
	option ports '0t 3t 4t'

* Note:
As essedma has some bugs i cannot use switchport, which is hardcoded to VLAN2. But i’m fine with just leaving it as it is.

23.10.20203402Base systemBug ReportVery LowCriticalRUT955: Seriously brokenTrunkUnconfirmed Task Description

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

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

 


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

Just flashed 19.07.4 on Kingston MLWG2.

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

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

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

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

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

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

3. Device now works great

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

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

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

 


28.09.20203365Base systemBug ReportVery LowCriticalaccess USB storage in LEDE for Talon AD7200TrunkUnconfirmed Task Description

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

Several ways I have tried:

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

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

Let me know if any solution

Best.

17.09.20203345Base systemBug ReportVery LowCriticalWifi off TrunkUnconfirmed Task Description

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

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

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

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

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

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

Just by reinstalling ip the issue was solved.

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

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

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

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

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

Problem with JFFS.

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

root@OpenWrt:~# free
              total        used        free      shared  buff/cache   available
Mem:          28276       14008        5224         344        9044       11872
Swap:             0           0           0
#here I added the password and turned on the WiFi network - the free RAM decreased
root@OpenWrt:~# free
              total        used        free      shared  buff/cache   available
Mem:          28276       15632        3496         368        9148       10236
Swap:             0           0           0
root@OpenWrt:~#
09.08.20203280Base systemBug ReportVery LowCriticalWan interface and sometimes lan interfaces randomly go ...TrunkUnconfirmed Task Description

- Versions where bug is present: OpenWRT snapshots, tested with r13938 and r18039.

- Affected device: D-Link DIR-878 and likely others from its family.

- What does it do and shouldn’t do: the ethernet interfaces randomly get switched on/off, dropping the link and resetting the connection. Troubleshooting has already been thoroughly conducted to rule out other causes, see below. This is critical severity because makes OpenWRT unusable in these devices.

- Steps to reproduce:
– flash the snapshot image on a D-Link DIR-878;
– configure the WAN (tested with PPPoE and DHCP protocols) and LAN interfaces (tested with Static and DHCP protocols) - using all interfaces will increase the likelihood that at least one of them will present the behaviour;
– wait an indefinite but reasonable (< 2h for all instances so far) amount of time;
– the interface will randomly be put down and then up a couple seconds later, and it will be randomly looping up/down states at random amounts of time.

- Troubleshooting already conducted: full and detailed troubleshooting history is present at this forum thread. Please let me know if I can provide further information.

- Additional info: some people are having WiFi issues with MT7621 family devices that might be related to this one if they share a common cause, such as a possible race condition in the drivers;

02.08.20203264Base systemBug ReportVery LowCriticalR7800 router crashes when Macbook Air joins the networkTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Netgear R7800 Router, Macbook Air 11” Mid-2013, Macbook Air 13” 2017
- Software versions of OpenWrt/LEDE release: LuCI branch git-20.201.65700-7edd635
- Steps to reproduce: I join the device to the network with either ethernet or wifi and the router would shortly crash. I simply reboot the router and connect the macbook via ethernet or wifi after the router is up. I would then run a speedtest (it’s not related to any particular activity, but I just use speedtest.net as a control)
- Attempts at trying to remedy issue: I tried disabling IPv6 on the router and macbooks. I signed out of icloud. I updated Macbooks to MacOS Catalina. I tried flashing router to latest stable release 19.07.3. The network only dies when these Macbook Airs connect to the network, all other devices don’t have any issues. Prior to this router, I had a Netgear AC1900 (R7000) running DD-WRT which never had this issue.

External logs captured before crash:
8/2/2020 14:14 Alert 192.168.1.1 [ 189.332615] 8←– cut here — 8/2/2020 14:14 Alert 192.168.1.1 [ 189.332636] Unable to handle kernel NULL pointer dereference at virtual address 0000000c
8/2/2020 14:14 Alert 192.168.1.1 [ 189.334560] pgd = eb7a8104
8/2/2020 14:14 Alert 192.168.1.1 [ 189.342856] [0000000c] *pgd=00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.345391] Internal error: Oops: 17 [#1] SMP ARM
8/2/2020 14:14 Warning 192.168.1.1 [ 189.349049] Modules linked in: ksmbd ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath qmi_wwan pppox ppp_generic mac80211 iptable_nat ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_policy xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_geoip xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_MASQUERADE xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY wireguard usbnet ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda slhc sch_cake nf_reject_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack_netlink nf_conncount iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt compat cdc_wdm fuse act_connmark nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall
8/2/2020 14:14 Warning 192.168.1.1 [ 189.349149] cls_fw cls_flow cls_basic act_skbedit act_mirred ledtrig_usbport ledtrig_heartbeat xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac 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 ip6_gre ip_gre gre ifb ip6_udp_tunnel udp_tunnel sit ipcomp6 xfrm6_tunnel esp6 ah6 xfrm4_tunnel ipcomp esp4 ah4 ip6_tunnel tunnel6 tunnel4 ip_tunnel tun xfrm_user xfrm_ipcomp af_key xfrm_algo vfat fat autofs4 nls_utf8 nls_iso8859_1 nls_cp437 rfkill sha512_generic sha1_generic seqiv md5 md4 ghash_generic gf128mul gcm echainiv ecb des_generic libdes ctr cmac ccm cbc authenc arc4 uas usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom ohci_platform ohci_hcd phy_qcom_dwc3 ahci
8/2/2020 14:14 Warning 192.168.1.1 [ 189.418843] fsl_mph_dr_of ehci_platform ehci_fsl sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug f2fs ext4 mbcache jbd2 exfat(C) crc32c_generic crc32_generic
8/2/2020 14:14 Warning 192.168.1.1 [ 189.528411] CPU: 0 PID: 5 Comm: kworker/0:0 Tainted: G C 5.4.52 #0
8/2/2020 14:14 Warning 192.168.1.1 [ 189.546362] Hardware name: Generic DT based system
8/2/2020 14:14 Warning 192.168.1.1 [ 189.553873] Workqueue: ksmbd-io handle_ksmbd_work [ksmbd]
8/2/2020 14:14 Warning 192.168.1.1 [ 189.558534] PC is at ksmbd_free_user+0xc/0×38 [ksmbd]
8/2/2020 14:14 Warning 192.168.1.1 [ 189.564001] LR is at smb_session_disconnect+0×40/0xa4 [ksmbd]
8/2/2020 14:14 Warning 192.168.1.1 [ 189.569016] pc : [<bf9242e0>] lr : [<bf9402ac>] psr: 60000013
8/2/2020 14:14 Warning 192.168.1.1 [ 189.574745] sp : dd459ee0 ip : d83da240 fp : bf94f004
8/2/2020 14:14 Warning 192.168.1.1 [ 189.580820] r10: bf958234 r9 : 000001d0 r8 : bf957b58
8/2/2020 14:14 Warning 192.168.1.1 [ 189.586030] r7 : d83da200 r6 : 00000000 r5 : d69b2a00 r4 : 00000000
8/2/2020 14:14 Warning 192.168.1.1 [ 189.591238] r3 : d83da200 r2 : 00000003 r1 : 00000001 r0 : 00000000
8/2/2020 14:14 Warning 192.168.1.1 [ 189.597838] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
8/2/2020 14:14 Warning 192.168.1.1 [ 189.604348] Control: 10c5787d Table: 5eb7806a DAC: 00000051
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.611551] Process kworker/0:0 (pid: 5
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.617280] Stack: (0xdd459ee0 to 0xdd45a000)
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.623367] 9ee0: dcbcc480 bf9402ac d83da200 dcbcc480 dcbcc4dc 00000074 bf957b58 bf9290e4
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.627799] 9f00: dcddb704 dcde6400 c0c221cc dcbcc4dc dd40f500 dda09840 ff7e6500 00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.635957] 9f20: 00000000 00000000 dd458000 c033a684 00000008 dda09858 dd40f500 dd40f514
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.644116] 9f40: dda09840 00000008 dda09858 c0c03d00 dda09840 c033a948 c0c0c35c c0c0c318
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.652276] 9f60: dd41951c dd419500 dd419280 dd458000 dd41951c dd43bea4 dd40f500 c033a8f4
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.660436] 9f80: 00000000 c0340724 00000000 dd419280 c0340608 00000000 00000000 00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.668596] 9fa0: 00000000 00000000 00000000 c03010e8 00000000 00000000 00000000 00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.676755] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.684915] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
8/2/2020 14:14 Warning 192.168.1.1 [ 189.693179] [<bf9242e0>] (ksmbd_free_user [ksmbd]) from [<bf9402ac>] (smb_session_disconnect+0×40/0xa4 [ksmbd])
8/2/2020 14:14 Warning 192.168.1.1 [ 189.701271] [<bf9402ac>] (smb_session_disconnect [ksmbd]) from [<bf9290e4>] (handle_ksmbd_work+0x18c/0×500 [ksmbd])
8/2/2020 14:14 Warning 192.168.1.1 [ 189.711150] [<bf9290e4>] (handle_ksmbd_work [ksmbd]) from [<c033a684>] (process_one_work+0x1f8/0×468)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.721543] [<c033a684>] (process_one_work) from [<c033a948>] (worker_thread+0×54/0×588)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.730919] [<c033a948>] (worker_thread) from [<c0340724>] (kthread+0x11c/0×148)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.739077] [<c0340724>] (kthread) from [<c03010e8>] (ret_from_fork+0×14/0x2c)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.746448] Exception stack(0xdd459fb0 to 0xdd459ff8)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.753483] 9fa0: 00000000 00000000 00000000 00000000
8/2/2020 14:14 Warning 192.168.1.1 [ 189.758613] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
8/2/2020 14:14 Warning 192.168.1.1 [ 189.766769] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.774929] Code: eaffffd1 e52d4008 e1a04000 e58de004 (e590000c)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.781453] —[ end trace 469d54bcbf49ae73 ]—

Showing tasks 1 - 50 of 1430 Page 1 of 291 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing