LEDE Project

Welcome to the LEDE Project bug reporting and issue tracking system

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

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

OpenedIDCategoryTask TypePrioritySeverity  descSummaryReported InStatus
10.02.2017494Base systemBug ReportVery LowCriticalNETDEV WATCHDOG: ptm0 (): transmit queue 0 timed outAllNew Task Description

I have a VDSL line with Plusnet (UK) - the connection is pppoe - ptm0.101. With the supplied modem/router the line and connection is stable with no disconnects. With LEDE the connection is established and works well until it disconnects (sometimes as early as few minutes other times it stays connected up to an hour). After the disconnect there is no reconnection until a reboot. Restarting wan interface (ifdown wan/ifup wan) or dsl connection (/etc/init.d/dslcontrol stop/start) does not help.

Supply the following if possible:
- Device problem occurs on TP-w8970 and BTHomehub 5A (same crash on both lantiq based devices)
- Software versions of LEDE release, packages, etc. Tested on LEDE RC2, earlier LEDE snapshot from October 2016, Openwrt CC - same symptoms
- Steps to reproduce - VDSL connection on ptm0.101 via pppoe

Here is a trace of the crash (dmesg):

[ 1414.124413] —[ beginning trace ff034b465cdad16b ]— [ 1414.125631] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:303 dev_watchdog+0x1a8/0x2f0()
[ 1414.126471] NETDEV WATCHDOG: ptm0 (): transmit queue 0 timed out
[ 1414.132456] Modules linked in: ltq_ptm_vr9 option iptable_nat ath9k usb_wwan rt2800usb rt2800lib
pppoe nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 l2tp_ppp ipt_REJECT ipt_MASQUERADE ath9k_common
xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_policy xt_nat xt_multiport xt_mark xt_mac
xt_limit xt_length xt_id xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit
xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbserial rt2x00usb
rt2x00lib pppox ppp_async 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 ltq_deu_vr9 iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN
ip_tables crc_itu_t crc_ccitt cdc_acm ath9k_hw ath10k_pci ath10k_core ath mac80211 cfg80211 compat drv_dsl_cpe_api
drv_mei_cpe 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 pppoatm ppp_generic slhc
l2tp_ip6 l2tp_ip l2tp_eth sit l2tp_netlink l2tp_core udp_tunnel ip6_udp_tunnel ipcomp xfrm4_tunnel xfrm4_mode_tunnel
xfrm4_mode_transport xfrm4_mode_beet esp4 ah4 tunnel4 ip_tunnel tun af_key xfrm_user xfrm_ipcomp xfrm_algo br2684 atm
drv_ifxos echainiv sha256_generic sha1_generic jitterentropy_rng drbg md5 hmac des_generic cbc authenc usb_storage
dwc2 uhci_hcd ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache aead crypto_null
[ 1414.287462] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.7 #1
[ 1414.293130] Stack : 804b0000 00000001 00000000 00000000 805172b8 80516f43 80489a24 00000000
[ 1414.293130] 80673844 00010000 80510000 805159bc 80515abc 80055664 00000003 80510000
[ 1414.293130] 80491b4c 00000000 8048ff50 80511c44 80515abc 800535b0 00000006 00000001
[ 1414.293130] 00000000 80512000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1414.293130] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1414.293130] ...
[ 1414.328618] Call Trace:
[ 1414.331095] [<800178a8>] show_stack+0×50/0×84 [ 1414.335454] [<8002af48>] warn_slowpath_common+0xa0/0xd0
[ 1414.340670] [<8002afa4>] warn_slowpath_fmt+0x2c/0×38 [ 1414.345636] [<802e637c>] dev_watchdog+0x1a8/0x2f0
[ 1414.350348] [<8005f7b0>] call_timer_fn.isra.5+0×24/0×80 [ 1414.355557] [<8005fa2c>] run_timer_softirq+0x1a4/0×208 [ 1414.360694] [<8002de80>] __do_softirq+0×298/0x2b0
[ 1414.365388] [<80002430>] ret_from_irq+0×0/0×4 [ 1414.369760] [<80013a8c>] r4k_wait_irqoff+0×18/0×20 [ 1414.374528] [<8004ff6c>] cpu_startup_entry+0xa4/0xf8
[ 1414.379508] [<80539bf8>] start_kernel+0×474/0×494 [ 1414.384180]
[ 1414.385631] —[ end trace ff034b465cdad16b ]—

 


29.03.2017665Base systemBug ReportVery LowCriticalLede 17.01.0-r3205-59508e3 on Nucom 5010UN v2 acting as...lede-17.01Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Nucom 5010UN v2 (brcm63xx)
- Software versions of LEDE release, packages, etc.: Just download and install latest Lede build (lede-17.01.0-r3205-59508e3) for Nucom 5010UN v2 from https://downloads.lede-project.org/releases/17.01.0/targets/brcm63xx/generic/lede-17.01.0-r3205-59508e3-brcm63xx-generic-R5010UNv2-squashfs-cfe.bin - Steps to reproduce: Configure Nucom 5010UN v2 as Wireless Routed Client
- Bug: After one hour or two, the Wireless Routed Clients looses connection with the Router it is connected to. It means, connecting by ssh or Luci website on Wireless Routed Client and running “ping 192.168.1.1” where 192.168.1.1 is the router it is connected to returns 100% of packets loss, also, “ping google.com” doesn’t work. But logging into Luci website and navigating to Network → WiFi, in Wireless Overview it shows as the Wireless Client Routed router is connected to the main one but there’s no working connection between them, at least pings are not working on both sides. Restarting the router seems to fix the issue but after one or two hours of uptime, the issue arises again.

Note, the bug was first introduced on OpenWrt Chaos Calmer 15.05 as OpenWrt Barrier Breaker does not suffer from this bug.

The following is as more complete explanation:

Hi,

i’ve just installed latest Lede-Project build, version 17.01.0-r3205-59508e3, on a Nucom 5010UN V2 router and everything seemed to work fine until i noticed that it keeps loosing Internet/network connection. The router is configured as Wireless Routed Client and the firmware was downloaded from https://downloads.lede-project.org/releases/17.01.0/targets/brcm63xx/generic/lede-17.01.0-r3205-59508e3-brcm63xx-generic-R5010UNv2-squashfs-cfe.bin

Also note, i think it’s a common bug inherited from OpenWrt as i suffered the same exact bug on an ADB P.DG A4001N1 router running latest build of OpenWrt, Chaos Calmer 15.05 and also 15.05.1. Also note that after posting on OpenWrt forums more users complained about the same bug.

Also, i want to state that in OpenWrt, the issue can be workarounded by downgrading to Barrier Breaker 14.07 which means the bug was introduced on the next build or next commits.

Anyway, my current setup is on Nucom 5010UN v2 is Wireless Routed Client [https://wiki.openwrt.org/doc/howto/clientmode#routed] + Static Route [https://wiki.openwrt.org/doc/recipes/routedclient#usingrouting] so clients on Nucom (Client Router) can “see” hosts on ADSL router (acting as AP).

I performed a clean install by resetting my custom configuration and the update went fine, but after reconfiguring the router as Wireless Routed Client it always happens that after being operating as Wifi Routed Client for about 2 hours suddenly it loses Internet connection/connection to AP. I say Internet connection because running a ping to google.com from ssh within inside the router doesn’t work but if i check through LUCI Network→Wifi it shows the router Wifi is still connected to the main ADSL router.

Here’s [https://forum.openwrt.org/viewtopic.php?pid=355180#p355180] a post on OpwnWrt site where i exposed the same issue for an ADB P.DG A4001N1 router and some other users replied complaining about the same issue.

These are the files modified by me through LUCI when configuring the routed as Wireless Routed Client, as i’ve been entirely configuring the router through LUCI except for the Static Route [https://wiki.openwrt.org/doc/recipes/routedclient#usingrouting] where i followed the indications on the link:
ddns
dhcp
dropbear
firewall
fstab
luci
network
rpcd
system
ucitrack
uh_t_tpd (I had to add underscores because of the buggy URL detection of the forum)
wireless

This is dhcp and dnmasq config:
cat etc config dhcp
config dnsmasq

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

config dhcp ‘lan’

      option interface 'lan'
      option dhcpv6 'server'
      option ra 'server'
      option ra_management '1'
      option start '100'
      option limit '150'
      option leasetime '12h'

config dhcp ‘wan’

      option interface 'wan'
      option ignore '1'

config odhcpd ‘odhcpd’

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

config host

      option name 'Host1'
      option mac 'XX:XX:XX:XX:XX:XY'
      option ip '192.168.2.2'

config host

      option name 'Host2'
      option mac 'XX:XX:XX:XX:XX:XZ'
      option ip '192.168.2.3'

config host

      option name 'ClientRouter'
      option mac 'XX:XX:XX:XX:XX:XX'
      option ip '192.168.2.92'

This is network:
cat etc config network
config interface ‘loopback’

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

config globals ‘globals’

      option ula_prefix 'fd05:6cbe:d307::/48'

config interface ‘lan’

      option force_link '1'
      option type 'bridge'
      option proto 'static'
      option netmask '255.255.255.0'
      option ip6assign '60'
      option _orig_ifname 'eth0.1'
      option _orig_bridge 'true'
      option ipaddr '192.168.2.1'
      option dns '8.8.8.8'
      option ifname 'eth0.1'

config switch

      option name 'eth0'
      option reset '1'
      option enable_vlan '1'

config switch_vlan

      option device 'eth0'
      option vlan '1'
      option ports '0 1 2 3 8t'

config interface ‘wwan’

      option proto 'dhcp'

This is wireless:
cat etc config wireless
config wifi-device ‘radio0’

      option type 'mac80211'
      option hwmode '11g'
      option path 'pci0000:00/0000:00:00.0/0000:01:00.0/bcma0:1'
      option disabled '0'
      option channel '13'
      option txpower '20'
      option country 'ES'

config wifi-device ‘radio1’

      option type 'mac80211'
      option path 'platform/ehci-platform/usb1/1-1/1-1:1.0'
      option txpower '20'
      option country 'ES'
      option hwmode '11a'
      option channel 'auto'

config wifi-iface

      option ssid 'MainADSLSSID'
      option device 'radio0'
      option mode 'sta'
      option bssid 'XX:XX:XX:XX:XX:YY'
      option key 'WiFiPassword'
      option encryption 'psk-mixed'
      option network 'wwan lan'
 


10.04.2017698Base systemBug ReportVery LowCriticalNexx WT3020F wifi packet loss problemlede-17.01Unconfirmed Task Description

I have two this devices. I try to figure out which is the ideal firmware for it so I tested it with a few. I tested it with OpenWRT 15.05.1, LEDE 17.01.0 and Gargoyle 1.9.1/1.9.2. But I found a common issue. The device lose packets via wifi. Tested with several clients/devices. No matter what configuration I use. No problem on LAN but on wifi it lose a bunch of packets. Maybe it’s a driver issue? Would be good to figure out.

i.imgur.comqpycapq.jpg

I also noticed that the latency is unstable on wifi. I guess it’s also a related with this issue. Should I open another ticket for it?

11.05.2017775Base systemBug ReportVery LowCriticalflashing kirkwood u-boot page not aligned [Zyxel NSA-32...TrunkUnconfirmed Task Description

[code]/e-data/4089-AD8E/tools # flash_erase /dev/mtd0 0 4
Erasing 128 Kibyte @ 60000 – 100 % complete[/code]

now when I flash the LEDE uboot I get this

[code]/e-data/4089-AD8E # nandwrite /dev/mtd0 kirkwood/generic/u-boot-nsa325/u-boot.kwb
Input file is not page aligned Data did not fit into device, due to bad blocks
: Success[/code]

the expected should be
[code]/ # nandwrite /dev/mtd0 /e-data/4089-AD8E/uboot.2016.05-tld-1.nsa325.mtd0.kwb
Writing data to block 0 at offset 0×0 Writing data to block 1 at offset 0×20000 Writing data to block 2 at offset 0×40000 Writing data to block 3 at offset 0×60000[/code]

now I can’t even turn off my device. Hopeful to be resolve asap.

23.05.2017800KernelBug ReportVery LowCriticalath9k sta and ap mode change. system hangTrunkWaiting on reporter Task Description

mips device with ar9580 wireless card sta and ap mode change by use test.sh
test.sh
while [ 1 ]
do
mv /etc/config/wireless /etc/config/wirelessbak
mv /etc/config/wireless1 /etc/config/wireless
mv /etc/config/wirelessbak /etc/config/wireless1
/etc/init.d/network restart
sleep 50
done

I found the system will hang , It like a deadlock but I can’t verify

Use the same shell I change the ath9k code

just delete the full sleep timer

modify ath9k_ps_wakeup ath9k_ps_restore
delete mod_timer(&sc→sc_pm_lock,flags);
detete del_timer_sync(&sc→sc_pm_lock);
The system run ok

 


24.05.2017801Base systemBug ReportVery LowCriticalR7800 wifi crashingTrunkUnconfirmed Task Description

- Device problem occurs on: Netgear Nighthawk X4S R7800
- Software versions of LEDE release, packages, etc.: LEDE Reboot SNAPSHOT r4173-5d48dc1146 / LuCI Master (git-17.141.68918-5ca3864)
- Steps to reproduce
Boot device, wait for it to crash within 24hours

The paste ending in Hn was recorder after wifi stopped working and i turned wifi off and on.
The paste ending in Wu happend about 30 minutes after that and could only be resolved by rebooting the device.

 


02.06.2017823KernelBug ReportVery LowCriticalUSB WIFI dongle TP-LINK TP-WN726N 1.0(rt8188eus) cannot...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on Raspberry Pi 3 Model B Rev 1.2, TP-LINK TP-WN726N 1.0(rt8188eus) USB WIFI dongle
- Software versions of LEDE release, r4297-1893b56 / LuCI Master (git-17.152.36261-b6dd992)
- Steps to reproduce:

 1. Compile rom with rt8xxxu driver and firmware.
 2. Insert TP-LINK TP-WN726N 1.0(rt8188eus) USB WIFI dongle
 3. Boot the system, log is attached.
 4. Type command "cat /ect/config/wireless" in console, TP-WN726N info is listed.
 5. Type command "ifconfig" in console, observe that TP-WN726N is not listed.
 6. Go to Luci web management tool, observe that TP-WN726N is listed, without signal strength. 

- More info:

 TP-LINK TP-WN726N 1.0(rt8188eus) USB WIFI dongle is tested on PC with Ubuntu 16.04, works fine.
27.06.2017872Base systemBug ReportVery LowCriticalRelease image will brick Archer C7 v1.1 lede-17.01Unconfirmed Task Description

- Device problem occurs on: TP-Link Archer C7 v1.1
- Software versions of LEDE release, packages, etc: https://downloads.lede-project.org/releases/17.01.2/targets/ar71xx/generic/lede-17.01.2-ar71xx-generic-archer-c7-v1-squashfs-factory.bin - Steps to reproduce: trying to re-flash router with lede-17.01.2-ar71xx-generic-archer-c7-v1-squashfs-factory.bin image will result in bricked router stuck in reboot loop. I tried flashing from both factory image (from factory firmware) and sysupgrade image (from OpenWRT using both SSH and web interface). Both images result in bricked router.

Unbricking was done by forcing router into failsafe mode, SSH:in into it and uploading/flashing old firmware via NC from a PC.

I suggest pulling this image from a list of supported images for Archer C7 v1.1, until issues have been solved. Otherwise, it might result in bricked equipment.

24.07.2017927Base systemBug ReportVery LowCriticalSQUASHFS error: xz decompression failedlede-17.01Assigned Task Description

Ubiquiti AirGateway and Bullet M2
LEDE 17.01.2
Lighttpd
PHP7

Runs very well on boot up. Then after some interval ranging from minutes to days, the following typical error occurs, repeated numerous times with differing blocks:
Mon Jul 24 07:09:39 2017 kern.err kernel: [43650.730023] SQUASHFS error: xz decompression failed, data probably corrupt
Mon Jul 24 07:09:39 2017 kern.err kernel: [43650.735459] SQUASHFS error: squashfs_read_data failed to read block 0x1e5d9a

Following this the unit becomes unresponsive, very slow or reboots its self.
Tried on two different devices and get the same result.

Images produced with Imagebuilder with ipv6, usb, ppp, luci removed to give space on flash.

The exact same config on OpenWrt CC (but with php5) gives no problems.

root@BlueWave:~# free

           total       used       free     shared    buffers     cached

Mem: 28176 19956 8220 132 1460 4296
-/+ buffers/cache: 14200 13976
Swap: 0 0 0

root@BlueWave:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 4.8M 4.8M 0 100% /rom
tmpfs 13.8M 132.0K 13.6M 1% /tmp
/dev/mtdblock5 1.4M 508.0K 964.0K 35% /overlay
overlayfs:/overlay 1.4M 508.0K 964.0K 35% /
tmpfs 512.0K 0 512.0K 0% /dev


18.10.20171074Base systemBug ReportVery LowCriticalNETDEV WATCHDOG: wlan2 (mwifiex_sdio): transmit queue 1...TrunkUnconfirmed Task Description

- Device problem occurs on: WRT3200ACM
- Software versions of LEDE release, packages, etc.: LEDE Reboot SNAPSHOT r5096-a29848c / LuCI Master (git-17.260.43176-678c15c)
- Steps to reproduce: I’ve been consistently having problems with wlan2 going offline after the router has been up for a day or so, but just stumbled across this in dmesg. I’ll see if I can figure out the circumstances leading to it.

 

[85338.316517] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:316 dev_watchdog+0x1b4/0×234 [85338.324820] NETDEV WATCHDOG: wlan2 (mwifiex_sdio): transmit queue 1 timed out
[85338.331987] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CLASSIFY slhc rfcomm 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 mwifiex_sdio mwifiex iptable_mangle iptable_filter ipt_ECN ip_tables hidp hci_uart crc_ccitt btusb btmrvl_sdio btmrvl btintel bnep bluetooth hid evdev input_core mwlwifi mac80211 cfg80211 compat xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport
[85338.404541] 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_mangle ip6table_filter ip6_tables x_tables tun regmap_mmio ecb cmac uhci_hcd ohci_platform ohci_hcd gpio_button_hotplug
[85338.442106] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.9.54 #0
[85338.448049] Hardware name: Marvell Armada 380/385 (Device Tree)
[85338.454003] [<c0016010>] (unwind_backtrace) from [<c0012220>] (show_stack+0×10/0×14)
[85338.461782] [<c0012220>] (show_stack) from [<c020c1a0>] (dump_stack+0x7c/0x9c)
[85338.469036] [<c020c1a0>] (dump_stack) from [<c0029218>] (warn+0xbc/0xec)
[85338.475939] [<c0029218>] (
warn) from [<c002927c>] (warn_slowpath_fmt+0×34/0×44)
[85338.483455] [<c002927c>] (warn_slowpath_fmt) from [<c03b6c38>] (dev_watchdog+0x1b4/0×234)
[85338.491661] [<c03b6c38>] (dev_watchdog) from [<c006ffe8>] (call_timer_fn+0×20/0×94)
[85338.499349] [<c006ffe8>] (call_timer_fn) from [<c0070220>] (run_timer_softirq+0x1c4/0×200)
[85338.507650] [<c0070220>] (run_timer_softirq) from [<c002d2b4>] (do_softirq+0xd0/0×204)
[85338.515775] [<c002d2b4>] (
do_softirq) from [<c002d66c>] (irq_exit+0×94/0xb8)
[85338.523029] [<c002d66c>] (irq_exit) from [<c0061e04>] (handle_domain_irq+0×90/0xb4)
[85338.530892] [<c0061e04>] (
handle_domain_irq) from [<c0009428>] (gic_handle_irq+0×50/0×94)
[85338.539277] [<c0009428>] (gic_handle_irq) from [<c0012c8c>] (irq_svc+0x6c/0×90)
[85338.546789] Exception stack(0xdf475f90 to 0xdf475fd8)
[85338.551860] 5f80: 00000001 00000000 00000000 c001b1c0
[85338.560071] 5fa0: 00000000 df474000 c0604fe4 00000002 c05ff168 00000000 df475fe8 00000001
[85338.568282] 5fc0: 00000000 df475fe0 c000f808 c000f80c 60000013 ffffffff
[85338.574925] [<c0012c8c>] (
irq_svc) from [<c000f80c>] (arch_cpu_idle+0x2c/0×38)
[85338.582355] [<c000f80c>] (arch_cpu_idle) from [<c005b154>] (cpu_startup_entry+0xf0/0x19c)
[85338.590567] [<c005b154>] (cpu_startup_entry) from [<000095ac>] (0x95ac)
[85338.597214] —[ end trace 7ee504210e2aead0 ]— [85338.601865] mwifiex_sdio mmc0:0001:1: 8504333 : Tx timeout(#1), bss_type-num = 1-0
[85344.871433] mwifiex_sdio mmc0:0001:1: 8504960 : Tx timeout(#2), bss_type-num = 1-0
[85350.631045] mwifiex_sdio mmc0:0001:1: 8505536 : Tx timeout(#3), bss_type-num = 1-0
[85356.400657] mwifiex_sdio mmc0:0001:1: 8506113 : Tx timeout(#4), bss_type-num = 1-0
[85366.309996] mwifiex_sdio mmc0:0001:1: 8507104 : Tx timeout(#5), bss_type-num = 1-0
[85376.309327] mwifiex_sdio mmc0:0001:1: 8508104 : Tx timeout(#6), bss_type-num = 1-0
[85386.318652] mwifiex_sdio mmc0:0001:1: 8509105 : Tx timeout(#7), bss_type-num = 1-0
[85386.326257] mwifiex_sdio mmc0:0001:1: tx_timeout_cnt exceeds threshold. Triggering card reset!
[85386.356950] mwifiex_sdio mmc0:0001:1: info: shutdown mwifiex...
[85386.362967] mwifiex_sdio mmc0:0001:1: PREP_CMD: card is removed
[85386.368924] mwifiex_sdio mmc0:0001:1: Failed to delete mgmt IEs!
[85386.374978] mwifiex_sdio mmc0:0001:1: PREP_CMD: card is removed
[85386.380928] mwifiex_sdio mmc0:0001:1: Failed to stop the BSS
[85386.387009] br-lan: port 4(wlan2) entered disabled state
[85386.394495] device wlan2 left promiscuous mode
[85386.398975] br-lan: port 4(wlan2) entered disabled state
[85386.404593] mwifiex_sdio mmc0:0001:1: PREP_CMD: card is removed
[85386.410562] mwifiex_sdio mmc0:0001:1: PREP_CMD: card is removed
[85386.416507] mwifiex_sdio mmc0:0001:1: PREP_CMD: card is removed
[85386.603147] mwifiex_sdio mmc0:0001:1: WLAN FW already running! Skip FW dnld
[85386.610161] mwifiex_sdio mmc0:0001:1: WLAN FW is active
[85396.707953] mwifiex_sdio mmc0:0001:1: mwifiex_cmd_timeout_func: Timeout cmd id = 0xa9, act = 0×0 [85396.716787] mwifiex_sdio mmc0:0001:1: num_data_h2c_failure = 0
[85396.722652] mwifiex_sdio mmc0:0001:1: num_cmd_h2c_failure = 0
[85396.728423] mwifiex_sdio mmc0:0001:1: is_cmd_timedout = 1
[85396.733842] mwifiex_sdio mmc0:0001:1: num_tx_timeout = 0
[85396.739178] mwifiex_sdio mmc0:0001:1: last_cmd_index = 3
[85396.744512] mwifiex_sdio mmc0:0001:1: last_cmd_id: b3 00 b3 00 b2 00 a9 00 b3 00
[85396.751940] mwifiex_sdio mmc0:0001:1: last_cmd_act: 00 00 00 00 00 00 00 00 00 00
[85396.759457] mwifiex_sdio mmc0:0001:1: last_cmd_resp_index = 2
[85396.765225] mwifiex_sdio mmc0:0001:1: last_cmd_resp_id: b3 80 b3 80 b2 80 b3 80 b3 80
[85396.773093] mwifiex_sdio mmc0:0001:1: last_event_index = 2
[85396.778603] mwifiex_sdio mmc0:0001:1: last_event: 37 00 55 00 43 00 55 00 55 00
[85396.785944] mwifiex_sdio mmc0:0001:1: data_sent=1 cmd_sent=1
[85396.791630] mwifiex_sdio mmc0:0001:1: ps_mode=0 ps_state=0
[85396.797372] mwifiex_sdio mmc0:0001:1: info: _mwifiex_fw_dpc: unregister device

19.10.20171079KernelBug ReportVery LowCriticalWifi 5GHz & Kernel 4.4 vs 4.9 [Netgear R8000/bcm53xx]AllUnconfirmed Task Description

Tested on Netgear R8000/bcm53xx
LEDE Reboot SNAPSHOT r5099-5fff2f4 / LuCI Master (git-17.289.64212-462779c)

Since Kernel 4.9, the Wifi 5GHz (radio 0 and radio 2) does not work: visible, but unable to connect or disconnected after few seconds (unable to receive IP at all).

Today, I tested to compile the build but with the previous kernel 4.4, all Wifi 5GHz work.

The LEDE config (on the device) are strictly identical between both tests.

Attached all files about both build.

19.10.20171083Base systemBug ReportVery LowCriticalar71xx Kernel 4.9 PPTP Passthrough not workingTrunkUnconfirmed Task Description

today i compiled for my TP-Link mr3420 v2 with Kerenl 4.9 by simply changing the KERNEL_PATCHVER:=4.4 to KERNEL_PATCHVER:=4.9 in target/linux/ar71xx/Makefile , everything works good so far except i am not able to connect to the VPN which was working good previously with 4.4 kernel compiled lede a week back.

19.10.20171085KernelBug ReportVery LowCriticalStreaming ieee80211 cmd timeouts followed by crashTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Linksys WRT3200ACM
- Software versions of LEDE release, packages, etc.: LEDE Reboot SNAPSHOT r5096-a29848c / LuCI Master (git-17.260.43176-678c15c)

Router had been up for less than 24 hours from last crash. Started streaming the following errors in syslog:

Thu Oct 19 16:50:41 2017 kern.err kernel: [82666.284359] ieee80211 phy0: cmd 0×9122=UpdateEncryption timed out
Thu Oct 19 16:50:41 2017 kern.err kernel: [82666.290490] ieee80211 phy0: return code: 0×1122 Thu Oct 19 16:50:41 2017 kern.err kernel: [82666.295069] ieee80211 phy0: timeout: 0×1122 Thu Oct 19 16:50:41 2017 kern.err kernel: [82666.299280] wlan0: failed to set key (0, e0:b5:2d:xx:xx:xx) to hardware (-5)
Thu Oct 19 16:50:41 2017 daemon.notice hostapd: wlan0: AP-STA-CONNECTED e0:b5:2d:xx:xx:xx
Thu Oct 19 16:50:45 2017 kern.err kernel: [82670.356504] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
Thu Oct 19 16:50:45 2017 kern.err kernel: [82670.362367] ieee80211 phy0: return code: 0x051d
Thu Oct 19 16:50:45 2017 kern.err kernel: [82670.366924] ieee80211 phy0: timeout: 0x001d
Thu Oct 19 16:50:49 2017 kern.err kernel: [82674.372313] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
Thu Oct 19 16:50:49 2017 kern.err kernel: [82674.378197] ieee80211 phy0: return code: 0x001d
Thu Oct 19 16:50:49 2017 kern.err kernel: [82674.382749] ieee80211 phy0: timeout: 0x001d

Interspersed with these messages were a few:
Thu Oct 19 16:52:43 2017 daemon.notice hostapd: nl80211: nl80211_recv_beacons→nl_recvmsgs failed: -5

These then started showing up:
Thu Oct 19 16:54:56 2017 daemon.notice netifd: wan6 (1414): Command failed: Request timed out

Then a handful of these:
Thu Oct 19 16:56:00 2017 kern.err kernel: [82985.426468] ieee80211 phy0: cmd 0×9143=GetSeqno timed out
Thu Oct 19 16:56:00 2017 kern.err kernel: [82985.431902] ieee80211 phy0: return code: 0×1143 Thu Oct 19 16:56:00 2017 kern.err kernel: [82985.436450] ieee80211 phy0: timeout: 0×1143

Followed by this, including a crash:
Thu Oct 19 16:56:36 2017 kern.err kernel: [83021.558164] wlan0: failed to remove key (0, 78:7e:61:xx:xx:xx) from hardware (-5)
Thu Oct 19 16:56:36 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED e0:b5:2d:2a:89:30
Thu Oct 19 16:56:36 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED dc:41:5f:b9:0d:ba
Thu Oct 19 16:56:40 2017 kern.err kernel: [83025.588715] ieee80211 phy0: cmd 0×9122=UpdateEncryption timed out
Thu Oct 19 16:56:40 2017 kern.err kernel: [83025.594898] ieee80211 phy0: return code: 0×1122 Thu Oct 19 16:56:40 2017 kern.err kernel: [83025.599463] ieee80211 phy0: timeout: 0×1122 Thu Oct 19 16:56:40 2017 kern.err kernel: [83025.603666] wlan0: failed to remove key (0, dc:41:5f:xx:xx:xx) from hardware (-5)
Thu Oct 19 16:56:44 2017 kern.err kernel: [83029.646987] ieee80211 phy0: cmd 0×9125=BAStream timed out
Thu Oct 19 16:56:44 2017 kern.err kernel: [83029.652419] ieee80211 phy0: return code: 0×1125 Thu Oct 19 16:56:44 2017 kern.err kernel: [83029.656973] ieee80211 phy0: timeout: 0×1125 Thu Oct 19 16:56:48 2017 kern.err kernel: [83033.654789] ieee80211 phy0: cmd 0×9125=BAStream timed out
Thu Oct 19 16:56:48 2017 kern.err kernel: [83033.660221] ieee80211 phy0: return code: 0×1125 Thu Oct 19 16:56:48 2017 kern.err kernel: [83033.664769] ieee80211 phy0: timeout: 0×1125 Thu Oct 19 16:56:52 2017 kern.err kernel: [83037.666085] ieee80211 phy0: cmd 0×9125=BAStream timed out
Thu Oct 19 16:56:52 2017 kern.err kernel: [83037.671519] ieee80211 phy0: return code: 0×1125 Thu Oct 19 16:56:52 2017 kern.err kernel: [83037.676066] ieee80211 phy0: timeout: 0×1125

Thu Oct 19 16:56:52 2017 kern.alert kernel: [83037.680345] Unable to handle kernel NULL pointer dereference at virtual address 0000000c
Thu Oct 19 16:56:52 2017 kern.alert kernel: [83037.688494] pgd = d303c000
Thu Oct 19 16:56:53 2017 kern.alert kernel: [83037.691221] [0000000c] *pgd=1369c831, *pte=00000000, *ppte=00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.697545] Internal error: Oops: 17 [#1] SMP ARM
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.702266] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CLASSIFY slhc rfcomm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipvThu Oct 19 16:56:53 2017 kern.warn kernel: [83037.774820] 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_mangle ip6table_filter ip6_tables x_tables tun regmap_mmio ecb cmac uhci_hcd ohci_platform ohci_hcd gpio_button_hotplug
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.812372] CPU: 1 PID: 3044 Comm: hostapd Not tainted 4.9.54 #0
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.818403] Hardware name: Marvell Armada 380/385 (Device Tree)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.824346] task: df564e40 task.stack: d3718000
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.828909] PC is at mwl_fwcmd_destroy_ba+0×98/0xf4 [mwlwifi]
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.834683] LR is at mwl_fwcmd_destroy_ba+0×34/0xf4 [mwlwifi]
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.840451] pc : [<bf18a624>] lr : [<bf18a5c0>] psr: 60000013
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.840451] sp : d3719c90 ip : 00000000 fp : 00000000
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.851975] r10: dde78000 r9 : dde78048 r8 : dde78054
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.857220] r7 : ddfc1620 r6 : ddfc2924 r5 : 00000000 r4 : ddcb0000
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.863771] r3 : 00000000 r2 : 00000002 r1 : 00000000 r0 : 00000000
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.870324] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.877487] Control: 10c5387d Table: 1303c04a DAC: 00000051
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.883255] Process hostapd (pid: 3044, stack limit = 0xd3718210)
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.889372] Stack: (0xd3719c90 to 0xd371a000)
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.893745] 9c80: dde78054 00000007 d8008de8 ddfc45e0
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.901957] 9ca0: ddfc0be0 bf18aac8 d8008de8 ddfc1620 ddfc0be0 d3c51e14 d36b9ce0 de7e0000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.910168] 9cc0: 00000014 bf185b94 d8008800 00000002 00000001 d3c51e14 d81f5e40 de7e0000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.918379] 9ce0: 00000014 bf118c98 ddfc0be0 d36b94c0 d8008800 bf11b2dc 00000002 00000002
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.926589] 9d00: d8008800 ddfc0be0 d36b94c0 bf11c270 d8008800 00000000 00000000 d8008800
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.934800] 9d20: d3c51e20 bf11c3bc d36b94c0 00000454 d3c51e20 bf11c434 ddfc0000 d36b9000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.943012] 9d40: d3719d68 bf0e38e4 d3c51e20 0002000c 00000000 bf0ff534 bf108c84 c03c0e1c
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.951223] 9d60: bf0fee9a 80150014 59e7e961 0000068e d3c51e00 d3c51e10 d3c51e14 de7e0000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.959434] 9d80: ddfc0000 d36b9000 d3c51e00 d81f5e40 c03c0b94 d3475c00 d3719dcc 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.967645] 9da0: 00000008 c03c01d0 c0629cb0 d81f5e40 d81f5e40 c03c0b80 df4ba400 00000028
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.975857] 9dc0: d81f5e40 c03bfbd4 d3475c00 7fffffff 00000000 d81f5e40 00000000 d3719f68
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.984068] 9de0: 00000028 d3475c00 00000000 c03c0040 00000000 c021cb0c 00000028 d0851040
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.992278] 9e00: 00000000 00000be4 00000000 00000000 00000001 d3719f68 00000000 d3719e8c
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.000489] 9e20: df30f200 00000000 c0604fc8 00000000 00000000 c0380060 d3719f68 c03805f0
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.008701] 9e40: 00000000 00000000 00000000 00376010 00000028 beadcbec 00000000 d3719eb4
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.016912] 9e60: df30f200 c03807e8 c05ffec0 00000000 beadcc54 0038a030 00004000 c004f000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.025124] 9e80: dfbd2ef0 ffffffff e813b2d8 c0628400 d3719ecc 00000051 00008933 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.033334] 9ea0: 00000000 beadcc8c 00000020 00000010 00000000 00000000 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.041545] 9ec0: dfbd2ef0 c0605998 c05ffec0 6e616c77 d32552c0 60000013 df569500 d3255080
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.049755] 9ee0: 00000000 d3255080 d0029b20 c00f188c d0029b84 00000007 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.057966] 9f00: df564e40 c005aae0 d3719f08 d3719f08 df401180 d0029b00 df29dc38 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.066177] 9f20: df401580 df29dc38 df29dc38 00040936 d0029b20 df30f200 beadcc70 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.074388] 9f40: 00000128 c000ef04 d3718000 00000000 b6e9c740 c038138c 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.082599] 9f60: 00000000 fffffff7 d3719eac 0000000c 00000001 00000000 00000000 d3719e54
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.090809] 9f80: 00000000 00000006 00000000 00000000 00000000 00000000 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.099021] 9fa0: b6f1610c c000ed40 00000000 00000000 00000005 beadcc70 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.107231] 9fc0: 00000000 00000000 b6f1610c 00000128 b6e9cef0 00000000 0002516c b6e9c740
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.115443] 9fe0: beadcc18 beadcc04 b6eececc b6eec398 60000010 00000005 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.123678] [<bf18a624>] (mwl_fwcmd_destroy_ba [mwlwifi]) from [<bf18aac8>] (mwl_fwcmd_del_sta_streams+0x1d4/0×330 [mwlwifi])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.135037] [<bf18aac8>] (mwl_fwcmd_del_sta_streams [mwlwifi]) from [<bf185b94>] (mwl_mac80211_sta_remove+0×38/0x1c4 [mwlwifi])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.146598] [<bf185b94>] (mwl_mac80211_sta_remove [mwlwifi]) from [<bf118c98>] (drv_sta_state+0x16c/0×184 [mac80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.157290] [<bf118c98>] (drv_sta_state [mac80211]) from [<bf11b2dc>] (sta_info_move_state+0xbc/0x1d0 [mac80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.167629] [<bf11b2dc>] (sta_info_move_state [mac80211]) from [<bf11c270>] (sta_set_sinfo+0×954/0xa80 [mac80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.178054] [<bf11c270>] (sta_set_sinfo [mac80211]) from [<bf11c3bc>] (sta_info_destroy+0×20/0×28 [mac80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.188218] [<bf11c3bc>] (
sta_info_destroy [mac80211]) from [<bf11c434>] (sta_info_destroy_addr_bss+0x2c/0×44 [mac80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.199429] [<bf11c434>] (sta_info_destroy_addr_bss [mac80211]) from [<bf0e38e4>] (nl80211_del_station+0xe8/0xf0 [cfg80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.210711] [<bf0e38e4>] (nl80211_del_station [cfg80211]) from [<c03c0e1c>] (genl_rcv_msg+0×288/0×310)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.220059] [<c03c0e1c>] (genl_rcv_msg) from [<c03c01d0>] (netlink_rcv_skb+0×58/0xb4)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.227922] [<c03c01d0>] (netlink_rcv_skb) from [<c03c0b80>] (genl_rcv+0×20/0×34)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.235436] [<c03c0b80>] (genl_rcv) from [<c03bfbd4>] (netlink_unicast+0×138/0x1fc)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.243124] [<c03bfbd4>] (netlink_unicast) from [<c03c0040>] (netlink_sendmsg+0x2f0/0×310)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.251425] [<c03c0040>] (netlink_sendmsg) from [<c0380060>] (sock_sendmsg+0×14/0×24)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.259287] [<c0380060>] (sock_sendmsg) from [<c03805f0>] (_sys_sendmsg+0×184/0×228)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.267238] [<c03805f0>] (
_sys_sendmsg) from [<c038138c>] (sys_sendmsg+0×40/0×64)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.275104] [<c038138c>] (
sys_sendmsg) from [<c000ed40>] (ret_fast_syscall+0×0/0x3c)
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.283055] Code: e5840010 e5d81004 e5c41014 e598c000 (e59c300c)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.289200] —[ end trace 6c4677423c79f036 ]—

21.10.20171094Base systemBug ReportVery LowCriticalno connection on any ethernet ports (incl internet) on ...TrunkUnconfirmed Task Description

Yesterday I upgraded the Linksys wrt1200ac from openwrt 15.05.1
to lede-17.01.4. The upgrade was done through a luci web
interface.

After reboot the wan connection was gone, as well as all local
ethernet ports. Wifi continued to work fine. The configuration
seems to have survived the upgrade. I couldn’t find anything
wrong with the configuration.

On the Internet port there were no packets coming in. On the
ethernet port 1 there are bootp/dhcp requests coming from the
router.

Not sure if that is relevant, but reverting back to 15.05.1
didn’t work either: the router is currently completely
inaccessible. I don’t have a serial cable, will probably order
one to try to debrick the thing.

01.11.20171136KernelBug ReportVery LowCriticalHFSC kernel warnings with QoS / SQMlede-17.01Unconfirmed Task Description

- Device problem occurs on
x86_64 - PC Engines APU2

- Software versions of LEDE release, packages, etc.
LEDE 17.01.4 vanilla source compiled with no additional patches.

- Steps to reproduce
Enable QoS/SQM. Load with traffic hitting the bandwidth limit configured in QOS/SQM configuration.

Warning is shown in kernel and traffic by-passes the limit set in QOS/SQM resulting in a peak and then falls much below the available bandwidth. It again tries to stabilise until next crash. This results in peaks beyond 8Mbps and goes down to 2Mbps after crash when limits configured are @90% of 6Mbps. Users complain of slow Internet access.

[79569.780046] ------------[ cut here ]------------                                                                                                   [9/1922]
[79569.784788] WARNING: CPU: 1 PID: 11 at net/sched/sch_hfsc.c:1426 0xffffffffa082f7ad()
[79569.792697] Modules linked in: ifb qcserial option ipw iptable_nat ip6table_nat cdc_mbim usb_wwan usb_serial_simple ti_usb_3410_5052 sr9700 smsc95xx sierra
_net sierra rndis_host qmi_wwan pppoe ppp_async pl2303 oti6858 nft_chain_nat_ipv6 nft_chain_nat_ipv4 nf_tables_inet nf_nat_pptp nf_nat_ipv6 nf_nat_ipv4 nf_nat
_amanda nf_conntrack_pptp nf_conntrack_ipv6 nf_conntrack_ipv4 nf_conntrack_amanda mos7720 mct_u232 mcs7830 keyspan kalmia ipt_REJECT ipt_MASQUERADE huawei_cdc
_ncm garmin_gps ftdi_sio ebtable_nat ebtable_filter ebtable_broute dm9601 cypress_m8 cp210x ch341 cdc_subset cdc_ncm cdc_ether cdc_eem belkin_sa ax88179_178a
asix ark3116 xt_u32 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_socket xt_recent xt_quota2 xt_quota xt_psd xt_pkttype xt_physdev xt_owner x
t_nat xt_multiport xt_mark
[79569.865507]  xt_mac xt_lscan xt_limit xt_length2 xt_length xt_ipv4options xt_iprange xt_ipp2p xt_iface xt_hl xt_helper xt_hashlimit xt_geoip xt_fuzzy xt_es
p xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_condition xt_comment xt_cluster xt_addrtype xt_TRACE xt_TPROXY xt_TEE xt_TCPMSS xt_TARP
IT xt_SYSRQ xt_REDIRECT xt_NFQUEUE xt_NFLOG xt_NETMAP xt_LUA xt_LOGMARK xt_LOG xt_LED xt_IPMARK xt_HL xt_DSCP xt_DNETMAP xt_DHCPMAC xt_DELUDE xt_CT xt_CLASSIF
Y xt_CHAOS xt_ACCOUNT w83793 visor vhci_hcd usbserial usbnet usbmon usbip_host usbip_core ts_kmp ts_fsm ts_bm tmp103 tmp102 sht21 rtl8150 r8169 r8152 pppox pp
p_generic pegasus nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir_ipv6 nft_redir_ipv4 nft_redir nft_rbtree nft_nat nft_meta nft_masq_ipv6
 nft_masq_ipv4 nft_masq
[79569.936919]  nft_log nft_limit nft_hash nft_exthdr nft_ct nft_counter nft_chain_route_ipv6 nft_chain_route_ipv4 nfnetlink_queue nfnetlink_log nf_tables_ipv
6 nf_tables_ipv4 nf_tables nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_rtsp nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_
irc nf_nat_h323 nf_nat_ftp nf_log_ipv4 nf_dup_ipv6 nf_dup_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack
_rtsp nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast macvlan ltc4
151 lm95241 lm92 lm90 lm85 lm77 lm75 lm63 kaweth iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ipt_CLUSTERIP ipheth ip6table_raw ip_tables ina2xx i
na209 hso ezusb ebtables
[79570.007956]  ebt_vlan ebt_stp ebt_snat ebt_redirect ebt_pkttype ebt_nflog ebt_mark_m ebt_mark ebt_log ebt_limit ebt_ip6 ebt_ip ebt_dnat ebt_arpreply ebt_ar
p ebt_among ebt_802_3 e1000e e100 crc_ccitt compat_xtables cdc_wdm cdc_acm br_netfilter arptable_filter arpt_mangle arp_tables adt7475 sch_cake em_cmp sch_teq
l em_nbyte sch_dsmark sch_pie act_ipt sch_gred cls_basic sch_prio em_text sch_codel sch_fq sch_sfq em_meta act_police sch_red act_connmark act_skbedit act_mir
red em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress sg tmp421 k10temp gpio_fan adt7410 adt7x10 i2c_tiny_usb i2c_piix
4 i2c_gpio i2c_algo_pcf i2c_algo_pca i2c_mux_pca954x i2c_mux_pca9541 i2c_mux_gpio i2c_mux i2c_dev ledtrig_usbport trelay ledtrig_oneshot ledtrig_heartbeat led
trig_gpio hwmon xt_set
[79570.079289]  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
sr_mod cdrom ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 nf_nat nf_conntrack ip6t_rt ip6t_frag ip6t_hbh ip6t_eui64 ip6t_mh ip6t_ah ip6t_ipv6header ip6t_RE
JECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables hwmon_vid msdos bonding ip6_gre ip_gre gre igb i2c_algo_bit
e1000 sit sctp libcrc32c ip6_tunnel tunnel6 tunnel4 ip_tunnel veth tun slip slhc mpls_gso mpls_iptunnel mpls_router vfat fat cifs nls_utf8 nls_iso8859_1 nls_c
p437 regmap_spi regmap_mmio
[79570.150751]  regmap_i2c regmap_core vxlan udp_tunnel ip6_udp_tunnel sha256_ssse3 sha256_generic md5 md4 hmac ecb des_generic leds_pca963x i2c_core xhci_pla
t_hcd ledtrig_transient button_hotplug ptp pps_core mii libphy zram zsmalloc lzo_decompress lzo_compress lz4_decompress lz4_compress [last unloaded: ifb]
[79570.177398] CPU: 1 PID: 11 Comm: ksoftirqd/1 Tainted: G        W       4.4.92 #0
[79570.184812] Hardware name: PC Engines APU, BIOS SageBios_PCEngines_APU-45 04/05/2014
[79570.192578]  0000000000000000 ffffffff812094a2 0000000000000000 ffffffffa0830a77
[79570.200096]  ffffffff81071bc3 ffff88003cfa8948 00000121854b6980 ffff88003cfa8800
[79570.207609]  ffff88003cfa8c90 0000000000000001 ffffffffa082f7ad ffff88003cfa8800
[79570.215125] Call Trace:
[79570.217600]  [<ffffffff812094a2>] ? dump_stack+0x5c/0x7a
[79570.222933]  [<ffffffff81071bc3>] ? warn_slowpath_common+0x73/0xa0
[79570.229125]  [<ffffffffa082f7ad>] ? 0xffffffffa082f7ad
[79570.234285]  [<ffffffff81422c80>] ? __qdisc_run+0x60/0x190
[79570.239789]  [<ffffffff8140a0a6>] ? __dev_queue_xmit+0x266/0x4c0
[79570.245808]  [<ffffffffa0974606>] ? 0xffffffffa0974606
[79570.250965]  [<ffffffff81428100>] ? tcf_action_exec+0x40/0x70
[79570.256729]  [<ffffffffa092b9af>] ? 0xffffffffa092b9af
[79570.261888]  [<ffffffff81098730>] ? load_balance+0x150/0x7e0
[79570.267560]  [<ffffffff814042ae>] ? get_rps_cpu+0x12e/0x300
[79570.273149]  [<ffffffff8142415b>] ? tc_classify+0x5b/0x120
[79570.278654]  [<ffffffff81405726>] ? __netif_receive_skb_core+0x486/0x870
[79570.285372]  [<ffffffff814088f6>] ? process_backlog+0x96/0x130
[79570.291221]  [<ffffffff8140877b>] ? net_rx_action+0x19b/0x280
[79570.296985]  [<ffffffff81074ee6>] ? __do_softirq+0xc6/0x1d0
[79570.302574]  [<ffffffff81075010>] ? run_ksoftirqd+0x20/0x40
[79570.308165]  [<ffffffff8108abf4>] ? smpboot_thread_fn+0xf4/0x150
[79570.314187]  [<ffffffff8108ab00>] ? sort_range+0x20/0x20
[79570.319518]  [<ffffffff81088858>] ? kthread+0xb8/0xd0
[79570.324587]  [<ffffffff810887a0>] ? kthread_worker_fn+0x170/0x170
[79570.330700]  [<ffffffff814d974f>] ? ret_from_fork+0x3f/0x70
[79570.336286]  [<ffffffff810887a0>] ? kthread_worker_fn+0x170/0x170
[79570.342406] ---[ end trace b5df2c2f1911307f ]---


01.11.20171138KernelBug ReportVery LowCriticalDeauthenticated Reason: 15=4WAY_HANDSHAKE_TIMEOUT on Wi...lede-17.01Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
TP-Link Archer C7 (AC1750 version 2.0)

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

- Steps to reproduce
1) Set 802.11g radio as AP
2) Set 802.11a© radio as client for EDUROAM network with WPA2-EAP TTLS or PEAP (cipher CCMP) 802.11ac-80Mhz, fix channel (36), transmit power auto and country code DE (Germany)

3.1) Wait for 8:24 hours (or until the Maximum lifetime for PMKSA 70% of 43200 seconds reached and re-authentication is triggered)

   OR

3.2) install wpa-cli, ping to any host to test internet and invoke "reauthenticate" in wpa-cli (in this way, after one or many times "reauthentication" is invoked, the internet will be unusable until "reauthenticate" is invoked again)

Description:
This Problem exist since long time ago either with openwrt or lede on 802.11ac radio. If 8 hours 24 minutes duration of router operation lasted (according to default dot11RSNAConfigPMKLifetime=43200 and dot11RSNAConfigPMKReauthThreshold=70 in wpa_supplicant) and the router try to "refresh" its pmksa by reauthenticate again with radius server, it will be disconnected with reason 15 (four way handshake timeout). For some reasons I need to keep my router always connected without "regular unwillingly" disconnections (except if there are software update in EDUROAM AP side). This is the kernel messages:

[ 25.195427] wlan0: authenticate with 11:22:33:44:55:66
[ 25.208453] wlan0: send auth to 11:22:33:44:55:66 (try 1/3)
[ 25.216280] wlan0: authenticated
[ 25.223602] wlan0: associate with 11:22:33:44:55:66 (try 1/3)
[ 25.343420] wlan0: associate with 11:22:33:44:55:66 (try 2/3)
[ 25.453654] wlan0: associate with 11:22:33:44:55:66 (try 3/3)
[ 25.563478] br-lan: port 2(wlan1) entered forwarding state
[ 25.569734] wlan0: association with 11:22:33:44:55:66 timed out
[ 25.879895] wlan0: authenticate with 11:22:33:44:55:66
[ 25.889865] wlan0: send auth to 11:22:33:44:55:66 (try 1/3)
[ 25.896496] wlan0: authenticated
[ 25.903550] wlan0: associate with 11:22:33:44:55:66 (try 1/3)
[ 25.911434] wlan0: RX AssocResp from 11:22:33:44:55:66 (capab=0x111 status=0 aid=1)
[ 25.920916] wlan0: associated
[ 25.924091] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 25.939403] wlan0: Limiting TX power to 17 dBm as advertised by 11:22:33:44:55:66
[ 47.737647] random: nonblocking pool is initialized
[30269.937723] wlan0: deauthenticated from 11:22:33:44:55:66 (Reason: 15=4WAY_HANDSHAKE_TIMEOUT)
[30271.332362] wlan0: authenticate with 11:22:33:44:55:66
[30271.342470] wlan0: send auth to 11:22:33:44:55:66 (try 1/3)
[30271.349075] wlan0: authenticated
[30271.355311] wlan0: associate with 11:22:33:44:55:66 (try 1/3)
[30271.363261] wlan0: RX AssocResp from 11:22:33:44:55:66 (capab=0x111 status=0 aid=3)
[30271.372768] wlan0: associated
[30271.441928] wlan0: Limiting TX power to 17 dBm as advertised by 11:22:33:44:55:66

Timestamps 25-47 are the initial boot of router and at 30269 the problem occurred. I can test this in quick way by installing wpa-cli and invoke reauthenticate command. The internet will be unusable even if the router still connected to AP. But by testing this way, I don't get "four way handshake timeout report message, except if I let the internet unusable for 15-30 minutes and the router is deauthenticated and reconnection occur automatically.

This are the system logs (the very first and the very last entries are before and after the problem occured):

Wed Nov 1 20:07:42 2017 daemon.info hostapd: wlan1: STA 11:11:11:11:11:11 WPA: group key handshake completed (RSN)
Wed Nov 1 20:11:48 2017 daemon.notice netifd: Network device 'wlan0' link is down
Wed Nov 1 20:11:48 2017 daemon.notice netifd: Interface 'wwan' has link connectivity loss
Wed Nov 1 20:11:48 2017 kern.info kernel: [30269.937723] wlan0: deauthenticated from 11:22:33:44:55:66 (Reason: 15=4WAY_HANDSHAKE_TIMEOUT)
Wed Nov 1 20:11:48 2017 daemon.notice netifd: wwan (1290): udhcpc: received SIGTERM
Wed Nov 1 20:11:49 2017 daemon.info odhcpd[824]: Using a RA lifetime of 0 seconds on br-lan
Wed Nov 1 20:11:50 2017 kern.info kernel: [30271.332362] wlan0: authenticate with 11:22:33:44:55:66
Wed Nov 1 20:11:50 2017 kern.info kernel: [30271.342470] wlan0: send auth to 11:22:33:44:55:66 (try 1/3)
Wed Nov 1 20:11:50 2017 kern.info kernel: [30271.349075] wlan0: authenticated
Wed Nov 1 20:11:50 2017 kern.info kernel: [30271.355311] wlan0: associate with 11:22:33:44:55:66 (try 1/3)
Wed Nov 1 20:11:50 2017 kern.info kernel: [30271.363261] wlan0: RX AssocResp from 11:22:33:44:55:66 (capab=0x111 status=0 aid=3)
Wed Nov 1 20:11:50 2017 kern.info kernel: [30271.372768] wlan0: associated
Wed Nov 1 20:11:50 2017 daemon.notice netifd: Network device 'wlan0' link is up
Wed Nov 1 20:11:50 2017 daemon.notice netifd: Interface 'wwan' has link connectivity
Wed Nov 1 20:11:50 2017 daemon.notice netifd: Interface 'wwan' is setting up now
Wed Nov 1 20:11:50 2017 kern.debug kernel: [30271.441928] wlan0: Limiting TX power to 17 dBm as advertised by 11:22:33:44:55:66
Wed Nov 1 20:11:50 2017 daemon.notice netifd: wwan (1998): udhcpc: started, v1.25.1
Wed Nov 1 20:11:50 2017 daemon.notice netifd: wwan (1998): udhcpc: sending discover
Wed Nov 1 20:11:53 2017 daemon.notice netifd: wwan (1998): udhcpc: sending discover
Wed Nov 1 20:11:54 2017 daemon.notice netifd: wwan (1998): udhcpc: sending select for 131.11.123.204
Wed Nov 1 20:11:54 2017 daemon.notice netifd: wwan (1998): udhcpc: lease of 131.11.123.204 obtained, lease time 1800
Wed Nov 1 20:11:54 2017 daemon.warn dnsmasq[1310]: no servers found in /tmp/resolv.conf.auto, will retry
Wed Nov 1 20:11:54 2017 daemon.notice netifd: Interface 'wwan' is now up
Wed Nov 1 20:11:54 2017 daemon.info dnsmasq[1310]: reading /tmp/resolv.conf.auto
Wed Nov 1 20:11:54 2017 daemon.info dnsmasq[1310]: using local addresses only for domain lan
Wed Nov 1 20:11:54 2017 daemon.info dnsmasq[1310]: using nameserver 131.11.123.2#53
Wed Nov 1 20:11:54 2017 daemon.info dnsmasq[1310]: using nameserver 131.11.124.2#53
Wed Nov 1 20:11:54 2017 user.notice firewall: Reloading firewall due to ifup of wwan (wlan0)
Wed Nov 1 20:11:55 2017 daemon.info odhcpd[824]: Using a RA lifetime of 0 seconds on br-lan
Wed Nov 1 20:17:42 2017 daemon.info hostapd: wlan1: STA 11:11:11:11:11:11 WPA: group key handshake completed (RSN)

Please help me. I will monitor this issue and make test if needed.

02.11.20171139KernelBug ReportVery LowCriticalKernel crashTrunkUnconfirmed Task Description

Router stop working and all network drop requiring a router restart.
TP-Link TL-WDR4300 v1
LEDE Reboot SNAPSHOT r5217-098afa1e1b / LuCI Master (git-17.302.29094-87ec343)
Kernel - 4.9.58

Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.711795] ------------[ cut here ]------------
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.716575] WARNING: CPU: 0 PID: 0 at net/netfilter/nf_conntrack_rtcache.c:199 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.724867] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_string xt_state xt_quota xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_LOG usbmon ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom umWed Nov  1 20:06:44 2017 kern.warn kernel: [11503.797335]  nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos vfat fat nls_utf8 nls_iso8859_1 nls_cp437 usb_storage uhci_hcd ohci_platform ohci_hcd ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.820374] CPU: 0 PID: 0 Comm: swapper Not tainted 4.9.58 #0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.826199] Stack : 804d78fa 00000031 00000000 00000001 804615d4 80461247 8041396c 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.834743]         804d3a40 000000c7 00000003 00000000 02080020 800a9b84 8041919c 80460000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.843287]         00000003 000000c7 8041736c 87c09824 02080020 800d923c 804d78fa 0000004d
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.851832]         00000000 80223000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.860377]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.868922]         ...
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.871414] Call Trace:
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.873905] [<8006b2e8>] show_stack+0x54/0x88
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.878362] [<80080530>] __warn+0xe4/0x118
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.882529] [<800805f8>] warn_slowpath_null+0x1c/0x34
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.887684] [<874673e0>] 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.891231] ---[ end trace 0fa0ed456ba22a7d ]---
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.896865] ------------[ cut here ]------------
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.901621] WARNING: CPU: 0 PID: 0 at net/netfilter/nf_conntrack_rtcache.c:199 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.909943] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_string xt_state xt_quota xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_LOG usbmon ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom umWed Nov  1 20:06:44 2017 kern.warn kernel: [11503.982364]  nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos vfat fat nls_utf8 nls_iso8859_1 nls_cp437 usb_storage uhci_hcd ohci_platform ohci_hcd ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.005412] CPU: 0 PID: 0 Comm: swapper Tainted: G        W       4.9.58 #0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.012478] Stack : 804d78fa 0000003f 00000000 00000001 804615d4 80461247 8041396c 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.021029]         804d3a40 000000c7 00000003 00000000 02080020 800a9b84 8041919c 80460000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.029575]         00000003 000000c7 8041736c 87c09824 02080020 800d923c 804d78fa 0000004d
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.038119]         804736b0 80223000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.046664]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.055200]         ...
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.057701] Call Trace:
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.060191] [<8006b2e8>] show_stack+0x54/0x88
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.064636] [<80080530>] __warn+0xe4/0x118
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.068811] [<800805f8>] warn_slowpath_null+0x1c/0x34
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.073951] [<874673e0>] 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.077506] ---[ end trace 0fa0ed456ba22a7e ]---
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.150414] ------------[ cut here ]------------
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.155176] WARNING: CPU: 0 PID: 0 at net/netfilter/nf_conntrack_rtcache.c:199 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.163513] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_string xt_state xt_quota xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_LOG usbmon ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom umWed Nov  1 20:06:44 2017 kern.warn kernel: [11504.235935]  nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos vfat fat nls_utf8 nls_iso8859_1 nls_cp437 usb_storage uhci_hcd ohci_platform ohci_hcd ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.258985] CPU: 0 PID: 0 Comm: swapper Tainted: G        W       4.9.58 #0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.266041] Stack : 804d78fa 0000003f 00000000 00000001 804615d4 80461247 8041396c 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.274584]         804d3a40 000000c7 00000003 00000000 02080020 800a9b84 8041919c 80460000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.283129]         00000003 000000c7 8041736c 87c09824 02080020 800d923c 804d78fa 0000004d
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.291682]         804736b0 80223000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.300237]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.308780]         ...
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.311272] Call Trace:
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.313764] [<8006b2e8>] show_stack+0x54/0x88
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.318220] [<80080530>] __warn+0xe4/0x118
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.322380] [<800805f8>] warn_slowpath_null+0x1c/0x34
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.327535] [<874673e0>] 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.331081] ---[ end trace 0fa0ed456ba22a7f ]---
04.11.20171146Base systemBug ReportVery LowCriticalConstant wireless disconnects due to excessive missing ...lede-17.01Unconfirmed Task Description

D-Link DIR-320 B1, currently with Lede 17.01.4 (basically, default config).
Had no problems in years with 7 of my wireless devices (consoles, phones and tablets) in same room - everything works perfect.

But my new Android 6 tablet (Lenovo Tab 3 8 Plus) keeps losing network.
It can happen randomly - for example, I can notice that every 3 minutes in Google PlayStore, or only couple times per hour (maybe it happens more often, but I’m not checking something online that time).
And it seems, tablet doesn’t even notice that there is no network - signal strenght icon is there (filled icon - “connected”), but data is not transfered (no send/receive arrows).
If there was a download, then it stops and not trying to resume or restore connection.
Or, for example, Google PlayStore doesn’t say “wifi is off” - it just keeps trying to load page (rotating loading symbol).
Some time after it gets his connection back, or it much faster just to turn off/on wireless.

Router system log have this message: “disconnected due to excessive missing ACKs”.
I tried to add “disassoc_low_ack 0” and this error gone from log, but this not solved connection problem.
I tried to use another router DIR-300NRU6 with stock firmware - everything OK, not a single disconnect.

08.11.20171158Base systemBug ReportVery LowCriticalATH10k QCA9880 5 Ghz mixed mode (sta and ap) not possib...TrunkUnconfirmed Task Description
 
Hardware: Archer C7 V2
Software: Trunk (r5280)

Using the 5 Ghz radio in accesspoint mode (mode ap) and client mode (mode sta) at the same time doesnt work.
Only client mode works.
No error messages will be generated.
With version V17.01.4 all is fine (same configuration).

Config details:

config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11a'
	option path 'pci0000:01/0000:01:00.0'
	option noscan '1'
	option htmode 'VHT80'
	option multicast_querier '0'
	option igmp_snooping '0'
	option distance '8'
	option log_level '3'
	option compression '1'
	option bursting '1'
	option ff '1'
	option country 'US'
	option txpower '23'
	option channel '112'

config wifi-device 'radio1'
	option type 'mac80211'
	option hwmode '11g'
	option path 'platform/qca955x_wmac'
	option noscan '1'
	option htmode 'HT40'
	option distance '15'
	option multicast_querier '0'
	option igmp_snooping '0'
	option log_level '3'
	option compression '1'
	option bursting '1'
	option ff '1'
	option channel '9'
	option country 'US'
	option txpower '24'
	option disabled '0'

config wifi-iface
	option encryption 'psk2'
	option device 'radio0'
	**option mode 'sta'**
	option bssid '08:96:D7:7B:89:BA'
	option key 'xxxxxxxxxxxxxxxxxxxxxx'
	option multicast_querier '0'
	option igmp_snooping '0'
	option ssid 'Fritz_5Ghz'
	option network 'WWAN WWAN6'

config wifi-iface
	option ssid 'im6shop'
	option device 'radio1'
	option key 'xxxxxxxxxxxxxxxxxxxxxx'
	option multicast_querier '0'
	option igmp_snooping '0'
	option network 'LAN'
	option mode 'ap'
	option encryption 'psk2'

config wifi-iface
	option device 'radio0'
	**option mode 'ap'**
	option key 'xxxxxxxxxxxxxxxxxxxxxx'
	option macfilter 'allow'
	list maclist '78:0C:B8:8A:12:45'
	list maclist '88:32:9B:F6:70:79'
	list maclist 'F0:27:65:7F:7A:19'
	option encryption 'psk2+ccmp'
	option network 'LAN'
	option ssid 'im6shop'

If you need further details, let me know

regards Klaus


14.11.20171168Base systemBug ReportVery LowCriticalRouter stop working and all network drop requiring a ro...TrunkUnconfirmed Task Description

TP-Link TL-WR841N v13

LEDE Reboot SNAPSHOT r5326-654016b
4.9.58-1-27e054095d90..95f

Reproduce: Let the device run for a few hours. :-)

Nov 14 13:24:43 wlan kernel: [12131.515892] ————[ cut here ]———— Nov 14 13:24:43 wlan kernel: [12131.520912] WARNING: CPU: 0 PID: 8 at /var/lib/buildbot/slaves/slashdirt-03/ramips_mt76x8/build/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/mt76-2017-10-12-37654d70/mt7603_mac.c:1291 mt7603_mac_work+0x12c/0x24c [mt7603e]
Nov 14 13:24:43 wlan kernel: [12131.541678] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables leds_gpio gpio_button_hotplug
Nov 14 13:24:43 wlan kernel: [12131.600013] CPU: 0 PID: 8 Comm: kworker/u2:1 Not tainted 4.9.58 #0
Nov 14 13:24:43 wlan kernel: [12131.606305] Workqueue: phy0 mt7603_mac_work [mt7603e]
Nov 14 13:24:43 wlan kernel: [12131.611425] Stack : 83803414 83878b18 00000088 8004d640 8382e69c 80403307 803b4160 00000008
Nov 14 13:24:43 wlan kernel: [12131.619942] 803b40cc 83883d64 80400000 8007ccac 00000088 8004d640 803b994c 80400000
Nov 14 13:24:43 wlan kernel: [12131.628457] 00000003 83883d64 80400000 80038e70 00000088 83883d9c 00000094 00000000
Nov 14 13:24:43 wlan kernel: [12131.636969] 00000000 00000000 8311d534 83bacf00 83bace00 30796870 00000000 00000000
Nov 14 13:24:43 wlan kernel: [12131.645467] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Nov 14 13:24:43 wlan kernel: [12131.653981] ...
Nov 14 13:24:43 wlan kernel: [12131.656479] Call Trace:
Nov 14 13:24:43 wlan kernel: [12131.658981] [<8000e478>] show_stack+0×54/0×88 Nov 14 13:24:43 wlan kernel: [12131.663419] [<80023fc0>] warn+0xe4/0×118 Nov 14 13:24:43 wlan kernel: [12131.667594] [<80024088>] warn_slowpath_null+0x1c/0×34 Nov 14 13:24:43 wlan kernel: [12131.672727] [<8311d660>] mt7603_mac_work+0x12c/0x24c [mt7603e]
Nov 14 13:24:43 wlan kernel: [12131.678674] [<80036eb8>] process_one_work+0x1ec/0x32c
Nov 14 13:24:43 wlan kernel: [12131.683803] [<80037c78>] worker_thread+0x2ac/0×420 Nov 14 13:24:43 wlan kernel: [12131.688681] [<8003c4a4>] kthread+0xd8/0xec
Nov 14 13:24:43 wlan kernel: [12131.692839] [<80009378>] ret_from_kernel_thread+0×14/0x1c
Nov 14 13:24:43 wlan kernel: [12131.698332] —[ end trace ebc6616cc0ec5b38 ]— Nov 14 13:24:46 wlan kernel: [12134.495798] ————[ cut here ]———— Nov 14 13:24:46 wlan kernel: [12134.500537] WARNING: CPU: 0 PID: 8 at /var/lib/buildbot/slaves/slashdirt-03/ramips_mt76x8/build/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/mt76-2017-10-12-37654d70/mt7603_mac.c:1279 mt7603_mac_work+0x12c/0x24c [mt7603e]
Nov 14 13:24:46 wlan kernel: [12134.521275] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables leds_gpio gpio_button_hotplug
Nov 14 13:24:46 wlan kernel: [12134.579655] CPU: 0 PID: 8 Comm: kworker/u2:1 Tainted: G W 4.9.58 #0
Nov 14 13:24:46 wlan kernel: [12134.587181] Workqueue: phy0 mt7603_mac_work [mt7603e]
Nov 14 13:24:46 wlan kernel: [12134.592302] Stack : 83803414 83878b18 00000088 8004d640 8382e69c 80403307 803b4160 00000008
Nov 14 13:24:46 wlan kernel: [12134.600822] 803b40cc 83883d64 80400000 8007ccac 00000088 8004d640 803b994c 80400000
Nov 14 13:24:46 wlan kernel: [12134.609335] 00000003 83883d64 80400000 80038e70 00000088 83883d9c 000000a9 00000000
Nov 14 13:24:46 wlan kernel: [12134.617851] 804150d0 00000000 8311d534 83bacf00 83bace00 30796870 00000000 00000000
Nov 14 13:24:46 wlan kernel: [12134.626357] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Nov 14 13:24:46 wlan kernel: [12134.634850] ...
Nov 14 13:24:46 wlan kernel: [12134.637347] Call Trace:
Nov 14 13:24:46 wlan kernel: [12134.639850] [<8000e478>] show_stack+0×54/0×88 Nov 14 13:24:46 wlan kernel: [12134.644288] [<80023fc0>]
warn+0xe4/0×118 Nov 14 13:24:46 wlan kernel: [12134.648465] [<80024088>] warn_slowpath_null+0x1c/0×34 Nov 14 13:24:46 wlan kernel: [12134.653598] [<8311d660>] mt7603_mac_work+0x12c/0x24c [mt7603e]
Nov 14 13:24:46 wlan kernel: [12134.659548] [<80036eb8>] process_one_work+0x1ec/0x32c
Nov 14 13:24:46 wlan kernel: [12134.664676] [<80037c78>] worker_thread+0x2ac/0×420 Nov 14 13:24:46 wlan kernel: [12134.669562] [<8003c4a4>] kthread+0xd8/0xec
Nov 14 13:24:46 wlan kernel: [12134.673729] [<80009378>] ret_from_kernel_thread+0×14/0x1c
Nov 14 13:24:46 wlan kernel: [12134.679219] —[ end trace ebc6616cc0ec5b39 ]—


15.11.20171170KernelBug ReportVery LowCriticalmt7621: kernel errors - rcu_sched detected stalls on CP...AllUnconfirmed Task Description

After the work done for issue  FS#804 , the rcu_sched error seemed to be gone. However, I am now starting to see it again. Usually, at least for me, the error happens when there is large amounts of traffic and I do something with the network. My most reliable way for reproducing the error is as follows:

- Use iperf to flood a router with small packets. Other ways to stress the CPU also work, I for example triggered the error when I added very aggressive logging to the firewall.
- While the router is being flooded, I restarted networking (I am logged in to the router via UART).
- After a couple of network restarts, the error is trigger and the following is written to syslog at some interval:

[ 2251.870000] INFO: rcu_bh detected stalls on CPUs/tasks:
[ 2251.870000] 2-...: (1 GPs behind) idle=ae1/140000000000001/0 softirq=212487/217796 fqs=4380
[ 2251.870000] (detected by 1, t=6002 jiffies, g=-146, c=-147, q=4)
[ 2251.870000] Task dump for CPU 2:
[ 2251.870000] openvpn-mover.s R running 0 2598 1 0×08100004 [ 2251.870000] Stack : 8fa69998 800ebe38 00000000 8fa69998 57512e2b 000001fd 00000000 80035454
[ 2251.870000] 00000000 800edbd4 8fa69998 804b0000 00000000 00000000 00000004 00000000
[ 2251.870000] 00000000 8ea17850 8efc7ec0 800376d4 00000000 00000000 778b8930 00000012
[ 2251.870000] 00000000 004077cd 778d4000 00000000 778d55e8 778d6f7c 00000000 8002b280
[ 2251.870000] ffbffeff ffffffff 00617772 706d742f 00000000 00000000 00000001 800379dc
[ 2251.870000] ...
[ 2251.870000] Call Trace:
[ 2251.870000] [<8000bc88>] __schedule+0×574/0×758

I am also able to sometimes trigger the issue by simply issuing the reboot-command (while the CPU is stressed). I have not applied any traffic shaping to my interface, and I see the error both with kernel 4.4 and 4.9 (i.e., LEDE 17.01 and master). I don’t quite know how to progress in debugging this.

 


16.11.20171173PackagesBug ReportVery LowCriticalustream-ssl Bug ON IPQ806Xlede-17.01Unconfirmed Task Description

LEDE 17.01.4
Kernel 4.9.60
Router: Netgear R7500V2(ARM :IPQ806X)
Packages: Up to Date (2017-11-15)
LuCI works great if Luci-ssl or Luci-openssl is not installed.Once Luci-ssl or Luci-openssl installed with https configuration ,LuCI gets stuck every now and then ,and you`ll have to refresh .When using Firefox ,web crashes and come up with SSL Error: ssl_error_bad_mac_read. Dont know if there is bug in ustream-ssl.


05.10.2016205Base systemBug ReportVery LowHighCannot install LEDE on Ubiquiti PicoStation M2TrunkNew Task Description

This is the same as issue 20982 on dev.openwrt.org

Using the nightly build of LEDE and installing on a Ubiquiti PicoStation M2 (Ar7xxx, XM hardware rev, AirOS 5.6.3), got the following error:

sent DATA <block=6657, 412 bytes>
received ERROR <code=2, msg=Firmware check failed>
Error code 2: Firmware check failed
Sent 3407872 bytes in 6.6 seconds

The only work-around I have found works consistently is to:

Flash from recovery (tftp) the AirOS 5.6 image,
Downgrade to AirOS 5.5, then
Flash LEDE (or OpenWRT).

This same error seems to occur on the Bullet M2 (same hardware) and the NanoStation LOCO M2.

The severity is high - it can be worked around, but it prevents installation without significant work-arounds. I view this as a high-priority bug, because the Ubiquiti hardware is popular and the problem has been fixed in AirOS and DD-WRT.

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

PPPoE is broken on WRT1900ACS

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

pppd debug log:

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

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

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

27.10.2016253Base systemBug ReportVery LowHighMulticast over wireless ceases to work properly after a...AllNew Task Description

I am having a problem on a UBNT UAP-LR where, if many clients stay connected the router for a long time, multicast packets will stop being reliably sent to the wireless clients. I can reproduce this with LEDE r1953, but it goes back at least as far as OpenWRT 15.05.1 with kernel 3.18. I can not, however, reproduce it on another network with the same WAP but with only one or two wireless clients.

This originally manifested as IPv6 ceasing to work since the (multicasted) RA packets were not reaching the wireless clients. I used tcpdump on the WAP and determined that the RAs were arriving through the wired interface and leaving through the wireless interface as they should, but tcpdump on the client indicates that a vast majority of the RAs are never received. (Please note that the IPv6 issue is not reproducible with the router running OpenWRT/LEDE and odhcpd, since odhcpd unicasts RAs sent as a response to an RS instead of multicasting them, while it is reproducible when the router is running radvd, for example as pfSense does.)

21.11.2016295KernelBug ReportVery LowHighath10k_pci 0001:01:00.0: SWBA overrun on vdevTrunkWaiting on reporter Task Description

Supply the following if possible:

- TP-LINK c2600 v1.1
- LEDE Reboot r2244
- after some hours, the network device produce the below stacktrace.

[61789.980553] ————[ cut here ]———— [61789.980600] WARNING: CPU: 0 PID: 3 at net/core/dev.c:4837 net_rx_action+0×154/0x2e4()
[61789.984240] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_string 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 ts_kmp ts_fsm ts_bm 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 ipt_ECN ip_tables crc_ccitt br_netfilter em_cmp sch_teql em_nbyte sch_htb sch_pie sch_gred sch_dsmark cls_basic act_ipt sch_prio em_text
[61790.061568] sch_codel sch_tbf sch_sfq em_meta act_police sch_fq sch_red 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 ledtrig_usbport 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 ifb ip6_tunnel tunnel6 tun snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore
[61790.130320] usb_storage uhci_hcd f2fs ext4 jbd2 mbcache crc32c_generic crypto_hash leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform ehci_hcd sd_mod ahci_platform libahci_platform libahci libata scsi_mod gpio_button_hotplug usbcore nls_base usb_common
[61790.158798] CPU: 0 PID: 3 Comm: ksoftirqd/0 Not tainted 4.4.30 #0
[61790.159062] Hardware name: Qualcomm (Flattened Device Tree)
[61790.165160] [<c02207f4>] (unwind_backtrace) from [<c021d2e4>] (show_stack+0×14/0×20)
[61790.170534] [<c021d2e4>] (show_stack) from [<c03b82a4>] (dump_stack+0x8c/0xa0)
[61790.178521] [<c03b82a4>] (dump_stack) from [<c0228aec>] (warn_slowpath_common+0xa4/0xd0)
[61790.185550] [<c0228aec>] (warn_slowpath_common) from [<c0228bcc>] (warn_slowpath_null+0x1c/0×24)
[61790.193798] [<c0228bcc>] (warn_slowpath_null) from [<c050bcd0>] (net_rx_action+0×154/0x2e4)
[61790.202568] [<c050bcd0>] (net_rx_action) from [<c022bc90>] (do_softirq+0xdc/0×230)
[61790.210636] [<c022bc90>] (
do_softirq) from [<c022be18>] (run_ksoftirqd+0×34/0×64)
[61790.218626] [<c022be18>] (run_ksoftirqd) from [<c0246784>] (smpboot_thread_fn+0×190/0x1b8)
[61790.226006] [<c0246784>] (smpboot_thread_fn) from [<c02438e4>] (kthread+0xf8/0×100)
[61790.234335] [<c02438e4>] (kthread) from [<c0209cb8>] (ret_from_fork+0×14/0x3c)
[61790.241951] —[ end trace bbf62e8dea16c714 ]— [61790.250226] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 1, skipped old beacon

21.11.2016296Base systemBug ReportVery LowHighUbiquiti Bullet M 10/100 ethernet interface comes up as...TrunkUnconfirmed Task Description

For the last month or so, and persisting in r2248, when a Ubiquiti Bullet M is booted through typical Ubiquiti 10/100 passive PoE injector, the interface appears to come up in gigabit mode (see timestamp 18.990274 below), despite being only a 10/100 Mbps interface. Restarting /etc/init.d/network fixes it. I am running batman-adv over the ethernet interface, which may be involved. I will check if it happens when batman-adv is not used on the interface and report in a followup comment.

The dmesg look like this:

[    0.000000] Linux version 4.4.32 (openwrt@hawg) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1439) ) #0 Mon Nov 21 07:14:51 2016
[    0.000000] MyLoader: sysp=00030800, boardp=088201a0, parts=fdeffeff
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7240 rev 2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] No valid device tree found, continuing without
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80412320, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=UBNT-BM mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,7552k(firmware),256k(cfg)ro,64k(EEPROM)ro console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 27616K/32768K available (2990K kernel code, 174K rwdata, 756K rodata, 296K init, 198K bss, 5152K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:390.000MHz, DDR:390.000MHz, AHB:195.000MHz, Ref:40.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9801335621 ns
[    0.000013] sched_clock: 32 bits at 195MHz, resolution 5ns, wraps every 11012737021ns
[    0.007858] Calibrating delay loop... 259.27 BogoMIPS (lpj=1296384)
[    0.080537] pid_max: default: 32768 minimum: 301
[    0.085319] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091915] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.102739] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.113516] NET: Registered protocol family 16
[    0.120053] MIPS: machine is Ubiquiti Bullet M
[    0.126714] registering PCI controller with io_map_base unset
[    0.357171] PCI host bridge to bus 0000:00
[    0.361273] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.368174] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.373719] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.380486] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.388422] pci 0000:00:00.0: [168c:002a] type 00 class 0x028000
[    0.388466] pci 0000:00:00.0: fixup device configuration
[    0.395018] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    0.395154] pci 0000:00:00.0: supports D1
[    0.395179] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.395521] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.395573] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    0.402864] pci 0000:00:00.0: using irq 40 for pin 1
[    0.408959] clocksource: Switched to clocksource MIPS
[    0.415845] NET: Registered protocol family 2
[    0.421435] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.428393] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.434796] TCP: Hash tables configured (established 1024 bind 1024)
[    0.441291] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.447126] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.453786] NET: Registered protocol family 1
[    0.458221] PCI: CLS 0 bytes, default 32
[    0.464223] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.470512] Crashlog allocated RAM at address 0x1f00000
[    0.495166] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.501050] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.514332] io scheduler noop registered
[    0.518252] io scheduler deadline registered (default)
[    0.523724] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.530709] console [ttyS0] disabled
[    0.554342] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 12187500) is a 16550A
[    0.563020] console [ttyS0] enabled
[    0.570030] bootconsole [early0] disabled
[    0.582486] m25p80 spi0.0: found mx25l6405d, expected m25p80
[    0.588201] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[    0.593207] 5 cmdlinepart partitions found on MTD device spi0.0
[    0.599160] Creating 5 MTD partitions on "spi0.0":
[    0.603978] 0x000000000000-0x000000040000 : "u-boot"
[    0.611975] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.619659] 0x000000050000-0x0000007b0000 : "firmware"
[    0.638850] 2 uimage-fw partitions found on MTD device firmware
[    0.644866] 0x000000050000-0x0000001a0000 : "kernel"
[    0.651748] 0x0000001a0000-0x0000007b0000 : "rootfs"
[    0.658927] mtd: device 4 (rootfs) set to be root filesystem
[    0.664753] 1 squashfs-split partitions found on MTD device rootfs
[    0.671002] 0x000000550000-0x0000007b0000 : "rootfs_data"
[    0.678725] 0x0000007b0000-0x0000007f0000 : "cfg"
[    0.685799] 0x0000007f0000-0x000000800000 : "EEPROM"
[    0.713743] libphy: ag71xx_mdio: probed
[    1.302694] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd041, driver=Generic PHY]
[    1.312905] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    1.322158] NET: Registered protocol family 10
[    1.332118] NET: Registered protocol family 17
[    1.336691] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.349583] 8021q: 802.1Q VLAN Support v1.8
[    1.362372] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.372025] Freeing unused kernel memory: 296K (80436000 - 80480000)
[    2.887723] init: Console is alive
[    2.891524] init: - watchdog -
[    4.278153] usbcore: registered new interface driver usbfs
[    4.283867] usbcore: registered new interface driver hub
[    4.289377] usbcore: registered new device driver usb
[    4.301662] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.310384] ehci-platform: EHCI generic platform driver
[    4.319460] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.327414] ohci-platform: OHCI generic platform driver
[    4.336259] init: - preinit -
[    5.148878] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.181862] random: procd: uninitialized urandom read (4 bytes read, 8 bits of entropy available)
[    7.440590] eth0: link up (100Mbps/Full duplex)
[    7.445184] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.484066] jffs2: notice: (361) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    8.501955] mount_root: switching to jffs2 overlay
[    8.517794] urandom-seed: Seeding with /etc/urandom.seed
[    8.794632] eth0: link down
[    8.814035] procd: - early -
[    8.817063] procd: - watchdog -
[    9.492101] procd: - ubus -
[    9.545805] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.555498] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.564637] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.574254] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.583375] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.593373] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
[    9.602738] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
[    9.612394] procd: - init -
[   10.066368] Loading modules backported from Linux version wt-2016-10-03-1-g6fcb1a6
[   10.074041] Backport generated by backports.git backports-20160324-9-g0e38f5c
[   10.125220] batman_adv: B.A.T.M.A.N. advanced 2016.4 (compatibility version 15) loaded
[   10.213939] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   10.224958] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[   10.233630] ath: EEPROM regdomain: 0x0
[   10.233647] ath: EEPROM indicates default country code should be used
[   10.233661] ath: doing EEPROM country->regdmn map search
[   10.233689] ath: country maps to regdmn code: 0x3a
[   10.233705] ath: Country alpha2 being used: US
[   10.233718] ath: Regpair used: 0x3a
[   10.248634] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.257391] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
[   11.870351] random: jshn: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   12.001559] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   18.855427] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   18.875510] IPv6: ADDRCONF(NETDEV_UP): br-pub: link is not ready
[   18.990274] eth0: link up (1000Mbps/Full duplex)
[   18.994964] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   19.330349] batman_adv: bat0: Adding interface: eth0
[   19.335365] batman_adv: bat0: The MTU of interface eth0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the
 performance. Setting the MTU to 1532 would solve the problem.
[   19.359419] batman_adv: bat0: Interface activated: eth0
[   19.367077] 8021q: adding VLAN 0 to HW filter on device bat0
[   19.406417] device bat0 entered promiscuous mode
[   19.411309] br-pub: port 1(bat0) entered forwarding state
[   19.416772] br-pub: port 1(bat0) entered forwarding state
[   19.422579] IPv6: ADDRCONF(NETDEV_CHANGE): br-pub: link becomes ready
[   19.870508] batman_adv: bat0: bridge_loop_avoidance: Changing from: enabled to: disabled
[   20.359133] batman_adv: bat0: No IGMP Querier present - multicast optimizations disabled
[   20.367269] batman_adv: bat0: No MLD Querier present - multicast optimizations disabled
[   21.412169] br-pub: port 1(bat0) entered forwarding state
[   21.549966] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   21.563679] device wlan0 entered promiscuous mode
[   21.591315] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   21.597879] br-pub: port 2(wlan0) entered forwarding state
[   21.603541] br-pub: port 2(wlan0) entered forwarding state
[   21.784924] IPv6: ADDRCONF(NETDEV_UP): mesh0: link is not ready
[   21.912131] IPv6: ADDRCONF(NETDEV_CHANGE): mesh0: link becomes ready
[   22.268273] batman_adv: bat0: Adding interface: mesh0
[   22.273432] batman_adv: bat0: Interface activated: mesh0
[   23.599046] br-pub: port 2(wlan0) entered forwarding state
[   29.369162] batman_adv: bat0: IGMP Querier appeared
[   29.374093] batman_adv: bat0: MLD Querier appeared
[   34.068975] ------------[ cut here ]------------
[   34.073700] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:306 dev_watchdog+0x1dc/0x260()
[   34.082197] NETDEV WATCHDOG: eth0 (ag71xx): transmit queue 0 timed out
[   34.088754] Modules linked in: ath9k ath9k_common mac80211 ath9k_hw ath batman_adv libcrc32c cfg80211 compat ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common crc16
 cryptomgr aead crypto_null crc32c_generic crypto_hash
[   34.112252] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.32 #0
[   34.118013] Stack : 803c8fc4 00000000 00000001 80420000 80413038 80412cc3 803aa67c 00000000
[   34.118013] 	  8048379c 8041135c 00000200 00100000 0000000a 800a71a8 803afce8 80410000
[   34.118013] 	  00000003 8041135c 803ae0f4 8040dc2c 0000000a 800a5124 00000006 00000000
[   34.118013] 	  00000000 801f3100 00000000 00000000 00000000 00000000 00000000 00000000
[   34.118013] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   34.118013] 	  ...
[   34.153969] Call Trace:
[   34.156440] [<80071af0>] show_stack+0x50/0x84
[   34.160843] [<80081870>] warn_slowpath_common+0xa0/0xd0
[   34.166096] [<800818cc>] warn_slowpath_fmt+0x2c/0x38
[   34.171111] [<80290970>] dev_watchdog+0x1dc/0x260
[   34.175854] [<800b0460>] call_timer_fn.isra.5+0x24/0x80
[   34.181125] [<800b06e4>] run_timer_softirq+0x1b4/0x1fc
[   34.186296] [<80083dec>] __do_softirq+0x250/0x298
[   34.191059] [<8006a5d0>] plat_irq_dispatch+0xd4/0x10c
[   34.196134] [<80060830>] ret_from_irq+0x0/0x4
[   34.200526] [<80060a80>] __r4k_wait+0x20/0x40
[   34.204906] [<800a2304>] cpu_startup_entry+0x9c/0xe8
[   34.209934] [<80436bd4>] start_kernel+0x470/0x490
[   34.214656] 
[   34.216159] ---[ end trace ef06a4b3ec78272a ]---
[   34.220810] eth0: tx timeout
[   37.565193] random: nonblocking pool is initialized
[   44.068999] eth0: tx timeout
[   54.069064] eth0: tx timeout
[   64.068993] eth0: tx timeout
[   74.069871] eth0: tx timeout
[   82.660973] batman_adv: bat0: MLD Querier disappeared - multicast optimizations disabled
[   84.070901] eth0: tx timeout
[   92.701961] batman_adv: bat0: MLD Querier appeared
[   94.071717] eth0: tx timeout
[  104.072355] eth0: tx timeout
[  114.072669] eth0: tx timeout
[...]

When I do an /etc/init.d/network restart, the interface recovers to normal function, and I get this in dmesg:

[ 1296.763793] br-pub: port 2(wlan0) entered disabled state
[ 1296.769232] br-pub: port 1(bat0) entered disabled state
[ 1296.808305] device bat0 left promiscuous mode
[ 1296.812986] br-pub: port 1(bat0) entered disabled state
[ 1296.862085] IPv6: ADDRCONF(NETDEV_UP): bat0: link is not ready
[ 1296.879239] device wlan0 left promiscuous mode
[ 1296.883945] br-pub: port 2(wlan0) entered disabled state
[ 1296.904196] batman_adv: bat0: Interface deactivated: mesh0
[ 1296.909752] batman_adv: bat0: Removing interface: mesh0
[ 1296.963462] batman_adv: bat0: Interface deactivated: eth0
[ 1296.993492] eth0: link down
[ 1296.998705] batman_adv: bat0: Removing interface: eth0
[ 1301.629484] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1301.649941] IPv6: ADDRCONF(NETDEV_UP): br-pub: link is not ready
[ 1301.985100] eth0: link up (100Mbps/Full duplex)
[ 1301.989698] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1302.191373] batman_adv: bat0: Adding interface: eth0
[ 1302.196453] batman_adv: bat0: The MTU of interface eth0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the
 performance. Setting the MTU to 1532 would solve the problem.
[ 1302.220488] batman_adv: bat0: Interface activated: eth0
[ 1302.228092] 8021q: adding VLAN 0 to HW filter on device bat0
[ 1302.275944] device bat0 entered promiscuous mode
[ 1302.280747] br-pub: port 1(bat0) entered forwarding state
[ 1302.286292] br-pub: port 1(bat0) entered forwarding state
[ 1302.292106] IPv6: ADDRCONF(NETDEV_CHANGE): br-pub: link becomes ready
[ 1302.590333] batman_adv: bat0: bridge_loop_avoidance: Changing from: enabled to: disabled
[ 1303.213417] batman_adv: bat0: No IGMP Querier present - multicast optimizations disabled
[ 1303.221556] batman_adv: bat0: No MLD Querier present - multicast optimizations disabled
[ 1304.283452] br-pub: port 1(bat0) entered forwarding state
[ 1304.672382] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1304.782643] device wlan0 entered promiscuous mode
[ 1304.827845] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1304.834479] br-pub: port 2(wlan0) entered forwarding state
[ 1304.840053] br-pub: port 2(wlan0) entered forwarding state
[ 1305.112607] IPv6: ADDRCONF(NETDEV_UP): mesh0: link is not ready
[ 1305.190600] IPv6: ADDRCONF(NETDEV_CHANGE): mesh0: link becomes ready
[ 1305.692918] batman_adv: bat0: Adding interface: mesh0
[ 1305.698080] batman_adv: bat0: Interface activated: mesh0
[ 1306.833410] br-pub: port 2(wlan0) entered forwarding state
[ 1312.303688] batman_adv: bat0: IGMP Querier appeared
[ 1312.308629] batman_adv: bat0: MLD Querier appeared

If I disconnect the other end of the ethernet cable so that there is no link peer, I do not see the problem (see below):

[    0.000000] Linux version 4.4.32 (openwrt@hawg) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1439) ) #0 Mon Nov 21 07:14:51 2016
[    0.000000] MyLoader: sysp=00000000, boardp=00000000, parts=ffffffff
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7240 rev 2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] No valid device tree found, continuing without
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80412320, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=UBNT-BM mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,7552k(firmware),256k(cfg)ro,64k(EEPROM)ro console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 27616K/32768K available (2990K kernel code, 174K rwdata, 756K rodata, 296K init, 198K bss, 5152K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:390.000MHz, DDR:390.000MHz, AHB:195.000MHz, Ref:40.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9801335621 ns
[    0.000013] sched_clock: 32 bits at 195MHz, resolution 5ns, wraps every 11012737021ns
[    0.007859] Calibrating delay loop... 259.27 BogoMIPS (lpj=1296384)
[    0.080537] pid_max: default: 32768 minimum: 301
[    0.085319] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091915] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.102743] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.113517] NET: Registered protocol family 16
[    0.120061] MIPS: machine is Ubiquiti Bullet M
[    0.126721] registering PCI controller with io_map_base unset
[    0.357179] PCI host bridge to bus 0000:00
[    0.361281] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.368182] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.373728] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.380495] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.388431] pci 0000:00:00.0: [168c:002a] type 00 class 0x028000
[    0.388474] pci 0000:00:00.0: fixup device configuration
[    0.395026] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    0.395163] pci 0000:00:00.0: supports D1
[    0.395187] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.395530] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.395581] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    0.402872] pci 0000:00:00.0: using irq 40 for pin 1
[    0.408968] clocksource: Switched to clocksource MIPS
[    0.415854] NET: Registered protocol family 2
[    0.421444] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.428402] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.434805] TCP: Hash tables configured (established 1024 bind 1024)
[    0.441299] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.447134] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.453795] NET: Registered protocol family 1
[    0.458229] PCI: CLS 0 bytes, default 32
[    0.464231] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.470521] Crashlog allocated RAM at address 0x1f00000
[    0.495175] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.501058] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.514341] io scheduler noop registered
[    0.518261] io scheduler deadline registered (default)
[    0.523733] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.530718] console [ttyS0] disabled
[    0.554351] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 12187500) is a 16550A
[    0.563030] console [ttyS0] enabled
[    0.570040] bootconsole [early0] disabled
[    0.582496] m25p80 spi0.0: found mx25l6405d, expected m25p80
[    0.588212] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[    0.593216] 5 cmdlinepart partitions found on MTD device spi0.0
[    0.599171] Creating 5 MTD partitions on "spi0.0":
[    0.603989] 0x000000000000-0x000000040000 : "u-boot"
[    0.611984] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.619662] 0x000000050000-0x0000007b0000 : "firmware"
[    0.638852] 2 uimage-fw partitions found on MTD device firmware
[    0.644868] 0x000000050000-0x0000001a0000 : "kernel"
[    0.651750] 0x0000001a0000-0x0000007b0000 : "rootfs"
[    0.658926] mtd: device 4 (rootfs) set to be root filesystem
[    0.664753] 1 squashfs-split partitions found on MTD device rootfs
[    0.671004] 0x000000550000-0x0000007b0000 : "rootfs_data"
[    0.678725] 0x0000007b0000-0x0000007f0000 : "cfg"
[    0.685800] 0x0000007f0000-0x000000800000 : "EEPROM"
[    0.713752] libphy: ag71xx_mdio: probed
[    1.302703] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd041, driver=Generic PHY]
[    1.312917] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    1.322177] NET: Registered protocol family 10
[    1.332146] NET: Registered protocol family 17
[    1.336720] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.349611] 8021q: 802.1Q VLAN Support v1.8
[    1.362390] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.372040] Freeing unused kernel memory: 296K (80436000 - 80480000)
[    2.887726] init: Console is alive
[    2.891520] init: - watchdog -
[    4.278086] usbcore: registered new interface driver usbfs
[    4.283799] usbcore: registered new interface driver hub
[    4.289318] usbcore: registered new device driver usb
[    4.301475] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.310215] ehci-platform: EHCI generic platform driver
[    4.319363] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.327317] ohci-platform: OHCI generic platform driver
[    4.336163] init: - preinit -
[    5.148612] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.181619] random: procd: uninitialized urandom read (4 bytes read, 8 bits of entropy available)
[    8.484735] jffs2: notice: (361) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    8.502585] mount_root: switching to jffs2 overlay
[    8.518273] urandom-seed: Seeding with /etc/urandom.seed
[    8.810840] procd: - early -
[    8.813863] procd: - watchdog -
[    9.487850] procd: - ubus -
[    9.541721] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.551409] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.560553] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.570163] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.579297] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.589333] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.598611] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.608223] procd: - init -
[   10.064115] Loading modules backported from Linux version wt-2016-10-03-1-g6fcb1a6
[   10.071796] Backport generated by backports.git backports-20160324-9-g0e38f5c
[   10.122372] batman_adv: B.A.T.M.A.N. advanced 2016.4 (compatibility version 15) loaded
[   10.205329] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   10.216362] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[   10.225034] ath: EEPROM regdomain: 0x0
[   10.225051] ath: EEPROM indicates default country code should be used
[   10.225065] ath: doing EEPROM country->regdmn map search
[   10.225093] ath: country maps to regdmn code: 0x3a
[   10.225109] ath: Country alpha2 being used: US
[   10.225122] ath: Regpair used: 0x3a
[   10.240049] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.248689] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
[   11.861887] random: jshn: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   11.993063] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   18.833441] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   18.855566] IPv6: ADDRCONF(NETDEV_UP): br-pub: link is not ready
[   21.215610] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   21.255512] device wlan0 entered promiscuous mode
[   21.286637] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   21.293301] br-pub: port 1(wlan0) entered forwarding state
[   21.298864] br-pub: port 1(wlan0) entered forwarding state
[   21.335689] IPv6: ADDRCONF(NETDEV_CHANGE): br-pub: link becomes ready
[   21.541225] IPv6: ADDRCONF(NETDEV_UP): mesh0: link is not ready
[   21.594616] IPv6: ADDRCONF(NETDEV_CHANGE): mesh0: link becomes ready
[   22.284927] batman_adv: bat0: Adding interface: mesh0
[   22.290148] batman_adv: bat0: Interface activated: mesh0
[   22.297750] 8021q: adding VLAN 0 to HW filter on device bat0
[   22.362868] device bat0 entered promiscuous mode
[   22.367627] br-pub: port 2(bat0) entered forwarding state
[   22.373200] br-pub: port 2(bat0) entered forwarding state
[   22.718089] batman_adv: bat0: bridge_loop_avoidance: Changing from: enabled to: disabled
[   23.289035] br-pub: port 1(wlan0) entered forwarding state
[   23.309325] batman_adv: bat0: No IGMP Querier present - multicast optimizations disabled
[   23.317459] batman_adv: bat0: No MLD Querier present - multicast optimizations disabled
[   24.369054] br-pub: port 2(bat0) entered forwarding state
[   29.389161] batman_adv: bat0: IGMP Querier appeared
[   38.069058] random: nonblocking pool is initialized
[   44.920666] eth0: link up (100Mbps/Full duplex)
[   44.925732] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   45.001214] batman_adv: bat0: Adding interface: eth0
[   45.006233] batman_adv: bat0: The MTU of interface eth0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the
 performance. Setting the MTU to 1532 would solve the problem.
[   45.030291] batman_adv: bat0: Interface activated: eth0
[   50.459193] batman_adv: bat0: MLD Querier appeared
[   67.509156] batman_adv: bat0: MLD Querier disappeared - multicast optimizations disabled
[   77.549128] batman_adv: bat0: MLD Querier appeared

My LEDE diffconfig looks like this:

CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_DEVICE_ubnt-bullet-m=y
CONFIG_DEVEL=y
CONFIG_BUSYBOX_CUSTOM=y
CONFIG_ALFRED_NEEDS_lua=y
CONFIG_BUILD_LOG=y
CONFIG_BUSYBOX_CONFIG_MESG=y
CONFIG_BUSYBOX_CONFIG_PKILL=y
CONFIG_BUSYBOX_CONFIG_RDATE=y
# CONFIG_BUSYBOX_CONFIG_SHA256SUM is not set
CONFIG_KMOD_BATMAN_ADV_BATMAN_V=y
CONFIG_KMOD_BATMAN_ADV_BLA=y
CONFIG_KMOD_BATMAN_ADV_DAT=y
CONFIG_KMOD_BATMAN_ADV_DEBUGFS=y
CONFIG_KMOD_BATMAN_ADV_MCAST=y
CONFIG_LIBCURL_COOKIES=y
CONFIG_LIBCURL_FILE=y
CONFIG_LIBCURL_FTP=y
CONFIG_LIBCURL_HTTP=y
CONFIG_LIBCURL_NO_SMB="!"
CONFIG_LIBCURL_POLARSSL=y
CONFIG_LIBCURL_PROXY=y
CONFIG_OPENSSL_ENGINE_CRYPTO=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_ALFRED_BATHOSTS=y
CONFIG_PACKAGE_ALFRED_VIS=y
CONFIG_PACKAGE_alfred=y
CONFIG_PACKAGE_batctl=y
CONFIG_PACKAGE_bridge=y
CONFIG_PACKAGE_curl=y
CONFIG_PACKAGE_diffutils=y
# CONFIG_PACKAGE_dnsmasq is not set
# CONFIG_PACKAGE_firewall is not set
CONFIG_PACKAGE_horst=y
CONFIG_PACKAGE_iftop=y
# CONFIG_PACKAGE_ip6tables is not set
CONFIG_PACKAGE_iperf3=y
# CONFIG_PACKAGE_iptables is not set
CONFIG_PACKAGE_kmod-batman-adv=y
CONFIG_PACKAGE_kmod-bridge=y
CONFIG_PACKAGE_kmod-crypto-aead=y
CONFIG_PACKAGE_kmod-crypto-crc32c=y
CONFIG_PACKAGE_kmod-crypto-hash=y
CONFIG_PACKAGE_kmod-crypto-manager=y
CONFIG_PACKAGE_kmod-crypto-null=y
CONFIG_PACKAGE_kmod-crypto-pcompress=y
# CONFIG_PACKAGE_kmod-ip6tables is not set
# CONFIG_PACKAGE_kmod-ipt-conntrack is not set
# CONFIG_PACKAGE_kmod-ipt-core is not set
# CONFIG_PACKAGE_kmod-ipt-nat is not set
# CONFIG_PACKAGE_kmod-lib-crc-ccitt is not set
CONFIG_PACKAGE_kmod-lib-crc16=y
CONFIG_PACKAGE_kmod-lib-crc32c=y
CONFIG_PACKAGE_kmod-llc=y
# CONFIG_PACKAGE_kmod-nf-conntrack is not set
# CONFIG_PACKAGE_kmod-nf-conntrack6 is not set
# CONFIG_PACKAGE_kmod-nf-ipt is not set
# CONFIG_PACKAGE_kmod-nf-ipt6 is not set
# CONFIG_PACKAGE_kmod-nf-nat is not set
# CONFIG_PACKAGE_kmod-ppp is not set
CONFIG_PACKAGE_kmod-stp=y
CONFIG_PACKAGE_libcurl=y
# CONFIG_PACKAGE_libip4tc is not set
# CONFIG_PACKAGE_libip6tc is not set
CONFIG_PACKAGE_liblua=y
CONFIG_PACKAGE_libncursesw=y
CONFIG_PACKAGE_libnetsnmp=y
CONFIG_PACKAGE_libopenssl=y
CONFIG_PACKAGE_libpcap=y
CONFIG_PACKAGE_libpcre=y
CONFIG_PACKAGE_libpolarssl=y
CONFIG_PACKAGE_libpopt=y
CONFIG_PACKAGE_libpthread=y
CONFIG_PACKAGE_librt=y
# CONFIG_PACKAGE_libxtables is not set
CONFIG_PACKAGE_lua=y
# CONFIG_PACKAGE_odhcp6c is not set
# CONFIG_PACKAGE_odhcpd is not set
# CONFIG_PACKAGE_ppp is not set
CONFIG_PACKAGE_procps-ng=y
CONFIG_PACKAGE_procps-ng-free=y
CONFIG_PACKAGE_procps-ng-kill=y
CONFIG_PACKAGE_procps-ng-pgrep=y
CONFIG_PACKAGE_procps-ng-pkill=y
CONFIG_PACKAGE_procps-ng-pmap=y
CONFIG_PACKAGE_procps-ng-ps=y
CONFIG_PACKAGE_procps-ng-pwdx=y
CONFIG_PACKAGE_procps-ng-skill=y
CONFIG_PACKAGE_procps-ng-slabtop=y
CONFIG_PACKAGE_procps-ng-snice=y
CONFIG_PACKAGE_procps-ng-tload=y
CONFIG_PACKAGE_procps-ng-top=y
CONFIG_PACKAGE_procps-ng-uptime=y
CONFIG_PACKAGE_procps-ng-vmstat=y
CONFIG_PACKAGE_procps-ng-w=y
CONFIG_PACKAGE_procps-ng-watch=y
CONFIG_PACKAGE_ptp-utils=y
CONFIG_PACKAGE_rsync=y
CONFIG_PACKAGE_snmpd=y
CONFIG_PACKAGE_tcpdump=y
CONFIG_PACKAGE_terminfo=y
CONFIG_PACKAGE_wget=y
CONFIG_PACKAGE_wireless-tools=y
CONFIG_PACKAGE_zlib=y
CONFIG_RSYNC_zlib=y

My uci show looks like this (system and wireless elided):

alfred.alfred=alfred
alfred.alfred.mode='master'
alfred.alfred.batmanif='bat0'
alfred.alfred.start_vis='1'
alfred.alfred.run_facters='1'
alfred.alfred.interface='br-pub'
alfred.alfred.disabled='0'
batman-adv.bat0=mesh
batman-adv.bat0.bridge_loop_avoidance='0'
dropbear.@dropbear[0]=dropbear
dropbear.@dropbear[0].PasswordAuth='on'
dropbear.@dropbear[0].RootPasswordAuth='on'
dropbear.@dropbear[0].Port='22'
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.pub=interface
network.pub.type='bridge'
network.pub.proto='static'
network.pub.ip6assign='60'
network.pub.ifname='bat0'
network.pub.ipaddr='10.11.x.y'
network.pub.netmask='255.255.252.0'
network.pub.gateway='10.11.x.1'
network.pub.dns='10.11.x.1'
network.mesh=interface
network.mesh.mtu='1532'
network.mesh.proto='batadv'
network.mesh.mesh='bat0'
network.meshwire=interface
network.meshwire.proto='batadv'
network.meshwire.mesh='bat0'
network.meshwire.ifname='eth0'
07.02.2017476Base systemBug ReportVery LowHighfail to detect usb storage at boot time on apu2c4.lede-17.01Unconfirmed Task Description

version: 17.01.0-rc1, r3042-ec095b5 and latest master
device: pcengine apu2c4, toshiba 32GB usb3.0 storage
packages: kmod-usb-storage, kmod-usb-core, kmod-scsi-core

<success case>
After boot, inserting usb storage is detected successfully, like this

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

   _________
  /        /\      _    ___ ___  ___
 /  LE    /  \    | |  | __|   \| __|
/    DE  /    \   | |__| _|| |) | _|

// LE \ ||_|_/|_| lede-project.org
\ \ DE /
\ LE \ / ———————————————————– \ DE \ / Reboot (17.01.0-rc1, r3042-ec095b5)
\
\/ ———————————————————– root@lede:/# ls /dev/|grep sd (← Not inserted yet)
root@lede:/# [ 73.924056] usb 3-2: new SuperSpeed USB device number 2 using xhci_hcd (← Detected)
[ 73.948714] usb-storage 3-2:1.0: USB Mass Storage device detected
[ 73.955124] scsi host4: usb-storage 3-2:1.0
[ 74.954867] scsi 4:0:0:0: Direct-Access TOSHIBA TransMemory-Mx PMAP PQ: 0 ANSI: 6
[ 74.963873] sd 4:0:0:0: [sda] 60456960 512-byte logical blocks: (31.0 GB/28.8 GiB)
[ 74.971758] sd 4:0:0:0: [sda] Write Protect is off
[ 74.976597] sd 4:0:0:0: [sda] Mode Sense: 45 00 00 00
[ 74.981951] sd 4:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn’t support DPO or FUA
[ 75.107329] sda:
[ 75.110561] sd 4:0:0:0: [sda] Attached SCSI removable disk root@lede:/# ls /dev/|grep sd
sda (← device file found)
root@lede:/#
======================================================================================= <failure case>
After reboot keeping usb storage inserted, inserting usb storage is not detected, like this
=======================================================================================
BusyBox v1.25.1 () built-in shell (ash)
_
/ /\ _
_ _ _

 /  LE    /  \    | |  | __|   \| __|
/    DE  /    \   | |__| _|| |) | _|

// LE \ ||_|_/|_| lede-project.org
\ \ DE /
\ LE \ / ———————————————————– \ DE \ / Reboot (17.01.0-rc1, r3042-ec095b5)
\
__\/ ———————————————————–

root@lede:/# ls /dev/|grep sd
root@lede:/#

Do you know the clue fixing this issue?

Thanks in advance.

18.02.2017533Base systemBug ReportVery LowHighanon_mount 1 in fstab freezes boot in wrt3200acmlede-17.01Unconfirmed Task Description

I have run into strange trouble with my new WRT3200ACM:

anon_mount 1 option in /etc/config/fstab causes the boot process to hang.
Hang can be triggered manually with “/sbin/block mount” when that option is set.
Kernel log fills from entries “pxa3xx-nand f10d0000.flash: Wait time out!!!”

I am filing this bug report for 17.01, but the bug seems to be also in master.


For some reason enabling the anon_mount option in /etc/config/fstab prevents the boot process from completing. The boot progresses to some stage and router e.g. answers ping, but power led blinks and it does not allow login and does not provide dhcp etc. services.

I have had that option in all my routers (WNDR3700, WNDR3800, R7800) to make USB memory sticks to automount when inserted into the router’s USB port. So it is a quite normal setting.

I first compiled a mvebu wrt3200acm firmware image from master with kernel 4.9, and that failed to boot. I thought that the new kernel 4.9 might be the reason. So I installed 17.01.0-rc2 official image and it booted ok. I installed packages, configured, rebooted and everything was ok as long as I did not change that anon_mount to 1 in fstab. After changing that, the next boot again gets stuck. (Editing the option in failsafe enables the router to boot normally.)

Boot completes ok with the output of “block detect” entered into fstab:

  config 'global'
          option  anon_swap       '0'
          option  anon_mount      '0'
          option  auto_swap       '1'
          option  auto_mount      '1'
          option  delay_root      '5'
          option  check_fs        '0'

Boot does not complete with anon_mount 1 in /etc/config/fstab:

  config 'global'
          option  anon_swap       '0'
          option  anon_mount      '1'
          option  auto_swap       '1'
          option  auto_mount      '1'
          option  delay_root      '5'
          option  check_fs        '0'

I have no good guess about the reason. My initial guess was some connection to ubi1:syscfg being mounted as /tmp/syscfg as that is different than in my other devices, but it is hard to see how that could be the reason. (That mounting is done in /lib/preinit/81_linksys_syscfg )

After some investigation it looks like the reason is actually “/sbin/block mount”.

At the boot the init script /etc/init.d/fstab actually runs “/sbin/block mount”.
Running that command manually from console (with anon_mount 1) makes the console to hang. From another console window I can see that system & kernel log fills from entries like these:

  kern.err kernel: [ 3032.483307] pxa3xx-nand f10d0000.flash: Wait time out!!!
  kern.err kernel: [ 3032.683301] pxa3xx-nand f10d0000.flash: Wait time out!!!
  kern.err kernel: [ 3032.883296] pxa3xx-nand f10d0000.flash: Wait time out!!!
  kern.err kernel: [ 3033.083293] pxa3xx-nand f10d0000.flash: Wait time out!!!
  kern.err kernel: [ 3033.283291] pxa3xx-nand f10d0000.flash: Wait time out!!!
  kern.err kernel: [ 3033.483287] pxa3xx-nand f10d0000.flash: Wait time out!!!
  kern.err kernel: [ 3033.683283] pxa3xx-nand f10d0000.flash: Wait time out!!!

And the “block” process can’t even be killed with “kill -9” or “kill -15”.
I rebooted the router from power switch to get it killed.

With anon_mount 0 in fstab the same command works ok and produces:

 root@LEDE:~# /sbin/block mount
 block: /dev/ubiblock0_0 is already mounted on /rom
 block: /dev/ubi0_1 is already mounted on /overlay
19.02.2017534Base systemBug ReportVery LowHighUSB xHCI deadlock on bootlede-17.01Assigned Task Description

Supply the following if possible:
- Device problem occurs on
VirtualBox x86_64 Version 5.0.32 r112930
- Software versions of LEDE release, packages, etc.
17.01.00rc2
- Steps to reproduce
Create the disk image
Switch from EHCI (the default in a new VM) to xHCI.
Boot the machine
The machine will deadlock soon after initializing the USB ports


19.02.2017535KernelBug ReportVery LowHigh5GHz radios not working properly on Netgear R8000lede-17.01Unconfirmed Task Description

After upgrading my R8000 from Chaos Calmer (15.05.1) to LEDE Reboot (17.01.0-rc2, r3131-42f3c1f), I found that I could no longer get the 5GHz radios to work as before. The 2.4GHz radio is fine.

In CC I was using the following configuration:
- radio0 on channel 149, country code ‘00’, VHT80
- radio2 on channel 48, country code ‘00’, VHT80

The firmware apparently only accepts 00 and US as country codes, which is why I was using 00. This discussed at length in: https://forum.openwrt.org/viewtopic.php?id=55367&p=19 (and previous pages)

In 17.01.0-rc2, I can’t get radio0 to come up at all. radio2 can be configured, still on channel 48 and country 00, but in VHT40 mode. If I use VHT80, it stays disabled.

This was discussed previously in this forum post: https://forum.lede-project.org/t/r8000-5ghz-wifi-issue/236 and I get the same error messages and channel selection as the OP, so I will not repeat them here.

I’m not sure if this issue is really related to the country code setting, but I will note that the factory system apparently sets the country code to “EU”:

root@x6:~# nvram show | grep country_code
wl1_country_code=EU
wl0_country_code=EU
wl2_country_code=EU
wl_country_code=
root@x6:~#

I see that LEDE carries a patch on brcmfmac which translates the configured country code to an internal code for the firmware on this specific model (https://git.lede-project.org/?p=source.git;a=blob_plain;f=package/kernel/mac80211/patches/863-brcmfmac-add-in-driver-tables-with-country-codes.patch;hb=refs/heads/lede-17.01). I’m willing to test patches if anyone knows the right internal country code for Europe.

28.02.2017569Base systemBug ReportVery LowHighUnable to conenct with wpa2-eaplede-17.01Waiting on reporter Task Description

Device: TP-Link Archer C7 V2
LEDE: 17.01.0, r3205-59508e3

Sometimes it is impossible to connect to an AP. It just looks like that he pairwise key handshake fails. This is what i see in the log:

Feb 28 20:13:41 10.0.0.3 hostapd: wlan1: STA 00:13:ef:60:0a:3a IEEE 802.11: authenticated
Feb 28 20:13:41 10.0.0.3 hostapd: wlan1: STA 00:13:ef:60:0a:3a IEEE 802.11: associated (aid 1)
Feb 28 20:13:41 10.0.0.3 hostapd: wlan1: CTRL-EVENT-EAP-STARTED 00:13:ef:60:0a:3a
Feb 28 20:13:41 10.0.0.3 hostapd: wlan1: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1

My config for wpa2-eap is pretty simple:

config wifi-iface ‘default_radio1’

      option device 'radio1'
      option mode 'ap'
      option ssid 'SSID'
      option encryption 'wpa2'
      option auth_server '10.0.0.1'
      option auth_port '1812'
      option auth_secret 'foobar'
      option nasid 'ap02g'
      option network 'lan'
      option wpa_group_rekey '2000'
08.03.2017608Base systemBug ReportVery LowHighwds AP/STA disconnecting every 10 minutesTrunkUnconfirmed Task Description

Devices:
AP WDS: Netgear r7800
STA WDS: TP-LINK Archer c7 v2

Problem exists on:

  1. with both latest trunk and 17.01
  2. with both ath10k and ath10k-ct
  3. with STP enabled or not on both sides
  4. with STP enabled or not on only one side
  5. with both WPA2 tkip and aes
  6. with 2.4Ghz and 5Ghz bands

Steps to reproduce

  1. Configure AP WDS
  2. Configure STA WDS
  3. Wait exactly 10 minutes and you’ll see this in the log:

AP:

daemon.info hostapd: wlan1-1: STA 30:b5:c2:08:b9:e1 IEEE 802.11: authenticated
daemon.info hostapd: wlan1-1: STA 30:b5:c2:08:b9:e1 IEEE 802.11: associated (aid 1)
daemon.info hostapd: wlan1-1: STA 30:b5:c2:08:b9:e1 RADIUS: starting accounting session F72C76B14648E205
daemon.info hostapd: wlan1-1: STA 30:b5:c2:08:b9:e1 WPA: pairwise key handshake completed (RSN)

STA:

daemon.notice netifd: Network device 'wlan1' link is down
kern.info kernel: [  387.179978] wlan1: deauthenticated from de:ef:09:f2:99:75 (Reason: 2=PREV_AUTH_NOT_VALID)
kern.info kernel: [  387.188344] br-lan: port 3(wlan1) entered disabled state
kern.info kernel: [  388.139233] wlan1: authenticate with de:ef:09:f2:99:75
kern.info kernel: [  388.170697] wlan1: send auth to de:ef:09:f2:99:75 (try 1/3)
kern.info kernel: [  388.195249] wlan1: authenticated
Wkern.info kernel: [  388.225092] wlan1: associate with de:ef:09:f2:99:75 (try 1/3)
kern.info kernel: [  388.235224] wlan1: RX AssocResp from de:ef:09:f2:99:75 (capab=0x431 status=0 aid=1)
kern.info kernel: [  388.243356] wlan1: associated
daemon.notice netifd: Network device 'wlan1' link is up

I think this has to do with wpa_supplicant in some way, maybe it doesn’t receive the correct packets and force disconnect the client?

Now, this only happens in WDS bridge mode. I’m currently using relayd in order to overcome this issue and it works like a charm.
I want to solve this problem since relayd uses much more cpu power (indeed this is a true routing procotol after all) and total troughput is halved right now.


09.03.2017611Base systemBug ReportVery LowHighdnsmasq Ignore resolv file option forget at restartAllUnconfirmed Task Description

If you set up dnsmasq to ignore resolv file it will ignore it until reboot is performed. To make ignore it again the option must be uncheck and apply and then check and apply again.

I have /etc/resolv.conf as a symlink to /tmp/resolv.conf, when the router boots up the contents are the dns offered from dhcp over the wan interface. When the ignore resolv option is checked or unchecked the contens are overwrited to search lan and nameserver 127.0.0.1 but it doesn’t seems to affect as if you uncheck ignore resolv the router resolv names, and when you check again the option it can resolv names even the contents still are search lan and nameserver 127.0.0.1.

I haven’t seen yet any other change that can cause the reboot to make dnsmasq follow resolv file when the option is checked until you uncheck-apply and check-apply.

09.03.2017612Base systemBug ReportVery LowHighWAN to LAN leakage on MT7620 devicesTrunkUnconfirmed Task Description

I am currently testing two MT7620 devices - the ZBT WE826 and the Sanlinking D240. During the first seconds of the boot, I see that packets leak between the WAN and LAN ports. Typically, this results in clients receiving a DHCP reply from my upstream router, rendering the clients without connectivity when the switch is properly initialized. I have also tested with the default firmware and do not see this behavior. Also, if I stop the devices in the bootloader, then packets do not leak until I resume boot again.

In order to try to solve this bug, I have tried to port some (at least to me) missing steps from the bootloader switch code and to the mt7620 switch driver in LEDE. This did not have an effect, at least not on the packet leak. A work-around I have found is to update u-boot and remove the input delay, so that the device will boot immediately. However, this is quite cumbersome to install and not very reliable. I suspect my luck with this work-around is more due to the timing of the DHCP clients in Ubuntu and Windows 10.

Does anyone have any idea as to what could be wrong and where to start looking?

Thanks in advance for any help.

 


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

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

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

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

AP wireless config:

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

STA wireless config:

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

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

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


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

Another one which is a bit different:

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

Symptoms: Fails to receive address via DHCP on WAN port
Board: WPJ558
Lede ver: 92b5b360fe39a4e446742ab3de9d0b2f91991d46 (Mar 7, 2017)
Steps to reproduce: ping -f wan_port_ip from another machine, reboot WPJ558

I have tracked the problem down to commit https://github.com/lede-project/source/commit/94e4ee5395b437e9ddaec8cdea47c1a4a9ba0c01 , more specifically enabling flow control on ports 1-5.

The problem goes away if I comment out line 693 from the patch:

+ t |= AR8216_PORT_STATUS_FLOW_CONTROL;

Funny how this caused the problem it was trying to solve...

28.03.2017661Base systemBug ReportVery LowHighUSB hostless modem is not detected during boot - HooToo...lede-17.01Unconfirmed Task Description

After flashing my HooToo HT-TM02 with LEDE 17.01 I noticed that my hostless modem
ZTE MF823 is not detected when attached during boot. lsusb or cat /sys/kernel/debug/usb/devices
just shows nothing. Also dmesg is logging nothing regarding the device during boot.
If the modem is hotplugged, everything works fine. Same behaviour in OpenWRT Chaos Chalmer.

Tried unloading and reloading all usb related modules with no success. No detection at all.
Only unplugging and replugging helps. If the modem is detected after replugging, a
router reboot will detect it properly. A reboot without a forced detection via replugging leads to
no detection. Powering the router down, also results in no detection after rebooting.

If attached to a “non powered” USB-Hub it gets detected during boot, so no power issue here.

And the modem works perfekt after boot on a WD MyNet 600 with LEDE 17.01. So i think it’s a
platform related issue handling the usb modules.

Hope there is enough info for someone to find the bug.

THX.

10.04.2017697Base systemBug ReportVery LowHighLEDE tl-wdr3320-v2 No 2.4GHzlede-17.01Waiting on reporter Task Description

ar9344+ar9287

this:
https://downloads.lede-project.org/releases/17.01.0/targets/ar71xx/generic/lede-17.01.0-r3205-59508e3-ar71xx-generic-tl-wdr3320-v2-squashfs-sysupgrade.bin
No 2.4GHz

17.04.2017714Base systemBug ReportVery LowHighARP/Broadcast does not reach other clients in the same ...AllUnconfirmed Task Description

I have the default bridge with ethernet and WLAN in it. When i try to send data from a client to another, both connected to the same WLAN SSID, it doesn’t work (Destination unreachable).
Wireshark shows that it sends endless ARP requests to Broadcast, but the other clients in that WLAN never get it (and therefore can’t answer). The broadcast gets still delivery to every client connected through Ethernet. If i create a second WLAN SSID (even on the same adapter) and and add it to the bridge, it gets also all broadcast packets from the other WLAN...
So if i put the 2 clients in different WLAN SSIDs or ethernet they get the broadcast from each other, but not when both are connected to the same.

The isolate option is not set in the wireless config.
Archer C5 v1 with latest LEDE snapshot (no difference to 17.01 stable or rc).

19.04.2017717Base systemBug ReportVery LowHighWRT3200ACM USB 3.0 ProblemAllUnconfirmed Task Description

I can´t get my Seagate Expansion Portable 1TB STEA1000400 USB3.0 drive to be be recognized on the USB 3.0 port of the router after a reboot or cold start on WRT3200 but if i remove and hotplug the drive, it is automatically detected and can be mounted.
It happens with images from Openwrt 15.05.1, LEDE 17.01.1 and many snapshots from both projects that i have installed. I have no problem with another usb2.0 drive from Samsung that is installed in another USB2.0 port.

After Cold START or REBOOT

 root@LEDE:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.20 (ag33e33@ubuntu) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3963-7ae58be) ) #0 SMP Wed Apr 12 16:12:18 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Linksys WRT3200ACM
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c0646900, node_mem_map dfbf9000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] percpu: Embedded 13 pages/cpu @dfbce000 s22732 r8192 d22324 u53248
[    0.000000] pcpu-alloc: s22732 r8192 d22324 u53248 alloc=13*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock6 ro rootdelay=1 rootfstype=jffs2 earlyprintk mtdparts=armada-nand:2048K(uboot)ro,128K(u_env),256K(s_env),256K@8064K(devinfo),1920K@8320K(sysdiag),80m@10m(kernel),74m@16m(rootfs),80m@90m(alt_kernel),74m@96m(alt_rootfs),160m@10m(ubifs),-@170m(syscfg)
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512848K/524288K available (4545K kernel code, 180K rwdata, 1244K rodata, 280K init, 310K bss, 11440K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
                   lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0xc0008000 - 0xc0478918   (4547 kB)
                     .init : 0xc05d4000 - 0xc061a000   ( 280 kB)
                     .data : 0xc061a000 - 0xc0647200   ( 181 kB)
                      .bss : 0xc0647200 - 0xc0694a00   ( 310 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Selected CPU frequency (16) unsupported
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000002] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.000008] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000114] Calibrating local timer... 933.22MHz.
[    0.060032] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.060037] pid_max: default: 32768 minimum: 301
[    0.060076] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.060079] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.060274] CPU: Testing write buffer coherency: ok
[    0.060365] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.060376] Setting up static identity map for 0x8280 - 0x82d8
[    0.060434] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.060494] mvebu-pmsu: Initializing Power Management Service Unit
[    0.060904] Booting CPU 1
[    0.061041] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.061070] Brought up 2 CPUs
[    0.061075] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.061078] CPU: All CPU(s) started in SVC mode.
[    0.062739] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.062790] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.062796] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.062831] pinctrl core: initialized pinctrl subsystem
[    0.063142] NET: Registered protocol family 16
[    0.063575] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.090041] cpuidle: using governor ladder
[    0.090171] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.090177] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.120467] reg-fixed-voltage xhci0-vbus: could not find pctldev for node /soc/internal-regs/pinctrl@18000/xhci0-vbus-pins, deferring probe
[    0.120607] SCSI subsystem initialized
[    0.120687] libata version 3.00 loaded.
[    0.120790] usbcore: registered new interface driver usbfs
[    0.120815] usbcore: registered new interface driver hub
[    0.120835] usbcore: registered new device driver usb
[    0.121329] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.121647] NET: Registered protocol family 2
[    0.121869] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.121890] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.121920] TCP: Hash tables configured (established 4096 bind 4096)
[    0.121941] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.121952] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.122009] NET: Registered protocol family 1
[    0.122021] PCI: CLS 0 bytes, default 64
[    0.122803] Crashlog allocated RAM at address 0x3f00000
[    0.122877] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.124945] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.124953] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.125699] io scheduler noop registered
[    0.125703] io scheduler deadline registered (default)
[    0.126071] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    0.126671] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    0.126679] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.126683] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    0.126687] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.126701] pci 0000:00:01.0: [11ab:6820] type 01 class 0x060400
[    0.126784] pci 0000:00:02.0: [11ab:6820] type 01 class 0x060400
[    0.126859] PCI: bus0: Fast back to back transfers disabled
[    0.126864] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.126870] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.126918] pci 0000:01:00.0: [11ab:2b40] type 00 class 0x020000
[    0.126933] pci 0000:01:00.0: reg 0x10: [mem 0x40000000-0x401fffff 64bit pref]
[    0.126943] pci 0000:01:00.0: reg 0x18: [mem 0x40200000-0x402fffff 64bit pref]
[    0.127002] pci 0000:01:00.0: supports D1 D2
[    0.127005] pci 0000:01:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.127068] PCI: bus1: Fast back to back transfers disabled
[    0.127073] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.127132] pci 0000:02:00.0: [11ab:2b40] type 00 class 0x020000
[    0.127151] pci 0000:02:00.0: reg 0x10: [mem 0x42000000-0x421fffff 64bit pref]
[    0.127162] pci 0000:02:00.0: reg 0x18: [mem 0x42200000-0x422fffff 64bit pref]
[    0.127244] pci 0000:02:00.0: supports D1 D2
[    0.127246] pci 0000:02:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.127310] PCI: bus2: Fast back to back transfers disabled
[    0.127315] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    0.127384] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe02fffff]
[    0.127390] pci 0000:00:02.0: BAR 8: assigned [mem 0xe0400000-0xe06fffff]
[    0.127396] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe01fffff 64bit pref]
[    0.127405] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0200000-0xe02fffff 64bit pref]
[    0.127413] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.127418] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe02fffff]
[    0.127425] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0400000-0xe05fffff 64bit pref]
[    0.127434] pci 0000:02:00.0: BAR 2: assigned [mem 0xe0600000-0xe06fffff 64bit pref]
[    0.127443] pci 0000:00:02.0: PCI bridge to [bus 02]
[    0.127448] pci 0000:00:02.0:   bridge window [mem 0xe0400000-0xe06fffff]
[    0.127646] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.181754] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.181840] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.241717] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.241857] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.242621] console [ttyS0] disabled
[    0.262683] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 21, base_baud = 12500000) is a 16550A
[    0.983287] console [ttyS0] enabled
[    0.988691] loop: module loaded
[    0.992090] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.001176] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.010274] scsi host0: ahci-mvebu
[    1.013847] scsi host1: ahci-mvebu
[    1.017348] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 41
[    1.025306] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 41
[    1.033594] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.041369] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xda
[    1.047747] nand: AMD/Spansion S34ML02G2
[    1.051690] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
[    1.059379] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.066556] Bad block table found at page 131008, version 0x01
[    1.072752] Bad block table found at page 130944, version 0x01
[    1.078863] 11 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.085074] Creating 11 MTD partitions on "pxa3xx_nand-0":
[    1.090582] 0x000000000000-0x000000200000 : "u-boot"
[    1.095830] 0x000000200000-0x000000220000 : "u_env"
[    1.100951] 0x000000220000-0x000000260000 : "s_env"
[    1.106089] 0x0000007e0000-0x000000820000 : "devinfo"
[    1.111433] 0x000000820000-0x000000a00000 : "sysdiag"
[    1.116797] 0x000000a00000-0x000005a00000 : "kernel1"
[    1.122301] 0x000001000000-0x000005a00000 : "ubi"
[    1.127404] 0x000005a00000-0x00000aa00000 : "kernel2"
[    1.132905] 0x000006000000-0x00000aa00000 : "rootfs2"
[    1.138362] 0x00000aa00000-0x000010000000 : "syscfg"
[    1.143774] 0x000000260000-0x000000820000 : "unused_area"
[    1.149701] libphy: Fixed MDIO Bus: probed
[    1.154064] libphy: orion_mdio_bus: probed
[    1.158297] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.166962] mvneta f1070000.ethernet eth0: Using hardware mac address 60:38:e0:b9:ea:c0
[    1.175959] mvneta f1034000.ethernet eth1: Using random mac address a2:8d:5e:6d:ee:98
[    1.183881] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.190435] ehci-pci: EHCI PCI platform driver
[    1.194928] ehci-platform: EHCI generic platform driver
[    1.200245] ehci-orion: EHCI orion driver
[    1.204336] orion-ehci f1058000.usb: EHCI Host Controller
[    1.209765] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.217412] orion-ehci f1058000.usb: irq 37, io mem 0xf1058000
[    1.251329] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.257480] hub 1-0:1.0: USB hub found
[    1.261254] hub 1-0:1.0: 1 port detected
[    1.265551] usbcore: registered new interface driver usb-storage
[    1.271723] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.279341] i2c /dev entries driver
[    1.294252] orion_wdt: Initial timeout 171 sec
[    1.298933] sdhci: Secure Digital Host Controller Interface driver
[    1.305146] sdhci: Copyright(c) Pierre Ossman
[    1.362546] ata1: SATA link down (SStatus 0 SControl 300)
[    1.367991] ata2: SATA link down (SStatus 0 SControl 300)
[    1.371354] mmc0: SDHCI controller on f10d8000.sdhci [f10d8000.sdhci] using ADMA
[    1.371428] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.377154] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.377556] NET: Registered protocol family 10
[    1.391590] NET: Registered protocol family 17
[    1.391604] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.391605] 8021q: 802.1Q VLAN Support v1.8
[    1.391661] Registering SWP/SWPB emulation handler
[    1.392791] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.392803] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 2
[    1.392861] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.392881] xhci-hcd f10f8000.usb3: irq 44, io mem 0xf10f8000
[    1.393134] hub 2-0:1.0: USB hub found
[    1.393160] hub 2-0:1.0: 1 port detected
[    1.393247] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.393253] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    1.393292] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.393478] hub 3-0:1.0: USB hub found
[    1.393501] hub 3-0:1.0: 1 port detected
[    1.393820] UBI: auto-attach mtd6
[    1.393824] ubi0: attaching mtd6
[    1.397930] random: fast init done
[    1.401551] mmc0: new high speed SDIO card at address 0001
[    1.593092] ubi0: scanning is finished
[    1.601334] ubi0: attached mtd6 (name "ubi", size 74 MiB)
[    1.606756] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    1.613664] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    1.620479] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    1.627475] ubi0: good PEBs: 592, bad PEBs: 0, corrupted PEBs: 0
[    1.633508] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    1.640759] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1419003487
[    1.649932] ubi0: available PEBs: 0, total reserved PEBs: 592, PEBs reserved for bad PEB handling: 40
[    1.659197] ubi0: background thread "ubi_bgt0d" started, PID 668
[    1.659208] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    1.659643] block ubiblock0_0: created from ubi0:0(rootfs)
[    1.659645] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    1.659829] mvsw61xx 10.mvsw61xx: Found MV88E6352 at f1072004.mdio-mi:10
[    1.659832] mvsw61xx 10.mvsw61xx: Using direct addressing
[    1.671972] armada38x-rtc f10a3800.rtc: setting system clock to 2101-11-05 12:45:50 UTC (4160637950)
[    1.705850] Waiting 1 sec before mounting root device...
[    1.852932] usb-storage 1-1:1.0: USB Mass Storage device detected
[    1.859142] scsi host2: usb-storage 1-1:1.0
[    2.722974] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    2.730260] Freeing unused kernel memory: 280K (c05d4000 - c061a000)
[    2.736655] This architecture does not have kernel memory protection.
[    2.855724] init: Console is alive
[    2.859203] init: - watchdog -
[    2.924338] scsi 2:0:0:0: Direct-Access     Samsung  S2 Portable           PQ: 0 ANSI: 2 CCS
[    3.111498] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.151660] sd 2:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    3.159777] sd 2:0:0:0: [sda] Write Protect is off
[    3.164597] sd 2:0:0:0: [sda] Mode Sense: 28 00 00 00
[    3.165152] sd 2:0:0:0: [sda] No Caching mode page found
[    3.170490] sd 2:0:0:0: [sda] Assuming drive cache: write through
[    3.179038]  sda: sda1
[    3.183653] sd 2:0:0:0: [sda] Attached SCSI disk
[    3.188738] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.195221] ohci-platform: OHCI generic platform driver
[    3.200902] uhci_hcd: USB Universal Host Controller Interface driver
[    3.207556] ohci-pci: OHCI PCI platform driver
[    3.212156] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.228593] init: - preinit -
[    3.422394] mvneta f1070000.ethernet tmp0: renamed from eth0
[    3.462586] mvneta f1034000.ethernet eth0: renamed from eth1
[    3.512510] mvneta f1070000.ethernet eth1: renamed from tmp0
[    3.833291] mvneta f1034000.ethernet eth0: configuring for fixed link mode
[    3.840562] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    3.846607] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    3.854578] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    5.909798] mount_root: loading kmods from internal overlay
[    5.921475] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    5.929503] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[    6.328768] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 806
[    6.357145] UBIFS (ubi0:1): recovery needed
[    6.403932] random: crng init done
[    6.431762] UBIFS (ubi0:1): recovery completed
[    6.436249] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[    6.444117] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    6.454076] UBIFS (ubi0:1): FS size: 61329408 bytes (58 MiB, 483 LEBs), journal size 3047424 bytes (2 MiB, 24 LEBs)
[    6.464556] UBIFS (ubi0:1): reserved for root: 2896739 bytes (2828 KiB)
[    6.471198] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID DEE50754-EFFE-4990-A7A6-C97266C9BEF0, small LPT model
[    6.483473] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[    6.493882] block: extroot: not configured
[    6.531369] UBIFS (ubi0:1): un-mount UBI device 0
[    6.536097] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" stops
[    6.544028] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 809
[    6.591527] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[    6.599392] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    6.609356] UBIFS (ubi0:1): FS size: 61329408 bytes (58 MiB, 483 LEBs), journal size 3047424 bytes (2 MiB, 24 LEBs)
[    6.619838] UBIFS (ubi0:1): reserved for root: 2896739 bytes (2828 KiB)
[    6.626483] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID DEE50754-EFFE-4990-A7A6-C97266C9BEF0, small LPT model
[    6.641627] mount_root: loading kmods from internal overlay
[    6.652909] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[    6.670201] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[    7.078279] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[    7.086484] block: extroot: not configured
[    7.132013] mount_root: switching to ubifs overlay
[    7.176201] ubi1: attaching mtd9
[    7.407547] ubi1: scanning is finished
[    7.415742] ubi1: attached mtd9 (name "syscfg", size 86 MiB)
[    7.421435] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    7.428338] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    7.435155] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
[    7.442148] ubi1: good PEBs: 680, bad PEBs: 8, corrupted PEBs: 0
[    7.448177] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
[    7.455430] ubi1: max/mean erase counter: 6/4, WL threshold: 4096, image sequence number: 1148089792
[    7.464603] ubi1: available PEBs: 0, total reserved PEBs: 680, PEBs reserved for bad PEB handling: 32
[    7.473869] ubi1: background thread "ubi_bgt1d" started, PID 824
[    7.485213] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 828
[    7.537764] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "syscfg"
[    7.545202] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    7.555161] UBIFS (ubi1:0): FS size: 80375808 bytes (76 MiB, 633 LEBs), journal size 4063232 bytes (3 MiB, 32 LEBs)
[    7.565642] UBIFS (ubi1:0): reserved for root: 3796347 bytes (3707 KiB)
[    7.572287] UBIFS (ubi1:0): media format: w4/r0 (latest is w4/r0), UUID A5EAB2F8-92D3-4D0B-A69A-9F6CA9A608B3, small LPT model
[    7.585463] urandom-seed: Seeding with /etc/urandom.seed
[    7.684142] procd: - early -
[    7.687055] procd: - watchdog -
[    8.315049] procd: - ubus -
[    8.371904] procd: - init -
[    8.546612] kmodloader: loading kernel modules from /etc/modules.d/*
[    8.557859] tun: Universal TUN/TAP device driver, 1.6
[    8.562965] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    8.571391] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    8.580401] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    8.587876] cryptodev: driver 1.8 loaded.
[    8.592340] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[    8.600387] Backport generated by backports.git backports-20160324-13-g24da7d3c
[    8.615059] <<Marvell 802.11ac Wireless Network Driver version 10.3.2.0-20170110>>
[    8.622702] pci 0000:00:01.0: enabling device (0140 -> 0142)
[    8.628443] ieee80211 phy0: priv->iobase0 = e0f80000
[    8.628454] ieee80211 phy0: priv->iobase1 = e1200000
[    8.628463] ieee80211 phy0: priv->pcmd_buf = ddf08000  priv->pphys_cmd_buf = 1df08000
[    8.636458] ieee80211 phy0: fw download start
[    8.699990] ieee80211 phy0: FwSize = 207660 downloaded Size = 207660 curr_iteration 65522
[   12.431324] ieee80211 phy0: fw download complete
[   12.431783] ieee80211 phy0: pcmd = ddf08000
[   12.449817] ieee80211 phy0: firmware version: 0x7080004
[   12.809338] ieee80211 phy0: firmware region code: 10
[   12.851995] ieee80211 phy0: 2G disabled, 5G enabled
[   12.856895] ieee80211 phy0: 4 TX antennas, 4 RX antennas
[   12.862298] pci 0000:00:02.0: enabling device (0140 -> 0142)
[   12.868032] ieee80211 phy1: priv->iobase0 = e1380000
[   12.868043] ieee80211 phy1: priv->iobase1 = e1600000
[   12.868052] ieee80211 phy1: priv->pcmd_buf = dddf0000  priv->pphys_cmd_buf = 1ddf0000
[   12.874418] ieee80211 phy1: fw download start
[   12.939175] ieee80211 phy1: FwSize = 207660 downloaded Size = 207660 curr_iteration 65527
[   14.327325] ieee80211 phy1: fw download complete
[   14.327812] ieee80211 phy1: pcmd = dddf0000
[   14.345344] ieee80211 phy1: firmware version: 0x7080004
[   14.706323] ieee80211 phy1: firmware region code: 10
[   14.750021] ieee80211 phy1: 2G enabled, 5G disabled
[   14.754934] ieee80211 phy1: 4 TX antennas, 4 RX antennas
[   14.762803] u32 classifier
[   14.765522]     input device check on
[   14.769196]     Actions configured
[   14.773037] Mirror/redirect action on
[   14.778285] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[   14.790080] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.799009] mwifiex: rx work enabled, cpus 2
[   14.846998] usbcore: registered new interface driver ums-alauda
[   14.853672] usbcore: registered new interface driver ums-cypress
[   14.860218] usbcore: registered new interface driver ums-datafab
[   14.866723] usbcore: registered new interface driver ums-freecom
[   14.873187] usbcore: registered new interface driver ums-isd200
[   14.879542] usbcore: registered new interface driver ums-jumpshot
[   14.886112] usbcore: registered new interface driver ums-karma
[   14.892282] usbcore: registered new interface driver ums-sddr09
[   14.898499] usbcore: registered new interface driver ums-sddr55
[   14.904752] usbcore: registered new interface driver ums-usbat
[   14.917781] xt_time: kernel timezone is -0000
[   14.925132] PPP generic driver version 2.4.2
[   14.929843] NET: Registered protocol family 24
[   14.935112] kmodloader: done loading kernel modules from /etc/modules.d/*
[   15.469997] mwifiex_sdio mmc0:0001:1: info: FW download over, size 391772 bytes
[   15.831665] mwifiex_sdio mmc0:0001:1: WLAN FW is active
[   15.864262] mwifiex_sdio mmc0:0001:1: CMD_RESP: cmd 0x242 error, result=0x2
[   15.871261] mwifiex_sdio mmc0:0001:1: mwifiex_process_cmdresp: cmd 0x242 failed during       initialization
[   15.890625] mwifiex_sdio mmc0:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (15.68.7.p5)
[   15.898674] mwifiex_sdio mmc0:0001:1: driver_version = mwifiex 1.0 (15.68.7.p5)
[   16.052347] mvneta f1034000.ethernet eth0: configuring for fixed link mode
[   16.059309] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   16.065375] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   16.073372] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   16.081683] br-lan: port 1(eth0.1) entered blocking state
[   16.087106] br-lan: port 1(eth0.1) entered disabled state
[   16.092675] device eth0.1 entered promiscuous mode
[   16.097485] device eth0 entered promiscuous mode
[   16.103227] br-lan: port 1(eth0.1) entered blocking state
[   16.108650] br-lan: port 1(eth0.1) entered forwarding state
[   16.122758] mvneta f1070000.ethernet eth1: configuring for fixed link mode
[   16.130044] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   16.136169] mvneta f1070000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[   16.144170] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   16.342477] pppoe-wan: renamed from ppp0
[   16.900336] ieee80211 phy1: change: 0xffffffff
[   17.006509] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   17.137396] ieee80211 phy0: change: 0xffffffff
[   17.271596] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   17.277594] br-lan: port 2(wlan1) entered blocking state
[   17.282955] br-lan: port 2(wlan1) entered disabled state
[   17.288408] device wlan1 entered promiscuous mode
[   17.293166] br-lan: port 2(wlan1) entered blocking state
[   17.298502] br-lan: port 2(wlan1) entered forwarding state
[   17.304255] br-lan: port 2(wlan1) entered disabled state
[   17.309734] br-lan: port 3(wlan0) entered blocking state
[   17.315091] br-lan: port 3(wlan0) entered disabled state
[   17.320543] device wlan0 entered promiscuous mode
[   17.327109] ieee80211 phy0: change: 0x100
[   17.344423] ieee80211 phy0: change: 0x40
[   17.380440] ieee80211 phy1: change: 0x100
[   17.392530] ieee80211 phy1: change: 0x42
[   17.593821] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   17.600257] br-lan: port 2(wlan1) entered blocking state
[   17.605603] br-lan: port 2(wlan1) entered forwarding state
[   17.611269] ieee80211 phy0: change: 0x40
[   17.671185] ieee80211 phy1: change: 0x20
[   17.861365] ieee80211 phy0: change: 0x40
[   17.993370] ieee80211 phy0: change: 0x100
[   18.060535] ieee80211 phy0: change: 0x100
[   18.073629] ieee80211 phy0: change: 0x42
[   18.341340] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   18.347812] br-lan: port 3(wlan0) entered blocking state
[   18.353170] br-lan: port 3(wlan0) entered forwarding state
 root@LEDE:~# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 04e8:1f05 Samsung Electronics Co., Ltd S2 Portable [JMicron] (500GB)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

After i remove the cable and hotplug i get this additional lines in DMESG:

 #
[  527.103849] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[  527.134880] usb-storage 3-1:1.0: USB Mass Storage device detected
[  527.141155] scsi host3: usb-storage 3-1:1.0
[  528.154087] scsi 3:0:0:0: Direct-Access     Seagate  Expansion        1805 PQ: 0 ANSI: 6
[  529.455313] sd 3:0:0:0: [sdb] 1953525167 512-byte logical blocks: (1.00 TB/932 GiB)
[  529.463210] sd 3:0:0:0: [sdb] Write Protect is off
[  529.468032] sd 3:0:0:0: [sdb] Mode Sense: 33 00 00 08
[  529.473381] sd 3:0:0:0: [sdb] No Caching mode page found
[  529.478724] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[  529.499962]  sdb: sdb1 sdb2
[  529.503903] sd 3:0:0:0: [sdb] Attached SCSI disk
[  612.132851] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts:
root@LEDE:~# lsusb
Bus 003 Device 002: ID 0bc2:231b Seagate RSS LLC
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 04e8:1f05 Samsung Electronics Co., Ltd S2 Portable [JMicron] (500GB)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub 


20.04.2017726KernelBug ReportVery LowHighUSB not working on TL-WDR4900 v1.xAllUnconfirmed Task Description

USB ports are empty but hub is deteched periodically. Usb ports work abnormal when some devices are inserted.
This bug exists inprevious versions ( in openwrt too).

cat /etc/banner

   _________
  /        /\      _    ___ ___  ___
 /  LE    /  \    | |  | __|   \| __|
/    DE  /    \   | |__| _|| |) | _|

// LE \ ||_|_/|_| lede-project.org
\ \ DE /
\ LE \ / ———————————————————– \ DE \ / Reboot (17.01.1, r3316-7eb58cf109)
\
__\/ ———————————————————–

root@openwrt:~# dmesg | grep -i usb

[ 0.029483] usbcore: registered new interface driver usbfs
[ 0.029537] usbcore: registered new interface driver hub
[ 0.029580] usbcore: registered new device driver usb
[ 2.075954] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.104850] fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
[ 2.138024] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
[ 2.144048] hub 1-0:1.0: USB hub found
[ 2.535450] usb 1-1: new high-speed USB device number 2 using fsl-ehci
[ 2.728493] hub 1-1:1.0: USB hub found
[ 3.511480] usb 1-1: USB disconnect, device number 2
[ 3.814034] usb 1-1: new high-speed USB device number 3 using fsl-ehci
[ 3.952117] hub 1-1:1.0: USB hub found
[ 4.484403] usb 1-1: USB disconnect, device number 3
[ 4.730021] usb 1-1: new high-speed USB device number 4 using fsl-ehci
[ 4.868111] hub 1-1:1.0: USB hub found
[ 5.265649] usb 1-1: USB disconnect, device number 4
[ 5.510021] usb 1-1: new high-speed USB device number 5 using fsl-ehci
[ 6.098025] usb 1-1: device not accepting address 5, error -71
[ 6.398018] usb 1-1: new high-speed USB device number 7 using fsl-ehci
[ 6.536098] hub 1-1:1.0: USB hub found
[ 6.844167] usb 1-1: USB disconnect, device number 7
[ 7.110026] usb 1-1: new high-speed USB device number 8 using fsl-ehci
[ 7.706027] usb 1-1: device not accepting address 8, error -71
[ 8.010025] usb 1-1: new high-speed USB device number 10 using fsl-ehci
[ 8.156084] hub 1-1:1.0: USB hub found
[ 8.417000] usb 1-1: USB disconnect, device number 10
..........................
Thu Apr 20 10:41:22 2017 kern.info kernel: [ 961.300660] hub 1-1:1.0: 4 ports detected
Thu Apr 20 10:41:47 2017 kern.info kernel: [ 986.577885] usb 1-1: USB disconnect, device number 124
Thu Apr 20 10:41:47 2017 kern.info kernel: [ 986.821924] usb 1-1: new high-speed USB device number 125 using fsl-ehci
Thu Apr 20 10:41:48 2017 kern.info kernel: [ 986.960029] hub 1-1:1.0: USB hub found
Thu Apr 20 10:41:48 2017 kern.info kernel: [ 986.964202] hub 1-1:1.0: 4 ports detected
Thu Apr 20 10:41:53 2017 kern.info kernel: [ 991.933221] usb 1-1: USB disconnect, device number 125
Thu Apr 20 10:41:53 2017 kern.info kernel: [ 992.177825] usb 1-1: new high-speed USB device number 126 using fsl-ehci
Thu Apr 20 10:41:53 2017 kern.info kernel: [ 992.315980] hub 1-1:1.0: USB hub found
Thu Apr 20 10:41:53 2017 kern.info kernel: [ 992.320159] hub 1-1:1.0: 4 ports detected
Thu Apr 20 10:42:02 2017 kern.info kernel: [ 1001.763764] usb 1-1: USB disconnect, device number 126
Thu Apr 20 10:42:03 2017 kern.info kernel: [ 1002.009660] usb 1-1: new high-speed USB device number 127 using fsl-ehci
Thu Apr 20 10:42:03 2017 kern.info kernel: [ 1002.159774] hub 1-1:1.0: USB hub found
Thu Apr 20 10:42:03 2017 kern.info kernel: [ 1002.163953] hub 1-1:1.0: 4 ports detected
Thu Apr 20 10:42:07 2017 kern.info kernel: [ 1006.033730] usb 1-1: USB disconnect, device number 127
Thu Apr 20 10:42:07 2017 kern.info kernel: [ 1006.281597] usb 1-1: new high-speed USB device number 2 using fsl-ehci
Thu Apr 20 10:42:07 2017 kern.info kernel: [ 1006.419736] hub 1-1:1.0: USB hub found
Thu Apr 20 10:42:07 2017 kern.info kernel: [ 1006.423795] hub 1-1:1.0: 4 ports detected
Thu Apr 20 10:42:10 2017 kern.info kernel: [ 1009.824073] usb 1-1: USB disconnect, device number 2
Thu Apr 20 10:42:11 2017 kern.info kernel: [ 1010.076110] usb 1-1: new high-speed USB device number 3 using fsl-ehci
Thu Apr 20 10:42:11 2017 kern.info kernel: [ 1010.215709] hub 1-1:1.0: USB hub found
Thu Apr 20 10:42:11 2017 kern.info kernel: [ 1010.220010] hub 1-1:1.0: 4 ports detected
Thu Apr 20 10:42:12 2017 kern.info kernel: [ 1011.588932] usb 1-1: USB disconnect, device number 3
Thu Apr 20 10:42:12 2017 kern.info kernel: [ 1011.833503] usb 1-1: new high-speed USB device number 4 using fsl-ehci

cat /sys/kernel/debug/usb/devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 1, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 4.04
S: Manufacturer=Linux 4.4.61 ehci_hcd
S: Product=Freescale On-Chip EHCI Host Controller
S: SerialNumber=fsl-ehci.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 45 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=05e3 ProdID=0608 Rev=85.36
S: Product=USB2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms

lsusb -v

Bus 001 Device 048: ID 05e3:0608 Genesys Logic, Inc. Hub
Device Descriptor:

bLength                18
bDescriptorType         1
bcdUSB               2.00
bDeviceClass            9 Hub
bDeviceSubClass         0 Unused
bDeviceProtocol         1 Single TT
bMaxPacketSize0        64
idVendor           0x05e3 Genesys Logic, Inc.
idProduct          0x0608 Hub
bcdDevice           85.36
iManufacturer           0 
iProduct                1 USB2.0 Hub
iSerial                 0 
bNumConfigurations      1
Configuration Descriptor:
  bLength                 9
  bDescriptorType         2
  wTotalLength           25
  bNumInterfaces          1
  bConfigurationValue     1
  iConfiguration          0 
  bmAttributes         0xe0
    Self Powered
    Remote Wakeup
  MaxPower              100mA
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        0
    bAlternateSetting       0
    bNumEndpoints           1
    bInterfaceClass         9 Hub
    bInterfaceSubClass      0 Unused
    bInterfaceProtocol      0 Full speed (or root) hub
    iInterface              0 
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x81  EP 1 IN
      bmAttributes            3
        Transfer Type            Interrupt
        Synch Type               None
        Usage Type               Data
      wMaxPacketSize     0x0001  1x 1 bytes
      bInterval              12

Hub Descriptor:

bLength               9
bDescriptorType      41
nNbrPorts             4
wHubCharacteristic 0x00e9
  Per-port power switching
  Per-port overcurrent protection
  TT think time 32 FS bits
  Port indicators
bPwrOn2PwrGood       50 * 2 milli seconds
bHubContrCurrent    100 milli Ampere
DeviceRemovable    0x00
PortPwrCtrlMask    0xff

Hub Port Status:

 Port 1: 0000.0100 power
 Port 2: 0000.0100 power
 Port 3: 0000.0100 power
 Port 4: 0000.0100 power

Device Qualifier (for other device speed):

bLength                10
bDescriptorType         6
bcdUSB               2.00
bDeviceClass            9 Hub
bDeviceSubClass         0 Unused
bDeviceProtocol         0 Full speed (or root) hub
bMaxPacketSize0        64
bNumConfigurations      1

Device Status: 0x0001

Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:

bLength                18
bDescriptorType         1
bcdUSB               2.00
bDeviceClass            9 Hub
bDeviceSubClass         0 Unused
bDeviceProtocol         1 Single TT
bMaxPacketSize0        64
idVendor           0x1d6b Linux Foundation
idProduct          0x0002 2.0 root hub
bcdDevice            4.04
iManufacturer           3 Linux 4.4.61 ehci_hcd
iProduct                2 Freescale On-Chip EHCI Host Controller
iSerial                 1 fsl-ehci.0
bNumConfigurations      1
Configuration Descriptor:
  bLength                 9
  bDescriptorType         2
  wTotalLength           25
  bNumInterfaces          1
  bConfigurationValue     1
  iConfiguration          0 
  bmAttributes         0xe0
    Self Powered
    Remote Wakeup
  MaxPower                0mA
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        0
    bAlternateSetting       0
    bNumEndpoints           1
    bInterfaceClass         9 Hub
    bInterfaceSubClass      0 Unused
    bInterfaceProtocol      0 Full speed (or root) hub
    iInterface              0 
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x81  EP 1 IN
      bmAttributes            3
        Transfer Type            Interrupt
        Synch Type               None
        Usage Type               Data
      wMaxPacketSize     0x0004  1x 4 bytes
      bInterval              12

Hub Descriptor:

bLength               9
bDescriptorType      41
nNbrPorts             1
wHubCharacteristic 0x0009
  Per-port power switching
  Per-port overcurrent protection
  TT think time 8 FS bits
bPwrOn2PwrGood       10 * 2 milli seconds
bHubContrCurrent      0 milli Ampere
DeviceRemovable    0x00
PortPwrCtrlMask    0xff

Hub Port Status:

 Port 1: 0000.0503 highspeed power enable connect

Device Status: 0x0001

Self Powered
04.05.2017759Base systemBug ReportVery LowHighEA4500 with mwk8k driver: Wireless instability and WPA-...lede-17.01Unconfirmed Task Description

Device: Linksys EA4500 (mwl8k driver)
LEDE: 17.01.1

Hi all
I would like to recall to attention an issue that various user are
observing running mwl8k driver together with android and iOS clients
Relevant information can be found here:

https://dev.openwrt.org/ticket/21284 http://www.spinics.net/lists/linux-wireless/msg151171.html

I can add that the problem seems to get worst depending on the
bandwidth usage (higher is worst).
And I can confirm that apparently only android clients are affected,
in the sense that here I have also iPhones and some IP WebCam that
work rock stable with the same router.
Also both 5Ghz and 2.5Ghz radio are affected
Userland seems to have no influence, I have tried wpad and hostapd.
Actually I was trying to workaround the below problem using WPA2-EAP.
But the PEAP-mschapv2 doesn’t work with mwl8k driver on 5Ghz radio
My setup include two different Cisco/Linksys EA4500 running LEDE
17.01.1 and one TPLink WDR3600 with ath9x radios
The EA4500 chipset is Marvell 88W8366 v48.
Well with both 5Ghz radio of my two EA4500 the PEAP MSCHAPV2
authentication fails at the certificates exchange
This is the log I see in freeradius 2

Wed May 3 21:17:26 2017 : Debug: Going to the next request
Wed May 3 21:17:26 2017 : Debug: Waking up in 4.9 seconds.
Wed May 3 21:17:31 2017 : Info: Cleaning up request 34 ID 41 with timestamp +574
Wed May 3 21:17:31 2017 : Info: Cleaning up request 35 ID 42 with timestamp +574
Wed May 3 21:17:31 2017 : Info: Cleaning up request 36 ID 43 with timestamp +574
Wed May 3 21:17:31 2017 : Debug: WARNING:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Wed May 3 21:17:31 2017 : Debug: WARNING: !! EAP session for state
0xd1f19d03d34c849e did not finish!
Wed May 3 21:17:31 2017 : Debug: WARNING: !! Please read
http://wiki.freeradius.org/guide/Certificate_Compatibility Wed May 3 21:17:31 2017 : Debug: WARNING:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Wed May 3 21:17:31 2017 : Info: Ready to process requests.

On hostapd size the logs say that the radius response is received but
the next stage never arrives.
Using the same freeradius 2 I can get PEAP working with the 2.4Ghz
radio with no issue and most important with both 2.4Ghz and 5Ghz radio
on wdr3600, that run the same LEDE release (same kernel) and the same
userland app, so it seems that the problem is really in the
interaction between the mwl8k driver, 5Ghz radio and hostapd and
freeradius.
The problem is shared by two android device (one 7.0.1 and one 6.1)
and and iPhone 7.

12.05.2017776KernelBug ReportVery LowHighath9k wds mode station break offTrunkUnconfirmed Task Description

atheros ar9331
Linux version 4.4.61 (gcc version 5.4.0 (LEDE GCC 5.4.0 r4099-4c3953b) )

wds ap:

config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11g'
        option path 'platform/ar933x_wmac'
        option distance '3000'
        option txpower '18'
        option country '00'
        option channel '1'
        option htmode 'HT40'

config wifi-iface
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option encryption 'psk2'
        option key '12345600'
        option max_inactivity '20'
        option wds '1'
        option ssid 'LK-M2-Jianxi'

wds station:

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '1'
        option hwmode '11g'
        option path 'platform/ar933x_wmac'
        option htmode 'HT20'
        option distance '3000'
        option txpower '19'
        option country '00'

config wifi-iface
        option device 'radio0'
        option network 'lan'
        option encryption 'psk2'
        option key '12345600'
        option max_inactivity '20'
        option wds '1'
        option mode 'sta'
        option ssid 'LK-M2-Jianxi'

When the station break off, ping can not reach ap. wifi still connect. kernel have no error info. iwinfo signal still change.

ap with the other station still alive.

Use wpa_cli scan command, will awake station, and ping alive.
wifi command also work.

/proc/interrupts ath9k still alive.


01.06.2017822Base systemBug ReportMediumHighbusybox (ash) sporadically segfaults running shell scri...lede-17.01Researching Task Description

I’m often seeing this message in my logs:

[ 2183.499756] do_page_fault(): sending SIGSEGV to dhcpv6.script for invalid read access from 00000000    
[ 2183.509195] epc = 0041efe9 in busybox[400000+4b000]                                                    
[ 2183.514285] ra  = 0041efb1 in busybox[400000+4b000]                                                    

The issue might be a new variant of  FS#251 , which disappeared after a busybox upgrade.

I’m on a recent lede-17.01 version (dfecce60e6e75abf3ea817fe7bf29fd432693f13), with the follow adjustments to busybox:

CONFIG_BUSYBOX_CUSTOM=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_PREFER_IPV4_ADDRESS is not set

Hardware: TP-Link TL-WR841ND v9 (QCA9533)

My analysis so far:

Registers:

          zero       at       v0       v1       a0       a1       a2       a3
 R0   00000000 7fcfd4c8 00000000 0090b7c0 00910df4 00910df9 2f2f2f2f bcd0a2f0 
            t0       t1       t2       t3       t4       t5       t6       t7
 R8   fefefeff 80808080 80083c3c 002f3634 7fcf9698 00000000 00000000 77a6e2c0 
            s0       s1       s2       s3       s4       s5       s6       s7
 R16  0090ccc0 7fcf9900 00000004 0040788d 77a64000 77a64000 77a67518 77a68d8c 
            t8       t9       k0       k1       gp       sp       s8       ra
 R24  0045b0e8 77a36d44 00000000 00000000 77a6e2c0 7fcf97d0 00000000 0041efb1 
            sr       lo       hi      bad    cause       pc
      0000f413 00000048 00000013 00000000 00800008 0041efe9 
           fsr      fir
      00000000 00000000 

Disassembly:

Dump of assembler code for function find_command:                                                         
   0x0041ef45 <+0>:     save    a0-a3,232,ra,s0-s1                                                        
   0x0041ef49 <+4>:     move    s1,a1                                                                     
   0x0041ef4b <+6>:     jal     0x449c61 <strchr@mips16plt>                                               
   0x0041ef4f <+10>:    li      a1,47
   0x0041ef51 <+12>:    beqz    v0,0x41ef79 <find_command+52>
   0x0041ef53 <+14>:    li      v0,1
   0x0041ef55 <+16>:    neg     v0
   0x0041ef57 <+18>:    lw      v1,240(sp)
   0x0041ef59 <+20>:    sw      v0,4(s1)
   0x0041ef5b <+22>:    li      v0,2
   0x0041ef5d <+24>:    and     v0,v1
   0x0041ef5f <+26>:    bnez    v0,0x41ef65 <find_command+32>
   0x0041ef61 <+28>:    li      v0,0
   0x0041ef63 <+30>:    b       0x41ef75 <find_command+48>
   0x0041ef65 <+32>:    lw      a0,232(sp)
   0x0041ef67 <+34>:    jal     0x44a441 <stat@mips16plt>
   0x0041ef6b <+38>:    addiu   a1,sp,56
   0x0041ef6d <+40>:    slti    v0,0
   0x0041ef6f <+42>:    bteqz   0x41ef61 <find_command+28>
   0x0041ef71 <+44>:    li      v0,1
   0x0041ef73 <+46>:    neg     v0
   0x0041ef75 <+48>:    sb      v0,0(s1)
   0x0041ef77 <+50>:    b       0x41f1af <find_command+618>
   0x0041ef79 <+52>:    lw      v0,0x41f1b4 <find_command+623>
   0x0041ef7b <+54>:    lw      a0,244(sp)
   0x0041ef7d <+56>:    lw      v0,0(v0)
   0x0041ef7f <+58>:    addiu   v0,124
   0x0041ef81 <+60>:    lw      v0,88(v0)
   0x0041ef83 <+62>:    addiu   v0,5
   0x0041ef85 <+64>:    xor     v0,a0
   0x0041ef87 <+66>:    sltiu   v0,1
   0x0041ef89 <+68>:    move    v1,t8
   0x0041ef8b <+70>:    sw      v1,40(sp)
   0x0041ef8d <+72>:    beqz    v0,0x41efa9 <find_command+100>
   0x0041ef8f <+74>:    lw      v0,240(sp)
   0x0041ef91 <+76>:    li      s0,8
   0x0041ef93 <+78>:    lw      a1,0x41f1b8 <find_command+627>
   0x0041ef95 <+80>:    jal     0x449ba1 <strstr@mips16plt>
   0x0041ef99 <+84>:    or      s0,v0
   0x0041ef9b <+86>:    beqz    v0,0x41efa7 <find_command+98>
   0x0041ef9d <+88>:    lw      v1,240(sp)
   0x0041ef9f <+90>:    li      v0,40
   0x0041efa1 <+92>:    or      v1,v0
   0x0041efa3 <+94>:    sw      v1,240(sp)
   0x0041efa5 <+96>:    b       0x41efa9 <find_command+100>
   0x0041efa7 <+98>:    sw      s0,240(sp)
   0x0041efa9 <+100>:   lw      a0,232(sp)
   0x0041efab <+102>:   jal     0x41a75d <cmdlookup>
   0x0041efaf <+106>:   li      a1,0
   0x0041efb1 <+108>:   move    s0,v0
   0x0041efb3 <+110>:   beqz    v0,0x41efdd <find_command+152>
   0x0041efb5 <+112>:   lb      v0,8(v0)
   0x0041efb7 <+114>:   cmpi    v0,1
   0x0041efb9 <+116>:   bteqz   0x41efc3 <find_command+126>
   0x0041efbb <+118>:   cmpi    v0,2
   0x0041efbd <+120>:   btnez   0x41efc7 <find_command+130>
   0x0041efbf <+122>:   li      v0,32
   0x0041efc1 <+124>:   b       0x41efc9 <find_command+132>
   0x0041efc3 <+126>:   li      v0,4
   0x0041efc5 <+128>:   b       0x41efc9 <find_command+132>
   0x0041efc7 <+130>:   li      v0,8
   0x0041efc9 <+132>:   lw      v1,240(sp)
   0x0041efcb <+134>:   and     v0,v1
   0x0041efcd <+136>:   bnez    v0,0x41efd7 <find_command+146>
   0x0041efcf <+138>:   lbu     v0,9(s0)
   0x0041efd1 <+140>:   beqz    v0,0x41f1a3 <find_command+606>
   0x0041efd5 <+144>:   b       0x41efdd <find_command+152>
   0x0041efd7 <+146>:   li      v0,0
   0x0041efd9 <+148>:   li      s0,0
   0x0041efdb <+150>:   sw      v0,40(sp)
   0x0041efdd <+152>:   jal     0x41b025 <find_builtin>
   0x0041efe1 <+156>:   lw      a0,232(sp)
   0x0041efe3 <+158>:   sw      v0,44(sp)
   0x0041efe5 <+160>:   beqz    v0,0x41f00f <find_command+202>
   0x0041efe7 <+162>:   lw      v0,0(v0)
=> 0x0041efe9 <+164>:   lbu     v1,0(v0)
   0x0041efeb <+166>:   li      v0,2
   0x0041efed <+168>:   and     v0,v1
   0x0041efef <+170>:   bnez    v0,0x41f177 <find_command+562>
   0x0041eff3 <+174>:   lw      v1,240(sp)
   0x0041eff5 <+176>:   li      v0,8
   0x0041eff7 <+178>:   and     v0,v1
   0x0041eff9 <+180>:   beqz    v0,0x41f005 <find_command+192>
   0x0041effb <+182>:   li      v0,32
   0x0041effd <+184>:   and     v0,v1
   0x0041efff <+186>:   beqz    v0,0x41f177 <find_command+562>
   0x0041f003 <+190>:   b       0x41f00f <find_command+202>
   0x0041f005 <+192>:   lw      v0,0x41f1bc <find_command+631>
   0x0041f007 <+194>:   lw      v0,0(v0)
...

As in  FS#251 , the contents of the registers don’t really make sense. Unless I’m overlooking something, it should not be possible for $pc to reach 0x0041efe9 with $ra on 0x0041efb1 (return from cmdlookup); rather, $ra should have the value 0x0041efe3 (return from find_builtin). There are no code paths reaching 0x0041efe9 that don’t call find_builtin.

13.06.2017844Base systemBug ReportVery LowHighWMM Mode bug with Wifi 2,4Ghz Archer C7 1750 V2 with L...lede-17.01Unconfirmed Task Description

Hi,

I meet a bug with certain ring roads(peripherals) (Xbox 360 and Epson SX425) using the WiFi 2,4Ghz of my TP(PRACTICAL CLASS) Link Archer C7 1750 under LEDE 17.01.2 (noticed also with LEDE 17.01.1) with activated WMM mode.

When WMM mode is active ring roads(peripherals) Xbox 360 and Epson SX425 does not receive an IP address while quite my other PC works carefree in WiFi 2,4Ghz.

By deactivating WMM mode and by restarting the router(route planner) everything works perfectly.

I specify that with OpenWrt 15.05.1 WMM Mode worked perfectly.

19.06.2017857Base systemBug ReportVery LowHighPSG1218 v17.01.2 cannot connect to host with wifi clien...lede-17.01Unconfirmed Task Description

PSG1218 v17.01.2 cannot connect to host with wifi client mode,but v17.01.1 works

 


05.07.2017886Base systemBug ReportVery LowHighNewifi D1 ethernat ports freeze after boot with cable p...lede-17.01Unconfirmed Task Description

Newifi D1 is a router device with MT7621 inside, more detailed information can be found at WikiDevi.

I have LEDE 17.01.2 running on the device, but experienced a bug with ethernat port. The bug is easy to reproduce: just powner on or reboot the device with RJ45 cable plugin. You will find that the LED blinks when booting, but freezes after boot. The frozen status of LED is on(wan port), off(lan port), on(lan port) in my situation which have both 3 ports connected.

But every thing works fine if I power on/reboot the device first, then plugin the RJ45 cable.

I could not connect to the device via the ethernat when it is frozen, but can login via wireless network provided by the device. I have checked the network status with ifconfig, the RX counter of eth0, eth0.1 and eth0.2 shows 0 when TX counter seems OK if I ping someone. I checked the switch as well by command: swconfig dev mt7530 show , every thing shows 0 on each port, excepted for port 6. No error message on dmesg.

Some one mentioned it is switch chip driver bug: https://dev.openwrt.org/ticket/20890?cversion=0&cnum_hist=1 . But no further information can be find by google any more.

06.07.2017891KernelBug ReportVery LowHighSlow download speed over Ethernet (wpj344, QCA8334)TrunkUnconfirmed Task Description

Version: Reboot (SNAPSHOT, r4512+1-f3ae0f8), master/trunk
Device: wpj344 (Switch QCA8334)
Problem: Slow download speed over Ethernet, upload works fine.
Steps to reproduce: Use iperf tool to perform network throughput test.

root@LEDE:~# iperf3 -s
-----------------------------------------------------------                                
Server listening on 5201                     
-----------------------------------------------------------                                
Accepted connection from 192.168.1.200, port 51144                                         
[  5] local 192.168.1.1 port 5201 connected to 192.168.1.200 port 51146                    
[ ID] Interval           Transfer     Bandwidth                                            
[  5]   0.00-1.00   sec   294 KBytes  2.41 Mbits/sec                                       
[  5]   1.00-2.00   sec   390 KBytes  3.20 Mbits/sec                                       
[  5]   2.00-3.00   sec   192 KBytes  1.58 Mbits/sec                                       
[  5]   3.00-4.00   sec   291 KBytes  2.39 Mbits/sec                                       
[  5]   4.00-5.00   sec  99.0 KBytes   810 Kbits/sec                                       
[  5]   5.00-6.00   sec  79.2 KBytes   649 Kbits/sec                                       
[  5]   6.00-7.00   sec   281 KBytes  2.31 Mbits/sec                                       
[  5]   7.00-8.00   sec   165 KBytes  1.36 Mbits/sec                                       
[  5]   8.00-9.00   sec   262 KBytes  2.14 Mbits/sec                                       
[  5]   9.00-10.00  sec   117 KBytes   961 Kbits/sec                                       
[  5]  10.00-10.01  sec  0.00 Bytes  0.00 bits/sec                                         
- - - - - - - - - - - - - - - - - - - - - - - - -                                          
[ ID] Interval           Transfer     Bandwidth                                            
[  5]   0.00-10.01  sec  0.00 Bytes  0.00 bits/sec                  sender                 
[  5]   0.00-10.01  sec  2.12 MBytes  1.78 Mbits/sec                  receiver

Using exactly the same node and the same setup and reverting:

commit 967b6be118e3217e8d6a28df9c615d3255e7b1ae     
Author: Vittorio Gambaletta <openwrt@vittgam.net>   
Date:   Sun Mar 26 10:08:20 2017 +0200              

    ar8327: Add workarounds for AR8337 switch.

The new results are:

root@LEDE:~# iperf3 -s    
-----------------------------------------------------------                                             
Server listening on 5201  
-----------------------------------------------------------                                             
Accepted connection from 192.168.1.200, port 50800  
[  5] local 192.168.1.1 port 5201 connected to 192.168.1.200 port 50802                                 
[ ID] Interval           Transfer     Bandwidth     
[  5]   0.00-1.00   sec  27.5 MBytes   230 Mbits/sec                                                    
[  5]   1.00-2.01   sec  24.1 MBytes   201 Mbits/sec                                                    
[  5]   2.01-3.00   sec  23.5 MBytes   198 Mbits/sec                                                    
[  5]   3.00-4.01   sec  24.1 MBytes   201 Mbits/sec                                                    
[  5]   4.01-5.00   sec  27.4 MBytes   231 Mbits/sec                                                    
[  5]   5.00-6.00   sec  25.1 MBytes   210 Mbits/sec                                                    
[  5]   6.00-7.00   sec  28.3 MBytes   238 Mbits/sec                                                    
[  5]   7.00-8.00   sec  30.2 MBytes   253 Mbits/sec                                                    
[  5]   8.00-9.00   sec  21.6 MBytes   181 Mbits/sec                                                    
[  5]   9.00-10.00  sec  28.6 MBytes   241 Mbits/sec                                                    
[  5]  10.00-10.01  sec   181 KBytes   128 Mbits/sec                                                    
- - - - - - - - - - - - - - - - - - - - - - - - -   
[ ID] Interval           Transfer     Bandwidth     
[  5]   0.00-10.01  sec  0.00 Bytes  0.00 bits/sec                  sender                              
[  5]   0.00-10.01  sec   261 MBytes   218 Mbits/sec             receiver   


07.07.2017896Base systemBug ReportVery LowHighmt7620 - dropping frames (WiFi)TrunkUnconfirmed Task Description

Device: Nexx WT3020 (MT7620)
LEDE release: LEDE Reboot 17.01-SNAPSHOT r3435-65eec8b

Latest LEDE on Nexx WT3020 with MT7620 is getting syslog spammed with:

ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2

It usually occurs with high-bandwidth usage of WiFi client (Android i.e.) and results with need to reboot router (or WiFi won’t even work for devices - it’s seen but unable to connect).

# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11g'
        option path 'platform/10180000.wmac'
        option country 'PL'
        option disabled '0'
        option htmode 'HT40'
        option distance '3'
        option txpower '20'
        option channel '6'

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

Also it’s connected with the issue of android devices loosing connectivity/dropping wifi even 1 meter next to router:

Fri Jul  7 00:32:11 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Fri Jul  7 00:32:11 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 2)
Fri Jul  7 00:32:11 2017 daemon.notice hostapd: wlan0: AP-STA-CONNECTED xx:xx:xx:xx:xx:xx
Fri Jul  7 00:32:11 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
Fri Jul  7 00:32:51 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: disconnected due to excessive missing ACKs
Fri Jul  7 00:32:51 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Fri Jul  7 00:32:55 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Fri Jul  7 00:32:55 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 2)
Fri Jul  7 00:32:55 2017 daemon.notice hostapd: wlan0: AP-STA-CONNECTED xx:xx:xx:xx:xx:xx
Fri Jul  7 00:32:55 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
Showing tasks 1 - 50 of 375 Page 1 of 81 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing