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
01.06.20181571Base systemBug ReportMediumLownetifd does not honor rules when using network.lan.enab...AllAssigned Task Description

Device: ar71xx TP-LINK TL-WR841N/ND v9
Revision: c8fdd0e9c843dd483f6677dc41f7df17313aa3cd

netifd: does not apply network rules after disabling the interface via uci set network.lan.enabled=0 and reenabling it via uci set network.l .enabled=1

Steps to reproduce:

uci set network.guestable=rule
uci set network.guestable.in=lan
uci set network.guestable.lookup='1001'
uci set network.guestable.priority='100'
uci set network.unreach=rule
uci set network.unreach.in=lan
uci set network.unreach.action='unreachable'
uci set network.unreach.priority='110'
uci set network.lan.enabled=1
ubus call network reload
sleep 5
ip ru sho

uci set network.lan.enabled=0
ubus call network reload
sleep 5
uci set network.lan.enabled=1
ubus call network reload
sleep 5
ip ru sho
echo "The rules are missing now"


20.04.20181509Base systemBug ReportMediumLowomcproxy no longer buildsTrunkNew Task Description

OpenWrt master r6735-1a89547957

make[6]: Entering directory '/home/build/lede/build_dir/target-x86_64_musl/omcproxy-2017-02-14-1fe6f48f'
[ 11%] Building C object CMakeFiles/omcproxy.dir/src/mrib.c.o
In file included from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/omcproxy-2017-02-14-1fe6f48f/src/omcproxy.h:51:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/omcproxy-2017-02-14-1fe6f48f/src/mrib.c:39:
/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/omcproxy-2017-02-14-1fe6f48f/src/mrib.c:57:34: error: braced-group within expression allowed only inside a function
 static uint32_t ipv4_rtr_alert = cpu_to_be32(0x94040000);
                                  ^
cc1: warning: unrecognized command line option '-Wno-gnu'
16.08.2017966Base systemBug ReportMediumLowar71xx: images are not named to their board_namesTrunkNew Task Description

Create an image using the imagebuilder (e.g. ar71xx/generic)

- make PROFILE=ubnt-loco-m-xw image
- the resulting image is than named lede-ar71xx-generic-ubnt-loco-m-xw-squashfs-factory.bin
- but looking into /tmp/sysinfo/board_name it’s called “loco-m-xw”

original reporter: aparcar
Additional reference: https://github.com/aparcar/gsoc17-attended-sysupgrade/issues/26#issuecomment-321918497

14.07.2017906PackagesBug ReportMediumLowperf doesn't build on x86TrunkNew Task Description

LEDE master 683e73735ebe64ffdbc55aa0037815e4ae282332 x86/64

make[1]: Entering directory '/home/stijn/Development/LEDE/source'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/devel/perf'
rm -rf /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl
rm -f /home/stijn/Development/LEDE/source/bin/targets/x86/64/packages/perf_4.4.74-2_x86_64.ipk
rm -f /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/stamp/.perf_installed
rm -f /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/packages/perf.list /home/stijn/Development/LEDE/source/staging_dir/host/packages/perf.list
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/devel/perf'
make[1]: Leaving directory '/home/stijn/Development/LEDE/source'
make[1]: Entering directory '/home/stijn/Development/LEDE/source'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/libs/toolchain'
echo "libc" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
echo "libgcc" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
echo "libstdcpp" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
echo "libpthread" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
echo "librt" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/libs/toolchain'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/libs/zlib'
echo "zlib" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/zlib.default.install
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/libs/zlib'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/libs/gettext'
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/libs/gettext'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/libs/libiconv'
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/libs/libiconv'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/devel/binutils'
echo "libbfd" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/binutils.default.install
echo "libopcodes" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/binutils.default.install
echo "objdump" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/binutils.default.install
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/devel/binutils'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/utils/bzip2'
echo "libbz2" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/bzip2.default.install
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/utils/bzip2'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/libs/argp-standalone'
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/libs/argp-standalone'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/libs/elfutils'
echo "libdw" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/elfutils.default.install
echo "libelf1" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/elfutils.default.install
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/libs/elfutils'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/devel/perf'
touch /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/.prepared_b5b87dd2e8f7ab9635c0cd3762fb0d45_6664517399ebbbc92a37c5bb081b5c53_check
cp -fpR /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/* /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/
touch /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/.prepared_b5b87dd2e8f7ab9635c0cd3762fb0d45_6664517399ebbbc92a37c5bb081b5c53
rm -f /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/stamp/.perf_installed
(cd /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/./; if [ -x ./configure ]; then find /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/ -name config.guess | xargs -r chmod u+w; find /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/ -name config.guess | xargs -r -n1 cp --remove-destination /home/stijn/Development/LEDE/source/scripts/config.guess; find /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/ -name config.sub | xargs -r chmod u+w; find /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/ -name config.sub | xargs -r -n1 cp --remove-destination /home/stijn/Development/LEDE/source/scripts/config.sub; AR="x86_64-openwrt-linux-musl-gcc-ar" AS="x86_64-openwrt-linux-musl-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl:perf-target-x86_64_musl -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro" LD=x86_64-openwrt-linux-musl-ld NM="x86_64-openwrt-linux-musl-gcc-nm" CC="x86_64-openwrt-linux-musl-gcc" GCC="x86_64-openwrt-linux-musl-gcc" CXX="x86_64-openwrt-linux-musl-g++" RANLIB="x86_64-openwrt-linux-musl-gcc-ranlib" STRIP=x86_64-openwrt-linux-musl-strip OBJCOPY=x86_64-openwrt-linux-musl-objcopy OBJDUMP=x86_64-openwrt-linux-musl-objdump SIZE=x86_64-openwrt-linux-musl-size CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl:perf-target-x86_64_musl -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro " CXXFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl:perf-target-x86_64_musl -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro " CPPFLAGS="-I/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/usr/include -I/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/include -I/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/usr/include -I/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/fortify -I/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include " LDFLAGS="-L/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/usr/lib -L/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/lib -L/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/usr/lib -L/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/lib -znow -zrelro "   ./configure --target=x86_64-openwrt-linux --host=x86_64-openwrt-linux --build=x86_64-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls  ; fi; )
rm -f /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/.configured_*
touch /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/.configured_68b329da9893e34099c7d8ad5cb9c940
rm -f /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/.built
touch /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/.built_check
ARCH="x86" NO_LIBPERL=1 NO_LIBPYTHON=1 NO_NEWT=1 NO_LZMA=1 NO_BACKTRACE=1 NO_LIBNUMA=1 NO_GTK2=1 NO_LIBAUDIT=1 NO_LIBCRYPTO=1 NO_LIBUNWIND=1 CROSS_COMPILE="x86_64-openwrt-linux-musl-" CC="x86_64-openwrt-linux-musl-gcc" LD="x86_64-openwrt-linux-musl-ld" CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl:perf-target-x86_64_musl -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -I/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/usr/include -I/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/include -I/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/usr/include -I/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/fortify -I/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include" LDFLAGS="-L/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/usr/lib -L/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/lib -L/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/usr/lib -L/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/lib -znow -zrelro" V='' WERROR=0 prefix=/usr make  -C /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl -f Makefile.perf --no-print-directory

Auto-detecting system features:
...                         dwarf: [ on  ]
...            dwarf_getlocations: [ on  ]
...                         glibc: [ OFF ]
...                          gtk2: [ OFF ]
...                      libaudit: [ OFF ]
...                        libbfd: [ on  ]
...                        libelf: [ on  ]
...                       libnuma: [ OFF ]
...        numa_num_possible_cpus: [ OFF ]
...                       libperl: [ OFF ]
...                     libpython: [ on  ]
...                      libslang: [ OFF ]
...                     libcrypto: [ on  ]
...                     libunwind: [ OFF ]
...            libdw-dwarf-unwind: [ on  ]
...                          zlib: [ on  ]
...                          lzma: [ OFF ]
...                     get_cpuid: [ on  ]
...                           bpf: [ on  ]

Makefile.config:360: No sys/sdt.h found, no SDT events are defined, please install systemtap-sdt-devel or systemtap-sdt-dev
Makefile.config:569: Python support disabled by user
  PERF_VERSION = 4.9.34
  GEN      common-cmds.h
Warning: x86_64's syscall_64.tbl differs from kernel
  CC       util/alias.o
In file included from util/alias.c:2:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/../ui/ui.h:4,
                 from util/cache.h:6,
                 from util/alias.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/annotate.o
  CC       util/block-range.o
In file included from util/symbol.h:16:0,
                 from util/block-range.h:4,
                 from util/block-range.c:1:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/block-range.h:4,
                 from util/block-range.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/build-id.o
  CC       util/config.o
  CC       util/ctype.o
  CC       util/db-export.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/db-export.c:18:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/evsel.h:10,
                 from util/db-export.c:18:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/env.o
In file included from util/env.c:3:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/event.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/debug.h:7,
                 from util/cpumap.h:9,
                 from util/env.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/event.o
In file included from util/symbol.h:16:0,
                 from util/callchain.h:9,
                 from util/hist.h:6,
                 from util/event.c:6:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/event.c:4:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/evlist.o
  CC       util/evsel.o
In file included from util/symbol.h:16:0,
                 from util/callchain.h:9,
                 from util/evsel.c:19:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/callchain.h:7,
                 from util/evsel.c:19:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/evsel_fprintf.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evsel_fprintf.c:4:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/evsel.h:10,
                 from util/evsel_fprintf.c:4:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/find_bit.o
  CC       util/kallsyms.o
  CC       util/levenshtein.o
  CC       util/llvm-utils.o
In file included from util/llvm-utils.c:13:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/debug.h:7,
                 from util/llvm-utils.c:10:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  BISON    util/parse-events-bison.c
  FLEX     util/parse-events-flex.c
  CC       util/parse-events.o
  CC       util/perf_regs.o
  CC       util/path.o
In file included from util/path.c:14:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/../ui/ui.h:4,
                 from util/cache.h:6,
                 from util/path.c:13:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/rbtree.o
  CC       util/libstring.o
  CC       util/bitmap.o
  CC       util/hweight.o
  CC       util/quote.o
  CC       util/strbuf.o
In file included from util/strbuf.c:2:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/debug.h:7,
                 from util/strbuf.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/string.o
  CC       util/strlist.o
  CC       util/strfilter.o
  CC       util/top.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evlist.h:10,
                 from util/top.c:11:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/event.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/debug.h:7,
                 from util/cpumap.h:9,
                 from util/top.c:9:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/usage.o
  CC       util/dso.o
In file included from util/symbol.h:16:0,
                 from util/dso.c:4:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/dso.c:4:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/symbol.o
In file included from util/symbol.h:16:0,
                 from util/annotate.h:7,
                 from util/symbol.c:12:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/annotate.h:7,
                 from util/symbol.c:12:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/symbol_fprintf.o
In file included from util/symbol.h:16:0,
                 from util/symbol_fprintf.c:5:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/symbol_fprintf.c:5:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/color.o
  CC       util/header.o
  CC       util/callchain.o
In file included from util/symbol.h:16:0,
                 from util/callchain.h:9,
                 from util/hist.h:6,
                 from util/callchain.c:20:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/hist.h:5,
                 from util/callchain.c:20:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/values.o
  CC       util/debug.o
In file included from util/debug.c:15:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/../ui/ui.h:4,
                 from util/cache.h:6,
                 from util/debug.c:11:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/machine.o
In file included from util/symbol.h:16:0,
                 from util/callchain.h:9,
                 from util/machine.c:1:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/callchain.h:7,
                 from util/machine.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/map.o
In file included from util/symbol.h:16:0,
                 from util/map.c:1:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/map.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/pstack.o
  CC       util/session.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evlist.h:10,
                 from util/session.c:9:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/evlist.h:9,
                 from util/session.c:9:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/ordered-events.o
In file included from util/symbol.h:16:0,
                 from util/session.h:8,
                 from util/ordered-events.c:5:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/session.h:5,
                 from util/ordered-events.c:5:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/comm.o
  CC       util/thread.o
In file included from util/symbol.h:16:0,
                 from util/session.h:8,
                 from util/thread.c:5:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/session.h:5,
                 from util/thread.c:5:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/thread_map.o
  CC       util/trace-event-parse.o
  CC       util/parse-events-flex.o
  CC       util/parse-events-bison.o
  BISON    util/pmu-bison.c
  FLEX     util/pmu-flex.c
  CC       util/pmu.o
  CC       util/pmu-flex.o
  CC       util/pmu-bison.o
  CC       util/trace-event-read.o
In file included from util/trace-event-read.c:36:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/trace-event-read.c:30:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/trace-event-info.o
  CC       util/trace-event-scripting.o
  CC       util/trace-event.o
In file included from util/trace-event.c:16:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/machine.h:6,
                 from util/trace-event.c:15:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/svghelper.o
  CC       util/sort.o
  CC       util/hist.o
  CC       util/util.o
  CC       util/xyarray.o
  CC       util/cpumap.o
  CC       util/cgroup.o
  CC       util/target.o
  CC       util/rblist.o
  CC       util/intlist.o
  CC       util/vdso.o
  CC       util/counts.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/counts.c:2:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/evsel.h:10,
                 from util/counts.c:2:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/stat.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evlist.h:10,
                 from util/stat.c:3:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/evlist.h:9,
                 from util/stat.c:3:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/stat-shadow.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/stat-shadow.c:2:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/evsel.h:10,
                 from util/stat-shadow.c:2:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/record.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evlist.h:10,
                 from util/record.c:1:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/evlist.h:9,
                 from util/record.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/srcline.o
In file included from util/srcline.c:8:0:
/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/dso.h:9,
                 from util/srcline.c:7:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/data.o
  CC       util/tsc.o
  CC       util/cloexec.o
In file included from util/cloexec.c:2:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from util/cloexec.c:1:0:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/call-path.o
  CC       util/thread-stack.o
In file included from util/symbol.h:16:0,
                 from util/thread.h:9,
                 from util/thread-stack.c:18:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/thread.h:9,
                 from util/thread-stack.c:18:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/auxtrace.o
  CC       util/intel-pt-decoder/intel-pt-pkt-decoder.o
  GEN      util/intel-pt-decoder/inat-tables.c
  CC       util/intel-pt-decoder/intel-pt-insn-decoder.o
  CC       util/intel-pt-decoder/intel-pt-log.o
  CC       util/intel-pt-decoder/intel-pt-decoder.o
In file included from util/intel-pt-decoder/intel-pt-decoder.c:27:0:
util/intel-pt-decoder/../util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/intel-pt-decoder/../../ui/ui.h:4,
                 from util/intel-pt-decoder/../cache.h:6,
                 from util/intel-pt-decoder/intel-pt-decoder.c:26:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  LD       util/intel-pt-decoder/libperf-in.o
  LD       util/scripting-engines/libperf-in.o
  CC       util/intel-pt.o
In file included from util/symbol.h:16:0,
                 from util/session.h:8,
                 from util/intel-pt.c:23:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/session.h:5,
                 from util/intel-pt.c:23:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/intel-bts.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/intel-bts.c:25:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/event.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/debug.h:7,
                 from util/cpumap.h:9,
                 from util/intel-bts.c:23:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/parse-branch-options.o
  CC       util/parse-regs-options.o
  CC       util/term.o
  CC       util/help-unknown-cmd.o
In file included from util/../builtin.h:4:0,
                 from util/help-unknown-cmd.c:5:
util/../util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/../ui/ui.h:4,
                 from util/cache.h:6,
                 from util/help-unknown-cmd.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/mem-events.o
In file included from util/symbol.h:16:0,
                 from util/mem-events.c:11:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/debug.h:7,
                 from util/mem-events.c:10:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/vsprintf.o
  CC       util/drv_configs.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evlist.h:10,
                 from util/drv_configs.h:20,
                 from util/drv_configs.c:16:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/evlist.h:9,
                 from util/drv_configs.h:20,
                 from util/drv_configs.c:16:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/bpf-loader.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evlist.h:10,
                 from util/bpf-loader.h:13,
                 from util/bpf-loader.c:15:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/debug.h:7,
                 from util/bpf-loader.c:14:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/bpf-prologue.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evlist.h:10,
                 from util/bpf-loader.h:13,
                 from util/bpf-prologue.c:12:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/debug.h:7,
                 from util/bpf-prologue.c:11:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/symbol-elf.o
In file included from util/symbol.h:16:0,
                 from util/symbol-elf.c:8:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/symbol-elf.c:8:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/probe-file.o
  CC       util/probe-event.o
  CC       util/probe-finder.o
In file included from util/probe-finder.c:39:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/probe-finder.c:35:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/dwarf-aux.o
  CC       util/dwarf-regs.o
  CC       util/unwind-libdw.o
In file included from util/symbol.h:16:0,
                 from util/unwind.h:6,
                 from util/unwind-libdw.c:7:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/debug.h:7,
                 from util/unwind-libdw.c:6:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/zlib.o
  CC       util/demangle-java.o
  CC       util/demangle-rust.o
  CC       util/jitdump.o
util/jitdump.c: In function 'jit_process':
util/jitdump.c:622:3: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
   fprintf(stderr, "injected: %s (%d)\n", path, ret);
   ^
util/jitdump.c:584:6: note: 'ret' was declared here
  int ret;
      ^
  CC       util/genelf.o
  CC       util/genelf_debug.o
  LD       util/libperf-in.o
  CC       arch/common.o
In file included from arch/common.c:4:0:
arch/../util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/event.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/debug.h:7,
                 from arch/../util/cpumap.h:9,
                 from arch/../util/env.h:5,
                 from arch/common.h:4,
                 from arch/common.c:3:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       arch/x86/util/header.o
  CC       arch/x86/util/tsc.o
  CC       arch/x86/util/pmu.o
In file included from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/symbol.h:16:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/evsel.h:10,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/pmu.h:7,
                 from arch/x86/util/pmu.c:7:
/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/symbol.h:7,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/evsel.h:10,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/pmu.h:7,
                 from arch/x86/util/pmu.c:7:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       arch/x86/util/kvm-stat.o
In file included from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/symbol.h:16:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/evsel.h:10,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/kvm-stat.h:5,
                 from arch/x86/util/kvm-stat.c:1:
/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/symbol.h:7,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/evsel.h:10,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/kvm-stat.h:5,
                 from arch/x86/util/kvm-stat.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       arch/x86/util/perf_regs.o
  CC       arch/x86/util/group.o
  CC       arch/x86/util/dwarf-regs.o
  CC       arch/x86/util/unwind-libdw.o
In file included from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/symbol.h:16:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/thread.h:9,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/unwind-libdw.h:6,
                 from arch/x86/util/unwind-libdw.c:2:
/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/event.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/unwind-libdw.h:5,
                 from arch/x86/util/unwind-libdw.c:2:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       arch/x86/util/auxtrace.o
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:12:0,
                 from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/asm/byteorder.h:4,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/include/uapi/linux/perf_event.h:19,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/header.h:4,
                 from arch/x86/util/auxtrace.c:18:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:160:8: error: unknown type name '__always_inline'
 static __always_inline __u16 __swab16p(const __u16 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:160:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__swab16p'
 static __always_inline __u16 __swab16p(const __u16 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:173:8: error: unknown type name '__always_inline'
 static __always_inline __u32 __swab32p(const __u32 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:173:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__swab32p'
 static __always_inline __u32 __swab32p(const __u32 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:186:8: error: unknown type name '__always_inline'
 static __always_inline __u64 __swab64p(const __u64 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:186:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__swab64p'
 static __always_inline __u64 __swab64p(const __u64 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:241:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
 static __always_inline void __swab32s(__u32 *p)
                        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:254:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
 static __always_inline void __swab64s(__u64 *p)
                        ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/asm/byteorder.h:4:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/include/uapi/linux/perf_event.h:19,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/header.h:4,
                 from arch/x86/util/auxtrace.c:18:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:43:8: error: unknown type name '__always_inline'
 static __always_inline __le64 __cpu_to_le64p(const __u64 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:43:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_le64p'
 static __always_inline __le64 __cpu_to_le64p(const __u64 *p)
                               ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:47:8: error: unknown type name '__always_inline'
 static __always_inline __u64 __le64_to_cpup(const __le64 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:47:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le64_to_cpup'
 static __always_inline __u64 __le64_to_cpup(const __le64 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:51:8: error: unknown type name '__always_inline'
 static __always_inline __le32 __cpu_to_le32p(const __u32 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:51:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_le32p'
 static __always_inline __le32 __cpu_to_le32p(const __u32 *p)
                               ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:55:8: error: unknown type name '__always_inline'
 static __always_inline __u32 __le32_to_cpup(const __le32 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:55:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le32_to_cpup'
 static __always_inline __u32 __le32_to_cpup(const __le32 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:59:8: error: unknown type name '__always_inline'
 static __always_inline __le16 __cpu_to_le16p(const __u16 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:59:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_le16p'
 static __always_inline __le16 __cpu_to_le16p(const __u16 *p)
                               ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:63:8: error: unknown type name '__always_inline'
 static __always_inline __u16 __le16_to_cpup(const __le16 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:63:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le16_to_cpup'
 static __always_inline __u16 __le16_to_cpup(const __le16 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:67:8: error: unknown type name '__always_inline'
 static __always_inline __be64 __cpu_to_be64p(const __u64 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:67:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_be64p'
 static __always_inline __be64 __cpu_to_be64p(const __u64 *p)
                               ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:71:8: error: unknown type name '__always_inline'
 static __always_inline __u64 __be64_to_cpup(const __be64 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:71:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be64_to_cpup'
 static __always_inline __u64 __be64_to_cpup(const __be64 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:75:8: error: unknown type name '__always_inline'
 static __always_inline __be32 __cpu_to_be32p(const __u32 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:75:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_be32p'
 static __always_inline __be32 __cpu_to_be32p(const __u32 *p)
                               ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:79:8: error: unknown type name '__always_inline'
 static __always_inline __u32 __be32_to_cpup(const __be32 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:79:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be32_to_cpup'
 static __always_inline __u32 __be32_to_cpup(const __be32 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:83:8: error: unknown type name '__always_inline'
 static __always_inline __be16 __cpu_to_be16p(const __u16 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:83:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_be16p'
 static __always_inline __be16 __cpu_to_be16p(const __u16 *p)
                               ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:87:8: error: unknown type name '__always_inline'
 static __always_inline __u16 __be16_to_cpup(const __be16 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:87:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be16_to_cpup'
 static __always_inline __u16 __be16_to_cpup(const __be16 *p)
                              ^
In file included from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/symbol.h:16:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/evsel.h:10,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/pmu.h:7,
                 from arch/x86/util/auxtrace.c:20:
/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/event.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/header.h:9,
                 from arch/x86/util/auxtrace.c:18:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
mv: cannot stat 'arch/x86/util/.auxtrace.o.tmp': No such file or directory
make[7]: *** [/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/build/Makefile.build:92: arch/x86/util/auxtrace.o] Error 1
make[6]: *** [/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/build/Makefile.build:134: util] Error 2
make[5]: *** [/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/build/Makefile.build:134: x86] Error 2
make[4]: *** [/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/build/Makefile.build:134: arch] Error 2
make[3]: *** [Makefile.perf:559: libperf-in.o] Error 2
make[2]: *** [Makefile:85: /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/.built] Error 2
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/devel/perf'
make[1]: *** [package/Makefile:111: package/devel/perf/compile] Error 2
make[1]: Leaving directory '/home/stijn/Development/LEDE/source'
make: *** [/home/stijn/Development/LEDE/source/include/toplevel.mk:209: package/perf/compile] Error 2
22.06.2017863KernelBug ReportMediumMediumath9k failure with AP+11s VIFs ("unsupported hw bitrate...lede-17.01Assigned Task Description

A Gluon user reported the following issue, observed on a TL-WR841N v9 (QCA953x). LEDE version is 17.01.2.

Gluon uses AP+11s VIFs, with multicast_rate set to 12000.

The WLAN became unusable (no connection possible, WLAN LED permantently on) after a few hours of operation. Both VIFs were affected. The system recovered on its own after an hour in this state. Unfortunately, I have no information if beacons were still running in the broken state.

After the recovery, the large number of messages like the following were found in the kernel log:

[40085.953696] ath: phy0: unsupported hw bitrate detected 0x73 using 1 Mbit
[40200.844082] ath: phy0: unsupported hw bitrate detected 0x48 using 1 Mbit
[40281.298039] ------------[ cut here ]------------
[40281.303081] WARNING: CPU: 0 PID: 0 at compat-wireless-2017-01-31/net/mac80211/rx.c:4214 ieee80211_rx_napi+0x130/0x8b0 [mac80211]()
[40281.315230] Rate marked as an HT rate but passed status->rate_idx is not an MCS index [0-76]: 100 (0x64)
[40281.325023] Modules linked in: iptable_nat ath9k nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE ebtable_nat ebtable_filter ebtable_broute ath9k_common xt_time xt_tcpudp xt_state xt_quota xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_LOG xt_CT nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack mac80211 iptable_mangle iptable_filter ip_tables ebtables ebt_vlan ebt_stp ebt_snat ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_ip6 ebt_ip ebt_dnat ebt_arpreply ebt_arp ebt_among ebt_802_3 br_netfilter ath9k_hw ath em_nbyte em_cmp sch_pie em_meta sch_gred sch_teql act_ipt sch_prio em_text sch_codel sch_red sch_fq sch_sfq sch_dsmark act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_htb sch_hfsc batman_adv libcrc32c cfg80211 compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables dummy veth tun act_police cls_basic sch_tbf sch_ingress gpio_button_hotplug crc16 crc32c_generic crypto_hash
[40281.433128] CPU: 0 PID: 0 Comm: swapper Tainted: G        W       4.4.71 #0
[40281.440330] Stack : 803e32a4 00000000 00000001 80440000 8042d1dc 8042ce63 803c48ac 00000000
[40281.440330]    804a378c 00000004 00000000 8180e918 00000000 800a7664 803c9fa8 80430000
[40281.440330]    00000003 00000004 803c83b4 81809d5c 00000000 800a55e0 00000002 00000000
[40281.440330]    8042bf70 801f5300 00000000 00000000 00000000 00000000 00000000 00000000
[40281.440330]    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[40281.440330]    ...
[40281.477351] Call Trace:
[40281.479951] [<800a7664>] vprintk_default+0x24/0x30
[40281.484917] [<800a55e0>] printk+0x2c/0x38
[40281.489077] [<801f5300>] serial8250_get_mctrl+0x30/0x54
[40281.494512] [<80081c60>] warn_slowpath_common+0xa0/0xd0
[40281.499949] [<801a772c>] dump_stack+0x14/0x28
[40281.504473] [<80071ea8>] show_stack+0x50/0x84
[40281.509003] [<80081c60>] warn_slowpath_common+0xa0/0xd0
[40281.514543] [<80e25cf0>] ieee80211_rx_napi+0x130/0x8b0 [mac80211]
[40281.520918] [<80081cbc>] warn_slowpath_fmt+0x2c/0x38
[40281.526158] [<80e25cf0>] ieee80211_rx_napi+0x130/0x8b0 [mac80211]
[40281.532495] [<802623ec>] __build_skb+0x48/0xc8
[40281.537148] [<802625d0>] __netdev_alloc_skb+0xd0/0x148
[40281.542477] [<80060bf4>] handle_int+0x134/0x140
[40281.547181] [<80de8388>] ath9k_cmn_rx_skb_postprocess+0x50/0x168 [ath9k_common]
[40281.554852] [<80e88374>] ath_rx_tasklet+0xee8/0xf4c [ath9k]
[40281.560635] [<8006503c>] __bzero+0xa0/0x164
[40281.565012] [<80e88340>] ath_rx_tasklet+0xeb4/0xf4c [ath9k]
[40281.570828] [<80e851b8>] ath9k_tasklet+0x200/0x28c [ath9k]
[40281.576512] [<80084820>] tasklet_action+0x80/0xc8
[40281.581390] [<800841dc>] __do_softirq+0x250/0x298
[40281.586284] [<800a82bc>] generic_handle_irq+0x24/0x3c
[40281.591540] [<8006a9e0>] plat_irq_dispatch+0xd4/0x10c
[40281.596760] [<80060bf4>] handle_int+0x134/0x140
[40281.601447]
[40281.602992] ---[ end trace f41ea26ed5101c02 ]---

Both the numbers in the “unsupported hw bitrate detected” messages and the status→rate_idx values in the WARNINGs are seemingly random.

03.05.2017758Base systemBug ReportMediumLowfactory image for ubnt er-x missinglede-17.01Assigned Task Description

lede-ramips-mt7621-ubnt-erx-initramfs-factory.tar isn’t part of the released files though it is needed to initially flash the device when still operating the factory firmware.

11.04.2017704Base systemBug ReportMediumMediumbrcmfmac / Raspberry Pi 3 / wifi not working / adhoc an...TrunkAssigned Task Description

tested with a snapshot-image and a selfcompiled with r3923
wifi in adhoc mode or 80211s-mode ist not working. Messages in
syslog are the same. wifi-scanning works (iw dev wlan0 scan).

root@LEDE:~ :) dmesg | grep -i brcm
[   14.341639] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Aug 29 2016 20:48:16 version 7.45.41.26 (r640327) FWID 01-4527cfab
[   14.387220] usbcore: registered new interface driver brcmfmac

root@LEDE:~ wifi
root@LEDE:~ logread
Sun Apr  9 04:04:02 2017 daemon.notice netifd: Interface 'wlan' is now down
Sun Apr  9 04:04:02 2017 daemon.notice netifd: Interface 'wlan' is disabled
Sun Apr  9 04:04:03 2017 daemon.notice netifd: radio0 (5094): command failed: No error information (-524)
Sun Apr  9 04:04:03 2017 daemon.notice netifd: radio0 (5131): command failed: No error information (-524)
Sun Apr  9 04:04:03 2017 daemon.notice netifd: radio0 (5131): command failed: Not supported (-95)
Sun Apr  9 04:04:03 2017 daemon.notice netifd: radio0 (5131): command failed: I/O error (-5)
Sun Apr  9 04:04:03 2017 daemon.notice netifd: radio0 (5131): command failed: Too many open files in system (-23)
Sun Apr  9 04:04:04 2017 daemon.notice netifd: radio0 (5131): command failed: Too many open files in system (-23)
Sun Apr  9 04:04:04 2017 daemon.notice netifd: radio0 (5131): Device setup failed: INTERFACE_CREATION_FAILED
Sun Apr  9 04:04:04 2017 daemon.notice netifd: radio0 (5131): WARNING: Variable 'interfaces' does not exist or is not an array/object

root@LEDE:~ uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.country='US'
wireless.radio0.channel='5'
wireless.radio0.path='platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
wireless.radio0.hwmode='11g'
wireless.@wifi-iface[0]=wifi-iface
wireless.@wifi-iface[0].device='radio0'
wireless.@wifi-iface[0].network='wlan'
wireless.@wifi-iface[0].mode='adhoc'
wireless.@wifi-iface[0].bssid='02:ca:ff:ee:ba:be'
wireless.@wifi-iface[0].macaddr='b8:27:eb:14:63:ea'
wireless.@wifi-iface[0].ssid='ffintern.2GHz'

root@LEDE:~ :) ip address show dev wlan0
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc prio state DOWN group default qlen 1000
    link/ether b8:27:eb:14:63:ea brd ff:ff:ff:ff:ff:ff
    inet 10.63.5.1/8 brd 10.255.255.255 scope global wlan0
       valid_lft forever preferred_lft forever
08.04.2017692Base systemBug ReportMediumMediumWLAN AP not working on RasPi (bcm2710 target)TrunkAssigned Task Description

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

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

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

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

Greetings,
–Thomas

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

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

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

The current naming scheme is quite long:

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

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

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

10.03.2017615KernelBug ReportMediumHighWDS AP: kernel panic under high traffic loadTrunkNew Task Description

I built a WDS bridge with two TL-WR841 v8, running LEDE r3670-154b3a6 from the buildbot snapshots.

When sending a high amount of traffic through the bridge (bidirectional iperf from one computer to another through the bridge), the WDS AP crashes repeatedly (roughly every hour, sometimes it takes a bit longer).

This is possibly related to other WDS issues  FS#447  and FS#608.

AP wireless config:

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'LEDE'
	option encryption 'psk-mixed'
	option key 'XXX'
	option wds '1'

STA wireless config:

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'sta'
	option ssid 'LEDE'
	option encryption 'psk2'
	option key 'XXX'
	option wds '1'

The network configuration is unchanged on both devices (except changing the LAN IP).

Some kernel crashes I obtained with /sys/kernel/debug/crashlog after a crash:


[ 2581.160504] Trap instruction in kernel code[#1]:
[ 2581.165297] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.52 #0
[ 2581.171239] task: 8042ef58 ti: 80428000 task.ti: 80428000
[ 2581.176814] $ 0   : 00000000 804a0000 00000000 fffffffe
[ 2581.182253] $ 4   : 00afc0cc 009f844e 0000007f a0e7c980
[ 2581.187691] $ 8   : 009f849c 00000052 0000004a 01000000
[ 2581.193129] $12   : 80000000 8000004e 00000000 00000002
[ 2581.198559] $16   : 81b27000 80df7000 81a15000 81942f00
[ 2581.203989] $20   : 00000000 00000000 8042a4e0 80d18400
[ 2581.209428] $24   : 00000000 8007d2d4
[ 2581.214866] $28   : 80428000 81809a58 8042a4e0 80272104
[ 2581.220305] Hi    : 00000019
[ 2581.223280] Lo    : 00000000
[ 2581.226272] epc   : 80272128 __dev_queue_xmit+0x2d8/0x4c4
[ 2581.231852] ra    : 80272104 __dev_queue_xmit+0x2b4/0x4c4
[ 2581.237428] Status: 1100f403 KERNEL EXL IE
[ 2581.241785] Cause : 00800034 (ExcCode 0d)
[ 2581.245924] PrId  : 0001974c (MIPS 74Kc)
[ 2581.249972] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT
ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc
nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache
nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter
ip6_tables x_tables gpio_button_hotplug
[ 2581.309535] Process swapper (pid: 0, threadinfo=80428000, task=8042ef58, tls=00000000)
[ 2581.317710] Stack : 80ecf420 8187992c 81809b2c 81879900 81b27068 00000001 80430000 fffffff4
[ 2581.317710]    80ece09c 80ed7000 0000004a 80ed7000 80d18400 80ed7000 00000000 8035b5a4
[ 2581.317710]    00000000 80df7000 00000000 80905e00 80f81000 80430000 80df7000 80271cd0
[ 2581.317710]    80428000 00440002 00000020 0000000e 00000003 80df7000 8042a4e0 00000000
[ 2581.317710]    80d18400 80271718 80430000 803fc6cc 8190af00 80ece090 80430000 80df7000
[ 2581.317710]    ...
[ 2581.354706] Call Trace:
[ 2581.357239] [] __dev_queue_xmit+0x2d8/0x4c4
[ 2581.362495] [] vlan_dev_hard_start_xmit+0x98/0x128
[ 2581.368341] [] dev_hard_start_xmit+0x2a8/0x354
[ 2581.373834] [] __dev_queue_xmit+0x3c0/0x4c4
[ 2581.379068] [] br_dev_queue_push_xmit+0x16c/0x1a0
[ 2581.384828] [] br_forward_finish+0x3c/0xb0
[ 2581.389963] [] __br_forward+0xa8/0x114
[ 2581.394741] [] br_handle_frame_finish+0x4f4/0x550
[ 2581.400500] [] br_handle_frame+0x380/0x418
[ 2581.405662] [] __netif_receive_skb_core+0x42c/0x898
[ 2581.411768] [] ieee80211_attach_ack_skb+0x103c/0x19e8 [mac80211]
[ 2581.418913]
[ 2581.420454]
[ 2581.420454] Code: 02002025  10000014  00008825  00431024  ae020074  1000000f  00008825  8e020000
[ 2581.430831] ---[ end trace 8251bd1741f30e24 ]---
[ 2581.437731] Kernel panic - not syncing: Fatal exception in interrupt

Another one which is a bit different:

[  420.687915] Reserved instruction in kernel code[#1]:
[  420.693066] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.52 #0
[  420.699008] task: 8042ef58 ti: 80428000 task.ti: 80428000
[  420.704583] $ 0   : 00000000 804a0000 00000002 00000002
[  420.710022] $ 4   : 81809e34 00000003 00000000 a0fb5980
[  420.715460] $ 8   : 0179f4bc 000005f2 000005ea 01000000
[  420.720898] $12   : 80000000 800005ee 00000000 772a02c0
[  420.726328] $16   : 81809e34 00000000 80f82420 8179eed2
[  420.731758] $20   : 80d54b40 00000000 80f82000 81809ddc
[  420.737197] $24   : 00000000 8007d2d4                  
[  420.742635] $28   : 80428000 81809d28 00000000 80da2a4c
[  420.748066] Hi    : 00000008
[  420.751041] Lo    : 00000023
[  420.754198] epc   : 80da2a4c ieee80211_sta_uapsd_trigger+0xff4/0x2d7c [mac80211]
[  420.761875] ra    : 80da2a4c ieee80211_sta_uapsd_trigger+0xff4/0x2d7c [mac80211]
[  420.769508] Status: 1100f403	KERNEL EXL IE 
[  420.773864] Cause : 80800028 (ExcCode 0a)
[  420.778004] PrId  : 0001974c (MIPS 74Kc)
[  420.782050] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables gpio_button_hotplug
[  420.841606] Process swapper (pid: 0, threadinfo=80428000, task=8042ef58, tls=00000000)
[  420.849779] Stack : 8086da00 8034a074 00000141 81809e14 00000042 81a18c20 00000003 81a18800
[  420.849779] 	  804c0000 00000000 0000002f 00000080 803c9c94 80dd6e74 80de0000 80dd6e40
[  420.849779] 	  80df9780 80440000 80f81420 8034a304 00000032 81b90010 00000001 00000008
[  420.849779] 	  80fc1380 81809e34 80fa9cc0 000008c9 8086f460 00000008 8086f460 00000000
[  420.849779] 	  00000001 80da5abc 815d1746 80df9780 00000000 8034bc5c 00000003 81a18800
[  420.849779] 	  ...
[  420.886779] Call Trace:
[  420.889373] [<80da2a4c>] ieee80211_sta_uapsd_trigger+0xff4/0x2d7c [mac80211]
[  420.896693] 
[  420.898234] 
[  420.898234] Code: 00402825  0c3687a9  02002025 <1000fe1b> 8ee20000  0c36817d  02402025  0441ff8b  24420012 
[  420.908615] ---[ end trace 2fd42b1e71175ff5 ]---
[  420.915438] Kernel panic - not syncing: Fatal exception in interrupt
09.03.2017609Base systemFeature RequestMediumLowprocd: implement runlevel 1TrunkNew Task Description

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

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

08.03.2017607KernelBug ReportMediumLowKernel BUG: Bad page state in process ntpd-hotplugTrunkNew Task Description

While doing wireless benchmarks between two TP-Link WR841 running the latest LEDE, one of them (the AP) showed the stack trace below. It does not seem to impact the behaviour of the system, though: everything seems to work correctly after the stack trace.

The device is TL-WR841N v8, with a snapshot build r3670-154b3a6 (kernel is 4.4.52).

It occurred about one minute after I plugged the WAN port to the Internet, which explains why ntpd-hotplug appears in the log. There was still a heavy amount of wireless traffic (both when I plugged the WAN, and when the stack trace occurred).

Wed Mar  8 22:02:31 2017 kern.alert kernel: [ 1913.427453] BUG: Bad page state in process ntpd-hotplug  pfn:015fa
Wed Mar  8 22:02:31 2017 kern.emerg kernel: [ 1913.433936] page:8102bf40 count:-2130657536 mapcount:16711936 mapping:  (null) index:0xff00ff00
Wed Mar  8 22:02:31 2017 kern.emerg kernel: [ 1913.442939] flags: 0x0()
Wed Mar  8 22:02:31 2017 kern.alert kernel: [ 1913.445561] page dumped because: nonzero _count
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.450237] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_coWed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.509878] CPU: 0 PID: 1501 Comm: ntpd-hotplug Not tainted 4.4.52 #0
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.516549] Stack : 803e49f0 00000000 00000001 80440000 818f16a4 8042ee63 803c5ff4 000005dd
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.516549] 	  804a378c 803d0000 803d0000 803d0000 803d0000 800a7640 803cb6e4 80430000
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.516549] 	  00000003 803d0000 803c9af0 81809d74 803d0000 800a55bc 803d0000 803d0000
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.516549] 	  803d0000 801f5800 00000000 00000000 00000000 00000000 00000000 00000000
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.516549] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.516549] 	  ...
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.553574] Call Trace:
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.556121] [<80071eb0>] show_stack+0x50/0x84
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.560630] [<800d57e4>] bad_page+0xec/0x11c
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.565069] [<800d59b0>] free_pages_prepare+0x19c/0x1f8
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.570474] [<800d6c74>] __free_pages_ok+0x2c/0x31c
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.575554] [<80261278>] __kfree_skb+0x28/0xb0
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.580155] [<8023871c>] ag71xx_tx_packets+0x154/0x2c8
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.585486] [<80239530>] ag71xx_poll+0x6c/0x5c0
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.590203] [<8026f748>] net_rx_action+0x10c/0x2c8
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.595183] [<800841c8>] __do_softirq+0x250/0x298
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.600066] [<8006a9e0>] plat_irq_dispatch+0xd4/0x10c
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.605297] 
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.606843] Disabling lock debugging due to kernel taint
05.03.2017598Base systemBug ReportMediumLow842nd doesnt flash successful with factory image using ...lede-17.01New Task Description

Device: 842nd v3.1
LEDE: 17.01

Go into recovery tftp mode by pressing first the WPS/Reset button and now connect the power.
The device enters tftp recovery to download via tftp from 192.168.0.66 file (wr842nv3_tp_recovery.bin)

The device *seems* to accept the flash (sorry, no serial to confirm).
On boot, the device doesn’t show leds nor it accepts any packets on ipv6 on any port (ping ff02::1) or ping to 192.168.1.1.

I guess this happens, because the oem flasher doesn’t flash all blocks of the factory image.

To recover from this state:
- flash via tftp recovery
- enter LEDE rescue/recovery
- ssh root@192.168.1.1
- use sysupgrade image

Task:
- confirm this happens also with trunk
- use serial to get more debug

03.03.2017588Base systemBug ReportMediumLowopenvpn-mbedtls crash on mpc85xx with signal 4 (SIGILL)lede-17.01Waiting on reporter Task Description

device: tp-link wdr4900
affected version: lede 17.01 / openvpn-mbedtls - 2.4.0-3

openvpn config:

dev tun-monitoring
remote somehost 1194

ca /etc/openvpn/monitoring-vpn/ca.crt
cert /etc/openvpn/monitoring-vpn/xyz.crt
key /etc/openvpn/monitoring-vpn/xyz.key
tls-auth /etc/openvpn/monitoring-vpn/ta.key 1
remote-cert-tls server

keepalive 10 120
cipher AES-256-CBC
comp-lzo yes

persist-key
persist-tun


03.03.2017587Base systemBug ReportMediumLowno wwan with qmi based modem quectel ec20AllNew Task Description

uqmi hangs on certain commands resulting in a half-connected wwan connection.

device: apu1d
modem: quectel ec20 / qualcom based
affected versions: lede 17.01, trunk

good uqmi version: 2016-08-23-eb1dec7d0dc283a7f61aa574a443a0ab61f8793f
bad uqmi version: 2016-12-19-8ceeab69-1

 1553 root      3288 S    {qmi.sh} /bin/sh ./qmi.sh qmi setup lte {"ifname":"wwan0","proto":"qmi","apn":"internet","
 1620 root      9024 S    uqmi -s -d /dev/cdc-wdm0 --wda-set-data-format 802.3
 1817 root      3072 S    grep qmi
config interface 'lte'
	option ifname 'wwan0'
	option proto 'qmi'
	option apn 'internet'
	option device '/dev/cdc-wdm0'
	option dhcp '1'
17.01.2017395Base systemBug ReportMediumLowmac80211.sh: detect_mac80211 should check available cha...TrunkNew Task Description

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

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

Default htmode

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

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

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

Default channel

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

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

After ~10 days of uptime, ath10k crashed and I could no longer associate.

Device: D-Link DAP-2695 rev A1
Running: LEDE r2370

Wireless config:

config wifi-device  radio0
        option type     mac80211
        option channel  100
        option country  BE
        option txpower  20
        option hwmode   11a
        option path     'pci0000:00/0000:00:00.0'
        option htmode   VHT80
        option disabled 0

config wifi-iface
        option device 'radio0'
        option ifname 'wlan0'
        option encryption 'psk2'
        option ieee80211d '1'
        option ieee80211w '1'
        option peerkey '1'
        option rsn_preauth '1'
        option network 'lan'
        option mode 'ap'
        option ssid 'xxxxxxxx'
        option key 'XXXXXXXX'

config wifi-iface
        option device 'radio0'
        option ifname 'wlan2'
        option encryption 'psk2'
        option ieee80211d '1'
        option ieee80211w '1'
        option peerkey '1'
        option rsn_preauth '0'
        option network 'guest'
        option mode 'ap'
        option ssid 'Guests'
        option key 'YYYYYYYY'
        #option disassoc_low_ack '0'

config wifi-device  radio1
        option type     mac80211
        option channel  1
        option country  BE
        option txpower  20
        option hwmode   11g
        option path     'platform/qca955x_wmac'
        option htmode   HT40
        #option noscan   1

config wifi-iface
        option device 'radio1'
        option ifname 'wlan1'
        option encryption 'psk2'
        option ieee80211d '1'
        option ieee80211w '1'
        option peerkey '1'
        option rsn_preauth '1'
        option mode 'ap'
        option network 'lan'
        option ssid 'xxxxxxxx'
        option key 'XXXXXXXX'

config wifi-iface
        option device 'radio1'
        option ifname 'wlan3'
        option encryption 'psk2'
        option ieee80211d '1'
        option ieee80211w '1'
        option peerkey '1'
        option rsn_preauth '0'
        option network 'guest'
        option mode 'ap'
        option ssid 'Guests'
        option key 'YYYYYYYY'
        #option disassoc_low_ack '0'

Kernel log:

[   54.439387] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   54.652312] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[   54.663197] ath10k_pci 0000:00:00.0: Falling back to user helper
[   54.742675] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[   54.752039] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/cal-pci-0000:00:00.0.bin failed with error -2
[   54.762568] ath10k_pci 0000:00:00.0: Falling back to user helper
[   61.648688] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   61.658088] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   61.671139] ath10k_pci 0000:00:00.0: firmware ver 10.2.4.70.54 api 5 features no-p2p,raw-mode,mfp crc32 9d340dd9
[   61.681571] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[   61.692178] ath10k_pci 0000:00:00.0: Falling back to user helper
[   61.771624] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[   61.786987] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   62.893736] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[   63.001904] ath: EEPROM regdomain: 0x0
[   63.001920] ath: EEPROM indicates default country code should be used
[   63.001928] ath: doing EEPROM country->regdmn map search
[   63.001945] ath: country maps to regdmn code: 0x3a
[   63.001955] ath: Country alpha2 being used: US
[   63.001963] ath: Regpair used: 0x3a
[   63.284566] ath: EEPROM regdomain: 0x0
[   63.284583] ath: EEPROM indicates default country code should be used
[   63.284591] ath: doing EEPROM country->regdmn map search
[   63.284608] ath: country maps to regdmn code: 0x3a
[   63.284617] ath: Country alpha2 being used: US
[   63.284625] ath: Regpair used: 0x3a
[   72.829974] ath: EEPROM regdomain: 0x8038
[   72.834045] ath: EEPROM indicates we should expect a country code
[   72.840265] ath: doing EEPROM country->regdmn map search
[   72.845651] ath: country maps to regdmn code: 0x37
[   72.850522] ath: Country alpha2 being used: BE
[   72.855022] ath: Regpair used: 0x37
[   72.858554] ath: regdomain 0x8038 dynamically updated by user
[   72.864452] ath: EEPROM regdomain: 0x8038
[   72.868513] ath: EEPROM indicates we should expect a country code
[   72.874707] ath: doing EEPROM country->regdmn map search
[   72.880092] ath: country maps to regdmn code: 0x37
[   72.884943] ath: Country alpha2 being used: BE
[   72.889458] ath: Regpair used: 0x37
[   72.892996] ath: regdomain 0x8038 dynamically updated by user
[920549.560152] ath10k_pci 0000:00:00.0: failed to delete peer c0:ee:fb:4a:18:b7 for vdev 0: -145
[920549.568951] ath10k_pci 0000:00:00.0: found sta peer c0:ee:fb:4a:18:b7 (ptr 8d43f600 id 95) entry on vdev 0 after it was supposedly removed
[920549.581722] ------------[ cut here ]------------
[920549.586618] WARNING: CPU: 0 PID: 1431 at compat-wireless-2016-10-08/net/mac80211/sta_info.c:964 sta_set_sinfo+0x92c/0x9e0 [mac80211]()
[920549.598968] Modules linked in: ath9k ath9k_common crc_ccitt ath9k_hw act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress ath10k_pci ath10k_core ath mac80211 cfg80211 compat gpio_button_hotplug
[920549.620582] CPU: 0 PID: 1431 Comm: hostapd Not tainted 4.4.35 #0
[920549.626772] Stack : 803c2d64 00000000 00000001 80420000 8fe26580 8040acc3 803a4424 00000597
[920549.626772]           8047379c 8ff8d000 00000000 77415e94 00000000 800a7198 803a9a90 80400000
[920549.626772]           00000003 8ff8d000 803a7e9c 8e5f3b2c 00000000 800a5114 80400000 00000000
[920549.626772]           00000001 801f3100 00000000 00000000 00000000 00000000 00000000 00000000
[920549.626772]           00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[920549.626772]           ...
[920549.663219] Call Trace:
[920549.665810] [<80071ae0>] show_stack+0x50/0x84
[920549.670323] [<80081860>] warn_slowpath_common+0xa0/0xd0
[920549.675724] [<80081918>] warn_slowpath_null+0x18/0x24
[920549.680994] [<8f5870a4>] sta_set_sinfo+0x92c/0x9e0 [mac80211]
[920549.686990] [<8f587188>] __sta_info_destroy+0x30/0x48 [mac80211]
[920549.693222] [<8f587238>] sta_info_destroy_addr_bss+0x38/0x60 [mac80211]
[920549.700118] [<8f54c144>] cfg80211_check_station_change+0xed8/0x1390 [cfg80211]
[920549.707564] 
[920549.709166] ---[ end trace e15a227055dd36c2 ]---
[920866.693883] ath10k_pci 0000:00:00.0: failed to install key for vdev 0 peer b0:df:3a:12:79:80: -145
[920866.703088] wlan0: failed to remove key (0, b0:df:3a:12:79:80) from hardware (-145)
[920866.719519] ath10k_pci 0000:00:00.0: cipher 0 is not supported
[920866.725602] ath10k_pci 0000:00:00.0: failed to remove peer wep key 0: -122
[920866.732670] ath10k_pci 0000:00:00.0: failed to clear all peer wep keys for vdev 0: -122
[920866.740901] ath10k_pci 0000:00:00.0: failed to disassociate station: b0:df:3a:12:79:80 vdev 0: -122
[920866.750169] ------------[ cut here ]------------
[920866.755066] WARNING: CPU: 0 PID: 1431 at compat-wireless-2016-10-08/net/mac80211/sta_info.c:956 sta_set_sinfo+0x8d8/0x9e0 [mac80211]()
[920866.767421] Modules linked in: ath9k ath9k_common crc_ccitt ath9k_hw act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress ath10k_pci ath10k_core ath mac80211 cfg80211 compat gpio_button_hotplug
[920866.789044] CPU: 0 PID: 1431 Comm: hostapd Tainted: G        W       4.4.35 #0
[920866.796465] Stack : 803c2d64 00000000 00000001 80420000 8fe26580 8040acc3 803a4424 00000597
[920866.796465]           8047379c 8ff8d000 00000000 77415e94 00000000 800a7198 803a9a90 80400000
[920866.796465]           00000003 8ff8d000 803a7e9c 8e5f3b2c 00000000 800a5114 00000000 00000000
[920866.796465]           80409dd0 801f3100 00000000 00000000 00000000 00000000 00000000 00000000
[920866.796465]           00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[920866.796465]           ...
[920866.832912] Call Trace:
[920866.835502] [<80071ae0>] show_stack+0x50/0x84
[920866.840016] [<80081860>] warn_slowpath_common+0xa0/0xd0
[920866.845417] [<80081918>] warn_slowpath_null+0x18/0x24
[920866.850691] [<8f587050>] sta_set_sinfo+0x8d8/0x9e0 [mac80211]
[920866.856685] [<8f587188>] __sta_info_destroy+0x30/0x48 [mac80211]
[920866.862914] [<8f587238>] sta_info_destroy_addr_bss+0x38/0x60 [mac80211]
[920866.869817] [<8f54c144>] cfg80211_check_station_change+0xed8/0x1390 [cfg80211]
[920866.877266] 
[920866.878867] ---[ end trace e15a227055dd36c3 ]---
[920869.873901] ath10k_pci 0000:00:00.0: failed to delete peer b0:df:3a:12:79:80 for vdev 0: -11
[920869.882572] ath10k_pci 0000:00:00.0: found sta peer b0:df:3a:12:79:80 (ptr 8f3f3000 id 243) entry on vdev 0 after it was supposedly removed
[920872.893898] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[920875.893871] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[920878.913873] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[920881.913852] ath10k_pci 0000:00:00.0: failed to set protection mode 0 on vdev 0: -11
[920884.913828] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[920887.923826] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 1: -11
[920890.923830] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 1: -11
[920893.933787] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 1: -11
[920896.933770] ath10k_pci 0000:00:00.0: failed to set protection mode 0 on vdev 1: -11
[920899.933771] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 1: -11

Kernel log after running “wifi” in the crashed state:

[921144.042842] ath10k_pci 0000:00:00.0: failed to install key for vdev 0 peer 9c:d6:43:29:cc:18: -11
[921144.051948] wlan0: failed to remove key (2, ff:ff:ff:ff:ff:ff) from hardware (-11)
[921147.052846] ath10k_pci 0000:00:00.0: failed to install key for vdev 0 peer 9c:d6:43:29:cc:18: -11
[921147.061984] wlan0: failed to set key (2, ff:ff:ff:ff:ff:ff) to hardware (-11)
[921150.082845] ath10k_pci 0000:00:00.0: failed to install key for vdev 1 peer 9e:d6:43:29:cc:18: -11
[921150.092017] wlan2: failed to remove key (2, ff:ff:ff:ff:ff:ff) from hardware (-11)
[921153.092796] ath10k_pci 0000:00:00.0: failed to install key for vdev 1 peer 9e:d6:43:29:cc:18: -11
[921153.101928] wlan2: failed to set key (2, ff:ff:ff:ff:ff:ff) to hardware (-11)
[932082.286927] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[932390.335807] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[932607.674665] ath10k_pci 0000:00:00.0: failed to down vdev_id 1: -11
[932610.674753] ath10k_pci 0000:00:00.0: failed to stop WMI vdev 1: -11
[932610.682338] ath10k_pci 0000:00:00.0: failed to stop vdev 1: -11
[932613.684666] ath10k_pci 0000:00:00.0: failed to install key for vdev 1 peer 9e:d6:43:29:cc:18: -11
[932613.694955] wlan2: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-11)
[932616.694882] ath10k_pci 0000:00:00.0: failed to submit AP/IBSS self-peer removal on vdev 1: -11
[932619.694635] ath10k_pci 0000:00:00.0: failed to delete WMI vdev 1: -11
[932622.694758] ath10k_pci 0000:00:00.0: failed to remove AP self-peer on vdev 1: -145
[932622.704039] ath10k_pci 0000:00:00.0: found vif peer 9e:d6:43:29:cc:18 entry on vdev 1 after it was supposedly removed
[932622.715667] ath10k_pci 0000:00:00.0: removing stale peer 9e:d6:43:29:cc:18 from vdev_id 1
[932622.724455] br-guest: port 3(wlan2) entered disabled state
[932622.796620] device wlan2 left promiscuous mode
[932622.802446] br-guest: port 3(wlan2) entered disabled state
[932622.856835] br-guest: port 2(wlan3) entered disabled state
[932622.885493] device wlan3 left promiscuous mode
[932622.891306] br-guest: port 2(wlan3) entered disabled state
[932622.935955] device wlan0 left promiscuous mode
[932622.940833] br-lan: port 2(wlan0) entered disabled state
[932622.976382] device wlan1 left promiscuous mode
[932622.981149] br-lan: port 3(wlan1) entered disabled state
[932626.004584] ath10k_pci 0000:00:00.0: failed to down vdev_id 0: -11
[932629.004572] ath10k_pci 0000:00:00.0: failed to stop WMI vdev 0: -11
[932629.011031] ath10k_pci 0000:00:00.0: failed to stop vdev 0: -11
[932634.014537] ath10k_pci 0000:00:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
[932637.034556] ath10k_pci 0000:00:00.0: failed to install key for vdev 0 peer 9c:d6:43:29:cc:18: -11
[932637.043707] wlan0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-11)
[932640.044532] ath10k_pci 0000:00:00.0: failed to submit AP/IBSS self-peer removal on vdev 0: -11
[932643.044507] ath10k_pci 0000:00:00.0: failed to delete WMI vdev 0: -11
[932646.044501] ath10k_pci 0000:00:00.0: failed to remove AP self-peer on vdev 0: -145
[932646.052277] ath10k_pci 0000:00:00.0: found vif peer 9c:d6:43:29:cc:18 entry on vdev 0 after it was supposedly removed
[932646.063205] ath10k_pci 0000:00:00.0: removing stale peer 9c:d6:43:29:cc:18 from vdev_id 0
[932652.064468] ath10k_pci 0000:00:00.0: could not suspend target (-11)
[932653.410146] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[932654.710106] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[932654.716877] device wlan1 entered promiscuous mode
[932654.755523] device wlan0 entered promiscuous mode
[932655.397455] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[932655.404141] br-lan: port 3(wlan0) entered forwarding state
[932655.409904] br-lan: port 3(wlan0) entered forwarding state
[932655.426138] device wlan2 entered promiscuous mode
[932655.445231] IPv6: ADDRCONF(NETDEV_UP): wlan2: link is not ready
[932655.451454] br-guest: port 2(wlan2) entered forwarding state
[932655.457370] br-guest: port 2(wlan2) entered forwarding state
[932655.714483] br-guest: port 2(wlan2) entered disabled state
[932655.842761] IPv6: ADDRCONF(NETDEV_CHANGE): wlan2: link becomes ready
[932655.849460] br-guest: port 2(wlan2) entered forwarding state
[932655.855380] br-guest: port 2(wlan2) entered forwarding state
[932656.428869] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[932656.435563] br-lan: port 2(wlan1) entered forwarding state
[932656.441274] br-lan: port 2(wlan1) entered forwarding state
[932656.466101] device wlan3 entered promiscuous mode
[932656.477745] IPv6: ADDRCONF(NETDEV_UP): wlan3: link is not ready
[932656.483865] br-guest: port 3(wlan3) entered forwarding state
[932656.489791] br-guest: port 3(wlan3) entered forwarding state
[932656.714486] br-guest: port 3(wlan3) entered disabled state
[932656.869320] IPv6: ADDRCONF(NETDEV_CHANGE): wlan3: link becomes ready
[932656.876022] br-guest: port 3(wlan3) entered forwarding state
[932656.881921] br-guest: port 3(wlan3) entered forwarding state
[932657.404425] br-lan: port 3(wlan0) entered forwarding state
[932657.854498] br-guest: port 2(wlan2) entered forwarding state
[932658.434436] br-lan: port 2(wlan1) entered forwarding state
[932658.874432] br-guest: port 3(wlan3) entered forwarding state
[932680.425787] br-guest: port 3(wlan3) entered disabled state
[932680.442596] device wlan3 left promiscuous mode
[932680.447279] br-guest: port 3(wlan3) entered disabled state
[932680.467863] br-guest: port 2(wlan2) entered disabled state
[932680.485729] device wlan2 left promiscuous mode
[932680.490436] br-guest: port 2(wlan2) entered disabled state
[932680.505002] device wlan1 left promiscuous mode
[932680.509700] br-lan: port 2(wlan1) entered disabled state
[932680.523775] device wlan0 left promiscuous mode
[932680.528530] br-lan: port 3(wlan0) entered disabled state
[932683.130864] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[932683.169412] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[932683.183967] device wlan0 entered promiscuous mode
[932683.197266] device wlan1 entered promiscuous mode
[932683.813544] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[932683.820249] br-lan: port 2(wlan0) entered forwarding state
[932683.826004] br-lan: port 2(wlan0) entered forwarding state
[932683.841229] device wlan2 entered promiscuous mode
[932683.857367] IPv6: ADDRCONF(NETDEV_UP): wlan2: link is not ready
[932683.863484] br-guest: port 2(wlan2) entered forwarding state
[932683.869386] br-guest: port 2(wlan2) entered forwarding state
[932684.174365] br-guest: port 2(wlan2) entered disabled state
[932684.265577] IPv6: ADDRCONF(NETDEV_CHANGE): wlan2: link becomes ready
[932684.272265] br-guest: port 2(wlan2) entered forwarding state
[932684.278193] br-guest: port 2(wlan2) entered forwarding state
[932684.868399] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[932684.875079] br-lan: port 3(wlan1) entered forwarding state
[932684.880820] br-lan: port 3(wlan1) entered forwarding state
[932684.905988] device wlan3 entered promiscuous mode
[932684.912111] IPv6: ADDRCONF(NETDEV_UP): wlan3: link is not ready
[932684.918275] br-guest: port 3(wlan3) entered forwarding state
[932684.924142] br-guest: port 3(wlan3) entered forwarding state
[932685.174351] br-guest: port 3(wlan3) entered disabled state
[932685.305978] IPv6: ADDRCONF(NETDEV_CHANGE): wlan3: link becomes ready
[932685.312646] br-guest: port 3(wlan3) entered forwarding state
[932685.318582] br-guest: port 3(wlan3) entered forwarding state
[932685.824311] br-lan: port 2(wlan0) entered forwarding state
[932686.274310] br-guest: port 2(wlan2) entered forwarding state
[932686.874321] br-lan: port 3(wlan1) entered forwarding state
[932687.314318] br-guest: port 3(wlan3) entered forwarding state

After running wifi, I am able to connect again.

MAC addresses found in logs:
9c:d6:43:29:cc:18: DAP-2695, wlan0
9e:d6:43:29:cc:18: DAP-2695, wlan2

c0:ee:fb:4a:18:b7: OnePlus 2, Android 6.0.1
b0:df:3a:12:79:80: Samsung SM-T520, Android 5.1.1

14.10.2016227Base systemBug ReportMediumHighVLAN support mismatch between preinit and default netwo...TrunkResearching Task Description

PPPoE is broken on WRT1900ACS

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

pppd debug log:

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

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

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

20.08.2016105Base systemBug ReportMediumMediumlantiq: high latency on adsl lines using pppo[ae]TrunkAssigned Task Description

based on the thread
[LEDE-DEV] [OpenWrt-Devel] latency on PPPoA ADSL Annex A on using Lantiq

http://lists.infradead.org/pipermail/lede-dev/2016-August/002138.html

When using ssh onto the box via adsl, there is a high latency.
The last 3.18 version of lede works. Known good:

  • 161179f40bd7899516518f3844fea28c6dd86efc r47130

Known broken versions:

  • 2795592d913ba8ba57ba537d40714407ea463426 r47131
  • 2a0e1b7f8d59f795abb29d20007822f0da232c43 r47958

mkresin also has a patch for lantiq+4.0, which also has a high latency.
blogic mentioned linux commit 7424ce65065852bdf7a040bf2490da4a8fc4b464 [atm] switch vcc_sendmsg() to copy_from_iter() could be the issue.

Also an interesting side-effect. setup a uhttpd on the device and serve a file to the internet is very slow (using 4mb file random data). it only uploads 5kb/s

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

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

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

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

To reproduce:

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

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

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

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

27.08.2017984Base systemBug ReportLowLowmxs: build failure: u-boot 2016.01 fails to build with ...lede-17.01New Task Description

While test-building all architectures on latest lede-17.01 (https://git.lede-project.org/dc8392f6a) with CONFIG_ALL_KMODS=y, I bumped on this build failure for mxs:

make[3]: Entering directory '/home/bjonglez/lede-17.01/package/boot/uboot-mxs'     
make -C /home/bjonglez/lede-17.01/build_dir/target-arm_arm926ej-s_musl-1.1.16_eabi/u-boot-duckbill/u-boot-2016.01 CROSS_COMPILE=arm-openwrt-linux-muslgnueabi- u-boot.sb
make[4]: Entering directory '/home/bjonglez/lede-17.01/build_dir/target-arm_arm926ej-s_musl-1.1.16_eabi/u-boot-duckbill/u-boot-2016.01'
  CHK     include/config/uboot.release
  CHK     include/generated/version_autogenerated.h
  CHK     include/generated/timestamp_autogenerated.h
  CHK     include/generated/generic-asm-offsets.h
  CHK     include/generated/asm-offsets.h
  HOSTCC  tools/mxsimage.o
tools/mxsimage.c:147:19: error: field 'cipher_ctx' has incomplete type
  EVP_CIPHER_CTX   cipher_ctx;
                   ^~~~~~~~~~
tools/mxsimage.c:148:15: error: field 'md_ctx' has incomplete type
  EVP_MD_CTX   md_ctx;
               ^~~~~~
tools/mxsimage.c: In function 'sb_postfill_image_header':
tools/mxsimage.c:1325:13: error: storage size of 'md_ctx' isn't known
  EVP_MD_CTX md_ctx;
             ^~~~~~
tools/mxsimage.c:1325:13: warning: unused variable 'md_ctx' [-Wunused-variable]
tools/mxsimage.c: In function 'sb_verify_image_header':
tools/mxsimage.c:1624:13: error: storage size of 'md_ctx' isn't known
  EVP_MD_CTX md_ctx;
             ^~~~~~
tools/mxsimage.c:1624:13: warning: unused variable 'md_ctx' [-Wunused-variable]
scripts/Makefile.host:108: recipe for target 'tools/mxsimage.o' failed
make[5]: *** [tools/mxsimage.o] Error 1
Makefile:1211: recipe for target 'tools' failed
make[4]: *** [tools] Error 2
make[4]: Leaving directory '/home/bjonglez/lede-17.01/build_dir/target-arm_arm926ej-s_musl-1.1.16_eabi/u-boot-duckbill/u-boot-2016.01'
Makefile:93: recipe for target '/home/bjonglez/lede-17.01/build_dir/target-arm_arm926ej-s_musl-1.1.16_eabi/u-boot-duckbill/u-boot-2016.01/.built' failed
make[3]: *** [/home/bjonglez/lede-17.01/build_dir/target-arm_arm926ej-s_musl-1.1.16_eabi/u-boot-duckbill/u-boot-2016.01/.built] Error 2
make[3]: Leaving directory '/home/bjonglez/lede-17.01/package/boot/uboot-mxs'
package/Makefile:105: recipe for target 'package/boot/uboot-mxs/compile' failed
make[2]: *** [package/boot/uboot-mxs/compile] Error 2

It looks like an API issue with host OpenSSL 1.1, similar to  FS#182 

27.08.2017983Base systemBug ReportLowLowuml: build failure: module mwifiex_sdio.ko is missinglede-17.01New Task Description

While test-building all architectures on latest lede-17.01 (https://git.lede-project.org/dc8392f6a) with CONFIG_ALL_KMODS=y, I bumped on this build failure for uml:

if [ -f /home/bjonglez/lede-17.01/staging_dir/target-x86_64_musl-1.1.16/pkginfo/mac80211.default.install.clean ]; then rm -f /home/bjonglez/lede-17.01/staging_dir/target-x86_64_musl-1.1.16/pkginfo/mac80211.default.install /home/bjonglez/lede-17.01/staging_dir/target-x86_64_musl-1.1.16/pkginfo/mac80211.default.install.clean; fi
mkdir -p /home/bjonglez/lede-17.01/bin/targets/uml/generic/packages /home/bjonglez/lede-17.01/build_dir/target-x86_64_musl-1.1.16/linux-uml/compat-wireless-2017-01-31/ipkg-x86_64/kmod-mwifiex-sdio/CONTROL /home/bjonglez/lede-17.01/staging_dir/target-x86_64_musl-1.1.16/pkginfo
ERROR: module '/home/bjonglez/lede-17.01/build_dir/target-x86_64_musl-1.1.16/linux-uml/compat-wireless-2017-01-31/drivers/net/wireless/marvell/mwifiex/mwifiex_sdio.ko'
is missing.
Makefile:1814: recipe for target '/home/bjonglez/lede-17.01/bin/targets/uml/generic/packages/kmod-mwifiex-sdio_4.4.83+2017-01-31-2_x86_64.ipk' failed
make[3]: *** [/home/bjonglez/lede-17.01/bin/targets/uml/generic/packages/kmod-mwifiex-sdio_4.4.83+2017-01-31-2_x86_64.ipk] Error 1
make[3]: Leaving directory '/home/bjonglez/lede-17.01/package/kernel/mac80211'
package/Makefile:105: recipe for target 'package/kernel/mac80211/compile' failed
make[2]: *** [package/kernel/mac80211/compile] Error 2
27.08.2017982Base systemBug ReportLowLowimx6: build failure: kmod-ath10k-ct is missing dependen...lede-17.01New Task Description

While test-building all architectures on latest lede-17.01 (https://git.lede-project.org/dc8392f6a) with CONFIG_ALL_KMODS=y, I bumped on this build failure for imx6:

find /home/bjonglez/lede-17.01/build_dir/target-arm_cortex-a9+neon_musl-1.1.16_eabi/linux-imx6/ath10k-ct-2017-01-26-d2bc84ff/ipkg-arm_cortex-a9_neon/kmod-ath10k-ct -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
Package kmod-ath10k-ct is missing dependencies for the following libraries:
hwmon.ko
Makefile:83: recipe for target '/home/bjonglez/lede-17.01/bin/targets/imx6/generic/packages/kmod-ath10k-ct_4.4.83+2017-01-26-d2bc84ff-1_arm_cortex-a9_neon.ipk' failed
make[3]: *** [/home/bjonglez/lede-17.01/bin/targets/imx6/generic/packages/kmod-ath10k-ct_4.4.83+2017-01-26-d2bc84ff-1_arm_cortex-a9_neon.ipk] Error 1
make[3]: Leaving directory '/home/bjonglez/lede-17.01/package/kernel/ath10k-ct'
package/Makefile:105: recipe for target 'package/kernel/ath10k-ct/compile' failed

It looks similar to  FS#226  that was fixed in https://git.lede-project.org/5f9598a but it seems that the fix was not enough for this target.

27.08.2017981KernelBug ReportLowLowarc770: build failure: xtables-addons fails to build LU...lede-17.01New Task Description

While test-building all architectures on latest lede-17.01 (https://git.lede-project.org/dc8392f6a) with CONFIG_ALL_KMODS=y, I bumped on this build failure for arc770:

make[7]: Entering directory '/home/bjonglez/lede-17.01/build_dir/target-arc_arc700_uClibc-1.0.14/linux-arc770_generic/linux-4.4.83'
  CC [M]  /home/bjonglez/lede-17.01/build_dir/target-arc_arc700_uClibc-1.0.14/linux-arc770_generic/xtables-addons-2.11/extensions/LUA/lua/llex.o
In file included from <command-line>:0:0:
/home/bjonglez/lede-17.01/build_dir/target-arc_arc700_uClibc-1.0.14/linux-arc770_generic/xtables-addons-2.11/extensions/LUA/lua/llex.c: In function 'inclinenumber':
././arch/arc/include/asm/current.h:20:17: error: expected identifier before '(' token
 #define current (curr_arc)
                 ^
/home/bjonglez/lede-17.01/build_dir/target-arc_arc700_uClibc-1.0.14/linux-arc770_generic/xtables-addons-2.11/extensions/LUA/lua/llex.c:127:17: note: in expansion of macro 'current'
   int old = ls->current;
                 ^
././arch/arc/include/asm/current.h:20:17: error: expected identifier before '(' token
 #define current (curr_arc)
                 ^
/home/bjonglez/lede-17.01/build_dir/target-arc_arc700_uClibc-1.0.14/linux-arc770_generic/xtables-addons-2.11/extensions/LUA/lua/llex.c:27:23: note: in expansion of macro 'current'
 #define next(ls) (ls->current = zgetc(ls->z))
                       ^
/home/bjonglez/lede-17.01/build_dir/target-arc_arc700_uClibc-1.0.14/linux-arc770_generic/xtables-addons-2.11/extensions/LUA/lua/llex.c:129:3: note: in expansion of macro 'next'
   next(ls);  /* skip `\n' or `\r' */
   ^

The failure is in the LUA extension to xtables-addons, and seems to be caused by a name collision with the following #define in arch/arc/include/asm/current.h in the kernel:

#define current (curr_arc)

I’m not sure this ever worked...

25.02.2017555KernelBug ReportLowLowmac80211/ath9k warning: Rate marked as an HT rate but p...lede-17.01New Task Description

I have been using LEDE 17.01 on a WR841N v8, with a simple 2.4 GHz AP (’mixed-psk’ security).

Recently I have seen this kernel warning in the logs: it might be nothing or it might be something important, who knows.

Feb 23 17:23:59 AP4 kernel: [62871.843902] ------------[ cut here ]------------
Feb 23 17:23:59 AP4 kernel: [62871.848752] WARNING: CPU: 0 PID: 0 at compat-wireless-2016-10-08/net/mac80211/rx.c:4180 0x80e2529c [mac80211@80e00000+0x5f500]()
Feb 23 17:23:59 AP4 kernel: [62871.860717] Rate marked as an HT rate but passed status->rate_idx is not an MCS index [0-76]: 113 (0x71)
Feb 23 17:23:59 AP4 kernel: [62871.870518] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack ipta
Feb 23 17:23:59 AP4 kernel: [62871.930136] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.50 #0
Feb 23 17:23:59 AP4 kernel: [62871.936073] Stack : 80386534 00000000 00000001 803e0000 00000000 00000000 00000000 00000000
Feb 23 17:23:59 AP4 kernel: [62871.936073] #011  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 23 17:23:59 AP4 kernel: [62871.936073] #011  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 23 17:23:59 AP4 kernel: [62871.936073] #011  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 23 17:23:59 AP4 kernel: [62871.936073] #011  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 23 17:23:59 AP4 kernel: [62871.936073] #011  ...
Feb 23 17:23:59 AP4 kernel: [62871.973122] Call Trace:[<80071a50>] 0x80071a50
Feb 23 17:23:59 AP4 kernel: [62871.977762] [<80071a50>] 0x80071a50
Feb 23 17:23:59 AP4 kernel: [62871.981372] [<800817e8>] 0x800817e8
Feb 23 17:23:59 AP4 kernel: [62871.984987] [<80e2529c>] 0x80e2529c [mac80211@80e00000+0x5f500]
Feb 23 17:23:59 AP4 kernel: [62871.991120] [<80081844>] 0x80081844
Feb 23 17:23:59 AP4 kernel: [62871.994729] [<802a385c>] 0x802a385c
Feb 23 17:23:59 AP4 kernel: [62871.998352] [<80e2529c>] 0x80e2529c [mac80211@80e00000+0x5f500]
Feb 23 17:23:59 AP4 kernel: [62872.004468] [<8025fea8>] 0x8025fea8
Feb 23 17:23:59 AP4 kernel: [62872.008086] [<8026008c>] 0x8026008c
Feb 23 17:23:59 AP4 kernel: [62872.011694] [<80d08388>] 0x80d08388 [ath9k_common@80d08000+0x47e0]
Feb 23 17:23:59 AP4 kernel: [62872.018112] [<81ba77dc>] 0x81ba77dc [ath9k@81ba0000+0x16650]
Feb 23 17:23:59 AP4 kernel: [62872.023975] [<81ba77bc>] 0x81ba77bc [ath9k@81ba0000+0x16650]
Feb 23 17:23:59 AP4 kernel: [62872.029854] [<81ba4a44>] 0x81ba4a44 [ath9k@81ba0000+0x16650]
Feb 23 17:23:59 AP4 kernel: [62872.035704] [<800843a8>] 0x800843a8
Feb 23 17:23:59 AP4 kernel: [62872.039327] [<80083d64>] 0x80083d64
Feb 23 17:23:59 AP4 kernel: [62872.042937] [<800a7e08>] 0x800a7e08
Feb 23 17:23:59 AP4 kernel: [62872.046547] [<8006a950>] 0x8006a950
Feb 23 17:23:59 AP4 kernel: [62872.050169] [<80060bf4>] 0x80060bf4
Feb 23 17:23:59 AP4 kernel: [62872.053769] 
Feb 23 17:23:59 AP4 kernel: [62872.055314] ---[ end trace 90699e3e72694b86 ]---
Feb 23 17:24:02 AP4 kernel: [62875.131392] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00024300


19.06.20181595KernelBug ReportVery LowLowMT7621: MTU limited to 2048 despite the hardware suppor...TrunkUnconfirmed Task Description

Device: UniElec U7621-06
OpenWrt/LEDE version: Trunk

According to the spec sheet, MT7621 should support 9K Jumbo Frame, but the MTU is limited to 2048 in target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_eth_soc.c :

	if (IS_ENABLED(CONFIG_SOC_MT7621))
		netdev->max_mtu = 2048;
19.06.20181594Base systemBug ReportVery LowLowlibatomic is missing for bind-libsTrunkUnconfirmed Task Description

- Device problem occurs on

fail to compile k2t image due to “Package bind-libs is missing dependencies for the following libraries:
libatomic.so.1”

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

trunk at commint c49ae68cbaf078a3dacaebf453d9e7ece2e861f5

- Steps to reproduce

clone the trunk source and build image for k2t
i can find package libatomic define in the source file: /package/libs/toolchain/Makefile
but when i run “make menuconfig” the package did not shows up
I’m pretty sure i ran “./scripts/feeds update -a && ./scripts/feeds install -a” before the “make menuconfig”

18.06.20181593PackagesBug ReportVery LowHighCan not compile openwrt-18.06 branch -> usbip patch fai...openwrt-18.06Unconfirmed Task Description

Can not compile openwrt-18.06 branch → usbip patch failed.

patching file src/usbipd.c
Hunk #1 FAILED at 453

Affected patch: ./patches-2.0/100-musl-compat-patch

CONFIG_PACKAGE_kmod-usbip=n
CONFIG_PACKAGE_kmod-usbip-server=n
CONFIG_PACKAGE_kmod-usbip-client=n

in .config did not work for me

17.06.20181592PackagesBug ReportVery LowHighmap.sh failing to do MTU:1460bytes lede-17.01Waiting on reporter Task Description

- Device problem occurs on
Buffalo BHR-4GRV

- Software versions of OpenWrt/LEDE release, packages, etc.
Reboot (17.01.4, r3560-79f57e422d)

- Steps to reproduce
Somewhat relevant to the bug report on map.sh from a few days ago, I also discovered the following :

While the MTU of the IPv4-over-IPv6 tunnel created by that script may be set to 1460bytes in /etc/config/network, the actual tunnel will only achieve 1452bytes when tested with ping at DF=1.

FYI, the MAP-E service I am using (called “v6plus” provided by JPNE, AS2516) runs on the 1500byte-MTU for IPv6 and is known to support 1460bytes.
You may also see this on the page of YAMAHA, for their brand-new firmware released for RTX1210 router. (http://www.rtpro.yamaha.co.jp/RT/docs/v6plus/index.html - in Japanese)

BTW, the MTU of such tunnels being limited to some value that is 8bytes less than what is theoretically possible on Linux-based systems is something I’ve seen before and it has something to do with encapsulation limit option (which can be disabled).
If this were on Debian/Ubuntu I would do something like this - or else I get the 1452bytes with extra 8bytes subtracted from 1460bytes for MTU.

pre-up ip tunnel add ${IFACE} mode ipip6 remote <REMOTE> local <LOCAL> encaplimit none

Now, I tried to see how I could do the same on OpenWrt - and since I did not know how scripts brought up tunnels precisely, I began by seeing if any other implementations for OpenWrt using IPv4-over-IPv6 tunnel behaved any differently. I discovered that the dslite.sh in the package ds-lite installed on BHR-4GRV actually does the 1460bytes-MTU when tested with my server on AS9370 (Sakura Internet, with the MTU at 1500bytes for the L3, behaving as a simulated CGN of DS-Lite). I then tried to see if those two scripts did anything different with respect to creating tunnels. Unfortunately, I was not able to spot any notable differences (or maybe I should have gone further with the investigation).

I know this is most likely a simple fix, and maybe the most I need to get from this bug report is the info on what to look into rather than actually filing a bug report. Any helpful info is appreciated since I do intend to work on this by myself.

Thanks

17.06.20181591Base systemBug ReportVery LowLowprocd: May hangs during reboot because of netdevice ref...lede-17.01Unconfirmed Task Description

- Device problem occurs on: Basically all I’ve tested (ar71xx, ipq806x, ipq40xx, ...)
- Software versions of OpenWrt/LEDE: LEDE 17.01x
- Steps to reproduce: Install the attached package, boot the system, try to reboot it

It was observed that OpenWrt sometimes prints

 unregister_netdevice: waiting for br-lan to become free. Usage count = 1

and then hangs indefinitely when trying to reboot. Doing a hard reset seems to the the only way to resolve this problem.

I didn’t have such problems with a systemd based Debian Stretch system and the same trigger kernel module

16.06.20181590Base systemBug ReportVery LowHighadsl bug with nic-nas0lede-17.01Unconfirmed Task Description

Hi!
I have device Netgear DGN3500 with firmware
LEDE Reboot 17.01-SNAPSHOT r3896-6eec0e46ed / LuCI lede-17.01 branch (git-18.143.19815-d585fd7)
Custom, with luci, openvpn,wireguard etc.

Configuration:

root@LEDE:~# cat /etc/config/network

config interface ‘loopback’

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

config globals ‘globals’

option ula_prefix 'fdab:469b:8ee8::/48'

config atm-bridge ‘atm’

option vpi '0'
option vci '33'
option encaps 'llc'
option payload 'routed'

config dsl ‘dsl’

option annex 'a'
option firmware '/lib/firmware/adsl.bin'

config interface ‘lan’

option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'

config interface ‘wan’

option ifname 'nas0'
option proto 'pppoe'
option username 'myuser'
option password 'mypassword'
option ipv6 '1'

config interface ‘wan6’

option ifname '@wan'
option proto 'dhcpv6'

config switch

option name 'switch0'
option reset '1'
option enable_vlan '1'

config switch_vlan

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

Interfaces:
root@LEDE:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1

  link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  inet 127.0.0.1/8 scope host lo
     valid_lft forever preferred_lft forever
  inet6 ::1/128 scope host 
     valid_lft forever preferred_lft forever

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UNKNOWN group default qlen 1000

  link/ether 00:11:22:33:44:55 brd ff:ff:ff:ff:ff:ff
  inet6 fe80::211:22ff:fe33:4455/64 scope link 
     valid_lft forever preferred_lft forever

3: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1

  link/sit 0.0.0.0 brd 0.0.0.0

4: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000

  link/ether e0:46:9a:ae:f0:d7 brd ff:ff:ff:ff:ff:ff

5: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000

  link/ether 00:11:22:33:44:55 brd ff:ff:ff:ff:ff:ff
  inet 192.168.1.1/24 brd 192.168.1.255 scope global br-lan
     valid_lft forever preferred_lft forever
  inet6 fdab:469b:8ee8::1/60 scope global noprefixroute 
     valid_lft forever preferred_lft forever
  inet6 fe80::211:22ff:fe33:4455/64 scope link 
     valid_lft forever preferred_lft forever

6: eth0.1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP group default qlen 1000

  link/ether 00:11:22:33:44:55 brd ff:ff:ff:ff:ff:ff

7: nas0: <POINTOPOINT,MULTICAST,NOARP> mtu 1500 qdisc fq_codel state DOWN group default qlen 100

  link/ppp

DSL status:

root@LEDE:~# /etc/init.d/dsl_control status
ATU-C Vendor ID: Broadcom 98.145
ATU-C System Vendor ID: 00,00,00,00,00,00,00,00
Chipset: Ifx-AR9 1.2
Firmware Version: 4.4.4.0.0.1
API Version: 3.24.4.4
XTSE Capabilities: 0×4, 0×0, 0×0, 0×0, 0×0, 0×0, 0×0, 0×0 Annex: A
Line Mode: G.992.1 (ADSL)
Profile:
Line State: UP [0×801: showtime_tc_sync]
Forward Error Correction Seconds (FECS): Near: 0 / Far: 0
Errored seconds (ES): Near: 0 / Far: 0
Severely Errored Seconds (SES): Near: 0 / Far: 0
Loss of Signal Seconds (LOSS): Near: 0 / Far: 0
Unavailable Seconds (UAS): Near: 22 / Far: 22
Header Error Code Errors (HEC): Near: 0 / Far: 0
Non Pre-emtive CRC errors (CRC_P): Near: / Far:
Pre-emtive CRC errors (CRCP_P): Near: / Far:
Power Management Mode: L0 - Synchronized
Latency / Interleave Delay: Down: Interleave (8.0 ms) / Up: Interleave (8.0 ms)
Data Rate: Down: 6.144 Mb/s / Up: 1.024 Mb/s
Line Attenuation (LATN): Down: 13.6dB / Up: 9.0dB
Signal Attenuation (SATN): Down: 15.5dB / Up: 9.0dB
Noise Margin (SNR): Down: 26.2dB / Up: 13.0dB
Aggregate Transmit Power (ACTATP): Down: 19.6dB / Up: 12.2dB
Max. Attainable Data Rate (ATTNDR): Down: 10.416 Mb/s / Up: 1.200 Mb/s
Line Uptime Seconds: 44
Line Uptime: 44s

When i connect to wan
ifup wan
i have error in log

Fri May 25 04:22:43 2018 kern.err kernel: [ 9629.170138] [DSL_BSP_Showtime 894]: Datarate US intl = 1024000, fast = 0
Fri May 25 04:22:43 2018 kern.warn kernel: [ 9629.175501] enter showtime, cell rate: 0 - 2415, 1 - 2415, xdata addr: 0x82f30000
Fri May 25 04:22:43 2018 kern.info kernel: [ 9629.183136] IPv6: ADDRCONF(NETDEV_CHANGE): nas0: link becomes ready
Fri May 25 04:22:43 2018 daemon.notice netifd: Network device ‘nas0’ link is up
Fri May 25 04:22:43 2018 daemon.notice netifd: Interface ‘wan’ has link connectivity
Fri May 25 04:22:43 2018 daemon.notice netifd: Interface ‘wan’ is setting up now
Fri May 25 04:22:43 2018 daemon.info pppd[4608]: Plugin rp-pppoe.so loaded.
Fri May 25 04:22:43 2018 daemon.info pppd[4608]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Fri May 25 04:22:43 2018 daemon.notice netifd: wan (4608): /usr/sbin/pppd: unrecognized option ‘nic-nas0’ Fri May 25 04:22:43 2018 daemon.err pppd[4608]: unrecognized option ‘nic-nas0’ Fri May 25 04:22:43 2018 daemon.notice netifd: wan (4608): pppd version 2.4.7
Fri May 25 04:22:43 2018 daemon.notice netifd: wan (4608): Usage: /usr/sbin/pppd [ options ], where options are:
Fri May 25 04:22:43 2018 daemon.notice netifd: wan (4608): <device> Communicate over the named device
Fri May 25 04:22:43 2018 daemon.notice netifd: wan (4608): <speed> Set the baud rate to <speed>
Fri May 25 04:22:43 2018 daemon.notice netifd: wan (4608): <loc>:<rem> Set the local and/or remote interface IP
Fri May 25 04:22:43 2018 daemon.notice netifd: wan (4608): addresses. Either one may be omitted.
Fri May 25 04:22:43 2018 daemon.notice netifd: wan (4608): asyncmap <n> Set the desired async map to hex <n>
Fri May 25 04:22:43 2018 daemon.notice netifd: wan (4608): auth Require authentication from peer
Fri May 25 04:22:43 2018 daemon.notice netifd: wan (4608): connect <p> Invoke shell command <p> to set up the serial line
Fri May 25 04:22:43 2018 daemon.notice netifd: wan (4608): crtscts Use hardware RTS/CTS flow control
Fri May 25 04:22:43 2018 daemon.notice netifd: wan (4608): defaultroute Add default route through interface
Fri May 25 04:22:43 2018 daemon.notice netifd: wan (4608): file <f> Take options from file <f>
Fri May 25 04:22:43 2018 daemon.notice netifd: wan (4608): modem Use modem control lines
Fri May 25 04:22:43 2018 daemon.notice netifd: wan (4608): mru <n> Set MRU value to <n> for negotiation
Fri May 25 04:22:43 2018 daemon.notice netifd: wan (4608): See pppd(8) for more options.
Fri May 25 04:22:44 2018 daemon.notice netifd: Interface ‘wan’ is now down
Fri May 25 04:22:44 2018 daemon.notice netifd: Interface ‘wan’ is disabled
Fri May 25 04:22:44 2018 daemon.notice netifd: Network device ‘nas0’ link is down
Fri May 25 04:22:44 2018 daemon.notice netifd: Interface ‘wan’ has link connectivity loss

What is “unrecognized option ‘nic-nas0’”
Can you help me? Thx

12.06.20181587KernelBug ReportVery LowCriticalQca9887 ath10K drive crashlede-17.01Unconfirmed Task Description

MINIBOX V3.2
CPU:QCA9531
FLASH:16M
RAM:128M
5G chip:QCA9887

 
[    0.000000] Linux version 4.9.107 (root@lede) (gcc version 7.3.0 (lede) ) #0 Sun Jun 10 14:03:23 2018
[    0.000000] MyLoader: sysp=cd03e8c7, boardp=565c9627, parts=9b565cbd
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat 8041ea74, node_mem_map 81000020
[    0.000000]   Normal zone: 256 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 in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=MINIBOX_V3_2  console=ttyS0,115200 rootfstype=squashfs noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 125072K/131072K available (2917K kernel code, 162K rwdata, 760K rodata, 312K init, 270K bss, 6000K 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] Clocks: CPU:550.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6950037990 ns
[    0.000011] sched_clock: 32 bits at 275MHz, resolution 3ns, wraps every 7809031678ns
[    0.008273] Calibrating delay loop... 366.18 BogoMIPS (lpj=1830912)
[    0.071079] pid_max: default: 32768 minimum: 301
[    0.076091] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.083069] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.093759] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.104180] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.111370] NET: Registered protocol family 16
[    0.117931] MIPS: machine is Minibox V3.2 board
[    0.127278] registering PCI controller with io_map_base unset
[    0.135112] ar71xx: invalid MDIO id 1
[    0.139031] ar71xx: using random MAC address for eth0
[    0.379364] ar71xx: using random MAC address for eth1
[    0.633989] PCI host bridge to bus 0000:00
[    0.638333] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[    0.645652] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.651522] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.658690] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.667077] pci 0000:00:00.0: [168c:0050] type 00 class 0x028000
[    0.667127] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.667184] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.667265] pci 0000:00:00.0: supports D1
[    0.667277] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.667518] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.667552] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
[    0.675316] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]
[    0.682944] pci 0000:00:00.0: using irq 40 for pin 1
[    0.689027] clocksource: Switched to clocksource MIPS
[    0.695645] NET: Registered protocol family 2
[    0.701316] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.708689] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.715471] TCP: Hash tables configured (established 1024 bind 1024)
[    0.722324] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.728502] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.735483] NET: Registered protocol family 1
[    0.740174] PCI: CLS 0 bytes, default 32
[    0.745440] Crashlog allocated RAM at address 0x3f00000
[    0.752221] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.766885] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.773095] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.793392] io scheduler noop registered
[    0.797534] io scheduler deadline registered (default)
[    0.803385] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.810641] console [ttyS0] disabled
[    0.834597] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    0.843712] console [ttyS0] enabled
[    0.851276] bootconsole [early0] disabled
[    0.869621] m25p80 spi0.0: found w25q128, expected m25p80
[    0.884352] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.889600] 5 tp-link partitions found on MTD device spi0.0
[    0.895355] Creating 5 MTD partitions on "spi0.0":
[    0.900350] 0x000000000000-0x000000020000 : "u-boot"
[    0.907217] 0x000000020000-0x00000015df44 : "kernel"
[    0.914412] 0x00000015df44-0x000000ff0000 : "rootfs"
[    0.921531] mtd: device 2 (rootfs) set to be root filesystem
[    0.927429] 1 squashfs-split partitions found on MTD device rootfs
[    0.933909] 0x000000550000-0x000000ff0000 : "rootfs_data"
[    0.941400] 0x000000ff0000-0x000001000000 : "art"
[    0.948172] 0x000000020000-0x000000ff0000 : "firmware"
[    0.956596] libphy: Fixed MDIO Bus: probed
[    0.986045] libphy: ag71xx_mdio: probed
[    1.621997] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
[    1.632318] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    2.261593] ag71xx-mdio.1: Found an AR934X built-in switch
[    2.315088] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    2.322395] NET: Registered protocol family 17
[    2.327207] 8021q: 802.1Q VLAN Support v1.8
[    2.339807] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.349634] Freeing unused kernel memory: 312K
[    2.354223] This architecture does not have kernel memory protection.
[    2.559043] random: fast init done
[    3.046533] init: Console is alive
[    3.050439] init: - watchdog -
[    4.116728] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.210493] usbcore: registered new interface driver usbfs
[    4.216263] usbcore: registered new interface driver hub
[    4.221936] usbcore: registered new device driver usb
[    4.234340] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.243176] ehci-platform: EHCI generic platform driver
[    4.248701] ehci-platform ehci-platform: EHCI Host Controller
[    4.254754] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    4.265091] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    4.299073] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    4.306607] hub 1-0:1.0: USB hub found
[    4.310952] hub 1-0:1.0: 1 port detected
[    4.316118] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.326306] init: - preinit -
[    5.364892] random: procd: uninitialized urandom read (4 bytes read)
[    8.739003] jffs2: notice: (352) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    8.756844] mount_root: switching to jffs2 overlay
[    8.797645] urandom-seed: Seeding with /etc/urandom.seed
[    8.966151] procd: - early -
[    8.969965] procd: - watchdog -
[    9.642492] procd: - watchdog -
[    9.646084] procd: - ubus -
[    9.790521] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.804891] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.812142] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.819984] procd: - init -
[   10.216209] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.230412] usbcore: registered new interface driver cdc_wdm
[   10.239008] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   10.247367] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   10.258118] usbcore: registered new interface driver ipheth
[   10.271504] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[   10.353951] xt_time: kernel timezone is -0000
[   10.361109] usbcore: registered new interface driver cdc_ether
[   10.541738] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.597904] PPP generic driver version 2.4.2
[   10.605538] NET: Registered protocol family 24
[   10.613271] usbcore: registered new interface driver qmi_wwan
[   10.622421] usbcore: registered new interface driver rndis_host
[   10.661827] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   10.667870] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   10.943915] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[   10.955031] ath10k_pci 0000:00:00.0: Falling back to user helper
[   11.050021] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[   11.059775] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/cal-pci-0000:00:00.0.bin failed with error -2
[   11.070532] ath10k_pci 0000:00:00.0: Falling back to user helper
[   11.253137] firmware ath10k!cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[   11.262558] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9887/hw1.0/firmware-6.bin failed with error -2
[   11.273671] ath10k_pci 0000:00:00.0: Falling back to user helper
[   11.455482] firmware ath10k!QCA9887!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed
[   11.474867] ath10k_pci 0000:00:00.0: qca9887 hw1.0 target 0x4100016d chip_id 0x004000ff sub 0000:0000
[   11.484487] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   11.499666] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00040 api 5 features no-p2p,ignore-otp,skip-clock-init,mfp,allows-mesh-bcast crc32 3334e5a3
[   11.601094] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA9887/hw1.0/board-2.bin failed with error -2
[   11.611933] ath10k_pci 0000:00:00.0: Falling back to user helper
[   11.726715] firmware ath10k!QCA9887!hw1.0!board-2.bin: firmware_loading_store: map pages failed
[   11.743408] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 546cca0d
[   11.769404] ath10k_pci 0000:00:00.0: failed to read device EEPROM at 0000
[   11.777300] ath10k_pci 0000:00:00.0: caldata loaded from partition [art]
[   12.830988] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal eeprom max-sta 128 raw 0 hwcrypto 1
[   12.971295] ath: EEPROM regdomain: 0x0
[   12.971307] ath: EEPROM indicates default country code should be used
[   12.971310] ath: doing EEPROM country->regdmn map search
[   12.971326] ath: country maps to regdmn code: 0x3a
[   12.971332] ath: Country alpha2 being used: US
[   12.971336] ath: Regpair used: 0x3a
[   13.127132] ath: EEPROM regdomain: 0x0
[   13.127145] ath: EEPROM indicates default country code should be used
[   13.127149] ath: doing EEPROM country->regdmn map search
[   13.127170] ath: country maps to regdmn code: 0x3a
[   13.127177] ath: Country alpha2 being used: US
[   13.127181] ath: Regpair used: 0x3a
[   13.140052] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   13.145226] ieee80211 phy1: Atheros AR9531 Rev:2 mem=0xb8100000, irq=47
[   13.157026] kmodloader: done loading kernel modules from /etc/modules.d/*
[   14.893250] urandom_read: 5 callbacks suppressed
[   14.893260] random: jshn: uninitialized urandom read (4 bytes read)
[   23.564137] br-lan: port 1(eth1) entered blocking state
[   23.564157] br-lan: port 1(eth1) entered disabled state
[   23.564594] device eth1 entered promiscuous mode
[   23.565896] br-lan: port 1(eth1) entered blocking state
[   23.565915] br-lan: port 1(eth1) entered forwarding state
[   24.509186] br-lan: port 1(eth1) entered disabled state
[   25.345009] eth1: link up (1000Mbps/Full duplex)
[   25.345068] br-lan: port 1(eth1) entered blocking state
[   25.345079] br-lan: port 1(eth1) entered forwarding state
[   26.610009] ath: EEPROM regdomain: 0x822a
[   26.610022] ath: EEPROM indicates we should expect a country code
[   26.610031] ath: doing EEPROM country->regdmn map search
[   26.610037] ath: country maps to regdmn code: 0x22
[   26.610043] ath: Country alpha2 being used: NZ
[   26.610047] ath: Regpair used: 0x22
[   26.610055] ath: regdomain 0x822a dynamically updated by user
[   26.610158] ath: EEPROM regdomain: 0x822a
[   26.610162] ath: EEPROM indicates we should expect a country code
[   26.610170] ath: doing EEPROM country->regdmn map search
[   26.610176] ath: country maps to regdmn code: 0x22
[   26.610180] ath: Country alpha2 being used: NZ
[   26.610183] ath: Regpair used: 0x22
[   26.610189] ath: regdomain 0x822a dynamically updated by user
[   29.838243] ath10k_pci 0000:00:00.0: failed to read device EEPROM at 0000
[   29.839218] ath10k_pci 0000:00:00.0: caldata loaded from partition [art]
[   31.814735] br-lan: port 2(wlan0) entered blocking state
[   31.814753] br-lan: port 2(wlan0) entered disabled state
[   31.815215] device wlan0 entered promiscuous mode
[   31.863527] br-lan: port 3(wlan1-1) entered blocking state
[   31.863545] br-lan: port 3(wlan1-1) entered disabled state
[   31.864031] device wlan1-1 entered promiscuous mode
[   31.864122] br-lan: port 3(wlan1-1) entered blocking state
[   31.864134] br-lan: port 3(wlan1-1) entered forwarding state
[   32.829121] br-lan: port 3(wlan1-1) entered disabled state
[   35.017706] wlan1: authenticate with 7e:ad:cf:39:2b:82
[   35.031567] wlan1: send auth to 7e:ad:cf:39:2b:82 (try 1/3)
[   35.033829] wlan1: authenticated
[   35.039327] wlan1: associate with 7e:ad:cf:39:2b:82 (try 1/3)
[   35.044025] wlan1: RX AssocResp from 7e:ad:cf:39:2b:82 (capab=0x411 status=0 aid=2)
[   35.044329] wlan1: associated
[   35.075993] wlan1: Limiting TX power to 20 (20 - 0) dBm as advertised by 7e:ad:cf:39:2b:82
[   36.244707] br-lan: port 3(wlan1-1) entered blocking state
[   36.244727] br-lan: port 3(wlan1-1) entered forwarding state
[   39.134490] br-lan: port 2(wlan0) entered blocking state
[   39.134520] br-lan: port 2(wlan0) entered forwarding state
[   62.562748] random: crng init done
[ 1744.900623] ath10k_pci 0000:00:00.0: bss channel survey timed out
[ 1747.940457] ath10k_pci 0000:00:00.0: bss channel survey timed out
[ 1750.980351] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1754.020262] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 1757.070117] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 1760.100019] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 1763.139784] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 1766.179687] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 1769.219577] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 1774.899235] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1777.939092] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1780.986536] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1784.024277] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 1787.058838] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 1790.098563] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 1793.138413] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 1796.178242] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 1800.343496] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 1804.977916] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1808.020380] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1811.057519] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1814.097400] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 1817.143231] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 1820.177331] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 1823.219063] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 1826.256830] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 1834.336429] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 1837.376262] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1840.416093] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 1843.455991] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 1846.505551] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 1849.535656] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 1852.575507] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 1855.775309] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1860.335143] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1863.374943] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1866.414782] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 1869.454614] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1872.496511] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 1875.534310] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 1878.574185] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 1881.613991] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 1884.653855] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 1890.493530] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1893.533390] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1896.573246] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1899.613073] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 1902.662933] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 1905.692765] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 1908.732738] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 1911.772447] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 1914.812252] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 1920.171980] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1923.217262] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1926.251764] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1929.291504] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 1932.336764] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 1935.371146] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 1938.411007] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 1941.450845] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 1944.490643] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 1950.330354] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1953.370196] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1956.409991] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1959.449824] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 1962.489718] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 1965.529527] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 1968.569397] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 1971.609234] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 1975.689202] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 1980.658820] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1983.688670] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 1986.728592] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 1989.773828] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 1992.808207] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 1995.848059] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 2004.087657] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 2007.127466] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 2010.167356] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 2013.207176] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 2016.247043] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 2019.286864] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 2022.326706] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 2030.006318] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 2033.046176] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 2036.086015] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 2039.125842] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 2042.165749] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 2045.205527] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 2048.248521] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 2054.325056] ath10k_pci 0000:00:00.0: failed to install key for vdev 0 peer 4c:49:e3:d6:b9:4b: -11
[ 2054.325076] wlan0: failed to remove key (0, 4c:49:e3:d6:b9:4b) from hardware (-11)
[ 2054.353286] ath10k_pci 0000:00:00.0: cipher 0 is not supported
[ 2054.353309] ath10k_pci 0000:00:00.0: failed to remove peer wep key 0: -122
[ 2054.353321] ath10k_pci 0000:00:00.0: failed to clear all peer wep keys for vdev 0: -122
[ 2054.353336] ath10k_pci 0000:00:00.0: failed to disassociate station: 4c:49:e3:d6:b9:4b vdev 0: -122
[ 2054.353342] ------------[ cut here ]------------
[ 2054.353535] WARNING: CPU: 0 PID: 1647 at backports-2017-11-01/net/mac80211/sta_info.c:993 sta_set_sinfo+0x8d4/0x9cc [mac80211]
[ 2054.353540] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath rndis_host qmi_wwan pppox ppp_generic mac80211 iptable_nat iptable_mangle iptable_filter ipt_REJECT ipt_MASQUERADE ip_tables cfg80211 cdc_ether 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 x_tables usbnet slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_log_common nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack ipheth crc_ccitt compat cdc_wdm ledtrig_usbport ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common mii
[ 2054.353728] CPU: 0 PID: 1647 Comm: hostapd Not tainted 4.9.107 #0
[ 2054.353733] Stack : 80487672 00000035 00000000 00000001 8654828c 803febc7 803b75d0 0000066f
[ 2054.353760]         804837c0 000003e1 00000000 00000008 00000000 800a976c 803bce08 80400000
[ 2054.353785]         00000003 000003e1 803bafc0 876d5b0c 00000000 800d75cc 80487672 00000072
[ 2054.353811]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2054.353834]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2054.353857]         ...
[ 2054.353865] Call Trace:
[ 2054.353880] [<8006b5c0>] show_stack+0x70/0x8c
[ 2054.353917] [<80080524>] __warn+0x110/0x118
[ 2054.353931] [<800805c0>] warn_slowpath_null+0x1c/0x2c
[ 2054.354036] [<87606f24>] sta_set_sinfo+0x8d4/0x9cc [mac80211]
[ 2054.354134] [<87604978>] sta_info_get_bss+0x18/0x6c [mac80211]
[ 2054.354233] [<876070fc>] sta_info_destroy_addr_bss+0x38/0x60 [mac80211]
[ 2054.354377] [<8754e2e0>] cfg80211_check_station_change+0x2364/0x3240 [cfg80211]
[ 2054.354414] ---[ end trace 76e3fd41f87c33dc ]---
[ 2057.364905] ath10k_pci 0000:00:00.0: failed to delete peer 4c:49:e3:d6:b9:4b for vdev 0: -11
[ 2057.364942] ath10k_pci 0000:00:00.0: found sta peer 4c:49:e3:d6:b9:4b (ptr 8677b600 id 229) entry on vdev 0 after it was supposedly removed
[ 2057.366192] ------------[ cut here ]------------
[ 2057.366384] WARNING: CPU: 0 PID: 1647 at backports-2017-11-01/net/mac80211/sta_info.c:1001 sta_set_sinfo+0x924/0x9cc [mac80211]
[ 2057.366389] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath rndis_host qmi_wwan pppox ppp_generic mac80211 iptable_nat iptable_mangle iptable_filter ipt_REJECT ipt_MASQUERADE ip_tables cfg80211 cdc_ether 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 x_tables usbnet slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_log_common nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack ipheth crc_ccitt compat cdc_wdm ledtrig_usbport ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common mii
[ 2057.366577] CPU: 0 PID: 1647 Comm: hostapd Tainted: G        W       4.9.107 #0
[ 2057.366582] Stack : 80487672 00000043 00000000 00000001 8654828c 803febc7 803b75d0 0000066f
[ 2057.366609]         804837c0 000003e9 00000000 00000008 00000000 800a976c 803bce08 80400000
[ 2057.366634]         00000003 000003e9 803bafc0 876d5b0c 00000000 800d75cc 80487672 00000073
[ 2057.366660]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2057.366683]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2057.366706]         ...
[ 2057.366714] Call Trace:
[ 2057.366728] [<8006b5c0>] show_stack+0x70/0x8c
[ 2057.366763] [<80080524>] __warn+0x110/0x118
[ 2057.366777] [<800805c0>] warn_slowpath_null+0x1c/0x2c
[ 2057.366888] [<87606f74>] sta_set_sinfo+0x924/0x9cc [mac80211]
[ 2057.366987] [<87604978>] sta_info_get_bss+0x18/0x6c [mac80211]
[ 2057.367086] [<876070fc>] sta_info_destroy_addr_bss+0x38/0x60 [mac80211]
[ 2057.367225] [<8754e2e0>] cfg80211_check_station_change+0x2364/0x3240 [cfg80211]
[ 2057.367262] ---[ end trace 76e3fd41f87c33dd ]---
[ 2060.404774] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 2063.444576] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 2066.484459] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 2069.524270] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 2072.564091] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 2075.603941] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 2078.643808] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 2081.683658] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 2084.723443] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 2087.771438] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 2090.803177] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 2093.842997] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 2102.162502] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 2105.202331] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 2108.242168] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 2111.282032] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 2114.321878] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 2117.361702] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 2120.401502] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 2128.401051] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 2131.450938] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 2134.480713] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 2137.520545] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 2140.560510] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 2143.600263] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 2146.640040] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 2155.199617] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 2158.239437] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 2161.279214] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 2164.319096] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 2167.358866] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 2170.398688] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 2173.438543] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 2181.598039] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 2184.637881] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 2187.677688] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 2190.727568] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 2193.757337] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 2196.797183] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 2199.837021] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 2203.516915] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request

Trying to replace many firmware versions, but always this way, it will collapse for a while.

Each crash has the following error log

[ 1744.900623] ath10k_pci 0000:00:00.0: bss channel survey timed out
[ 1747.940457] ath10k_pci 0000:00:00.0: bss channel survey timed out
[ 1750.980351] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1754.020262] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[ 1757.070117] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[ 1760.100019] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[ 1763.139784] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -11
[ 1766.179687] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[ 1769.219577] ath10k_pci 0000:00:00.0: failed to start hw scan: -11
[ 1774.899235] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1777.939092] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1780.986536] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[ 1784.024277] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
11.06.20181586Base systemBug ReportVery LowCriticalDAP-1522 A1 factory to snapshot kernel panic and system...TrunkUnconfirmed Task Description

DAP-1522 A1 stock firmware 1.21 or 1.42 , device page https://openwrt.org/toh/hwdata/d-link/d-link_dap-1522_a1 Flash via GUI or Recovery interface , both the same result/fail.
Since this device is not supported on 17.04.1 https://downloads.lede-project.org/releases/17.01.4/targets/ramips/rt288x/
I try the snapshot from https://downloads.openwrt.org/snapshots/targets/ramips/rt288x/openwrt-ramips-rt288x-dlink_dap-1522-a1-squashfs-factory.bin Checksum ok

Here is the boot log

U-Boot 1.1.3 (Aug 28 2009 - 15:47:01) Build 001--ALPHA_v011

Board: RT2880 DRAM:  32 MB
        twe0 set to <NULL>
        toe0 set to <NULL>
============================================
ASIC -VerB/C (MAC to MAC Mode)
DRAM COMPONENT=256Mbits
DRAM BUS=16BIT
Total memory = 32Mbytes
Date:Aug 28 2009  Time:15:47:01
============================================

Eth0 (10/100-M)



Hit any key to stop autoboot:  0
## Booting image at bc440000 ...
   Image Name:   7zip Linux Kernel
   Created:      1970-01-01   0:00:00 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    -1 Bytes = 4096 MB
   Load Address: 8a000000
   Entry Point:  8a000000
   Uncompressing Kernel Image with LZMA ...
OK

Starting kernel ...

[    0.000000] Linux version 4.14.48 (buildbot@slashdirt-02) (gcc version 7.3.0                                                                 (OpenWrt GCC 7.3.0
r7172-f60301d)) #0 Sat Jun 9 20:39:17 2018
[    0.000000] SoC Type: Ralink RT2880 id:2 rev:0
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001906c (MIPS 4KEc)
[    0.000000] MIPS: machine is D-Link DAP-1522 A1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 08000000 (usable)
[    0.000000] Wasting 1048576 bytes for tracking 32768 unused pages
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 16 byt                                                                es
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000009ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000009ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000009ffffff]
[    0.000000] random: get_random_bytes called from start_kernel+0x8c/0x47c with                                                                 crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 40640
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs                                                                2
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 25248K/163840K available (3518K kernel code, 174K rwdata,                                                                 844K rodata, 1216K
init, 214K bss, 138592K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] Failed to request intc memory
[    0.000000] Kernel panic - not syncing: Failed to request resources for ralin                                                                k,rt2880-sysc
[    0.000000] Rebooting in 1 seconds..
[    0.000000] Reboot failed -- System halted

Regards,


09.06.20181584PackagesBug ReportVery LowLowOmcproxy CrashloopTrunkUnconfirmed Task Description

- Device problem occurs on

Tp-Link Archer C7 v.4

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

System version: OpenWrt SNAPSHOT r7115-8796680

Package version: omcproxy (2017-02-14-1fe6f48f-4)

- Steps to reproduce

Install Omcproxy and you see in the log:

” Sat Jun 9 14:44:12 2018 kern.info kernel: [93170.004602] do_page_fault(): sending SIGSEGV to omcproxy for invalid read access from 00000008
Sat Jun 9 14:44:12 2018 kern.info kernel: [93170.013655] epc = 004048d5 in omcproxy[400000+6000]
Sat Jun 9 14:44:12 2018 kern.info kernel: [93170.018710] ra = 00401225 in omcproxy[400000+6000]
Sat Jun 9 14:44:17 2018 kern.info kernel: [93175.064523] do_page_fault(): sending SIGSEGV to omcproxy for invalid read access from 00000008
Sat Jun 9 14:44:17 2018 kern.info kernel: [93175.073623] epc = 004048d5 in omcproxy[400000+6000]
Sat Jun 9 14:44:17 2018 kern.info kernel: [93175.078700] ra = 00401225 in omcproxy[400000+6000]
Sat Jun 9 14:44:23 2018 kern.info kernel: [93180.091827] do_page_fault(): sending SIGSEGV to omcproxy for invalid read access from 00000008
Sat Jun 9 14:44:23 2018 kern.info kernel: [93180.100819] epc = 004048d5 in omcproxy[400000+6000]
Sat Jun 9 14:44:23 2018 kern.info kernel: [93180.105923] ra = 00401225 in omcproxy[400000+6000]
Sat Jun 9 14:44:28 2018 kern.info kernel: [93185.116772] do_page_fault(): sending SIGSEGV to omcproxy for invalid read access from 00000008
Sat Jun 9 14:44:28 2018 kern.info kernel: [93185.125753] epc = 004048d5 in omcproxy[400000+6000]
Sat Jun 9 14:44:28 2018 kern.info kernel: [93185.130807] ra = 00401225 in omcproxy[400000+6000]
Sat Jun 9 14:44:33 2018 kern.info kernel: [93190.142183] do_page_fault(): sending SIGSEGV to omcproxy for invalid read access from 00000008
Sat Jun 9 14:44:33 2018 kern.info kernel: [93190.151123] epc = 004048d5 in omcproxy[400000+6000]
Sat Jun 9 14:44:33 2018 kern.info kernel: [93190.156230] ra = 00401225 in omcproxy[400000+6000]
Sat Jun 9 14:44:38 2018 kern.info kernel: [93195.169040] do_page_fault(): sending SIGSEGV to omcproxy for invalid read access from 00000008
Sat Jun 9 14:44:38 2018 kern.info kernel: [93195.178006] epc = 004048d5 in omcproxy[400000+6000]
Sat Jun 9 14:44:38 2018 kern.info kernel: [93195.183084] ra = 00401225 in omcproxy[400000+6000]
Sat Jun 9 14:44:38 2018 daemon.info procd: Instance omcproxy::instance1 s in a crash loop 6 crashes, 0 seconds since last crash

This started happening about two weeks ago, sorry I can’t tell what version specifically.

If there is another software that i can use instead please let me know.
If not, I’d like some help to find documentation to configure omcproxy.

Thanks!

09.06.20181583Base systemBug ReportVery LowLowNetgear WNDR3800 rejects factory image due to long vers...TrunkUnconfirmed Task Description

WNDR3800 rejects Openwrt factory images if the Openwrt version string is too long. Up-to-date git version 2.17.1 generates too long build version ID for openwrt-18.06 and master.

I tested only WNDR3800, but I assume that the same goes for other Netgear routers using the TFTP recovery mode.

I can fix my own build by forcing a shorter git hash in getver.sh

TFTP log of r7161-c8677ca89e:

Bytes transferred = 6946949 (6a0085 hex)
HW ID on board: 29763654+16+128
HW ID on image: 29763654+16+128
Firmware Image HW ID matched Board HW ID

MODEL ID on board: WNDR3800
MODEL ID on image:
Firmware Image MODEL ID do not match Board model ID
Board MODEL ID mismatch,it is forbidden to be written to flash!!

Header:

device:WNDR3800 version:VOpenWrt.r7161-c8677ca89e region: hd_id:29763654+16+128  

TFTP log of r7161-c8677ca:

Bytes transferred = 6619269 (650085 hex)
HW ID on board: 29763654+16+128
HW ID on image: 29763654+16+128
Firmware Image HW ID matched Board HW ID

MODEL ID on board: WNDR3800
MODEL ID on image: WNDR3800
Firmware Image MODEL ID matched Board model ID

Header:

device:WNDR3800 version:VOpenWrt.r7161-c8677ca region: hd_id:29763654+16+128

Otherwise exactly same build, but shorted hash forced in scripts/getver.sh

Does not work:
master
device:WNDR3800 version:VOpenWrt.r7161-c8677ca89e region: hd_id:29763654+16+128
18.06
device:WNDR3800 version:VOpenWrt.r6995-ba204d941c region: hd_id:29763654+16+128
Works:
master my build (short hash)
device:WNDR3800 version:VOpenWrt.r7161-c8677ca region: hd_id:29763654+16+128                 
17.01 my build
device:WNDR3800 version:VLEDE.r3898-4a38c0cad5 region: hd_id:29763654+16+128
master buildbot:
device:WNDR3800 version:VOpenWrt.r7161-c8677ca region: hd_id:29763654+16+128
18.06 buildbot:
device:WNDR3800 version:VOpenWrt.r7009-48c5d6a region: hd_id:29763654+16+128
17.01 buildbot:
device:WNDR3800 version:VLEDE.r3909-b6a1f43 region: hd_id:29763654+16+128

Based on that I determine that the field “version” has a maximum length that will get exceeded in buildhosts with up-to-date git 2.17

Background:

the “factory” image of WNDR3800 built by me in Ubuntu 18.04 for master or 18.06 does not install into the router in the TFTP flash mode. But the factory image for 17.01 installs ok, and so do buildbot snapshots. All of them install ok as sysupgrades, so it is about the factory image header

The error seems to be related to the router model detection in the header. For some reason the model detection goes wrong, although the model itself is quite similar way in the image header. It seems that the “version” field’s length is restricted and we are now surpassing that. That field itself is not even mentioned in the TFTP console log.

The only practical difference between for the image generation in my build (in Ubuntu-18.06) and buildbot (some older hosts) is the underlying git. The new git versions generates slightly longer version ID by default as the hash is shown as 10 digits instead of 7. So it is possible that one other string in the header is too long. I will test the idea, but strange.
EDIT: my guess proved to be right.

I can fix my own build by forcing a shorter git hash in getver.sh

--- a/scripts/getver.sh
+++ b/scripts/getver.sh
@@ -40,7 +40,7 @@ try_git() {
                        REV="${UPSTREAM_REV}+$((REV - UPSTREAM_REV))"
                fi
 
-               REV="${REV:+r$REV-$(git log -n 1 --format="%h" $UPSTREAM_BASE)}"
+               REV="${REV:+r$REV-$(git log -n 1 --format="%h" --abbrev=7 $UPSTREAM_BASE)}"
 
                ;;
        esac
09.06.20181582KernelBug ReportVery LowHighProblem with WiFi 2.4Ghzlede-17.01Unconfirmed Task Description

Hi,

I’ve few Linksys WRT1200AC devices now updated to commit 4a38c0cad5b2bfe37dd921dae04346f9a6397319 by Hans Dedecker on Sun May 27 22:09:46 2018 from the lede 17.01 branch.

 

I’ve noticed that sometimes the 2.4Ghz wireless “disappears” and so far the only thing I found is in the logs:

Fri Jun  8 20:33:03 2018 kern.err kernel: [34816.252640] ieee80211 phy0: cmd 0x9125=BAStream timed out
Fri Jun  8 20:33:03 2018 kern.err kernel: [34816.258068] ieee80211 phy0: return code: 0x1125
Fri Jun  8 20:33:03 2018 kern.err kernel: [34816.262631] ieee80211 phy0: timeout: 0x1125
Fri Jun  8 20:35:14 2018 kern.err kernel: [34947.369820] ieee80211 phy0: cmd 0x9122=UpdateEncryption timed out
Fri Jun  8 20:35:14 2018 kern.err kernel: [34947.375955] ieee80211 phy0: return code: 0x1122
Fri Jun  8 20:35:14 2018 kern.err kernel: [34947.380505] ieee80211 phy0: timeout: 0x1122
Fri Jun  8 20:35:14 2018 kern.err kernel: [34947.384706] wlan0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-5)
Fri Jun  8 20:35:18 2018 kern.err kernel: [34951.391731] ieee80211 phy0: cmd 0x9122=UpdateEncryption timed out
Fri Jun  8 20:35:18 2018 kern.err kernel: [34951.397860] ieee80211 phy0: return code: 0x1122
Fri Jun  8 20:35:18 2018 kern.err kernel: [34951.402409] ieee80211 phy0: timeout: 0x1122
Fri Jun  8 20:35:18 2018 kern.err kernel: [34951.406619] wlan0: failed to set key (1, ff:ff:ff:ff:ff:ff) to hardware (-5)
Fri Jun  8 20:35:22 2018 kern.err kernel: [34955.413653] ieee80211 phy0: cmd 0x9122=UpdateEncryption timed out
Fri Jun  8 20:35:22 2018 kern.err kernel: [34955.419783] ieee80211 phy0: return code: 0x1122
Fri Jun  8 20:35:22 2018 kern.err kernel: [34955.424332] ieee80211 phy0: timeout: 0x1122
Fri Jun  8 20:35:22 2018 kern.err kernel: [34955.428543] wlan0: failed to remove key (0, 34:02:86:6e:24:b3) from hardware (-5)
Fri Jun  8 20:35:28 2018 kern.err kernel: [34961.437512] ieee80211 phy0: cmd 0x9111=SetNewStation timed out
Fri Jun  8 20:35:28 2018 kern.err kernel: [34961.443371] ieee80211 phy0: return code: 0x1111
Fri Jun  8 20:35:28 2018 kern.err kernel: [34961.447931] ieee80211 phy0: timeout: 0x1111
Fri Jun  8 20:35:32 2018 kern.err kernel: [34965.447426] ieee80211 phy0: cmd 0x8050=broadcast_ssid_enable timed out
Fri Jun  8 20:35:32 2018 kern.err kernel: [34965.453984] ieee80211 phy0: return code: 0x0050
Fri Jun  8 20:35:32 2018 kern.err kernel: [34965.458604] ieee80211 phy0: timeout: 0x0050
Fri Jun  8 20:35:36 2018 kern.err kernel: [34969.463342] ieee80211 phy0: cmd 0x8127=SetInformationElements timed out
Fri Jun  8 20:35:36 2018 kern.err kernel: [34969.470011] ieee80211 phy0: return code: 0x0127
Fri Jun  8 20:35:36 2018 kern.err kernel: [34969.474559] ieee80211 phy0: timeout: 0x0127
Fri Jun  8 20:35:40 2018 kern.err kernel: [34973.479264] ieee80211 phy0: cmd 0x801c=80211RadioControl timed out
Fri Jun  8 20:35:40 2018 kern.err kernel: [34973.485485] ieee80211 phy0: return code: 0x001c
Fri Jun  8 20:35:40 2018 kern.err kernel: [34973.490034] ieee80211 phy0: timeout: 0x001c
Fri Jun  8 20:35:44 2018 kern.err kernel: [34977.492410] ieee80211 phy0: cmd 0x8126=SetFixedRate timed out
Fri Jun  8 20:35:44 2018 kern.err kernel: [34977.498192] ieee80211 phy0: return code: 0x0126
Fri Jun  8 20:35:44 2018 kern.err kernel: [34977.502741] ieee80211 phy0: timeout: 0x0126
Fri Jun  8 20:36:59 2018 kern.err kernel: [35052.611562] ieee80211 phy1: cmd 0x9122=UpdateEncryption timed out
Fri Jun  8 20:36:59 2018 kern.err kernel: [35052.617695] ieee80211 phy1: return code: 0x1122
Fri Jun  8 20:36:59 2018 kern.err kernel: [35052.622245] ieee80211 phy1: timeout: 0x1122
Fri Jun  8 20:36:59 2018 kern.err kernel: [35052.626455] wlan1: failed to set key (1, ff:ff:ff:ff:ff:ff) to hardware (-5)
Fri Jun  8 20:45:11 2018 kern.err kernel: [35543.855091] ieee80211 phy0: cmd 0x9122=UpdateEncryption timed out
Fri Jun  8 20:45:11 2018 kern.err kernel: [35543.861216] ieee80211 phy0: return code: 0x1122
Fri Jun  8 20:45:11 2018 kern.err kernel: [35543.865779] ieee80211 phy0: timeout: 0x1122
Fri Jun  8 20:45:11 2018 kern.err kernel: [35543.869980] wlan0: failed to remove key (2, ff:ff:ff:ff:ff:ff) from hardware (-5)
Fri Jun  8 20:45:15 2018 kern.err kernel: [35547.876061] ieee80211 phy0: cmd 0x9122=UpdateEncryption timed out
Fri Jun  8 20:45:15 2018 kern.err kernel: [35547.882183] ieee80211 phy0: return code: 0x1122
Fri Jun  8 20:45:15 2018 kern.err kernel: [35547.886743] ieee80211 phy0: timeout: 0x1122
Fri Jun  8 20:45:15 2018 kern.err kernel: [35547.890945] wlan0: failed to set key (2, ff:ff:ff:ff:ff:ff) to hardware (-5)
Fri Jun  8 20:47:03 2018 kern.err kernel: [35656.624702] ieee80211 phy1: cmd 0x9122=UpdateEncryption timed out
Fri Jun  8 20:47:03 2018 kern.err kernel: [35656.630839] ieee80211 phy1: return code: 0x1122
Fri Jun  8 20:47:03 2018 kern.err kernel: [35656.635389] ieee80211 phy1: timeout: 0x1122
Fri Jun  8 20:47:03 2018 kern.err kernel: [35656.639592] wlan1: failed to set key (2, ff:ff:ff:ff:ff:ff) to hardware (-5)

I know that this might not be much of a debug, but I’ll try to provide more information in case this occurs again on my test device where I have more control and therefore maybe is easier to have some more useful log.

Looking online I found https://unix.stackexchange.com/questions/422254/kernel-wlp2s0-failed-to-remove-key-1-ffffffffffff-from-hardware-22?noredirect=1&lq=1 that might be related as well as a patch for what seems (to me) to be a similar problem: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e4f13ad07823b

08.06.20181581OtherBug ReportVery LowHighnetifd:Failed to bring up static 6rd tunnel after we mo...AllUnconfirmed Task Description

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

netifd-0f96606b7040b8e14190ff055d5761744bc15f6d

- Steps to reproduce

Step 1: Create a DHCPv4 + dynamic 6rd wan connection. Below is the /etc/config/network. wan and wan6 go up after “/etc/init.d/network reload”

[CXNK00123457] /lib/netifd/proto # cat /etc/config/network 

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

config globals 'globals'
	option ula_prefix 'auto'

config interface 'lan'
	option ifname 'eth0'
	option type 'bridge'
	option proto 'static'
	option ipaddr '192.168.1.1'
	option netmask '255.255.255.0'
	option ip6assign '64'

config interface 'pvtlan'
	option proto 'static'
	option ipaddr '169.254.1.1'
	option netmask '255.255.255.0'

config interface 'wan'
	option ifname 'eth1'
	option proto 'dhcp'
	option peerdns '1'
	option defaultroute '1'
	option vendorid '844Ei.ONT.dslforum.org'
	option reqopts '43 120 121'
	option iface6rd 'wan6'

Step 2: Edit /etc/config/network file, disable dynamic 6rd and provision a static one

[CXNK00123457] /etc/config # cat network.static6rd 

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

config globals 'globals'
	option ula_prefix 'auto'

config interface 'lan'
	option ifname 'eth0'
	option type 'bridge'
	option proto 'static'
	option ipaddr '192.168.1.1'
	option netmask '255.255.255.0'
	option ip6assign '64'

config interface 'pvtlan'
	option proto 'static'
	option ipaddr '169.254.1.1'
	option netmask '255.255.255.0'

config interface 'wan'
	option ifname 'eth1'
	option proto 'dhcp'
	option peerdns '1'
	option defaultroute '1'
	option vendorid '844Ei.ONT.dslforum.org'
	option reqopts '43 120 121'

config interface 'wan6'
	option ifname 'eth1'
	option proto '6rd'
	option peerdns '0'
	option defaultroute '1'
	list dns '2001:db8:1::a'
	list dns '2001:db8:1::b'
	option tunlink 'wan'
	option peeraddr '10.101.1.1'
	option ip6prefix '2602::'
	option ip6prefixlen '32'
	option ip4prefixlen '24'

Step 3: Run “/etc/init.d/network reload”. However, netifd failed to bring up the static 6rd tunnel wan6.

Here is the log of netifd from /var/log/messages. From the log, it seems that netifd was trying to bring up wan6 before wan (DHCPv4) went up. See “netifd: Interface ‘wan6’ is setting up now”. Does this matter?

[CXNK00123457] /etc/config # /etc/init.d/network reload 
Wed Jun  6 06:26:25 2018 daemon.notice netifd: Interface 'wan6' has lost the connection
Wed Jun  6 06:26:25 2018 daemon.warn dnsmasq[19262]: no servers found in /tmp/resolv.conf.auto, will retry
Wed Jun  6 06:26:25 2018 daemon.notice netifd: tunnel '6rd-wan6' link is down
Wed Jun  6 06:26:26 2018 daemon.notice netifd: Interface 'wan6' is now down
Wed Jun  6 06:26:26 2018 daemon.notice netifd: Interface 'wan6' is setting up now
Wed Jun  6 06:26:26 2018 daemon.notice netifd: wan (2641): Received SIGTERM
Wed Jun  6 06:26:26 2018 daemon.notice netifd: Interface 'wan' is now down
Wed Jun  6 06:26:26 2018 daemon.notice netifd: Interface 'wan' is disabled
Wed Jun  6 06:26:26 2018 daemon.notice netifd: Interface 'wan' has link connectivity loss
Wed Jun  6 06:26:26 2018 kern.info kernel: [119305.628866] 8021q: adding VLAN 0 to HW filter on device eth1
Wed Jun  6 06:26:26 2018 kern.info kernel: [119305.630319] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
Wed Jun  6 06:26:26 2018 daemon.notice netifd: Interface 'wan' is enabled
Wed Jun  6 06:26:27 2018 daemon.notice netifd: Interface 'wan6' is now down
Wed Jun  6 06:26:28 2018 daemon.notice netifd: Network device 'eth1' link is up
Wed Jun  6 06:26:28 2018 daemon.notice netifd: Interface 'wan' has link connectivity 
Wed Jun  6 06:26:28 2018 daemon.notice netifd: Interface 'wan' is setting up now
Wed Jun  6 06:26:28 2018 kern.info kernel: [119307.631409] e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
Wed Jun  6 06:26:28 2018 kern.info kernel: [119307.632184] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Wed Jun  6 06:26:29 2018 daemon.notice netifd: wan (3351): udhcpc (v1.23.2) started
=========== interface wan disconnected ===========
Wed Jun  6 06:26:30 2018 daemon.notice netifd: wan (3351): Sending discover...
Wed Jun  6 06:26:31 2018 daemon.notice netifd: wan (3351): Sending select for 10.101.1.100...
Wed Jun  6 06:26:31 2018 daemon.notice netifd: wan (3351): Lease of 10.101.1.100 obtained, lease time 503
Wed Jun  6 06:26:31 2018 daemon.notice netifd: Interface 'wan' is now up
Wed Jun  6 06:26:31 2018 daemon.info dnsmasq[19262]: reading /tmp/resolv.conf.auto
Wed Jun  6 06:26:31 2018 daemon.info dnsmasq[19262]: using local addresses only for domain lan
Wed Jun  6 06:26:31 2018 daemon.info dnsmasq[19262]: using nameserver 10.101.0.1#53
=========== interface wan connected ===========
Wed Jun  6 06:26:31 2018 daemon.notice netifd: wan (3351): rgcommon>sys update-interface-status wan
Wed Jun  6 06:26:32 2018 user.notice firewall: Reloading firewall due to ifup of wan (eth1)

07.06.20181580Base systemBug ReportVery LowMediumNBG6817 will not boot after flashing lede17.01.4lede-17.01Unconfirmed Task Description

Device is zyxel armor z2 - NBG6817.
Hot to reproduce:
Get the router with OEM installed.
Following instructions ‘OEM easy installation’ from https://openwrt.org/toh/zyxel/nbg6817 but instead of openwrt-ipq806x-NBG6817-squashfs-... use the recent lede-17.01.4-ipq806x-... files.
reboot
Actual behavior: the device does not boot, log from serial console attached. It is necessary to restore the OEM firmware with tftp method.
Expected behavior: the device boots lede.
Workaround is to use an older lede version, for example lede-17.01.0-r3205-59508e3 works, and can be upgraded to 17.01.4 version.


07.06.20181579Base systemBug ReportVery LowLowmt7620 broken SD/MMC due to recent commitsTrunkUnconfirmed Task Description

After https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=8a570921b5ba49a2d3824f1220e4c53809063468 SD/MMC no longer works.

Looking at the history of the sd.c file, the commit named “ramips: Add back some non-mt7621 code that staging removed” should dependent on “ramips: mmc: Sync with staging driver”.

Either both commits should be reverted or both should stay.

05.06.20181576Base systemBug ReportVery LowLowRegression: device model reported as "unknown"TrunkUnconfirmed Task Description

Tree

18.06 and trunk

Device

  • tested on Asus WL500W (brcm47xx)
  • other devices may be affected

Problem description

The device model is now reported as “unknown”, while LEDE 17.01 still showed “Asus WL500W”.

Steps to reproduce

  • in LuCI, navigate to the start page (Status→Overview), or
  • in the shell, execute
    ubus call system board

The problem was introduced with

commit 78cf5eed6edaa38561e9c9c3ff14a36c1eedfadd
Author:     Mathias Kresin <dev@kresin.me>
AuthorDate: Fri Apr 7 18:01:17 2017 +0200

    treewide: do board detection during preinit
05.06.20181575PackagesBug ReportVery LowMediumdnsmasq: ipset not filledTrunkUnconfirmed Task Description

Hi there, I know dnsmasq is currently in testing state.
But because I don’t know if it’s a developer known issue I post my results.

Maintainer: Kevin Darbyshire-Bryant
Environment:

openwrt snapshot x86_64 builds from master branch; first seen while upgrading from dnsmasq 2.79 to 2.80test2
running on Hyper-V VM on amdfam10 Prozessor

Description:

IPSets aren’t filled anymore.

I’m using mwan3 with ipsets filled by dnsmasq configured like this

/etc/config/dhcp
“config dnsmasq
list ipset ‘xxx/xxx/xxx/yyy1,yyy2’”

/etc/config/firewall
“config ipset
option enabled ‘1’ option name ‘yyy1’ option storage ‘hash’ option family ‘ipv4’ option match ‘src_ip’

config ipset
option enabled ‘1’ option name ‘yyy2’ option storage ‘hash’ option family ‘ipv6’ option match ‘src_ip’”

My last functioning snapshot is r6789-3435dbdc1c with dnsmasq 2.79, my next build was from 2018/05/15 with 2.80test2 where “ipset list” shows no entries anymore, also after triggering with an “nslookup xxx” via console. (Also tried with last commit bcf20e05832aa8b00ab4b5e67a112d7910cca2d0).

If you already know that this is an issue, please close this one.

Thank you

 


02.06.20181573Base systemBuild FailureVery LowMediumUnable to build imageTrunkUnconfirmed Task Description

Unable to build image on Xiaomi 3g

 Configuring kmod-ledtrig-netdev.
Setting flags for package libc to hold.
Setting flags for package libgcc to hold.
Setting flags for package libstdcpp to hold.
Setting flags for package libpthread to hold.
Setting flags for package librt to hold.
cp -fpR /home/jose/lede-xiaomi/build_dir/target-mipsel_24kc_musl/root-ramips /home/jose/lede-xiaomi/build_dir/target-mipsel_24kc_musl/root.orig-ramips
sed -i "s/Installed-Time: .*/Installed-Time: 1527879663/" /home/jose/lede-xiaomi/build_dir/target-mipsel_24kc_musl/root-ramips/usr/lib/opkg/status
rm -rf /home/jose/lede-xiaomi/build_dir/target-mipsel_24kc_musl/root-ramips/tmp/*
rm -f /home/jose/lede-xiaomi/build_dir/target-mipsel_24kc_musl/root-ramips/usr/lib/opkg/lists/*
rm -f /home/jose/lede-xiaomi/build_dir/target-mipsel_24kc_musl/root-ramips/usr/lib/opkg/info/*.postinst*
rm -f /home/jose/lede-xiaomi/build_dir/target-mipsel_24kc_musl/root-ramips/var/lock/*.lock
rm -rf /home/jose/lede-xiaomi/tmp/mklibs-progs /home/jose/lede-xiaomi/tmp/mklibs-out
# first find all programs and add them to the mklibs list
find /home/jose/lede-xiaomi/staging_dir/target-mipsel_24kc_musl/root-ramips -type f -perm /100 -exec file -r -N -F '' {} + | awk ' /executable.*dynamically/ { print $1 }' > /home/jose/lede-xiaomi/tmp/mklibs-progs
# find all loadable objects that are not regular libraries and add them to the list as well
find /home/jose/lede-xiaomi/staging_dir/target-mipsel_24kc_musl/root-ramips -type f -name \*.so\* -exec file -r -N -F '' {} + | awk ' /shared object/ { print $1 }' > /home/jose/lede-xiaomi/tmp/mklibs-libs
mkdir -p /home/jose/lede-xiaomi/tmp/mklibs-out
/home/jose/lede-xiaomi/staging_dir/host/bin/mklibs -D -d /home/jose/lede-xiaomi/tmp/mklibs-out --sysroot /home/jose/lede-xiaomi/staging_dir/target-mipsel_24kc_musl/root-ramips `cat /home/jose/lede-xiaomi/tmp/mklibs-libs | sed 's:/*[^/]\+/*$::' | uniq | sed 's:^/home/jose/lede-xiaomi/staging_dir/target-mipsel_24kc_musl/root-ramips:-L :'` --ldlib /lib/ld-musl-mipsel-sf.so.1 --target mipsel-openwrt-linux-musl `cat /home/jose/lede-xiaomi/tmp/mklibs-progs /home/jose/lede-xiaomi/tmp/mklibs-libs` 2>&1
I: Using /home/jose/lede-xiaomi/staging_dir/target-mipsel_24kc_musl/root-ramips/lib/ld-musl-mipsel-sf.so.1 as dynamic linker.
warning: /home/jose/lede-xiaomi/staging_dir/target-mipsel_24kc_musl/root-ramips/usr/lib/lua/ldbus.so may need rpath, but --root not specified
warning: /home/jose/lede-xiaomi/staging_dir/target-mipsel_24kc_musl/root-ramips/usr/bin/perl5.26.2 may need rpath, but --root not specified
I: library reduction pass 1
3402 symbols, 9 unresolved
Library not found: libperl.so in path: /lib:/usr/lib/lua:/usr/lib
package/Makefile:65: recipe for target 'package/install' failed
make[2]: *** [package/install] Error 1
make[2]: Leaving directory '/home/jose/lede-xiaomi'
package/Makefile:104: recipe for target '/home/jose/lede-xiaomi/staging_dir/target-mipsel_24kc_musl/stamp/.package_install' failed
make[1]: *** [/home/jose/lede-xiaomi/staging_dir/target-mipsel_24kc_musl/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/jose/lede-xiaomi'
/home/jose/lede-xiaomi/include/toplevel.mk:216: fallo en las instrucciones para el objetivo 'world'
make: *** [world] Error 2
30.05.20181570PackagesBug ReportVery LowCriticalNeither wget, nor uclient-fetch can connect to www.duck...lede-17.01Unconfirmed Task Description

I’m running LEDE 17.01.4, r3560-79f57e422d.

Packages versions:

wget_1.19.2-2
libpcre_8.41-2
librt_1.1.16-1
libustream-openssl_2016-07-02-ec80adaa-4
ca-bundle_20170717_all
libopenssl_1.0.2o-1
uci_2018-01-01-141b64ef-1
uclient-fetch_2017-11-02-4b87d831-1

# cd /tmp
# /usr/bin/wget-ssl -d 'https://www.duckdns.org/update?domains=XXXXXXXXXXX&token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&ip='
DEBUG output created by Wget 1.19.2 on linux-gnu.

Reading HSTS entries from /root/.wget-hsts
Converted file name 'update?domains=XXXXXXXXXXX&token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&ip=' (UTF-8) -> 'domains=XXXXXXXXXXX&token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&ip=' (ASCII)
--2018-05-30 09:10:14--  https://www.duckdns.org/update?domains=XXXXXXXXXXX&token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&ip=
Resolving www.duckdns.org... 34.209.108.142, 54.187.208.74
Caching www.duckdns.org => 34.209.108.142 54.187.208.74
Connecting to www.duckdns.org|34.209.108.142|:443... connected.
Created socket 3.
Releasing 0x77bb5970 (new refcount 1).
Initiating SSL handshake.
SSL handshake failed.
Closed fd 3
Unable to establish SSL connection.

# uclient-fetch 'https://www.duckdns.org/update?domains=XXXXXXXXXXX&token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&ip='
Downloading 'https://www.duckdns.org/update?domains=XXXXXXXXXXX&token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&ip='
Connecting to 34.209.108.142:443
(null)                   0   - stalled -
Connection reset prematurely
or
Connecting to 34.209.108.142:443
Connection error: Connection failed
30.05.20181569Base systemBug ReportVery LowLowWhy comment out firewall rules when we can disable them...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

1U Xeon D-1518 server

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

x86_64, master, r5968, firewall

- Steps to reproduce

Looking at /etc/config/firewall I see:

# port redirect of remapped ssh port (22001) on wan
#config redirect
#      option src              wan
#      option src_dport        22001
#      option dest             lan
#      option dest_port        22
#      option proto            tcp

but would like to see:

# port redirect of remapped ssh port (22001) on wan
config redirect
      option src              wan
      option src_dport        22001
      option dest             lan
      option dest_port        22
      option proto            tcp
      option enabled          false

instead. Note the “option enabled false” line.

28.05.20181568Base systemBug ReportVery LowHighD-Link DIR-645 not maintaining WLAN connectionlede-17.01Unconfirmed Task Description

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

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

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

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

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

25.05.20181566Base systemBug ReportVery LowMediumdsl2750b ver b1 wifi not workinglede-17.01Unconfirmed Task Description

Hi

I have a problem with flashed d-link dsl2750b ver b1, with firmware from model dsl2740b rev F1 (it’s the same hardware but mine have also usb)
Lede
model:D-Link DSL-2740B/DSL-2741B rev F1
Firmware Version: LEDE Reboot 17.01.4 r3560-79f57e422d / LuCI lede-17.01 branch (git-17.290.79498-d3f0685)
kernel: 4.4.92

The main problem is that that i cant turn on wifi, after fresh install i didn’t have wireless visible on gui, also in /etc/config/ wireless file is missing,
on ssh command wifi dont turn on, i think it’s something with kernel and module or system,

lspci:

00:00.0 PCI bridge: Broadcom Limited Device 6328
01:00.0 Ethernet controller: Qualcomm Atheros AR5008 Wireless Network Adapter (rev 01)

lsmod:

root@LEDE:~# lsmod
ath 17360 3 ath9k,ath9k_common,ath9k_hw
ath9k 87344 0
ath9k_common 18512 1 ath9k
ath9k_hw 334288 2 ath9k,ath9k_common
cfg80211 223984 4 ath9k,ath9k_common,ath,mac80211
compat 10384 4 ath9k,ath9k_common,mac80211,cfg80211
crc_ccitt 976 1 ppp_async
gpio_button_hotplug 6224 0
ip_tables 9248 3 iptable_nat,iptable_mangle,iptable_filter
ip6_tables 8992 2 ip6table_mangle,ip6table_filter
ip6t_REJECT 896 2
ip6table_filter 576 1
ip6table_mangle 1024 0
ipt_MASQUERADE 624 1
ipt_REJECT 864 2
iptable_filter 640 1
iptable_mangle 848 0
iptable_nat 704 1
mac80211 398800 1 ath9k
nf_conntrack 51264 9 nf_nat_ipv4,nf_conntrack_ipv6,nf_conntrack_ipv4,xt_state,xt_conntrack,xt_CT,nf_nat_masquerade_ipv4,nf_nat,nf_conntrack_rtcache
nf_conntrack_ipv4 5328 9
nf_conntrack_ipv6 5888 4
nf_conntrack_rtcache 2464 0
nf_defrag_ipv4 864 1 nf_conntrack_ipv4
nf_defrag_ipv6 9120 1 nf_conntrack_ipv6
nf_log_common 2384 2 nf_log_ipv4,nf_log_ipv6
nf_log_ipv4 3152 0
nf_log_ipv6 3312 0
nf_nat 9952 4 nf_nat_ipv4,xt_nat,nf_nat_redirect,nf_nat_masquerade_ipv4
nf_nat_ipv4 4112 1 iptable_nat
nf_nat_masquerade_ipv4 1232 1 ipt_MASQUERADE
nf_nat_redirect 880 1 xt_REDIRECT
nf_reject_ipv4 2000 1 ipt_REJECT
nf_reject_ipv6 2416 1 ip6t_REJECT
ppp_async 6352 0
ppp_generic 19984 3 pppoe,ppp_async,pppox
pppoe 7840 0
pppox 1184 1 pppoe
slhc 4144 1 ppp_generic
x_tables 10560 23 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_CT,iptable_mangle,iptable_filter,ip_tables,ip6t_REJECT,ip6table_mangle,ip6table_filter,ip6_tables
xt_CT 2480 0
xt_LOG 720 0
xt_REDIRECT 624 0
xt_TCPMSS 2720 0
xt_comment 448107
xt_conntrack 2208 12
xt_limit 976 20
xt_mac 592 0
xt_mark 624 0
xt_multiport 1168 0
xt_nat 1104 0
xt_state 672 0
xt_tcpudp 1696 8
xt_time 1584 0

dmesg:

[ 0.000000] Linux version 4.4.92 (buildbot@debian8) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3560-79f57e4) ) #0 Tue Oct 17 17:46:20 2017
[ 0.000000] Detected Broadcom 0×6328 CPU revision b0
[ 0.000000] CPU frequency is 320 MHz [ 0.000000] 64MB of RAM installed
[ 0.000000] board_bcm963xx: Boot address 0xb8000000
[ 0.000000] board_bcm963xx: CFE version: 1.0.37-106.5
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0002a075 (Broadcom BMIPS4350)
[ 0.000000] board: board name: AW4339U
[ 0.000000] MIPS: machine is D-Link DSL-2740B/DSL-2741B rev F1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 803a4530, node_mem_map 81002700
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 16 bytes.
[ 0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 59584K/65536K available (3126K kernel code, 150K rwdata, 504K rodata, 1268K init, 198K bss, 5952K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11945377789 ns
[ 0.000018] sched_clock: 32 bits at 160MHz, resolution 6ns, wraps every 13421772796ns
[ 0.008096] Calibrating delay loop... 319.74 BogoMIPS (lpj=639488)
[ 0.046765] pid_max: default: 32768 minimum: 301
[ 0.051824] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.058625] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.073125] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.083207] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.092313] NET: Registered protocol family 16
[ 0.104731] Can’t analyze schedule() prologue at 80016d88
[ 0.347288] registering PCI controller with io_map_base unset
[ 0.371902] PCI host bridge to bus 0000:00
[ 0.376164] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x10ffffff]
[ 0.383229] pci_bus 0000:00: root bus resource [??? 0×00000000 flags 0×0]
[ 0.390214] pci_bus 0000:00: root bus resource [??? 0×00000000 flags 0×0]
[ 0.397201] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.405413] pci 0000:00:00.0: [14e4:6328] type 01 class 0×060400 [ 0.405558] pci 0000:00:00.0: PME# supported from D0 D3hot
[ 0.406043] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.414662] pci 0000:01:00.0: [168c:ff1c] type 00 class 0×020000 [ 0.414779] pci 0000:01:00.0: reg 0×10: [mem 0×00000000-0x0000ffff 64bit]
[ 0.414964] pci 0000:01:00.0: supports D1
[ 0.414996] pci 0000:01:00.0: PME# supported from D0 D1 D3hot
[ 0.415420] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.415474] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[ 0.415552] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[ 0.422591] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f0ffff 64bit]
[ 0.430126] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.435222] pci 0000:00:00.0: bridge window [mem 0x10f00000-0x10ffffff]
[ 0.443688] clocksource: Switched to clocksource MIPS
[ 0.451901] NET: Registered protocol family 2
[ 0.458471] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.465766] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.472365] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.479362] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.485473] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.492461] NET: Registered protocol family 1
[ 0.497060] pci 0000:01:00.0: invalid calibration data
[ 0.502356] PCI: CLS 0 bytes, default 16
[ 0.514069] Crashlog allocated RAM at address 0x3f00000
[ 0.555461] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.561494] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.578157] io scheduler noop registered
[ 0.582220] io scheduler deadline registered (default)
[ 0.588721] PCI: Enabling device 0000:00:00.0 (0000 → 0002)
[ 0.595444] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36, base_baud = 1562500) is a bcm63xx_uart
[ 0.605101] console [ttyS0] enabled
[ 0.612253] bootconsole [early0] disabled
[ 0.630928] m25p80 spi1.0: found mx25l6405d, expected m25p80
[ 0.637044] m25p80 spi1.0: mx25l6405d (8192 Kbytes)
[ 0.642458] bcm63xxpart: CFE boot tag found with version 6 and board type AW4339U
[ 0.650263] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[ 0.656915] bcm63xxpart: Partition 1 is kernel offset 10100 and length 136d38
[ 0.664236] bcm63xxpart: Partition 2 is rootfs offset 146e38 and length 6891c8
[ 0.671670] bcm63xxpart: Partition 3 is cal_data offset 7d0000 and length 10000
[ 0.679191] bcm63xxpart: Partition 4 is nvram offset 7e0000 and length 20000
[ 0.686453] bcm63xxpart: Partition 5 is linux offset 10000 and length 7c0000
[ 0.693708] 6 bcm63xxpart partitions found on MTD device spi1.0
[ 0.699799] Creating 6 MTD partitions on “spi1.0”:
[ 0.704743] 0×000000000000-0×000000010000 : “CFE” [ 0.712717] 0×000000010100-0x000000146e38 : “kernel” [ 0.721462] 0x000000146e38-0x0000007d0000 : “rootfs” [ 0.730140] mtd: device 2 (rootfs) set to be root filesystem
[ 0.736885] 1 squashfs-split partitions found on MTD device rootfs
[ 0.743287] 0×000000370000-0x0000007d0000 : “rootfs_data” [ 0.751671] 0x0000007d0000-0x0000007e0000 : “cal_data” [ 0.760627] 0x0000007e0000-0×000000800000 : “nvram” [ 0.769381] 0×000000010000-0x0000007d0000 : “linux” [ 0.817026] b53_common: found switch: BCM63xx, rev 0
[ 0.822650] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
[ 0.833980] NET: Registered protocol family 10
[ 0.848821] NET: Registered protocol family 17
[ 0.853561] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 0.866563] 8021q: 802.1Q VLAN Support v1.8
[ 0.880618] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 0.905004] Freeing unused kernel memory: 1268K
[ 2.624127] init: Console is alive
[ 2.627995] init: - watchdog -
[ 4.064552] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.214254] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.232321] init: - preinit -
[ 5.149129] random: jshn: uninitialized urandom read (4 bytes read, 108 bits of entropy available)
[ 5.241034] random: jshn: uninitialized urandom read (4 bytes read, 108 bits of entropy available)
[ 5.466573] random: jshn: uninitialized urandom read (4 bytes read, 109 bits of entropy available)
[ 5.558732] random: jshn: uninitialized urandom read (4 bytes read, 109 bits of entropy available)
[ 5.677661] random: jshn: uninitialized urandom read (4 bytes read, 110 bits of entropy available)
[ 6.503993] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[ 6.643598] random: procd: uninitialized urandom read (4 bytes read, 118 bits of entropy available)
[ 9.203749] random: nonblocking pool is initialized
[ 10.113267] jffs2: notice: (334) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 10.134810] mount_root: switching to jffs2 overlay
[ 10.159183] urandom-seed: Seeding with /etc/urandom.seed
[ 10.385596] procd: - early -
[ 10.388836] procd: - watchdog -
[ 11.121061] procd: - watchdog -
[ 11.124797] procd: - ubus -
[ 11.279538] procd: - init -
[ 12.080117] kmodloader: loading kernel modules from /etc/modules.d/*
[ 12.096705] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 12.125694] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[ 12.133999] Backport generated by backports.git backports-20160324-13-g24da7d3c
[ 12.147648] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 12.171590] nf_conntrack version 0.5.0 (950 buckets, 3800 max)
[ 12.244961] xt_time: kernel timezone is -0000
[ 12.383931] PPP generic driver version 2.4.2
[ 12.393543] NET: Registered protocol family 24
[ 12.592551] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 24.500449] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[ 24.627258] device eth0.1 entered promiscuous mode
[ 24.632224] device eth0 entered promiscuous mode
[ 24.640667] br-lan: port 1(eth0.1) entered forwarding state
[ 24.646497] br-lan: port 1(eth0.1) entered forwarding state
[ 26.647764] br-lan: port 1(eth0.1) entered forwarding state

25.05.20181565Base systemBug ReportVery LowMediumdsl2750b ver b1 wifi not workinglede-17.01Unconfirmed Task Description

Hi

I have a problem with flashed d-link dsl2750b ver b1, with firmware from model dsl2740b rev F1 (it’s the same hardware but mine have also usb)
Lede
model:D-Link DSL-2740B/DSL-2741B rev F1
Firmware Version: LEDE Reboot 17.01.4 r3560-79f57e422d / LuCI lede-17.01 branch (git-17.290.79498-d3f0685)
kernel: 4.4.92

The main problem is that that i cant turn on wifi, after fresh install i didn’t have wireless visible on gui, also in /etc/config/ wireless file is missing,
on ssh command wifi dont turn on, i think it’s something with kernel and module or system,

lspci:

00:00.0 PCI bridge: Broadcom Limited Device 6328
01:00.0 Ethernet controller: Qualcomm Atheros AR5008 Wireless Network Adapter (rev 01)

lsmod:

root@LEDE:~# lsmod
ath 17360 3 ath9k,ath9k_common,ath9k_hw
ath9k 87344 0
ath9k_common 18512 1 ath9k
ath9k_hw 334288 2 ath9k,ath9k_common
cfg80211 223984 4 ath9k,ath9k_common,ath,mac80211
compat 10384 4 ath9k,ath9k_common,mac80211,cfg80211
crc_ccitt 976 1 ppp_async
gpio_button_hotplug 6224 0
ip_tables 9248 3 iptable_nat,iptable_mangle,iptable_filter
ip6_tables 8992 2 ip6table_mangle,ip6table_filter
ip6t_REJECT 896 2
ip6table_filter 576 1
ip6table_mangle 1024 0
ipt_MASQUERADE 624 1
ipt_REJECT 864 2
iptable_filter 640 1
iptable_mangle 848 0
iptable_nat 704 1
mac80211 398800 1 ath9k
nf_conntrack 51264 9 nf_nat_ipv4,nf_conntrack_ipv6,nf_conntrack_ipv4,xt_state,xt_conntrack,xt_CT,nf_nat_masquerade_ipv4,nf_nat,nf_conntrack_rtcache
nf_conntrack_ipv4 5328 9
nf_conntrack_ipv6 5888 4
nf_conntrack_rtcache 2464 0
nf_defrag_ipv4 864 1 nf_conntrack_ipv4
nf_defrag_ipv6 9120 1 nf_conntrack_ipv6
nf_log_common 2384 2 nf_log_ipv4,nf_log_ipv6
nf_log_ipv4 3152 0
nf_log_ipv6 3312 0
nf_nat 9952 4 nf_nat_ipv4,xt_nat,nf_nat_redirect,nf_nat_masquerade_ipv4
nf_nat_ipv4 4112 1 iptable_nat
nf_nat_masquerade_ipv4 1232 1 ipt_MASQUERADE
nf_nat_redirect 880 1 xt_REDIRECT
nf_reject_ipv4 2000 1 ipt_REJECT
nf_reject_ipv6 2416 1 ip6t_REJECT
ppp_async 6352 0
ppp_generic 19984 3 pppoe,ppp_async,pppox
pppoe 7840 0
pppox 1184 1 pppoe
slhc 4144 1 ppp_generic
x_tables 10560 23 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_CT,iptable_mangle,iptable_filter,ip_tables,ip6t_REJECT,ip6table_mangle,ip6table_filter,ip6_tables
xt_CT 2480 0
xt_LOG 720 0
xt_REDIRECT 624 0
xt_TCPMSS 2720 0
xt_comment 448107
xt_conntrack 2208 12
xt_limit 976 20
xt_mac 592 0
xt_mark 624 0
xt_multiport 1168 0
xt_nat 1104 0
xt_state 672 0
xt_tcpudp 1696 8
xt_time 1584 0

dmesg:

[ 0.000000] Linux version 4.4.92 (buildbot@debian8) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3560-79f57e4) ) #0 Tue Oct 17 17:46:20 2017
[ 0.000000] Detected Broadcom 0×6328 CPU revision b0
[ 0.000000] CPU frequency is 320 MHz [ 0.000000] 64MB of RAM installed
[ 0.000000] board_bcm963xx: Boot address 0xb8000000
[ 0.000000] board_bcm963xx: CFE version: 1.0.37-106.5
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0002a075 (Broadcom BMIPS4350)
[ 0.000000] board: board name: AW4339U
[ 0.000000] MIPS: machine is D-Link DSL-2740B/DSL-2741B rev F1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 803a4530, node_mem_map 81002700
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 16 bytes.
[ 0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 59584K/65536K available (3126K kernel code, 150K rwdata, 504K rodata, 1268K init, 198K bss, 5952K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11945377789 ns
[ 0.000018] sched_clock: 32 bits at 160MHz, resolution 6ns, wraps every 13421772796ns
[ 0.008096] Calibrating delay loop... 319.74 BogoMIPS (lpj=639488)
[ 0.046765] pid_max: default: 32768 minimum: 301
[ 0.051824] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.058625] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.073125] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.083207] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.092313] NET: Registered protocol family 16
[ 0.104731] Can’t analyze schedule() prologue at 80016d88
[ 0.347288] registering PCI controller with io_map_base unset
[ 0.371902] PCI host bridge to bus 0000:00
[ 0.376164] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x10ffffff]
[ 0.383229] pci_bus 0000:00: root bus resource [??? 0×00000000 flags 0×0]
[ 0.390214] pci_bus 0000:00: root bus resource [??? 0×00000000 flags 0×0]
[ 0.397201] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.405413] pci 0000:00:00.0: [14e4:6328] type 01 class 0×060400 [ 0.405558] pci 0000:00:00.0: PME# supported from D0 D3hot
[ 0.406043] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.414662] pci 0000:01:00.0: [168c:ff1c] type 00 class 0×020000 [ 0.414779] pci 0000:01:00.0: reg 0×10: [mem 0×00000000-0x0000ffff 64bit]
[ 0.414964] pci 0000:01:00.0: supports D1
[ 0.414996] pci 0000:01:00.0: PME# supported from D0 D1 D3hot
[ 0.415420] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.415474] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[ 0.415552] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[ 0.422591] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f0ffff 64bit]
[ 0.430126] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.435222] pci 0000:00:00.0: bridge window [mem 0x10f00000-0x10ffffff]
[ 0.443688] clocksource: Switched to clocksource MIPS
[ 0.451901] NET: Registered protocol family 2
[ 0.458471] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.465766] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.472365] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.479362] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.485473] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.492461] NET: Registered protocol family 1
[ 0.497060] pci 0000:01:00.0: invalid calibration data
[ 0.502356] PCI: CLS 0 bytes, default 16
[ 0.514069] Crashlog allocated RAM at address 0x3f00000
[ 0.555461] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.561494] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.578157] io scheduler noop registered
[ 0.582220] io scheduler deadline registered (default)
[ 0.588721] PCI: Enabling device 0000:00:00.0 (0000 → 0002)
[ 0.595444] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36, base_baud = 1562500) is a bcm63xx_uart
[ 0.605101] console [ttyS0] enabled
[ 0.612253] bootconsole [early0] disabled
[ 0.630928] m25p80 spi1.0: found mx25l6405d, expected m25p80
[ 0.637044] m25p80 spi1.0: mx25l6405d (8192 Kbytes)
[ 0.642458] bcm63xxpart: CFE boot tag found with version 6 and board type AW4339U
[ 0.650263] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[ 0.656915] bcm63xxpart: Partition 1 is kernel offset 10100 and length 136d38
[ 0.664236] bcm63xxpart: Partition 2 is rootfs offset 146e38 and length 6891c8
[ 0.671670] bcm63xxpart: Partition 3 is cal_data offset 7d0000 and length 10000
[ 0.679191] bcm63xxpart: Partition 4 is nvram offset 7e0000 and length 20000
[ 0.686453] bcm63xxpart: Partition 5 is linux offset 10000 and length 7c0000
[ 0.693708] 6 bcm63xxpart partitions found on MTD device spi1.0
[ 0.699799] Creating 6 MTD partitions on “spi1.0”:
[ 0.704743] 0×000000000000-0×000000010000 : “CFE” [ 0.712717] 0×000000010100-0x000000146e38 : “kernel” [ 0.721462] 0x000000146e38-0x0000007d0000 : “rootfs” [ 0.730140] mtd: device 2 (rootfs) set to be root filesystem
[ 0.736885] 1 squashfs-split partitions found on MTD device rootfs
[ 0.743287] 0×000000370000-0x0000007d0000 : “rootfs_data” [ 0.751671] 0x0000007d0000-0x0000007e0000 : “cal_data” [ 0.760627] 0x0000007e0000-0×000000800000 : “nvram” [ 0.769381] 0×000000010000-0x0000007d0000 : “linux” [ 0.817026] b53_common: found switch: BCM63xx, rev 0
[ 0.822650] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
[ 0.833980] NET: Registered protocol family 10
[ 0.848821] NET: Registered protocol family 17
[ 0.853561] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 0.866563] 8021q: 802.1Q VLAN Support v1.8
[ 0.880618] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 0.905004] Freeing unused kernel memory: 1268K
[ 2.624127] init: Console is alive
[ 2.627995] init: - watchdog -
[ 4.064552] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.214254] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.232321] init: - preinit -
[ 5.149129] random: jshn: uninitialized urandom read (4 bytes read, 108 bits of entropy available)
[ 5.241034] random: jshn: uninitialized urandom read (4 bytes read, 108 bits of entropy available)
[ 5.466573] random: jshn: uninitialized urandom read (4 bytes read, 109 bits of entropy available)
[ 5.558732] random: jshn: uninitialized urandom read (4 bytes read, 109 bits of entropy available)
[ 5.677661] random: jshn: uninitialized urandom read (4 bytes read, 110 bits of entropy available)
[ 6.503993] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[ 6.643598] random: procd: uninitialized urandom read (4 bytes read, 118 bits of entropy available)
[ 9.203749] random: nonblocking pool is initialized
[ 10.113267] jffs2: notice: (334) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 10.134810] mount_root: switching to jffs2 overlay
[ 10.159183] urandom-seed: Seeding with /etc/urandom.seed
[ 10.385596] procd: - early -
[ 10.388836] procd: - watchdog -
[ 11.121061] procd: - watchdog -
[ 11.124797] procd: - ubus -
[ 11.279538] procd: - init -
[ 12.080117] kmodloader: loading kernel modules from /etc/modules.d/*
[ 12.096705] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 12.125694] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[ 12.133999] Backport generated by backports.git backports-20160324-13-g24da7d3c
[ 12.147648] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 12.171590] nf_conntrack version 0.5.0 (950 buckets, 3800 max)
[ 12.244961] xt_time: kernel timezone is -0000
[ 12.383931] PPP generic driver version 2.4.2
[ 12.393543] NET: Registered protocol family 24
[ 12.592551] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 24.500449] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[ 24.627258] device eth0.1 entered promiscuous mode
[ 24.632224] device eth0 entered promiscuous mode
[ 24.640667] br-lan: port 1(eth0.1) entered forwarding state
[ 24.646497] br-lan: port 1(eth0.1) entered forwarding state
[ 26.647764] br-lan: port 1(eth0.1) entered forwarding state

25.05.20181563ToolchainBug ReportVery LowMediumConfiguring NAT with nftables does not masquerade packe...lede-17.01Unconfirmed Task Description

Hi. I’m trying to bypass OpenWRT’s firewall and iptables, and trying to use nftables to configure an mt300a device as an LTE hotspot router. I have exhausted all my troubleshooting options, so any help is appreciated.

Detailed routing scenario reproduction instructions are here:

https://gist.github.com/jjzazuet/f6d311497c8693076f832c5ca5d80ae4

23.05.20181559Base systemBug ReportVery LowHighSystem fails to start up correctly, with 2 dnsmasq/ujai...TrunkUnconfirmed Task Description

I have noticed frequent problems with OpenWrt trunk: about 30% of the time it doesn’t start up correctly (but it seems to boot OK and dmesg messages seem fine), ps shows two dnsmasq/ujail processes (note: I’ve been using ujail for the past 2+ years, without serious problems other than FS#878).

When OpenWrt gets stuck with 2 dnsmasq/ujail processes, invoking logread produces the error: “Failed to find log object: Not found” multiple times. If I kill the ujail/dnsmasq processes OpenWrt will just reboot (!)

I’ve tested this on two different OpenWrt VMs and on two different systems running VBox 5.1 and 5.2 under Ubuntu.

Here is what a ps looks like when the LEDE VM has booted normally:

root@10.0.3.141's password: 


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

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r6965-9c0ddafd46
 -----------------------------------------------------
root@OpenWrt:~# ps
  PID USER       VSZ STAT COMMAND
    1 root     13384 S    /sbin/procd
    2 root         0 SW   [kthreadd]
    3 root         0 IW   [kworker/0:0]
    4 root         0 IW<  [kworker/0:0H]
    5 root         0 IW   [kworker/u2:0]
    6 root         0 IW<  [mm_percpu_wq]
    7 root         0 SW   [ksoftirqd/0]
    8 root         0 IW   [rcu_sched]
    9 root         0 IW   [rcu_bh]
   10 root         0 SW   [migration/0]
   11 root         0 SW   [cpuhp/0]
   12 root         0 IW<  [netns]
   13 root         0 IW   [kworker/u2:1]
   17 root         0 IW   [kworker/0:1]
   95 root         0 SW   [oom_reaper]
   96 root         0 IW   [kworker/u2:2]
  232 root         0 IW<  [writeback]
  234 root         0 IW<  [crypto]
  235 root         0 IW<  [kintegrityd]
  237 root         0 IW<  [kblockd]
  304 root         0 IW<  [ata_sff]
  325 root         0 IW<  [watchdogd]
  379 root         0 IW   [kworker/u2:3]
  439 root         0 SW   [kswapd0]
  525 root         0 IW<  [pencrypt]
  527 root         0 IW<  [pdecrypt]
  554 root         0 IW<  [acpi_thermal_pm]
  623 root         0 SW   [scsi_eh_0]
  624 root         0 IW<  [scsi_tmf_0]
  627 root         0 SW   [scsi_eh_1]
  638 root         0 IW<  [scsi_tmf_1]
  641 root         0 SW   [scsi_eh_2]
  642 root         0 IW<  [scsi_tmf_2]
  645 root         0 IW<  [ipv6_addrconf]
  646 root         0 IW   [kworker/u2:4]
  724 root         0 IW<  [kworker/0:1H]
  732 root         0 IW<  [ext4-rsv-conver]
  818 root         0 IW<  [ext4-rsv-conver]
  973 root      9012 S    /sbin/ubusd
  978 root      2744 S    /sbin/askfirst /usr/libexec/login.sh
  979 root      3112 S    /bin/ash --login
 1273 root         0 IW<  [cfg80211]
 1512 root      7064 S    /sbin/logd -S 64
 1743 root     15564 S    /sbin/netifd
 1800 root     11260 S    /usr/sbin/odhcpd
 1860 root      2944 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300 -T 3
 2149 root      3108 S    udhcpc -p /var/run/udhcpc-eth1.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth1 -x hostname:OpenWrt -C -O 121
 2162 root      3108 S    udhcpc -p /var/run/udhcpc-eth2.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth2 -x hostname:OpenWrt -C -O 121
 2169 root      3108 S    udhcpc -p /var/run/udhcpc-vlan40.pid -s /lib/netifd/dhcp.script -f -t 0 -i vlan40 -x hostname:OpenWrt -C -O 121
 2172 root      3108 S    udhcpc -p /var/run/udhcpc-vlan50.pid -s /lib/netifd/dhcp.script -f -t 0 -i vlan50 -x hostname:OpenWrt -C -O 121
 2687 root     10032 S    {dnsmasq} /sbin/ujail -n dnsmasq -u -l -r /dev/null -r /dev/urandom -r /etc/TZ -r /etc/dnsmasq.conf -r /etc/ethers -r /etc/group -r /etc/hosts -r /etc/passwd -r /sbin/hotplug-call 
 2700 dnsmasq  13612 S    /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c -k -x /var/run/dnsmasq/dnsmasq.cfg01411c.pid
 2705 root         0 IW   [kworker/0:2]
 2947 root      7092 S    /usr/sbin/softflowd -d -i eth0 -m 8192 -n 10.0.3.100:2055 -p /var/run/softflowd.pid -c /var/run/softflowd.ctl -v 5 -T full -s 100 -p /var/run/softflowd.pid
 2990 root      7908 S    /usr/lib/ipsec/starter --daemon charon --nofork
 3067 root     78176 S    /usr/lib/ipsec/charon
 3121 root      3112 S<   /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 1.gr.pool.ntp.org -p 0.europe.pool.ntp.org -p 2.europe.pool.ntp.org
 3921 root      3256 S    /bin/sh /usr/sbin/mwan3track wan eth1 online 10.0.3.141 8.8.4.4 208.67.222.222
 4500 root      3256 S    /bin/sh /usr/sbin/mwan3track wan2 eth2 online 10.0.3.70 8.8.8.8 208.67.220.220
 4912 root      3060 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300 -T 3
 4917 root      3112 S    sleep 5
 4922 root      3112 S    sleep 5
 4923 root      3112 S    -ash
 4931 root      3108 R    ps
root@OpenWrt:~# uname -a
Linux OpenWrt 4.14.41 #0 SMP Mon May 21 16:07:48 2018 x86_64 GNU/Linux
root@OpenWrt:~# cat /etc/openwrt_*
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r6965-9c0ddafd46'
DISTRIB_TARGET='x86/64'
DISTRIB_ARCH='x86_64'
DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT r6965-9c0ddafd46'
DISTRIB_TAINTS=''
r6965-9c0ddafd46
root@OpenWrt:~#

And here is what ps on the same system (same VM, same /etc/config etc) looks like when it fails to work correctly:

  PID USER       VSZ STAT COMMAND
    1 root     13384 S    /sbin/procd
    2 root         0 SW   [kthreadd]
    3 root         0 IW   [kworker/0:0]
    4 root         0 IW<  [kworker/0:0H]
    5 root         0 IW   [kworker/u2:0]
    6 root         0 IW<  [mm_percpu_wq]
    7 root         0 SW   [ksoftirqd/0]
    8 root         0 IW   [rcu_sched]
    9 root         0 IW   [rcu_bh]
   10 root         0 SW   [migration/0]
   11 root         0 SW   [cpuhp/0]
   12 root         0 IW<  [netns]
   13 root         0 IW   [kworker/u2:1]
   29 root         0 IW   [kworker/0:1]
   75 root         0 SW   [oom_reaper]
   76 root         0 IW   [kworker/u2:2]
  232 root         0 IW<  [writeback]
  233 root         0 IW<  [crypto]
  235 root         0 IW<  [kintegrityd]
  236 root         0 IW<  [kblockd]
  238 root         0 IW<  [ata_sff]
  325 root         0 IW<  [watchdogd]
  438 root         0 SW   [kswapd0]
  524 root         0 IW<  [pencrypt]
  526 root         0 IW<  [pdecrypt]
  545 root         0 IW<  [acpi_thermal_pm]
  622 root         0 SW   [scsi_eh_0]
  623 root         0 IW<  [scsi_tmf_0]
  626 root         0 SW   [scsi_eh_1]
  637 root         0 IW<  [scsi_tmf_1]
  640 root         0 SW   [scsi_eh_2]
  641 root         0 IW<  [scsi_tmf_2]
  644 root         0 IW<  [ipv6_addrconf]
  645 root         0 IW   [kworker/u2:3]
  646 root         0 IW   [kworker/u2:4]
  728 root         0 IW<  [kworker/0:1H]
  732 root         0 IW<  [ext4-rsv-conver]
  818 root         0 IW<  [ext4-rsv-conver]
  973 root      9016 S    /sbin/ubusd
  978 root      2744 S    /sbin/askfirst /usr/libexec/login.sh
  979 root      3112 S    /bin/ash --login
 1269 root         0 IW<  [cfg80211]
 1801 root     11328 S    /usr/sbin/odhcpd
 2697 root     10032 S    {dnsmasq} /sbin/ujail -n dnsmasq -u -l -r /dev/null 
 2705 root     10032 R    {dnsmasq} /sbin/ujail -n dnsmasq -u -l -r /dev/null 
 2759 root      3108 R    ps
Showing tasks 1 - 50 of 521 Page 1 of 111 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing