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
07.11.20203437Base systemBug ReportVery LowLowWiTi Board flash sizeTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on WiTi Board 512MB
- Software versions of OpenWrt/LEDE release, packages, etc. All release versions
- Steps to reproduce = None

 

Witi Board 512MB version has a flash size of 32mb, there maybe some 512mb versions with 16mb flash but the 2 i have are both 32mb spi flash. Can someone add this to source? At the moment i have to edit the .dtsi file and mt7621.mk file to reflect the correct image and flash size.

WITI.dtsi

from

			partition@50000 {
				compatible = "denx,uimage";
				label = "firmware";
				reg = <0x50000 0xfb0000>;

to

			partition@50000 {
				compatible = "denx,uimage";
				label = "firmware";
				reg = <0x50000 0x1fb0000>;

mt7621.mk

From

define Device/mqmaker_witi-512m
  DTS := WITI-512M
  IMAGE_SIZE := $(ralink_default_fw_size_16M)
  DEVICE_TITLE := MQmaker WiTi (512MB RAM)
  DEVICE_PACKAGES := \
	kmod-ata-core kmod-ata-ahci kmod-mt76x2 kmod-sdhci-mt7620 kmod-usb3 \
	kmod-usb-ledtrig-usbport wpad-basic
endef
TARGET_DEVICES += mqmaker_witi-512m

To

define Device/mqmaker_witi-512m
  DTS := WITI-512M
  IMAGE_SIZE := $(ralink_default_fw_size_32M)
  DEVICE_TITLE := MQmaker WiTi (512MB RAM)
  DEVICE_PACKAGES := \
	kmod-ata-core kmod-ata-ahci kmod-mt76x2 kmod-sdhci-mt7620 kmod-usb3 \
	kmod-usb-ledtrig-usbport wpad-basic
endef
TARGET_DEVICES += mqmaker_witi-512m

Thank you

07.11.20203436KernelBug ReportVery LowMediumKernel OOPS with hw offload enableopenwrt-19.07Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

Ubiquiti EdgeRouterX

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

Linux OpenWrt 4.14.195 #0 SMP Sun Sep 6 16:19:39 2020 mips GNU/Linux

- Steps to reproduce

I’m not doing anything specific. This reported instance happend over night when
I was sleeping. I do have the flow offload (the HW variant) enabled.

Here is output from logread:

Sat Nov  7 03:26:00 2020 [1604719560.750] kern.alert kernel: [30317.854831] CPU 3 Unable to handle kernel paging request at virtual address 002dd990, epc == 8ef60384, ra == 8ef603ac
Sat Nov  7 03:26:00 2020 [1604719560.750] kern.warn kernel: [30317.875985] Oops[#1]:
Sat Nov  7 03:26:00 2020 [1604719560.750] kern.warn kernel: [30317.880503] CPU: 3 PID: 25 Comm: kworker/3:0 Not tainted 4.14.195 #0
Sat Nov  7 03:26:00 2020 [1604719560.750] kern.warn kernel: [30317.893151] Workqueue: events_power_efficient 0x8ef27304 [xt_FLOWOFFLOAD@8ef27000+0xc10]
Sat Nov  7 03:26:00 2020 [1604719560.750] kern.warn kernel: [30317.909245] task: 8fc7aca0 task.stack: 8fc96000
Sat Nov  7 03:26:00 2020 [1604719560.750] kern.warn kernel: [30317.918246] $ 0   : 00000000 00000001 002dd962 00000001
Sat Nov  7 03:26:00 2020 [1604719560.750] kern.warn kernel: [30317.928644] $ 4   : 002dd962 8fc97e4f 8fc97e4f ffff00fe
Sat Nov  7 03:26:00 2020 [1604719560.751] kern.warn kernel: [30317.939044] $ 8   : 8fc97fe0 00007c00 00001b92 00000001
Sat Nov  7 03:26:00 2020 [1604719560.751] kern.warn kernel: [30317.949443] $12   : 00000154 8f2e9c80 ffffffff 00001844
Sat Nov  7 03:26:00 2020 [1604719560.751] kern.warn kernel: [30317.959843] $16   : 8fc97e4f 8ef27000 00000000 fffffff5
Sat Nov  7 03:26:00 2020 [1604719560.751] kern.warn kernel: [30317.970243] $20   : 8056bba0 00000001 000000c0 fffffffe
Sat Nov  7 03:26:00 2020 [1604719560.751] kern.warn kernel: [30317.980643] $24   : 3b9aca00 80008e34
Sat Nov  7 03:26:00 2020 [1604719560.751] kern.warn kernel: [30317.991042] $28   : 8fc96000 8fc97df0 80550000 8ef603ac
Sat Nov  7 03:26:00 2020 [1604719560.751] kern.warn kernel: [30318.001441] Hi    : 0000000a
Sat Nov  7 03:26:00 2020 [1604719560.751] kern.warn kernel: [30318.007159] Lo    : 66666669
Sat Nov  7 03:26:00 2020 [1604719560.751] kern.warn kernel: [30318.012885] epc   : 8ef60384 0x8ef60384 [nf_flow_table@8ef60000+0x3350]
Sat Nov  7 03:26:00 2020 [1604719560.751] kern.warn kernel: [30318.026051] ra    : 8ef603ac 0x8ef603ac [nf_flow_table@8ef60000+0x3350]
Sat Nov  7 03:26:00 2020 [1604719560.752] kern.warn kernel: [30318.039203] Status: 11007c03     KERNEL EXL IE
Sat Nov  7 03:26:00 2020 [1604719560.752] kern.warn kernel: [30318.047529] Cause : 40800008 (ExcCode 02)
Sat Nov  7 03:26:00 2020 [1604719560.752] kern.warn kernel: [30318.055495] BadVA : 002dd990
Sat Nov  7 03:26:00 2020 [1604719560.752] kern.warn kernel: [30318.061211] PrId  : 0001992f (MIPS 1004Kc)
Sat Nov  7 03:26:00 2020 [1604719560.752] kern.warn kernel: [30318.069346] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 leds_gpio gpio_button_hotplug
client_loop: send disconnect: Broken pipe
05.11.20203435Base systemBug ReportVery LowLowRK3328 rk_gmac-dwmac ff540000.ethernet: phy regulator ...TrunkUnconfirmed Task Description

- OpenWrt master latest
[ 0.201033] rk_gmac-dwmac ff540000.ethernet: phy regulator is not available yet, deferred probing
[ 0.203284] dwc3 ff600000.dwc3: Failed to get clk ‘ref’: -2

 


04.11.20203433Base systemBug ReportVery LowLowTime-based firewall rules do not handle daylight saving...TrunkUnconfirmed Task Description

From https://forum.openwrt.org/t/firewall-parental-controls/24813

After recent switch from Daylight to Standard time, firewall rules are off by one hour.

Raspberry Pi 4 Model B Rev 1.1

OpenWrt SNAPSHOT r14459-96586ad8ca / LuCI Master git-20.254.65894-a314b59

  1. create a firewall rule with time component (start_time, stop_time)
  2. after daylight savings change, start_time and stop_time still behave as if time had not changed (off by one hour)
03.11.20203432ToolchainBug ReportVery LowLowfakeroot: segmentation faultTrunkUnconfirmed Task Description

Try to compile the vim package using the current snapshot SDK openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64.
The compilation fails with a segmentation fault within fakeroot.

Steps to reproduce:

Output:

make[1]: Entering directory '/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64'
make[2]: Entering directory '/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/feeds/base/package/libs/ncurses'
find /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/build_dir/hostpkg/ncurses-6.2 -mindepth 1 -maxdepth 1 -not '(' -type f -and -name '.*' -and -size 0 ')' | xargs -r rm -rf
make[2]: Leaving directory '/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/feeds/base/package/libs/ncurses'
time: package/feeds/base/ncurses/host-compile#0.14#0.14#0.24
make[2]: Entering directory '/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/package/toolchain'
Makefile:762: WARNING: skipping libgomp -- package has no install section
mkdir -p /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/bin/targets/mxs/generic/packages /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/build_dir/target-arm_arm926ej-s_musl_eabi/toolchain/ipkg-arm_arm926ej-s/libgcc/CONTROL /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/staging_dir/target-arm_arm926ej-s_musl_eabi/pkginfo
install -d -m0755 /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/build_dir/target-arm_arm926ej-s_musl_eabi/toolchain/ipkg-arm_arm926ej-s/libgcc/lib
cp -fpR /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/staging_dir/toolchain-arm_arm926ej-s_gcc-8.4.0_musl_eabi/lib/libgcc_s.so.* /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/build_dir/target-arm_arm926ej-s_musl_eabi/toolchain/ipkg-arm_arm926ej-s/libgcc/lib/
find /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/build_dir/target-arm_arm926ej-s_musl_eabi/toolchain/ipkg-arm_arm926ej-s/libgcc -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
export CROSS="arm-openwrt-linux-muslgnueabi-"  NO_RENAME=1 ; NM="arm-openwrt-linux-muslgnueabi-nm" STRIP="/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/staging_dir/host/bin/sstrip" STRIP_KMOD="/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/scripts/strip-kmod.sh" PATCHELF="/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/staging_dir/host/bin/patchelf" /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/scripts/rstrip.sh /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/build_dir/target-arm_arm926ej-s_musl_eabi/toolchain/ipkg-arm_arm926ej-s/libgcc
rstrip.sh: /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/build_dir/target-arm_arm926ej-s_musl_eabi/toolchain/ipkg-arm_arm926ej-s/libgcc/lib/libgcc_s.so.1: shared object
(cd /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/build_dir/target-arm_arm926ej-s_musl_eabi/toolchain/ipkg-arm_arm926ej-s/libgcc/CONTROL; ( echo "$CONTROL"; printf "Description: "; echo "$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'; ) > control; chmod 644 control; ( echo "#!/bin/sh"; echo "[ \"\${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"; echo "[ -x "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst \$0 \$@"; ) > postinst; ( echo "#!/bin/sh"; echo "[ -x "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_prerm \$0 \$@"; ) > prerm; chmod 0755 postinst prerm;  )
install -d -m0755 /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/bin/targets/mxs/generic/packages
/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/staging_dir/host/bin/fakeroot /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/scripts/ipkg-build -m "" /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/build_dir/target-arm_arm926ej-s_musl_eabi/toolchain/ipkg-arm_arm926ej-s/libgcc /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/bin/targets/mxs/generic/packages
/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/staging_dir/host/bin/fakeroot: line 185: 66480 Segmentation fault      (core dumped) FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$LIB" "$@"
make[2]: *** [Makefile:764: /home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/bin/targets/mxs/generic/packages/libgcc1_8.4.0-2_arm_arm926ej-s.ipk] Error 139
make[2]: Leaving directory '/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/package/toolchain'
time: package/toolchain/compile#0.18#0.13#0.34
make[1]: *** [package/Makefile:114: package/toolchain/compile] Error 2
make[1]: Leaving directory '/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64'
make: *** [/home/mpranj/Downloads/openwrt-sdk-mxs_gcc-8.4.0_musl_eabi.Linux-x86_64/include/toplevel.mk:229: package/vim/compile] Error 2

02.11.20203431OtherBug ReportVery LowMediumSDK try to recompile the whole KernelTrunkUnconfirmed Task Description

When i try to compile a external kernelmodule (lq-wave300 from Mandrake-Lee github repo) then it trys to recompile the whole kernel and fail because Kconfig is missed.
I compile by the command:
make V=s package/ltq-wave300-mandrake/compile

on SDK from 19.07.4 and before it compiled succes (the module was never tested yet because i have only a working snapshoot device)
> selfbuikded snapshoot from 18.10:
-it fails by missed Kconfig
-when i copy the kernelsource to buildirectory (via “tar -xf -k ..”) then it will try to recompile the whole kernel
-when i copy the Makefile from old 4.14 Kernel to the current 5.4.72 directory first it works (no compilation of kernelsource) but it hangs on Modpost 2 (no reaaction)
> download snapshoot from 02.11: (fakreroot does not work and must be replaced by Slackware specified)
-it fails by missed Kconfig, but then it recompile libnl-3 again and prepare my package again ??? and fails finaly by missed Kconfig

mv -f $depbase.Tpo $depbase.Po
awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/CmdLine.cpp

awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/CmdLine.h

depbase=`echo ../../../../../tools/shared/linux/../Debug.o | sed ‘s|[^/]*$|.deps/&|;s|\.o$||’`;\
/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/support/mtlkfront.sh /opt/build/owrtsdk/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/bin/mips-*linux-g++ -DHAVE_CONFIG_H -I. -I../../../../../tools/shared/linux -I../../.. -DMTLK_SOURCE_VERSION=”\”3.4.99.0.0.exported.pre_git_version.REL_3.4.99\”” -DLOG_LOCAL_OID=MTLKFRONT_WILL_FILL_IT -include /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/config.h -include /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/.config.h -I../../../../../tools/rtlogger/shared -g -I../../../../../tools/shared/linux/../ -I../../../../../wireless/shared -I../../../../../wireless/shared/linux -I../../../../../tools/shared/3rd_party/iniparser -I../../../../../tools/mttools/shared -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/ -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/netlink/genl/ -Wall -Wno-multichar -fno-strict-aliasing -O2 -fno-common -fno-builtin -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/ -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/netlink/genl/ -MT ../../../../../tools/shared/linux/../Debug.o -MD -MP -MF $depbase.Tpo -c -o ../../../../../tools/shared/linux/../Debug.o ../../../../../tools/shared/linux/../Debug.cpp &&\
mv -f $depbase.Tpo $depbase.Po
awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/Debug.cpp

awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/Debug.h

depbase=`echo ../../../../../tools/shared/linux/../ParamInfo.o | sed ‘s|[^/]*$|.deps/&|;s|\.o$||’`;\
/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/support/mtlkfront.sh /opt/build/owrtsdk/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/bin/mips-*linux-g++ -DHAVE_CONFIG_H -I. -I../../../../../tools/shared/linux -I../../.. -DMTLK_SOURCE_VERSION=”\”3.4.99.0.0.exported.pre_git_version.REL_3.4.99\”” -DLOG_LOCAL_OID=MTLKFRONT_WILL_FILL_IT -include /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/config.h -include /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/.config.h -I../../../../../tools/rtlogger/shared -g -I../../../../../tools/shared/linux/../ -I../../../../../wireless/shared -I../../../../../wireless/shared/linux -I../../../../../tools/shared/3rd_party/iniparser -I../../../../../tools/mttools/shared -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/ -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/netlink/genl/ -Wall -Wno-multichar -fno-strict-aliasing -O2 -fno-common -fno-builtin -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/ -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/netlink/genl/ -MT ../../../../../tools/shared/linux/../ParamInfo.o -MD -MP -MF $depbase.Tpo -c -o ../../../../../tools/shared/linux/../ParamInfo.o ../../../../../tools/shared/linux/../ParamInfo.cpp &&\
mv -f $depbase.Tpo $depbase.Po
awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/ParamInfo.cpp

awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/ParamInfo.h

rm -f libmtlkcpp.a
ar cru libmtlkcpp.a ../../../../../tools/shared/linux/../aux_utils.o ../../../../../tools/shared/linux/../CmdLine.o ../../../../../tools/shared/linux/../Debug.o ../../../../../tools/shared/linux/../ParamInfo.o
/opt/build/owrtsdk/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/bin/mips-openwrt-linux-ranlib libmtlkcpp.a
make[7]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared/linux’ make[7]: Nothing to be done for ‘install-exec-am’.
make[7]: Nothing to be done for ‘install-data-am’.
make[7]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared/linux’ make[6]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared/linux’ make[6]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared’ make[7]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared’ make[7]: Nothing to be done for ‘install-exec-am’.
make[7]: Nothing to be done for ‘install-data-am’.
make[7]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared’ make[6]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared’ make[5]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared’ Making install in wireless/shared
make[5]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/wireless/shared’ make[6]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/wireless/shared’ make[6]: Nothing to be done for ‘install-exec-am’.
make[6]: Nothing to be done for ‘install-data-am’.
make[6]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/wireless/shared’ make[5]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/wireless/shared’ Making install in tools
make[5]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools’ Making install in mttools
make[6]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ make[7]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ make[8]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ make[8]: Nothing to be done for ‘install-exec-am’.
make[8]: Nothing to be done for ‘install-data-am’.
make[8]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ make[7]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ make[6]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ Making install in mtlkroot
make[6]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mtlkroot’ make[7]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/linux-5.4.73’ scripts/kconfig/conf –syncconfig Kconfig
can’t find file Kconfig
make[9]: * [scripts/kconfig/Makefile:73: syncconfig] Error 1
make[8]:
* [Makefile:590: syncconfig] Error 2
make[7]: * [Makefile:696: include/config/auto.conf.cmd] Error 2
make[7]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/linux-5.4.73’ make[6]:
* [Makefile:485: mtlkroot.ko] Error 11
make[6]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mtlkroot’ make[5]: * [Makefile:587: install-recursive] Error 1
make[5]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools’ make[4]:
* [Makefile:518: install-recursive] Error 1
make[4]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288’ make[3]: * [Makefile:21: all] Error 2
make[3]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23’ make[2]:
* [Makefile:160: /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/.built] Error 2
make[2]: Leaving directory ‘/mnt/sda2/prog/openwrt_lantiq2/own-feeds/openwrt-feeds-teleltq/kernel/lantiq/ltq-wave300-mandrake’ time: package/feeds/teleltq/ltq-wave300-mandrake/compile#27.44#22.95#53.36
make[1]: * [package/Makefile:114: package/feeds/teleltq/ltq-wave300-mandrake/compile] Error 2
make[1]: Leaving directory ‘/opt/build/owrtsdk’ make:
* [/opt/build/owrtsdk/include/toplevel.mk:229: package/ltq-wave300-mandrake/compile] Error 2
ERROR: make V=s package/ltq-wave300-mandrake/compile

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

Hi,

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

02.11.20203426Base systemBug ReportVery LowLowvxlan uci setup: infinite looping netifdTrunkUnconfirmed Task Description

tested with trunk r14825

when configuring a vxlan interface like described in the wiki:
https://openwrt.org/docs/guide-user/network/tunneling_interface_protocols#vxlan_example_configuration

the device will up/down our interface in a loop forever:

# logread
...
Mon Nov  2 07:31:03 2020 daemon.notice netifd: Interface 'vx' is now down
Mon Nov  2 07:31:03 2020 daemon.notice netifd: Interface 'vx' is setting up now
Mon Nov  2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is now down
Mon Nov  2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is setting up now
Mon Nov  2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is now down
Mon Nov  2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is setting up now
Mon Nov  2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is now down
Mon Nov  2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is setting up now
Mon Nov  2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is now down
Mon Nov  2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is setting up now
Mon Nov  2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is now down
Mon Nov  2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is setting up now
Mon Nov  2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is now down
Mon Nov  2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is setting up now
Mon Nov  2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is now down
Mon Nov  2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is setting up now
Mon Nov  2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is now down
Mon Nov  2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is setting up now
Mon Nov  2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is now down
Mon Nov  2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is setting up now
Mon Nov  2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is now down
Mon Nov  2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is setting up now
Mon Nov  2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is now down
Mon Nov  2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is setting up now
Mon Nov  2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is now down
Mon Nov  2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is setting up now
Mon Nov  2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is now down
Mon Nov  2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is setting up now
Mon Nov  2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is now down
Mon Nov  2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is setting up now
Mon Nov  2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is now down
Mon Nov  2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is setting up now
Mon Nov  2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is now down
Mon Nov  2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is setting up now
Mon Nov  2 07:31:06 2020 daemon.notice netifd: Interface 'vx' is now down
Mon Nov  2 07:31:06 2020 daemon.notice netifd: Interface 'vx' is setting up now
Mon Nov  2 07:31:06 2020 daemon.notice netifd: Interface 'vx' is now down
Mon Nov  2 07:31:06 2020 daemon.notice netifd: Interface 'vx' is setting up now
Mon Nov  2 07:31:06 2020 daemon.notice netifd: Interface 'vx' is now down
Mon Nov  2 07:31:06 2020 daemon.notice netifd: Interface 'vx' is setting up now
Mon Nov  2 07:31:06 2020 daemon.notice netifd: Interface 'vx' is now down
...

uci parameter:

config interface 'vx'
        option proto    'vxlan'
        option peeraddr '10.63.22.98'
        option port     '4789'
        option vid      '4'

config interface 'l2vpn'
        option ifname  '@vx'
        option proto   'static'
        option ipaddr  '192.168.22.4'
        option netmask '255.255.255.0'
        option layer   '2'

when manually configuring this, it works without issues:

ip link add dev vx type vxlan id 4 remote 10.63.22.98 dstport 4789
ip link set dev vx up
ip addr add 192.168.22.4/24 dev vx
02.11.20203424Base systemBug ReportVery LowLowError loading shared library libmount.so.1: No such fil...TrunkUnconfirmed Task Description

root@OpenWrt# lsblk
Error loading shared library libmount.so.1: No such file or directory (needed by /usr/bin/lsblk)
Error relocating /usr/bin/lsblk: mnt_free_iter: symbol not found
Error relocating /usr/bin/lsblk: mnt_new_iter: symbol not found
Error relocating /usr/bin/lsblk: mnt_table_find_srcpath: symbol not found
Error relocating /usr/bin/lsblk: mnt_table_find_devno: symbol not found
Error relocating /usr/bin/lsblk: mnt_new_table: symbol not found
Error relocating /usr/bin/lsblk: mnt_table_set_cache: symbol not found
Error relocating /usr/bin/lsblk: mnt_unref_table: symbol not found
Error relocating /usr/bin/lsblk: mnt_table_parse_swaps: symbol not found
Error relocating /usr/bin/lsblk: mnt_fs_get_target: symbol not found
Error relocating /usr/bin/lsblk: mnt_fs_match_source: symbol not found
Error relocating /usr/bin/lsblk: mnt_table_set_parser_errcb: symbol not found
Error relocating /usr/bin/lsblk: mnt_unref_cache: symbol not found
Error relocating /usr/bin/lsblk: mnt_init_debug: symbol not found
Error relocating /usr/bin/lsblk: mnt_table_set_iter: symbol not found
Error relocating /usr/bin/lsblk: mnt_fs_get_root: symbol not found
Error relocating /usr/bin/lsblk: mnt_new_cache: symbol not found
Error relocating /usr/bin/lsblk: mnt_table_parse_mtab: symbol not found
Error relocating /usr/bin/lsblk: mnt_table_next_fs: symbol not found


01.11.20203423Base systemBug ReportVery LowHighNo dependencies installed and configuredTrunkUnconfirmed Task Description

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

 

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

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

On the lastest snapshots, with my Linksys EA7500 V1.

01.11.20203422Base systemBug ReportVery LowMediumopkg_conf_parse_file: Duplicate src declarationTrunkUnconfirmed Task Description

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

# opkg update

Collected errors:
* opkg_conf_parse_file: Duplicate src declaration (openwrt_kmods https://downlo ads.openwrt.org/snapshots/targets/ipq806x/generic/kmods/5.4.73-1-24a37ca31562e56 7dd0b002baba9b704)

# vi /etc/opkg/distfeeds.conf

src/gz openwrt_core https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/packages src/gz openwrt_kmods https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/kmods/5.4.73-1-24a37ca31562e567dd0b002baba9b704 src/gz openwrt_base https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/base src/gz openwrt_kmods https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/kmods/5.4.73-1-24a37ca31562e567dd0b002baba9b704 src/gz openwrt_freifunk https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/freifunk src/gz openwrt_luci https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/luci src/gz openwrt_packages https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/packages src/gz openwrt_routing https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/routing src/gz openwrt_telephony https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/telephony

uname -a
Linux OpenWrt 5.4.73 #0 SMP Sun Nov 1 13:44:06 2020 armv7l GNU/Linux

01.11.20203421Base systemBug ReportVery LowMediumnetifd: tries to claim VAP device before it's createdTrunkUnconfirmed Task Description

This is obviously a general issue but the problem was reported on Netgear RT6220. There are two 5 GHz (radio1, non-DFS channel) VAPs and five VAPs in total. Netifd debug log is attached.

When netifd tries to claim second 5 GHz VAP (wl1-gst) it fails with error message:

device_claim(447): claim Network device wl1-gst failed: -1

It seems that the second VAP had not been (yet) created by hostapd when netifd tried to claim it as if it lacked a proper synchronization with hostapd.

As a result:

  • wl1-gst device is never added as bridge member,
  • it permanently stays in “down” state:
# ubus call network.device status '{ "name": "wl1-gst" }'
{
	"external": true,
	"present": true,
	"type": "Network device",
	"up": false,
	"carrier": true,
	"statistics": {
                ...
	}
}
  • the second 5 GHz VAP is pretty much useless.

There’s no easy way to workaround this since each wifi reload command triggers the same routine.

Is it possible to fix netifd without a major rewrite? It seems that to consider each VAP ready as soon as hostapd is started, which is obviously not the case.

The problem was originally reported in FS#2698 but the workaround in https://github.com/openwrt/openwrt/pull/2848 treats only some symptoms. The root cause is still unaddressed.


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

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

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

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

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

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

Starting kernel ...

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


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

The libs are built correctly:

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

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

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

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

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

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


31.10.20203417Base systemBug ReportVery LowMedium /etc/config/luci seems to be corrupt, unable to find s...openwrt-19.07Unconfirmed Task Description

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

 

OpenWRT 19.07.4 on xRX200 rev 1.2 (BT Home Hub 5A) with all packages up to date.
After running the router for a while I’ll try to login to the page and get this error:
/usr/lib/lua/luci/dispatcher.lua:426: /etc/config/luci seems to be corrupt, unable to find section ‘main’

This would normally be accompanied with the 5GHz channel set to 149 (which is a paid-for channel in the UK).
Checking /etc/config/luci looks fine to me and sometimes service rcpd restart works but other times it leaves Luci in an unusable state.

31.10.20203416KernelBug ReportVery LowLowKernel Oops on mtd_block_markbadTrunkUnconfirmed Task Description

I’m trying to install snapshot version onto my Asus RT-AC65P router. The device has a broken (but not marked as bad) block in the end of `ubi` (`mtd5`) partition.

With `squashfs-factory.bin` router boots only once and then falls into restarts loop — I assume it can’t initialize overlayfs after it was resized during first boot.

`initramfs-kernel.bin` doesn’t touch that block and works fine.

To isolate the root cause I’ve used simple C code (adopted from `nandtest.c`):

#include <fcntl.h>
#include <sys/ioctl.h>
#include <mtd/mtd-abi.h>

int main(void) {
    int fd = open("/dev/mtd5", O_RDWR);
    __kernel_loff_t offset = 18612224;  // Bad block offset
    ioctl(fd, MEMSETBADBLOCK, &offset);
}

That caused a Kernel Oops. With `cat /dev/kmsg` I caught that message:

mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
 SUBSYSTEM=platform
 DEVICE=+platform:1e003000.nand
mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
 SUBSYSTEM=platform
 DEVICE=+platform:1e003000.nand
CPU 2 Unable to handle kernel paging request at virtual address 00000000, epc == 80382d4c, ra == 80378d94
Oops[#1]:
CPU: 2 PID: 2168 Comm: do_mark Not tainted 5.4.72 #0
$ 0   : 00000000 00000001 80382f24 00000800
$ 4   : 8fc33898 00000000 00000001 00003340
$ 8   : 00000000 00000000 00000001 00001cb3
$12   : 00000061 00000016 00000000 00061916
$16   : 8fc33898 00003340 8fc79c00 00000000
$20   : 00000000 00000000 00000000 00000000
$24   : 00000002 00000000
$28   : 8fc78000 8fc79ba8 7fbf3d48 80378d94
Hi    : 00001cb3
Lo    : 156422a6
epc   : 80382d4c mt7621_nfc_write_page_hwecc+0xc/0x1e4
ra    : 80378d94 nand_do_write_oob+0x154/0x1f0
Status: 11007c03\x09KERNEL EXL IE
Cause : 40800008 (ExcCode 02)
BadVA : 00000000
PrId  : 0001992f (MIPS 1004Kc)
Modules linked in: pppoe ppp_async iptable_nat xt_state xt_nat xt_conntrack xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD pppox ppp_generic nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack mt7615e mt7615_common mt76 mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG slhc nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_heartbeat nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
Process do_mark (pid: 2168, threadinfo=b8383f48, task=7d7cf08b, tls=77e2bec8)
Stack : 806c0000 00000001 8e77b000 8fc79bf0 8fc79c14 80096104 8fc33898 00000000
        00000000 00000000 019a0000 8e77b000 77e11cf8 80378f08 00000000 8086b180
        8e77b000 00000001 8fc79c00 00000000 0000958e 80090000 00000000 00000001
        00000000 00000001 00000000 00000000 00000000 8fc79bfc 8fc33898 00000000
        019a0000 00000000 8086b180 8037ac0c 00008d8d 00000000 00000001 ffff00fe
        ...
Call Trace:
[<80382d4c>] mt7621_nfc_write_page_hwecc+0xc/0x1e4
Code: 8c83001c  1060000e  00000000 <90a60000> 240200ff  14c2001c  24a20001  00a31821  10000004

---[ end trace a9254e578443d1f4 ]---
30.10.20203414Base systemBug ReportVery LowMediumNetwork crashopenwrt-19.07Unconfirmed Task Description

Model Xiaomi Mi Router 3G
Architecture MediaTek MT7621 ver:1 eco:3
Firmware Version OpenWrt 19.07.3 r11063-85e04e9f46 / LuCI openwrt-19.07 branch git-20.136.49537-fb2f363

2 wireguard tunnels, average load 0.7, constantly transferring around 50Mbps. What to do?

[11093.040136] ————[ cut here ]———— [11093.044786] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:320 0x8038ba10
[11093.051827] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
[11093.058754] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE 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 wireguard slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netportnet
[11093.130344] ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip_gre gre ip6_udp_tunnel udp_tunnel ipip tunnel4 ip_tunnel leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
[11093.177365] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.180 #0
[11093.183431] Stack : 00000000 00000000 00000000 8fe9f540 00000000 00000000 00000000 00000000
[11093.191767] 00000000 00000000 00000000 00000000 00000000 00000001 8fc0bd60 1cc28254
[11093.200102] 8fc0bdf8 00000000 00000000 00006480 00000038 8049c0d8 00000008 00000000
[11093.208454] 00000000 80550000 0002b4d5 00000000 8fc0bd40 00000000 00000000 8050ae44
[11093.216791] 8038ba10 00000140 00000001 8fe9f540 00000000 802accb0 00000004 806b0004
[11093.225127] ...
[11093.227562] Call Trace:
[11093.227577] [<8049c0d8>] 0x8049c0d8
[11093.233476] [<8038ba10>] 0x8038ba10
[11093.236946] [<802accb0>] 0x802accb0
[11093.240418] [<8000c1a0>] 0x8000c1a0
[11093.243889] [<8000c1a8>] 0x8000c1a8
[11093.247357] [<80484f34>] 0x80484f34
[11093.250830] [<80071a90>] 0x80071a90
[11093.254301] [<8002e608>] 0x8002e608
[11093.257770] [<8038ba10>] 0x8038ba10
[11093.261244] [<8002e690>] 0x8002e690
[11093.264714] [<800550e8>] 0x800550e8
[11093.268183] [<8038ba10>] 0x8038ba10
[11093.271656] [<80099940>] 0×80099940 [11093.275127] [<8038b864>] 0x8038b864
[11093.278596] [<8008850c>] 0x8008850c
[11093.282067] [<8005f1fc>] 0x8005f1fc
[11093.285536] [<800887c8>] 0x800887c8
[11093.289004] [<800790f8>] 0x800790f8
[11093.292481] [<804a2ed8>] 0x804a2ed8
[11093.295955] [<80032fb4>] 0x80032fb4
[11093.299422] [<8025a2f0>] 0x8025a2f0
[11093.302894] [<80007488>] 0×80007488 [11093.306362]
[11093.307906] —[ end trace 1eeab0d01990d637 ]— [11093.312528] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
[11093.318683] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
[11093.324685] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0ebc0000, max=0, ctx=639, dtx=639, fdx=638, next=639
[11093.335184] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0df60000, max=0, calc=1798, drx=1799
[11093.347900] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x6060000c, 0x10c = 0×80818 [11093.360558] mtk_soc_eth 1e100000.ethernet: PPE started
[36804.131736] conntrack: generic helper won’t handle protocol 47. Please consider loading the specific helper module.
[51119.838502] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
[51119.844705] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
[51119.850717] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0de70000, max=0, ctx=2403, dtx=2403, fdx=2402, next=2403
[51119.861557] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0bc40000, max=0, calc=2683, drx=2684
[51119.874059] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x6060000c, 0x10c = 0×80818 [51119.886726] mtk_soc_eth 1e100000.ethernet: PPE started
[89229.695179] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
[89229.701380] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
[89229.707395] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0ed30000, max=0, ctx=836, dtx=836, fdx=835, next=836
[89229.717886] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0bf30000, max=0, calc=3466, drx=3467
[89229.730663] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x6060000c, 0x10c = 0×80818 [89229.743335] mtk_soc_eth 1e100000.ethernet: PPE started
[113529.605540] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
[113529.611808] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
[113529.617908] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0bf30000, max=0, ctx=2724, dtx=2724, fdx=2723, next=2724
[113529.628843] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0bde0000, max=0, calc=3154, drx=3155
[113529.641841] mtk_soc_eth 1e100000.ethernet: 0×100 = 0x6060000c, 0x10c = 0×80818 [113529.654635] mtk_soc_eth 1e100000.ethernet: PPE started

27.10.20203411Base systemBug ReportVery LowMediumThe firewall refuses any connection when i add more tha...openwrt-19.07Unconfirmed Task Description

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

 

And the DHCP Server doesn’t work any more!

My route is below:

主机名 OpenWrt
型号 UBNT-ERX
架构 MediaTek MT7621 ver:1 eco:3
固件版本 OpenWrt 19.07.4 r11208-ce6496d796 / LuCI openwrt-19.07 branch git-20.247.75781-0d0ab01
内核版本 4.14.195
本地时间 2020-10-27 10:04:52

27.10.20203410Base systemBug ReportVery LowMediumbusybox ip cannot show all IPv6 routing table but localopenwrt-19.07Unconfirmed Task Description

In OpenWrt 19.07.4, ip from busybox can modify IPv6 routes in any table but it cannot show them. ip-full does not have any issues any issues:

# busybox ip -6 route add fdac:9818:b256:fe::6 dev wireguard table 22
# busybox ip -6 route show table 22
# ip -6 route show table 22 # ip form ip-full
fdac:9818:b256:fe::6 dev wireguard metric 1024 pref medium

It is not target specific. Tested with x86_64 and ath79

26.10.20203409Base systemBug ReportVery LowLowcan not connect to wifi after "WARNING" in klogTrunkUnconfirmed Task Description

On “TP-LINK TL-WDR4900 v1” with trunk r14723, i could
not connect to wifi anymore. I found this message in klog.
Executing ‘wifi’ fixed it.
I’am not 100% sure if this ‘WARNING’ is the root cause.


 3138.668410] ------------[ cut here ]------------
[ 3138.673122] WARNING: CPU: 0 PID: 9094 at backports-5.8-1/net/mac80211/ibss.c:1087 ieee80211_he_spr_ie_to_bss_conf+0x20c0/0x2168 [mac80211]
[ 3138.685541] Modules linked in: ath9k ath9k_common xt_connlimit nf_conncount iptable_nat ath9k_hw ath xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_NETMAP xt_MASQUERADE xt_FLOWOFFLOAD xt_CT nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 macvlan iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables compat 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 libcrc32c sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route
[ 3138.685685]  cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 nls_utf8 zram zsmalloc usb_storage gpio_keys leds_gpio fsl_mph_dr_of ehci_platform ehci_fsl scsi_mod ehci_hcd mbcache button_hotplug input_core usbcore usb_common crc32c_generic [last unloaded: sd_mod]
[ 3138.806062] CPU: 0 PID: 9094 Comm: kworker/u2:0 Not tainted 5.4.71 #0
[ 3138.812521] Workqueue: phy1 ieee80211_ibss_leave [mac80211]
[ 3138.818085] NIP:  c97538cc LR: c9753684 CTR: 00000000
[ 3138.823127] REGS: c79f7ac0 TRAP: 0700   Not tainted  (5.4.71)
[ 3138.828862] MSR:  00029000 <CE,EE,ME>  CR: 22002422  XER: 00000000
[ 3138.835038]
[ 3138.835038] GPR00: c9753540 c79f7b78 c791d4a0 00000000 c79f7bb0 00000000 00000001 00000000
[ 3138.835038] GPR08: c49a2d28 c49a2cf0 00000000 c41e4a8c c0016400 00000000 c004844c c4be3160
[ 3138.835038] GPR16: 00000000 00000000 00000fff 00000000 c4b0e130 c4341000 c4150c00 00000000
[ 3138.835038] GPR24: 00000000 c42a7080 c49a2d28 c4150c00 c4f3d3d8 00000087 c42a7070 c41e4460
[ 3138.869913] NIP [c97538cc] ieee80211_he_spr_ie_to_bss_conf+0x20c0/0x2168 [mac80211]
[ 3138.877576] LR [c9753684] ieee80211_he_spr_ie_to_bss_conf+0x1e78/0x2168 [mac80211]
[ 3138.885133] Call Trace:
[ 3138.887589] [c79f7b78] [c9753540] ieee80211_he_spr_ie_to_bss_conf+0x1d34/0x2168 [mac80211] (unreliable)
[ 3138.896990] [c79f7d08] [c9753e10] ieee80211_ibss_rx_queued_mgmt+0xcc/0x3dc [mac80211]
[ 3138.904828] [c79f7e28] [c9755aa8] ieee80211_ibss_leave+0xdbc/0x1c64 [mac80211]
[ 3138.912053] [c79f7e78] [c0042084] process_one_work+0x290/0x3dc
[ 3138.917879] [c79f7ea8] [c0042b20] worker_thread+0x88/0x4c8
[ 3138.923360] [c79f7ef8] [c004858c] kthread+0x140/0x144
[ 3138.928408] [c79f7f38] [c000f26c] ret_from_kernel_thread+0x14/0x1c
[ 3138.934577] Instruction dump:
[ 3138.937538] 39200001 7ea3ab78 993506f0 4801f779 4bfffb58 0fe00000 38bd0004 7f84e378
[ 3138.945282] 38c00018 7f63db78 4802bf65 4bffff78 <0fe00000> 8261015c 4bfffdbc 7f8b2040
[ 3138.953202] ---[ end trace 7041a104a2b1da00 ]---
26.10.20203408Base systemBug ReportVery LowLowDWC2 USB errors with Huawei E3372 4G dongle running in ...openwrt-19.07Unconfirmed Task Description

I have a BT Humehub 5A with a Huawei E3372 dongle, used purely for a backup for my VDSL connection, so only tested every few months, I noticed with 19.07.03 it wasn’t working, so I upgraded to 19.07.04 and it’s still not working.

It seems to initially “see” the dongle, then fail to talk to it

root@hh5a:~# dmesg|grep -i usb
[    0.374109] usbcore: registered new interface driver usbfs
[    0.379680] usbcore: registered new interface driver hub
[    0.385095] usbcore: registered new device driver usb
[    1.651958] USB_VBUS: disabling
[    3.779353] dwc2 1e101000.usb: 1e101000.usb supply vusb_d not found, using dummy regulator
[    3.786491] dwc2 1e101000.usb: 1e101000.usb supply vusb_a not found, using dummy regulator
[    3.794916] dwc2 1e101000.usb: dwc2_core_reset() HANG! AHB Idle GRSTCTL=0
[    4.001788] dwc2 1e101000.usb: DWC OTG Controller
[    4.005122] dwc2 1e101000.usb: new USB bus registered, assigned bus number 1
[    4.012215] dwc2 1e101000.usb: irq 62, io mem 0x1e101000
[    4.018987] hub 1-0:1.0: USB hub found
[   11.543311] usbcore: registered new interface driver cdc_wdm
[   11.902165] usbcore: registered new interface driver usbserial
[   11.906895] usbcore: registered new interface driver usbserial_generic
[   11.913296] usbserial: USB Serial support registered for generic
[   11.994648] usbcore: registered new interface driver cdc_ncm
[   12.039432] usbcore: registered new interface driver huawei_cdc_ncm
[   15.249532] usb 1-1: new high-speed USB device number 2 using dwc2
[   16.453533] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[   16.645469] usb 1-1: new high-speed USB device number 3 using dwc2
[   16.650389] dwc2 1e101000.usb: NYET/NAK/ACK/other in non-error case, 0x00000002
[   16.657632] dwc2 1e101000.usb: NYET/NAK/ACK/other in non-error case, 0x00000002
[   16.664934] dwc2 1e101000.usb: NYET/NAK/ACK/other in non-error case, 0x00000002
[   16.672397] dwc2 1e101000.usb: NYET/NAK/ACK/other in non-error case, 0x00000002
[   16.679561] dwc2 1e101000.usb: NYET/NAK/ACK/other in non-error case, 0x00000002
[   16.686865] dwc2 1e101000.usb: NYET/NAK/ACK/other in non-error case, 0x00000002
[   16.694339] dwc2 1e101000.usb: NYET/NAK/ACK/other in non-error case, 0x00000002
[   16.701495] dwc2 1e101000.usb: NYET/NAK/ACK/other in non-error case, 0x00000002
[   16.708802] dwc2 1e101000.usb: NYET/NAK/ACK/other in non-error case, 0x00000002
[   17.366922] usbcore: registered new interface driver option
[   17.371364] usbserial: USB Serial support registered for GSM modem (1-port)
[   17.925693] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[   17.931060] usb usb1-port1: attempt power cycle

Normally it would use /dev/ttyUSB0 but as a result of the above erros, no USB tty devices exist

root@hh5a:~# ls /dev/tty*
/dev/tty      /dev/ttyLTQ0
25.10.20203406KernelBug ReportVery LowHighproblems router ip address TrunkUnconfirmed Task Description

Hello all,

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

WRT1900ACS V2

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

_______                     ________        __

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

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

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


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

24.10.20203405KernelBug ReportVery LowMediumath10k-ct TP-Link EAP245v3 (QCA9982) 5Ghz 802.11ac radi...TrunkUnconfirmed Task Description

Model : TP-Link EAP245 v3
Architecture : Qualcomm Atheros QCA956X ver 1 rev 0
Firmware Version : OpenWrt SNAPSHOT r14740-0b31713c85 / LuCI Master git-20.295.56858-2bbde85
Kernel Version : 5.4.72


radio0 : Type: Qualcomm Atheros QCA9990 802.11nac


TP-Link EAP245 v3 spec states it uses a QCA9982 chip. Driver looks to be id’ing the chip as QCA9990.


When using kmod-ath10k-ct Module/Driver. The 5Ghz Radio never goes into 80Mhz width in TX mode, 40Mhz max. The Wireless client list shows TX as 40Mhz and external Spectrum Analyzer verifies the AP radio is only using the “correct” 40Mhz width for TX. Depending on channel used, you can see either the upper or lower 40Mhz width use.

By switching to the Kernel base kmod-ath10k Module/Driver. The Wireless client list always says 6Mb/s 20Mhz for the TX mode. But, testing throughput and watching Spectrum Analyzer actually shows the AP radio is TX’ing at 80Mhz width and higher VHT Rates.

Using the Kernel base or CT Firmware in either combo does not make a difference. But, the CT Firmware seems to have a bit better throughput performance while using either Module/Driver.


Below is Station info Dumps, Device Infos and Boot Log (dmesg) for both Module/Driver usages.

Using [ath10k-firmware-qca99x0-ct - 2020-07-02-1 & kmod-ath10k-ct - 5.4.72+2020-06-30-edfbf916-1]

root@OpenWrt:~# iw dev wlan0 station dump
Station XX:XX:XX:XX:XX:XX (on wlan0)
	inactive time:	4 ms
	rx bytes:	372464
	rx packets:	1978
	tx bytes:	551868
	tx packets:	1377
	tx retries:	4
	tx failed:	0
	rx drop misc:	0
	signal:  	-40 [-43, -41, -36] dBm
	signal avg:	-38 [-44, -40, -35] dBm
	tx bitrate:	405.0 MBit/s VHT-MCS 6 40MHz short GI VHT-NSS 3
	tx duration:	938974 us
	rx bitrate:	1300.0 MBit/s VHT-MCS 9 80MHz short GI VHT-NSS 3
	rx duration:	0 us
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		no
	TDLS peer:	no
	DTIM period:	2
	beacon interval:100
	short slot time:yes
	connected time:	33 seconds
	associated at [boottime]:	312.103s
	associated at:	18446725628512616754 ms
	current time:	1546824856 ms
root@OpenWrt:~# hostapd_cli all_sta
Selected interface 'wlan0'
XX:XX:XX:XX:XX:XX
flags=[AUTH][ASSOC][AUTHORIZED][WMM][HT][VHT]
aid=1
capability=0x1
listen_interval=10
supported_rates=8c 12 98 24 b0 48 60 6c
timeout_next=NULLFUNC POLL
rx_packets=428
tx_packets=324
rx_bytes=75284
tx_bytes=114911
inactive_msec=0
signal=-47
rx_rate_info=240
tx_rate_info=3600 vhtmcs 5 vhtnss 3 shortGI
rx_vht_mcs_map=ffea
tx_vht_mcs_map=ffea
ht_mcs_bitmask=ffffff00000000000000
connected_time=7
min_txpower=2
max_txpower=32
vht_caps_info=0x0f8259b2
ht_caps_info=0x09ef
ext_capab=0400000000000040
root@OpenWrt:~# iw dev wlan0 info
Interface wlan0
	ifindex 8
	wdev 0x2
	addr b0:95:75:6d:f0:3d
	ssid OpenWrt
	type AP
	wiphy 0
	channel 149 (5745 MHz), width: 80 MHz, center1: 5775 MHz
	txpower 20.00 dBm
	multicast TXQ:
		qsz-byt	qsz-pkt	flows	drops	marks	overlmt	hashcol	tx-bytes	tx-packets
		0	0	0	0	0	0	0	0		0
root@OpenWrt:~# iw phy phy0 info
Wiphy phy0
	wiphy index: 0
	max # scan SSIDs: 16
	max scan IEs length: 199 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports RSN-IBSS.
	Device supports AP-side u-APSD.
	Supported Ciphers:
		* WEP40 (00-0f-ac:1)
		* WEP104 (00-0f-ac:5)
		* TKIP (00-0f-ac:2)
		* CCMP-128 (00-0f-ac:4)
		* CMAC (00-0f-ac:6)
		* CMAC-256 (00-0f-ac:13)
		* GMAC-128 (00-0f-ac:11)
		* GMAC-256 (00-0f-ac:12)
		* GCMP-128 (00-0f-ac:8)
		* GCMP-256 (00-0f-ac:9)
		* CCMP-256 (00-0f-ac:10)
	Available Antennas: TX 0x7 RX 0x7
	Configured Antennas: TX 0x7 RX 0x7
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
		 * P2P-client
		 * P2P-GO
		 * P2P-device
	Band 2:
		Capabilities: 0x19ef
			RX LDPC
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			RX STBC 1-stream
			Max AMSDU length: 7935 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-23
		VHT Capabilities (0x339a79b2):
			Max MPDU length: 11454
			Supported Channel Width: neither 160 nor 80+80
			RX LDPC
			short GI (80 MHz)
			TX STBC
			SU Beamformer
			SU Beamformee
			MU Beamformer
			MU Beamformee
			RX antenna pattern consistency
			TX antenna pattern consistency
		VHT RX MCS set:
			1 streams: MCS 0-9
			2 streams: MCS 0-9
			3 streams: MCS 0-9
			4 streams: not supported
			5 streams: not supported
			6 streams: not supported
			7 streams: not supported
			8 streams: not supported
		VHT RX highest supported: 0 Mbps
		VHT TX MCS set:
			1 streams: MCS 0-9
			2 streams: MCS 0-9
			3 streams: MCS 0-9
			4 streams: not supported
			5 streams: not supported
			6 streams: not supported
			7 streams: not supported
			8 streams: not supported
		VHT TX highest supported: 0 Mbps
		Bitrates (non-HT):
			* 6.0 Mbps
			* 9.0 Mbps
			* 12.0 Mbps
			* 18.0 Mbps
			* 24.0 Mbps
			* 36.0 Mbps
			* 48.0 Mbps
			* 54.0 Mbps
		Frequencies:
			* 5180 MHz [36] (23.0 dBm)
			* 5200 MHz [40] (23.0 dBm)
			* 5220 MHz [44] (23.0 dBm)
			* 5240 MHz [48] (23.0 dBm)
			* 5260 MHz [52] (23.0 dBm) (radar detection)
			* 5280 MHz [56] (23.0 dBm) (radar detection)
			* 5300 MHz [60] (23.0 dBm) (radar detection)
			* 5320 MHz [64] (23.0 dBm) (radar detection)
			* 5500 MHz [100] (23.0 dBm) (radar detection)
			* 5520 MHz [104] (23.0 dBm) (radar detection)
			* 5540 MHz [108] (23.0 dBm) (radar detection)
			* 5560 MHz [112] (23.0 dBm) (radar detection)
			* 5580 MHz [116] (23.0 dBm) (radar detection)
			* 5600 MHz [120] (23.0 dBm) (radar detection)
			* 5620 MHz [124] (23.0 dBm) (radar detection)
			* 5640 MHz [128] (23.0 dBm) (radar detection)
			* 5660 MHz [132] (23.0 dBm) (radar detection)
			* 5680 MHz [136] (23.0 dBm) (radar detection)
			* 5700 MHz [140] (23.0 dBm) (radar detection)
			* 5720 MHz [144] (23.0 dBm) (radar detection)
			* 5745 MHz [149] (30.0 dBm)
			* 5765 MHz [153] (30.0 dBm)
			* 5785 MHz [157] (30.0 dBm)
			* 5805 MHz [161] (30.0 dBm)
			* 5825 MHz [165] (30.0 dBm)
			* 5845 MHz [169] (disabled)
			* 5865 MHz [173] (disabled)
	Supported commands:
		 * new_interface
		 * set_interface
		 * new_key
		 * start_ap
		 * new_station
		 * new_mpath
		 * set_mesh_config
		 * set_bss
		 * authenticate
		 * associate
		 * deauthenticate
		 * disassociate
		 * join_ibss
		 * join_mesh
		 * remain_on_channel
		 * set_tx_bitrate_mask
		 * frame
		 * frame_wait_cancel
		 * set_wiphy_netns
		 * set_channel
		 * set_wds_peer
		 * probe_client
		 * set_noack_map
		 * register_beacons
		 * start_p2p_device
		 * set_mcast_rate
		 * testmode
		 * connect
		 * disconnect
		 * channel_switch
		 * set_qos_map
		 * set_multicast_to_unicast
	Supported TX frame types:
		 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
	Supported RX frame types:
		 * IBSS: 0x40 0xb0 0xc0 0xd0
		 * managed: 0x40 0xb0 0xd0
		 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * mesh point: 0xb0 0xc0 0xd0
		 * P2P-client: 0x40 0xd0
		 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * P2P-device: 0x40 0xd0
	software interface modes (can always be added):
		 * AP/VLAN
		 * monitor
	valid interface combinations:
		 * #{ managed } <= 16, #{ AP, mesh point } <= 16, #{ IBSS } <= 1,
		   total <= 16, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz, 80+80 MHz, 160 MHz }

	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Device supports TX status socket option.
	Device supports HT-IBSS.
	Device supports SAE with AUTHENTICATE command
	Device supports scan flush.
	Device supports AP scan.
	Device supports per-vif TX power setting
	Driver supports full state transitions for AP/GO clients
	Driver supports a userspace MPM
	Driver/device bandwidth changes during BSS lifetime (AP/GO mode)
	Device supports static SMPS
	Device supports configuring vdev MAC-addr on create.
	Maximum associated stations in AP mode: 0
	Supported extended features:
		* [ VHT_IBSS ]: VHT-IBSS
		* [ RRM ]: RRM
		* [ SET_SCAN_DWELL ]: scan dwell setting
		* [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
		* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
		* [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
		* [ AQL ]: Airtime Queue Limits (AQL)
		* [ CONTROL_PORT_NO_PREAUTH ]: disable pre-auth over nl80211 control port support
		* [ DEL_IBSS_STA ]: deletion of IBSS station support
		* [ SCAN_FREQ_KHZ ]: scan on kHz frequency support
		* [ CONTROL_PORT_OVER_NL80211_TX_STATUS ]: tx status for nl80211 control port support
root@OpenWrt:~# dmesg
[    0.000000] Linux version 5.4.72 (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r14736-6a56a6eb30)) #0 Thu Oct 22 14:13:38 2020
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is TP-Link EAP245 v3
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 288 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 121672K/131072K available (5052K kernel code, 312K rwdata, 1212K rodata, 1288K init, 206K bss, 9400K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] random: get_random_bytes called from start_kernel+0x3a4/0x590 with crng_init=0
[    0.000000] CPU clock: 775.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008219] Calibrating delay loop... 385.02 BogoMIPS (lpj=770048)
[    0.046722] pid_max: default: 32768 minimum: 301
[    0.051723] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059434] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.071487] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.081799] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.089092] pinctrl core: initialized pinctrl subsystem
[    0.095574] NET: Registered protocol family 16
[    0.127640] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.140856] clocksource: Switched to clocksource MIPS
[    0.181151] NET: Registered protocol family 2
[    0.186456] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.195337] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.203434] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.210882] TCP: Hash tables configured (established 1024 bind 1024)
[    0.217712] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.224649] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.232285] NET: Registered protocol family 1
[    0.236952] PCI: CLS 0 bytes, default 32
[    0.244535] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.257536] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.263728] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.288911] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.295954] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.303355] printk: console [ttyS0] disabled
[    0.307945] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.317053] printk: console [ttyS0] enabled
[    0.326113] printk: bootconsole [early0] disabled
[    0.351896] spi-nor spi0.0: w25q128 (16384 Kbytes)
[    0.356934] 10 fixed-partitions partitions found on MTD device spi0.0
[    0.363599] Creating 10 MTD partitions on "spi0.0":
[    0.368667] 0x000000000000-0x000000040000 : "factory-boot"
[    0.375225] 0x000000040000-0x000000080000 : "u-boot"
[    0.381335] 0x000000080000-0x000000090000 : "partition-table"
[    0.388164] 0x000000090000-0x0000000a0000 : "info"
[    0.394006] 0x0000000a0000-0x0000000b0000 : "art"
[    0.399746] 0x0000000b0000-0x0000000c0000 : "extra-para"
[    0.406163] 0x0000000c0000-0x000000f00000 : "firmware"
[    0.417720] 2 elf-loader-fw partitions found on MTD device firmware
[    0.424248] Creating 2 MTD partitions on "firmware":
[    0.429400] 0x000000000000-0x000000210000 : "kernel"
[    0.435417] 0x000000210000-0x000000e40000 : "rootfs"
[    0.441473] mtd: device 8 (rootfs) set to be root filesystem
[    0.449158] 1 squashfs-split partitions found on MTD device rootfs
[    0.455596] 0x0000005d0000-0x000000e40000 : "rootfs_data"
[    0.462049] 0x000000f00000-0x000000f30000 : "config"
[    0.468096] 0x000000f30000-0x000000fb0000 : "mutil-log"
[    0.474388] 0x000000fb0000-0x000000ff0000 : "oops"
[    0.482101] libphy: Fixed MDIO Bus: probed
[    1.137235] libphy: ag71xx_mdio: probed
[    1.142929] switch0: Atheros AR8337 rev. 2 switch registered on mdio.0
[    1.152880] random: fast init done
[    1.721331] ag71xx 19000000.eth: connected to PHY at mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    1.732601] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii
[    1.739214] i2c /dev entries driver
[    1.744588] NET: Registered protocol family 10
[    1.753750] Segment Routing with IPv6
[    1.757690] NET: Registered protocol family 17
[    1.762365] 8021q: 802.1Q VLAN Support v1.8
[    1.767443] PCI host bridge /ahb/pcie-controller@18250000 ranges:
[    1.773814]  MEM 0x0000000012000000..0x0000000013ffffff
[    1.779227]   IO 0x0000000000000000..0x0000000000000000
[    1.784797] PCI host bridge to bus 0000:00
[    1.789074] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    1.796185] pci_bus 0000:00: root bus resource [io  0x0000]
[    1.801946] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    1.808962] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.817175] pci 0000:00:00.0: [168c:0040] type 00 class 0x028000
[    1.823442] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    1.830593] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
[    1.836927] pci 0000:00: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)
[    1.852054] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    1.858936] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    1.872041] VFS: Mounted root (squashfs filesystem) readonly on device 31:8.
[    1.886624] Freeing unused kernel memory: 1288K
[    1.891332] This architecture does not have kernel memory protection.
[    1.897983] Run /sbin/init as init process
[    2.529841] init: Console is alive
[    2.533676] init: - watchdog -
[    3.641876] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.799509] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.817441] init: - preinit -
[    4.823650] random: jshn: uninitialized urandom read (4 bytes read)
[    4.928057] random: jshn: uninitialized urandom read (4 bytes read)
[    5.027609] random: jshn: uninitialized urandom read (4 bytes read)
[    6.134756] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is up
[    6.148545] eth0: link up (1000Mbps/Full duplex)
[    6.161906] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.177015] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[    6.213179] urandom_read: 4 callbacks suppressed
[    6.213186] random: procd: uninitialized urandom read (4 bytes read)
[   10.447678] jffs2: notice: (533) jffs2_build_xattr_subsystem: complete building xattr subsystem, 22 of xdatum (18 unchecked, 4 orphan) and 31 of xref (4 dead, 0 orphan) found.
[   10.466239] mount_root: switching to jffs2 overlay
[   10.475385] overlayfs: upper fs does not support tmpfile.
[   10.485765] urandom-seed: Seeding with /etc/urandom.seed
[   10.586510] eth0: link down
[   10.608144] procd: - early -
[   10.611280] procd: - watchdog -
[   11.232608] procd: - watchdog -
[   11.236186] procd: - ubus -
[   11.384760] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.392328] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.400337] procd: - init -
[   12.433915] urngd: v1.0.2 started.
[   12.550359] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.597093] Loading modules backported from Linux version v5.8-0-gbcf876870b95
[   12.604596] Backport generated by backports.git v5.8-1-0-g79400d9e
[   12.668910] xt_time: kernel timezone is -0000
[   12.693678] random: crng init done
[   13.081029] PPP generic driver version 2.4.2
[   13.094232] NET: Registered protocol family 24
[   14.239275] ath10k 5.4 driver, optimized for CT firmware, probing pci device: 0x40.
[   14.247374] ath10k_mac_create, priv_size: 804  hw: 97bf64b5  hw->priv: c7d00963
[   14.257806] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[   14.264596] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   16.036920] ath10k_pci 0000:00:00.0: qca99x0 hw2.0 target 0x01000000 chip_id 0x003b01ff sub 168c:0002
[   16.046471] ath10k_pci 0000:00:00.0: kconfig debug 1 debugfs 1 tracing 0 dfs 1 testmode 0
[   16.065270] ath10k_pci 0000:00:00.0: firmware ver 10.4b-ct-9980-fW-13-10af6a005 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 4a0fa880
[   16.162208] ath10k_pci 0000:00:00.0: board_file api 2 bmi_id 1:1 crc32 08fa09f2
[   17.353958] ath10k_pci 0000:00:00.0: unsupported HTC service id: 1536
[   17.364779] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   17.372550] ath10k_pci 0000:00:00.0: msdu-desc: 2500  skid: 32
[   17.448463] ath10k_pci 0000:00:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   17.459794] ath10k_pci 0000:00:00.0: wmi print 'free: 31080 iram: 23092 sram: 9596'
[   17.722487] ath10k_pci 0000:00:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[   17.805953] ath: EEPROM regdomain sanitized
[   17.805962] ath: EEPROM regdomain: 0x64
[   17.805966] ath: EEPROM indicates we should expect a direct regpair map
[   17.805984] ath: Country alpha2 being used: 00
[   17.805987] ath: Regpair used: 0x64
[   17.923779] ath: EEPROM regdomain sanitized
[   17.923789] ath: EEPROM regdomain: 0x64
[   17.923792] ath: EEPROM indicates we should expect a direct regpair map
[   17.923811] ath: Country alpha2 being used: 00
[   17.923814] ath: Regpair used: 0x64
[   17.936067] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   17.939540] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2
[   18.018840] kmodloader: done loading kernel modules from /etc/modules.d/*
[   30.128185] eth0: link up (1000Mbps/Full duplex)
[   30.146897] br-lan: port 1(eth0.1) entered blocking state
[   30.152534] br-lan: port 1(eth0.1) entered disabled state
[   30.158435] device eth0.1 entered promiscuous mode
[   30.163431] device eth0 entered promiscuous mode
[   30.221011] br-lan: port 1(eth0.1) entered blocking state
[   30.226621] br-lan: port 1(eth0.1) entered forwarding state
[   31.149494] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   31.156565] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   32.009921] ath: EEPROM regdomain: 0x8348
[   32.009929] ath: EEPROM indicates we should expect a country code
[   32.009935] ath: doing EEPROM country->regdmn map search
[   32.009941] ath: country maps to regdmn code: 0x3a
[   32.009945] ath: Country alpha2 being used: US
[   32.009948] ath: Regpair used: 0x3a
[   32.009954] ath: regdomain 0x8348 dynamically updated by user
[   32.010026] ath: EEPROM regdomain: 0x8348
[   32.010029] ath: EEPROM indicates we should expect a country code
[   32.010034] ath: doing EEPROM country->regdmn map search
[   32.010039] ath: country maps to regdmn code: 0x3a
[   32.010042] ath: Country alpha2 being used: US
[   32.010045] ath: Regpair used: 0x3a
[   32.010049] ath: regdomain 0x8348 dynamically updated by user
[   34.709097] ath10k_pci 0000:00:00.0: unsupported HTC service id: 1536
[   34.716489] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   34.724287] ath10k_pci 0000:00:00.0: msdu-desc: 2500  skid: 32
[   34.800204] ath10k_pci 0000:00:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   34.811528] ath10k_pci 0000:00:00.0: wmi print 'free: 31080 iram: 23092 sram: 9596'
[   35.239194] ath10k_pci 0000:00:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[   35.257261] br-lan: port 2(wlan0) entered blocking state
[   35.262803] br-lan: port 2(wlan0) entered disabled state
[   35.268627] device wlan0 entered promiscuous mode
[   35.278233] ath10k_pci 0000:00:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   35.868492] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   35.875316] br-lan: port 2(wlan0) entered blocking state
[   35.880867] br-lan: port 2(wlan0) entered forwarding state
[   35.970076] ath10k_pci 0000:00:00.0: wmi: fixing invalid VHT TX rate code 0xff

Using [ath10k-firmware-qca99x0-ct - 2020-07-02-1 & kmod-ath10k - 5.4.72+5.8-1-1]

root@OpenWrt:~# iw dev wlan0 station dump
Station XX:XX:XX:XX:XX:XX (on wlan0)
	inactive time:	4 ms
	rx bytes:	565899
	rx packets:	3118
	tx bytes:	780134
	tx packets:	2370
	tx retries:	0
	tx failed:	0
	rx drop misc:	0
	signal:  	-42 [-50, -48, -45] dBm
	signal avg:	-40 [-47, -45, -42] dBm
	tx bitrate:	6.0 MBit/s
	tx duration:	1393575 us
	rx bitrate:	1300.0 MBit/s VHT-MCS 9 80MHz short GI VHT-NSS 3
	rx duration:	0 us
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		no
	TDLS peer:	no
	DTIM period:	2
	beacon interval:100
	short slot time:yes
	connected time:	67 seconds
	associated at [boottime]:	4685.320s
	associated at:	18446725628516418838 ms
	current time:	1546257928 ms
root@OpenWrt:~# hostapd_cli all_sta
Selected interface 'wlan0'
XX:XX:XX:XX:XX:XX
flags=[AUTH][ASSOC][AUTHORIZED][WMM][HT][VHT]
aid=1
capability=0x1
listen_interval=10
supported_rates=8c 12 98 24 b0 48 60 6c
timeout_next=NULLFUNC POLL
rx_packets=3951
tx_packets=3058
rx_bytes=745151
tx_bytes=1173711
inactive_msec=4
signal=-52
rx_rate_info=8775 vhtmcs 7 vhtnss 3
tx_rate_info=60
rx_vht_mcs_map=ffea
tx_vht_mcs_map=ffea
ht_mcs_bitmask=ffffff00000000000000
connected_time=80
min_txpower=2
max_txpower=32
vht_caps_info=0x0f8259b2
ht_caps_info=0x09ef
ext_capab=0400000000000040
root@OpenWrt:~# iw dev wlan0 info
Interface wlan0
	ifindex 11
	wdev 0x5
	addr b0:95:75:6d:f0:3d
	ssid OpenWrt
	type AP
	wiphy 0
	channel 149 (5745 MHz), width: 80 MHz, center1: 5775 MHz
	txpower 20.00 dBm
	multicast TXQ:
		qsz-byt	qsz-pkt	flows	drops	marks	overlmt	hashcol	tx-bytes	tx-packets
		0	0	0	0	0	0	0	0		0
root@OpenWrt:~# iw phy phy0 info
Wiphy phy0
	wiphy index: 0
	max # scan SSIDs: 16
	max scan IEs length: 199 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports RSN-IBSS.
	Device supports AP-side u-APSD.
	Supported Ciphers:
		* WEP40 (00-0f-ac:1)
		* WEP104 (00-0f-ac:5)
		* TKIP (00-0f-ac:2)
		* CCMP-128 (00-0f-ac:4)
		* CMAC (00-0f-ac:6)
		* CMAC-256 (00-0f-ac:13)
		* GMAC-128 (00-0f-ac:11)
		* GMAC-256 (00-0f-ac:12)
		* GCMP-128 (00-0f-ac:8)
		* GCMP-256 (00-0f-ac:9)
		* CCMP-256 (00-0f-ac:10)
	Available Antennas: TX 0x7 RX 0x7
	Configured Antennas: TX 0x7 RX 0x7
	Supported interface modes:
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
		 * P2P-client
		 * P2P-GO
		 * P2P-device
	Band 2:
		Capabilities: 0x19ef
			RX LDPC
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			RX STBC 1-stream
			Max AMSDU length: 7935 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-23
		VHT Capabilities (0x339a79b2):
			Max MPDU length: 11454
			Supported Channel Width: neither 160 nor 80+80
			RX LDPC
			short GI (80 MHz)
			TX STBC
			SU Beamformer
			SU Beamformee
			MU Beamformer
			MU Beamformee
			RX antenna pattern consistency
			TX antenna pattern consistency
		VHT RX MCS set:
			1 streams: MCS 0-9
			2 streams: MCS 0-9
			3 streams: MCS 0-9
			4 streams: not supported
			5 streams: not supported
			6 streams: not supported
			7 streams: not supported
			8 streams: not supported
		VHT RX highest supported: 0 Mbps
		VHT TX MCS set:
			1 streams: MCS 0-9
			2 streams: MCS 0-9
			3 streams: MCS 0-9
			4 streams: not supported
			5 streams: not supported
			6 streams: not supported
			7 streams: not supported
			8 streams: not supported
		VHT TX highest supported: 0 Mbps
		Bitrates (non-HT):
			* 6.0 Mbps
			* 9.0 Mbps
			* 12.0 Mbps
			* 18.0 Mbps
			* 24.0 Mbps
			* 36.0 Mbps
			* 48.0 Mbps
			* 54.0 Mbps
		Frequencies:
			* 5180 MHz [36] (23.0 dBm)
			* 5200 MHz [40] (23.0 dBm)
			* 5220 MHz [44] (23.0 dBm)
			* 5240 MHz [48] (23.0 dBm)
			* 5260 MHz [52] (23.0 dBm) (radar detection)
			* 5280 MHz [56] (23.0 dBm) (radar detection)
			* 5300 MHz [60] (23.0 dBm) (radar detection)
			* 5320 MHz [64] (23.0 dBm) (radar detection)
			* 5500 MHz [100] (23.0 dBm) (radar detection)
			* 5520 MHz [104] (23.0 dBm) (radar detection)
			* 5540 MHz [108] (23.0 dBm) (radar detection)
			* 5560 MHz [112] (23.0 dBm) (radar detection)
			* 5580 MHz [116] (23.0 dBm) (radar detection)
			* 5600 MHz [120] (23.0 dBm) (radar detection)
			* 5620 MHz [124] (23.0 dBm) (radar detection)
			* 5640 MHz [128] (23.0 dBm) (radar detection)
			* 5660 MHz [132] (23.0 dBm) (radar detection)
			* 5680 MHz [136] (23.0 dBm) (radar detection)
			* 5700 MHz [140] (23.0 dBm) (radar detection)
			* 5720 MHz [144] (23.0 dBm) (radar detection)
			* 5745 MHz [149] (30.0 dBm)
			* 5765 MHz [153] (30.0 dBm)
			* 5785 MHz [157] (30.0 dBm)
			* 5805 MHz [161] (30.0 dBm)
			* 5825 MHz [165] (30.0 dBm)
			* 5845 MHz [169] (disabled)
			* 5865 MHz [173] (disabled)
	Supported commands:
		 * new_interface
		 * set_interface
		 * new_key
		 * start_ap
		 * new_station
		 * new_mpath
		 * set_mesh_config
		 * set_bss
		 * authenticate
		 * associate
		 * deauthenticate
		 * disassociate
		 * join_ibss
		 * join_mesh
		 * remain_on_channel
		 * set_tx_bitrate_mask
		 * frame
		 * frame_wait_cancel
		 * set_wiphy_netns
		 * set_channel
		 * set_wds_peer
		 * probe_client
		 * set_noack_map
		 * register_beacons
		 * start_p2p_device
		 * set_mcast_rate
		 * testmode
		 * connect
		 * disconnect
		 * channel_switch
		 * set_qos_map
		 * set_multicast_to_unicast
	Supported TX frame types:
		 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
	Supported RX frame types:
		 * IBSS: 0x40 0xb0 0xc0 0xd0
		 * managed: 0x40 0xb0 0xd0
		 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * mesh point: 0xb0 0xc0 0xd0
		 * P2P-client: 0x40 0xd0
		 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * P2P-device: 0x40 0xd0
	software interface modes (can always be added):
		 * AP/VLAN
		 * monitor
	valid interface combinations:
		 * #{ managed } <= 1, #{ AP, mesh point } <= 16,
		   total <= 16, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz, 80+80 MHz, 160 MHz }

	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Device supports TX status socket option.
	Device supports HT-IBSS.
	Device supports SAE with AUTHENTICATE command
	Device supports scan flush.
	Device supports AP scan.
	Device supports per-vif TX power setting
	Driver supports full state transitions for AP/GO clients
	Driver supports a userspace MPM
	Driver/device bandwidth changes during BSS lifetime (AP/GO mode)
	Device supports static SMPS
	Device supports configuring vdev MAC-addr on create.
	Maximum associated stations in AP mode: 0
	Supported extended features:
		* [ VHT_IBSS ]: VHT-IBSS
		* [ RRM ]: RRM
		* [ SET_SCAN_DWELL ]: scan dwell setting
		* [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
		* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
		* [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
		* [ AQL ]: Airtime Queue Limits (AQL)
		* [ CONTROL_PORT_NO_PREAUTH ]: disable pre-auth over nl80211 control port support
		* [ SCAN_FREQ_KHZ ]: scan on kHz frequency support
		* [ CONTROL_PORT_OVER_NL80211_TX_STATUS ]: tx status for nl80211 control port support
root@OpenWrt:~# dmesg
[    0.000000] Linux version 5.4.72  (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r14736-6a56a6eb30)) #0 Thu Oct 22 14:13:38 2020
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is TP-Link EAP245 v3
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 288 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 121672K/131072K available (5052K kernel code, 312K rwdata, 1212K rodata, 1288K init, 206K bss, 9400K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] random: get_random_bytes called from start_kernel+0x3a4/0x590 with crng_init=0
[    0.000000] CPU clock: 775.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008221] Calibrating delay loop... 385.02 BogoMIPS (lpj=770048)
[    0.046723] pid_max: default: 32768 minimum: 301
[    0.051724] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059435] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.071493] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.081807] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.089101] pinctrl core: initialized pinctrl subsystem
[    0.095580] NET: Registered protocol family 16
[    0.127598] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.140855] clocksource: Switched to clocksource MIPS
[    0.181150] NET: Registered protocol family 2
[    0.186456] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.195329] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.203425] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.210874] TCP: Hash tables configured (established 1024 bind 1024)
[    0.217704] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.224641] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.232277] NET: Registered protocol family 1
[    0.236944] PCI: CLS 0 bytes, default 32
[    0.244573] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.257559] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.263754] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.288814] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.295899] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.303303] printk: console [ttyS0] disabled
[    0.307896] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.317005] printk: console [ttyS0] enabled
[    0.326063] printk: bootconsole [early0] disabled
[    0.351819] spi-nor spi0.0: w25q128 (16384 Kbytes)
[    0.356868] 10 fixed-partitions partitions found on MTD device spi0.0
[    0.363526] Creating 10 MTD partitions on "spi0.0":
[    0.368591] 0x000000000000-0x000000040000 : "factory-boot"
[    0.375148] 0x000000040000-0x000000080000 : "u-boot"
[    0.381258] 0x000000080000-0x000000090000 : "partition-table"
[    0.388084] 0x000000090000-0x0000000a0000 : "info"
[    0.393927] 0x0000000a0000-0x0000000b0000 : "art"
[    0.399672] 0x0000000b0000-0x0000000c0000 : "extra-para"
[    0.406085] 0x0000000c0000-0x000000f00000 : "firmware"
[    0.417643] 2 elf-loader-fw partitions found on MTD device firmware
[    0.424171] Creating 2 MTD partitions on "firmware":
[    0.429325] 0x000000000000-0x000000210000 : "kernel"
[    0.435349] 0x000000210000-0x000000e40000 : "rootfs"
[    0.441411] mtd: device 8 (rootfs) set to be root filesystem
[    0.449077] 1 squashfs-split partitions found on MTD device rootfs
[    0.455516] 0x0000005d0000-0x000000e40000 : "rootfs_data"
[    0.461967] 0x000000f00000-0x000000f30000 : "config"
[    0.468013] 0x000000f30000-0x000000fb0000 : "mutil-log"
[    0.474308] 0x000000fb0000-0x000000ff0000 : "oops"
[    0.482014] libphy: Fixed MDIO Bus: probed
[    1.137237] libphy: ag71xx_mdio: probed
[    1.142935] switch0: Atheros AR8337 rev. 2 switch registered on mdio.0
[    1.152879] random: fast init done
[    1.721333] ag71xx 19000000.eth: connected to PHY at mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    1.732602] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii
[    1.739209] i2c /dev entries driver
[    1.744590] NET: Registered protocol family 10
[    1.753757] Segment Routing with IPv6
[    1.757694] NET: Registered protocol family 17
[    1.762371] 8021q: 802.1Q VLAN Support v1.8
[    1.767446] PCI host bridge /ahb/pcie-controller@18250000 ranges:
[    1.773809]  MEM 0x0000000012000000..0x0000000013ffffff
[    1.779224]   IO 0x0000000000000000..0x0000000000000000
[    1.784793] PCI host bridge to bus 0000:00
[    1.789069] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    1.796181] pci_bus 0000:00: root bus resource [io  0x0000]
[    1.801950] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    1.808966] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.817181] pci 0000:00:00.0: [168c:0040] type 00 class 0x028000
[    1.823446] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    1.830596] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
[    1.836932] pci 0000:00: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)
[    1.852061] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    1.858949] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    1.872068] VFS: Mounted root (squashfs filesystem) readonly on device 31:8.
[    1.886654] Freeing unused kernel memory: 1288K
[    1.891354] This architecture does not have kernel memory protection.
[    1.898004] Run /sbin/init as init process
[    2.529873] init: Console is alive
[    2.533706] init: - watchdog -
[    3.643607] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.802387] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.820321] init: - preinit -
[    4.827578] random: jshn: uninitialized urandom read (4 bytes read)
[    4.931977] random: jshn: uninitialized urandom read (4 bytes read)
[    5.031419] random: jshn: uninitialized urandom read (4 bytes read)
[    6.131039] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is up
[    6.144914] eth0: link up (1000Mbps/Full duplex)
[    6.158221] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.172985] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[    6.209112] urandom_read: 4 callbacks suppressed
[    6.209119] random: procd: uninitialized urandom read (4 bytes read)
[   10.439008] jffs2: notice: (533) jffs2_build_xattr_subsystem: complete building xattr subsystem, 18 of xdatum (15 unchecked, 3 orphan) and 26 of xref (3 dead, 0 orphan) found.
[   10.457361] mount_root: switching to jffs2 overlay
[   10.466432] overlayfs: upper fs does not support tmpfile.
[   10.476910] urandom-seed: Seeding with /etc/urandom.seed
[   10.577395] eth0: link down
[   10.599006] procd: - early -
[   10.602144] procd: - watchdog -
[   11.223676] procd: - watchdog -
[   11.227261] procd: - ubus -
[   11.375979] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.383540] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.391593] procd: - init -
[   12.153939] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.201002] Loading modules backported from Linux version v5.8-0-gbcf876870b95
[   12.208495] Backport generated by backports.git v5.8-1-0-g79400d9e
[   12.271793] xt_time: kernel timezone is -0000
[   12.606386] urngd: v1.0.2 started.
[   12.668904] PPP generic driver version 2.4.2
[   12.682215] NET: Registered protocol family 24
[   12.773573] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[   12.780355] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   12.826696] random: crng init done
[   14.665264] ath10k_pci 0000:00:00.0: Unknown FW IE: 30
[   14.670637] ath10k_pci 0000:00:00.0: qca99x0 hw2.0 target 0x01000000 chip_id 0x003b01ff sub 168c:0002
[   14.680175] ath10k_pci 0000:00:00.0: kconfig debug 1 debugfs 1 tracing 1 dfs 1 testmode 1
[   14.698951] ath10k_pci 0000:00:00.0: firmware ver 10.4b-ct-9980-fW-13-10af6a005 api 5 features mfp,peer-flow-ctrl crc32 4a0fa880
[   14.778343] ath10k_pci 0000:00:00.0: board_file api 2 bmi_id 1:1 crc32 08fa09f2
[   16.035965] ath10k_pci 0000:00:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[   16.121972] ath: EEPROM regdomain sanitized
[   16.121981] ath: EEPROM regdomain: 0x64
[   16.121985] ath: EEPROM indicates we should expect a direct regpair map
[   16.122003] ath: Country alpha2 being used: 00
[   16.122006] ath: Regpair used: 0x64
[   16.245810] ath: EEPROM regdomain sanitized
[   16.245821] ath: EEPROM regdomain: 0x64
[   16.245824] ath: EEPROM indicates we should expect a direct regpair map
[   16.245844] ath: Country alpha2 being used: 00
[   16.245847] ath: Regpair used: 0x64
[   16.258068] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   16.261529] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2
[   16.335237] kmodloader: done loading kernel modules from /etc/modules.d/*
[   28.438682] eth0: link up (1000Mbps/Full duplex)
[   28.453220] br-lan: port 1(eth0.1) entered blocking state
[   28.458848] br-lan: port 1(eth0.1) entered disabled state
[   28.464742] device eth0.1 entered promiscuous mode
[   28.469734] device eth0 entered promiscuous mode
[   28.528522] br-lan: port 1(eth0.1) entered blocking state
[   28.534153] br-lan: port 1(eth0.1) entered forwarding state
[   29.453481] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   29.460549] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   30.281854] ath: EEPROM regdomain: 0x8348
[   30.281861] ath: EEPROM indicates we should expect a country code
[   30.281867] ath: doing EEPROM country->regdmn map search
[   30.281873] ath: country maps to regdmn code: 0x3a
[   30.281877] ath: Country alpha2 being used: US
[   30.281880] ath: Regpair used: 0x3a
[   30.281886] ath: regdomain 0x8348 dynamically updated by user
[   30.281959] ath: EEPROM regdomain: 0x8348
[   30.281961] ath: EEPROM indicates we should expect a country code
[   30.281967] ath: doing EEPROM country->regdmn map search
[   30.281972] ath: country maps to regdmn code: 0x3a
[   30.281975] ath: Country alpha2 being used: US
[   30.281978] ath: Regpair used: 0x3a
[   30.281981] ath: regdomain 0x8348 dynamically updated by user
[   33.720640] br-lan: port 2(wlan0) entered blocking state
[   33.726187] br-lan: port 2(wlan0) entered disabled state
[   33.731993] device wlan0 entered promiscuous mode
[   34.427932] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   34.434737] br-lan: port 2(wlan0) entered blocking state
[   34.440284] br-lan: port 2(wlan0) entered forwarding state
24.10.20203404PackagesBug ReportVery LowMediumzsh: cannot backspace when connected from openssh in tm...TrunkUnconfirmed Task Description

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

  • OpenWrt 19.07.4 r11208-ce6496d796
  • zsh - 5.6.2-2

- Steps to reproduce

 1. Start a tmux session on Linux PC
 2. Use ssh to connect to OpenWRT router, where the user uses zsh instead of zsh (i.e. the config in /etc/passwd looks like this `root:x:0:0:root:/root:/usr/bin/zsh`)
 3. Type arbitrary words and delete them by pressing Backspace key

- Expected behavior

 The chars are deleted

- Actual behavior

 A whitespace was appended to the char instead, as if we're typing the space key, but it's deleted internally: when pressing Enter to execute the command, what's been executed is the original command minus the deleted part

Note that I don’t have the issue when:
1. connecting to a normal Linux computer (the user’s shell is zsh ofc)
2. using the default busybox ash
3. executing ssh outside tmux, e.g. a normal Konsole terminal session

23.10.20203403PackagesBug ReportVery LowLowkmod-ath9k: Please enable "Support chips used in PC OEM...openwrt-19.07Unconfirmed Task Description

- Happens on all x86 targets
- Happens with trunk and 19.07.4
- To reproduce, run ip a in any x86 machine with an ath9k-compatible (mini-)PCIE wifi card installed. You will note that no relevant wireless interface is found.

Although this issue concerns the kmod-ath9k driver, it is not about the code itself; rather, the build system and the packaged modules.

Recently I tried to run OpenWRT on x86_64 machine that has an AR9462 mini-pcie wifi card installed.
Although lspci detected the card, no drivers were loaded for it, and the wireless interface does not show up with the ip command, even with the ath9k drivers installed.

I have found out that this is because support for PC OEM cards are not enabled by default. As a result, I had to build my own copy of OpenWRT from scratch with that option specifically turned on.
And even then, with matching versions (19.07.4), my install of OpenWRT complained that the package built had a different kernel version. I was unsure why, but I wasn’t interested in finding out and I simply forced the install.

I believe that the support for PC OEM cards for ath9k should be turned on by default for the x86 builds of the driver. People running OpenWRT on x86 are unlikely to run into serious space constraints.
Kindly consider my suggestion.

23.10.20203402Base systemBug ReportVery LowCriticalRUT955: Seriously brokenTrunkUnconfirmed Task Description

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

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

 


21.10.20203397Base systemBug ReportVery LowLowFirewall: weekdays option can't specify multiple daysTrunkUnconfirmed Task Description

- Device problem occurs on
I-O Data WN-AC1167DGR, but probably device independent.

- Software versions of OpenWrt/LEDE release, packages, etc.
trunk, firewall-2020-09-05-8c2f9fad

- Steps to reproduce

1. Make a rule which contains weekdays option specifying more than one day.

/etc/config/firewall

config rule
        option src 'lan'
        option name 'block-test'
        option dest 'wan'
        list src_mac 'FF:FF:FF:FF:FF:FF'
        option family 'ipv4'
        option target 'REJECT'
        option weekdays 'Sun Mon Tue'

2. Run fw3 print | grep ‘block-test’ .

iptables -t filter -A zone_lan_forward -p tcp -m mac --mac-source FF:FF:FF:FF:FF:FF -m time --weekdays Mon --kerneltz -m comment --comment "!fw3: block-test" -j zone_wan_dest_REJECT
iptables -t filter -A zone_lan_forward -p udp -m mac --mac-source FF:FF:FF:FF:FF:FF -m time --weekdays Mon --kerneltz -m comment --comment "!fw3: block-test" -j zone_wan_dest_REJECT

Only Monday is set as –weekdays option’s argument.

21.10.20203396Base systemBug ReportVery LowMediumfstools block insufficient target lengthTrunkUnconfirmed Task Description

In testing a new setup using a current trunk build on a ClearFog Base device with two SSD drives, I ran into the issue where the LVM path name for my preferred volume naming was too long for the fstools handling.

In at least mount_action() and mount_device() a local char[32] is used which in my case ended up being insufficient when attempting to use paths such as “/dev/mapper/vgA_samplehostname-volnamesomething”. For the time being I happen to be able to use the shorter version of “/dev/vgA_samplehostname/volnamesomething”, but it should be considered to expand the full device name buffer to a larger size.

20.10.20203395KernelBug ReportVery LowHighbrcm47xxopenwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on:

wgt634u - restart after multithreaded load wan ↔ lan eg = example speedtest, iperf

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

openwrt-19.07 openwrt-18.06

- Steps to reproduce

multithreaded load wan ↔ lan eg = example speedtest, iperf

 


18.10.20203391Base systemBug ReportVery LowLowUML: boot: warning during early /sbin/initTrunkUnconfirmed Task Description

selfcompiled:
OpenWrt SNAPSHOT, r14721+18-4ff7bdfeeb

Image is working, so this seems to be cosmetic only.

[...]
[ 0.100000] Run /sbin/init as init process
[ 0.120000] init: Console is alive
[ 0.120000] harddog_open - run_helper failed, errno = -2
[ 0.120000] ————[ cut here ]———— [ 0.120000] WARNING: CPU: 0 PID: 1 at fs/open.c:832 do_dentry_open+0x31a/0×430 [ 0.120000] Modules linked in:
[ 0.120000] CPU: 0 PID: 1 Comm: init Not tainted 5.4.71 #0
[ 0.120000] Stack:
[ 0.120000] 607ae5d4 62433ae7 600385a0 00000009
[ 0.120000] 62433af8 00000000 00000000 60046361
[ 0.120000] f00000010 e00000011 606402b4 00000000
[ 0.120000] Call Trace:
[ 0.120000] [<6003b6e5>] ? os_is_signal_stack+0×15/0×30 [ 0.120000] [<60080115>] ? printk+0×0/0x9b
[ 0.120000] [<6001f677>] ? show_stack.cold+0xa7/0×110 [ 0.120000] [<600385a0>] ? os_pipe+0×0/0xd0
[ 0.120000] [<60046361>] ? warn.cold+0xc/0×39 [ 0.120000] [<6004645a>] ? warn_slowpath_fmt+0xcc/0xe2
[ 0.120000] [<6004638e>] ? warn_slowpath_fmt+0×0/0xe2
[ 0.120000] [<6030ac67>] ? misc_open+0×187/0x1d0
[ 0.120000] [<601504b0>] ? exact_match+0×0/0×10 [ 0.120000] [<60150fd1>] ? cdev_put.part.0+0×11/0×30 [ 0.120000] [<601510bd>] ? chrdev_open+0xcd/0x1a0
[ 0.120000] [<60150ff0>] ? chrdev_open+0×0/0x1a0
[ 0.120000] [<60147baa>] ? do_dentry_open+0x31a/0×430 [ 0.120000] [<6015c5b5>] ? path_openat+0×395/0×1660 [ 0.120000] [<60021f9e>] ? copy_chunk_to_user+0x1e/0×30 [ 0.120000] [<60021f80>] ? copy_chunk_to_user+0×0/0×30 [ 0.120000] [<600221ce>] ? do_op_one_page+0xfe/0×160 [ 0.120000] [<60021fea>] ? strncpy_chunk_from_user+0x3a/0×60 [ 0.120000] [<600220d0>] ? do_op_one_page+0×0/0×160 [ 0.120000] [<6015c220>] ? path_openat+0×0/0×1660 [ 0.120000] [<6015ecd9>] ? do_filp_open+0×89/0xf0
[ 0.120000] [<6016d670>] ? expand_files+0×0/0×220 [ 0.120000] [<6016de6e>] ?
alloc_fd+0x3e/0×170 [ 0.120000] [<604f0de0>] ? ptrace+0×0/0xd0
[ 0.120000] [<604f0de0>] ? ptrace+0×0/0xd0
[ 0.120000] [<6014916d>] ? do_sys_open+0x17d/0×240 [ 0.120000] [<604c2110>] ? __waitpid+0×0/0xa0
[ 0.120000] [<604f0de0>] ? ptrace+0×0/0xd0
[ 0.120000] [<60021f1f>] ? handle_syscall+0x6f/0xa0
[ 0.120000] [<6003e7c6>] ? userspace+0×366/0×500 [ 0.120000] [<6001de03>] ? new_thread_handler+0xb3/0xc0
[ 0.120000]
[ 0.120000] —[ end trace 8db4519d8907f435 ]— [ 0.140000] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[...]

17.10.20203390Base systemBug ReportVery LowLowIPv6 network stops working after a whileTrunkUnconfirmed Task Description

I have a Teltonika RUTX11 mobile internet router. It’s having issues that makes my router to loose IPv6 connectivity after a while.

root@Teltonika-RUTX11:~# ping6 ftp.sunet.se
PING ftp.sunet.se (2001:6b0:19::165): 56 data bytes
ping6: sendto: Permission denied

If I kill the odhcp6c process it will spawn a new process and IPv6 connectivity is restored for a while but in like 1-3 days It’s diving again.

I have logged a task at Teltonika but they haven’t been able to pinpoint where the issue is. I have tried starting the process with -v but it seems to not be able to give any more details in the logs.

The process is started with these arguments:

 odhcp6c -v -s /lib/netifd/dhcpv6.script -P0 -t120 qmimux0

Is there anything I can do to enable more logging to pinpoint the issue?

The /lib/netifd/dhcpv6.script file is quite massive:

 /proc/sys/net/ipv6/conf/$device/hop_limit
	[ -n "$RA_MTU" ] && [ "$RA_MTU" -ge 1280 ] && echo "$RA_MTU" > /proc/sys/net/ipv6/conf/$device/mtu 2>/dev/null
	[ -n "$RA_REACHABLE" ] && [ "$RA_REACHABLE" -gt 0 ] && echo "$RA_REACHABLE" > /proc/sys/net/ipv6/neigh/$device/base_reachable_time_ms
	[ -n "$RA_RETRANSMIT" ] && [ "$RA_RETRANSMIT" -gt 0 ] && echo "$RA_RETRANSMIT" > /proc/sys/net/ipv6/neigh/$device/retrans_time_ms
 
	proto_init_update "*" 1
 
	# Merge RA-DNS
	for radns in $RA_DNS; do
		local duplicate=0
		for dns in $RDNSS; do
			[ "$radns" = "$dns" ] && duplicate=1
		done
		[ "$duplicate" = 0 ] && RDNSS="$RDNSS $radns"
	done
 
	for dns in $RDNSS; do
		proto_add_dns_server "$dns"
	done
 
	for radomain in $RA_DOMAINS; do
		local duplicate=0
		for domain in $DOMAINS; do
			[ "$radomain" = "$domain" ] && duplicate=1
		done
		[ "$duplicate" = 0 ] && DOMAINS="$DOMAINS $radomain"
	done
 
	for domain in $DOMAINS; do
		proto_add_dns_search "$domain"
	done
 
	for prefix in $PREFIXES; do
		proto_add_ipv6_prefix "$prefix"
		prefsig="$prefsig ${prefix%%,*}"
		local entry="${prefix#*/}"
		entry="${entry#*,}"
		entry="${entry#*,}"
		local valid="${entry%%,*}"
 
		if [ -z "$RA_ADDRESSES" -a -z "$RA_ROUTES" -a \
				-z "$RA_DNS" -a "$FAKE_ROUTES" = 1 ]; then
			RA_ROUTES="::/0,$SERVER,$valid,4096"
		fi
	done
 
	for prefix in $USERPREFIX; do
		proto_add_ipv6_prefix "$prefix"
	done
 
	# Merge addresses
	for entry in $RA_ADDRESSES; do
		local duplicate=0
		local addr="${entry%%/*}"
		for dentry in $ADDRESSES; do
			local daddr="${dentry%%/*}"
			[ "$addr" = "$daddr" ] && duplicate=1
		done
		[ "$duplicate" = "0" ] && ADDRESSES="$ADDRESSES $entry"
	done
 
	for entry in $ADDRESSES; do
		local addr="${entry%%/*}"
		entry="${entry#*/}"
		local mask="${entry%%,*}"
		entry="${entry#*,}"
		local preferred="${entry%%,*}"
		entry="${entry#*,}"
		local valid="${entry%%,*}"
 
		proto_add_ipv6_address "$addr" "$mask" "$preferred" "$valid" 1
		addrsig="$addrsig $addr/$mask"
 
		if [ -z "$RA_ADDRESSES" -a -z "$RA_ROUTES" -a \
				-z "$RA_DNS" -a "$FAKE_ROUTES" = 1 ]; then
			RA_ROUTES="::/0,$SERVER,$valid,4096"
		fi
 
		# RFC 7278
		if [ "$mask" -eq 64 -a -z "$PREFIXES" -a -n "$EXTENDPREFIX" ]; then
			proto_add_ipv6_prefix "$addr/$mask,$preferred,$valid"
 
			local raroutes=""
			for route in $RA_ROUTES; do
				local prefix="${route%%/*}"
				local entry="${route#*/}"
				local pmask="${entry%%,*}"
				entry="${entry#*,}"
				local gw="${entry%%,*}"
 
				[ -z "$gw" -a "$mask" = "$pmask" ] && {
					case "$addr" in
						"${prefix%*::}"*) continue;;
					esac
				}
				raroutes="$raroutes $route"
			done
			RA_ROUTES="$raroutes"
		fi
	done
 
	for entry in $RA_ROUTES; do
		local duplicate=$NOSOURCEFILTER
		local addr="${entry%%/*}"
		entry="${entry#*/}"
		local mask="${entry%%,*}"
		entry="${entry#*,}"
		local gw="${entry%%,*}"
		entry="${entry#*,}"
		local valid="${entry%%,*}"
		entry="${entry#*,}"
		local metric="${entry%%,*}"
 
		for xentry in $RA_ROUTES; do
			local xprefix="${xentry%%,*}"
			xentry="${xentry#*,}"
			local xgw="${xentry%%,*}"
 
			[ -n "$gw" -a -z "$xgw" -a "$addr/$mask" = "$xprefix" ] && duplicate=1
		done
 
		if [ -z "$gw" -o "$duplicate" = 1 ]; then
			proto_add_ipv6_route "$addr" "$mask" "$gw" "$metric" "$valid"
		else
			for prefix in $PREFIXES $ADDRESSES; do
				local paddr="${prefix%%,*}"
				proto_add_ipv6_route "$addr" "$mask" "$gw" "$metric" "$valid" "$paddr"
			done
		fi
	done
 
	proto_add_data
	[ -n "$CER" ] && json_add_string cer "$CER"
	[ -n "$PASSTHRU" ] && json_add_string passthru "$PASSTHRU"
	[ -n "$ZONE" ] && json_add_string zone "$ZONE"
	proto_close_data
 
	proto_send_update "$INTERFACE"
 
	MAPTYPE=""
	MAPRULE=""
 
	if [ -n "$MAPE" -a -f /lib/netifd/proto/map.sh ]; then
		MAPTYPE="map-e"
		MAPRULE="$MAPE"
	elif [ -n "$MAPT" -a -f /lib/netifd/proto/map.sh -a -f /proc/net/nat46/control ]; then
		MAPTYPE="map-t"
		MAPRULE="$MAPT"
	elif [ -n "$LW4O6" -a -f /lib/netifd/proto/map.sh ]; then
		MAPTYPE="lw4o6"
		MAPRULE="$LW4O6"
	fi
 
	[ -n "$ZONE" ] || ZONE=$(fw3 -q network $INTERFACE 2>/dev/null)
 
	if [ "$IFACE_MAP" != 0 -a -n "$MAPTYPE" -a -n "$MAPRULE" ]; then
		[ -z "$IFACE_MAP" -o "$IFACE_MAP" = 1 ] && IFACE_MAP=${INTERFACE}_4
		json_init
		json_add_string name "$IFACE_MAP"
		json_add_string ifname "@$INTERFACE"
		json_add_string proto map
		json_add_string type "$MAPTYPE"
		json_add_string _prefsig "$prefsig"
		[ "$MAPTYPE" = lw4o6 ] && json_add_string _addrsig "$addrsig"
		json_add_string rule "$MAPRULE"
		json_add_string tunlink "$INTERFACE"
		[ -n "$ZONE_MAP" ] || ZONE_MAP=$ZONE
		[ -n "$ZONE_MAP" ] && json_add_string zone "$ZONE_MAP"
		[ -n "$ENCAPLIMIT_MAP" ] && json_add_string encaplimit "$ENCAPLIMIT_MAP"
		[ -n "$IFACE_MAP_DELEGATE" ] && json_add_boolean delegate "$IFACE_MAP_DELEGATE"
		json_close_object
		ubus call network add_dynamic "$(json_dump)"
	elif [ -n "$AFTR" -a "$IFACE_DSLITE" != 0 -a -f /lib/netifd/proto/dslite.sh ]; then
		[ -z "$IFACE_DSLITE" -o "$IFACE_DSLITE" = 1 ] && IFACE_DSLITE=${INTERFACE}_4
		json_init
		json_add_string name "$IFACE_DSLITE"
		json_add_string ifname "@$INTERFACE"
		json_add_string proto "dslite"
		json_add_string peeraddr "$AFTR"
		json_add_string tunlink "$INTERFACE"
		[ -n "$ZONE_DSLITE" ] || ZONE_DSLITE=$ZONE
		[ -n "$ZONE_DSLITE" ] && json_add_string zone "$ZONE_DSLITE"
		[ -n "$ENCAPLIMIT_DSLITE" ] && json_add_string encaplimit "$ENCAPLIMIT_DSLITE"
		[ -n "$IFACE_DSLITE_DELEGATE" ] && json_add_boolean delegate "$IFACE_DSLITE_DELEGATE"
		json_close_object
		ubus call network add_dynamic "$(json_dump)"
	elif [ "$IFACE_464XLAT" != 0 -a -f /lib/netifd/proto/464xlat.sh ]; then
		[ -z "$IFACE_464XLAT" -o "$IFACE_464XLAT" = 1 ] && IFACE_464XLAT=${INTERFACE}_4
		json_init
		json_add_string name "$IFACE_464XLAT"
		json_add_string ifname "@$INTERFACE"
		json_add_string proto "464xlat"
		json_add_string tunlink "$INTERFACE"
		json_add_string _addrsig "$addrsig"
		[ -n "$ZONE_464XLAT" ] || ZONE_464XLAT=$ZONE
		[ -n "$ZONE_464XLAT" ] && json_add_string zone "$ZONE_464XLAT"
		[ -n "$IFACE_464XLAT_DELEGATE" ] && json_add_boolean delegate "$IFACE_464XLAT_DELEGATE"
		json_close_object
		ubus call network add_dynamic "$(json_dump)"
	fi
 
	# TODO: $SNTP_IP $SIP_IP $SNTP_FQDN $SIP_DOMAIN
}
 
teardown_interface() {
	proto_init_update "*" 0
	proto_send_update "$INTERFACE"
}
 
case "$2" in
	bound)
		teardown_interface "$1"
		setup_interface "$1"
	;;
	informed|updated|rebound)
		setup_interface "$1"
	;;
	ra-updated)
		[ -n "$ADDRESSES$RA_ADDRESSES$PREFIXES$USERPREFIX" ] && setup_interface "$1"
	;;
	started|stopped|unbound)
		teardown_interface "$1"
	;;
esac
 
# user rules
[ -f /etc/odhcp6c.user ] && . /etc/odhcp6c.user "$@"
 
exit 0
>
14.10.20203386KernelBug ReportVery LowHighRegression: Broadcom Roboswitch B53TrunkUnconfirmed Task Description

Hi,

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

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


For v17.01.5

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

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

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

For v18.06.0

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

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


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

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

13.10.20203384Base systemBug ReportVery LowLowDescription of "Local Service Only" in dhcp and dns pag...TrunkUnconfirmed Task Description
  • Background

On the “DHCP and DNS” page of the graphical UI (LuCI), there is an option named “Local Service Only” with a description of the option. The option reads as follows:

“Limit DNS service to subnets interfaces on which we are serving DNS.”

This is a very confusing description of whatever it is this option is intended to do. For comparison, this is a bit like saying “Delivery of food is only provided in locations where we provide food delivery.”

There is an option in dnsmasq called “no-dhcp-interface” whose description is similar to the one provided for the option in question here; I am guessing that this might have been the intended treatment.

  • Version of openwrt:

OpenWrt 19.07.4 r11208-ce6496d796

  • Steps to reproduce:

See the option labeled “Local Service Only” on the LuCI page for “DHCP and DNS

  • Expected results:

Option description should match an option or combination of options available in dnsmasq in a clear, non-circular fashion.

  • Actual results:

Uncertainty as to what this option is supposed to do, written in an obvious and intuitive manner.

  • Workaround:

Avoiding any use of this option until its meaning is clarified in the description.

  • Additional:

It may be that the intention was to implement something like the no-dhcp-interface option of dnsmasq. I cannot tell from the UI, but the description as it stands seems to indicate that. Hopefully, clarifying what this option actually does do will help avoid confusing user support issues.

13.10.20203383WebsiteBug ReportVery LowMediumluci management webside - network - interface proto MAP...openwrt-19.07Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on mt7621
- Software versions of OpenWrt 19.07.03 19.07.04
- Steps to reproduce
first: select map-e support on menuconfig Network→map
select luci support on menuconfig Luci
second: update firmware, and then loggin to 192.168.1.1, network - interface - proto MAP/LW4over6
and error occur when click config apply

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

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

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

12.10.20203381Base systemBug ReportVery LowLowTrunk don't initialize pci cards at mt7621TrunkUnconfirmed Task Description

Trunk does not initialize pci adapter cards properly.

I’m using unielec mt7621 board with kind of Atheros miniPCIe cards? in this test installed AR9287 adapter.

Here is lspci and part of dmesg output from 19.07.4:

root@OpenWrt:~# lspci -v
02:00.0 Network controller: Qualcomm Atheros AR9287 Wireless Network Adapter (PCI-Express) (rev 01)
        Subsystem: Qualcomm Atheros Device 30a4
        Flags: fast devsel, IRQ 255
        Memory at 60200000 (64-bit, non-prefetchable) [disabled] [size=64K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [60] Express Legacy Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 00-15-17-ff-ff-24-14-12
        Capabilities: [170] Power Budgeting <?>

[    2.261556] pci 0000:02:00.0: [168c:002e] type 00 class 0x028000
[    2.261628] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    2.261756] pci 0000:02:00.0: supports D1
[    2.261764] pci 0000:02:00.0: PME# supported from D0 D1 D3hot

Here is lspci and part of dmesg output from trunk:

02:00.0 Ethernet controller: Qualcomm Atheros AR5008 Wireless Network Adapter (rev 01)
        Flags: fast devsel, IRQ 255
        Memory at 60200000 (64-bit, non-prefetchable) [disabled] [size=64K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [60] Express Legacy Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
        Capabilities: [170] Power Budgeting <?>

[    1.604742] pci 0000:02:00.0: [168c:ff1c] type 00 class 0x020000
[    1.610801] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    1.617717] pci 0000:02:00.0: supports D1
[    1.621723] pci 0000:02:00.0: PME# supported from D0 D1 D3hot

You may see the the trunk cannot see correct PCI ID and some pci parameters like device serial numbers. Also any wifi modules does not work (mac80211, etc).


11.10.20203379Base systemBug ReportVery LowMediumMissing switch0 LEDs in board definitionopenwrt-19.07Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: TP-Link WDR3600
- Software versions of OpenWrt/LEDE release, packages, etc.: OpenWrt 19.07.4 r11208-ce6496d796 / LuCI openwrt-19.07 branch git-20.247.75781-0d0ab01

LEDs of switch0 are missing in board definition thus missing in LuCi web interface on ath79 target.

 


11.10.20203378Base systemBug ReportVery LowMediumuhttpd randomly returns "400 Bad request"TrunkUnconfirmed Task Description

In recent trunk uhttpd (2020-08-05-212f8364-1) sometimes return http error 400 Bad request

when cl→state==CLIENT_STATE_INIT
ustream_get_read_buf should read http request starting with method (GET,POST)
and ending with request body

sometimes it reads previous request body followed by current request (GET ...........)
it looks like

<some_json_date>GET /cgi-bin/luci/....

then this block is passed to client_init_cb and client_parse_request
client_parse_request return CLIENT_STATE_DONE
and it triggers uh_header_error(cl, 400, “Bad Request”);

If I replace uhttpd binary with the one taken from 19.07 problem disappears (had to ln one .so to make it work)

09.10.20203373Base systemBug ReportVery LowHighIPV6 flow offload brokenTrunkUnconfirmed Task Description

Enabling this option makes the ipv6 connection unstable.

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


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

Just flashed 19.07.4 on Kingston MLWG2.

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

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

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

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

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

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

3. Device now works great

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

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

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

 


04.10.20203368Base systemBug ReportVery LowLowsysupgrade using CLI require downloading image from htt...openwrt-19.07Unconfirmed Task Description

Hi,

I would like to submit a feature/enhancement request more than a bug request.

Supply the following if possible:
- Device problem occurs on
tested on xiaomi mi wifi 3G v1 (https://openwrt.org/toh/hwdata/xiaomi/xiaomi_miwifi_3g)
but probably occuring for all devices
- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt 19.07.4
- Steps to reproduce
1/ upgrade to last stable firmware, so currently 19.07.4
2/ try to download the sysupgrade image
cd /tmp; wget –no-check-certificate “https://downloads.openwrt.org/releases/19.07.4/targets/ramips/mt7621/openwrt-19.07.4-ramips-mt7621-xiaomi_mir3g-squashfs-sysupgrade.bin” wget: SSL support not available, please install one of the libustream-.*[ssl|tls] packages as well as the ca-bundle and ca-certificates packages.

Since a few month, upgrade images have to be downloaded with https, because http requests are now redirected to https.
I also think that redirecting to https, can be a good idea.

Extract of https://openwrt.org/docs/guide-user/installation/sysupgrade.cli :
Download and check the firmware checksum with:
cd /tmp;wget $DOWNLOAD_LINK;wget $SHA256SUMS;sha256sum -c sha256sums 2>/dev/null|grep OK

When applied to my device and last stable release :
cd /tmp; wget –no-check-certificate “https://downloads.openwrt.org/releases/19.07.4/targets/ramips/mt7621/openwrt-19.07.4-ramips-mt7621-xiaomi_mir3g-squashfs-sysupgrade.bin” wget: SSL support not available, please install one of the libustream-.*[ssl|tls] packages as well as the ca-bundle and ca-certificates packages.

As discussed in forum (https://forum.openwrt.org/t/problem-downloading-openwrt-release-to-router-using-wget/63805), there are alternatives.

But, it’s a pain (at least not user friendly) to install a package, in order to download a new image to flash.
Can you add an ssl package to the default packages list ?

Another option is to permit download on http, but may not be the best idea.

I agree about the fact, that adding a package to all images is not so easy and maybe impossible due to space disk considerations.

As an openwrt user, I appreciate all the work, you are doing. Thank you for that project.

Regards,
Serge

03.10.20203367Base systemBug ReportVery LowMediumproblems in speed test on the Ethernet side TrunkUnconfirmed Task Description

Model router Linksys WRT1900ACS rev.v2
Architecture ARMv7 Processor rev 1 (v7l)
Firmware Version SNAPSHOT r14618-6f96a4d043 / LuCI Master git-20.267.53658-b17ec09
Kernel Version 5.4.68

Linksys WRT1900ACS v2 since it switched to this kernel version it no longer reaches a speed of 1Gbps on the wire, in speed test it reaches a maximum of 870Mbps!
DD-WRT, Linksys software manages to carry 1Gbps on the wire without problems!

 


30.09.20203366Base systemBug ReportVery LowMediumrouter keeps running out of memory, have to power cycle...openwrt-19.07Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
netgear r6350
- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt 19.07.4 r11208-ce6496d796 / LuCI openwrt-19.07 branch git-20.247.75781-0d0ab01
I installed ocserv too but I don’t think its the problem
- Steps to reproduce
Just let router run, maybe will stay up for a week and then at some point gui tells me can’t fork, I can’t login to router with ssh and I have to power cycle it.

I added swap space on a USB stick to try to keep it from locking up.
I’ve ssh’ed into and run the following to try to figure out what’s going on.

I expected to find a process growing but nothing looks obvious to me. I just see free memory keep going down, and I see a bit of swap space used.

Any suggestions on what else I could do to figure out what’s going on with the memory usage?

looking at meminfo it shows about ~100M used but the numbers don’t seem to add up to that.

while sleep 60
do

date
uptime
top -b -n 1 | head -n 10
ps w | awk '$3 > 4000'
free -m
cat /proc/meminfo
printf "\n"

done

Here’s what 10 days looks like:

Wed Sep 30 00:56:16 EDT 2020
00:56:16 up 10 days, 2:38, load average: 0.00, 0.02, 0.00
Mem: 100276K used, 23496K free, 1076K shrd, 1832K buff, 4600K cached
CPU: 0% usr 0% sys 0% nic 100% idle 0% io 0% irq 0% sirq
Load average: 0.01 0.02 0.00 2/71 27832

PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND

27831 7096 root R 1224 1% 0% top -b -n 1
2175 2174 root S 4912 4% 0% ocserv-sm
2174 1 root S 4740 4% 0% ocserv-main

931     1 root     S     2324   2%   0% /sbin/rpcd -s /var/run/ubus.sock -t 30

2001 1 root S 1784 1% 0% /usr/sbin/hostapd -s -P /var/run/wifi-phy0.pid -B /var/run/hostapd-phy0.conf
1077 1 root S 1748 1% 0% /sbin/netifd

PID USER       VSZ STAT COMMAND

2174 root 4740 S ocserv-main
2175 root 4912 S ocserv-sm

            total        used        free      shared  buff/cache   available

Mem: 123772 93796 23544 1076 6432 2604
Swap: 262140 1024 261116
MemTotal: 123772 kB
MemFree: 23500 kB
MemAvailable: 2560 kB
Buffers: 1832 kB
Cached: 4600 kB
SwapCached: 232 kB
Active: 5184 kB
Inactive: 3364 kB
Active(anon): 1120 kB
Inactive(anon): 2072 kB
Active(file): 4064 kB
Inactive(file): 1292 kB
Unevictable: 0 kB
Mlocked: 0 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 123772 kB
LowFree: 23500 kB
SwapTotal: 262140 kB
SwapFree: 261116 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 1960 kB
Mapped: 2136 kB
Shmem: 1076 kB
Slab: 11756 kB
SReclaimable: 1912 kB
SUnreclaim: 9844 kB
KernelStack: 624 kB
PageTables: 308 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 324024 kB
Committed_AS: 6680 kB
VmallocTotal: 1040376 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB


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

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

Several ways I have tried:

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

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

Let me know if any solution

Best.

24.09.20203360Base systemBug ReportVery LowLowmake with source files in package does not always rebui...AllUnconfirmed Task Description

Whilst working on a custom build it has been observed that if I have an openwrt package that includes a build/Prepare step which copies sourcecode from the packagedir to the build dir this does not always happen if the sourcecode has been modified.

I’ve tracked it down to the find_mds step which uses the find command to make a list of all the files in the package directory.

This list is passed to the mkhash utility on stdin, which produces the hash part of the .prepared file.

If the contents of the list change then the build/Prepare step is re-ran, which copies the source code from package dir to build dir.

However if the contents of the list have not changed then the build/Prepare step is not run leaving the old stale files in the build dir.

There are a few issues with the list method

The order of files is undefined, the list can change order resulting in a different hash causing false rebuild
If a file is modified it may not go to the end of the list, resulting in same list with same hash so no build when required.

By adding modified time after the filename, then sorting the list both the above two issues can be resolved.

I’ve made a potential fix here : https://github.com/openwrt/openwrt/pull/3445

I’ve tested my fix locally and I can see rebuilds only when I modify source.

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

 


23.09.20203359PackagesBug ReportVery LowMediumhttps-dns-proxy / luci-app-https-dns-proxy: expose a co...TrunkUnconfirmed Task Description

As per https://github.com/aarond10/https_dns_proxy, it supports `-v` for `Increase logging verbosity. (INFO)`. I’m encountering some problems with https-dns-proxy (https://github.com/aarond10/https_dns_proxy/issues/92) but I can’t troubleshoot them because there’s no way to pass `-v` to `https-dns-proxy` when started by luci-app-https-dns-proxy.

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

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

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

23.09.20203357PackagesBug ReportVery LowLowcollectd-mod-openvpn: can't enable pluginTrunkUnconfirmed Task Description

See the screenshot. Unlike other plugins, this one is missing “Enable this plugin” checkbox, and therefore, cannot be enabled via UI.

22.09.20203356PackagesBug ReportVery LowMediumhttps-dns-proxy: Luci interface breaks the configuratio...openwrt-19.07Unconfirmed Task Description

When you edit `/etc/config/https-dns-proxy` and set a custom server, not known to Luci HTML interface, the Luci UI at /cgi-bin/luci/admin/services/https-dns-proxy will display “CIRA Canadian Shield (Family)” as the selected resolver. This, by itself is not a problem yet, as the Proxy will function as expected.

However, the moment one makes any changes in the UI, e.g. changing listen port, `/etc/config/https-dns-proxy` will get rewritten and an actual resolver for CIRA Canadian Shield (Family) will be used.

Luci interface for HTTPS DNS Proxy should:

1. Bare minimum: indicate a custom resolver is used, and not lose the resolver after making changes to listen port and other stuff.
1. Nice to have: Allow a user to define a custom resolver in the UI - by specifying `resolver_url`, `bootstrap_dns`, `user` and `group` properties

The problem applies on any device as it’s not device-specific.

Reproduction instruction:

1. Edit `/etc/config/https-dns-proxy` and make it look like this:

```
config main ‘config’

      option update_dnsmasq_config '-'

config https-dns-proxy

      option listen_addr '127.0.0.1'
      option listen_port '5054'
      option user 'nobody'
      option group 'nogroup'
      option bootstrap_dns '1.1.1.1,1.0.0.1,2606:4700:4700::1111,2606:4700:4700::1001'
      option resolver_url 'https://1.1.1.1/dns-query'

```
2. Go to http://192.168.10.1/cgi-bin/luci/admin/services/https-dns-proxy and observe “CIRA Canadian Shield (Family)” as the selected resolver.
3. Change listen port and click Save & Apply.
4. Observe `/etc/config/https-dns-proxy` lose `resolver_url` setting.

21.09.20203355PackagesBug ReportVery LowLowUMDNS: does not start on master with seccomp TrunkUnconfirmed Task Description

UMDNS does not start on master with seccomp
this has bee tested on ramips (dir878 and redmiac2100)
if i comment out
# procd_set_param seccomp /etc/seccomp/umdns.json
from /etc/init.d/umdns

it works

20.09.20203353PackagesBug ReportVery LowMediumiproute2 compilation fails due to dynsyms syntax errorTrunkUnconfirmed Task Description

Building master:

files="e_bpf.c em_canid.c em_cmp.c em_ipset.c em_ipt.c em_meta.c em_nbyte.c em_u32.c f_basic.c f_bpf.c f_cgroup.c f_flow.c f_flower.c f_fw.c f_matchall.c f_route.c f_rsvp.c f_tcindex.c f_u32.c m_action.c m_bpf.c m_connmark.c m_csum.c
m_ct.c m_ctinfo.c m_ematch.c m_estimator.c m_gact.c m_gate.c m_ife.c m_ipt.c m_mirred.c m_mpls.c m_nat.c m_pedit.c m_police.c m_sample.c m_simple.c m_skbedit.c m_skbmod.c m_tunnel_key.c m_vlan.c m_xt_old.c p_eth.c p_icmp.c p_ip.c p_ip
6.c p_tcp.c p_udp.c q_atm.c q_cake.c q_cbq.c q_cbs.c q_choke.c q_clsact.c q_codel.c q_drr.c q_dsmark.c q_etf.c q_ets.c q_fifo.c q_fq.c q_fq_codel.c q_fq_pie.c q_gred.c q_hfsc.c q_hhf.c q_htb.c q_ingress.c q_mqprio.c q_multiq.c q_netem
.c q_pie.c q_plug.c q_prio.c q_qfq.c q_red.c q_rr.c q_sfb.c q_sfq.c q_skbprio.c q_taprio.c q_tbf.c static-syms.c tc.c tc_cbq.c tc_class.c tc_core.c tc_estimator.c tc_exec.c tc_filter.c tc_monitor.c tc_qdisc.c tc_red.c tc_stab.c tc_uti
l.c" ; \
echo "{" > dynsyms.list ; \
for s in `grep -B 3 '\<dlsym' $files | sed -n '/snprintf/{s:.*"\([^"]*\)".*:\1:;s:%s::;p}'` ; do \
        sed -n '/'$s'[^ ]* =/{s:.* \([^ ]*'$s'[^ ]*\) .*:\1;:;p}' $files ; \
done >> dynsyms.list ; \
echo "show_stats; print_nl; print_tm; parse_rtattr; parse_rtattr_flags; get_u32; matches; addattr_l; addattr_nest; addattr_nest_end; };" >> dynsyms.list
    CC       m_xt.so
In file included from ../include/uapi/linux/netfilter_ipv4/ip_tables.h:21,
                 from m_xt.c:19:
../include/uapi/linux/if.h:134: warning: "IFF_VOLATILE" redefined
 #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|\

In file included from m_xt.c:16:
/home/user/dev/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/include/net/if.h:48: note: this is the location of the previous definition
 #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST| \

    CC       emp_ematch.tab.o
/home/user/dev/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/lib/gcc/mips-openwrt-linux-musl/8.4.0/../../../../mips-openwrt-linux-musl/bin/ld:dynsyms.list:0: syntax error in dynamic list
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:174: m_xt.so] Error 1

The dynsyms file contains:

$ cat ./build_dir/target-mips_24kc_musl/linux-ath79_generic/iproute2-tc/iproute2-5.8.0/tc/dynsyms.list
{
bpf_action_util;
connmark_action_util;
csum_action_util;
ct_action_util;
ctinfo_action_util;
gact_action_util;
gate_action_util;
ife_action_util;
ipt_action_util;
mirred_action_util;
mpls_action_util;
nat_action_util;
pedit_action_util;
police_action_util;
sample_action_util;
simple_action_util;
skbedit_action_util;
skbmod_action_util;
tunnel_key_action_util;
vlan_action_util;
ipt_action_util;
canid_ematch_util;
cmp_ematch_util;
ipset_ematch_util;
ipt_ematch_util;
meta_ematch_util;
nbyte_ematch_util;
u32_ematch_util;
p_pedit_eth;
p_pedit_icmp;
p_pedit_ip;
p_pedit_ip6;
p_pedit_tcp;
p_pedit_udp;
atm_qdisc_util;
cake_qdisc_util;
cbq_qdisc_util;
cbs_qdisc_util;
choke_qdisc_util;
clsact_qdisc_util;
codel_qdisc_util;
drr_qdisc_util;
dsmark_qdisc_util;
etf_qdisc_util;
ets_qdisc_util;
bfifo_qdisc_util;
pfifo_qdisc_util;
pfifo_head_drop_qdisc_util;
pfifo_fast_qdisc_util;
fq_qdisc_util;
fq_codel_qdisc_util;
fq_pie_qdisc_util;
gred_qdisc_util;
hfsc_qdisc_util;
hhf_qdisc_util;
htb_qdisc_util;
ingress_qdisc_util;
mqprio_qdisc_util;
multiq_qdisc_util;
netem_qdisc_util;
pie_qdisc_util;
plug_qdisc_util;
prio_qdisc_util;
qfq_qdisc_util;
red_qdisc_util;
rr_qdisc_util;
sfb_qdisc_util;
sfq_qdisc_util;
skbprio_qdisc_util;
taprio_qdisc_util;
tbf_qdisc_util;
basic_filter_util;
bpf_filter_util;
cgroup_filter_util;
flow_filter_util;
flower_filter_util;
fw_filter_util;
matchall_filter_util;
route_filter_util;
rsvp_filter_util;
rsvp6_filter_util;
tcindex_filter_util;
u32_filter_util;
bpf_exec_util;
show_stats; print_nl; print_tm; parse_rtattr; parse_rtattr_flags; get_u32; matches; addattr_l; addattr_nest; addattr_nest_end; };
 


Showing tasks 51 - 100 of 1161 Page 2 of 24 - 1 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing