OpenWrt/LEDE Project

Welcome to the OpenWrt/LEDE Project bug reporting and issue tracking system

Problems to be reported here are for the OpenWrt/LEDE Project targets, sources, toolchain, core packages, build procedures, distribution and infrastructure. Guidelines for submitting a good bug report can be found at the OpenWrt/LEDE Project website. Problems related to LuCI or OpenWrt packages need to be reported in their repositories:

Notifications of all submissions and task changes are sent to lede-bugs@infradead.org.

OpenedIDCategoryTask TypePrioritySeveritySummaryReported InStatus
02.01.20213559Base systemBug ReportMediumLowuclient-fetch fails to download more than 2 filesAllNew Task Description

uclient-fetch has support for downloading several files:

uclient-fetch URL1 URL2 URL3 ...

However, this only works for the first two URLs. The third and above URLs simply cause uclient-fetch to re-download the second URL again.

In addition, only the first URL is checked for validity. If a subsequent URL is invalid, then the previous URL is re-used:

uclient-fetch http://example.com invalid

This example will download http://example.com twice.

01.01.20213552Base systemBug ReportMediumLowLinksys RE6500 bootloops with latest snapshotsTrunkNew Task Description

The RE6500 was working fine on an old 19.07 snapshot: OpenWrt 19.07-SNAPSHOT r10578-b3d70f628b

I sysupgraded to latest snapshot and it does not come up. Judging from the LEDs, it seems to bootloop.

Booting the latest snapshot initramfs through TFTP works. I sysupgraded again from the initramfs, and it still bootloops.

Possibly related to FS#3539. I will try to get a serial output to see what happens.

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

OpenWrt version: r14723-7f5f738466

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

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

This is extremely annoying and should be fixed.

08.05.20203070Base systemBug ReportMediumLowkmod-cryptodev: WARNING: possible circular locking depe...TrunkNew Task Description

OpenWrt master r13174-73fa1aba94 on octeon with kernel 5.4

[   70.971145] 
[   70.972662] ======================================================
[   70.978843] WARNING: possible circular locking dependency detected
[   70.985029] 5.4.39 #0 Not tainted
[   70.988348] ------------------------------------------------------
[   70.994531] unbound/2895 is trying to acquire lock:
[   70.999414] 800000041baeb868 (&pcr->fcrypt.sem){+.+.}, at: crypto_get_session_by_sid+0x40/0x12b8 [cryptodev]
[   71.009267] 
[   71.009267] but task is already holding lock:
[   71.015103] 800000041b911468 (&ses_new->sem){+.+.}, at: crypto_get_session_by_sid+0xbc/0x12b8 [cryptodev]
[   71.024691] 
[   71.024691] which lock already depends on the new lock.
[   71.024691] 
[   71.032866] 
[   71.032866] the existing dependency chain (in reverse order) is:
[   71.040347] 
[   71.040347] -> #1 (&ses_new->sem){+.+.}:
[   71.045773]        lock_acquire+0xe0/0x220
[   71.049888]        __mutex_lock+0x94/0x628
[   71.054001]        crypto_get_session_by_sid+0xbc/0x12b8 [cryptodev]
[   71.060365]        crypto_get_session_by_sid+0x1e4/0x12b8 [cryptodev]
[   71.066806]
[   71.066806] -> #0 (&pcr->fcrypt.sem){+.+.}:
[   71.072485]        check_noncircular+0x1a8/0x260
[   71.077110]        __lock_acquire+0x12f8/0x19f8
[   71.081648]        lock_acquire+0xe0/0x220
[   71.085754]        __mutex_lock+0x94/0x628
[   71.089862]        crypto_get_session_by_sid+0x40/0x12b8 [cryptodev]
[   71.096226]        crypto_get_session_by_sid+0x6cc/0x12b8 [cryptodev]
[   71.102666]
[   71.102666] other info that might help us debug this:
[   71.102666]
[   71.110668]  Possible unsafe locking scenario:
[   71.110668]
[   71.116588]        CPU0                    CPU1
[   71.121119]        ----                    ----
[   71.125650]   lock(&ses_new->sem);
[   71.129058]                                lock(&pcr->fcrypt.sem);
[   71.135242]                                lock(&ses_new->sem);
[   71.141165]   lock(&pcr->fcrypt.sem);
[   71.144834]
[   71.144834]  *** DEADLOCK ***
[   71.144834]
[   71.150756] 1 lock held by unbound/2895:
[   71.154681]  #0: 800000041b911468 (&ses_new->sem){+.+.}, at: crypto_get_session_by_sid+0xbc/0x12b8 [cryptodev]
[   71.164700]
[   71.164700] stack backtrace:
[   71.169067] CPU: 1 PID: 2895 Comm: unbound Not tainted 5.4.39 #0
[   71.175075] Stack : ffffffff82790000 0000000000000000 0000000010108ce0 ed34220aed96997f
[   71.183091]         ed34220aed96997f 0000000000000000 800000041bb976f8 ffffffff837d0000
[   71.191106]         0000000000000000 0000000000000001 0000000000000000 ffffffff811ac4bc
[   71.199118]         6e626f756e64204e 0000000000000000 ffffffffffffffff 0000000000000010
[   71.207132]         0000000000000000 ffffffff81b40000 fffe000000000000 ffffffff81bc0000
[   71.215145]         0000000000000000 0000000000000000 ffffffff81b40000 0000000000000000
[   71.223158]         800000041f2e6200 0000000000000000 ffffffff81597628 1e00000010734ac7
[   71.231173]         0000000000000001 800000041bb94000 800000041bb976f0 47500c0a872e7996
[   71.239186]         ffffffff81865d8c 0000000000000000 800000041bb97828 ed34220aed96997f
[   71.247198]         ffffffff81b40bf7 ffffffff81865c54 ffffffff8111d4c8 ffffffff81a42a50
[   71.255213]         ...
[   71.257668] Call Trace:
[   71.260136] [<ffffffff8111d4c8>] show_stack+0x40/0x128
[   71.265288] [<ffffffff81865d8c>] dump_stack+0xe4/0x150
[   71.270444] [<ffffffff8119fb58>] check_noncircular+0x1a8/0x260
[   71.276289] [<ffffffff811a2d38>] __lock_acquire+0x12f8/0x19f8
[   71.282046] [<ffffffff811a3d80>] lock_acquire+0xe0/0x220
[   71.287374] [<ffffffff8188532c>] __mutex_lock+0x94/0x628
[   71.292706] [<ffffffffc02a7638>] crypto_get_session_by_sid+0x40/0x12b8 [cryptodev]
[   71.300290] [<ffffffffc02a7cc4>] crypto_get_session_by_sid+0x6cc/0x12b8 [cryptodev]
21.12.20192690Base systemBug ReportMediumMediumImagebuilder: "opkg_install_pkg: Package size mismatch"...AllNew Task Description

The Imagebuilder fails in the following situation:

  • download and unpack the imagebuilder
  • build an image: it works
  • wait a few days/weeks
  • try to build an image again with the same imagebuilder: it fails

It fails quite late during building with lots of errors like this:

   opkg_install_pkg: Package size mismatch: libubox is 19365 bytes, expecting 19361 bytes
   opkg_install_cmd: Cannot install package luci.
   opkg_install_pkg: Package size mismatch: libuci is 15454 bytes, expecting 15461 bytes
   opkg_install_cmd: Cannot install package base-files.
   opkg_install_pkg: Package size mismatch: busybox is 212951 bytes, expecting 212973 bytes
   opkg_install_cmd: Cannot install package busybox.

This happens with stable releases (18.06.5), RC releases (19.07.0-rc2), and with several targets.

It looks like package sizes are somehow kept in a local cache during the first build, and are not updated when building again a few days later. This is strange because the imagebuilder seems to fetch new versions of the Packages.gz files.

Below is the full log.

  $ make image PROFILE=rb-nor-flash-16M"" BIN_DIR="${IMAGEBUILDER_DIR}" EXTRA_IMAGE_NAME="rzn" FILES="files/" PACKAGES="luci luci-mod-admin-full luci-i18n-base-en luci-i18n-base-fr luci-i18n-firewall-fr -ppp -ppp-mod-pppoe -kmod-ppp -kmod-pppoe -kmod-pppox"
  
  Building images for ar71xx - MikroTik RouterBoard (16 MB SPI NOR)
  Packages: luci luci-mod-admin-full luci-i18n-base-en luci-i18n-base-fr luci-i18n-firewall-fr base-files busybox dnsmasq dropbear firewall fstools ip6tables iptables kernel kmod-ath9k kmod-gpio-button-hotplug kmod-ledtrig-gpio libc libgcc logd mtd netifd odhcp6c odhcpd-ipv6only opkg rbcfg rssileds swconfig uboot-envtools uci uclient-fetch wpad-mini
  
  Downloading http://downloads.openwrt.org/releases/18.06.5/targets/ar71xx/mikrotik/packages/Packages.gz
  Updated list of available packages in /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/build_dir/target-mips_24kc_musl/root-ar71xx/../../../../../../../../../home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/openwrt_core
  Downloading http://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/base/Packages.gz
  Updated list of available packages in /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/build_dir/target-mips_24kc_musl/root-ar71xx/../../../../../../../../../home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/openwrt_base
  Downloading http://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/luci/Packages.gz
  Updated list of available packages in /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/build_dir/target-mips_24kc_musl/root-ar71xx/../../../../../../../../../home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/openwrt_luci
  Downloading http://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/packages/Packages.gz
  Updated list of available packages in /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/build_dir/target-mips_24kc_musl/root-ar71xx/../../../../../../../../../home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/openwrt_packages
  Downloading http://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/routing/Packages.gz
  Updated list of available packages in /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/build_dir/target-mips_24kc_musl/root-ar71xx/../../../../../../../../../home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/openwrt_routing
  Downloading http://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/telephony/Packages.gz
  Updated list of available packages in /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/build_dir/target-mips_24kc_musl/root-ar71xx/../../../../../../../../../home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/openwrt_telephony
  Downloading file:packages/Packages
  Updated list of available packages in /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/build_dir/target-mips_24kc_musl/root-ar71xx/../../../../../../../../../home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/imagebuilder
  
  Installing packages...
  Installing libc (1.1.19-2) to root...
  Installing libgcc (7.3.0-2) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/libgcc_7.3.0-2_mips_24kc.ipk.
  Configuring libgcc.
  Configuring libc.
  Installing kernel (4.9.198-1-3ba2e8c5db2fc4389b537731cf37120c) to root...
  Configuring kernel.
  Installing luci (git-19.353.67991-868abc1-1) to root...
  Downloading http://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/luci/luci_git-19.353.67991-868abc1-1_all.ipk
  Installing libubox (2018-07-25-c83a84af-2) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/libubox_2018-07-25-c83a84af-2_mips_24kc.ipk.
  Installing luci-mod-admin-full (git-19.353.67991-868abc1-1) to root...
  Downloading http://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/luci/luci-mod-admin-full_git-19.353.67991-868abc1-1_mips_24kc.ipk
  Installing luci-i18n-base-en (git-19.353.67991-868abc1-1) to root...
  Downloading http://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/luci/luci-i18n-base-en_git-19.353.67991-868abc1-1_all.ipk
  Installing luci-base (git-19.353.67991-868abc1-1) to root...
  Downloading http://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/luci/luci-base_git-19.353.67991-868abc1-1_mips_24kc.ipk
  Installing luci-i18n-base-fr (git-19.353.67991-868abc1-1) to root...
  Downloading http://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/luci/luci-i18n-base-fr_git-19.353.67991-868abc1-1_all.ipk
  Installing luci-i18n-firewall-fr (git-19.353.67991-868abc1-1) to root...
  Downloading http://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/luci/luci-i18n-firewall-fr_git-19.353.67991-868abc1-1_all.ipk
  Installing luci-app-firewall (git-19.353.67991-868abc1-1) to root...
  Downloading http://downloads.openwrt.org/releases/18.06.5/packages/mips_24kc/luci/luci-app-firewall_git-19.353.67991-868abc1-1_all.ipk
  Installing base-files (194.2-r7897-9d401013fc) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/base-files_194.2-r7897-9d401013fc_mips_24kc.ipk.
  Installing libuci (2019-05-17-f199b961-1) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/libuci_2019-05-17-f199b961-1_mips_24kc.ipk.
  Installing busybox (1.28.4-3) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/busybox_1.28.4-3_mips_24kc.ipk.
  Installing dnsmasq (2.80-1.4) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/dnsmasq_2.80-1.4_mips_24kc.ipk.
  Installing dropbear (2017.75-7.1) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/dropbear_2017.75-7.1_mips_24kc.ipk.
  Installing firewall (2018-08-13-1c4d5bcd-1) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/firewall_2018-08-13-1c4d5bcd-1_mips_24kc.ipk.
  Installing fstools (2019-03-28-ff1ded63-5) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/fstools_2019-03-28-ff1ded63-5_mips_24kc.ipk.
  Installing ip6tables (1.6.2-3) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/ip6tables_1.6.2-3_mips_24kc.ipk.
  Installing kmod-nf-reject6 (4.9.198-1) to root...
  Downloading file:packages/kmod-nf-reject6_4.9.198-1_mips_24kc.ipk
  Installing kmod-nf-ipt (4.9.198-1) to root...
  Downloading file:packages/kmod-nf-ipt_4.9.198-1_mips_24kc.ipk
  Installing kmod-nf-ipt6 (4.9.198-1) to root...
  Downloading file:packages/kmod-nf-ipt6_4.9.198-1_mips_24kc.ipk
  Installing kmod-ipt-core (4.9.198-1) to root...
  Downloading file:packages/kmod-ipt-core_4.9.198-1_mips_24kc.ipk
  Installing kmod-ip6tables (4.9.198-1) to root...
  Downloading file:packages/kmod-ip6tables_4.9.198-1_mips_24kc.ipk
  Installing libip4tc (1.6.2-3) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/libip4tc_1.6.2-3_mips_24kc.ipk.
  Installing libip6tc (1.6.2-3) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/libip6tc_1.6.2-3_mips_24kc.ipk.
  Installing libxtables (1.6.2-3) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/libxtables_1.6.2-3_mips_24kc.ipk.
  Installing iptables (1.6.2-3) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/iptables_1.6.2-3_mips_24kc.ipk.
  Package iptables (1.6.2-3) installed in root is up to date.
  Package kernel (4.9.198-1-3ba2e8c5db2fc4389b537731cf37120c) installed in root is up to date.
  Installing kmod-ath9k (4.9.198+2017-11-01-10) to root...
  Downloading file:packages/kmod-ath9k_4.9.198%2b2017-11-01-10_mips_24kc.ipk
  Installing libnl-tiny (0.1-5) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/libnl-tiny_0.1-5_mips_24kc.ipk.
  Installing kmod-gpio-button-hotplug (4.9.198-2) to root...
  Downloading file:packages/kmod-gpio-button-hotplug_4.9.198-2_mips_24kc.ipk
  Installing kmod-ledtrig-gpio (4.9.198-1) to root...
  Downloading file:packages/kmod-ledtrig-gpio_4.9.198-1_mips_24kc.ipk
  Package libc (1.1.19-2) installed in root is up to date.
  Package libgcc (7.3.0-2) installed in root is up to date.
  Installing logd (2018-02-14-128bc35f-2) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/logd_2018-02-14-128bc35f-2_mips_24kc.ipk.
  Installing mtd (23) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/mtd_23_mips_24kc.ipk.
  Installing libubox (2018-07-25-c83a84af-2) to root...
  Installing netifd (2019-01-31-a2aba5c7-2.1) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/netifd_2019-01-31-a2aba5c7-2.1_mips_24kc.ipk.
  Installing odhcp6c (2018-07-14-67ae6a71-15) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/odhcp6c_2018-07-14-67ae6a71-15_mips_24kc.ipk.
  Installing odhcpd-ipv6only (1.15-3) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/odhcpd-ipv6only_1.15-3_mips_24kc.ipk.
  Installing opkg (2019-06-14-dcbc142e-1) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/opkg_2019-06-14-dcbc142e-1_mips_24kc.ipk.
  Installing rbcfg (2) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/rbcfg_2_mips_24kc.ipk.
  Installing rssileds (0.2-1) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/rssileds_0.2-1_mips_24kc.ipk.
  Installing swconfig (11) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/swconfig_11_mips_24kc.ipk.
  Installing uboot-envtools (2018.03-1) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/uboot-envtools_2018.03-1_mips_24kc.ipk.
  Installing uci (2019-05-17-f199b961-1) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/uci_2019-05-17-f199b961-1_mips_24kc.ipk.
  Installing uclient-fetch (2018-11-24-3ba74ebc-1) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/uclient-fetch_2018-11-24-3ba74ebc-1_mips_24kc.ipk.
  Installing wpad-mini (2018-05-21-62566bc2-8) to root...
  Copying /home/foo/doc/openwrt_imagebuilder/openwrt-imagebuilder-18.06.5-ar71xx-mikrotik.Linux-x86_64/dl/wpad-mini_2018-05-21-62566bc2-8_mips_24kc.ipk.
  Configuring kmod-nf-reject6.
  Configuring uboot-envtools.
  Configuring kmod-ledtrig-gpio.
  Configuring rbcfg.
  Configuring luci-app-firewall.
  Configuring kmod-nf-ipt.
  Configuring libxtables.
  Configuring libip4tc.
  Configuring kmod-nf-ipt6.
  Configuring kmod-ipt-core.
  Configuring kmod-ip6tables.
  Configuring fstools.
  Configuring libip6tc.
  Configuring luci-base.
  Configuring luci-mod-admin-full.
  Configuring kmod-gpio-button-hotplug.
  Configuring luci-i18n-firewall-fr.
  Configuring iptables.
  Configuring ip6tables.
  Configuring luci-i18n-base-en.
  Configuring luci-i18n-base-fr.
  Collected errors:
   * opkg_install_pkg: Package size mismatch: libubox is 19365 bytes, expecting 19361 bytes
   * opkg_install_cmd: Cannot install package luci.
   * opkg_install_pkg: Package size mismatch: libuci is 15454 bytes, expecting 15461 bytes
   * opkg_install_cmd: Cannot install package base-files.
   * opkg_install_pkg: Package size mismatch: busybox is 212951 bytes, expecting 212973 bytes
   * opkg_install_cmd: Cannot install package busybox.
   * opkg_install_pkg: Package size mismatch: dnsmasq is 99783 bytes, expecting 99775 bytes
   * opkg_install_cmd: Cannot install package dnsmasq.
   * opkg_install_pkg: Package size mismatch: dropbear is 86613 bytes, expecting 86610 bytes
   * opkg_install_cmd: Cannot install package dropbear.
   * opkg_install_pkg: Package size mismatch: firewall is 40776 bytes, expecting 40777 bytes
   * opkg_install_cmd: Cannot install package firewall.
   * opkg_install_pkg: Package size mismatch: libnl-tiny is 12953 bytes, expecting 12948 bytes
   * opkg_install_cmd: Cannot install package kmod-ath9k.
   * opkg_install_pkg: Package size mismatch: logd is 10114 bytes, expecting 10111 bytes
   * opkg_install_cmd: Cannot install package logd.
   * opkg_install_pkg: Package size mismatch: libubox is 19365 bytes, expecting 19361 bytes
   * opkg_install_cmd: Cannot install package mtd.
   * opkg_install_pkg: Package size mismatch: netifd is 62005 bytes, expecting 62004 bytes
   * opkg_install_cmd: Cannot install package netifd.
   * opkg_install_pkg: Package size mismatch: odhcp6c is 23650 bytes, expecting 23646 bytes
   * opkg_install_cmd: Cannot install package odhcp6c.
   * opkg_install_pkg: Package size mismatch: odhcpd-ipv6only is 28830 bytes, expecting 28845 bytes
   * opkg_install_cmd: Cannot install package odhcpd-ipv6only.
   * opkg_install_pkg: Package size mismatch: opkg is 58890 bytes, expecting 58895 bytes
   * opkg_install_cmd: Cannot install package opkg.
   * opkg_install_pkg: Package size mismatch: rssileds is 4056 bytes, expecting 4059 bytes
   * opkg_install_cmd: Cannot install package rssileds.
   * opkg_install_pkg: Package size mismatch: swconfig is 9478 bytes, expecting 9484 bytes
   * opkg_install_cmd: Cannot install package swconfig.
   * opkg_install_pkg: Package size mismatch: uci is 7267 bytes, expecting 7262 bytes
   * opkg_install_cmd: Cannot install package uci.
   * opkg_install_pkg: Package size mismatch: uclient-fetch is 7489 bytes, expecting 7485 bytes
   * opkg_install_cmd: Cannot install package uclient-fetch.
   * opkg_install_pkg: Package size mismatch: wpad-mini is 258733 bytes, expecting 258725 bytes
   * opkg_install_cmd: Cannot install package wpad-mini.
  make[2]: *** [Makefile:153: package_install] Error 255
  make[1]: *** [Makefile:114: _call_image] Error 2
  make: *** [Makefile:193: image] Error 2
09.10.20192541KernelBug ReportMediumLowHardware offloading causes some flows to fail to be NAT...openwrt-19.07New Task Description

Just after a reboot, some flows are not NATed: packets from a machine in the LAN are sent to the WAN port with a private source IP address.

This is on a Linksys RE6500 (ramips mt7621) running openwrt 19.07-SNAPSHOT r10578-b3d70f628.
It is configured with flow_offloading and flow_offloading_hw.

Here is a tcpdump capture showing the problem on the WAN port (172.23.184.0/24 is my LAN address space):

root@openwrt:~# tcpdump -n -i eth0.20 net 172.23.184.0/24
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0.20, link-type EN10MB (Ethernet), capture size 262144 bytes
18:51:21.756552 IP 172.23.184.119.51001 > 91.224.XX.YY.52001: UDP, length 112
18:51:22.651556 IP 172.23.184.119.51001 > 91.224.XX.YY.52001: UDP, length 148
18:51:26.681032 IP 172.23.184.119.51001 > 91.224.XX.YY.52001: UDP, length 768
18:51:27.771654 IP 172.23.184.119.51001 > 91.224.XX.YY.52001: UDP, length 148

Here is what conntrack -L says:

udp      17 55 src=172.23.184.119 dst=91.224.XX.YY sport=51001 dport=52001 packets=93 bytes=20412 [UNREPLIED] src=91.224.XX.YY dst=172.23.184.119 sport=52001 dport=51001 packets=0 bytes=0 mark=0 use=1

Notice the second dst= that shows the private IP address of the LAN machine.

After restarting the firewall, the flow is correctly NAT-ed and conntrack -L shows the correct entry (193.33.ZZ.WW is my public IP address):

udp      17 175 src=172.23.184.119 dst=91.224.XX.YY sport=51001 dport=52001 packets=4 bytes=704 [UNREPLIED] src=91.224.XX.YY dst=193.33.ZZ.WW sport=52001 dport=51001 packets=0 bytes=0 mark=0 use=1

Note: when I only enable flow_offloading, the issue does not appear anymore, so this really seems to be an issue with the hw offloading integration in the firewall.

14.05.20192283Base systemBug ReportMediumLowm76: crash when creating an additional monitor interfac...TrunkAssigned Task Description

OpenWrt: b65a270c851ee422f26a0af10c879ebb87cb8f76
mt76: 4.14.108+2019-03-27-a11b6734-1

While debugging an unicast wifi bug, I tried to create a mon0 interface
iw wlan0 interface add mon0 type monitor.

Modules:	mt7603e@830f0000+87a0	mt76@83128000+6060	mac80211@83080000+6a240	iptable_raw@83111000+2e0	iptable_nat@831c5000+340	iptable_mangle@83bd7000+400	iptable_filter@83135000+360	ipt_REJECT@831c3000+3a0	ipt_MASQUERADE@8311f000+280	ipt_ECN@83bca000+560	ip_tables@831c0000+2650	cfg80211@83000000+35fb0	xt_time@83bbd000+6c0	xt_tcpudp@83baa000+6e0	xt_tcpmss@831ac000+400	xt_statistic@8311d000+320	xt_state@83151000+2a0xt_recent@831ae000+1bf0	xt_nat@83bd0000+5e0	xt_multiport@83bd6000+4e0	xt_mark@83134000+280	xt_mac@83bd3000+240	xt_limit@8315f000+480	xt_length@83125000+2a0	xt_hl@83132000+300	xt_helper@83126000+340	xt_ecn@83127000+520	xt_dscp@8313c000+3c0	xt_conntrack@83ba8000+8e0	xt_connmark@8311c000+420	xt_connlimit@83136000+1110	xt_connbytes@83bcd000+620	xt_comment@83117000+1c0	xt_TCPMSS@83bd2000+800	xt_REDIRECT@83bce000+2a0	xt_LOG@83bcc000+280	xt_HL@83bc9000+520	xt_FLOWOFFLOAD@83bc7000+ab0	xt_DSCP@8313b000+5c0	xt_CT@8313d000+9e0	xt_CLASSIFY@83131000+220	x_tables@83bc0000+30f0	nf_reject_ipv4@83130000+780	nf_nat_redirect@8311e000+560	nf_nat_masquerade_ipv4@83bac000+590	nf_conntrack_ipv4@83bb8000+1100	nf_nat_ipv4@83bba000+c70	nf_nat@83120000+2250	nf_log_ipv4@83bad000+dc0	nf_log_common@83116000+980	nf_flow_table_hw@83bbe000+820	nf_flow_table@83ba4000+3310	nf_defrag_ipv4@83153000+3e0	nf_conntrack_rtcache@83112000+8a0	compat@83118000+1700	act_connmark@83113000+850	nf_conntrack@83100000+d2c0	sch_tbf@8314e000+1680	sch_ingress@8314a000+4a0	sch_htb@83ba0000+36d0	sch_hfsc@83158000+39e0	em_u32@831ba000+200	cls_u32@83154000+2330	cls_tcindex@8314c000+15c0	cls_route@831be000+1540	cls_matchall@831a3000+a20	cls_fw@83144000+1000	cls_flow@83148000+1780	cls_basic@831bb000+d00	act_skbedit@831b4000+9f0	act_mirred@831b5000+e50	ifb@831a0000+be0	l2tp_ip@8316e000+1410	l2tp_eth@831a4000+a00	l2tp_netlink@831a6000+1f90	l2tp_core@831a8000+3110	udp_tunnel@83b99000+920	leds_gpio@83b4f000+b20	gpio_button_hotplug@83b50000+1900
<6>[    0.191477] UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>[    0.197077] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>[    0.203431] NET: Registered protocol family 1
<7>[    0.207612] PCI: CLS 0 bytes, default 32
<4>[    0.210849] Crashlog allocated RAM at address 0x3f00000
<6>[    0.217463] workingset: timestamp_bits=30 max_order=14 bucket_order=0
<6>[    0.229138] squashfs: version 4.0 (2009/01/31) Phillip Lougher
<6>[    0.234765] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
<6>[    0.254072] io scheduler noop registered
<6>[    0.257804] io scheduler deadline registered (default)
<6>[    0.263580] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
<6>[    0.270756] console [ttyS0] disabled
<6>[    0.274257] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
<6>[    0.282984] console [ttyS0] enabled
<6>[    0.289970] bootconsole [early0] disabled
<3>[    0.298544] cacheinfo: Failed to find cpu0 device node
<4>[    0.303799] cacheinfo: Unable to detect cache hierarchy for CPU 0
<6>[    0.310628] spi-mt7621 10000b00.spi: sys_freq: 193333333
<6>[    0.329261] m25p80 spi0.0: s25fl064k (8192 Kbytes)
<5>[    0.334207] 4 fixed-partitions partitions found on MTD device spi0.0
<5>[    0.340643] Creating 4 MTD partitions on "spi0.0":
<5>[    0.345526] 0x000000000000-0x000000020000 : "boot"
<5>[    0.351255] 0x000000020000-0x0000007c0000 : "firmware"
<5>[    0.359405] 2 tplink-fw partitions found on MTD device firmware
<5>[    0.365482] Creating 2 MTD partitions on "firmware":
<5>[    0.370527] 0x000000000000-0x00000014f3a3 : "kernel"
<5>[    0.376451] 0x00000014f3a4-0x0000007a0000 : "rootfs"
<5>[    0.382277] mtd: device 3 (rootfs) set to be root filesystem
<5>[    0.389534] 1 squashfs-split partitions found on MTD device rootfs
<5>[    0.395888] 0x000000390000-0x0000007a0000 : "rootfs_data"
<5>[    0.402220] 0x0000007c0000-0x0000007d0000 : "config"
<5>[    0.408051] 0x0000007d0000-0x000000800000 : "factory"
<6>[    0.414688] libphy: Fixed MDIO Bus: probed
<6>[    0.431000] rt3050-esw 10110000.esw: link changed 0x00
<6>[    0.437801] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
<6>[    0.447188] NET: Registered protocol family 17
<6>[    0.451831] 8021q: 802.1Q VLAN Support v1.8
<6>[    0.468953] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
<6>[    0.476929] Freeing unused kernel memory: 136K
<4>[    0.481474] This architecture does not have kernel memory protection.
<14>[    1.719920] init: Console is alive
<14>[    1.723707] init: - watchdog -
<5>[    2.267376] random: fast init done
<14>[    3.000227] kmodloader: loading kernel modules from /etc/modules-boot.d/*
<14>[    3.073195] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
<14>[    3.091032] init: - preinit -
<6>[    4.256850] rt3050-esw 10110000.esw: link changed 0x00
<5>[    4.687762] random: procd: uninitialized urandom read (4 bytes read)
<13>[    4.780523] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
<12>[    4.822673] urandom-seed: Seed file not found (/etc/urandom.seed)
<14>[    4.918017] procd: - early -
<14>[    4.921055] procd: - watchdog -
<14>[    5.550307] procd: - watchdog -
<14>[    5.553880] procd: - ubus -
<5>[    5.600493] random: ubusd: uninitialized urandom read (4 bytes read)
<5>[    5.667639] random: ubusd: uninitialized urandom read (4 bytes read)
<14>[    5.675598] procd: - init -
<14>[    6.002174] kmodloader: loading kernel modules from /etc/modules.d/*
<6>[    6.011883] l2tp_core: L2TP core driver, V2.0
<6>[    6.017941] l2tp_netlink: L2TP netlink interface
<6>[    6.024375] l2tp_eth: L2TP ethernet pseudowire support (L2TPv3)
<6>[    6.032295] l2tp_ip: L2TP IP encapsulation support (L2TPv3)
<6>[    6.044769] Mirror/redirect action on
<6>[    6.141161] u32 classifier
<6>[    6.143986]     input device check on
<6>[    6.147693]     Actions configured
<6>[    6.239795] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
<6>[    6.260517] Loading modules backported from Linux version v4.19.23-0-g67d52fae61c1
<6>[    6.268272] Backport generated by backports.git v4.19.23-1-0-g480a925a
<6>[    6.488990] xt_time: kernel timezone is -0000
<6>[    6.514755] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[    6.566528] mt76_wmac 10300000.wmac: ASIC revision: 76280001
<6>[    7.593554] mt76_wmac 10300000.wmac: Firmware Version: 20151201
<6>[    7.599575] mt76_wmac 10300000.wmac: Build Time: 20151201183641
<6>[    7.621350] mt76_wmac 10300000.wmac: firmware init done
<6>[    7.728549] rt3050-esw 10110000.esw: link changed 0x01
<7>[    7.792147] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
<14>[    7.802137] kmodloader: done loading kernel modules from /etc/modules.d/*
<4>[    9.177342] urandom_read: 6 callbacks suppressed
<5>[    9.177353] random: jshn: uninitialized urandom read (4 bytes read)
<6>[   11.971477] rt3050-esw 10110000.esw: link changed 0x00
<6>[   15.521829] rt3050-esw 10110000.esw: link changed 0x01
<6>[   40.298153] rt3050-esw 10110000.esw: link changed 0x00
<6>[   43.783225] rt3050-esw 10110000.esw: link changed 0x01
<6>[   44.432507] device eth0 entered promiscuous mode
<6>[   50.910274] br-lan: port 1(eth0.1) entered blocking state
<6>[   50.915855] br-lan: port 1(eth0.1) entered disabled state
<6>[   50.921660] device eth0.1 entered promiscuous mode
<6>[   50.939619] br-lan: port 1(eth0.1) entered blocking state
<6>[   50.945176] br-lan: port 1(eth0.1) entered forwarding state
<6>[   51.073380] br-lan: port 1(eth0.1) entered disabled state
<6>[   51.080911] device eth0.1 left promiscuous mode
<6>[   51.085686] br-lan: port 1(eth0.1) entered disabled state
<6>[   51.170750] br-lan: port 1(eth0.1) entered blocking state
<6>[   51.176313] br-lan: port 1(eth0.1) entered disabled state
<6>[   51.182108] device eth0.1 entered promiscuous mode
<6>[   51.234695] br-lan: port 1(eth0.1) entered blocking state
<6>[   51.240185] br-lan: port 1(eth0.1) entered forwarding state
<6>[   54.284409] br-lan: port 2(wlan0) entered blocking state
<6>[   54.290155] br-lan: port 2(wlan0) entered disabled state
<6>[   54.295937] device wlan0 entered promiscuous mode
<6>[   55.227079] br-lan: port 2(wlan0) entered blocking state
<6>[   55.232548] br-lan: port 2(wlan0) entered forwarding state
<6>[   65.499313] device wlan0 left promiscuous mode
<6>[   65.504001] br-lan: port 2(wlan0) entered disabled state
<6>[   67.659749] br-lan: port 2(wlan0) entered blocking state
<6>[   67.665252] br-lan: port 2(wlan0) entered disabled state
<6>[   67.670929] device wlan0 entered promiscuous mode
<6>[   67.675848] br-lan: port 2(wlan0) entered blocking state
<6>[   67.681236] br-lan: port 2(wlan0) entered forwarding state
<6>[   67.687263] br-lan: port 2(wlan0) entered disabled state
<6>[   70.171904] br-lan: port 2(wlan0) entered blocking state
<6>[   70.177326] br-lan: port 2(wlan0) entered forwarding state
<4>[   74.063128] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
<4>[   74.076565] jffs2_build_filesystem(): unlocking the mtd device... 
<4>[   74.076626] done.
<4>[   74.084920] jffs2_build_filesystem(): erasing all blocks after the end marker... 
<5>[   75.341427] random: crng init done
<4>[   89.806667] done.
<5>[   89.808667] jffs2: notice: (2808) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
<4>[   90.097054] overlayfs: upper fs does not support tmpfile.
<6>[95491.758861] device wlan0 left promiscuous mode
<6>[95491.763556] br-lan: port 2(wlan0) entered disabled state
<6>[95496.123525] br-lan: port 2(wlan0) entered blocking state
<6>[95496.128998] br-lan: port 2(wlan0) entered disabled state
<6>[95496.134779] device wlan0 entered promiscuous mode
<6>[95496.139678] br-lan: port 2(wlan0) entered blocking state
<6>[95496.145064] br-lan: port 2(wlan0) entered forwarding state
<6>[95496.151480] br-lan: port 2(wlan0) entered disabled state
<6>[95497.434477] br-lan: port 2(wlan0) entered blocking state
<6>[95497.439926] br-lan: port 2(wlan0) entered forwarding state
<6>[181891.461089] device wlan0 left promiscuous mode
<6>[181891.465866] br-lan: port 2(wlan0) entered disabled state
<6>[181895.862824] br-lan: port 2(wlan0) entered blocking state
<6>[181895.868387] br-lan: port 2(wlan0) entered disabled state
<6>[181895.874262] device wlan0 entered promiscuous mode
<6>[181897.223872] br-lan: port 2(wlan0) entered blocking state
<6>[181897.229417] br-lan: port 2(wlan0) entered forwarding state
<6>[268291.119138] device wlan0 left promiscuous mode
<6>[268291.123910] br-lan: port 2(wlan0) entered disabled state
<6>[268296.605568] br-lan: port 2(wlan0) entered blocking state
<6>[268296.611162] br-lan: port 2(wlan0) entered disabled state
<6>[268296.616932] device wlan0 entered promiscuous mode
<6>[268298.034899] br-lan: port 2(wlan0) entered blocking state
<6>[268298.040440] br-lan: port 2(wlan0) entered forwarding state
<6>[354690.783285] device wlan0 left promiscuous mode
<6>[354690.788153] br-lan: port 2(wlan0) entered disabled state
<6>[354695.110340] br-lan: port 2(wlan0) entered blocking state
<6>[354695.115924] br-lan: port 2(wlan0) entered disabled state
<6>[354695.121790] device wlan0 entered promiscuous mode
<6>[354696.496658] br-lan: port 2(wlan0) entered blocking state
<6>[354696.502208] br-lan: port 2(wlan0) entered forwarding state
<6>[441090.473174] device wlan0 left promiscuous mode
<6>[441090.478041] br-lan: port 2(wlan0) entered disabled state
<6>[441094.831626] br-lan: port 2(wlan0) entered blocking state
<6>[441094.837188] br-lan: port 2(wlan0) entered disabled state
<6>[441094.843056] device wlan0 entered promiscuous mode
<6>[441094.848063] br-lan: port 2(wlan0) entered blocking state
<6>[441094.853538] br-lan: port 2(wlan0) entered forwarding state
<6>[441094.860044] br-lan: port 2(wlan0) entered disabled state
<6>[441096.143580] br-lan: port 2(wlan0) entered blocking state
<6>[441096.149126] br-lan: port 2(wlan0) entered forwarding state
<6>[527490.172730] device wlan0 left promiscuous mode
<6>[527490.177478] br-lan: port 2(wlan0) entered disabled state
<6>[527494.541946] br-lan: port 2(wlan0) entered blocking state
<6>[527494.547517] br-lan: port 2(wlan0) entered disabled state
<6>[527494.553391] device wlan0 entered promiscuous mode
<6>[527495.938895] br-lan: port 2(wlan0) entered blocking state
<6>[527495.944394] br-lan: port 2(wlan0) entered forwarding state
<1>[592589.839671] CPU 0 Unable to handle kernel paging request at virtual address 000002c8, epc == 830af554, ra == 83082384
<4>[592589.850591] Oops[#1]:
<4>[592589.852986] CPU: 0 PID: 0 Comm: swapper Not tainted 4.14.108 #0
<4>[592589.859074] task: 803cb430 task.stack: 803c6000
<4>[592589.863748] $ 0   : 00000000 80410000 00000000 00000000
<4>[592589.869140] $ 4   : 00000000 838cbd80 00000000 00000000
<4>[592589.874531] $ 8   : 838cb1c8 82f18516 00000010 43420000
<4>[592589.879922] $12   : 087f0000 00000000 000a9a0e 00000004
<4>[592589.885312] $16   : 838cbd80 00000000 830ecbc0 830ecbc0
<4>[592589.890703] $20   : 83b61bf0 830f73ac 00000001 00000000
<4>[592589.896093] $24   : 00000010 801bcbe0                  
<4>[592589.901484] $28   : 803c6000 83807e18 830ede88 83082384
<4>[592589.906876] Hi    : 005a1ac2
<4>[592589.909878] Lo    : ef14c145
<4>[592589.912889] epc   : 830af554 0x830af554 [mac80211@83080000+0x6a240]
<4>[592589.919330] ra    : 83082384 0x83082384 [mac80211@83080000+0x6a240]
<4>[592589.925764] Status: 1100e403	KERNEL EXL IE 
<4>[592589.930096] Cause : 00800008 (ExcCode 02)
<4>[592589.934243] BadVA : 000002c8
<4>[592589.937246] PrId  : 00019655 (MIPS 24KEc)
<4>[592589.941392] Modules linked in: mt7603e mt76 mac80211 iptable_raw iptable_nat iptable_mangle iptable_filter ipt_REJECT ipt_MASQUERADE ipt_ECN ip_tables cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY x_tables nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_log_common nf_flow_table_hw nf_flow_table nf_defrag_ipv4 nf_conntrack_rtcache compat act_connmark nf_conntrack sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred ifb
<4>[592590.013247]  l2tp_ip l2tp_eth l2tp_netlink l2tp_core udp_tunnel leds_gpio gpio_button_hotplug
<4>[592590.021995] Process swapper (pid: 0, threadinfo=803c6000, task=803cb430, tls=00000000)
<4>[592590.030101] Stack : 83807e7c 0000008a 00000000 838cbd80 838cbd80 83082384 00000050 830ecbc0
<4>[592590.038670]         83b61bf0 830f73ac 830ed4e0 00000000 838cb180 00000000 00000000 830ecbc0
<4>[592590.047239]         83b61bf0 830f73ac 830ed4e0 00000001 830ecbc0 830adb78 00000cfc 0000033f
<4>[592590.055808]         8381b800 00000080 00000000 00000000 00060036 00000000 830ed4e0 83b61bf0
<4>[592590.064376]         00000004 00000003 00000006 830f73f0 83807ee0 80058f30 803dfc40 00000003
<4>[592590.072945]         ...
<4>[592590.075510] Call Trace:
<4>[592590.075556] [<83082384>] 0x83082384 [mac80211@83080000+0x6a240]
<4>[592590.084214] [<830f73ac>] 0x830f73ac [mt7603e@830f0000+0x87a0]
<4>[592590.090146] [<830f73ac>] 0x830f73ac [mt7603e@830f0000+0x87a0]
<4>[592590.096068] [<830adb78>] 0x830adb78 [mac80211@83080000+0x6a240]
<4>[592590.102173] [<830f73f0>] 0x830f73f0 [mt7603e@830f0000+0x87a0]
<4>[592590.108088] [<80058f30>] 0x80058f30
<4>[592590.111724] [<830b4d80>] 0x830b4d80 [mac80211@83080000+0x6a240]
<4>[592590.117809] [<80009e70>] 0x80009e70
<4>[592590.121449] [<830f7548>] 0x830f7548 [mt7603e@830f0000+0x87a0]
<4>[592590.127377] [<8002d078>] 0x8002d078
<4>[592590.130998] [<80009e70>] 0x80009e70
<4>[592590.134619] [<80351a20>] 0x80351a20
<4>[592590.138240] [<8005d978>] 0x8005d978
<4>[592590.141866] [<80058f30>] 0x80058f30
<4>[592590.145491] [<80009e70>] 0x80009e70
<4>[592590.149109] 
<4>[592590.150701] Code: 27bdffe8  afbf0014  afb00010 <8c9002c8> 8caa00a4  1080001e  8e090438  8e030044  0123402a 
<4>[592590.160690] 
<4>[592590.162335] ---[ end trace 25bbd90279e222f9 ]---

===================================
10.03.20192176KernelBug ReportMediumHighubiquiti loco xw (AR9342 Rev.2) stops receiving on wire...AllNew Task Description

This bug has been existing as long as the ubiquiti loco xw 5 ghz hardware is around, probably what we are dealing with is a hardware bug in the AR9342 Rev. 2 chip. It is somehow hard to reproduce, but it hits us reliable every couple of hours, sometimes days, running any version of OpenWrt up to todays master branch. It just happened again and this time I decided to check if the bug is actually listed on FS – in addition to creating the usual cron-job executing `iw dev wlan0 scan` every minute. There is even a watchdog in the community libremesh repository designed to catch exactly this bug:
https://github.com/libremesh/lime-packages/blob/master/packages/cotonete/Makefile#L21

So to run into it, here we got 2 ubiquiti nanobeam m5 devices running OpenWrt ar71xx/generic loco-m-xw pointing at each other over a distance of roughly 2km. This link is acceptable, but not perfect and slightly asymmetric.

Device A (worse RX SNR):

Station f0:9f:c2:xx:xx:7a (on wlan0-mesh)
	inactive time:	0 ms
	rx bytes:	1433997029
	rx packets:	8589913
	tx bytes:	23160025785
	tx packets:	15667682
	tx retries:	677924
	tx failed:	0
	rx drop misc:	30076
	signal:  	-76 [-79, -79] dBm
	signal avg:	-74 [-77, -77] dBm
	Toffset:	4887897799 us
	tx bitrate:	43.3 MBit/s MCS 10 short GI
	rx bitrate:	43.3 MBit/s MCS 4 short GI
	expected throughput:	24.536Mbps
	mesh llid:	0
	mesh plid:	0
	mesh plink:	ESTAB
	mesh local PS mode:	ACTIVE
	mesh peer PS mode:	ACTIVE
	mesh non-peer PS mode:	ACTIVE
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		yes
	TDLS peer:	no
	DTIM period:	2
	beacon interval:100
	connected time:	18117 seconds

Device B (better RX SNR)

Station fc:ec:da:xx:xx:8c (on wlan0-mesh)
	inactive time:	20 ms
	rx bytes:	23442553203
	rx packets:	16047526
	tx bytes:	1274688573
	tx packets:	8251479
	tx retries:	1337700
	tx failed:	2932
	rx drop misc:	45195
	signal:  	-72 [-79, -73] dBm
	signal avg:	-71 [-78, -73] dBm
	Toffset:	18446744068821653812 us
	tx bitrate:	57.8 MBit/s MCS 11 short GI
	rx bitrate:	43.3 MBit/s MCS 10 short GI
	last ack signal:24 dBm
	expected throughput:	24.536Mbps
	mesh llid:	0
	mesh plid:	0
	mesh plink:	ESTAB
	mesh local PS mode:	ACTIVE
	mesh peer PS mode:	ACTIVE
	mesh non-peer PS mode:	ACTIVE
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		yes
	TDLS peer:	no
	DTIM period:	2
	beacon interval:100
	connected time:	18179 seconds

Now it so happens that device A (and always only device A!) becomes deaf after some hours of mostly sending lots of traffic to device B. It will continue to send beacons, but loose all associations. device B will keep trying setting up a link, but it keeps ending up in ‘BLOCKED’ state and dumps using a monitor mode interface show that device A simply doesn’t react at all to any of the frames send by device B. A simple `iw dev wlan0 scan` on device A (which doesn’t give any results) fixes the problem.

The channel seems rather unused otherwise and signal quality only varies by weather conditions. Interestingly this seems to happen on non-DFS channels only. And it happens on Ad-Hoc mode (unencrypted, never tried encrypted) and 802.11s (open ie. setup via `iw` tool as well as with SAE ie. running `wpa_supplicant`) equally. It doesn’t happen on all nodes, but only on those with rather bad signal or at least one far-off neighbor.

Maybe related to FS#1246

I saw this occuring on ubnt nanostation loco m5 XW as well as on all nanobeam m5 variants (which is supposedly compatible with the loco-m-xw image).

ieee80211 phy0: Atheros AR9340 Rev:2 mem=0xb8100000, irq=47

WiFi EEPROM of the devices:

*
00001000  02 02 F0 9F C2 XX XX XX  00 30 3a 31 35 3a 36 64  |.....XXX.0:15:6d|
00001010  3a 64 64 3a 64 65 3a 61  64 00 00 00 00 00 1f 00  |:dd:de:ad.......|
00001020  33 01 00 00 00 00 04 00  00 00 2d 04 03 00 08 ff  |3.........-.....|
00001030  20 01 00 00 00 20 02 00  00 cc cc 0c 00 50 01 50  | .... .......P.P|
00001040  01 50 01 00 00 00 00 00  00 21 00 a4 00 00 00 00  |.P.......!......|
00001050  ff 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00001060  0e 0e 03 00 2c e2 00 02  0e 1c e0 e0 00 0c e0 e0  |....,...........|
00001070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00001080  00 00 00 00 00 00 00 00  00 00 70 89 ac 00 00 00  |..........p.....|
00001090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000010c0  00 00 00 70 ac 70 89 ac  70 89 ac 70 89 ac 22 22  |...p.p..p..p..""|
000010d0  22 22 22 22 22 22 22 22  20 1c 22 22 20 1c 22 22  |"""""""" ."" .""|
000010e0  20 1c 24 24 20 18 16 14  20 16 14 12 20 20 1c 14  | .$$ ... ...  ..|
000010f0  24 24 20 18 16 14 20 16  14 12 20 20 1c 14 24 24  |$$ ... ...  ..$$|
00001100  20 18 16 14 20 16 14 12  20 20 1c 14 22 22 1e 16  | ... ...  ..""..|
00001110  14 12 1e 14 12 10 20 20  1c 14 22 22 1e 16 14 12  |......  ..""....|
00001120  1e 14 12 10 20 20 1c 14  22 22 1e 16 14 12 1e 14  |....  ..""......|
00001130  12 10 20 20 1c 14 11 12  15 17 41 42 45 47 31 32  |..  ......ABEG12|
00001140  35 37 70 75 ac b8 70 75  ac b8 70 75 ac b8 70 75  |57pu..pu..pu..pu|
00001150  ac b8 70 75 ac b8 70 75  ac b8 70 75 ac b8 70 75  |..pu..pu..pu..pu|
*
00001170  ac b8 3c 7c 3c 7c 3c 7c  3c 7c 3c 7c 3c 7c 3c 7c  |..<|<|<|<|<|<|<||
00001180  3c 7c 3c 7c 3c 7c 3c 7c  3c 7c 3c 7c 3c 7c 3c 7c  |<|<|<|<|<|<|<|<||
*
000011a0  3c 7c 10 01 00 00 22 22  02 00 00 00 00 00 00 00  |<|....""........|
000011b0  00 00 00 00 00 00 44 00  00 00 00 00 00 ff 00 00  |......D.........|
000011c0  00 00 00 00 00 00 00 00  00 00 00 00 ff 0e 0e 03  |................|
000011d0  00 2d e2 00 02 0e 1c 00  00 00 00 00 00 00 00 00  |.-..............|
000011e0  00 00 00 00 00 00 00 00  00 44 44 00 00 00 00 00  |.........DD.....|
000011f0  00 00 00 00 00 00 00 4c  58 68 8c a4 b4 bd cd d9  |.......LXh......|
00001200  00 89 00 00 00 dc 00 89  00 00 00 e0 00 8a 00 00  |................|
00001210  00 e2 00 8b 00 00 00 de  00 8b 00 00 00 de 00 8b  |................|
00001220  00 00 00 dc 00 89 00 00  00 da 00 8b 00 00 00 e0  |................|
00001230  00 89 00 00 00 e4 00 8a  00 00 00 e7 00 8b 00 00  |................|
00001240  00 e6 00 8b 00 00 00 e2  00 8c 00 00 00 e1 00 8c  |................|
00001250  00 00 00 df 00 8b 00 00  00 dd 00 8b 00 00 00 00  |................|
00001260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00001280  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 4c  |...............L|
00001290  54 68 78 8c a0 b4 c5 4c  54 68 78 8c a0 b4 c5 4c  |Thx....LThx....L|
000012a0  54 68 78 8c a0 b4 c5 26  20 1e 1c 26 20 1e 1c 26  |Thx....& ..& ..&|
000012b0  20 1e 1c 26 20 1e 1c 26  20 1e 1c 26 20 1e 1c 26  | ..& ..& ..& ..&|
000012c0  20 1e 1c 26 20 1e 1c 26  22 20 1e 1c 1a 20 1e 1c  | ..& ..&" ... ..|
000012d0  1a 00 00 00 00 26 22 20  1e 1c 1a 20 1e 1c 1a 00  |.....&" ... ....|
000012e0  00 00 00 26 22 20 1e 1c  1a 20 1e 1c 1a 00 00 00  |...&" ... ......|
000012f0  00 26 22 20 1e 1c 1a 20  1e 1c 1a 00 00 00 00 26  |.&" ... .......&|
00001300  22 20 1e 1c 1a 20 1e 1c  1a 00 00 00 00 26 22 20  |" ... .......&" |
00001310  1e 1c 1a 20 1e 1c 1a 00  00 00 00 26 22 20 1e 1c  |... .......&" ..|
00001320  1a 20 1e 1c 1a 00 00 00  00 26 22 20 1e 1c 1a 20  |. .......&" ... |
00001330  1e 1c 1a 00 00 00 00 26  22 20 1e 1c 1a 20 1e 1c  |.......&" ... ..|
00001340  1a 00 00 00 00 26 22 20  1e 1c 1a 20 1e 1c 1a 00  |.....&" ... ....|
00001350  00 00 00 26 22 20 1e 1c  1a 20 1e 1c 1a 00 00 00  |...&" ... ......|
00001360  00 26 22 20 1e 1c 1a 20  1e 1c 1a 00 00 00 00 26  |.&" ... .......&|
00001370  22 20 1e 1c 1a 20 1e 1c  1a 00 00 00 00 26 22 20  |" ... .......&" |
00001380  1e 1c 1a 20 1e 1c 1a 00  00 00 00 26 22 20 1e 1c  |... .......&" ..|
00001390  1a 20 1e 1c 1a 00 00 00  00 26 22 20 1e 1c 1a 20  |. .......&" ... |
000013a0  1e 1c 1a 00 00 00 00 10  16 18 40 46 48 30 36 38  |..........@FH068|
000013b0  4c 54 68 78 8c a0 b9 cd  4c 54 68 78 8c a0 b9 cd  |LThx....LThx....|
*
000013f0  4c 54 68 78 8c a0 b9 cd  3c 7c 3c 7c 3c 7c 3c 7c  |LThx....<|<|<|<||
00001400  3c 7c 3c 7c 3c 7c 3c 7c  3c 7c 3c 7c 3c 7c 3c 7c  |<|<|<|<|<|<|<|<||
*
00001440  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
18.11.20181958PackagesBug ReportMediumLowuqmi: unicode characters in SMS confuse uqmiTrunkNew Task Description

When using uqmi –get-message the message ends up truncated in case it contains unicode characters like german umlauts.

08.04.2017692Base systemBug ReportMediumMediumWLAN AP not working on RasPi (bcm2710 target)TrunkAssigned Task Description

When flashing the brcm2708 / bcm2710 target the WiFi interface gets stuck in “client mode” and the AP will not be able to be brought up.

Some screenshots and a load of discussion here:
https://forum.lede-project.org/t/ap-mode-radio0-in-raspi-3-always-acts-as-a-client-shows-as-wlan0-in-luci/2885

Two more days of tinkering, wifi-up’ing and -down’ing did not bring me further.
I flashed another Pi3 (to exclude a hardware defect) with the same result.

I tried latest snapshot and stable images.
I am happy to help debug – tell me what you need me to do.

Greetings,
–Thomas

17.03.2017634Base systemBug ReportMediumMediumFactory flashing fails because LEDE filename is too lon...AllNew Task Description

On a TP-Link TL-WR841N v11, flashing LEDE from the web interface of the stock firmware is not possible.

This is caused by a stupid check that refuses filename longer than 64 chars in the web interface. The check is implemented in javascript and returns a cryptic error message like “Please select a file to upload”, as if no file was selected.

The current naming scheme is quite long:

$ echo ‘lede-17.01.0-r3205-59508e3-ar71xx-generic-tl-wr841-v11-squashfs-factory-eu.bin’ | wc -c
79

Shortening the name like the following would decrease the length below 64 chars, and leave some space for a custom suffix (e.g. using EXTRA_IMAGE_NAME in the Imagebuilder):

$ echo ‘lede-17.01.0-ar71xx-tlwr841v11-squashfs-factory-eu.bin’ | wc -c
55

09.03.2017609Base systemFeature RequestMediumLowprocd: implement runlevel 1TrunkNew Task Description

Sysupgrade currently kills processes with SIGKILL if they don’t shut down within 3 seconds after the SIGTERM signal. Some processes (e.g. domoticz) can take longer than 3 seconds to properly shut down. As this can potentially corrupt the sqlite database, it should be avoided.

While talking about this on IRC, it was suggested we should implement an “init 1” equivalent in procd. Adding this ticket as a reminder.

17.01.2017395Base systemBug ReportMediumLowmac80211.sh: detect_mac80211 should check available cha...TrunkNew Task Description

This problem was reported by few Netgear R8000 users and I managed to reproduce it. It’s related to the following code:

		vht_cap=$(iw phy "$dev" info | grep -c 'VHT Capabilities')
		cap_5ghz=$(iw phy "$dev" info | grep -c "Band 2")
		[ "$vht_cap" -gt 0 -a "$cap_5ghz" -gt 0 ] && {
			mode_band="a";
			channel="36"
			htmode="VHT80"
		}

Default htmode

The first problem is that even if hardware supports VHT80 it may be not available for every/any current channel. If channel 36 doesn’t support VHT80, for better user experience, it shouldn’t be set in /etc/config/wireless by default. Example:

root@lede:/# iw phy phy2 info
Wiphy phy2
        max # scan SSIDs: 10
        max scan IEs length: 2048 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports roaming.
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * P2P-client
                 * P2P-GO
                 * P2P-device
        Band 2:
                Capabilities: 0x1062
                        HT20/HT40
                        Static SM Power Save
                        RX HT20 SGI
                        RX HT40 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 16 usec (0x07)
                HT TX/RX MCS rate indexes supported: 0-23
                VHT Capabilities (0x0c025820):
                        Max MPDU length: 3895
                        Supported Channel Width: neither 160 nor 80+80
                        short GI (80 MHz)
                        SU Beamformer
                        SU Beamformee
                VHT RX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: MCS 0-9
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT RX highest supported: 0 Mbps
                VHT TX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: MCS 0-9
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT TX highest supported: 0 Mbps
                Frequencies:
                        * 5170 MHz [34] (disabled)
                        * 5180 MHz [36] (20.0 dBm)
                        * 5190 MHz [38] (disabled)
                        * 5200 MHz [40] (20.0 dBm)
                        * 5210 MHz [42] (disabled)
                        * 5220 MHz [44] (20.0 dBm)
                        * 5230 MHz [46] (disabled)
                        * 5240 MHz [48] (20.0 dBm)
                        * 5260 MHz [52] (20.0 dBm) (no IR, radar detection)
                        * 5280 MHz [56] (20.0 dBm) (no IR, radar detection)
                        * 5300 MHz [60] (20.0 dBm) (no IR, radar detection)
                        * 5320 MHz [64] (20.0 dBm) (no IR, radar detection)
                        * 5500 MHz [100] (20.0 dBm) (no IR, radar detection)
                        * 5520 MHz [104] (20.0 dBm) (no IR, radar detection)
                        * 5540 MHz [108] (20.0 dBm) (no IR, radar detection)
                        * 5560 MHz [112] (20.0 dBm) (no IR, radar detection)
                        * 5580 MHz [116] (20.0 dBm) (no IR, radar detection)
                        * 5600 MHz [120] (20.0 dBm) (no IR, radar detection)
                        * 5620 MHz [124] (20.0 dBm) (no IR, radar detection)
                        * 5640 MHz [128] (20.0 dBm) (no IR, radar detection)
                        * 5660 MHz [132] (20.0 dBm) (no IR, radar detection)
                        * 5680 MHz [136] (20.0 dBm) (no IR, radar detection)
                        * 5700 MHz [140] (20.0 dBm) (no IR, radar detection)
                        * 5720 MHz [144] (disabled)
                        * 5745 MHz [149] (disabled)
                        * 5765 MHz [153] (disabled)
                        * 5785 MHz [157] (disabled)
                        * 5805 MHz [161] (disabled)
                        * 5825 MHz [165] (disabled)
        valid interface combinations:
                 * #{ managed } <= 1, #{ P2P-device } <= 1, #{ P2P-client, P2P-GO } <= 1,
                   total <= 3, #channels <= 1
                 * #{ managed } <= 1, #{ AP } <= 1, #{ P2P-client } <= 1, #{ P2P-device } <= 1,
                   total <= 4, #channels <= 1
                 * #{ AP } <= 4,
                   total <= 4, #channels <= 1, STA/AP BI must match
root@lede:/# iw phy phy2 channels
Band 2:
        * 5170 MHz [34] (disabled)
        * 5180 MHz [36] 
          Maximum TX power: 20.0 dBm
          Channel widths: 20MHz HT40+
        * 5190 MHz [38] (disabled)
        * 5200 MHz [40] 
          Maximum TX power: 20.0 dBm
          Channel widths: 20MHz HT40-
        * 5210 MHz [42] (disabled)
        * 5220 MHz [44] 
          Maximum TX power: 20.0 dBm
          Channel widths: 20MHz HT40+
        * 5230 MHz [46] (disabled)
        * 5240 MHz [48] 
          Maximum TX power: 20.0 dBm
          Channel widths: 20MHz HT40-
        * 5260 MHz [52] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40+
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5280 MHz [56] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40-
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5300 MHz [60] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40+
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5320 MHz [64] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40-
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5500 MHz [100] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40+
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5520 MHz [104] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40-
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5540 MHz [108] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40+
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5560 MHz [112] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40-
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5580 MHz [116] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40+
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5600 MHz [120] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40-
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5620 MHz [124] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40+
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5640 MHz [128] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40-
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5660 MHz [132] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40+
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5680 MHz [136] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz HT40-
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5700 MHz [140] 
          Maximum TX power: 20.0 dBm
          No IR
          Radar detection
          Channel widths: 20MHz
          DFS state: usable (for 163 sec)
          DFS CAC time: 0 ms
        * 5720 MHz [144] (disabled)
        * 5745 MHz [149] (disabled)
        * 5765 MHz [153] (disabled)
        * 5785 MHz [157] (disabled)
        * 5805 MHz [161] (disabled)
        * 5825 MHz [165] (disabled)

as you can see, VHT80 isn’t support on any currently available channel due to regulatory limits.

Default channel

Picking channel 36 blindly is a bad idea as it may not be available. In case of phy0/radio0 on Netgear R8000 only available channels are 149+ due to hardware/board design (see ARM: BCM5301X: Set 5 GHz wireless frequency limits on Netgear R8000).

root@lede:/# iw phy phy0 info
Wiphy phy0
        max # scan SSIDs: 10
        max scan IEs length: 2048 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports roaming.
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * P2P-client
                 * P2P-GO
                 * P2P-device
        Band 2:
                Capabilities: 0x1062
                        HT20/HT40
                        Static SM Power Save
                        RX HT20 SGI
                        RX HT40 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 16 usec (0x07)
                HT TX/RX MCS rate indexes supported: 0-23
                VHT Capabilities (0x0c025820):
                        Max MPDU length: 3895
                        Supported Channel Width: neither 160 nor 80+80
                        short GI (80 MHz)
                        SU Beamformer
                        SU Beamformee
                VHT RX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: MCS 0-9
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT RX highest supported: 0 Mbps
                VHT TX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: MCS 0-9
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT TX highest supported: 0 Mbps
                Frequencies:
                        * 5170 MHz [34] (disabled)
                        * 5180 MHz [36] (disabled)
                        * 5190 MHz [38] (disabled)
                        * 5200 MHz [40] (disabled)
                        * 5210 MHz [42] (disabled)
                        * 5220 MHz [44] (disabled)
                        * 5230 MHz [46] (disabled)
                        * 5240 MHz [48] (disabled)
                        * 5260 MHz [52] (disabled)
                        * 5280 MHz [56] (disabled)
                        * 5300 MHz [60] (disabled)
                        * 5320 MHz [64] (disabled)
                        * 5500 MHz [100] (disabled)
                        * 5520 MHz [104] (disabled)
                        * 5540 MHz [108] (disabled)
                        * 5560 MHz [112] (disabled)
                        * 5580 MHz [116] (disabled)
                        * 5600 MHz [120] (disabled)
                        * 5620 MHz [124] (disabled)
                        * 5640 MHz [128] (disabled)
                        * 5660 MHz [132] (disabled)
                        * 5680 MHz [136] (disabled)
                        * 5700 MHz [140] (disabled)
                        * 5720 MHz [144] (disabled)
                        * 5745 MHz [149] (20.0 dBm)
                        * 5765 MHz [153] (20.0 dBm)
                        * 5785 MHz [157] (20.0 dBm)
                        * 5805 MHz [161] (20.0 dBm)
                        * 5825 MHz [165] (20.0 dBm)
        valid interface combinations:
                 * #{ managed } <= 1, #{ P2P-device } <= 1, #{ P2P-client, P2P-GO } <= 1,
                   total <= 3, #channels <= 1
                 * #{ managed } <= 1, #{ AP } <= 1, #{ P2P-client } <= 1, #{ P2P-device } <= 1,
                   total <= 4, #channels <= 1
                 * #{ AP } <= 4,
                   total <= 4, #channels <= 1, STA/AP BI must match
root@lede:/# iw phy phy0 channels
Band 2:
        * 5170 MHz [34] (disabled)
        * 5180 MHz [36] (disabled)
        * 5190 MHz [38] (disabled)
        * 5200 MHz [40] (disabled)
        * 5210 MHz [42] (disabled)
        * 5220 MHz [44] (disabled)
        * 5230 MHz [46] (disabled)
        * 5240 MHz [48] (disabled)
        * 5260 MHz [52] (disabled)
        * 5280 MHz [56] (disabled)
        * 5300 MHz [60] (disabled)
        * 5320 MHz [64] (disabled)
        * 5500 MHz [100] (disabled)
        * 5520 MHz [104] (disabled)
        * 5540 MHz [108] (disabled)
        * 5560 MHz [112] (disabled)
        * 5580 MHz [116] (disabled)
        * 5600 MHz [120] (disabled)
        * 5620 MHz [124] (disabled)
        * 5640 MHz [128] (disabled)
        * 5660 MHz [132] (disabled)
        * 5680 MHz [136] (disabled)
        * 5700 MHz [140] (disabled)
        * 5720 MHz [144] (disabled)
        * 5745 MHz [149] 
          Maximum TX power: 20.0 dBm
          Channel widths: 20MHz HT40+ VHT80
        * 5765 MHz [153] 
          Maximum TX power: 20.0 dBm
          Channel widths: 20MHz HT40- VHT80
        * 5785 MHz [157] 
          Maximum TX power: 20.0 dBm
          Channel widths: 20MHz HT40+ VHT80
        * 5805 MHz [161] 
          Maximum TX power: 20.0 dBm
          Channel widths: 20MHz HT40- VHT80
        * 5825 MHz [165] 
          Maximum TX power: 20.0 dBm
          Channel widths: 20MHz
14.10.2016227Base systemBug ReportMediumHighVLAN support mismatch between preinit and default netwo...TrunkResearching Task Description

PPPoE is broken on WRT1900ACS

Upgraded from Lede r578 to latest Lede r1814 and PPPOE doesn’t work anymore altough the pppd version and PPPoE version are the same:
- Linksys WRT1900ACS
- LEDE reboot r1814

pppd debug log:

Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Timeout waiting for PADO packets
Unable to complete PPPoE Discovery
Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]

While on the same hardware running LEDE r578, the PPPoE module works as expected:

Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Recv PPPOE Discovery V1T1 PADO session 0×0 length 40
dst c2:56:27:ca:d7:d4 src a0:f3:e4:34:d8:21
[service-name] [AC-name acc-aln1.hac] [AC-cookie 75 58 37 a5 ba 3c e4 a5 2a 61 bb 23 92 5c 1b dc]
Send PPPOE Discovery V1T1 PADR session 0×0 length 24
dst a0:f3:e4:34:d8:21 src c2:56:27:ca:d7:d4
[service-name] [AC-cookie 75 58 37 a5 ba 3c e4 a5 2a 61 bb 23 92 5c 1b dc]
Recv PPPOE Discovery V1T1 PADS session 0x30b length 4
dst c2:56:27:ca:d7:d4 src a0:f3:e4:34:d8:21
[service-name]
PADS: Service-Name: ‘’ PPP session is 779
Connected to a0:f3:e4:34:d8:21 via interface eth0
using channel 2
Using interface pppoe-wan
Connect: pppoe-wan ←→ eth0
sent [LCP ConfReq id=0×1 <mru 1492> <magic 0xc6952556>]
rcvd [LCP ConfReq id=0×66 <mru 1492> <auth chap MD5> <magic 0x4cc73648>]
sent [LCP ConfAck id=0×66 <mru 1492> <auth chap MD5> <magic 0x4cc73648>]
rcvd [LCP ConfAck id=0×1 <mru 1492> <magic 0xc6952556>]
sent [LCP EchoReq id=0×0 magic=0xc6952556]
rcvd [CHAP Challenge id=0×1 <7131a44524d1de8f1cd1061cac6d8c071d8bfe7351bc4ea7bd08f56684428475f229ba177a192696ebab32>, name = “acc-aln1.hac”]
sent [CHAP Response id=0×1 <4bb1a418b298790b128ad4d7ef3109ad>, name = “bthomehub@btbroadband.com”]
rcvd [LCP EchoRep id=0×0 magic=0x4cc73648]
rcvd [CHAP Success id=0×1 “CHAP authentication success”]
CHAP authentication succeeded: CHAP authentication success
CHAP authentication succeeded
peer from calling number A0:F3:E4:34:D8:21 authorized
sent [IPCP ConfReq id=0×1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPV6CP ConfReq id=0×1 <addr fe80::c595:37d1:3987:1929>]
rcvd [IPV6CP ConfReq id=0x7b <addr fe80::0221:05ff:feb4:8824>]
sent [IPV6CP ConfAck id=0x7b <addr fe80::0221:05ff:feb4:8824>]
rcvd [IPCP ConfReq id=0×38 <addr 172.16.12.12>]
sent [IPCP ConfAck id=0×38 <addr 172.16.12.12>]
rcvd [IPCP ConfNak id=0×1 <addr 81.146.2.155> <ms-dns1 81.139.57.100> <ms-dns2 81.139.56.100>]
sent [IPCP ConfReq id=0×2 <addr 81.146.2.155> <ms-dns1 81.139.57.100> <ms-dns2 81.139.56.100>]
rcvd [IPV6CP ConfAck id=0×1 <addr fe80::c595:37d1:3987:1929>]
local LL address fe80::c595:37d1:3987:1929
remote LL address fe80::0221:05ff:feb4:8824
Script /lib/netifd/ppp-up started (pid 2646)
rcvd [IPCP ConfAck id=0×2 <addr 81.146.2.155> <ms-dns1 81.139.57.100> <ms-dns2 81.139.56.100>]
local IP address 81.146.2.155
remote IP address 172.16.12.12
primary DNS address 81.139.57.100
secondary DNS address 81.139.56.100
ppp.log
secondary DNS address 81.139.56.100
Script /lib/netifd/ppp-up started (pid 2653)
Script /lib/netifd/ppp-up finished (pid 2646), status = 0×9 Script /lib/netifd/ppp-up finished (pid 2653), status = 0×9

17.08.201697Base systemBug ReportMediumLowdnsmasq doesn't receive updated dns servers when runnin...TrunkNew Task Description

Bind-mounting /tmp/resolv.conf.auto apparently doesn’t forward inotify events arriving from the kernel when resolv.conf.auto was changed (e.g. upstream DNS servers were received by a DHCP client or pppd). Restarting dnsmasq or running it without ujail solves the issue.

13.07.201650Base systemBug ReportMediumLowNo image or non-verbose output created if image is too ...TrunkNew Task Description

The target/install target does not produce the *squashfs-factory.bin and *squashfs-sysupgrade.bin binaries if the images are too big to fit the selected flash size.
However, make doesn’t say a word to the user but simply does not produce the files. The user has to either check the mtime of the files if they were created earlier or use

make target/install V=s

to derive what’s wrong.
According to jow on IRC this is just an artifact of no way to bypass silent mode. That might be the common explanation but it is still a bug from my POV.

10.07.20203221PackagesBug ReportLowLowubox: validate.c: Link-Local IPv6 with interface ID not...AllNew Task Description

validate.c uses inet_pton for identifying IPv6 addresses [1], and this seems to not understand interface identifiers as used for Link-local IPv6 addresses.

Reproduce:

root@FFF-GW-Adrian:~# /sbin/validate_data host fdff::1
host - fdff::1 = true
root@FFF-GW-Adrian:~# /sbin/validate_data host fe80::1
host - fe80::1 = true
root@FFF-GW-Adrian:~# /sbin/validate_data host fe80::1%br-mesh
host - fe80::1%br-mesh = false

This is a problem practically whenever validata_data is used to check uci values.

For example, it is not possible to use a link-local address for specifying an NTP server:

https://github.com/openwrt/openwrt/blob/master/package/utils/busybox/files/sysntpd#L33

If ‘server:list(host)’ is changed to ‘server:list(string)’ there, it obviously works fine, as it’s just the validation.

[1] https://git.openwrt.org/?p=project/ubox.git;a=blob;f=validate/validate.c;h=e72b8117ecd8b680778b0f5c7637ed6546a7736b;hb=HEAD#l402

08.05.20203073KernelBug ReportLowHighAR8337/AR8327 Flow Control Enabled on Archer C7 v5 (and...TrunkUnconfirmed Task Description

I have a TP-Link Archer C7 v5 (ath79/generic) running OpenWrt 19.07.2 r10947-65030d81f3 and periodically one of my hosts sends out a long-running flood (10/sec) of MPCP Pause frames. The AR8337 switch is configured to honor these frames on port 0 (CPU), and other ports, so stops switching frames essentially forever.

There is no way exposed to user to disable flow control.

Flow control should be turned off unless explicitly requested by the user (e.g., they are in a Datacenter/Enterprise environment and/or doing Fibre Channel over Ethernet). This is exactly the opposite of how it currently is with the added benefit that the user cannot change the behavior.

Here’s a tool that will helpfully generate MPCP Pause frames:
https://github.com/nwholloway/mpcp

You can use this to bring down your network indefinitely. Additionally, since the AR8337 switch consumes these frames you will not be able to see them from the OpenWRT host.

29.01.20202781Base systemBug ReportLowMediumArcher C50 v4 Mac80211 Looses Internet Access after 20’...openwrt-19.07New Task Description

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

 

Problem Device:
TP-Link Archer C50 (Canadian) v4 + v4.2

Software version:
openwrt 19.07 r10860, default packages versions.

Steps to reproduce:
Setup wireless like below. I’ve intentionally left encryption set to “none” for both radio’s for quick testing but i’ve tested with WPA2 CCMP encryption with no change in results.

config wifi-device ‘radio0’ option type ‘mac80211’ option channel ‘11’ option hwmode ‘11g’ option path ‘platform/10300000.wmac’ option htmode ‘HT20’ option legacy_rates ‘0’ option country ‘CA’

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

config wifi-device ‘radio1’ option type ‘mac80211’ option hwmode ‘11a’ option path ‘pci0000:00/0000:00:00.0/0000:01:00.0’ option htmode ‘VHT80’ option channel ‘112’ option legacy_rates ‘0’ option country ‘CA’

config wifi-iface ‘default_radio1’ option device ‘radio1’ option network ‘lan’ option mode ‘ap’ option ssid ‘OpenWrt’ option encryption ‘none’

Alternative Settings:

htmode ‘HT40’ No change in results
channel ‘1’, ‘6’, ‘11’ No change in results
disassoc_low_ack ‘0’ No change in results

18.06.20192328Base systemBug ReportLowMediumAllocate resources to sort out odhcpd/dnsmasq interacti...TrunkNew Task Description

As IPv6 is being adopted, increasingly people are seeing dnsmasq log ‘spam’. See https://bugs.openwrt.org/index.php?do=details&task_id=1492&string=1492&search_name=&type%5B0%5D=&sev%5B0%5D=&pri%5B0%5D=&due%5B0%5D=&reported%5B0%5D=&cat%5B0%5D=&status%5B0%5D=open&percent%5B0%5D=&opened=&dev=&closed=&duedatefrom=&duedateto=&changedfrom=&changedto=&openedfrom=&openedto=&closedfrom=&closedto=

By default under openwrt, dhcpv4 leases are handled by dnsmasq whilst dhcpv6/RA is handled by openwrt’s odhcpd.

odhcpd could handle both v4 & v6 but does not yet have the same configuration flexibility for dhcp options as dnsmasq. I guess this is why no one has been brave enough to switch to odhcpd for ipv4 operations as well as ipv6.

dnsmasq can also handle dhcpv6/RA but not quite as flexibly as odhcpd. dnsmasq will automatically find IP6 prefixes on interfaces and start handling them, whilst openwrt’s strategy with odhcpd is to only handle stuff we tell you to handle, don’t do it automagically.

As dnsmasq is the default resolver for openwrt and the wider LAN, it needs to know about DHCP/hostname allocations. For DHCPv4 this is easy, dnsmasq is controlling them. For DHCPv6 a hosts file (called a statefile in the odhcpd code) is handed to dnsmasq.

By default this host file is not read dynamically, so odhcpd has to signal dnsmasq to re-read the host file (and clear caches etc etc) upon every ipv6 lease change.

This generates a lot of log spam and process startup overhead. There are also questions about service operability during this time.

Effort needs to be put into sorting this out.

Temporary workarounds:

Use ‘hostsdir’ dnsmasq option instead of ‘addn-hosts’ - dnsmasq will dynamically scan changes/additions to hosts in hostsdir whereas addn-hosts needs a SIGHUP. Host deletions cannot be handled by this method, so odhcpd would still need to SIGHUP on lease expiry. It might reduce some of the spam.

Longer term:

Teach dnsmasq to accept hostname updates over an IPC mechanism. ubus? and carry on using odhcpd for ipv6.

Teach dnsmasq to handle ipv6 prefix additions/deletions/handling via an IPC mechanism in the same way as odhcpd. Drop odhcpd and use dnsmasq for everything.

Use odhcpd for everything and use another dns resolver that interfaces nicely with odhcpd.

Why don’t I see this problem: I use dnsmasq to handle ipv6 but I’m lucky enough that this works for me.

This needs fixing/funding to sort it out though.

03.09.2017998PackagesBug ReportLowLowpackages: "make packages/X/check" should print warnings...TrunkNew Task Description

Currently, when running “make check” on a single package, it does not print any warning. V=s is needed to see the warnings. The build system should print the warnings in all cases, because that’s what the user asks for!

To reproduce:

$ make package/nlbwmon/check 
 make[1] package/nlbwmon/check
 make[2] -C feeds/packages/net/nlbwmon check
$ make package/nlbwmon/check V=s
make[1]: Entering directory '/tmp/lede'
make[2]: Entering directory '/tmp/lede/feeds/packages/net/nlbwmon'
WARNING: nlbwmon-2017-08-02-32fc0925.tar.xz is missing, please run make download before re-running this check
make[2]: Leaving directory '/tmp/lede/feeds/packages/net/nlbwmon'
make[1]: Leaving directory '/tmp/lede'

The main target make check (without specifying any package) works fine, because it seems to run in verbose mode by default:

$ make check
make[3]: Entering directory '/tmp/lede/tools/gmp'
make[3]: Leaving directory '/tmp/lede/tools/gmp'
...
make[3]: Entering directory '/tmp/lede/package/network/utils/iwinfo'
WARNING: PKG_MIRROR_HASH is missing, set to 7bd294f50f8ec8c0497c5fbe5527f3ae098814cdfeecf4ccf78a2a8937611664
make[3]: Leaving directory '/tmp/lede/package/network/utils/iwinfo'
...

I tried to fix the issue myself but this is way above my understanding of make.

25.01.20213597Base systemBug ReportVery LowCriticalCPE510 see 32MB of flash instead of 8MB and forget conf...TrunkUnconfirmed Task Description

Hello,

I’m using imagebuilder to generate firmware for my TP-Link CPE510V3 and the resulting firmware is detecting the wrong amount of flash 32MB instead of 8MB.
The result is at each reboot the device loose it’s configuration.

- Device problem occurs on: TP-Link CPE510V3 - Software versions of OpenWrt/LEDE release, packages, etc.: OpenWrt SNAPSHOT r15151-13961da6ce / LuCI Master git-20.332.74200-03c77da - Steps to reproduce: Just use imagebuilder and you get this behavior.

Thx,
Brice

25.01.20213596KernelBug ReportVery LowLowEnable Intel i40e driver in Releasesopenwrt-19.07Unconfirmed Task Description

Hi Folks,

Not sure if this is the correct way to request so please redirect if needed. The drivers for the Intel i40e network interface series was requested to be added to master with this pull: https://github.com/openwrt/openwrt/pull/1851

However it looks like it was paused until the Kernel is updated to 4.19. However it successfully compiles on Kernel 4.14 in the 19.07 branch.

Can I request that it’s included in future 19.07 releases? It’s the only thing stopping me running my devices on the released binaries!

Thanks.

24.01.20213593PackagesBug ReportVery LowMediumSamba Interfaces Not Working Correctlyopenwrt-19.07Unconfirmed Task Description

root@APU2:~# netstat -nplt | grep smbd
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 18063/smbd
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 18063/smbd
tcp 0 0 :::445 :::* LISTEN 18063/smbd
tcp 0 0 :::139 :::* LISTEN 18063/smbd
root@APU2:~# head -n 9 /etc/config/samba
config samba

      option 'name'                   'OpenWrt'
      option 'workgroup'              'WORKGROUP'
      option 'description'            'Samba Server on APU2'
      option 'charset'                'UTF-8'
      option 'homes'                  '0'
      list 'interface'                'LOOPBACK'
      list 'interface'                'LAN'
23.01.20213592Base systemBug ReportVery LowMediumLinksys E7500 v2 and problem with WAN after installing ...openwrt-19.07Unconfirmed Task Description

HI !

 

On original firmware (FW_EA7500v2_2.0.8.194281_prod.img) everything is OK.
LAN, WAN, WIFI etc., are working properly.

I installed the OpenWRT according to the instruction:
https://openwrt.org/toh/linksys/linksys_ea7500_v2

I downloaded firmware from https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/ openwrt-ramips-mt7621-linksys_ea7500-v2-squashfs-factory.bin - 8448.2 KB Sat Jan 23 09:22:01 2021
openwrt-ramips-mt7621-linksys_ea7500-v2-squashfs-sysupgrade.bin - 5740.6 KB Sat Jan 23 09:22:01 2021

After installing “factory” firmware , the WAN connection does not work.

PLEASE, HELP ME.

DMESG :

[    0.000000] Linux version 5.4.91 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r15588-465eaa0e07)) #0 SMP Sat Jan 23 05:03:53 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 Linksys EA7500 v2
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] On node 0 totalpages: 65536
[    0.000000]   Normal zone: 576 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] percpu: Embedded 14 pages/cpu s26768 r8192 d22384 u57344
[    0.000000] pcpu-alloc: s26768 r8192 d22384 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Writing ErrCtl register=00054080
[    0.000000] Readback ErrCtl register=00054080
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 250276K/262144K available (6059K kernel code, 204K rwdata, 1288K rodata, 1268K init, 238K bss, 11868K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 256
[    0.000000] random: get_random_bytes called from start_kernel+0x340/0x558 with crng_init=0
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000008] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.007802] Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360)
[    0.041995] pid_max: default: 32768 minimum: 301
[    0.046772] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.053998] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.064399] rcu: Hierarchical SRCU implementation.
[    0.069835] smp: Bringing up secondary CPUs ...
[    9.117947] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    9.117957] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    9.117970] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    9.118067] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.102598] Synchronize counters for CPU 1: done.
[    9.179249] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    9.179257] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    9.179265] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    9.179319] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.167300] Synchronize counters for CPU 2: done.
[    9.240633] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    9.240641] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    9.240648] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    9.240709] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.225156] Synchronize counters for CPU 3: done.
[    0.255030] smp: Brought up 1 node, 4 CPUs
[    0.263484] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.273182] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.280257] pinctrl core: initialized pinctrl subsystem
[    0.287127] NET: Registered protocol family 16
[    0.302469] FPU Affinity set after 4688 emulations
[    0.318149] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.329394] clocksource: Switched to clocksource GIC
[    0.336430] NET: Registered protocol family 2
[    0.342234] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.350635] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.358225] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.365311] TCP: Hash tables configured (established 2048 bind 2048)
[    0.371744] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.378220] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.385442] NET: Registered protocol family 1
[    0.389761] PCI: CLS 0 bytes, default 32
[    0.485340] 4 CPUs re-calibrate udelay(lpj = 1167360)
[    0.491899] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.499508] random: fast init done
[    0.509328] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.515166] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.526835] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.535957] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.541812] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.547613] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.553924] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.563417] printk: console [ttyS0] disabled
[    0.567699] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    0.576679] printk: console [ttyS0] enabled
[    0.584938] printk: bootconsole [early0] disabled
[    0.596677] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[    0.604246] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[    0.610589] nand: Macronix MX30LF1G18AC
[    0.614420] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.621975] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[    0.628515] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    0.635810] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    0.643102] Scanning device for bad blocks
[    1.943320] 11 fixed-partitions partitions found on MTD device mt7621-nand
[    1.950182] Creating 11 MTD partitions on "mt7621-nand":
[    1.955490] 0x000000000000-0x000000080000 : "boot"
[    1.961658] 0x000000080000-0x0000000c0000 : "u_env"
[    1.967740] 0x0000000c0000-0x000000100000 : "factory"
[    1.974097] 0x000000100000-0x000000140000 : "s_env"
[    1.980207] 0x000000140000-0x000000180000 : "devinfo"
[    1.986534] 0x000000180000-0x000000580000 : "kernel"
[    1.992795] 0x000000580000-0x000002980000 : "ubi"
[    1.998901] 0x000002980000-0x000002d80000 : "alt_kernel"
[    2.005597] 0x000002d80000-0x000005180000 : "alt_rootfs"
[    2.012346] 0x000005180000-0x000005280000 : "sysdiag"
[    2.018709] 0x000005280000-0x000007f80000 : "syscfg"
[    2.026338] libphy: Fixed MDIO Bus: probed
[    2.055858] libphy: mdio: probed
[    2.059307] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    2.067891] mtk_soc_eth 1e100000.ethernet: generated random MAC address 72:3a:b5:f4:d6:17
[    2.076889] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    2.087180] mt7621-pci 1e140000.pcie: Parsing DT failed
[    2.094933] NET: Registered protocol family 10
[    2.100781] Segment Routing with IPv6
[    2.104566] NET: Registered protocol family 17
[    2.109127] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.122327] 8021q: 802.1Q VLAN Support v1.8
[    2.128472] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    2.145559] libphy: dsa slave smi: probed
[    2.149981] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[    2.159545] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[    2.169203] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[    2.178830] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[    2.188471] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[    2.198202] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    2.209448] DSA: tree 0 setup
[    2.212709] rt2880-pinmux pinctrl: pcie is already enabled
[    2.218197] mt7621-pci 1e140000.pcie: Error applying setting, reverse things back
[    2.225805] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    2.233412] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    2.340812] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    2.346393] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    2.451897] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    2.458847] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    2.463715] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    2.468590] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    2.478042] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    2.484392] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    2.491255] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    2.498120] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.503633] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    2.509663] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.515922] pci 0000:00:00.0: reg 0x14: [mem 0x60200000-0x6020ffff]
[    2.522248] pci 0000:00:00.0: supports D1
[    2.526253] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    2.532353] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    2.538387] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.544644] pci 0000:00:01.0: reg 0x14: [mem 0x60210000-0x6021ffff]
[    2.550972] pci 0000:00:01.0: supports D1
[    2.554979] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    2.562187] pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280
[    2.568238] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    2.575181] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    2.590226] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    2.595454] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    2.601541] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.608320] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.615126] pci 0000:02:00.0: [14c3:7615] type 00 class 0x000280
[    2.621171] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    2.628110] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    2.643130] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    2.648360] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    2.654446] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
[    2.661233] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    2.667892] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    2.674497] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.681447] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    2.688044] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.694994] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.701773] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
[    2.708547] pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
[    2.715329] pci 0000:00:01.0: BAR 1: assigned [mem 0x60210000-0x6021ffff]
[    2.722109] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    2.728883] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    2.735671] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    2.742977] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.747935] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    2.754713] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.761499] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
[    2.768799] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.773759] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    2.780531] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
[    2.787853] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[    2.788942] UBI: auto-attach mtd6
[    2.798099] ubi0: attaching mtd6
[    2.838368] UBI: EOF marker found, PEBs from 29 will be erased
[    2.844467] ubi0: scanning is finished
[    2.887918] ubi0: volume 1 ("rootfs_data") re-sized from 9 to 237 LEBs
[    2.895271] ubi0: attached mtd6 (name "ubi", size 36 MiB)
[    2.900682] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.907555] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.914331] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.921273] ubi0: good PEBs: 288, bad PEBs: 0, corrupted PEBs: 0
[    2.927268] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    2.934476] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1611378233
[    2.943582] ubi0: available PEBs: 0, total reserved PEBs: 288, PEBs reserved for bad PEB handling: 20
[    2.952803] ubi0: background thread "ubi_bgt0d" started, PID 503
[    2.955233] block ubiblock0_0: created from ubi0:0(rootfs)
[    2.964332] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    2.971310] hctosys: unable to open rtc device (rtc0)
[    2.991781] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    3.004414] Freeing unused kernel memory: 1268K
[    3.008970] This architecture does not have kernel memory protection.
[    3.015435] Run /sbin/init as init process
[    3.698731] init: Console is alive
[    3.702386] init: - watchdog -
[    4.469421] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.563158] usbcore: registered new interface driver usbfs
[    4.568762] usbcore: registered new interface driver hub
[    4.574177] usbcore: registered new device driver usb
[    4.588917] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
[    4.597664] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
[    4.606635] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    4.611974] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    4.625520] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[    4.634738] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
[    4.641817] hub 1-0:1.0: USB hub found
[    4.645665] hub 1-0:1.0: 2 ports detected
[    4.650263] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    4.655625] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    4.663123] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
[    4.669697] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.678632] hub 2-0:1.0: USB hub found
[    4.682491] hub 2-0:1.0: 1 port detected
[    4.692130] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.701736] init: - preinit -
[    5.111607] usb 1-2: new high-speed USB device number 2 using xhci-mtk
[    5.338115] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    5.346425] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    5.354932] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    5.362861] random: procd: uninitialized urandom read (4 bytes read)
[    5.529599] random: jshn: uninitialized urandom read (4 bytes read)
[    5.592649] random: jshn: uninitialized urandom read (4 bytes read)
[    6.116984] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    6.124033] 8021q: adding VLAN 0 to HW filter on device lan1
[    9.209890] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[    9.217414] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
[   10.323950] UBIFS (ubi0:1): default file-system created
[   10.330557] UBIFS (ubi0:1): Mounting in unauthenticated mode
[   10.336437] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 658
[   10.460758] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   10.468625] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   10.478531] UBIFS (ubi0:1): FS size: 28823552 bytes (27 MiB, 227 LEBs), journal size 1396736 bytes (1 MiB, 11 LEBs)
[   10.488935] UBIFS (ubi0:1): reserved for root: 1361407 bytes (1329 KiB)
[   10.495541] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 4C17A23A-6138-4533-8E6B-E00D6C739574, small LPT model
[   10.509936] mount_root: overlay filesystem has not been fully initialized yet
[   10.517578] mount_root: switching to ubifs overlay
[   10.529448] urandom-seed: Seed file not found (/etc/urandom.seed)
[   10.608561] mt7530 mdio-bus:1f lan1: Link is Down
[   10.623133] procd: - early -
[   10.626154] procd: - watchdog -
[   11.225572] procd: - watchdog -
[   11.229434] procd: - ubus -
[   11.324367] procd: - init -
[   11.822947] kmodloader: loading kernel modules from /etc/modules.d/*
[   11.874093] Loading modules backported from Linux version v5.8.18-0-gab435ce49bd1
[   11.881596] Backport generated by backports.git v5.8.18-1-0-ga630fd46
[   11.933702] xt_time: kernel timezone is -0000
[   11.944454] urngd: v1.0.2 started.
[   11.986511] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=23
[   11.991949] pci 0000:00:00.0: enabling device (0006 -> 0007)
[   11.997613] mt7615e 0000:01:00.0: enabling device (0000 -> 0002)
[   12.015941] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   12.020497] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=24
[   12.026066] pci 0000:00:01.0: enabling device (0006 -> 0007)
[   12.031795] mt7615e 0000:02:00.0: enabling device (0000 -> 0002)
[   12.042259] mt7615e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[   12.042259]
[   12.052847] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   12.087629] PPP generic driver version 2.4.2
[   12.098451] NET: Registered protocol family 24
[   12.103841] mt7615e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[   12.103841]
[   12.111516] random: crng init done
[   12.116942] random: 7 urandom warning(s) missed due to ratelimiting
[   12.242083] kmodloader: done loading kernel modules from /etc/modules.d/*
[   12.364820] mt7615e 0000:01:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649
[   12.364853] mt7615e 0000:02:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649
[   12.433284] mt7615e 0000:02:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190121161307
[   12.442056] mt7615e 0000:01:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190121161307
[   45.417449] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   45.424031] mtk_soc_eth 1e100000.ethernet: PPE table busy
[   45.437693] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   45.445958] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   45.451957] device eth0 entered promiscuous mode
[   45.459797] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   45.467101] 8021q: adding VLAN 0 to HW filter on device lan1
[   45.475806] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   45.483149] br-lan: port 1(lan1) entered blocking state
[   45.488455] br-lan: port 1(lan1) entered disabled state
[   45.494562] device lan1 entered promiscuous mode
[   45.517575] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   45.524858] 8021q: adding VLAN 0 to HW filter on device lan2
[   45.534256] br-lan: port 2(lan2) entered blocking state
[   45.539540] br-lan: port 2(lan2) entered disabled state
[   45.546030] device lan2 entered promiscuous mode
[   45.559391] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   45.566693] 8021q: adding VLAN 0 to HW filter on device lan3
[   45.575803] br-lan: port 3(lan3) entered blocking state
[   45.581073] br-lan: port 3(lan3) entered disabled state
[   45.587555] device lan3 entered promiscuous mode
[   45.601052] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   45.608343] 8021q: adding VLAN 0 to HW filter on device lan4
[   45.617309] br-lan: port 4(lan4) entered blocking state
[   45.622657] br-lan: port 4(lan4) entered disabled state
[   45.629556] device lan4 entered promiscuous mode
[   45.647996] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[   45.655132] 8021q: adding VLAN 0 to HW filter on device wan
[   48.537887] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   48.545440] br-lan: port 1(lan1) entered blocking state
[   48.550701] br-lan: port 1(lan1) entered forwarding state
[   48.557087] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   48.729900] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control off
[   48.737430] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
[   49.689883] mt7530 mdio-bus:1f lan4: Link is Up - 1Gbps/Full - flow control off
[   49.697254] br-lan: port 4(lan4) entered blocking state
[   49.702495] br-lan: port 4(lan4) entered forwarding state
[   49.753658] mt7530 mdio-bus:1f wan: Link is Down
[   51.801888] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control off
[   52.825656] mt7530 mdio-bus:1f wan: Link is Down
[   56.921802] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control off
[   57.945644] mt7530 mdio-bus:1f wan: Link is Down
[   59.993808] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control off
[   62.041644] mt7530 mdio-bus:1f wan: Link is Down
[   64.089917] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control off
[   65.113646] mt7530 mdio-bus:1f wan: Link is Down
[   69.209803] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control off
[   70.233658] mt7530 mdio-bus:1f wan: Link is Down
[   72.281926] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control off
[   73.305647] mt7530 mdio-bus:1f wan: Link is Down

LOGREAD :

root@OpenWrt:~# logread
Sat Jan 23 05:03:56 2021 kern.notice kernel: [    2.921273] ubi0: good PEBs: 288, bad PEBs: 0, corrupted PEBs: 0
Sat Jan 23 05:03:56 2021 kern.notice kernel: [    2.927268] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
Sat Jan 23 05:03:56 2021 kern.notice kernel: [    2.934476] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1611378233
Sat Jan 23 05:03:56 2021 kern.notice kernel: [    2.943582] ubi0: available PEBs: 0, total reserved PEBs: 288, PEBs reserved for bad PEB handling: 20
Sat Jan 23 05:03:56 2021 kern.notice kernel: [    2.952803] ubi0: background thread "ubi_bgt0d" started, PID 503
Sat Jan 23 05:03:56 2021 kern.info kernel: [    2.955233] block ubiblock0_0: created from ubi0:0(rootfs)
Sat Jan 23 05:03:56 2021 kern.notice kernel: [    2.964332] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
Sat Jan 23 05:03:56 2021 kern.info kernel: [    2.971310] hctosys: unable to open rtc device (rtc0)
Sat Jan 23 05:03:56 2021 kern.info kernel: [    2.991781] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
Sat Jan 23 05:03:56 2021 kern.info kernel: [    3.004414] Freeing unused kernel memory: 1268K
Sat Jan 23 05:03:56 2021 kern.warn kernel: [    3.008970] This architecture does not have kernel memory protection.
Sat Jan 23 05:03:56 2021 kern.info kernel: [    3.015435] Run /sbin/init as init process
Sat Jan 23 05:03:56 2021 user.info kernel: [    3.698731] init: Console is alive
Sat Jan 23 05:03:56 2021 user.info kernel: [    3.702386] init: - watchdog -
Sat Jan 23 05:03:56 2021 user.info kernel: [    4.469421] kmodloader: loading kernel modules from /etc/modules-boot.d/*
Sat Jan 23 05:03:56 2021 kern.info kernel: [    4.563158] usbcore: registered new interface driver usbfs
Sat Jan 23 05:03:56 2021 kern.info kernel: [    4.568762] usbcore: registered new interface driver hub
Sat Jan 23 05:03:56 2021 kern.info kernel: [    4.574177] usbcore: registered new device driver usb
Sat Jan 23 05:03:56 2021 kern.warn kernel: [    4.588917] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
Sat Jan 23 05:03:56 2021 kern.warn kernel: [    4.597664] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
Sat Jan 23 05:03:56 2021 kern.info kernel: [    4.606635] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
Sat Jan 23 05:03:56 2021 kern.info kernel: [    4.611974] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
Sat Jan 23 05:03:56 2021 kern.info kernel: [    4.625520] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
Sat Jan 23 05:03:56 2021 kern.info kernel: [    4.634738] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
Sat Jan 23 05:03:56 2021 kern.info kernel: [    4.641817] hub 1-0:1.0: USB hub found
Sat Jan 23 05:03:56 2021 kern.info kernel: [    4.645665] hub 1-0:1.0: 2 ports detected
Sat Jan 23 05:03:56 2021 kern.info kernel: [    4.650263] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
Sat Jan 23 05:03:56 2021 kern.info kernel: [    4.655625] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
Sat Jan 23 05:03:56 2021 kern.info kernel: [    4.663123] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
Sat Jan 23 05:03:56 2021 kern.info kernel: [    4.669697] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
Sat Jan 23 05:03:56 2021 kern.info kernel: [    4.678632] hub 2-0:1.0: USB hub found
Sat Jan 23 05:03:56 2021 kern.info kernel: [    4.682491] hub 2-0:1.0: 1 port detected
Sat Jan 23 05:03:56 2021 user.info kernel: [    4.692130] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Sat Jan 23 05:03:56 2021 user.info kernel: [    4.701736] init: - preinit -
Sat Jan 23 05:03:56 2021 kern.info kernel: [    5.111607] usb 1-2: new high-speed USB device number 2 using xhci-mtk
Sat Jan 23 05:03:56 2021 kern.info kernel: [    5.338115] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
Sat Jan 23 05:03:56 2021 kern.info kernel: [    5.346425] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
Sat Jan 23 05:03:56 2021 kern.info kernel: [    5.354932] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sat Jan 23 05:03:56 2021 kern.notice kernel: [    5.362861] random: procd: uninitialized urandom read (4 bytes read)
Sat Jan 23 05:03:56 2021 kern.notice kernel: [    5.529599] random: jshn: uninitialized urandom read (4 bytes read)
Sat Jan 23 05:03:56 2021 kern.notice kernel: [    5.592649] random: jshn: uninitialized urandom read (4 bytes read)
Sat Jan 23 05:03:56 2021 kern.info kernel: [    6.116984] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
Sat Jan 23 05:03:56 2021 kern.info kernel: [    6.124033] 8021q: adding VLAN 0 to HW filter on device lan1
Sat Jan 23 05:03:56 2021 kern.info kernel: [    9.209890] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
Sat Jan 23 05:03:56 2021 kern.info kernel: [    9.217414] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
Sat Jan 23 05:03:56 2021 kern.notice kernel: [   10.323950] UBIFS (ubi0:1): default file-system created
Sat Jan 23 05:03:56 2021 kern.notice kernel: [   10.330557] UBIFS (ubi0:1): Mounting in unauthenticated mode
Sat Jan 23 05:03:56 2021 kern.notice kernel: [   10.336437] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 658
Sat Jan 23 05:03:56 2021 kern.notice kernel: [   10.460758] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
Sat Jan 23 05:03:56 2021 kern.notice kernel: [   10.468625] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
Sat Jan 23 05:03:56 2021 kern.notice kernel: [   10.478531] UBIFS (ubi0:1): FS size: 28823552 bytes (27 MiB, 227 LEBs), journal size 1396736 bytes (1 MiB, 11 LEBs)
Sat Jan 23 05:03:56 2021 kern.notice kernel: [   10.488935] UBIFS (ubi0:1): reserved for root: 1361407 bytes (1329 KiB)
Sat Jan 23 05:03:56 2021 kern.notice kernel: [   10.495541] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 4C17A23A-6138-4533-8E6B-E00D6C739574, small LPT model
Sat Jan 23 05:03:56 2021 user.info kernel: [   10.509936] mount_root: overlay filesystem has not been fully initialized yet
Sat Jan 23 05:03:56 2021 user.info kernel: [   10.517578] mount_root: switching to ubifs overlay
Sat Jan 23 05:03:56 2021 user.warn kernel: [   10.529448] urandom-seed: Seed file not found (/etc/urandom.seed)
Sat Jan 23 05:03:56 2021 kern.info kernel: [   10.608561] mt7530 mdio-bus:1f lan1: Link is Down
Sat Jan 23 05:03:56 2021 user.info kernel: [   10.623133] procd: - early -
Sat Jan 23 05:03:56 2021 user.info kernel: [   10.626154] procd: - watchdog -
Sat Jan 23 05:03:56 2021 user.info kernel: [   11.225572] procd: - watchdog -
Sat Jan 23 05:03:56 2021 user.info kernel: [   11.229434] procd: - ubus -
Sat Jan 23 05:03:56 2021 user.info kernel: [   11.324367] procd: - init -
Sat Jan 23 05:03:56 2021 user.info kernel: [   11.822947] kmodloader: loading kernel modules from /etc/modules.d/*
Sat Jan 23 05:03:56 2021 kern.info kernel: [   11.874093] Loading modules backported from Linux version v5.8.18-0-gab435ce49bd1
Sat Jan 23 05:03:56 2021 kern.info kernel: [   11.881596] Backport generated by backports.git v5.8.18-1-0-ga630fd46
Sat Jan 23 05:03:56 2021 kern.info kernel: [   11.933702] xt_time: kernel timezone is -0000
Sat Jan 23 05:03:56 2021 user.info kernel: [   11.944454] urngd: v1.0.2 started.
Sat Jan 23 05:03:56 2021 kern.info kernel: [   11.986511] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=23
Sat Jan 23 05:03:56 2021 kern.info kernel: [   11.991949] pci 0000:00:00.0: enabling device (0006 -> 0007)
Sat Jan 23 05:03:56 2021 kern.info kernel: [   11.997613] mt7615e 0000:01:00.0: enabling device (0000 -> 0002)
Sat Jan 23 05:03:56 2021 kern.debug kernel: [   12.015941] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Sat Jan 23 05:03:56 2021 kern.info kernel: [   12.020497] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=24
Sat Jan 23 05:03:56 2021 kern.info kernel: [   12.026066] pci 0000:00:01.0: enabling device (0006 -> 0007)
Sat Jan 23 05:03:56 2021 kern.info kernel: [   12.031795] mt7615e 0000:02:00.0: enabling device (0000 -> 0002)
Sat Jan 23 05:03:56 2021 kern.info kernel: [   12.042259] mt7615e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
Sat Jan 23 05:03:56 2021 kern.info kernel: [   12.042259]
Sat Jan 23 05:03:56 2021 kern.debug kernel: [   12.052847] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
Sat Jan 23 05:03:56 2021 kern.info kernel: [   12.087629] PPP generic driver version 2.4.2
Sat Jan 23 05:03:56 2021 kern.info kernel: [   12.098451] NET: Registered protocol family 24
Sat Jan 23 05:03:56 2021 kern.info kernel: [   12.103841] mt7615e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
Sat Jan 23 05:03:56 2021 kern.info kernel: [   12.103841]
Sat Jan 23 05:03:56 2021 kern.notice kernel: [   12.111516] random: crng init done
Sat Jan 23 05:03:56 2021 kern.notice kernel: [   12.116942] random: 7 urandom warning(s) missed due to ratelimiting
Sat Jan 23 05:03:56 2021 user.info kernel: [   12.242083] kmodloader: done loading kernel modules from /etc/modules.d/*
Sat Jan 23 05:03:56 2021 kern.info kernel: [   12.364820] mt7615e 0000:01:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649
Sat Jan 23 05:03:56 2021 kern.info kernel: [   12.364853] mt7615e 0000:02:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649
Sat Jan 23 05:03:56 2021 kern.info kernel: [   12.433284] mt7615e 0000:02:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190121161307
Sat Jan 23 05:03:56 2021 kern.info kernel: [   12.442056] mt7615e 0000:01:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190121161307
Sat Jan 23 05:03:57 2021 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Sat Jan 23 05:03:57 2021 user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Sat Jan 23 05:03:57 2021 daemon.info dnsmasq[1493]: Connected to system UBus
Sat Jan 23 05:03:57 2021 daemon.info dnsmasq[1493]: started, version 2.83 cachesize 150
Sat Jan 23 05:03:57 2021 daemon.info dnsmasq[1493]: DNS service limited to local subnets
Sat Jan 23 05:03:57 2021 daemon.info dnsmasq[1493]: compile time options: IPv6 GNU-getopt no-DBus UBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-nettlehash no-DNSSEC no-ID loop-detect inotify dumpfile
Sat Jan 23 05:03:57 2021 daemon.info dnsmasq[1493]: UBus support enabled: connected to system bus
Sat Jan 23 05:03:57 2021 daemon.info dnsmasq[1493]: using only locally-known addresses for domain test
Sat Jan 23 05:03:57 2021 daemon.info dnsmasq[1493]: using only locally-known addresses for domain onion
Sat Jan 23 05:03:57 2021 daemon.info dnsmasq[1493]: using only locally-known addresses for domain localhost
Sat Jan 23 05:03:57 2021 daemon.info dnsmasq[1493]: using only locally-known addresses for domain local
Sat Jan 23 05:03:57 2021 daemon.info dnsmasq[1493]: using only locally-known addresses for domain invalid
Sat Jan 23 05:03:57 2021 daemon.info dnsmasq[1493]: using only locally-known addresses for domain bind
Sat Jan 23 05:03:57 2021 daemon.info dnsmasq[1493]: using only locally-known addresses for domain lan
Sat Jan 23 05:03:57 2021 daemon.warn dnsmasq[1493]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sat Jan 23 05:03:57 2021 daemon.info dnsmasq[1493]: read /etc/hosts - 4 addresses
Sat Jan 23 05:03:57 2021 daemon.info dnsmasq[1493]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Sat Jan 23 05:04:23 2021 authpriv.info dropbear[1559]: Not backgrounding
Sat Jan 23 05:04:24 2021 user.notice : Added device handler type: 8021ad
Sat Jan 23 05:04:24 2021 user.notice : Added device handler type: 8021q
Sat Jan 23 05:04:24 2021 user.notice : Added device handler type: macvlan
Sat Jan 23 05:04:24 2021 user.notice : Added device handler type: veth
Sat Jan 23 05:04:24 2021 user.notice : Added device handler type: bridge
Sat Jan 23 05:04:24 2021 user.notice : Added device handler type: Network device
Sat Jan 23 05:04:24 2021 user.notice : Added device handler type: tunnel
Sat Jan 23 05:04:24 2021 daemon.notice wpa_supplicant[1658]: Successfully initialized wpa_supplicant
Sat Jan 23 05:04:25 2021 daemon.notice procd: /etc/rc.d/S96led: setting up led lan1 link
Sat Jan 23 05:04:25 2021 daemon.notice procd: /etc/rc.d/S96led: setting up led lan2 link
Sat Jan 23 05:04:25 2021 daemon.notice procd: /etc/rc.d/S96led: setting up led lan3 link
Sat Jan 23 05:04:25 2021 daemon.notice procd: /etc/rc.d/S96led: setting up led lan4 link
Sat Jan 23 05:04:25 2021 daemon.notice procd: /etc/rc.d/S96led: setting up led wan link
Sat Jan 23 05:04:26 2021 kern.info kernel: [   45.417449] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
Sat Jan 23 05:04:26 2021 kern.err kernel: [   45.424031] mtk_soc_eth 1e100000.ethernet: PPE table busy
Sat Jan 23 05:04:26 2021 daemon.debug dnsmasq[1493]: stopped listening on eth0(#2): fe80::703a:b5ff:fef4:d617%eth0 port 53
Sat Jan 23 05:04:26 2021 kern.info kernel: [   45.437693] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
Sat Jan 23 05:04:26 2021 kern.info kernel: [   45.445958] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
Sat Jan 23 05:04:26 2021 kern.info kernel: [   45.451957] device eth0 entered promiscuous mode
Sat Jan 23 05:04:26 2021 kern.info kernel: [   45.459797] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
Sat Jan 23 05:04:26 2021 kern.info kernel: [   45.467101] 8021q: adding VLAN 0 to HW filter on device lan1
Sat Jan 23 05:04:26 2021 kern.info kernel: [   45.475806] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sat Jan 23 05:04:26 2021 kern.info kernel: [   45.483149] br-lan: port 1(lan1) entered blocking state
Sat Jan 23 05:04:26 2021 kern.info kernel: [   45.488455] br-lan: port 1(lan1) entered disabled state
Sat Jan 23 05:04:26 2021 kern.info kernel: [   45.494562] device lan1 entered promiscuous mode
Sat Jan 23 05:04:26 2021 daemon.notice netifd: Interface 'lan' is enabled
Sat Jan 23 05:04:26 2021 daemon.notice netifd: Interface 'lan' is setting up now
Sat Jan 23 05:04:26 2021 daemon.debug dnsmasq[1493]: listening on br-lan(#10): 192.168.1.1 port 53
Sat Jan 23 05:04:27 2021 daemon.notice netifd: Interface 'lan' is now up
Sat Jan 23 05:04:27 2021 kern.info kernel: [   45.517575] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
Sat Jan 23 05:04:27 2021 kern.info kernel: [   45.524858] 8021q: adding VLAN 0 to HW filter on device lan2
Sat Jan 23 05:04:27 2021 kern.info kernel: [   45.534256] br-lan: port 2(lan2) entered blocking state
Sat Jan 23 05:04:27 2021 kern.info kernel: [   45.539540] br-lan: port 2(lan2) entered disabled state
Sat Jan 23 05:04:27 2021 kern.info kernel: [   45.546030] device lan2 entered promiscuous mode
Sat Jan 23 05:04:27 2021 kern.info kernel: [   45.559391] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
Sat Jan 23 05:04:27 2021 kern.info kernel: [   45.566693] 8021q: adding VLAN 0 to HW filter on device lan3
Sat Jan 23 05:04:27 2021 kern.info kernel: [   45.575803] br-lan: port 3(lan3) entered blocking state
Sat Jan 23 05:04:27 2021 kern.info kernel: [   45.581073] br-lan: port 3(lan3) entered disabled state
Sat Jan 23 05:04:27 2021 kern.info kernel: [   45.587555] device lan3 entered promiscuous mode
Sat Jan 23 05:04:27 2021 kern.info kernel: [   45.601052] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
Sat Jan 23 05:04:27 2021 kern.info kernel: [   45.608343] 8021q: adding VLAN 0 to HW filter on device lan4
Sat Jan 23 05:04:27 2021 kern.info kernel: [   45.617309] br-lan: port 4(lan4) entered blocking state
Sat Jan 23 05:04:27 2021 kern.info kernel: [   45.622657] br-lan: port 4(lan4) entered disabled state
Sat Jan 23 05:04:27 2021 kern.info kernel: [   45.629556] device lan4 entered promiscuous mode
Sat Jan 23 05:04:27 2021 daemon.notice netifd: Interface 'loopback' is enabled
Sat Jan 23 05:04:27 2021 daemon.notice netifd: Interface 'loopback' is setting up now
Sat Jan 23 05:04:27 2021 daemon.debug dnsmasq[1493]: listening on lo(#1): 127.0.0.1 port 53
Sat Jan 23 05:04:27 2021 daemon.debug dnsmasq[1493]: listening on lo(#1): ::1 port 53
Sat Jan 23 05:04:27 2021 daemon.notice netifd: Interface 'loopback' is now up
Sat Jan 23 05:04:27 2021 kern.info kernel: [   45.647996] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
Sat Jan 23 05:04:27 2021 kern.info kernel: [   45.655132] 8021q: adding VLAN 0 to HW filter on device wan
Sat Jan 23 05:04:27 2021 daemon.notice netifd: Interface 'wan' is enabled
Sat Jan 23 05:04:27 2021 daemon.notice netifd: Interface 'wan6' is enabled
Sat Jan 23 05:04:27 2021 daemon.notice netifd: Network device 'eth0' link is up
Sat Jan 23 05:04:27 2021 daemon.notice netifd: Network device 'lo' link is up
Sat Jan 23 05:04:27 2021 daemon.notice netifd: Interface 'loopback' has link connectivity
Sat Jan 23 05:04:27 2021 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Sat Jan 23 05:04:27 2021 daemon.notice procd: /etc/rc.d/S99bootcount: Boot count sucessfully reset to zero.
Sat Jan 23 05:04:27 2021 daemon.info procd: - init complete -
Sat Jan 23 05:04:27 2021 daemon.info urandom_seed[2221]: Seed saved (/etc/urandom.seed)
Sat Jan 23 05:04:28 2021 daemon.err odhcpd[1776]: Failed to send to ff02::1%lan@br-lan (Address not available)
Sat Jan 23 05:04:28 2021 daemon.debug dnsmasq[1493]: listening on eth0(#2): fe80::703a:b5ff:fef4:d617%eth0 port 53
Sat Jan 23 05:04:30 2021 kern.info kernel: [   48.537887] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
Sat Jan 23 05:04:30 2021 kern.info kernel: [   48.545440] br-lan: port 1(lan1) entered blocking state
Sat Jan 23 05:04:30 2021 kern.info kernel: [   48.550701] br-lan: port 1(lan1) entered forwarding state
Sat Jan 23 05:04:30 2021 daemon.notice netifd: Network device 'lan1' link is up
Sat Jan 23 05:04:30 2021 kern.info kernel: [   48.557087] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Sat Jan 23 05:04:30 2021 daemon.notice netifd: bridge 'br-lan' link is up
Sat Jan 23 05:04:30 2021 daemon.notice netifd: Interface 'lan' has link connectivity
Sat Jan 23 05:04:30 2021 kern.info kernel: [   48.729900] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control off
Sat Jan 23 05:04:30 2021 kern.info kernel: [   48.737430] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
Sat Jan 23 05:04:30 2021 daemon.notice netifd: Network device 'wan' link is up
Sat Jan 23 05:04:30 2021 daemon.notice netifd: Interface 'wan' has link connectivity
Sat Jan 23 05:04:30 2021 daemon.notice netifd: Interface 'wan' is setting up now
Sat Jan 23 05:04:30 2021 daemon.notice netifd: Interface 'wan6' has link connectivity
Sat Jan 23 05:04:30 2021 daemon.notice netifd: Interface 'wan6' is setting up now
Sat Jan 23 05:04:30 2021 daemon.err odhcpd[1776]: Failed to send to fe80::8cbd:77b9:c51b:251%lan@br-lan (Address not available)
Sat Jan 23 05:04:30 2021 daemon.notice netifd: wan (2377): udhcpc: started, v1.31.1
Sat Jan 23 05:04:30 2021 daemon.err odhcp6c[2376]: Failed to send RS (Address not available)
Sat Jan 23 05:04:30 2021 daemon.info dnsmasq[1493]: read /etc/hosts - 4 addresses
Sat Jan 23 05:04:30 2021 daemon.info dnsmasq[1493]: read /tmp/hosts/dhcp.cfg01411c.2259 - 0 addresses
Sat Jan 23 05:04:30 2021 daemon.info dnsmasq[1493]: read /tmp/hosts/odhcpd - 0 addresses
Sat Jan 23 05:04:30 2021 daemon.info dnsmasq[1493]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Sat Jan 23 05:04:30 2021 daemon.notice netifd: wan (2377): udhcpc: sending discover
Sat Jan 23 05:04:30 2021 daemon.err odhcp6c[2376]: Failed to send SOLICIT message to ff02::1:2 (Address not available)
Sat Jan 23 05:04:31 2021 daemon.err odhcpd[1776]: Failed to send to ff02::1%lan@br-lan (Address not available)
Sat Jan 23 05:04:31 2021 kern.info kernel: [   49.689883] mt7530 mdio-bus:1f lan4: Link is Up - 1Gbps/Full - flow control off
Sat Jan 23 05:04:31 2021 kern.info kernel: [   49.697254] br-lan: port 4(lan4) entered blocking state
Sat Jan 23 05:04:31 2021 kern.info kernel: [   49.702495] br-lan: port 4(lan4) entered forwarding state
Sat Jan 23 05:04:31 2021 daemon.notice netifd: Network device 'lan4' link is up
Sat Jan 23 05:04:31 2021 daemon.err odhcp6c[2376]: Failed to send RS (Address not available)
Sat Jan 23 05:04:31 2021 daemon.notice netifd: Network device 'wan' link is down
Sat Jan 23 05:04:31 2021 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat Jan 23 05:04:31 2021 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sat Jan 23 05:04:31 2021 kern.info kernel: [   49.753658] mt7530 mdio-bus:1f wan: Link is Down
Sat Jan 23 05:04:31 2021 daemon.notice netifd: wan (2377): udhcpc: received SIGTERM
Sat Jan 23 05:04:31 2021 daemon.notice netifd: wan (2377): udhcpc: entering released state
Sat Jan 23 05:04:31 2021 daemon.notice netifd: wan (2377): Command failed: Permission denied
Sat Jan 23 05:04:31 2021 daemon.notice netifd: Interface 'wan' is now down
Sat Jan 23 05:04:31 2021 daemon.err odhcp6c[2376]: Failed to send SOLICIT message to ff02::1:2 (Address not available)
Sat Jan 23 05:04:31 2021 daemon.notice netifd: Interface 'wan6' is now down
Sat Jan 23 05:04:31 2021 daemon.debug dnsmasq[1493]: listening on wan(#3): fe80::3223:3ff:fee8:31d0%wan port 53
Sat Jan 23 05:04:31 2021 daemon.debug dnsmasq[1493]: listening on br-lan(#10): fd1e:50e9:b8b5::1 port 53
Sat Jan 23 05:04:31 2021 daemon.debug dnsmasq[1493]: listening on br-lan(#10): fe80::3223:3ff:fee8:31d0%br-lan port 53
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq[1493]: exiting on receipt of SIGTERM
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq[2453]: Connected to system UBus
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq[2453]: started, version 2.83 cachesize 150
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq[2453]: DNS service limited to local subnets
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq[2453]: compile time options: IPv6 GNU-getopt no-DBus UBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-nettlehash no-DNSSEC no-ID loop-detect inotify dumpfile
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq[2453]: UBus support enabled: connected to system bus
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq-dhcp[2453]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq[2453]: using only locally-known addresses for domain test
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq[2453]: using only locally-known addresses for domain onion
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq[2453]: using only locally-known addresses for domain localhost
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq[2453]: using only locally-known addresses for domain local
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq[2453]: using only locally-known addresses for domain invalid
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq[2453]: using only locally-known addresses for domain bind
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq[2453]: using only locally-known addresses for domain lan
Sat Jan 23 05:04:32 2021 daemon.warn dnsmasq[2453]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq[2453]: read /etc/hosts - 4 addresses
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq[2453]: read /tmp/hosts/odhcpd - 0 addresses
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq[2453]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq-dhcp[2453]: read /etc/ethers - 0 addresses
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq[2453]: read /etc/hosts - 4 addresses
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq[2453]: read /tmp/hosts/odhcpd - 0 addresses
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq[2453]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq-dhcp[2453]: read /etc/ethers - 0 addresses
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq-dhcp[2453]: DHCPREQUEST(br-lan) 192.168.100.150 28:d2:44:2a:79:22
Sat Jan 23 05:04:32 2021 daemon.info dnsmasq-dhcp[2453]: DHCPNAK(br-lan) 192.168.100.150 28:d2:44:2a:79:22 wrong network
Sat Jan 23 05:04:33 2021 kern.info kernel: [   51.801888] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control off
Sat Jan 23 05:04:33 2021 daemon.notice netifd: Network device 'wan' link is up
Sat Jan 23 05:04:33 2021 daemon.notice netifd: Interface 'wan' has link connectivity
Sat Jan 23 05:04:33 2021 daemon.notice netifd: Interface 'wan' is setting up now
Sat Jan 23 05:04:33 2021 daemon.notice netifd: Interface 'wan6' has link connectivity
Sat Jan 23 05:04:33 2021 daemon.notice netifd: Interface 'wan6' is setting up now
Sat Jan 23 05:04:33 2021 daemon.notice netifd: wan (2696): udhcpc: started, v1.31.1
Sat Jan 23 05:04:33 2021 daemon.notice netifd: wan (2696): udhcpc: sending discover
Sat Jan 23 05:04:34 2021 daemon.notice netifd: Network device 'wan' link is down
Sat Jan 23 05:04:34 2021 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat Jan 23 05:04:34 2021 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sat Jan 23 05:04:34 2021 kern.info kernel: [   52.825656] mt7530 mdio-bus:1f wan: Link is Down
Sat Jan 23 05:04:34 2021 daemon.notice netifd: wan (2696): udhcpc: received SIGTERM
Sat Jan 23 05:04:34 2021 daemon.notice netifd: wan (2696): udhcpc: entering released state
Sat Jan 23 05:04:34 2021 daemon.notice netifd: wan (2696): Command failed: Permission denied
Sat Jan 23 05:04:34 2021 daemon.notice netifd: Interface 'wan' is now down
Sat Jan 23 05:04:35 2021 daemon.notice netifd: Interface 'wan6' is now down
Sat Jan 23 05:04:36 2021 daemon.info dnsmasq-dhcp[2453]: DHCPDISCOVER(br-lan) 28:d2:44:2a:79:22
Sat Jan 23 05:04:36 2021 daemon.info dnsmasq-dhcp[2453]: DHCPOFFER(br-lan) 192.168.1.119 28:d2:44:2a:79:22
Sat Jan 23 05:04:36 2021 daemon.info dnsmasq[2453]: read /etc/hosts - 4 addresses
Sat Jan 23 05:04:36 2021 daemon.info dnsmasq[2453]: read /tmp/hosts/odhcpd - 1 addresses
Sat Jan 23 05:04:36 2021 daemon.info dnsmasq[2453]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Sat Jan 23 05:04:36 2021 daemon.info dnsmasq-dhcp[2453]: read /etc/ethers - 0 addresses
Sat Jan 23 05:04:36 2021 daemon.info dnsmasq[2453]: read /etc/hosts - 4 addresses
Sat Jan 23 05:04:36 2021 daemon.info dnsmasq[2453]: read /tmp/hosts/odhcpd - 1 addresses
Sat Jan 23 05:04:36 2021 daemon.info dnsmasq[2453]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Sat Jan 23 05:04:36 2021 daemon.info dnsmasq-dhcp[2453]: read /etc/ethers - 0 addresses
Sat Jan 23 05:04:36 2021 daemon.info dnsmasq-dhcp[2453]: DHCPREQUEST(br-lan) 192.168.1.119 28:d2:44:2a:79:22
Sat Jan 23 05:04:36 2021 daemon.info dnsmasq-dhcp[2453]: DHCPACK(br-lan) 192.168.1.119 28:d2:44:2a:79:22 WOJTEK
Sat Jan 23 05:04:38 2021 kern.info kernel: [   56.921802] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control off
Sat Jan 23 05:04:38 2021 daemon.notice netifd: Network device 'wan' link is up
Sat Jan 23 05:04:38 2021 daemon.notice netifd: Interface 'wan' has link connectivity
Sat Jan 23 05:04:38 2021 daemon.notice netifd: Interface 'wan' is setting up now
Sat Jan 23 05:04:38 2021 daemon.notice netifd: Interface 'wan6' has link connectivity
Sat Jan 23 05:04:38 2021 daemon.notice netifd: Interface 'wan6' is setting up now
Sat Jan 23 05:04:38 2021 daemon.notice netifd: wan (2872): udhcpc: started, v1.31.1
Sat Jan 23 05:04:38 2021 daemon.notice netifd: wan (2872): udhcpc: sending discover
Sat Jan 23 05:04:39 2021 daemon.notice netifd: Network device 'wan' link is down
Sat Jan 23 05:04:39 2021 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat Jan 23 05:04:39 2021 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sat Jan 23 05:04:39 2021 kern.info kernel: [   57.945644] mt7530 mdio-bus:1f wan: Link is Down
Sat Jan 23 05:04:39 2021 daemon.notice netifd: wan (2872): udhcpc: received SIGTERM
Sat Jan 23 05:04:39 2021 daemon.notice netifd: wan (2872): udhcpc: entering released state
Sat Jan 23 05:04:39 2021 daemon.notice netifd: wan (2872): Command failed: Permission denied
Sat Jan 23 05:04:39 2021 daemon.notice netifd: Interface 'wan' is now down
Sat Jan 23 05:04:39 2021 daemon.notice netifd: Interface 'wan6' is now down
Sat Jan 23 05:04:41 2021 kern.info kernel: [   59.993808] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control off
Sat Jan 23 05:04:41 2021 daemon.notice netifd: Network device 'wan' link is up
Sat Jan 23 05:04:41 2021 daemon.notice netifd: Interface 'wan' has link connectivity
Sat Jan 23 05:04:41 2021 daemon.notice netifd: Interface 'wan' is setting up now
Sat Jan 23 05:04:41 2021 daemon.notice netifd: Interface 'wan6' has link connectivity
Sat Jan 23 05:04:41 2021 daemon.notice netifd: Interface 'wan6' is setting up now
Sat Jan 23 05:04:41 2021 daemon.notice netifd: wan (2976): udhcpc: started, v1.31.1
Sat Jan 23 05:04:41 2021 daemon.notice netifd: wan (2976): udhcpc: sending discover
Sat Jan 23 05:04:43 2021 daemon.notice netifd: Network device 'wan' link is down
Sat Jan 23 05:04:43 2021 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat Jan 23 05:04:43 2021 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sat Jan 23 05:04:43 2021 kern.info kernel: [   62.041644] mt7530 mdio-bus:1f wan: Link is Down
Sat Jan 23 05:04:43 2021 daemon.notice netifd: wan (2976): udhcpc: received SIGTERM
Sat Jan 23 05:04:43 2021 daemon.notice netifd: wan (2976): udhcpc: entering released state
Sat Jan 23 05:04:43 2021 daemon.notice netifd: wan (2976): Command failed: Permission denied
Sat Jan 23 05:04:43 2021 daemon.notice netifd: Interface 'wan' is now down
Sat Jan 23 05:04:44 2021 daemon.notice netifd: Interface 'wan6' is now down
Sat Jan 23 05:04:45 2021 daemon.notice netifd: Network device 'wan' link is up
Sat Jan 23 05:04:45 2021 daemon.notice netifd: Interface 'wan' has link connectivity
Sat Jan 23 05:04:45 2021 daemon.notice netifd: Interface 'wan' is setting up now
Sat Jan 23 05:04:45 2021 daemon.notice netifd: Interface 'wan6' has link connectivity
Sat Jan 23 05:04:45 2021 daemon.notice netifd: Interface 'wan6' is setting up now
Sat Jan 23 05:04:45 2021 kern.info kernel: [   64.089917] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control off
Sat Jan 23 05:04:45 2021 daemon.notice netifd: wan (3080): udhcpc: started, v1.31.1
Sat Jan 23 05:04:45 2021 daemon.notice netifd: wan (3080): udhcpc: sending discover
Sat Jan 23 05:04:46 2021 daemon.notice netifd: Network device 'wan' link is down
Sat Jan 23 05:04:46 2021 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat Jan 23 05:04:46 2021 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sat Jan 23 05:04:46 2021 kern.info kernel: [   65.113646] mt7530 mdio-bus:1f wan: Link is Down
Sat Jan 23 05:04:46 2021 daemon.notice netifd: wan (3080): udhcpc: received SIGTERM
Sat Jan 23 05:04:46 2021 daemon.notice netifd: wan (3080): udhcpc: entering released state
Sat Jan 23 05:04:46 2021 daemon.notice netifd: wan (3080): Command failed: Permission denied
Sat Jan 23 05:04:46 2021 daemon.notice netifd: Interface 'wan' is now down
Sat Jan 23 05:04:47 2021 daemon.notice netifd: Interface 'wan6' is now down

IFCONFIG:

root@OpenWrt:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr 30:23:03:E8:31:D0
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::3223:3ff:fee8:31d0/64 Scope:Link
          inet6 addr: fd1e:50e9:b8b5::1/60 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3047 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3213 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:229174 (223.8 KiB)  TX bytes:428449 (418.4 KiB)

eth0      Link encap:Ethernet  HWaddr 72:3A:B5:F4:D6:17
          inet6 addr: fe80::703a:b5ff:fef4:d617/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1504  Metric:1
          RX packets:3066 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3950 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:286048 (279.3 KiB)  TX bytes:552004 (539.0 KiB)
          Interrupt:21

lan1      Link encap:Ethernet  HWaddr 30:23:03:E8:31:D0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3040 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3218 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:229276 (223.9 KiB)  TX bytes:428875 (418.8 KiB)

lan2      Link encap:Ethernet  HWaddr 30:23:03:E8:31:D0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan3      Link encap:Ethernet  HWaddr 30:23:03:E8:31:D0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan4      Link encap:Ethernet  HWaddr 30:23:03:E8:31:D0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:26 errors:0 dropped:0 overruns:0 frame:0
          TX packets:491 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1584 (1.5 KiB)  TX bytes:51259 (50.0 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:321 errors:0 dropped:0 overruns:0 frame:0
          TX packets:321 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:25036 (24.4 KiB)  TX bytes:25036 (24.4 KiB)

wan       Link encap:Ethernet  HWaddr 30:23:03:E8:31:D0
          inet6 addr: fe80::3223:3ff:fee8:31d0/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:216 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:37808 (36.9 KiB)

root@OpenWrt:~#

NETWORK :

root@OpenWrt:/etc/config# cat network

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

config globals 'globals'
        option packet_steering '1'
        option ula_prefix 'fd1e:50e9:b8b5::/48'

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

config device 'lan_lan1_dev'
        option name 'lan1'
        option macaddr '30:23:03:e8:31:d0'

config device 'lan_lan2_dev'
        option name 'lan2'
        option macaddr '30:23:03:e8:31:d0'

config device 'lan_lan3_dev'
        option name 'lan3'
        option macaddr '30:23:03:e8:31:d0'

config device 'lan_lan4_dev'
        option name 'lan4'
        option macaddr '30:23:03:e8:31:d0'

config interface 'wan'
        option ifname 'wan'
        option proto 'dhcp'

config device 'wan_wan_dev'
        option name 'wan'
        option macaddr '30:23:03:e8:31:d0'

config interface 'wan6'
        option ifname 'wan'
        option proto 'dhcpv6'

root@OpenWrt:/etc/config#
23.01.20213591KernelBug ReportVery LowLowmt7621 trunk initialize properly only one pcie wifi car...TrunkUnconfirmed Task Description

As addition to FS#3381 – current trunk initialize properly only one minipcie wifi card:

[ 1.344484] pci 0000:02:00.0: [168c:ff1c] type 00 class 0×020000 [ 1.350550] pci 0000:02:00.0: reg 0×10: [mem 0×00000000-0x0000ffff 64bit]
[ 1.357475] pci 0000:02:00.0: supports D1
[ 1.361487] pci 0000:02:00.0: PME# supported from D0 D1 D3hot
[ 1.368492] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[ 1.373756] pci 0000:00:01.0: bridge window [io 0×0000-0x0fff]
[ 1.379843] pci 0000:00:01.0: bridge window [mem 0×60200000-0x602fffff]
[ 1.386624] pci 0000:00:01.0: bridge window [mem 0×60300000-0x603fffff pref]
[ 1.393842] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[ 1.400681] pci 0000:03:00.0: [168c:002e] type 00 class 0×028000 [ 1.406748] pci 0000:03:00.0: reg 0×10: [mem 0×00000000-0x0000ffff 64bit]
[ 1.413660] pci 0000:03:00.0: supports D1
[ 1.417671] pci 0000:03:00.0: PME# supported from D0 D1 D3hot
[ 1.424673] pci 0000:00:02.0: PCI bridge to [bus 03-ff]
[ 1.429917] pci 0000:00:02.0: bridge window [io 0×0000-0x0fff]
[ 1.436004] pci 0000:00:02.0: bridge window [mem 0×60400000-0x604fffff]
[ 1.442785] pci 0000:00:02.0: bridge window [mem 0×60500000-0x605fffff pref]
[ 1.450010] pci_bus 0000:03: busn_res: [bus 03-ff] end is updated to 03


23.01.20213590Base systemBug ReportVery LowLowNetgear ex6150 fails to boot most of the timeTrunkUnconfirmed Task Description

I have an Netgear EX6150 (https://openwrt.org/toh/hwdata/netgear/netgear_ex6150) running 19.07.6, which is working fine if it boots.

But most of the time it fails to boot.

What I see with a successful boot:
- power led stays amber for a while
- power led goes out for a second
- power led starts to blink green fast
- power led starts to blink green fast
- power led says green and device is up

When it fails:
- power led stays amber for a while
- power led goes out for a second
- power led starts to blink green fast
- power led starts to blink amber slow

While it’s fast blinking green I can ping it on 192.168.1.1, which stops when it starts to blink green slow, since it’s not it’s static IP address. If it starts to blink orange I can keep pinging it.

23.01.20213589WebsiteBug ReportVery LowLowAccess to edit the webpagesTrunkUnconfirmed Task Description

I would like to make various changes to the website about devices I own.

The website says to go to: https://openwrt.org/start?do=register, but if I do that, I get “Action disabled: register”.

If I instead just try to login using github, I get: “Self-Registration is currently disabled or conf/users.auth.php is not writable. Please ask your DokuWiki administrator to create your account manually.”

21.01.20213587Base systemBug ReportVery LowLowSpinlock bug returns in Trunk TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on BTHH5A XRX200 SoC
- Software versions of OpenWrt/LEDE release, packages, etc. Builds of Trunk since ~11 Jan, 2021
- Steps to reproduce Always appears in syslog on boot.

I have not seen this spinlock error for months. It occurs during boot in all recent builds for the BTHH5a. It does not occur in a build made on 10 Jan. I attach syslogs for kernel version 5.4.87, built 10 Jan, and kernel version 5.4.89, built 15 Jan.

 


20.01.20213583Base systemBug ReportVery LowLowTPLink RE450 Falis getting IP on 5Ghz radioTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
RE450 set up as dumb Access Point
Main router is WRT1900ACS also using OpenWRT 19.07.6
Main router is DHCP server.

- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt 19.07.6 r11278-8055e38794

- Steps to reproduce

 

Ethernet, Wifi 0 and Wifi 1 are all bridged as LAN.

When I connect to 2.4Ghz WIfi, devices connect and get IP and access to the internet.
When I connect to 5Ghz wifi, devices cannot obtain IP and disconnect.
On conecting Mac I see message that it failed to obtain IP

Network:
config interface ‘loopback’

option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'

config globals ‘globals’

option ula_prefix 'fd7c:fc53:55ff::/48'

config interface ‘lan’

option type 'bridge'
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.1.2'
option gateway '192.168.1.1'
list dns '192.168.1.1'
option netmask '255.255.255.0'

Wireless:
config wifi-device ‘radio0’

option type 'mac80211'
option hwmode '11a'
option path 'pci0000:00/0000:00:00.0'
option htmode 'VHT80'
option channel 'auto'
option country 'ES'

config wifi-iface ‘default_radio0’

option device 'radio0'
option network 'lan'
option mode 'ap'
option key 'pass'
option encryption 'psk2'
option ssid 'AP5G'
option disassoc_low_ack '0'

config wifi-device ‘radio1’

option type 'mac80211'
option hwmode '11g'
option path 'platform/ahb/18100000.wmac'
option channel 'auto'
option noscan '1'
option htmode 'HT40'
option country 'ES'

config wifi-iface ‘default_radio1’

option device 'radio1'
option network 'lan'
option mode 'ap'
option key 'pass'
option encryption 'psk2'
option ssid 'AP'
option disassoc_low_ack '0'

DHCP:

config dnsmasq

option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
option nonwildcard '1'
option localservice '1'

config dhcp ‘lan’

option interface 'lan'
option ignore '1'

config dhcp ‘wan’

option interface 'wan'
option ignore '1'

config odhcpd ‘odhcpd’

option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'


20.01.20213582Base systemBug ReportVery LowHighbad eraseblock causes unreadable factory partition on N...TrunkUnconfirmed Task Description

- Device problem occurs on

Netgear R6800

- Software version of OpenWrt

current snapshot

dmesg of the affected device:

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

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

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

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 порт. На стоке проблемы нет.


19.01.20213579Base systemBug ReportVery LowMediumNetifd OOMs in trunkTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on BT HOME HUB 5A - LANTIQ XRX200 SoC
- Software versions of OpenWrt/LEDE release, packages, etc.
Linux OpenWrt 5.4.89 #0 SMP Fri Jan 15 19:49:01 2021 mips GNU/Linux
- Steps to reproduce JUST WAIT

 

Yesterday I built trunk for my bthh5a.

netifd OOMs 10.5 hours after the last LAN client disassociated. 30 mins after boot, with 3 or 4 LAN clients connected, there is 20M free ram. Looks like there may be a leak somewhere.

Tue Jan 19 00:56:47 2021 daemon.info hostapd: wlan1: STA d8:9c:67:ac:xx:xx IEEE 802.11: disassociated
Tue Jan 19 00:56:48 2021 daemon.info hostapd: wlan1: STA d8:9c:67:ac:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jan 19 00:58:20 2021 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 8c:f5:a3:a5:xx:xx
Tue Jan 19 00:58:20 2021 daemon.info hostapd: wlan0: STA 8c:f5:a3:a5:xx:xx IEEE 802.11: disassociated
Tue Jan 19 00:58:21 2021 daemon.info hostapd: wlan0: STA 8c:f5:a3:a5:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jan 19 01:09:21 2021 daemon.info hostapd: wlan0: STA 8c:f5:a3:a5:xx:xx IEEE 802.11: authenticated
Tue Jan 19 01:09:21 2021 daemon.notice hostapd: wlan0: STA-OPMODE-N_SS-CHANGED 8c:f5:a3:a5:xx:xx 2
Tue Jan 19 01:09:21 2021 daemon.info hostapd: wlan0: STA 8c:f5:a3:a5:xx:xx IEEE 802.11: associated (aid 1)
Tue Jan 19 01:09:21 2021 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 8c:f5:a3:a5:xx:xx
Tue Jan 19 01:09:21 2021 daemon.info hostapd: wlan0: STA 8c:f5:a3:a5:xx:xx WPA: pairwise key handshake completed (RSN)
Tue Jan 19 01:09:21 2021 daemon.info dnsmasq-dhcp[5331]: DHCPDISCOVER(br-lan) 8c:f5:a3:a5:xx:xx
Tue Jan 19 01:09:21 2021 daemon.info dnsmasq-dhcp[5331]: DHCPOFFER(br-lan) 192.168.9.117 8c:f5:a3:a5:xx:xx
Tue Jan 19 01:09:21 2021 daemon.info dnsmasq-dhcp[5331]: DHCPREQUEST(br-lan) 192.168.9.117 8c:f5:a3:a5:xx:xx
Tue Jan 19 01:09:21 2021 daemon.info dnsmasq-dhcp[5331]: DHCPACK(br-lan) 192.168.9.117 8c:f5:a3:a5:xx:xx Galaxy-S7
Tue Jan 19 01:17:44 2021 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 8c:f5:a3:a5:xx:xx
Tue Jan 19 01:17:44 2021 daemon.info hostapd: wlan0: STA 8c:f5:a3:a5:xx:xx IEEE 802.11: disassociated due to inactivity
Tue Jan 19 01:17:45 2021 daemon.info hostapd: wlan0: STA 8c:f5:a3:a5:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jan 19 01:18:40 2021 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED a4:71:74:e9:90:33
Tue Jan 19 01:18:40 2021 daemon.info hostapd: wlan1: STA a4:71:74:e9:90:33 IEEE 802.11: disassociated due to inactivity
Tue Jan 19 01:18:41 2021 daemon.info hostapd: wlan1: STA a4:71:74:e9:90:33 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.668452] netifd invoked oom-killer: gfp_mask=0xcc0(GFP_KERNEL), order=0, oom_score_adj=0
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.675518] CPU: 1 PID: 2103 Comm: netifd Not tainted 5.4.89 #0
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.681285] Stack : 00000001 00000000 800a4598 00000000 809119f8 854cdc1c 00000000 00000000
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.689637]         80b00000 87fa422c 8096876f 80892f9c 00000001 00000001 854cdbc0 920c484d
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.697994]         00000000 00000000 81140000 00000000 00000030 00000000 20352e34 2e383920
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.706348]         00000197 2c800000 00000000 000a4ebe 80000000 00000000 00000001 809a0000
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.714705]         809a8848 00000000 000002e6 00000000 00000002 00000010 00000004 80b00004
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.723062]         ...
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.725501] Call Trace:
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.727957] [<800107a0>] show_stack+0x30/0x100
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.732404] [<806ac0c8>] dump_stack+0xe4/0x158
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.736856] [<80170a98>] dump_header+0x60/0x334
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.741367] [<801719c0>] oom_kill_process+0x298/0x2a0
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.746417] [<801724f8>] out_of_memory+0x284/0x43c
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.751211] [<801c3ae8>] __alloc_pages_nodemask+0xabc/0x144c
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.756858] [<801c4494>] __get_free_pages+0x1c/0x64
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.761747] [<80278d38>] proc_pid_readlink+0x80/0x194
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.766792] [<801fd098>] vfs_readlink+0x144/0x154
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.771497] [<801f57f0>] do_readlinkat+0xd0/0x178
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.776198] [<8001a150>] syscall_common+0x34/0x58
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.781277] Mem-Info:
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.783227] active_anon:939 inactive_anon:311 isolated_anon:0
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.783227]  active_file:353 inactive_file:386 isolated_file:0
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.783227]  unevictable:0 dirty:0 writeback:0 unstable:0
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.783227]  slab_reclaimable:1224 slab_unreclaimable:6850
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.783227]  mapped:412 shmem:426 pagetables:84 bounce:0
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.783227]  free:4908 free_pcp:0 free_cma:0
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.815311] Node 0 active_anon:3756kB inactive_anon:1244kB active_file:1452kB inactive_file:1524kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:1648kB dirty:0kB writeback:0kB shmem:1704kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.838038] Normal free:19600kB min:20480kB low:24576kB high:28672kB active_anon:3756kB inactive_anon:1244kB active_file:1452kB inactive_file:1524kB unevictable:0kB writepending:0kB present:131072kB managed:113320kB mlocked:0kB kernel_stack:584kB pagetables:336kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.865727] lowmem_reserve[]: 0 0
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.869063] Normal: 397*4kB (UMEH) 483*8kB (UMEH) 313*16kB (UMEH) 110*32kB (UMEH) 42*64kB (UMH) 17*128kB (UMH) 3*256kB (UH) 0*512kB 0*1024kB 0*2048kB 0*4096kB = 19612kB
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.884169] 1178 total pagecache pages
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.887894] 0 pages in swap cache
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.891167] Swap cache stats: add 0, delete 0, find 0/0
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.896384] Free swap  = 0kB
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.899267] Total swap = 0kB
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.902130] 32768 pages RAM
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.904848] 0 pages HighMem/MovableOnly
Tue Jan 19 11:49:52 2021 kern.warn kernel: [74374.908745] 4438 pages reserved
Tue Jan 19 11:49:52 2021 kern.info kernel: [74374.911898] Tasks state (memory values in pages):
Tue Jan 19 11:49:52 2021 kern.info kernel: [74374.916575] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
Tue Jan 19 11:49:52 2021 kern.info kernel: [74374.925238] [    669]    81   669      317       22    20480        0             0 ubusd
Tue Jan 19 11:49:52 2021 kern.info kernel: [74374.933414] [    682]     0   682      235        9    16384        0             0 askfirst
Tue Jan 19 11:49:52 2021 kern.info kernel: [74374.941860] [    731]     0   731      261       12    12288        0             0 urngd
Tue Jan 19 11:49:52 2021 kern.info kernel: [74374.950087] [   1693]   514  1693      326       99    20480        0             0 logd
Tue Jan 19 11:49:52 2021 kern.info kernel: [74374.958196] [   1745]     0  1745      537       43    16384        0             0 rpcd
Tue Jan 19 11:49:52 2021 kern.info kernel: [74374.966227] [   1942]     0  1942      287       11    16384        0             0 dropbear
Tue Jan 19 11:49:52 2021 kern.info kernel: [74374.974682] [   2040]     0  2040      898      306    20480        0             0 hostapd
Tue Jan 19 11:49:52 2021 kern.info kernel: [74374.983024] [   2041]     0  2041      880      163    24576        0             0 wpa_supplicant
Tue Jan 19 11:49:52 2021 kern.info kernel: [74374.991985] [   2103]     0  2103      445      137    16384        0             0 netifd
Tue Jan 19 11:49:52 2021 kern.info kernel: [74375.000256] [   2486]     0  2486      372      149    20480        0             0 odhcpd
Tue Jan 19 11:49:52 2021 kern.info kernel: [74375.008530] [   2729]     0  2729      314      128    16384        0             0 crond
Tue Jan 19 11:49:52 2021 kern.info kernel: [74375.016709] [   2914]     0  2914      883      104    24576        0             0 uhttpd
Tue Jan 19 11:49:52 2021 kern.info kernel: [74375.025040] [   2997]     0  2997      387       20    20480        0             0 dbus-daemon
Tue Jan 19 11:49:52 2021 kern.info kernel: [74375.033694] [   3043]     0  3043      372       68    20480        0             0 blockd
Tue Jan 19 11:49:52 2021 kern.info kernel: [74375.041952] [   3727]     0  3727      314       12    12288        0             0 ntpd
Tue Jan 19 11:49:52 2021 kern.info kernel: [74375.050094] [   3835]     0  3835      267       94    16384        0             0 odhcp6c
Tue Jan 19 11:49:52 2021 kern.info kernel: [74375.058405] [   3859]     0  3859      313       10    12288        0             0 udhcpc
Tue Jan 19 11:49:52 2021 kern.info kernel: [74375.066688] [   5331]   453  5331      665      340    16384        0             0 dnsmasq
Tue Jan 19 11:49:52 2021 kern.info kernel: [74375.075022] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=dnsmasq,pid=5331,uid=453
Tue Jan 19 11:49:52 2021 kern.err kernel: [74375.087794] Out of memory: Killed process 5331 (dnsmasq) total-vm:2660kB, anon-rss:1352kB, file-rss:4kB, shmem-rss:4kB, UID:453 pgtables:16kB oom_score_adj:0
Tue Jan 19 11:49:58 2021 daemon.info dnsmasq[13540]: Connected to system UBus
Tue Jan 19 11:49:58 2021 daemon.info dnsmasq[13540]: started, version 2.82 cachesize 150
Tue Jan 19 11:49:58 2021 daemon.info dnsmasq[13540]: DNS service limited to local subnets
Tue Jan 19 11:49:58 2021 daemon.info dnsmasq[13540]: compile time options: IPv6 GNU-getopt no-DBus UBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
Tue Jan 19 11:49:58 2021 daemon.info dnsmasq[13540]: UBus support enabled: connected to system bus
17.01.20213576Base systemBug ReportVery LowLowAddition of more than 2 SSIDs to a singe radio causes l...openwrt-19.07Unconfirmed Task Description

Devices: TL-WR1043NDv2 and WD Mynet N750
Sofware: openwrt-19.07 (all sub revisions)
Steps: simply add 3 or more SSIDs to a singe radio (In my case on 2.4GHz radio) wait for a week.

13.01.20213574Base systemBug ReportVery LowMediumIptables seems to lack support for cgroup v2TrunkUnconfirmed Task Description
# iptables -t mangle -A OUTPUT -m cgroup --path system.slice/v2ray.service -j RETURN
iptables v1.8.6 (legacy): Couldn't load match `cgroup':No such file or directory

Try `iptables -h' or 'iptables --help' for more information.

And there does not seem to be a related package.

I used the master branch to build a virtual machine image for the x86_64 virtual machine.

12.01.20213572Base systemBug ReportVery LowHighath79: ar934x internal switch port 5 missingAllUnconfirmed Task Description

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

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

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

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

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

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

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

ath79 output:

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

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

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

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

ar71xx output:

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

asking for port 5 specifically returns ???

root@OpenWrt:/# swconfig dev switch0 port 5 show
Port 5:
        mib: ???
        pvid: ???
        link: ???
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.

10.01.20213569Base systemBug ReportVery LowLowR7800: WDS-client / AP "Failed to set beacon parameters...TrunkUnconfirmed Task Description

Dear Sir/Madam,

Using the R7800 running on 19.0.7.5 as a wireless-repeater (WDS-client / virtual radio as AP) the latter (AP radio) on 5Ghz will fail to bringup the radio:
Sun Jan 3 21:51:15 2021 daemon.err hostapd: Failed to set beacon parameters
Sun Jan 3 21:51:21 2021 daemon.err hostapd: Failed to set beacon parameters
Sun Jan 3 21:51:27 2021 daemon.err hostapd: Failed to set beacon parameters
Sun Jan 3 21:51:33 2021 daemon.err hostapd: Failed to set beacon parameters
Sun Jan 3 21:51:39 2021 daemon.err hostapd: Failed to set beacon parameters
Sun Jan 3 21:51:45 2021 daemon.err hostapd: Failed to set beacon parameters

Mind you, I’ve configured the repeater twice from scratch however the issue persists.

Oddly enough the issue only affects 5Ghz, the 2.4Gzh radio function fine as WDS-client/repeater.

Excerpts of logs from the R7800 running as repeater are attached, as well as a copy of the WiFi config, are attached,

10.01.20213568Base systemBug ReportVery LowLowath10k_pci MAC address issue with COMFAST CF-E355AC v2openwrt-19.07Unconfirmed Task Description

With COMFAST CF-E355AC v2, the mac-address of the ath10k_pci device is set to `12:34:56:78:90:12`

Happens with OpenWrt 19.07.5, r11257-5090152ae3.

09.01.20213566Base systemBug ReportVery LowMediumdlink 620 failsafe not reachedopenwrt-19.07Unconfirmed Task Description

- Device problem occurs on: D-Link DIR-620 Rev A1
- Software versions of OpenWrt/LEDE release : 19.07.5

- Steps to reproduce:

1) enter the failsafe mode accordingly to instruction
https://openwrt.org/docs/guide-user/troubleshooting/failsafe_and_factory_reset-
Note that button became blinking too fast.

2) Try to connect via LAN.

Expected result: notebook’s eth will obtain ip from 192.168.1.1/24

Actual result:

- no ip address is obtained. Router still unreachable.
– Led is still blinking frequently (maybe OK).

More information: unreachable mode was obtained after playing around with relayd packet and config router to repeater mode accordingly to instruction
https://openwrt.org/docs/guide-user/network/wifi/relay_configuration

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

08.01.20213564Base systemBug ReportVery LowMediumToo many connections and router ceases to pass trafficopenwrt-19.07Unconfirmed Task Description

I’m on a Ubiquiti Edgerouter-X (ER-X) with the latest version of OpenWRT, 19.07. Too many connections and the router ceases to pass traffic. Cannot access the router itself either. Lights blink but nothing happens. Requires a hard reset. Busy torrents will crash the router within minutes. Regular light web browsing traffic requires at least daily resets.


07.01.20213563Base systemBug ReportVery LowMediumSelecting lan port in Luci from off -> untagged breaks ...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

ZBT WG3526

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

19.07.05

- Steps to reproduce

 

Overall:

If I select the LAN1 on a wg3526 from off to untagged, luci wants to make 2 changes, one of which breaks the configuration:

  it renames the network.lan.ifname from eth0.1 to eth0
  it changes the switch port configuration (that one was expected)

Removing network.lan.ifname=eth0.1 and replacing it by network.lan.ifname=eth0 breaks networking. Rollback properly works.

After some other changes / manually fixing it, I have the following board.json:

root@router1:~# cat /etc/board.json 
{
	"model": {
		"id": "zbt-wg3526-16M",
		"name": "ZBT-WG3526 (16M)"
	},
	"switch": {
		"switch0": {
			"enable": true,
			"reset": true,
			"ports": [
				{
					"num": 0,
					"role": "lan"
				},
				{
					"num": 1,
					"role": "lan"
				},
				{
					"num": 2,
					"role": "lan"
				},
				{
					"num": 3,
					"role": "lan"
				},
				{
					"num": 4,
					"role": "wan"
				},
				{
					"num": 6,
					"device": "eth0",
					"need_tag": false,
					"want_untag": false
				}
			],
			"roles": [
				{
					"role": "lan",
					"ports": "0 1 2 3 6t",
					"device": "eth0.1"
				},
				{
					"role": "wan",
					"ports": "4 6t",
					"device": "eth0.2"
				}
			]
		}
	},
	"network": {
		"lan": {
			"ifname": "eth0.1",
			"protocol": "static",
			"macaddr": "f8:5e:3c:11:db:7c"
		},
		"wan": {
			"ifname": "eth0.2",
			"protocol": "dhcp",
			"macaddr": "f8:5e:3c:11:db:7d"
		}
	}
}

04.01.20213562KernelBug ReportVery LowMediumno packet flow on AR 8035 based ports (LAN3, LAN4) of l...TrunkUnconfirmed Task Description

The device is fritzbox 7362sl.
It works until kernel 4.19.
The explicit calls to at803x_disable_rx_delay(phydev) and at803x_disable_tx_delay(phydev) seem to clobber the AR8035 registers 0 and 5 with values that make the two LAN ports not transporting anything anymore. Plugging and unplugging cables is still recognized.

I have used a small patch to revert the at803x_config_init function to how it was on kernel 4.19 and the two ports work since then:

 --- a/drivers/net/phy/at803x.c
 +++ b/drivers/net/phy/at803x.c
 @@ -289,20 +289,20 @@ static int at803x_config_init(struct phy_
  	 */

  	if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID ||
 -	    phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID)
 +	    phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) {
  		ret = at803x_enable_rx_delay(phydev);
 -	else
 -		ret = at803x_disable_rx_delay(phydev);
 -	if (ret < 0)
 -		return ret;
 +		if (ret < 0)
 +			return ret;
 +	}

  	if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID ||
 -	    phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID)
 +	    phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) {
  		ret = at803x_enable_tx_delay(phydev);
 -	else
 -		ret = at803x_disable_tx_delay(phydev);
 +		if (ret < 0)
 +			return ret;
 +	}

 -	return ret;
 +	return 0;
  }

  static int at803x_ack_interrupt(struct phy_device *phydev)

But, maybe the explicit call to at803x_disable_??_delay was added for some other device to work. I have experimented with pll-data first, but unlike newer kernels, like 5.10 this is nowhere referenced in the driver for the 5.4 kernel.

Actually, removing the disable calls and using just RGMII is effectivly similar to not touching the AT8035 registers 0 and 5 at all.

04.01.20213561KernelBug ReportVery LowMediumhw flow offload cause a kernel panic (oops) in mt7622 (...TrunkUnconfirmed Task Description

the device is bananapi r64, image was built using code from r64-emmc branch of https://github.com/graphine27/openwrt

(this branch is mainly modifing image build for emmc setup, codes related to hw offload is not modified.)

this branch is after b59d5c8f0eebb6d15d7cefe487c17fad0ee4a524

the kernel oops (as panic) randomly if hw flow offload is enabled.

panic log here, note that virtual address “ffffff883e35ffa0” do not change amoung builds of kernel, even all the same in both 5.4.86 and 5.4.85

[ 1148.631719] Unable to handle kernel paging request at virtual address ffffff883e35ffa0
[ 1148.639650] Mem abort info:
[ 1148.642450]   ESR = 0x96000045
[ 1148.645496]   EC = 0x25: DABT (current EL), IL = 32 bits
[ 1148.650820]   SET = 0, FnV = 0
[ 1148.655255]   EA = 0, S1PTW = 0
[ 1148.659777] Data abort info:
[ 1148.664040]   ISV = 0, ISS = 0x00000045
[ 1148.669257]   CM = 0, WnR = 1
[ 1148.673608] swapper pgtable: 4k pages, 39-bit VAs, pgdp=000000004493b000
[ 1148.681688] [ffffff883e35ffa0] pgd=0000000000000000, pud=0000000000000000
[ 1148.689858] Internal error: Oops: 96000045 [#1] SMP
[ 1148.696102] Modules linked in: iwlmvm iwldvm pppoe pl2303 nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet mt7615e mt7615_common mt76 mac80211 l2tp_ppp iwlwifi huawei_cdc_ncm ebtable_nat ebtable_filter ebtable_broute cp210x ch341 cfg80211 cdc_ncm xt_u32 xt_time xt_tcpmss xt_string xt_statistic xt_state xt_socket xt_recent xt_quota xt_policy xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_lscan xt_limit xt_length2 xt_length xt_ipv4options xt_iprange xt_ipp2p xt_iface xt_hl xt_helper xt_hashlimit xt_geoip xt_fuzzy xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_condition xt_comment xt_cluster xt_bpf xt_addrtype xt_TRACE xt_TPROXY xt_TEE xt_TCPMSS xt_SYSRQ xt_REDIRECT xt_PROTO xt_NFQUEUE xt_NFLOG xt_NETMAP xt_MASQUERADE xt_LOGMARK xt_LOG xt_LED xt_IPMARK xt_HL xt_FLOWOFFLOAD xt_DSCP xt_DNETMAP xt_DHCPMAC xt_CT xt_CLASSIFY xt_CHECKSUM xt_DELUDE xt_TARPIT ipt_REJECT xt_tcpudp xt_CHAOS xt_ACCOUNT usbserial usbnet usbhid
[ 1148.696202]  ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda ts_fsm ts_bm tcp_hybla tcp_bbr sfp sch_mqprio sch_cake rtl8150 r8152 pptp pppox ppp_mppe ppp_async nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject_bridge nft_reject nft_redir nft_quota nft_queue nft_objref nft_numgen nft_nat nft_meta_bridge nft_masq nft_log nft_limit nft_hash nft_fwd_netdev nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_dup_netdev nft_ct nft_counter nft_chain_nat nfnetlink_queue nfnetlink_log nf_tproxy_ipv6 nf_tproxy_ipv4 nf_tables_set nf_tables nf_socket_ipv6 nf_socket_ipv4 nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_pptp nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_dup_netdev nf_dup_ipv6 nf_dup_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_pptp nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp
[ 1148.783268]  nf_conntrack_broadcast ts_kmp nf_conntrack_amanda nf_conncount mdio_i2c mdio_gpio mdio_bitbang iptable_raw iptable_nat iptable_mangle iptable_filter ipt_rpfilter ipt_ah ipt_ECN ipt_CLUSTERIP ip6table_raw ip6t_rpfilter ip_tables hid_generic exfat ebtables ebt_vlan ebt_stp ebt_snat ebt_redirect ebt_pkttype ebt_nflog ebt_mark_m ebt_mark ebt_log ebt_limit ebt_ip6 ebt_ip ebt_dnat ebt_arpreply ebt_arp ebt_among ebt_802_3 e1000e crc_ccitt compat_xtables compat cls_flower cdc_wdm br_netfilter asn1_decoder arptable_filter arpt_mangle arp_tables act_vlan sch_teql sch_sfq sch_red sch_prio sch_pie sch_multiq sch_gred sch_fq sch_dsmark sch_codel em_text em_nbyte em_meta em_cmp act_simple act_police act_pedit act_ipt act_gact act_csum em_ipset cls_bpf act_bpf act_ctinfo act_connmark sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred sg hid evdev i2c_gpio i2c_dev ledtrig_usbport ledtrig_heartbeat
[ 1148.870868]  ledtrig_gpio ledtrig_activity gpio_beeper 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 sr_mod cdrom ip6table_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6t_NPT ip6t_rt ip6t_mh ip6t_ipv6header ip6t_hbh ip6t_frag ip6t_eui64 ip6t_ah nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 pppoatm ppp_generic slhc bonding ip6_gre ip_gre gre ixgbe igb i2c_algo_bit i2c_core hwmon ifb nat46 l2tp_ip6 l2tp_ip l2tp_eth sctp libcrc32c mdio l2tp_netlink l2tp_core udp_tunnel ip6_udp_tunnel ipcomp6 xfrm6_tunnel esp6 ah6 xfrm4_tunnel ipcomp esp4 ah4 ipip ip6_tunnel netlink_diag tunnel6 tunnel4 ip_tunnel veth tun loop xfrm_user xfrm_ipcomp af_key xfrm_algo autofs4 dm_mirror
[ 1148.957510]  dm_region_hash dm_log dm_crypt dm_mod dax br2684 atm nls_utf8 nls_cp950 nls_cp936 md5 echainiv des_generic libdes cbc authenc arc4 fuse nls_iso8859_1 nls_cp437 uas usb_storage sdhci_pltfm sdhci input_core leds_gpio xhci_plat_hcd ohci_platform ohci_hcd ahci fsl_mph_dr_of ehci_platform ehci_fsl ehci_hcd gpio_button_hotplug f2fs ptp pps_core mii
[ 1149.076312] CPU: 0 PID: 17994 Comm: kworker/0:1 Not tainted 5.4.85 #0
[ 1149.082741] Hardware name: Bananapi BPI-R64 (DT)
[ 1149.087394] Workqueue: events 0xffffffc008fea260
[ 1149.092004] pstate: 60000005 (nZCv daif -PAN -UAO)
[ 1149.096789] pc : mtk_flow_offload_add+0xd0/0x180
[ 1149.101396] lr : mtk_flow_offload_add+0xbc/0x180
[ 1149.106002] sp : ffffffc013323c60
[ 1149.109306] x29: ffffffc013323c60 x28: 0000000000000000
[ 1149.114609] x27: ffffff803ccb3a38 x26: ffffffc0108838e8
[ 1149.119911] x25: 0000000000000000 x24: 000000000000047c
[ 1149.125212] x23: ffffff80030a2fb8 x22: 0000000000000f7d
[ 1149.130514] x21: ffffff803b033800 x20: 0000000000000000
[ 1149.135816] x19: ffffff80030a2080 x18: 0000000000000014
[ 1149.141118] x17: 0000000080301482 x16: 000000001ea486e4
[ 1149.146419] x15: 00000000d00fee3e x14: 00000000d1faf0f2
[ 1149.151720] x13: 00000000da4ded9b x12: 000000002bc29ec3
[ 1149.157023] x11: 00000000463f697b x10: 00000000000007f0
[ 1149.162325] x9 : 00000000007ff020 x8 : 00000000007ff100
[ 1149.167626] x7 : 00000000090395eb x6 : a00460964dc40000
[ 1149.172928] x5 : 00000000670a7ca3 x4 : ffffff803dc208a0
[ 1149.178230] x3 : 0000000000000002 x2 : 00000000ffffffe4
[ 1149.183532] x1 : ffffff883e35ffa0 x0 : 00000000ffffffe4
[ 1149.188834] Call trace:
[ 1149.191272]  mtk_flow_offload_add+0xd0/0x180
[ 1149.195531]  mtk_flow_offload+0x4c/0x60
[ 1149.199363]  0xffffffc008fea39c
[ 1149.202497]  process_one_work+0x1fc/0x390
[ 1149.206496]  worker_thread+0x48/0x4d0
[ 1149.210150]  kthread+0x120/0x128
[ 1149.213370]  ret_from_fork+0x10/0x1c
[ 1149.216939] Code: 8b364c21 c89ffc35 f947b661 8b204c21 (c89ffc35)
[ 1149.223022] ---[ end trace 6f442c4095dcee79 ]---
[ 1149.227630] Kernel panic - not syncing: Fatal exception
[ 1149.232846] SMP: stopping secondary CPUs
[ 1149.236761] Kernel Offset: disabled
[ 1149.240240] CPU features: 0x0002,04002004
[ 1149.244237] Memory Limit: none
[ 1149.247283] Rebooting in 3 seconds..

while objdump -d -S drivers/net/ethernet/mediatek/mtk_offload.o is

...
00000000000000f0 <mtk_flow_offload_add>:
int mtk_flow_offload_add(struct mtk_eth *eth,
                         enum flow_offload_type type,
                         struct flow_offload *flow,
                         struct flow_offload_hw_path *src,
                         struct flow_offload_hw_path *dest)
{
  f0:   a9b27bfd        stp     x29, x30, [sp, #-224]!
  f4:   910003fd        mov     x29, sp
  f8:   a90153f3        stp     x19, x20, [sp, #16]
        struct flow_offload_tuple *otuple = &flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple;
  fc:   91002054        add     x20, x2, #0x8
        struct flow_offload_tuple *rtuple = &flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple;
        struct mtk_foe_entry orig, reply;
        u32 ohash, rhash, timestamp;
...
        rhash = mtk_foe_entry_commit(&eth->ppe, &reply, timestamp);
 19c:   2a1803e2        mov     w2, w24
 1a0:   910243e1        add     x1, sp, #0x90
 1a4:   aa1703e0        mov     x0, x23
 1a8:   94000000        bl      0 <mtk_foe_entry_commit>
        if (rhash < 0) {
                mtk_foe_entry_clear(&eth->ppe, ohash);
                return -EINVAL;
        }

        rcu_assign_pointer(eth->foe_flow_table[ohash], flow);
 1ac:   f947b661        ldr     x1, [x19, #3944]
 1b0:   8b364c21        add     x1, x1, w22, uxtw #3
 1b4:   c89ffc35        stlr    x21, [x1]
        rcu_assign_pointer(eth->foe_flow_table[rhash], flow);
 1b8:   f947b661        ldr     x1, [x19, #3944]
 1bc:   8b204c21        add     x1, x1, w0, uxtw #3
 1c0:   c89ffc35        stlr    x21, [x1]
...
04.01.20213560Base systemBug ReportVery LowMediumbcm47xx: Latest Snapshot fails to boot on NETGEAR R6200TrunkUnconfirmed Task Description

After flashing the latest snapshot I noticed the device wouldn’t lease out IPs
when watching the serial console I found these errors and it’d hang on starting program

The only error before was “Checksum too long”

These are the main two partitions of the device
0×000000000000-0×000000040000 : “boot”
0×000000040000-0x000000f40000 : “firmware”

So I assume whatever is placed in “boot” is too large.

CFE for R6200 version: v1.0.1
Build Date: Fri May 11 13:46:43 CST 2012
Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
Found an ST compatible serial flash with 256 64KB blocks; total size 16MB
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 2010.09.30.0
CPU type 0x19740: 480MHz
Tot mem: 131072 KBytes

Device eth0:  hwaddr 84-1B-5E-F5-37-41, ipaddr 192.168.1.1, mask 255.255.255.0
        gateway not set, nameserver not set
**too long file.**
**LZMA boot failed**
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 3816 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000


02.01.20213554PackagesBug ReportVery LowLowuhttpd non-English directory displays garbled character...TrunkUnconfirmed Task Description

uhttpd non-English directory displays garbled characters。

Modify uh_file_dirlist function

ustream_printf(cl→us, “Content-Type: text/html\r\n\r\n”);

ustream_printf(cl→us, “Content-Type: text/html; charset=utf-8\r\n\r\n”);

This way all languages can be displayed perfectly!

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

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

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

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

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

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

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

28.12.20203543KernelBug ReportVery LowLowAfter switch from 18.06 to 19.07 Huawei e5786 lte cat6 ...openwrt-19.07Unconfirmed Task Description

After switch from 18.06 openwrt OpenWrt 18.06-SNAPSHOT r7911-f65330d27d / LuCI openwrt-18.06 branch (git-19.320.62919-7a3f0dd) on kernel 4.14.152 to many different 19.07 versions on device Netgear r7800 modem Huawei e5876 lte cat6 router Hilink is nor working at all. It was sucesfully working on 18.06 and 17 LEDE version.

log from working device on 18.06 kernel log:

usb 1-1: USB disconnect, device number 2
[   36.914146] usb 1-1: new high-speed USB device number 3 using xhci-hcd
[   37.180658] option 1-1:1.0: GSM modem (1-port) converter detected
[   37.180936] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[   37.277017] huawei_cdc_ncm 1-1:1.1: resetting NTB format to 16-bit
[   37.277393] huawei_cdc_ncm 1-1:1.1: MAC-Address: 00:1e:10:1f:00:00
[   37.282096] huawei_cdc_ncm 1-1:1.1: setting rx_max = 16384
[   37.337077] huawei_cdc_ncm 1-1:1.1: NDP will be placed at end of frame for this device.
[   37.337261] huawei_cdc_ncm 1-1:1.1: cdc-wdm0: USB WDM device
[   37.344669] huawei_cdc_ncm 1-1:1.1 wwan0: register 'huawei_cdc_ncm' at usb-xhci-hcd.0.auto-1, Huawei CDC NCM device, 00:1e:10:1f:00:00
 


Showing tasks 1 - 50 of 1037 Page 1 of 211 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing