Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3678 - Slow and inconsistent WiFi downloads/uploads on WAC104(MT7621) #8698

Open
openwrt-bot opened this issue Mar 10, 2021 · 0 comments
Open
Labels

Comments

@openwrt-bot
Copy link

julben:

  • 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=144096
[ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant