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
27.02.2017559Base systemFeature RequestVery LowLowNo Ethernet statistics on ag71xxTrunkUnconfirmed Task Description

On WNDR3700v2:

  # ethtool -i eth1 | head -n 2
  driver: ag71xx
  version: 0.5.35
  # ethtool -S eth1
  no stats available

The only statistics available are the ones provided by `ifconfig`, but I’m not sure whether that is accurate — I’m not seeing any drops even under load.

Note that statistics are available on the switch (through `swconfig show`), it’s only the SoC’s interface that’s impacted.

(While I’m at it, the driver is incomplete in other ways — there’s no support for Pause frames or for scatter-gather, although a quick read of the datasheet indicates that it should be possible to implement these features. I’m not sure that’s important, though.)

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


24.02.2017552Base systemFeature RequestVery LowLowBackup & restore of additionally installed packagesAllUnconfirmed Task Description

There is a discussion and also two different scripts available here:
https://forum.lede-project.org/t/feature-request-for-backup-functionality/603

Is it possible to incorporate some kind of this functionality into the standard distribution to lower the bar for newbies?

Script one:
https://forum.openwrt.org/viewtopic.php?pid=194478#p194478

second:
https://github.com/richb-hanover/OpenWrtScripts/blob/master/config-openwrt.sh

22.02.2017550Base systemBug ReportVery LowLowhostapd (wpad-mesh) fails to start interface at same ti...TrunkUnconfirmed Task Description

Test device: OM2P from 2011 with ath9k and ar71xx subtarget
Version: LEDE 17.01.0-rc1 branch commit reboot-3208-g349577adbf

Build the image with following .config

CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_DEVICE_OM2P=y
CONFIG_OPENSSL_WITH_DEPRECATED=y
CONFIG_OPENSSL_WITH_EC=y
CONFIG_OPENSSL_WITH_NPN=y
CONFIG_OPENSSL_WITH_PSK=y
CONFIG_OPENSSL_WITH_SRP=y
CONFIG_PACKAGE_libopenssl=y
CONFIG_PACKAGE_wpad-mesh=y
# CONFIG_PACKAGE_wpad-mini is not set

Then modify /etc/config/wireless to look like this:

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '1'
        option hwmode '11g'
        option path 'pci0000:00/0000:00:00.0'
        option htmode 'HT20'
        option disabled '0'

config wifi-iface 'ap2'
        option device 'radio0'
        option ifname 'ap-2'
        option network 'lan'
        option mode 'ap'
        option ssid 'meshedAP'
        option macaddr 'ac:86:74:00:00:01'
        option encryption 'none'

config wifi-iface 'mesh2'
        option device 'radio0'
        option ifname 'mesh-2'
        option network 'lan'
        option mode 'mesh'
        option mesh_id 'mymesh'
        option disabled '0'
        option mcast_rate '54000'
        option macaddr 'ae:86:74:00:00:01'
        option mesh_ttl 1
        option mesh_fwding 0
        option encryption 'none'
        option ieee80211w 1
        option encryption 'psk2+aes'
        option key 'reallysecretkey'

The iw dev output looks then like this:

phy#0
        Interface ap-2
                ifindex 8
                wdev 0x3
                addr ac:86:74:00:00:01
                type AP
                txpower 20.00 dBm
        Interface mesh-2
                ifindex 7
                wdev 0x2
                addr ae:86:74:00:00:01
                type mesh point
                channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
                txpower 20.00 dBm

Setting encryption to "none" doesn't help. But it seems to work fine when the mesh interface is disabled in uci

phy#0
        Interface ap-2
                ifindex 11
                wdev 0x6
                addr ac:86:74:00:00:01
                ssid meshedAP
                type AP
                channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
                txpower 20.00 dBm

This could become a big problem for freifunk-gluon when 802.11s is used instead of IBSS in the site.conf. Their setup is using AP + mesh on the same PHY

21.02.2017545Base systemBug ReportVery LowLowUSB does not work ARV4518PWR01Alede-17.01Unconfirmed Task Description

Hello, I tried to install 17.01.0-rc2, r3131 on Arcadyan ARV4518PWR01A but USB is not working.

 


21.02.2017543KernelBug ReportVery LowLowLED trigger netdev on a bridge is not interface sensiti...lede-17.01Unconfirmed Task Description

I have a bridge “br-wan” with “eth1” and “eth0.2” interfaces.

In Chaos I could set the led trigger to either of these interfaces separately. I could display either of the interfaces separately.

In 17.01 no matter what I choose “br-wan”, “eth0.2”, or “eth1” the led shows the full traffic through the bridge.

If this is made on purpose, could you point me to the code change please.

17.02.2017528KernelBug ReportVery LowLowmac80211 -- Lose connectivity to wireless and networklede-17.01Unconfirmed Task Description

Supply the following if possible:

- Device problem occurs on
Linksys WRT3200ACM

- Software versions of LEDE release, packages, etc.
LEDE Reboot 17.01.0-rc2 r3131-42f3c1f / LuCI e306ee6c93c1ef600012f47e40dd75020d4ab555 branch (git-17.033.24085-e306ee6)

- Steps to reproduce
Let it run...

-UpTime
16h 25m 44s

–Kernel Log

ieee80211 phy0: create ba result error 1
[47506.602405] ieee80211 phy0: ampdu operation error code: -22
[47507.239732] ————[ cut here ]———— [47507.244406] WARNING: CPU: 0 PID: 6157 at compat-wireless-2016-10-08/net/mac80211/agg-tx.c:398 0xbf0a9a18 [mac80211@bf09c000+0x5b514]()
[47507.256560] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_pptp nf_nat_ipv4 nf_nat_amanda nf_conntrack_pptp nf_conntrack_ipv6 nf_conntrack_ipv4 nf_conntrack_amanda 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 ts_kmp ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_nat_h323 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt mwlwifi mac80211 cfg80211 compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables uhci_hcd ohci_platform ohci_hcd sd_mod exfat gpio_button_hotplug
[47507.342771] CPU: 0 PID: 6157 Comm: kworker/u4:0 Not tainted 4.4.47 #0
[47507.349237] Hardware name: Marvell Armada 380/385 (Device Tree)
[47507.355184] Workqueue: phy0 0xbf0adfcc [mac80211@bf09c000+0x5b514]
[47507.361399] Function entered at [<c0027d2c>] from [<c0024450>]
[47507.367253] Function entered at [<c0024450>] from [<c0217d44>]
[47507.373108] Function entered at [<c0217d44>] from [<c0034e14>]
[47507.378963] Function entered at [<c0034e14>] from [<c0034ecc>]
[47507.384817] Function entered at [<c0034ecc>] from [<bf0a9a18>]
[47507.390676] Function entered at [<bf0a9a18>] from [<bf0a9e0c>]
[47507.396531] Function entered at [<bf0a9e0c>] from [<bf0ae18c>]
[47507.402387] Function entered at [<bf0ae18c>] from [<c004948c>]
[47507.408241] Function entered at [<c004948c>] from [<c0049930>]
[47507.414095] Function entered at [<c0049930>] from [<c004e644>]
[47507.419950] Function entered at [<c004e644>] from [<c0009d38>]
[47507.425811] —[ end trace edc512a72d599128 ]— [50422.078420] ————[ cut here ]———— [50422.083083] WARNING: CPU: 0 PID: 1587 at compat-wireless-2016-10-08/net/mac80211/agg-tx.c:347 0xbf0a9964 [mac80211@bf09c000+0x5b514]()
[50422.095238] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_pptp nf_nat_ipv4 nf_nat_amanda nf_conntrack_pptp nf_conntrack_ipv6 nf_conntrack_ipv4 nf_conntrack_amanda 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 ts_kmp ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_nat_h323 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt mwlwifi mac80211 cfg80211 compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables uhci_hcd ohci_platform ohci_hcd sd_mod exfat gpio_button_hotplug
[50422.181434] CPU: 0 PID: 1587 Comm: hostapd Tainted: G W 4.4.47 #0
[50422.188684] Hardware name: Marvell Armada 380/385 (Device Tree)
[50422.194629] Function entered at [<c0027d2c>] from [<c0024450>]
[50422.200483] Function entered at [<c0024450>] from [<c0217d44>]
[50422.206338] Function entered at [<c0217d44>] from [<c0034e14>]
[50422.212192] Function entered at [<c0034e14>] from [<c0034ecc>]
[50422.218046] Function entered at [<c0034ecc>] from [<bf0a9964>]
[50422.223904] Function entered at [<bf0a9964>] from [<bf0a9e0c>]
[50422.229758] Function entered at [<bf0a9e0c>] from [<bf0a8a8c>]
[50422.235613] Function entered at [<bf0a8a8c>] from [<bf09f8f4>]
[50422.241468] Function entered at [<bf09f8f4>] from [<bf0a2ae8>]
[50422.247323] Function entered at [<bf0a2ae8>] from [<bf0a2b74>]
[50422.253178] Function entered at [<bf0a2b74>] from [<bf070b60>]
[50422.259036] Function entered at [<bf070b60>] from [<c03d1df0>]
[50422.264891] Function entered at [<c03d1df0>] from [<c03d1110>]
[50422.270745] Function entered at [<c03d1110>] from [<c03d1b08>]
[50422.276599] Function entered at [<c03d1b08>] from [<c03d0ae0>]
[50422.282453] Function entered at [<c03d0ae0>] from [<c03d0f20>]
[50422.288307] Function entered at [<c03d0f20>] from [<c038e11c>]
[50422.294162] Function entered at [<c038e11c>] from [<c038e768>]
[50422.300016] Function entered at [<c038e768>] from [<c038f560>]
[50422.305870] Function entered at [<c038f560>] from [<c0009c80>]
[50422.311731] —[ end trace edc512a72d599129 ]—

17.02.2017526ToolchainBug ReportVery LowLowLEDE 17.01-rc2 SDK requires a too new libstdc++ version...lede-17.01Unconfirmed Task Description

The LEDE 17.01-rc2 SDK wants the symbol GLIBCXX_3.4.20 in libstdc++6, but Ubuntu 14.04 x86_64 only has GLIBCXX_3.4.19.

compiler@host:~$ dpkg -l libstdc++6
ii libstdc++6:amd64 4.8.4-2ubuntu1~14.04.3 amd64 GNU Standard C++ Library v3

compiler@host:~/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64$ make -j1 V=s
[...]
(cd /home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/libubox-2016-11-29-77a62937; CFLAGS=”-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap /home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/libubox-2016-11-29-77a62937:libubox-2016-11-29-77a62937 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/usr/include " CXXFLAGS=”-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap /home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/libubox-2016-11-29-77a62937:libubox-2016-11-29-77a62937 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/usr/include " LDFLAGS=”-L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -znow -zrelro " cmake -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_VERSION=1 -DCMAKE_SYSTEM_PROCESSOR=mips -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS_RELEASE=”-DNDEBUG” -DCMAKE_CXX_FLAGS_RELEASE=”-DNDEBUG” -DCMAKE_C_COMPILER=”/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/host/bin/ccache” -DCMAKE_C_COMPILER_ARG1=”mips-openwrt-linux-musl-gcc” -DCMAKE_CXX_COMPILER=”/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/host/bin/ccache” -DCMAKE_CXX_COMPILER_ARG1=”mips-openwrt-linux-musl-g++” -DCMAKE_ASM_COMPILER=”/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/host/bin/ccache” -DCMAKE_ASM_COMPILER_ARG1=”mips-openwrt-linux-musl-gcc” -DCMAKE_EXE_LINKER_FLAGS:STRING=”-L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -znow -zrelro” -DCMAKE_MODULE_LINKER_FLAGS:STRING=”-L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -znow -zrelro -Wl,-Bsymbolic-functions” -DCMAKE_SHARED_LINKER_FLAGS:STRING=”-L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/usr/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/lib -znow -zrelro -Wl,-Bsymbolic-functions” -DCMAKE_AR=”/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/bin/mips-openwrt-linux-musl-gcc-ar” -DCMAKE_NM=”/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/bin/mips-openwrt-linux-musl-gcc-nm” -DCMAKE_RANLIB=”/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/bin/mips-openwrt-linux-musl-gcc-ranlib” -DCMAKE_FIND_ROOT_PATH=”/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/usr;/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16” -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=BOTH -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY -DCMAKE_STRIP=: -DCMAKE_INSTALL_PREFIX=/usr -DDL_LIBRARY=/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16 -DCMAKE_PREFIX_PATH=/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16 -DCMAKE_SKIP_RPATH=TRUE -DLUAPATH=/usr/lib/lua /home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/libubox-2016-11-29-77a62937 )
/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/host/bin/cmake: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20’ not found (required by /home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/host/bin/cmake)
make[3]: * [/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/libubox-2016-11-29-77a62937/.configured_yynnyy] Error 1
make[3]: Leaving directory `/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/feeds/base/package/libs/libubox’ make[2]:
* [package/feeds/base/libubox/compile] Error 2
make[2]: Leaving directory `/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64’ make[1]: * [/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64/staging_dir/target-mips_24kc_musl-1.1.16/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/compiler/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64’ make:
* [world] Error 2

Further diagnostics:

compiler@host:~/lede-sdk-17.01.0-rc2-lantiq-xrx200_gcc-5.4.0_musl-1.1.16.Linux-x86_64$ for a in staging_dir/host/bin/.*bin; do ldd $a |grep “not found”; done
staging_dir/host/bin/.ccmake.bin: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20’ not found (required by staging_dir/host/bin/.ccmake.bin)
staging_dir/host/bin/.ccmake.bin: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8’ not found (required by staging_dir/host/bin/.ccmake.bin)
staging_dir/host/bin/.cmake.bin: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20’ not found (required by staging_dir/host/bin/.cmake.bin)
staging_dir/host/bin/.cpack.bin: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20’ not found (required by staging_dir/host/bin/.cpack.bin)
staging_dir/host/bin/.cpack.bin: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8’ not found (required by staging_dir/host/bin/.cpack.bin)
staging_dir/host/bin/.ctest.bin: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20’ not found (required by staging_dir/host/bin/.ctest.bin)
staging_dir/host/bin/.gengetopt.bin: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20’ not found (required by staging_dir/host/bin/.gengetopt.bin)
staging_dir/host/bin/.mklibs-readelf.bin: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20’ not found (required by staging_dir/host/bin/.mklibs-readelf.bin)

16.02.2017522Base systemBug ReportVery LowLowsudden wifi-restarts when client connects / r3439 on TP...TrunkUnconfirmed Task Description

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

 
Thu Feb 16 13:31:57 2017 daemon.info hostapd: wlan1-1: STA 00:1e:65:94:22:52 IEEE 802.11: authenticated
Thu Feb 16 13:31:57 2017 daemon.info hostapd: wlan1-1: STA 00:1e:65:94:22:52 IEEE 802.11: associated (aid 2)
Thu Feb 16 13:31:57 2017 daemon.notice hostapd: wlan1-1: AP-STA-CONNECTED 00:1e:65:94:22:52
Thu Feb 16 13:31:58 2017 authpriv.info dropbear[4509]: Child connection from fe80::21e:65ff:fe94:2252%br-mastergate:32784
Thu Feb 16 13:32:01 2017 authpriv.notice dropbear[4509]: Password auth succeeded for 'root' from fe80::21e:65ff:fe94:2252%br-mastergate:32784
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.773904] ath: EEPROM regdomain: 0x8348
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.773917] ath: EEPROM indicates we should expect a country code
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.773924] ath: doing EEPROM country->regdmn map search
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.773930] ath: country maps to regdmn code: 0x3a
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.773936] ath: Country alpha2 being used: US
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.773942] ath: Regpair used: 0x3a
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.773948] ath: regdomain 0x8348 dynamically updated by user
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.774020] ath: EEPROM regdomain: 0x8348
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.774025] ath: EEPROM indicates we should expect a country code
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.774031] ath: doing EEPROM country->regdmn map search
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.774038] ath: country maps to regdmn code: 0x3a
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.774043] ath: Country alpha2 being used: US
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.774048] ath: Regpair used: 0x3a
Thu Feb 16 13:32:03 2017 kern.debug kernel: [ 8201.774054] ath: regdomain 0x8348 dynamically updated by user
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852253] ath: EEPROM regdomain: 0x8348
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852266] ath: EEPROM indicates we should expect a country code
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852273] ath: doing EEPROM country->regdmn map search
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852279] ath: country maps to regdmn code: 0x3a
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852286] ath: Country alpha2 being used: US
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852291] ath: Regpair used: 0x3a
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852298] ath: regdomain 0x8348 dynamically updated by user
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852368] ath: EEPROM regdomain: 0x8348
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852373] ath: EEPROM indicates we should expect a country code
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852380] ath: doing EEPROM country->regdmn map search
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852386] ath: country maps to regdmn code: 0x3a
Thu Feb 16 13:32:04 2017 kern.debug kernel: [ 8202.852391] ath: Country alpha2 being used: US
[...]
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413158] ath: doing EEPROM country->regdmn map search
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413165] ath: country maps to regdmn code: 0x3a
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413171] ath: Country alpha2 being used: US
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413176] ath: Regpair used: 0x3a
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413183] ath: regdomain 0x8348 dynamically updated by user
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413254] ath: EEPROM regdomain: 0x8348
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413259] ath: EEPROM indicates we should expect a country code
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413265] ath: doing EEPROM country->regdmn map search
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413272] ath: country maps to regdmn code: 0x3a
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413277] ath: Country alpha2 being used: US
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413282] ath: Regpair used: 0x3a
Thu Feb 16 13:32:12 2017 kern.debug kernel: [ 8210.413288] ath: regdomain 0x8348 dynamically updated by user
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491093] ath: EEPROM regdomain: 0x8348
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491106] ath: EEPROM indicates we should expect a country code
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491113] ath: doing EEPROM country->regdmn map search
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491120] ath: country maps to regdmn code: 0x3a
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491126] ath: Country alpha2 being used: US
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491131] ath: Regpair used: 0x3a
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491138] ath: regdomain 0x8348 dynamically updated by user
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491210] ath: EEPROM regdomain: 0x8348
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491215] ath: EEPROM indicates we should expect a country code
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491221] ath: doing EEPROM country->regdmn map search
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491227] ath: country maps to regdmn code: 0x3a
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491232] ath: Country alpha2 being used: US
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491237] ath: Regpair used: 0x3a
Thu Feb 16 13:32:13 2017 kern.debug kernel: [ 8211.491243] ath: regdomain 0x8348 dynamically updated by user
Thu Feb 16 13:32:16 2017 daemon.notice hostapd: wlan0-1: interface state ENABLED->DISABLED
Thu Feb 16 13:32:16 2017 daemon.notice hostapd: wlan0-1: AP-DISABLED 
Thu Feb 16 13:32:16 2017 daemon.notice hostapd: wlan0-1: CTRL-EVENT-TERMINATING 
Thu Feb 16 13:32:16 2017 daemon.notice hostapd: nl80211: deinit ifname=wlan0-1 disabled_11b_rates=0
Thu Feb 16 13:32:16 2017 daemon.notice netifd: Network device 'wlan0-1' link is down
Thu Feb 16 13:32:16 2017 daemon.notice netifd: Network alias 'wlan0-1' link is down
Thu Feb 16 13:32:16 2017 daemon.notice netifd: Interface 'wlan' has link connectivity loss
Thu Feb 16 13:32:16 2017 daemon.notice hostapd: wlan1-1: interface state ENABLED->DISABLED
Thu Feb 16 13:32:16 2017 daemon.notice hostapd: wlan1-1: AP-STA-DISCONNECTED 00:1e:65:94:22:52
Thu Feb 16 13:32:16 2017 daemon.notice hostapd: wlan1-1: AP-STA-DISCONNECTED c0:c9:76:09:0c:e0
Thu Feb 16 13:32:16 2017 daemon.notice hostapd: wlan1-1: AP-DISABLED 
Thu Feb 16 13:32:16 2017 daemon.notice hostapd: wlan1-1: CTRL-EVENT-TERMINATING 
Thu Feb 16 13:32:16 2017 daemon.notice hostapd: nl80211: deinit ifname=wlan1-1 disabled_11b_rates=0
Thu Feb 16 13:32:16 2017 daemon.notice netifd: Network device 'wlan1-1' link is down
Thu Feb 16 13:32:16 2017 daemon.notice netifd: Network alias 'wlan1-1' link is down
Thu Feb 16 13:32:16 2017 daemon.notice netifd: Interface 'wlanRADIO1' has link connectivity loss
Thu Feb 16 13:32:16 2017 daemon.info olsrd[5562]: Removing interface wlan1
Thu Feb 16 13:32:16 2017 daemon.err olsrd[5562]: OLSR: sendto IPv4 'Network unreachable' on interface wlan1
Thu Feb 16 13:32:16 2017 daemon.notice netifd: Network device 'wlan1' link is down
Thu Feb 16 13:32:16 2017 daemon.notice netifd: Interface 'wlanadhocRADIO1' has link connectivity loss
[...]

maybe this is a side-effect of may changed regdb, but it was till now never an issue:

root@F36-stube:~ :) iw reg get
global
country US: DFS-UNSET
	(2400 - 2494 @ 40), (N/A, 30), (N/A)
	(4910 - 5895 @ 40), (N/A, 30), (N/A)

phy#1
country US: DFS-UNSET
	(2400 - 2494 @ 40), (N/A, 30), (N/A)
	(4910 - 5895 @ 40), (N/A, 30), (N/A)

phy#0
country US: DFS-UNSET
	(2400 - 2494 @ 40), (N/A, 30), (N/A)
	(4910 - 5895 @ 40), (N/A, 30), (N/A)


16.02.2017521Base systemBug ReportVery LowLowkernel warning in mac802 11 / ibss_leave / r3472TrunkUnconfirmed Task Description

it is a “TP-LINK TL-WR1043ND”.

[46258.340310] ------------[ cut here ]------------
[46258.345255] WARNING: CPU: 0 PID: 10086 at compat-wireless-2017-01-31/net/mac80211/ibss.c:1082 ieee80211_get_vht_mask_from_cap+0x1a50/0x1b90 [mac80211]()
[46258.359026] Modules linked in: ath9k ath9k_common ath9k_hw ath nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda nf_reject_ipv4 nf_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 macvlan iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables compat em_nbyte sch_dsmark sch_pie sch_codel sch_gred em_cmp cls_basic act_ipt sch_red sch_prio em_meta act_police em_text sch_sfq sch_fq act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun vfat fat nls_utf8 nls_iso8859_1 nls_cp437 zram lz4_decompress lz4_compress lzo_compress lzo_decompress zsmalloc usb_storage ohci_platform ohci_hcd ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc16 crc32c_generic crypto_hash [last unloaded: crc_ccitt]
[46258.487331] CPU: 0 PID: 10086 Comm: kworker/u2:0 Not tainted 4.4.47 #0
[46258.494018] Workqueue: phy0 ieee80211_ibss_leave [mac80211]
[46258.499637] Stack : 80e34b40 80e34b40 00000001 800a7590 818ee5bc 80410d63 803aa280 00002766
[46258.499637]    803d4ab4 809dfab4 80410000 800a550c 00000001 800a7590 803af978 80410000
[46258.499637]    00000003 809dfab4 80410000 80095528 00000001 809dfaec 00000000 801f3b30
[46258.499637]    00000001 801f3b00 80f13acc 80e12300 80e12200 70687930 00000000 00000000
[46258.499637]    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[46258.499637]    ...
[46258.535670] Call Trace:
[46258.538143] [<80071e10>] show_stack+0x50/0x84
[46258.542555] [<80081b9c>] warn_slowpath_common+0xa0/0xd0
[46258.547819] [<80081c54>] warn_slowpath_null+0x18/0x24
[46258.553014] [<80f1268c>] ieee80211_get_vht_mask_from_cap+0x1a50/0x1b90 [mac80211]
[46258.560637]
[46258.562148] ---[ end trace eb9418c3bbf97ef5 ]---


uci config is:

wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.country='US'
wireless.radio0.channel='11'
wireless.radio0.frag='off'
wireless.radio0.noscan='1'
wireless.radio0.path='platform/ath9k'
wireless.radio0.hwmode='11ng'
wireless.radio0.ht_capab='SHORT-GI-40' 'DSSS_CCK-40'
wireless.radio0.htmode='HT20'
wireless.radio0.beacon_int='250'
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:00:11'
wireless.@wifi-iface[0].ssid='bb'
wireless.@wifi-iface[0].mcast_rate='6000'
wireless.@wifi-iface[0].macaddr='64:70:02:5c:1b:3c'
14.02.2017514Base systemBug ReportVery LowLowAny files copied to flash gone after reboot17.01.0-rc2 ...TrunkUnconfirmed Task Description

PCEngines Alix with lede-17.01.0-rc2-r3131-42f3c1f-x86-geode-combined-squashfs.img

Boots fine.

Any software installed or files copied to flash disappear after reboot.

However LAN ethernet IP address is (usually)remembered but did get reset on one occasion.
But WiFi config of a USB dongle is always lost.

The board has a Lexar 16GB UDMA7 CF card. This config works fine with OpenWrt CC.

Reflashing, changing the flash card etc makes no difference.

13.02.2017505Base systemBug ReportVery LowLowCan't install LEDE on Linksys EA3500AllUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on Linksys EA3500
- Software versions of LEDE release, packages, etc. Base Stable 17.01rc2 and Development build kirkwood/audi
- Steps to reproduce

 

LEDE kirkwood/audi...factory.bin will not flash on the ea3500, it just boots back into stock firmware. I was able to flash OpenWrt from factory and then flash LEDE from OpenWrt, so i tested both 17.01rc2 and development build, rc2 seems fine but there are no radios present in development build.

12.02.2017500Base systemBug ReportVery LowLowfirewall3: missing targets with IPv6 NATlede-17.01Unconfirmed Task Description

When the kmod-ipt-nat6 package is installed, running /etc/init.d/firewall reload or /etc/init.d/firewall restart produces warnings that targets are missing:

 * Populating IPv6 nat table
   * Zone 'lan'
Warning: fw3_ipt_rule_append(): Can't find target 'prerouting_lan_rule'
Warning: fw3_ipt_rule_append(): Can't find target 'postrouting_lan_rule'
   * Zone 'wan'
Warning: fw3_ipt_rule_append(): Can't find target 'prerouting_wan_rule'
Warning: fw3_ipt_rule_append(): Can't find target 'postrouting_wan_rule'
Warning: fw3_ipt_rule_append(): Can't find target 'prerouting_rule'
Warning: fw3_ipt_rule_append(): Can't find target 'postrouting_rule'

I tested this on an Archer C7 v2 running LEDE 17.01.0rc2.

11.02.2017499Base systemBug ReportVery LowLowWiFi client mode leaves router inaccessible if upstream...TrunkUnconfirmed Task Description

This bug was originally reported to the OpenWrt team and there is a discussion of it in their mailing list. Luiz Angelo Daros de Luca suggested reporting here (and switching to LEDE, which I will do).

I have a TP-Link TL-MR3020 v1.9 with Chaos Calmer 15.05.01. I’m using it to provide a WiFi access point to my phone/tablet while I travel, and it’s acting as a WiFi client for the various hostels I visit.

If you configure it as a wifi client with a wwan interface using the LuCI scan/join wizard, and then you configure a wifi access point on the same radio, the router works as expected and when you connect to the router’s AP, you get Internet via the client connection.

However, if you move out of range of the network the router is a client of, or if it goes down, when you power off the OpenWrt router and power back on, the access point won’t come up.

The AP will only come up if the client network you configured is also working; so you have no way to connect to the router over wifi, and no way to reconfigure the router, if that client network is down or out of range.

This is a particular problem for a travel router because it will often move it out of range of the original upstream network, and you may only have a wifi-capable device with which to reconfigure it.

The Ethernet port on the router does remain active, so I can tell it does actually boot. It’s just the radio that doesn’t come up. I managed to get back in range of a network once, and the router worked as expected.

It doesn’t matter whether the AP or client connection are configured first or second on the radio interface, and, unticking “bring up on boot” for the wwan interface has no effect on the behaviour.

Steps to reproduce: Connect the router to a wifi network as a client using the Join wizard. Add a wifi master-mode access point on the same radio interface. Verify you can access the Internet by joining the router’s new master AP. Reboot the router with the original network it was a client of turned off. Notice the router’s AP you configured never comes up.

Expected behaviour: The master access point of the router should always come up, regardless of the availability of the client network.

The OpenWRT team will not fix it, but had some explanation as to why it is happening. IMO, it’s still a very frustrating bug and most users would expect the behaviour I did.

07.02.2017479Base systemBug ReportVery LowLowSoftethervpn results in ReAlloc error after vpnbridge i...TrunkUnconfirmed Task Description

On a mostly vanilla Atmel at91sam9g20-ek with 32MB of RAM, we are seeing a couple of errors using the current package software version + patches.

Overall, it may be the cross compilation process, overlay or something else entirely.

1. If the vpnbridge is already started, a NAND-WAIT stacktrace results if the binary is executed to instantiate a second instance.

root@lede:/usr/libexec/softethervpn# /usr/bin/env LANG=en_US.UTF-8 vpncmd
[  241.880000] 
[  241.880000] =================================
[  241.880000] [ INFO: inconsistent lock state ]
[  241.880000] 4.4.36 #0 Not tainted
[  241.880000] ---------------------------------
[  241.880000] inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-W} usage.
[  241.880000] kswapd0/155 [HC0[0]:SC0[0]:HE1:SE1] takes:
[  241.880000]  (&f->sem){+.+.?.}, at: [<c012949c>] jffs2_do_clear_inode+0x28/0x114
[  241.880000] {RECLAIM_FS-ON-W} state was registered at:
[  241.880000]   [<c005047c>] lockdep_trace_alloc+0xf8/0x118
[  241.880000]   [<c00b5610>] kmem_cache_alloc+0x28/0x144
[  241.880000]   [<c01261d8>] jffs2_alloc_inode_cache+0x1c/0x28
[  241.880000]   [<c01293a4>] jffs2_do_read_inode+0x13c/0x20c
[  241.880000]   [<c012fe58>] jffs2_iget+0x74/0x324
[  241.880000]   [<c0130830>] jffs2_do_fill_super+0x190/0x274
[  241.880000]   [<c0130e98>] jffs2_fill_super+0xf4/0x144
[  241.880000]   [<c01d1528>] mount_mtd_aux+0x80/0x10c
[  241.880000]   [<c01d1630>] mount_mtd_nr+0x7c/0x94
[  241.880000]   [<c01d17f8>] mount_mtd+0x1b0/0x210
[  241.880000]   [<c01309d4>] jffs2_mount+0x1c/0x28
[  241.880000]   [<c00bbbe4>] mount_fs+0x1c/0xac
[  241.880000]   [<c00d6418>] vfs_kern_mount+0x5c/0x12c
[  241.880000]   [<c00d9e68>] do_mount+0xa04/0xbc8
[  241.880000]   [<c00da270>] SyS_mount+0x7c/0xa8
[  241.880000]   [<c0009660>] ret_fast_syscall+0x0/0x1c
[  241.880000] irq event stamp: 45867
[  241.880000] hardirqs last  enabled at (45867): [<c001508c>] _raw_spin_unlock_irq+0x2c/0x6c
[  241.880000] hardirqs last disabled at (45866): [<c0014e88>] _raw_spin_lock_irq+0x28/0x70
[  241.880000] softirqs last  enabled at (45450): [<c0024088>] __do_softirq+0x208/0x2a4
[  241.880000] softirqs last disabled at (45431): [<c0024488>] irq_exit+0xa4/0xec
[  241.880000] 
[  241.880000] other info that might help us debug this:
[  241.880000]  Possible unsafe locking scenario:
[  241.880000] 
[  241.880000]        CPU0
[  241.880000]        ----
[  241.880000]   lock(&f->sem);
[  241.880000]   <Interrupt>
[  241.880000]     lock(&f->sem);
[  241.880000] 
[  241.880000]  *** DEADLOCK ***
[  241.880000] 
[  241.880000] 2 locks held by kswapd0/155:
[  241.880000]  #0:  (shrinker_rwsem){++++..}, at: [<c0090034>] shrink_slab.part.1.constprop.7+0x30/0x230
[  241.880000]  #1:  (&type->s_umount_key#32){.+.+..}, at: [<c00bb3ec>] trylock_super+0x1c/0x60
[  241.880000] 
[  241.880000] stack backtrace:
[  241.880000] CPU: 0 PID: 155 Comm: kswapd0 Not tainted 4.4.36 #0
[  241.880000] Hardware name: Atmel AT91SAM9
[  241.880000] Backtrace: 
[  241.880000] [<c0019798>] (dump_backtrace) from [<c0019994>] (show_stack+0x18/0x1c)
[  241.880000]  r7:0000000a r6:c38af4c0 r5:c38af0c0 r4:c068f314
[  241.880000] [<c001997c>] (show_stack) from [<c016fdd8>] (dump_stack+0x20/0x28)
[  241.880000] [<c016fdb8>] (dump_stack) from [<c004d144>] (print_usage_bug.part.11+0x228/0x290)
[  241.880000] [<c004cf1c>] (print_usage_bug.part.11) from [<c004d5b0>] (mark_lock+0x404/0x63c)
[  241.880000]  r8:c004c558 r7:c38af0c0 r6:c38af4c0 r5:00000008 r4:0000000a
[  241.880000] [<c004d1ac>] (mark_lock) from [<c004e638>] (__lock_acquire+0x97c/0x198c)
[  241.880000]  r10:c38af0c0 r9:c0667044 r8:c38af4c0 r7:00000001 r6:00000002 r5:c3675704
[  241.880000]  r4:0000025d r3:00000004
[  241.880000] [<c004dcbc>] (__lock_acquire) from [<c004fdcc>] (lock_acquire+0x7c/0x9c)
[  241.880000]  r10:00000042 r9:c334c4c4 r8:c38af0c0 r7:c0ccdd8c r6:00000001 r5:60000013
[  241.880000]  r4:00000000
[  241.880000] [<c004fd50>] (lock_acquire) from [<c0011580>] (mutex_lock_nested+0x50/0x39c)
[  241.880000]  r6:c334d000 r5:c334d000 r4:c36756d0
[  241.880000] [<c0011530>] (mutex_lock_nested) from [<c012949c>] (jffs2_do_clear_inode+0x28/0x114)
[  241.880000]  r10:00000042 r9:c334c4c4 r8:c334c000 r7:00000058 r6:c334d000 r5:c334d000
[  241.880000]  r4:c36756d0
[  241.880000] [<c0129474>] (jffs2_do_clear_inode) from [<c012fde0>] (jffs2_evict_inode+0x34/0x38)
[  241.880000]  r7:00000058 r6:c044ba88 r5:c334d000 r4:c3675730
[  241.880000] [<c012fdac>] (jffs2_evict_inode) from [<c00d1a7c>] (evict+0xac/0x164)
[  241.880000]  r5:c367580c r4:c3675730
[  241.880000] [<c00d19d0>] (evict) from [<c00d1b6c>] (dispose_list+0x38/0x44)
[  241.880000]  r7:00000058 r6:00000063 r5:00000006 r4:c392dd58
[  241.880000] [<c00d1b34>] (dispose_list) from [<c00d2e1c>] (prune_icache_sb+0x4c/0x5c)
[  241.880000]  r5:00000006 r4:c392dd58
[  241.880000] [<c00d2dd0>] (prune_icache_sb) from [<c00bb570>] (super_cache_scan+0x140/0x184)
[  241.880000]  r5:00000000 r4:c392ddd8
[  241.880000] [<c00bb430>] (super_cache_scan) from [<c00901b0>] (shrink_slab.part.1.constprop.7+0x1ac/0x230)
[  241.880000]  r10:00000601 r9:00000000 r8:00000000 r7:00000400 r6:00000062 r5:c334c4c4
[  241.880000]  r4:000000a5
[  241.880000] [<c0090004>] (shrink_slab.part.1.constprop.7) from [<c0092318>] (shrink_zone+0x5f0/0x640)
[  241.880000]  r10:00000004 r9:00000117 r8:c04da918 r7:00000000 r6:00000000 r5:c392ded4
[  241.880000]  r4:c04da6fc
[  241.880000] [<c0091d28>] (shrink_zone) from [<c0092c8c>] (kswapd+0x4ac/0x668)
[  241.880000]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c04da6fc
[  241.880000]  r4:c04da6fc
[  241.880000] [<c00927e0>] (kswapd) from [<c003d1b4>] (kthread+0xe4/0xfc)
[  241.880000]  r10:00000000 r9:00000000 r8:00000000 r7:c00927e0 r6:c04da6fc r5:00000000
[  241.880000]  r4:c3950780
[  241.880000] [<c003d0d0>] (kthread) from [<c00096ec>] (ret_from_fork+0x14/0x28)
[  241.880000]  r7:00000000 r6:00000000 r5:c003d0d0 r4:c3950780

2. If the vpnbridge is instantiated only once, and the vpn client is to be executed, a realloc error occurs:

 /usr/bin/env LANG=en_US.UTF-8 ./vpnclient 
Fatal Error: InternalReAlloc: error: realloc() failed.


Aborted

This is on 4.4.36 LEDE trunk with a FS that looks like:

Filesystem                Size      Used Available Use% Mounted on
/dev/root                 7.4M      7.4M         0 100% /rom
tmpfs                    25.3M      2.7M     22.6M  11% /tmp
tmpfs                    25.3M     44.0K     25.2M   0% /tmp/root
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock2           50.0M      2.2M     47.8M   4% /overlay
overlayfs:/overlay       50.0M      2.2M     47.8M   4% /

Any assistance would be helpful.


05.02.2017469Base systemBug ReportVery LowLowWifi firmware file is not available on ZyXEL P-2812HNU-...lede-17.01Unconfirmed Task Description

Kernel log:

[   11.336056] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[   11.340485] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'.
[   11.350276] rt2800pci 0000:00:0e.0: Direct firmware load for RT3062.eeprom failed with error -2
[   11.358782] rt2800pci 0000:00:0e.0: Falling back to user helper
[   11.479331] firmware RT3062.eeprom: firmware_loading_store: map pages failed
[   11.485217] ieee80211 phy0: rt2x00lib_request_eeprom_file: Error - Failed to request EEPROM.
[   11.493519] rt2800pci: probe of 0000:00:0e.0 failed with error -11

Firmware files:

root@lede:/lib/firmware# ls /lib/firmware/
lantiq-vrx200-a-to-b.bspatch                 rt2860.bin                                   xcpe_581816_580B11.LICENSE                   xcpe_581816_580B11_to_579906_574402.bspatch
lantiq-vrx200-a.bin                          rt3290.bin                                   xcpe_581816_580B11.bin

After adding a RT3062.eeprom the wifi port is available.

 


05.02.2017468Base systemBug ReportVery LowLowFirstboot does not work on ZyXEL P-2812HNU-F1 (17.01.0-...lede-17.01Unconfirmed Task Description

After installing lede-17.01.0-rc1-r3042-ec095b5-lantiq-xrx200-P2812HNUF1-squashfs-sysupgrade.bin on top of Chaos-Calmer on my P-2812HNU-F1, it kept it’s old config, although I didn’t specify that

sysupgrade /tmp/lede.bin

After activating fail-safe I tried to use firstboot to drop the config, but it failed:

root@(none):~# firstboot
This will erase all settings and remove any installed packages. Are you sure? [N/y]
y
/dev/ubi0_1 is not mounted
/dev/ubi0_1 will be erased on next mount
writing /dev/ubi0_1 failed: Operation not permitted

After rebooting it had kept it’s config.

Worked around it with

root@(none):~# mount_root 
switching to ubifs overlay
root@(none):/rom/root# firstboot 
This will erase all settings and remove any installed packages. Are you sure? [N/y]
y
/dev/ubi0_1 is mounted as /overlay, only erasing files
04.02.2017463Base systemBug ReportVery LowLowup/down on a usbnet interfaces fails to reassign ULA ad...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: anything running usbnet
- Software versions of LEDE release, packages, etc: head
- Steps to reproduce:

Install the usbnet package, enable a usb0 device in /etc/config/network

(in my case this is a c.h.i.p, but most hackerboards except the pi do usbnet)

config interface ‘usb0’

      option ifname 'usb0'            
      option proto 'static'                 
      option ipaddr '172.26.97.200'
      option netmask '255.255.255.255'
      option ip6assign '64'           
      option ip6class 'local' 

So long as the chip beats the router to booting, this gives it an ipv4 and ipv6 ULA out of the pool.

Reboot the device on the other side. The kernel deregisters and registers the usbnet driver, and netifd assigns the ipv4 address again.

However the ip6 subnet that was assigned from the ula does not come back. Haven’t tried it with a public address.

ifup/ifdown does not work and the ifstatus usb0 does not show any ipv6 addresses assigned.

01.02.2017449Base systemBug ReportVery LowLowrelayd can cause dropped packets if client has /proc/sy...TrunkUnconfirmed Task Description

DEVICE: N/A (can be reproduced on any system running relayd)
LEDE version: N/A (can be reproduced on a VM running debian with relayd installed)

Steps to reproduce:

* Run relayd on a system (aka router)with two interfaces.
* Run a stock Ubuntu-16.04 system (aka client) connected to the managed interface.
* Run another system (aka server) on the other interface of relayd system.
* Have server ping client and watch connectivity drop out periodically.
* Have client ping server and watch connectivity drop out periodically.

Our fix for the problem need two changes:

* Add arptables rules to system to handle kernel level arp requests properly via mangling the source address in the arp requests
* Modify relayd to send the correct src addr in the arp requests that it generates.

Our changes to relayd are here:

* https://github.com/troth/relayd/commit/c8d895ee71be59262f01c3fdf50f307ebf1593e7

From commit message for my fix:

    Add option to set arp src addr for managed interfaces.
    
    Relayd will send arp requests out a managed interface like this:
    
        Who has 192.168.1.40, tell 192.168.2.1
    
    In most cases, this works, but some clients will not send a reply (on
    linux, client will not reply if /proc/sys/net/ipv4/conf/*/rp_filter is
    set to 1, which happens to be the default on ubuntu-16.04).
    
    Add '-s' option to tell relayd to use the specified addr as the arp src
    addr for managed interfaces. The arp requests would then look like:
    
        Who has 192.168.1.40, tell 192.168.1.100
    
    for which the client properly sends a reply.
    
    The symptoms of the problem manifest as dropped packets due to the
    kernel marking the arp entry for the client as FAILED due to lack of
    responses to the arp requests. Eventually (10-30 seconds later), the arp
    table is updated and connectivity is restored.
31.01.2017446Base systemBug ReportVery LowLowusbport trigger: The default configuration for all fami...TrunkUnconfirmed Task Description

Recently LuCI has get ability to configure LED’s with the usbport trigger https://github.com/openwrt/luci/issues/971. There are issues when reading the old usbdev trigger. There is no need to stay with usbdev at all so if it’s possible it should be converted to use usbport.

28.01.2017441Base systemBug ReportVery LowLowKernel crash: eth0 (ag71xx): transmit queue 0 timed outTrunkUnconfirmed Task Description

Device: TL-WR1043ND v1
LEDE: snapshot r3189-12db207

During a simultaneous bidirectional iperf load test, after about 20 minutes, the kernel crashes. I reproduced this several times:

Server 1 ←–> 1043ND ←–> Laptop via wireless N

LEDE is using a default setup. Only changes:
* Setting wireless encryption to psk with password
* Setting a DNAT rule for server 1 to be able reach the iperf server on the Laptop

This bug was actually discovered while testing fixes for  FS#13  - Ath9k AP stays up for connected clients but doesn’t show in scan on new ones

Serial console ouput:

[ 1294.022551] ------------[ cut here ]------------
[ 1294.027247] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:306 dev_watchdog+0x1dc/0x260()
[ 1294.035754] NETDEV WATCHDOG: eth0 (ag71xx): transmit queue 0 timed out
[ 1294.042319] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nn
[ 1294.106287] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.45 #0
[ 1294.112066] Stack : 803e4844 00000000 00000001 80440000 8042f1dc 8042ee63 803c5e64 00000000
          804a378c 8042d4fc 00000200 00100000 0000000a 800a7618 803cb554 80430000
          00000003 8042d4fc 803c9960 81809e34 0000000a 800a5594 00000006 00000000
          00000000 801f5400 00000000 00000000 00000000 00000000 00000000 00000000
          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
          ...
[ 1294.148122] Call Trace:
[ 1294.150617] [<800a7618>] vprintk_default+0x24/0x30
[ 1294.155474] [<800a5594>] printk+0x2c/0x38
[ 1294.159515] [<801f5400>] wait_for_xmitr+0x84/0xcc
[ 1294.164289] [<80081c3c>] warn_slowpath_common+0xa0/0xd0
[ 1294.169564] [<801a72dc>] dump_stack+0x14/0x28
[ 1294.173975] [<80071eb0>] show_stack+0x50/0x84
[ 1294.178376] [<80081c3c>] warn_slowpath_common+0xa0/0xd0
[ 1294.183661] [<8028ef3c>] dev_watchdog+0x1dc/0x260
[ 1294.188408] [<80081c98>] warn_slowpath_fmt+0x2c/0x38
[ 1294.193450] [<8028ef3c>] dev_watchdog+0x1dc/0x260
[ 1294.198191] [<8028ed60>] dev_watchdog+0x0/0x260
[ 1294.202782] [<800b08d0>] call_timer_fn.isra.5+0x24/0x80
[ 1294.208051] [<800b0b54>] run_timer_softirq+0x1b4/0x1fc
[ 1294.213248] [<800a89f0>] handle_irq_event_percpu+0x154/0x188
[ 1294.218960] [<800841b8>] __do_softirq+0x250/0x298
[ 1294.223721] [<800abdac>] handle_percpu_irq+0x50/0x80
[ 1294.228746] [<8006a9e0>] plat_irq_dispatch+0xd4/0x10c
[ 1294.233848] [<80060bf4>] handle_int+0x134/0x140
[ 1294.238400] 
[ 1294.239904] ---[ end trace 17bad011a41ccba7 ]---
[ 1294.244567] eth0: tx timeout
[ 1299.022570] eth0: tx timeout
[ 1304.022581] eth0: tx timeout
[ 1309.022588] eth0: tx timeout

The eth0: tx timeout line is repeated every 5 seconds.


19.01.2017409Base systemBug ReportVery LowLowArcher C7 all leds are greenTrunkUnconfirmed Task Description

In Archer C7 all leds are green but in lede only the usb leds are labeled as green, all the rest ones are labeled as blue.

18.01.2017408Base systemBug ReportVery LowLowArcher C7 has incorrect default bssid addresses for wif...TrunkUnconfirmed Task Description

Using LEDE Reboot SNAPSHOT r3022-7fb11c8.

This is at least for Archer C7 v2. The default bssids for the networks in my particular device are:

:::::*D for the 2,4 GHz radio and
:::::*C for the 5 GHz radio

In LEDE they result in

:::::*C for the 2,4 GHz radio and
:::::*B for the 5 GHz radio

The problem in LEDE is that the bssid set up for the 2,4 GHz is the one for 5 GHz and then the 5 GHz gets minus one. Don’t know if it could be because the ethernet lan gets also :::::*D and wlan1 can’t have the same mac address as eth1. In the original firmware this seems to be possible, both ethernet lan and 2,4 GHz radio have the same mac/bssid. Also, at least with the 2,4 GHz radio, when you set up another connection with the device as client, the bssid of the master one change *(+2)::::**:*C the second hex digit gets plus 2, the bssid that should get a second connection as ap, but in this case there is one ap one client connections. This one could be right and I have to test with another router to see if it happens because I didn’t notice this before.

18.01.2017406Base systemFeature RequestVery LowLowodhcpd: enable IPv6 unicast relayTrunkUnconfirmed Task Description

We want to use Prefix Delegation in a large layer3 mesh network. Currently odhcpd only supports DHCPv6-Relay by forwarding the incoming request to the master interface with multicast all-routers-destination address.

In a mesh network we do not have master/uplink interfaces. But we have the IP of the DHCP server which is X hops away and the routing protocol knows which way to send the packet.

Is it possible to add dhcp relay via unicast? An additional config parameter for the IP of the DHCP server is then also needed.

18.01.2017403PackagesFeature RequestVery LowLowodhcpd: expand the capability of DHCPv6 HOSTID assignem...TrunkUnconfirmed Task Description

It would be nice to assign the HOSTID range or bit width as an option. odhcpd just assigns ::0100~::0FFF without any options. It would be nice to be able to use all 64 bits. With this, also it would be nice to add a random seed and seed time as options. This way the DUID hash-to-HOSTID could be rotated. In this way, SLAAC privacy addresses could be replicated with STATEFUL DHCP control and well known hostnames. This would support high-accountability networks like Universities and other large organizations.

It would be a counter to Google’s lack of “interest” in supporting DHCPv6. This would provide DHCPv6 privacy addresses.
Android Bug: https://code.google.com/p/android/issues/detail?id=32621

18.01.2017401PackagesFeature RequestVery LowLowodhcpd: lease trigger script receives no argumentsTrunkUnconfirmed Task Description

when odhcpd calls the “lease trigger” script it does not pass any arguments to the script. The reason for the trigger and the host involved in the trigger are not shared. There is no discretion for RENEW, REBIND, CONFIRM, or RELEASE. Scripts which wish to load DNS with limited data, need to store their own copy of DHCP lease file and do differences. Otherwise a raw translate and dump of a large DHCP network could cause a lot of congestion as DHCP clients come on line. Reseting a network can cause an “in rush” flow like air conditioning loads on a power grid during a summer power outage.
This is exacerbated if the DNS is served on a separate device over the network, such as nsd and nsd-control (bind or unbound also). It would be good to at least pass the command and parameters common to a odhcpd lease file line.

18.01.2017400PackagesBug ReportVery LowLowodhcpd: lease file persistence per RFC2131 S-2.1 and S-...TrunkUnconfirmed Task Description

RFC2131 DHCPv4 expects that the DHCP leases and other configuration results are in persistent storage. For small embedded routers during a machine reboot, it has been accepted that read-write memory is RAM (not flash) and persistence may not be entirely upheld. That being said, odhcpd has no means to maintain the lease information even through an application only restart (example ifup event). The lease file odhcpd writes is not used to seed odhcpd, if it is restarted. (1) an interface reconnect that causes odhcpd to restart destroys the lease record, even if the network resumes as previously configured. (2) even if odhcpd lease file is directed to persistent storage (USB drive) it is not used to resume leases.

17.01.2017398PackagesFeature RequestVery LowLowodhcpd: add UCI option to insert DHCP fill for missing ...TrunkUnconfirmed Task Description

This is a request for a common DHCP function found in other software. It would be nice for an odhcpd general option to enable it to fill in unnamed leases. DHCPv4 use the MAC as in unknown-010203040506 and DHCPv6 use the last 64 bits of the DUID as in unknown-0102030405060708. This can be used to figure out which device has failed to send its host name. This is a common problem with DHCPv6. This is a common problem for smart TV or cameras. Consider logs from a device other than the DHCP serving router. Consider where IT may not want to static assign 100’s of host names for display devices over a large work site or campus. Security logs and DHCP logs on a distributed network can then be reconciled a-synchronously, off line, or only when an investigation is required.

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
17.01.2017394Base systemBug ReportVery LowLowPPPoE/802.1Q issues on Linksys WRT1900ACSTrunkUnconfirmed Task Description

Device: Linksys WRT1900ACS
LEDE commit: b9a408c2b49ccfa0e906bda00ef77f4002e401fd

diffconfig:
CONFIG_TARGET_mvebu=y
CONFIG_TARGET_mvebu_DEVICE_linksys-wrt1900acs=y
CONFIG_TARGET_BOARD=”mvebu” CONFIG_LIBSODIUM_MINIMAL=y
CONFIG_PACKAGE_dnscrypt-proxy=y
CONFIG_PACKAGE_dnscrypt-proxy-resolvers=y
CONFIG_PACKAGE_libsodium=y

I have an ISP that requires PPPoE on vlan 201 with 802.1Q tags (CenturyLink fiber). On OpenWRT 15.05.1 and on earlier versions of LEDE (not sure about an exact revision, but maybe October/November timeframe) I could simply define my wan interface in /etc/config/network like this and it just worked:

```
config interface ‘wan’

  option ifname 'eth0.201'
  option proto 'pppoe'
  option username 'user@provider'
  option password 'password'

```

I can’t find any way to make this work on recent versions of LEDE. I’ve tried new builds at least every few weeks, but none have worked for the past few months. I’ve tried configuring the switch_vlan section by adding a ‘t’ after the appropriate switch port to enable tagging, I’ve tried defining a new interface and then using that as the wan ifname, and I’ve tried the command line `ip link` and `ppp` invocations that work on every other linux system I’ve tried, but I can’t find anything that works on recent versions of LEDE.

On other linux systems I can do roughly the following and it works:

```
ip link add link eth0 name eth0.201 type vlan id 201
ip link set eth0.201 up
pppd call centurylink
```

where /etc/ppp/peers/centurylink and /etc/ppp/chap-secrets looks like this:
```
> cat /etc/ppp/peers/centurylink
plugin rp-pppoe.so

eth0.201
name “user@provider” usepeerdns
persist
defaultroute
hide-password
noauth

cat /etc/ppp/chap-secrets
#USERNAME PROVIDER PASSWORD IPADDRESS
user@provider * password
```

I’ve tried using tcpdump to capture what’s happening and on other systems (Ubuntu 16.10, Debian Jessie, pfsense) I see an 802.1Q tag, but I don’t see that on LEDE. That might be expected though because it seems totally possible that the switch itself is doing the 802.1Q stuff and tcpdump doesn’t see the actual packets sent over the wire. I have no idea if that’s the case, though. I guess I could also try this on OpenWRT as well, but I haven’t taken the time to do that yet.

The only other difference I’ve seen is that by default LEDE doesn’t send a Host-Uniq tag, but even if I set the host_uniq uci config it doesn’t fix things. Regardless of what I do I see logs that look like this:

```
Tue Jan 17 01:55:26 2017 daemon.notice netifd: Interface ‘wan’ is now down
Tue Jan 17 01:55:26 2017 daemon.notice netifd: Interface ‘wan’ is disabled
Tue Jan 17 01:55:26 2017 daemon.notice netifd: Interface ‘wan’ has link connectivity loss
Tue Jan 17 01:55:26 2017 kern.info kernel: [23415.581135] mvneta f1034000.ethernet eth0: configuring for fixed link mode
Tue Jan 17 01:55:26 2017 kern.info kernel: [23415.588150] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Tue Jan 17 01:55:26 2017 kern.info kernel: [23415.594095] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Tue Jan 17 01:55:26 2017 daemon.notice netifd: Interface ‘wan’ is enabled
Tue Jan 17 01:55:26 2017 daemon.notice netifd: Network device ‘eth0’ link is up
Tue Jan 17 01:55:26 2017 daemon.notice netifd: VLAN ‘eth0.201’ link is up
Tue Jan 17 01:55:26 2017 daemon.notice netifd: Interface ‘wan’ has link connectivity
Tue Jan 17 01:55:26 2017 daemon.notice netifd: Interface ‘wan’ is setting up now
Tue Jan 17 01:55:26 2017 kern.info kernel: [23415.602431] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Tue Jan 17 01:55:26 2017 daemon.info pppd[2263]: Plugin rp-pppoe.so loaded.
Tue Jan 17 01:55:26 2017 daemon.info pppd[2263]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Tue Jan 17 01:55:26 2017 daemon.notice pppd[2263]: pppd 2.4.7 started by root, uid 0
...
Tue Jan 17 01:55:41 2017 daemon.warn pppd[2263]: Timeout waiting for PADO packets
Tue Jan 17 01:55:41 2017 daemon.err pppd[2263]: Unable to complete PPPoE Discovery
Tue Jan 17 01:55:41 2017 daemon.info pppd[2263]: Exit.
```

A sample /etc/config/network looks like this:
```
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 'fd25:2a59:2a7b::/48'

config interface ‘lan’

      option type 'bridge'
      option ifname 'eth1'
      option proto 'static'
      option ipaddr '192.168.2.1'
      option netmask '255.255.255.0'
      option ip6assign '60'

config interface ‘wan’

  option ifname 'eth0.201'
  option proto 'pppoe'
  option username 'user@provider'
  option password 'password'

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 6'

config switch_vlan

      option device 'switch0'
      option vlan '2'
      option ports '4 5'

config interface ‘guest’

      option _orig_ifname 'wlan1'
      option _orig_bridge 'false'
      option proto 'static'
      option ipaddr '192.168.3.1'
      option netmask '255.255.255.0'

```

Interestingly, OpenWRT has exactly the same version of ppp and rp-pppoe (2.4.7 and 3.8p, respectively) so it seems like there’s something else in play and my guess is it’s related to vlan tagging, but I don’t seem to have the same issue as FS#227 which mentions both PPPoE and vlan config, but it is quite difficult to follow the discussion there so maybe I’m missing something.

15.01.2017389Base systemBug ReportVery LowLowodhcpd relay mode is blocked by firewall by defaultTrunkUnconfirmed Task Description

odhcpd currently won’t work when put in relay mode if followed the manual naively. Turns out this is because firewall blocks incoming traffic to DHCPv6 server (port 547) from external DHCPv6 servers (port 547) from WAN zone by default. It may be a good idea to allow this out of the box, though I’m unsure if there are any security complications from this – I’m a newcomer to IPv6. Replies come with the source global IPv6 address of DHCPv6 server to the global IPv6 address of the router, so it’s difficult to make a more constrained rule without hardcoding them or at least the prefix.

Example rule which fixes relay mode:

config rule
	option enabled '1'
	option target 'ACCEPT'
	option src 'wan'
	option proto 'udp'
	option dest_port '547'
	option name 'Allow DHCPv6 Relay'
	option family 'ipv6'
	option src_port '547'

LEDE revision: 3e7b894ac08b56343e6e449a38fdb2be7b02a127

13.01.2017386Base systemBug ReportVery LowLowConfig option "list channels" doesn't workTrunkUnconfirmed Task Description

Hi,

the option “list channels” is not working.

Patch which implements the function: https://patchwork.ozlabs.org/patch/536533/

LEDE version: SNAPSHOT r2790-08d73bf

Device: Archer C5

config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11a'
	option path 'pci0000:01/0000:01:00.0'
	option country 'DE'
	option htmode 'VHT80'
	option txpower '12'
	option channel 'auto'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'yyy'
	option encryption 'psk2+ccmp'
	option key 'xxx'
	option disabled '1'

config wifi-device 'radio1'
	option type 'mac80211'
	option hwmode '11g'
	option path 'platform/qca955x_wmac'
	option channel 'auto'
	option country 'DE'
	option txpower '20'
	option htmode 'HT40'
	list channels 13
        list channels 12

config wifi-iface 'default_radio1'
	option device 'radio1'
	option network 'lan'
	option mode 'ap'
	option encryption 'psk2+ccmp'
	option key 'xxx'
	option ssid 'yyy'


Ends with a 2.4GHz wlan which is not
visible and iwinfo shows the following information:

Mode: Master Channel: unknown (2.407 GHz)

root@lede:~# iwinfo wlan1 freqlist
  2.412 GHz (Channel 1)
  2.417 GHz (Channel 2)
  2.422 GHz (Channel 3)
  2.427 GHz (Channel 4)
  2.432 GHz (Channel 5)
  2.437 GHz (Channel 6)
  2.442 GHz (Channel 7)
  2.447 GHz (Channel 8)
  2.452 GHz (Channel 9)
  2.457 GHz (Channel 10)
  2.462 GHz (Channel 11)
  2.467 GHz (Channel 12)
  2.472 GHz (Channel 13)

A part of the syslog with a bunch of error messages is attached.

Fell free to ask, if something is missing.

13.01.2017385Base systemBug ReportVery LowLowrampis / JFFS2-problem / Xiaomi Miwifi mini / r2919 / w...TrunkUnconfirmed Task Description

after flashing r2919 i can see strange message with dmesg:

root@lede:~  dmesg | grep -i jffs
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.638380] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    9.908794] jffs2: Node at 0x00000044 with length 0x00001044 would run over the end of the erase block
[    9.918337] jffs2: Perhaps the file system was created with the wrong erase size?
[    9.926009] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000048: 0x1044 instead
[    9.935697] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000004c: 0x586d instead
[    9.945403] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000050: 0x0002 instead
[    9.955094] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000054: 0x0002 instead
[    9.964797] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000058: 0x81a4 instead
[    9.974488] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000060: 0xd8a2 instead
[    9.984190] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000064: 0x9ad1 instead
[    9.993881] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000068: 0x9ad2 instead
[   10.003587] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000006c: 0x9ad2 instead
[   10.013278] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000074: 0x1000 instead
[   10.022959] jffs2: Further such events for this erase block will not be printed
[   11.479386] jffs2: notice: (377) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   11.496420] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   11.525523] jffs2: Node at 0x00000044 with length 0x00001044 would run over the end of the erase block
[   11.535100] jffs2: Perhaps the file system was created with the wrong erase size?
[   11.542896] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000048: 0x1044 instead
[   11.552600] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000004c: 0x586d instead
[   11.562304] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000050: 0x0002 instead
[   11.571994] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000054: 0x0002 instead
[   11.581696] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000058: 0x81a4 instead
[   11.591387] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000060: 0xd8a2 instead
[   11.601089] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000064: 0x9ad1 instead
[   11.610780] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000068: 0x9ad2 instead
[   11.620481] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000006c: 0x9ad2 instead
[   11.630173] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000074: 0x1000 instead
[   11.639854] jffs2: Further such events for this erase block will not be printed
[   13.095966] jffs2: notice: (374) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   14.064922] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   14.086950] mount_root: switching to jffs2 overlay
root@lede:~  

beside that, it seems that the device is working:

root@lede:~  df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.5M      3.5M         0 100% /rom
tmpfs                    61.5M      1.1M     60.4M   2% /tmp
/dev/mtdblock6           10.8M    796.0K     10.0M   7% /overlay
overlayfs:/overlay       10.8M    796.0K     10.0M   7% /
tmpfs                   512.0K         0    512.0K   0% /dev
tmpfs                     2.0M         0      2.0M   0% /coredumps
12.12.2016335KernelBug ReportVery LowLowmac80211 : Warning prints in RX_NAPITrunkUnconfirmed Task Description

Hardware:
- Multiple cns3xxx Gateworks Laguna boards in IBSS config
- 4x UBNT SR-71 per device (802.11n 2×2)
- LEDE r2114

No idea how to repro it properly ...

During a check of a device in the field, I noticed lots of these warnings:

[38467.750000] WARNING: CPU: 0 PID: 0 at compat-wireless-2016-10-08/net/mac80211/rx.c:4180 ieee80211_rx_napi+0xe4/0×934 [mac80211]()
[38467.760000] Rate marked as an HT rate but passed status→rate_idx is not an MCS index [0-76]: 126 (0x7e)

Full log:

http://pastebin.com/raw/rzF0XKyy

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

12.12.2016331Base systemBug ReportVery LowLowmac80211 / warning / ieee80211_ibss_leave / r2449TrunkUnconfirmed Task Description

spotted on TP-Link 4900 v1 with LEDE r2449 (selfcompiled):

[ 2860.974569] ------------[ cut here ]------------
[ 2860.979191] WARNING: at compat-wireless-2016-10-08/net/mac80211/ibss.c:1082
[ 2860.986142] Modules linked in: ath9k ath9k_common iptable_nat ath9k_hw ath snd_usb_audio nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda snd_usbmidi_lib 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 macvlan iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables compat em_nbyte sch_dsmark sch_pie sch_codel sch_gred sch_htb em_cmp cls_basic act_ipt sch_red sch_prio em_meta act_police em_text sch_tbf sch_sfq sch_fq act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables ipip tunnel4 ip_tunnel tun snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd soundcore nls_utf8 zram lz4_decompress lz4_compress lzo_compress lzo_decompress zsmalloc usb_storage gpio_keys leds_gpio ehci_fsl ehci_platform ehci_hcd scsi_mod fsl_mph_dr_of mbcache button_hotplug input_core usbcore nls_base usb_common crc16 crc32c_generic crypto_hash [last unloaded: sd_mod]
[ 2861.124825] CPU: 0 PID: 8624 Comm: kworker/u2:0 Not tainted 4.4.36 #0
[ 2861.131337] Workqueue: phy1 ieee80211_ibss_leave [mac80211]
[ 2861.136903] task: c783b840 ti: c68a4000 task.ti: c68a4000
[ 2861.142292] NIP: c99ab128 LR: c99ab354 CTR: 00000000
[ 2861.147247] REGS: c68a5b10 TRAP: 0700   Not tainted  (4.4.36)
[ 2861.152982] MSR: 00029000 <CE,EE,ME>  CR: 28072422  XER: 20000000
[ 2861.159082]
[ 2861.159082] GPR00: c99ab004 c68a5bc0 c783b840 00000000 c68a5bf4 00000000 00000001 00000000
[ 2861.159082] GPR08: c724b114 00000001 c99f97f6 00000000 000000ff 00000000 c003c474 c790bfe0
[ 2861.159082] GPR16: c6f0f070 00000fff 00000fff c70b2138 c6ae5800 c6e30b40 00000000 00000087
[ 2861.159082] GPR24: 00000000 c68a5c68 c724b114 00000000 c6e30b40 c6e7a3d8 c6f25420 c6f0f070
[ 2861.188805] NIP [c99ab128] ieee80211_get_vht_mask_from_cap+0x1964/0x1c64 [mac80211]
[ 2861.196468] LR [c99ab354] ieee80211_get_vht_mask_from_cap+0x1b90/0x1c64 [mac80211]
[ 2861.204025] Call Trace:
[ 2861.206481] [c68a5bc0] [c99ab004] ieee80211_get_vht_mask_from_cap+0x1840/0x1c64 [mac80211] (unreliable)
[ 2861.215884] [c68a5c60] [c99ab414] ieee80211_get_vht_mask_from_cap+0x1c50/0x1c64 [mac80211]
[ 2861.224156] [c68a5d30] [c99ab9d0] ieee80211_ibss_rx_queued_mgmt+0x264/0x370 [mac80211]
[ 2861.232081] [c68a5e20] [c99acc44] ieee80211_ibss_leave+0x768/0x1770 [mac80211]
[ 2861.239307] [c68a5e80] [c00379f8] process_one_work+0x208/0x380
[ 2861.245135] [c68a5ea0] [c0037de0] worker_thread+0x270/0x48c
[ 2861.250704] [c68a5ef0] [c003c53c] kthread+0xc8/0xcc
[ 2861.255580] [c68a5f40] [c000cb3c] ret_from_kernel_thread+0x5c/0x64
[ 2861.261752] --- interrupt: 0 at   (null)
[ 2861.261752]     LR =   (null)
[ 2861.268618] Instruction dump:
[ 2861.271578] 38810034 387e0510 7f984800 419e024c 4bf410ed 2f830000 40be0030 3d40c9a0
[ 2861.279336] 394a97f6 3b600001 892a0003 69290001 <0f090000> 2f890000 41be01d0 39200001
[ 2861.287267] ---[ end trace a37b58c3292c2cbf ]---

09.12.2016329Base systemBug ReportVery LowLowAR9341 needs analog switch resetTrunkUnconfirmed Task Description

This is a bug report for the AR9341 SOC on LEDE trunk reboot-2445-gee5a6c1.

I have builded a custom firmware for a unsupported device based on the Atheros DB120 reference board.

The analog port of the ethernet switch needs to be resetted before it can operate.

Part of bootlog without analog reset:

[    2.179262] ag71xx-mdio.1: unknown phy id 'ffff:ffff'

Br-lan is not intialized due no analog switch reset.

Part of bootlog with analog reset:

[    2.059037] ag71xx-mdio.1: Found an AR934X built-in switch

And br-lan is initialized and networking is working fine.

A reset is performed by the function ath79_register_eth (defined in dev-eth.c):

ath79_device_reset_set(AR934X_RESET_ETH_SWITCH);
ath79_device_reset_clear(AR934X_RESET_ETH_SWITCH);

However, no analog reset is performed, for example:

ath79_device_reset_set(AR934X_RESET_ETH_SWITCH);
ath79_device_reset_clear(AR934X_RESET_ETH_SWITCH);

ath79_device_reset_set(AR934X_RESET_ETH_SWITCH_ANALOG);
ath79_device_reset_clear(AR934X_RESET_ETH_SWITCH_ANALOG);

Omitting the analog reset does not break the DB120 builds because the analog reset is already performed by ar934x_nfc_hw_reset in dev-nfc.c.

An easy fix is to do a analog reset in the device’s mach file. However, for the sake of consistency and autism, the reset should be performed by ath79_register_eth in dev_eth.c and not by ar934x_nfc_hw_reset in dev_nfc.c. My AR9341 device doesn’t even use a NAND flash.

03.12.2016320Base systemFeature RequestVery LowLowrelayd feature requestTrunkUnconfirmed Task Description

I found a couple of bugs with relayd based bridge configuration and I would like to suggest a feature request. Will fill one entry per issue:

On today’s trunk

3- in a configuration where the network attached to the wireless radio is configured via DHCP, the listening interface is not set up automatically. DD-WRT and Gargoyle do this automatically ( they overwrite the config/network file with the gateway parameter and reload relayd.

 


02.11.2016262Base systemBug ReportVery LowLowipq806x: wlan LEDs not working on TP-Link Archer C2600AllNew Task Description

The LEDs on the Archer C2600 don’t work properly. The WLAN lights don’t work at all (I believe that they are controlled PCIE chips and not GPIO) and the LAN and WAN lights are always on regardless of a cable being connected.

JW


13.10.2016224Base systemBug ReportVery LowLowwrong source IP when logging to remote IPv6 syslog serv...TrunkAssigned Task Description

Hello,

I’m trying to send log to remote IPv6 syslog server (x:y:z:12::1), but packets received by syslog server are invalid. Instead of public IPv6 address, syslog udp packets are sent with ::1 source IP and therefore ignored by destination server. Logging over IPv4 works ok.

tcpdump log from destination syslog server:
23:34:16.988433 IP6 ::1.38044 > x:y:z:12::1.514: SYSLOG daemon.notice, length: 65

Configuration:

/etc/config/system:

 option log_ip 'x:y:z:12::1'

Device is in the same range as syslog server (x:y:z:12::119/64) and has native IPv6 connectivity. Other services (dropbear, ntp client, snmpd, luci) are running fine over IPv6.

Device is TP-Link WDR3600, running lede reboot-1818-gb81fc29.

12.10.2016222Base systemFeature RequestVery LowLowproviding pre-built images for extroot for devices with...TrunkUnconfirmed Task Description

Currently, the only way to be able to make extroot (use an external drive as overlay) for 4MiB devices is to build an image with the Image Builder as they can’t fit the packages needed in the jffs.

For most linux users this isn’t a major issue as the Image Builder runs on Linux and with a couple commands you build all, but it’s still time-consuming.

For everyone else this is an issue, as they need to get a linux system, learn how to use the Image Builder, and so on.

I’m asking if it is possible to make pre-built images with the right packages to allow extroot on 4 MiB devices.

The packages I thing we need in these pre-built images are all is needed by the device to be able to format and check its own drive, because again most users don’t have access to a linux system to format a drive with ext4 or whatever.

It seems e2fsprogs is too big to fit with the other packages required, currently only f2fs filesystem tools are split and can be used in 4MiB devices for extroot.

These are the packages that currently should allow building an extrootable image that fits on 4MiB storage:

blkid block-mount kmod-fs-f2fs kmod-usb-storage kmod-usb-uhci kmod-usb-ohci mkf2fs f2fsck

(of course no luci is included).

24.09.2016185Base systemBug ReportVery LowLow50% packet loss on LAN interface on Netgear R8000TrunkWaiting on reporter Task Description

Hi -

I am on the R8000 and have seen this issue across all builds I’ve tried for the last two months, and as far as I know this has been present forever. The device is connected on IPv4 with VLAN tagging to my ISP using PPPOE. The packet loss being seen is from a hardwired device, and this packet loss can be replicated on any port and with other devices. Attached is a PingPlotter output showing the packet loss. I tried disabling the syn rule in iptables, as I initially suspected that might be the cause. Right now, I am running:
Model Netgear R8000 (BCM4709)
Firmware Version LEDE Reboot r1597 / LuCI Master (git-16.266.66957-07591d7)
Kernel Version 4.4.19

I am happy to provide ANY additional information you required. I am an open source dev for Android and I TRULY APPRECIATE what you guys are doing here.

14.09.2016177Base systemBug ReportVery LowLowipq806x: USB3 ports fail if booted when USB3 flash driv...TrunkWaiting on reporter Task Description

I am seeing a strange problem on my new TRENDnet tew827dru, which is ipq8064 based. It has two USB3 ports.

I have noticed a problem with USB3 flash drives. If I boot the system with a USB3 flash drive in one of the USB ports, that port won’t allow any USB3 drive to work in it until the next reboot.

It seems to be a xhci driver issue.

This behavior is somewhat intermittent and varied. Occasionally my Silicon Power USB3 drive will work fine after boot, and the SanDisk USB3 drive almost always appears in “lsusb”, but the partitions can’t be seen, and it still doesn’t work right.

The USB3 flash drives works as-expected if I plug them in after boot is completed. The issue only appears if the drive was already in the USB port during boot time.

USB2 flash drives do not appear to be affected.

The USB3 hard drive I tested seems to be working normally.

USB flash drives tested:

  SanDisk Ultra Fit 16GB (USB3)
  Patriot Tab Series 32GB (USB3)
  Silicon Power 32GB (USB3)
  Kingston DTSE9 8GB (USB2)
  Patriot 8GB (USB2)

Below is an example boot log where I have a USB3 drive in each of the two ports. Neither works:

[ 6.275249] usbcore: registered new interface driver usbfs
[ 6.275322] usbcore: registered new interface driver hub
[ 6.279713] usbcore: registered new device driver usb
[ 6.320705] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 6.321204] ehci-platform: EHCI generic platform driver
[ 6.331613] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
[ 6.332310] ohci-platform: OHCI generic platform driver
[ 6.841285] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 6.841329] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 6.845931] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f065 hci version 0×100 quirks 0×00010010 [ 6.853327] xhci-hcd xhci-hcd.0.auto: irq 200, io mem 0×11000000 [ 6.862602] hub 1-0:1.0: USB hub found
[ 6.872028] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 6.875912] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 6.881170] usb usb2: We don’t know the algorithms for LPM for this host, disabling LPM.
[ 6.889250] hub 2-0:1.0: USB hub found
[ 6.900865] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 6.904684] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[ 6.910066] xhci-hcd xhci-hcd.1.auto: hcc params 0x0228f065 hci version 0×100 quirks 0×00010010 [ 6.917541] xhci-hcd xhci-hcd.1.auto: irq 201, io mem 0×10000000 [ 6.926734] hub 3-0:1.0: USB hub found
[ 6.936227] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 6.940023] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[ 6.945455] usb usb4: We don’t know the algorithms for LPM for this host, disabling LPM.
[ 6.953458] hub 4-0:1.0: USB hub found
[ 6.965885] of_get_named_gpiod_flags: parsed ‘gpios’ property of node ‘/gpio-leds/usb[0]’ - status (0)
[ 6.967608] usbcore: registered new interface driver usb-storage
[ 7.182177] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 7.252035] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[ 7.382317] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 7.417343] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 7.428209] scsi host0: usb-storage 2-1:1.0
[ 7.442238] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 7.465865] usb-storage 4-1:1.0: USB Mass Storage device detected
[ 7.466672] scsi host1: usb-storage 4-1:1.0
[ 8.462818] scsi 1:0:0:0: Direct-Access USB DISK 3.0 PMAP PQ: 0 ANSI: 6
[ 17.195224] xhci-hcd xhci-hcd.0.auto: xHCI host not responding to stop endpoint command.
[ 17.195259] xhci-hcd xhci-hcd.0.auto: Assuming host is dying, halting host.
[ 17.227985] xhci-hcd xhci-hcd.0.auto: Host not halted after 16000 microseconds.
[ 17.228010] xhci-hcd xhci-hcd.0.auto: Non-responsive xHCI host is not halting.
[ 17.234094] xhci-hcd xhci-hcd.0.auto: Completing active URBs anyway.
[ 17.241418] xhci-hcd xhci-hcd.0.auto: HC died; cleaning up
[ 17.248041] usb usb1-port1: couldn’t allocate usb_device
[ 17.253296] usb 2-1: USB disconnect, device number 2
[ 17.263718] xhci-hcd xhci-hcd.1.auto: xHCI host not responding to stop endpoint command.
[ 17.263722] xhci-hcd xhci-hcd.1.auto: Assuming host is dying, halting host.
[ 17.289471] xhci-hcd xhci-hcd.1.auto: Host not halted after 16000 microseconds.
[ 17.289481] xhci-hcd xhci-hcd.1.auto: Non-responsive xHCI host is not halting.
[ 17.289491] xhci-hcd xhci-hcd.1.auto: Completing active URBs anyway.
[ 17.289534] xhci-hcd xhci-hcd.1.auto: HC died; cleaning up
[ 17.324608] usb usb3-port1: couldn’t allocate usb_device
[ 17.329821] usb 4-1: USB disconnect, device number 2

And here I am plugging both drives in after the system booted normally.

[ 6.193094] usbcore: registered new interface driver usbfs
[ 6.193173] usbcore: registered new interface driver hub
[ 6.197552] usbcore: registered new device driver usb
[ 6.238600] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 6.239108] ehci-platform: EHCI generic platform driver
[ 6.249525] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
[ 6.250089] ohci-platform: OHCI generic platform driver
[ 6.761332] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 6.761378] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 6.765992] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f065 hci version 0×100 quirks 0×00010010 [ 6.773385] xhci-hcd xhci-hcd.0.auto: irq 200, io mem 0×11000000 [ 6.782646] hub 1-0:1.0: USB hub found
[ 6.792070] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 6.795937] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 6.801200] usb usb2: We don’t know the algorithms for LPM for this host, disabling LPM.
[ 6.809293] hub 2-0:1.0: USB hub found
[ 6.820906] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 6.824739] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[ 6.830118] xhci-hcd xhci-hcd.1.auto: hcc params 0x0228f065 hci version 0×100 quirks 0×00010010 [ 6.837600] xhci-hcd xhci-hcd.1.auto: irq 201, io mem 0×10000000 [ 6.846784] hub 3-0:1.0: USB hub found
[ 6.856269] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 6.860070] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[ 6.865495] usb usb4: We don’t know the algorithms for LPM for this host, disabling LPM.
[ 6.873508] hub 4-0:1.0: USB hub found
[ 6.885940] of_get_named_gpiod_flags: parsed ‘gpios’ property of node ‘/gpio-leds/usb[0]’ - status (0)
[ 27.122596] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 27.144608] usb-storage 4-1:1.0: USB Mass Storage device detected
[ 27.155356] scsi host0: usb-storage 4-1:1.0
[ 28.153237] scsi 0:0:0:0: Direct-Access USB DISK 3.0 PMAP PQ: 0 ANSI: 6
[ 30.753700] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 30.776011] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 30.776282] scsi host1: usb-storage 2-1:1.0

07.09.2016162Base systemBug ReportVery LowLowTwo issues with libuclient-openssl in luci-sslTrunkUnconfirmed Task Description

1: RC4 and 3DES are used when both have security issues. Actually the latter also is true of mbedtls/polarssl.

2: Only TLS 1.2 is supported. This makes multiple clients unable to connect.

BTW, I got this working after modifying the Makefile to luci-ssl to depend on libustream-openssl instead. No idea what the situation is but so far it works without a problem.

05.09.2016160Base systemBug ReportVery LowLowusb-serial (pl2303) failures on mt7621 dlink dir860l-b1TrunkUnconfirmed Task Description
git describe
reboot-1497-ga810e77

with diffconfig:

CONFIG_TARGET_ramips=y
CONFIG_TARGET_ramips_mt7621=y
CONFIG_TARGET_ramips_mt7621_DEVICE_dir-860l-b1=y
CONFIG_DEVEL=y
CONFIG_BUILD_LOG=y
CONFIG_PACKAGE_ip=y
CONFIG_PACKAGE_kmod-usb-core=y
CONFIG_PACKAGE_kmod-usb-ohci=y
CONFIG_PACKAGE_kmod-usb-ohci-pci=y
CONFIG_PACKAGE_kmod-usb-serial=y
CONFIG_PACKAGE_kmod-usb-serial-ftdi=y
CONFIG_PACKAGE_kmod-usb-serial-pl2303=y
CONFIG_PACKAGE_kmod-usb2=y
CONFIG_PACKAGE_kmod-usb2-pci=y
CONFIG_PACKAGE_kmod-usb3=y
CONFIG_PACKAGE_screen=y

screen starts, but doesn’t work. The usb-relevant dmesg’s are:

[    4.550000] usbcore: registered new interface driver usbfs
[    4.560000] usbcore: registered new interface driver hub
[    4.570000] usbcore: registered new device driver usb
[    4.580000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.620000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.670000] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    4.720000] hub 1-0:1.0: USB hub found
[    4.740000] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    4.760000] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.770000] hub 2-0:1.0: USB hub found
[    5.260000] usb 1-1: new full-speed USB device number 2 using xhci-mtk
[    5.410000] usb 1-1: no of_node; not parsing pinctrl DT
[   10.150000] usbcore: registered new interface driver usbserial
[   10.160000] usbcore: registered new interface driver usbserial_generic
[   10.180000] usbserial: USB Serial support registered for generic
[   10.220000] usbcore: registered new interface driver ftdi_sio
[   10.240000] usbserial: USB Serial support registered for FTDI USB Serial Device
[   10.260000] usbcore: registered new interface driver pl2303
[   10.270000] usbserial: USB Serial support registered for pl2303
[   10.290000] pl2303 ttyUSB0: no of_node; not parsing pinctrl DT
[   10.290000] usb 1-1: pl2303 converter now attached to ttyUSB0
[  871.510000] pl2303 ttyUSB0: pl2303_get_line_request - failed: -145
[  871.620000] pl2303 ttyUSB0: pl2303_set_line_request - failed: -145
[  871.840000] pl2303 ttyUSB0: pl2303_set_control_lines - failed: -145

Screen also throws an error (which gets blanked out, but is captured by the serial console):

# screen /dev/ttyUSB0 115200
/dev/null/utmp: Not a directory
04.09.2016153KernelBug ReportVery LowLowKERNEL_DYNAMIC_FTRACE=y on mips => panic TrunkAssigned Task Description

Github issue #129 reported by: https://github.com/stsydow

If KERNEL_DYNAMIC_FTRACE is enabled on a MIPS system it will panic in late boot. (tested on ar71xx and malta)
The error message is not very helpful, maybe some one has an idea how to track it down:

[    5.579744] procd: - init -
Please press Enter to activate this console.
[    5.854903] CPU 0 Unable to handle kernel paging request at virtual address 00c03849, epc == 8026a400, ra == 8026a3e4
[    5.855392] Oops[#1]:
[    5.855602] CPU: 0 PID: 1611 Comm: kmodloader Not tainted 4.4.13 #20
[    5.855862] task: 8d86a0a0 ti: 8fa22000 task.ti: 8fa22000
[    5.856060] $ 0   : 00000000 8026a3e4 80130620 00000000
[    5.856380] $ 4   : 8dc48ab0 00000001 0000000e 81b97540
[    5.856607] $ 8   : 0024f000 00003edc 00000000 00000001
[    5.856795] $12   : 8d8410c0 00000025 00000000 6261745f
[    5.856984] $16   : 8dc48a80 81980000 00c03821 801305f4
[    5.857174] $20   : 8dc48ad9 80130620 0000001d 024000c0
[    5.857362] $24   : 00000000 8015655c                  
[    5.857569] $28   : 8fa22000 8fa23bd0 80194d48 8026a3e4
[    5.857766] Hi    : 00000018
[    5.857863] Lo    : 00000007
[    5.858008] epc   : 8026a400 proc_register+0x74/0x130
[    5.858167] ra    : 8026a3e4 proc_register+0x58/0x130
[    5.858317] Status: 1000b703 KERNEL EXL IE 
[    5.858529] Cause : 00800008 (ExcCode 02)
[    5.858655] BadVA : 00c03849
[    5.858764] PrId  : 00019300 (MIPS 24Kc)
[    5.858895] Modules linked in: ip6_tables(+) x_tables mii
[    5.859219] Process kmodloader (pid: 1611, threadinfo=8fa22000, task=8d86a0a0, tls=77528e48)
[    5.859477] Stack : 8da50000 8026a1a4 8f898000 81b94a40 81945a40 8014d8c4 00000001 8dc48a80
      8da4e540 00000000 8f9d6370 8da50000 8da50000 8026a724 00000000 80650000
      8da4e400 00000000 8f9d6370 80650000 8da4e400 8da4d134 00000000 8d86a0e8
      801305f4 00000000 00000000 5ce6d83d 81b94a40 61745f78 73656c62 6d616e5f
      8d007365 0000af3b 81b94a40 81b94a40 8dad46b0 00000000 8fa23d30 80650000
      ...
[    5.861631] Call Trace:
[    5.861728] [<8026a400>] proc_register+0x74/0x130
[    5.861954] [<8026a724>] proc_create_data+0xac/0xd8
[    5.862188] [<8da4d134>] xt_proto_init+0xa4/0x1d0 [x_tables]
[    5.862414] [<8042e640>] ops_init.constprop.9+0x10c/0x150
[    5.862593] [<8042e71c>] register_pernet_operations.isra.4+0x98/0xec
[    5.862796] [<8042e7a4>] register_pernet_subsys+0x34/0x58
[    5.862986] [<8f9d7030>] init_module+0x28/0xcc [ip6_tables]
[    5.863174] [<801006b4>] do_one_initcall+0x1f8/0x224
[    5.863341] [<801c5c8c>] do_init_module+0x84/0x1f8
[    5.863504] [<80197ca0>] load_module+0x1888/0x1d58
[    5.863680] [<80198290>] SyS_init_module+0x120/0x164
[    5.863846] [<80113908>] syscall_common+0x30/0x54
[    5.864046] 
[    5.864130] 
Code: 12400014  26040030  92060058 <92420028> 00c2182b  14600008  00000000  0046102b  14400009 
[    5.864794] ---[ end trace 6cd948b6ebb870af ]---

To test, try this config: config.zip

(default config for malta-mips + KERNEL_DYNAMIC_FTRACE)
and run

qemu-system-mipsel -kernel bin/targets/malta/le/lede-malta-le-vmlinux-initramfs.elf -nographic -m 256

Full boot log: crash-dyn-trace.log.txt

02.09.2016137KernelBug ReportVery LowLowKernel panic with zram TrunkUnconfirmed Task Description

Github issue #296, reported by https://github.com/Ansuel

I have compiled my image with zram support and i have this bug related to the kernel. After that my router panic and reboot

[ 33.149266] Kernel bug detected[#1]:
[ 33.152913] CPU: 0 PID: 7 Comm: kworker/u2:1 Not tainted 4.4.19 #0
[ 33.159203] Workqueue: writeback wb_workfn (flush-254:0)
[ 33.164610] task: 87c31e30 ti: 87cbe000 task.ti: 87cbe000
[ 33.170078] $ 0 : 00000000 00000001 00000001 00000001
[ 33.175410] $ 4 : 87f7d400 87cbf990 00000000 00008000
[ 33.180743] $ 8 : 87f7d800 00080000 00000001 00000001
[ 33.186076] $12 : 00000120 8100ca20 00000000 00000100
[ 33.191409] $16 : 87929068 87cbfa88 87f7d800 00000000
[ 33.196741] $20 : 87f7d800 87f7d400 87f7d400 00000001
[ 33.202075] $24 : 00000000 8748c9a4

[ 33.207407] $28 : 87cbe000 87cbf938 00000001 874bcbfc
[ 33.212740] Hi : 00000000
[ 33.215662] Lo : 00000001
[ 33.218662] epc : 874bc1c0 ext4_set_bits+0x2980/0x3ad0 [ext4]
[ 33.224687] ra : 874bcbfc ext4_set_bits+0x33bc/0x3ad0 [ext4]
[ 33.230685] Status: 1100dc03 KERNEL EXL IE 
[ 33.234963] Cause : 00800034 (ExcCode 0d)
[ 33.239029] PrId : 0001974c (MIPS 74Kc)
[ 33.243003] 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_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT usblp ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda 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_netlink nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbdev xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables usb_storage ehci_pci ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common ext4 mbcache jbd2 crypto_hash crc16 zram zsmalloc lzo_decompress lzo_compress lz4_decompress lz4_compress
[ 33.362435] Process kworker/u2:1 (pid: 7, threadinfo=87cbe000, task=87c31e30, tls=00000000)
[ 33.370902] Stack : 00000000 81000000 810e9d40 874fed80 804f7b10 00000000 00000000 0000000a
[ 33.370902] 00000000 80099df8 87d8d680 87929068 87cbfa88 87cbfa78 00000000 874bcbfc
[ 33.370902] 810d8bc0 00000000 87929068 87f7d800 87cbfa78 874b8224 00000000 801228c8
[ 33.370902] 00000000 00000001 87cbf9a8 87cbf9ac 00000001 00000000 87929068 87cbfa88
[ 33.370902] 87cbfa78 00000000 87f7d800 00000000 87f7d400 00000001 00000000 874be4d4
[ 33.370902] ...
[ 33.407231] Call Trace:
[ 33.409739] [<874bc1c0>] ext4_set_bits+0x2980/0x3ad0 [ext4]
[ 33.415428] [<874bcbfc>] ext4_set_bits+0x33bc/0x3ad0 [ext4]
[ 33.421087] 
[ 33.422593] 
[ 33.422593] Code: 8e420020 0062102b 38420001 <00020336> 96020050 30420200 10400080 00000000 8e420080 
[ 33.432826] ---[ end trace 6f97ef034652357b ]---

Any idea about this?

02.09.2016133Base systemBug ReportVery LowLowNetgear r8000 cannot use 802.1x encryptionTrunkUnconfirmed Task Description

Github issue #305 reported by https://github.com/Halry

My android phone can’t connect to it.(tested on nexus 6p and samsung s7 edge)
Sun Aug 28 16:28:46 2016 daemon.debug hostapd: wlan2: STA 94:fe:22:11:22:33 IEEE 802.1X: Sending EAP Packet (identifier 247)
Sun Aug 28 16:28:46 2016 daemon.debug hostapd: wlan2: STA 94:fe:22:11:22:33 WPA: sending 1/4 msg of 4-Way Handshake
Sun Aug 28 16:28:46 2016 daemon.debug hostapd: wlan2: STA 94:fe:22:11:22:33 WPA: received EAPOL-Key frame (2/4 Pairwise)
Sun Aug 28 16:28:46 2016 daemon.debug hostapd: wlan2: STA 94:fe:22:11:22:33 WPA: sending 3/4 msg of 4-Way Handshake
Sun Aug 28 16:28:46 2016 daemon.info hostapd: wlan2: STA 94:fe:22:11:22:33 IEEE 802.11: disassociated
Sun Aug 28 16:28:46 2016 daemon.debug hostapd: wlan2: STA 94:fe:22:11:22:33 WPA: event 2 notification
Sun Aug 28 16:29:00 2016 daemon.info hostapd: wlan1: STA 94:fe:22:11:22:33 IEEE 802.11: associated
Sun Aug 28 16:29:00 2016 daemon.info hostapd: wlan1: STA 94:fe:22:11:22:33 IEEE 802.11: disassociated
Sun Aug 28 16:29:11 2016 daemon.info hostapd: wlan1: STA 94:fe:22:11:22:33 IEEE 802.11: associated
Sun Aug 28 16:29:11 2016 daemon.info hostapd: wlan1: STA 94:fe:22:11:22:33 IEEE 802.11: disassociated

However,Windows can connect to it.

Here are some my nexus 6p’s dmesg:
CFG80211-ERROR wl_cfg80211_disconnect:Reason 17

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.

07.08.201681Base systemFeature RequestVery LowLowAdd ability to limit wifi channels for "auto" channel s...TrunkUnconfirmed Task Description

A nice feature for LEDE would be ability to limit what channels are used for when setting an interface up for “auto” channel selection.

For example, on 2.4 GHz, while channels 1-11 are often available, it’s better to just use 1, 6, and 11. But for “auto” mode, the router will still sometimes pick one of the in between channels. If there was some sort of checklist where you could pick only those channels you want the algorithm to use, it would allow finer grained control over the process.

It would be trickier for the GHz band though, since there are often different power limits associated with the different bands.

Showing tasks 401 - 450 of 460 Page 9 of 10<<First - 6 - 7 - 8 - 9 - 10 -

Available keyboard shortcuts

Tasklist

Task Details

Task Editing