OpenWrt/LEDE Project

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

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

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

OpenedIDCategoryTask TypePrioritySeveritySummaryReported InStatus
12.07.20203226KernelBug ReportHighHighGL-AR300M: Frequent WAN (eth1) link down / link upopenwrt-19.07Assigned Task Description

Trying to find a solution for the issue with Wi-Fi on the latest stable release (19.07.3) installed a snapshot version if OpenWrt. I’m not sure if Wi-Fi issue is solved (difficult to test in the current situation) but there is another problem now which was not happening on the stable branch: WAN link (eth1) goes up and down all the time.

Details:
- Device: GL-AR300M
- OpenWrt Version: OpenWrt SNAPSHOT r13770-edbc8e5512 / LuCI Master git-20.190.40190-44b0fcb
- Kernel: Linux OpenWrt 5.4.50 #0 Fri Jul 10 09:39:05 2020 mips GNU/Linux
- OpenWrt snapshot downloaded from https://downloads.openwrt.org/snapshots/targets/ath79/nand/openwrt-ath79-nand-glinet_gl-ar300m-nor-squashfs-sysupgrade.bin

Configuration:
- WAN6: eth1, DHCPv6
- WAN: ds-lite (IPv4 over IPv6)
- LAN: eth0 + wlan0

How to reproduce:
1. Flash firmware
2. Install ds-lite and luci and reboot
3. Configure WAN as DS-LITE
4. Configure Wi-Fi
5. Connect to Wi-Fi and start using internet

Result: internet access disappears for short time frequently at random times

Relevant logs:

Sun Jul 12 13:14:37 2020 kern.info kernel: [  270.462928] eth1: link down
Sun Jul 12 13:14:37 2020 daemon.notice netifd: Network device 'eth1' link is down
Sun Jul 12 13:14:37 2020 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sun Jul 12 13:14:37 2020 daemon.notice netifd: wan6 (1516): Command failed: Permission denied
Sun Jul 12 13:14:38 2020 daemon.notice netifd: Interface 'wan6' is now down
Sun Jul 12 13:14:38 2020 daemon.notice netifd: Interface 'wan' has lost the connection
Sun Jul 12 13:14:38 2020 daemon.warn dnsmasq[1648]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sun Jul 12 13:14:38 2020 daemon.notice netifd: Interface 'wan6' is disabled
Sun Jul 12 13:14:38 2020 daemon.notice netifd: Interface 'wan6' is enabled
Sun Jul 12 13:14:38 2020 daemon.err odhcpd[1081]: Failed to send to ff02::2%wan6@eth1 (Permission denied)
Sun Jul 12 13:14:38 2020 daemon.notice netifd: tunnel 'ds-wan' link is down
Sun Jul 12 13:14:38 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 13:14:38 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 13:14:38 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 13:14:40 2020 kern.info kernel: [  273.310452] eth1: link up (100Mbps/Full duplex)
Sun Jul 12 13:14:40 2020 kern.info kernel: [  273.316609] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Sun Jul 12 13:14:40 2020 daemon.notice netifd: Network device 'eth1' link is up
Sun Jul 12 13:14:40 2020 daemon.notice netifd: Interface 'wan6' has link connectivity
Sun Jul 12 13:14:40 2020 daemon.notice netifd: Interface 'wan6' is setting up now
Sun Jul 12 13:14:40 2020 daemon.err odhcp6c[2092]: Failed to send RS (Address not available)
Sun Jul 12 13:14:41 2020 daemon.err odhcp6c[2092]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:14:42 2020 daemon.err odhcp6c[2092]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:14:44 2020 daemon.err odhcp6c[2092]: Failed to send RS (Address not available)
Sun Jul 12 13:14:44 2020 daemon.err odhcp6c[2092]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:14:48 2020 daemon.err odhcp6c[2092]: Failed to send RS (Address not available)
Sun Jul 12 13:14:49 2020 daemon.err odhcp6c[2092]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:15:00 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 13:15:00 2020 daemon.notice netifd: Interface 'wan6' is now up
Sun Jul 12 13:15:00 2020 daemon.info dnsmasq[1648]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sun Jul 12 13:15:00 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain test
Sun Jul 12 13:15:00 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain onion
Sun Jul 12 13:15:00 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain localhost
Sun Jul 12 13:15:00 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain local
Sun Jul 12 13:15:00 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain invalid
Sun Jul 12 13:15:00 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain bind
Sun Jul 12 13:15:00 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain lan
Sun Jul 12 13:15:00 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:b::3#53
Sun Jul 12 13:15:00 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:a::3#53
Sun Jul 12 13:15:00 2020 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sun Jul 12 13:15:09 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 13:15:09 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 13:15:12 2020 daemon.notice netifd: Interface 'wan' is now up
Sun Jul 12 13:15:12 2020 daemon.notice netifd: tunnel 'ds-wan' link is up
Sun Jul 12 13:15:13 2020 user.notice firewall: Reloading firewall due to ifup of wan (ds-wan)
--
Sun Jul 12 13:22:48 2020 kern.info kernel: [  761.753793] eth1: link down
Sun Jul 12 13:22:48 2020 daemon.notice netifd: Network device 'eth1' link is down
Sun Jul 12 13:22:48 2020 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sun Jul 12 13:22:49 2020 daemon.notice netifd: wan6 (2092): Command failed: Permission denied
Sun Jul 12 13:22:49 2020 daemon.notice netifd: Interface 'wan6' is now down
Sun Jul 12 13:22:49 2020 daemon.notice netifd: Interface 'wan' has lost the connection
Sun Jul 12 13:22:49 2020 daemon.warn dnsmasq[1648]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sun Jul 12 13:22:49 2020 daemon.notice netifd: Interface 'wan6' is disabled
Sun Jul 12 13:22:49 2020 daemon.notice netifd: Interface 'wan6' is enabled
Sun Jul 12 13:22:49 2020 daemon.err odhcpd[1081]: Failed to send to ff02::2%wan6@eth1 (Permission denied)
Sun Jul 12 13:22:49 2020 daemon.notice netifd: tunnel 'ds-wan' link is down
Sun Jul 12 13:22:49 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 13:22:49 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 13:22:49 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 13:22:51 2020 kern.info kernel: [  764.027453] eth1: link up (100Mbps/Full duplex)
Sun Jul 12 13:22:51 2020 kern.info kernel: [  764.033121] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Sun Jul 12 13:22:51 2020 daemon.notice netifd: Network device 'eth1' link is up
Sun Jul 12 13:22:51 2020 daemon.notice netifd: Interface 'wan6' has link connectivity
Sun Jul 12 13:22:51 2020 daemon.notice netifd: Interface 'wan6' is setting up now
Sun Jul 12 13:22:51 2020 daemon.err odhcp6c[2417]: Failed to send RS (Address not available)
Sun Jul 12 13:22:51 2020 daemon.err odhcp6c[2417]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:22:52 2020 daemon.err odhcp6c[2417]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:22:54 2020 daemon.err odhcp6c[2417]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:22:55 2020 daemon.err odhcpd[1081]: Failed to send to ff02::2%wan6@eth1 (Address not available)
Sun Jul 12 13:22:55 2020 daemon.err odhcp6c[2417]: Failed to send RS (Address not available)
Sun Jul 12 13:22:59 2020 daemon.err odhcp6c[2417]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:22:59 2020 daemon.err odhcp6c[2417]: Failed to send RS (Address not available)
Sun Jul 12 13:23:10 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 13:23:10 2020 daemon.notice netifd: Interface 'wan6' is now up
Sun Jul 12 13:23:10 2020 daemon.info dnsmasq[1648]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sun Jul 12 13:23:10 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain test
Sun Jul 12 13:23:10 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain onion
Sun Jul 12 13:23:10 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain localhost
Sun Jul 12 13:23:10 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain local
Sun Jul 12 13:23:10 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain invalid
Sun Jul 12 13:23:10 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain bind
Sun Jul 12 13:23:10 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain lan
Sun Jul 12 13:23:10 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:b::3#53
Sun Jul 12 13:23:10 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:a::3#53
Sun Jul 12 13:23:10 2020 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sun Jul 12 13:23:10 2020 daemon.notice netifd: Interface 'wan' is now up
Sun Jul 12 13:23:10 2020 daemon.notice netifd: tunnel 'ds-wan' link is up
Sun Jul 12 13:23:11 2020 user.notice firewall: Reloading firewall due to ifup of wan (ds-wan)
Sun Jul 12 13:23:14 2020 kern.warn kernel: [  786.791642] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 13:23:14 2020 kern.warn kernel: [  786.805226] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 13:23:14 2020 kern.warn kernel: [  787.614693] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 13:23:14 2020 kern.warn kernel: [  787.646373] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 13:23:15 2020 kern.warn kernel: [  788.144143] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 13:23:15 2020 kern.warn kernel: [  788.432037] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 13:23:15 2020 kern.warn kernel: [  788.485928] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 13:57:08 2020 kern.info kernel: [ 2821.238040] eth1: link down
Sun Jul 12 13:57:08 2020 daemon.notice netifd: Network device 'eth1' link is down
Sun Jul 12 13:57:08 2020 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sun Jul 12 13:57:08 2020 daemon.notice netifd: wan6 (2417): Command failed: Permission denied
Sun Jul 12 13:57:08 2020 daemon.notice netifd: Interface 'wan6' is now down
Sun Jul 12 13:57:08 2020 daemon.notice netifd: Interface 'wan' has lost the connection
Sun Jul 12 13:57:08 2020 daemon.warn dnsmasq[1648]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sun Jul 12 13:57:08 2020 daemon.notice netifd: Interface 'wan6' is disabled
Sun Jul 12 13:57:08 2020 daemon.notice netifd: Interface 'wan6' is enabled
Sun Jul 12 13:57:08 2020 daemon.err odhcpd[1081]: Failed to send to ff02::2%wan6@eth1 (Permission denied)
Sun Jul 12 13:57:08 2020 daemon.notice netifd: tunnel 'ds-wan' link is down
Sun Jul 12 13:57:08 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 13:57:08 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 13:57:09 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 13:57:10 2020 kern.info kernel: [ 2823.511539] eth1: link up (100Mbps/Full duplex)
Sun Jul 12 13:57:10 2020 daemon.notice netifd: Network device 'eth1' link is up
Sun Jul 12 13:57:10 2020 daemon.notice netifd: Interface 'wan6' has link connectivity
Sun Jul 12 13:57:10 2020 daemon.notice netifd: Interface 'wan6' is setting up now
Sun Jul 12 13:57:10 2020 kern.info kernel: [ 2823.516453] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Sun Jul 12 13:57:10 2020 daemon.err odhcp6c[2733]: Failed to send RS (Address not available)
Sun Jul 12 13:57:11 2020 daemon.err odhcp6c[2733]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:57:12 2020 daemon.err odhcp6c[2733]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:57:14 2020 daemon.err odhcp6c[2733]: Failed to send RS (Address not available)
Sun Jul 12 13:57:14 2020 daemon.err odhcp6c[2733]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:57:18 2020 daemon.err odhcp6c[2733]: Failed to send RS (Address not available)
Sun Jul 12 13:57:19 2020 daemon.err odhcp6c[2733]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 13:57:29 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 13:57:29 2020 daemon.notice netifd: Interface 'wan6' is now up
Sun Jul 12 13:57:29 2020 daemon.info dnsmasq[1648]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sun Jul 12 13:57:29 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain test
Sun Jul 12 13:57:29 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain onion
Sun Jul 12 13:57:29 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain localhost
Sun Jul 12 13:57:29 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain local
Sun Jul 12 13:57:29 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain invalid
Sun Jul 12 13:57:29 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain bind
Sun Jul 12 13:57:29 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain lan
Sun Jul 12 13:57:29 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:b::3#53
Sun Jul 12 13:57:29 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:a::3#53
Sun Jul 12 13:57:30 2020 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sun Jul 12 13:57:30 2020 daemon.notice netifd: Interface 'wan' is now up
Sun Jul 12 13:57:30 2020 daemon.notice netifd: tunnel 'ds-wan' link is up
Sun Jul 12 13:57:30 2020 user.notice firewall: Reloading firewall due to ifup of wan (ds-wan)
Sun Jul 12 13:57:31 2020 kern.warn kernel: [ 2844.695917] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 13:57:34 2020 kern.warn kernel: [ 2847.142196] ip6_tunnel: ds-wan xmit: Local address not yet configured!
--
Sun Jul 12 14:18:30 2020 kern.info kernel: [ 4103.506462] eth1: link down
Sun Jul 12 14:18:30 2020 daemon.notice netifd: Network device 'eth1' link is down
Sun Jul 12 14:18:30 2020 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sun Jul 12 14:18:30 2020 daemon.notice netifd: wan6 (2733): Command failed: Permission denied
Sun Jul 12 14:18:30 2020 daemon.notice netifd: Interface 'wan6' is now down
Sun Jul 12 14:18:30 2020 daemon.notice netifd: Interface 'wan' has lost the connection
Sun Jul 12 14:18:30 2020 daemon.warn dnsmasq[1648]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sun Jul 12 14:18:30 2020 daemon.notice netifd: Interface 'wan6' is disabled
Sun Jul 12 14:18:30 2020 daemon.notice netifd: Interface 'wan6' is enabled
Sun Jul 12 14:18:30 2020 daemon.err odhcpd[1081]: Failed to send to ff02::2%wan6@eth1 (Permission denied)
Sun Jul 12 14:18:30 2020 daemon.notice netifd: tunnel 'ds-wan' link is down
Sun Jul 12 14:18:31 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 14:18:31 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 14:18:31 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 14:18:33 2020 kern.info kernel: [ 4105.782348] eth1: link up (100Mbps/Full duplex)
Sun Jul 12 14:18:33 2020 daemon.notice netifd: Network device 'eth1' link is up
Sun Jul 12 14:18:33 2020 daemon.notice netifd: Interface 'wan6' has link connectivity
Sun Jul 12 14:18:33 2020 daemon.notice netifd: Interface 'wan6' is setting up now
Sun Jul 12 14:18:33 2020 kern.info kernel: [ 4105.787321] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Sun Jul 12 14:18:33 2020 daemon.err odhcp6c[3024]: Failed to send RS (Address not available)
Sun Jul 12 14:18:33 2020 daemon.err odhcp6c[3024]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:18:34 2020 daemon.err odhcp6c[3024]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:18:36 2020 daemon.err odhcp6c[3024]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:18:37 2020 daemon.err odhcp6c[3024]: Failed to send RS (Address not available)
Sun Jul 12 14:18:40 2020 daemon.err odhcp6c[3024]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:18:41 2020 daemon.err odhcp6c[3024]: Failed to send RS (Address not available)
Sun Jul 12 14:18:51 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 14:18:51 2020 daemon.notice netifd: Interface 'wan6' is now up
Sun Jul 12 14:18:51 2020 daemon.info dnsmasq[1648]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sun Jul 12 14:18:51 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain test
Sun Jul 12 14:18:51 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain onion
Sun Jul 12 14:18:51 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain localhost
Sun Jul 12 14:18:51 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain local
Sun Jul 12 14:18:51 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain invalid
Sun Jul 12 14:18:51 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain bind
Sun Jul 12 14:18:51 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain lan
Sun Jul 12 14:18:51 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:b::3#53
Sun Jul 12 14:18:51 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:a::3#53
Sun Jul 12 14:18:52 2020 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sun Jul 12 14:18:52 2020 daemon.notice netifd: Interface 'wan' is now up
Sun Jul 12 14:18:52 2020 daemon.notice netifd: tunnel 'ds-wan' link is up
Sun Jul 12 14:18:52 2020 user.notice firewall: Reloading firewall due to ifup of wan (ds-wan)
Sun Jul 12 14:18:54 2020 kern.warn kernel: [ 4127.330490] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:18:54 2020 kern.warn kernel: [ 4127.712988] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:18:55 2020 kern.warn kernel: [ 4128.223311] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:18:56 2020 kern.warn kernel: [ 4129.508799] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:18:56 2020 kern.warn kernel: [ 4129.515926] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:18:56 2020 kern.warn kernel: [ 4129.538444] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:18:56 2020 kern.warn kernel: [ 4129.757929] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:18:57 2020 kern.warn kernel: [ 4129.970986] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:18:57 2020 kern.warn kernel: [ 4130.402844] ip6_tunnel: ds-wan xmit: Local address not yet configured!
--
Sun Jul 12 14:20:33 2020 kern.info kernel: [ 4226.612658] eth1: link down
Sun Jul 12 14:20:33 2020 daemon.notice netifd: Network device 'eth1' link is down
Sun Jul 12 14:20:33 2020 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sun Jul 12 14:20:33 2020 daemon.notice netifd: wan6 (3024): Command failed: Permission denied
Sun Jul 12 14:20:34 2020 daemon.notice netifd: Interface 'wan6' is now down
Sun Jul 12 14:20:34 2020 daemon.notice netifd: Interface 'wan' has lost the connection
Sun Jul 12 14:20:34 2020 daemon.warn dnsmasq[1648]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sun Jul 12 14:20:34 2020 daemon.notice netifd: Interface 'wan6' is disabled
Sun Jul 12 14:20:34 2020 daemon.notice netifd: Interface 'wan6' is enabled
Sun Jul 12 14:20:34 2020 daemon.err odhcpd[1081]: Failed to send to ff02::2%wan6@eth1 (Permission denied)
Sun Jul 12 14:20:34 2020 daemon.notice netifd: tunnel 'ds-wan' link is down
Sun Jul 12 14:20:34 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 14:20:34 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 14:20:34 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 14:20:36 2020 kern.info kernel: [ 4229.236067] eth1: link up (100Mbps/Full duplex)
Sun Jul 12 14:20:36 2020 daemon.notice netifd: Network device 'eth1' link is up
Sun Jul 12 14:20:36 2020 daemon.notice netifd: Interface 'wan6' has link connectivity
Sun Jul 12 14:20:36 2020 daemon.notice netifd: Interface 'wan6' is setting up now
Sun Jul 12 14:20:36 2020 kern.info kernel: [ 4229.241354] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Sun Jul 12 14:20:36 2020 daemon.err odhcp6c[3245]: Failed to send RS (Address not available)
Sun Jul 12 14:20:36 2020 daemon.err odhcp6c[3245]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:20:37 2020 daemon.err odhcp6c[3245]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:20:39 2020 daemon.err odhcp6c[3245]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:20:40 2020 daemon.err odhcp6c[3245]: Failed to send RS (Address not available)
Sun Jul 12 14:20:44 2020 daemon.err odhcp6c[3245]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:20:44 2020 daemon.err odhcp6c[3245]: Failed to send RS (Address not available)
Sun Jul 12 14:20:53 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 14:20:53 2020 daemon.notice netifd: Interface 'wan6' is now up
Sun Jul 12 14:20:53 2020 daemon.info dnsmasq[1648]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sun Jul 12 14:20:53 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain test
Sun Jul 12 14:20:53 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain onion
Sun Jul 12 14:20:53 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain localhost
Sun Jul 12 14:20:53 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain local
Sun Jul 12 14:20:53 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain invalid
Sun Jul 12 14:20:53 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain bind
Sun Jul 12 14:20:53 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain lan
Sun Jul 12 14:20:53 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:b::3#53
Sun Jul 12 14:20:53 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:a::3#53
Sun Jul 12 14:20:54 2020 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sun Jul 12 14:20:54 2020 daemon.notice netifd: Interface 'wan' is now up
Sun Jul 12 14:20:54 2020 daemon.notice netifd: tunnel 'ds-wan' link is up
Sun Jul 12 14:20:54 2020 user.notice firewall: Reloading firewall due to ifup of wan (ds-wan)
Sun Jul 12 14:20:56 2020 kern.warn kernel: [ 4249.285153] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:20:57 2020 kern.warn kernel: [ 4250.564523] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:21:02 2020 kern.warn kernel: [ 4254.919989] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:24:41 2020 user.notice : Added device handler type: 8021ad
Sun Jul 12 14:24:41 2020 user.notice : Added device handler type: 8021q
Sun Jul 12 14:24:41 2020 user.notice : Added device handler type: macvlan
Sun Jul 12 14:24:41 2020 user.notice : Added device handler type: veth
Sun Jul 12 14:24:41 2020 user.notice : Added device handler type: bridge
Sun Jul 12 14:24:41 2020 user.notice : Added device handler type: Network device
--
Sun Jul 12 14:37:34 2020 kern.info kernel: [ 5247.087682] eth1: link down
Sun Jul 12 14:37:34 2020 daemon.notice netifd: Network device 'eth1' link is down
Sun Jul 12 14:37:34 2020 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sun Jul 12 14:37:34 2020 daemon.notice netifd: wan6 (3245): Command failed: Permission denied
Sun Jul 12 14:37:34 2020 daemon.notice netifd: Interface 'wan6' is now down
Sun Jul 12 14:37:34 2020 daemon.notice netifd: Interface 'wan' has lost the connection
Sun Jul 12 14:37:34 2020 daemon.warn dnsmasq[1648]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sun Jul 12 14:37:34 2020 daemon.notice netifd: Interface 'wan6' is disabled
Sun Jul 12 14:37:34 2020 daemon.notice netifd: Interface 'wan6' is enabled
Sun Jul 12 14:37:34 2020 daemon.err odhcpd[1081]: Failed to send to ff02::2%wan6@eth1 (Permission denied)
Sun Jul 12 14:37:34 2020 daemon.notice netifd: tunnel 'ds-wan' link is down
Sun Jul 12 14:37:34 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 14:37:34 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 14:37:34 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 14:37:36 2020 kern.info kernel: [ 5249.361066] eth1: link up (100Mbps/Full duplex)
Sun Jul 12 14:37:36 2020 daemon.notice netifd: Network device 'eth1' link is up
Sun Jul 12 14:37:36 2020 daemon.notice netifd: Interface 'wan6' has link connectivity
Sun Jul 12 14:37:36 2020 daemon.notice netifd: Interface 'wan6' is setting up now
Sun Jul 12 14:37:36 2020 kern.info kernel: [ 5249.366018] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Sun Jul 12 14:37:36 2020 daemon.err odhcp6c[3511]: Failed to send RS (Address not available)
Sun Jul 12 14:37:36 2020 daemon.err odhcp6c[3511]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:37:37 2020 daemon.err odhcp6c[3511]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:37:39 2020 daemon.err odhcp6c[3511]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:37:40 2020 daemon.err odhcp6c[3511]: Failed to send RS (Address not available)
Sun Jul 12 14:37:43 2020 daemon.err odhcp6c[3511]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:37:44 2020 daemon.err odhcp6c[3511]: Failed to send RS (Address not available)
Sun Jul 12 14:37:54 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 14:37:54 2020 daemon.notice netifd: Interface 'wan6' is now up
Sun Jul 12 14:37:54 2020 daemon.info dnsmasq[1648]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sun Jul 12 14:37:54 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain test
Sun Jul 12 14:37:54 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain onion
Sun Jul 12 14:37:54 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain localhost
Sun Jul 12 14:37:54 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain local
Sun Jul 12 14:37:54 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain invalid
Sun Jul 12 14:37:54 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain bind
Sun Jul 12 14:37:54 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain lan
Sun Jul 12 14:37:54 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:b::3#53
Sun Jul 12 14:37:54 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:a::3#53
Sun Jul 12 14:37:55 2020 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sun Jul 12 14:37:55 2020 daemon.notice netifd: Interface 'wan' is now up
Sun Jul 12 14:37:55 2020 daemon.notice netifd: tunnel 'ds-wan' link is up
Sun Jul 12 14:37:55 2020 kern.warn kernel: [ 5268.215807] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:37:55 2020 user.notice firewall: Reloading firewall due to ifup of wan (ds-wan)
Sun Jul 12 14:37:56 2020 kern.warn kernel: [ 5269.078951] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:37:57 2020 kern.warn kernel: [ 5269.943691] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:37:58 2020 kern.warn kernel: [ 5270.806820] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:37:58 2020 kern.warn kernel: [ 5271.348972] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:37:58 2020 kern.warn kernel: [ 5271.355927] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:37:58 2020 kern.warn kernel: [ 5271.381185] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:37:58 2020 kern.warn kernel: [ 5271.598729] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:37:58 2020 kern.warn kernel: [ 5271.669228] ip6_tunnel: ds-wan xmit: Local address not yet configured!
--
Sun Jul 12 14:39:24 2020 kern.info kernel: [ 5356.878986] eth1: link down
Sun Jul 12 14:39:24 2020 daemon.notice netifd: Network device 'eth1' link is down
Sun Jul 12 14:39:24 2020 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sun Jul 12 14:39:24 2020 daemon.notice netifd: wan6 (3511): Command failed: Permission denied
Sun Jul 12 14:39:24 2020 daemon.notice netifd: Interface 'wan6' is now down
Sun Jul 12 14:39:24 2020 daemon.notice netifd: Interface 'wan' has lost the connection
Sun Jul 12 14:39:24 2020 daemon.warn dnsmasq[1648]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Sun Jul 12 14:39:24 2020 daemon.notice netifd: Interface 'wan6' is disabled
Sun Jul 12 14:39:24 2020 daemon.notice netifd: Interface 'wan6' is enabled
Sun Jul 12 14:39:24 2020 daemon.err odhcpd[1081]: Failed to send to ff02::2%wan6@eth1 (Permission denied)
Sun Jul 12 14:39:24 2020 daemon.notice netifd: tunnel 'ds-wan' link is down
Sun Jul 12 14:39:24 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 14:39:24 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 14:39:24 2020 daemon.notice netifd: Interface 'wan' is now down
Sun Jul 12 14:39:26 2020 kern.info kernel: [ 5359.154924] eth1: link up (100Mbps/Full duplex)
Sun Jul 12 14:39:26 2020 daemon.notice netifd: Network device 'eth1' link is up
Sun Jul 12 14:39:26 2020 daemon.notice netifd: Interface 'wan6' has link connectivity
Sun Jul 12 14:39:26 2020 daemon.notice netifd: Interface 'wan6' is setting up now
Sun Jul 12 14:39:26 2020 kern.info kernel: [ 5359.159890] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Sun Jul 12 14:39:26 2020 daemon.err odhcp6c[3733]: Failed to send RS (Address not available)
Sun Jul 12 14:39:26 2020 daemon.err odhcp6c[3733]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:39:27 2020 daemon.err odhcp6c[3733]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:39:29 2020 daemon.err odhcp6c[3733]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:39:30 2020 daemon.err odhcp6c[3733]: Failed to send RS (Address not available)
Sun Jul 12 14:39:34 2020 daemon.err odhcp6c[3733]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Sun Jul 12 14:39:34 2020 daemon.err odhcp6c[3733]: Failed to send RS (Address not available)
Sun Jul 12 14:39:46 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sun Jul 12 14:39:46 2020 daemon.notice netifd: Interface 'wan6' is now up
Sun Jul 12 14:39:46 2020 daemon.info dnsmasq[1648]: reading /tmp/resolv.conf.d/resolv.conf.auto
Sun Jul 12 14:39:46 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain test
Sun Jul 12 14:39:46 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain onion
Sun Jul 12 14:39:46 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain localhost
Sun Jul 12 14:39:46 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain local
Sun Jul 12 14:39:46 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain invalid
Sun Jul 12 14:39:46 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain bind
Sun Jul 12 14:39:46 2020 daemon.info dnsmasq[1648]: using only locally-known addresses for domain lan
Sun Jul 12 14:39:46 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:b::3#53
Sun Jul 12 14:39:46 2020 daemon.info dnsmasq[1648]: using nameserver 2404:1a8:7f01:a::3#53
Sun Jul 12 14:39:46 2020 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sun Jul 12 14:39:47 2020 daemon.notice netifd: Interface 'wan' is now up
Sun Jul 12 14:39:47 2020 daemon.notice netifd: tunnel 'ds-wan' link is up
Sun Jul 12 14:39:47 2020 user.notice firewall: Reloading firewall due to ifup of wan (ds-wan)
Sun Jul 12 14:39:47 2020 kern.warn kernel: [ 5380.385444] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:39:47 2020 kern.warn kernel: [ 5380.616741] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:39:49 2020 kern.warn kernel: [ 5382.216640] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:39:53 2020 kern.warn kernel: [ 5386.389067] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:39:53 2020 kern.warn kernel: [ 5386.396239] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:39:53 2020 kern.warn kernel: [ 5386.403340] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:39:56 2020 kern.warn kernel: [ 5389.002663] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:39:56 2020 kern.warn kernel: [ 5389.257410] ip6_tunnel: ds-wan xmit: Local address not yet configured!
Sun Jul 12 14:39:56 2020 kern.warn kernel: [ 5389.314287] ip6_tunnel: ds-wan xmit: Local address not yet configured!


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

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

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

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

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

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

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

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

Effort needs to be put into sorting this out.

Temporary workarounds:

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

Longer term:

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

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

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

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

This needs fixing/funding to sort it out though.

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

OpenWrt master r13174-73fa1aba94 on octeon with kernel 5.4

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

The Imagebuilder fails in the following situation:

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

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

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

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

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

Below is the full log.

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

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

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

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

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

Here is what conntrack -L says:

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

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

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

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

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

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

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

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

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

===================================
01.04.20192216KernelBug ReportMediumHighath79 - eth0 Spasmodic Link Speed After Driver Changes?...openwrt-19.07Assigned Task Description

I’ve built the latest version of OpenWRT with stock packages and configuration, however, after random amounts of time, all clients lose connectivity because the eth0 link speed drops from the regular 100 Mbps Full Duplex to 10 Mbps Half Duplex, only to reconnect again after a couple of minutes (seconds to mintes, it depends), and do it again at another random time.

[18580.106696] eth0: link up (100Mbps/Full duplex)
[19014.825937] eth0: link up (10Mbps/Half duplex)
[19055.384105] eth0: link up (100Mbps/Full duplex)
[21927.853366] eth0: link up (10Mbps/Half duplex)
[22003.771999] eth0: link up (100Mbps/Full duplex)
[23743.685216] eth0: link down
[23744.723679] eth0: link up (100Mbps/Full duplex)
[23756.242265] eth0: link down
[23757.283590] eth0: link up (100Mbps/Full duplex)
[24075.522397] eth0: link up (10Mbps/Half duplex)
[24090.081802] eth0: link up (100Mbps/Full duplex)
[24100.481809] eth0: link up (10Mbps/Half duplex)
[24166.001178] eth0: link up (100Mbps/Full duplex)
[24500.880989] eth0: link up (10Mbps/Half duplex)

The logs aren’t very useful, it seems. Both syslog and dmesg show the same.

I suspect this started happening after this series of commits (ending with this one) where there were driver changes to the switch, as it didn’t happen before I recompiled a new build with all those newer changes:
https://github.com/openwrt/openwrt/commit/3d93b35f039de86830565420968715b300066475

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

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

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

Device A (worse RX SNR):

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

Device B (better RX SNR)

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

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

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

Maybe related to FS#1246

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

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

WiFi EEPROM of the devices:

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

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

07.09.20181837Base systemBug ReportMediumMediumKernel oops when using wireguard and mangle/fwmarkopenwrt-18.06New Task Description

On OpenWrt 18.06.1 x86/64 when using mwan3 with two wireguard interfaces in fail-over configuration, kernel crashes.
The machine got a single Ethernet interface being the head-unit connected to a VLAN switch.

Fri Sep  7 18:13:18 2018 kern.err kernel: [24612.664463] INFO: rcu_sched self-detected stall on CPU
Fri Sep  7 18:13:18 2018 kern.err kernel: [24612.664907] 	1-...: (5999 ticks this GP) idle=9ee/140000000000001/0 softirq=961867/961867 fqs=2711
Fri Sep  7 18:13:18 2018 kern.err kernel: [24612.665571] 	 (t=6000 jiffies g=358062 c=358061 q=4475)
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.665986] NMI backtrace for cpu 1
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.666301] CPU: 1 PID: 14102 Comm: kworker/1:0 Not tainted 4.14.63 #0
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.666775] Hardware name: XXXXXXXXXX
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.667240] Workqueue: wg-crypt-XXXXX 0xffffffffa01dbab0 [wireguard@ffffffffa01d8000+0x2d000]
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.667891] Call Trace:
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.668145]  <IRQ>
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.668372]  0xffffffff8159c6d0
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.668662]  0xffffffff815a0000
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.668950]  ? 0xffffffff810418d0
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.669251]  0xffffffff815a0060
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.669544]  0xffffffff81041924
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.669836]  0xffffffff810c22e3
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.670128]  0xffffffff810c176f
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.670421]  ? 0xffffffff8109fe35
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.670720]  ? 0xffffffff810a0062
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.671020]  0xffffffff810c432a
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.671309]  0xffffffff810d0f5e
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.671599]  0xffffffff810c4c4f
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.671892]  0xffffffff810c4df6
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.672182]  0xffffffff81602392
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.672473]  0xffffffff81601a61
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.672760]  </IRQ>
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.672994] RIP: 0010:0xffffffff814e7682
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.673327] RSP: 0018:ffffc90000cb3a30 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.673912] RAX: 00000000000001f8 RBX: ffffc90000cb3af8 RCX: 0000000000000000
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.674426] RDX: ffff880077923e00 RSI: 00000000deb48eb9 RDI: ffff88007aa28e68
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.674944] RBP: ffffc90000cb3a80 R08: 0000000000000000 R09: 0000000000000000
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.675456] R10: ffff88007aa28e00 R11: 0000000000000001 R12: ffff880077923e00
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.675966] R13: ffffc90000cb3a90 R14: ffff8800786e3a00 R15: ffff88007a360000
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.676484]  0xffffffff814e7a0a
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.676773]  0xffffffff814e7d89
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.677065]  0xffffffff81532536
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.677359]  0xffffffffa01800a7 [iptable_mangle@ffffffffa0180000+0x3000]
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.677845]  0xffffffff814e2966
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.678137]  0xffffffff814ed868
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.678430]  ? 0xffffffff814ebed0
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.678725]  0xffffffff814ed897
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.679014]  0xffffffff8152b6bb
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.679309]  0xffffffffa002145e [udp_tunnel@ffffffffa0021000+0x3000]
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.679786]  0xffffffffa01ddf81 [wireguard@ffffffffa01d8000+0x2d000]
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.680256]  ? 0xffffffff811038aa
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.680555]  ? 0xffffffff810c5454
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.680854]  0xffffffffa01dbb5a [wireguard@ffffffffa01d8000+0x2d000]
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.681321]  0xffffffff81091cf4
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.681613]  0xffffffff8109204b
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.681903]  0xffffffff81096d42
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.682191]  ? 0xffffffff81091e40
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.682487]  ? 0xffffffff81096c30
Fri Sep  7 18:13:18 2018 kern.warn kernel: [24612.682788]  0xffffffff816001ef

Bootlog:

[    0.000000] Linux version 4.14.63 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7102-3f3a2c9)) #0 SMP Wed Aug 15 20:42:39 2018
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz root=PARTUUID=cbad8a62-02 rootfstype=squashfs rootwait console=tty0 console=ttyS0,115200n8 noinitrd
[    0.000000] Disabled fast string operations
[    0.000000] x86/fpu: x87 FPU will use FXSAVE
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ebff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009ec00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007f1b2fff] usable
[    0.000000] BIOS-e820: [mem 0x000000007f1b3000-0x000000007f1fafff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000007f1fb000-0x000000007f314fff] reserved
[    0.000000] BIOS-e820: [mem 0x000000007f315000-0x000000007f324fff] ACPI data
[    0.000000] BIOS-e820: [mem 0x000000007f325000-0x000000007f33bfff] reserved
[    0.000000] BIOS-e820: [mem 0x000000007f33c000-0x000000007f343fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000007f344000-0x000000007f358fff] reserved
[    0.000000] BIOS-e820: [mem 0x000000007f359000-0x000000007f359fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000007f35a000-0x000000007f377fff] reserved
[    0.000000] BIOS-e820: [mem 0x000000007f378000-0x000000007f37bfff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000007f37c000-0x000000007f38afff] reserved
[    0.000000] BIOS-e820: [mem 0x000000007f38b000-0x000000007f39bfff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000007f39c000-0x000000007f39dfff] reserved
[    0.000000] BIOS-e820: [mem 0x000000007f39e000-0x000000007f39efff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000007f39f000-0x000000007f3ccfff] reserved
[    0.000000] BIOS-e820: [mem 0x000000007f3cd000-0x000000007f40ffff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000007f410000-0x000000007f58efff] usable
[    0.000000] BIOS-e820: [mem 0x000000007f58f000-0x000000007f6e5fff] reserved
[    0.000000] BIOS-e820: [mem 0x000000007f6e6000-0x000000007f6effff] usable
[    0.000000] BIOS-e820: [mem 0x000000007f6f0000-0x000000007fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed00000-0x00000000fed00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed8ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ffe00000-0x00000000ffffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.7 present.
[    0.000000] DMI: Medion E1230/E1230, BIOS 208 02/10/2012
[    0.000000] tsc: Fast TSC calibration failed
[    0.000000] tsc: Unable to calibrate against PIT
[    0.000000] tsc: No reference (HPET/PMTIMER) available
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] e820: last_pfn = 0x7f6f0 max_arch_pfn = 0x400000000
[    0.000000] MTRR default type: uncachable
[    0.000000] MTRR fixed ranges enabled:
[    0.000000]   00000-9FFFF write-back
[    0.000000]   A0000-BFFFF uncachable
[    0.000000]   C0000-E7FFF write-through
[    0.000000]   E8000-FFFFF write-protect
[    0.000000] MTRR variable ranges enabled:
[    0.000000]   0 base 000000000 mask F80000000 write-back
[    0.000000]   1 base 07F700000 mask FFFF00000 write-through
[    0.000000]   2 base 07F800000 mask FFF800000 uncachable
[    0.000000]   3 disabled
[    0.000000]   4 disabled
[    0.000000]   5 disabled
[    0.000000]   6 disabled
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.000000] found SMP MP-table at [mem 0x000fcd10-0x000fcd1f] mapped at [ffffffffff400d10]
[    0.000000] Base memory trampoline at [ffff880000098000] 98000 size 24576
[    0.000000] BRK [0x01e07000, 0x01e07fff] PGTABLE
[    0.000000] BRK [0x01e08000, 0x01e08fff] PGTABLE
[    0.000000] BRK [0x01e09000, 0x01e09fff] PGTABLE
[    0.000000] BRK [0x01e0a000, 0x01e0afff] PGTABLE
[    0.000000] BRK [0x01e0b000, 0x01e0bfff] PGTABLE
[    0.000000] BRK [0x01e0c000, 0x01e0cfff] PGTABLE
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000F0450 000024 (v02 MEDION)
[    0.000000] ACPI: XSDT 0x000000007F315070 00005C (v01 MEDION MEDIONAG 00000001 AMI  00010013)
[    0.000000] ACPI: FACP 0x000000007F3236E8 0000F4 (v04 MEDION MEDIONAG 00000001 AMI  00010013)
[    0.000000] ACPI: DSDT 0x000000007F315158 00E58C (v02 MEDION MEDIONAG 00000001 INTL 20051117)
[    0.000000] ACPI: FACS 0x000000007F390F80 000040
[    0.000000] ACPI: APIC 0x000000007F3237E0 000072 (v03 MEDION MEDIONAG 00000001 AMI  00010013)
[    0.000000] ACPI: SLIC 0x000000007F323858 000176 (v01 MEDION MEDIONAG 00000001 MSFT 00000001)
[    0.000000] ACPI: ECDT 0x000000007F3239D0 0000C1 (v01 MEDION MEDIONAG 00000001 AMI. 00000005)
[    0.000000] ACPI: MCFG 0x000000007F323A98 00003C (v01 MEDION MEDIONAG 00000001 MSFT 00000097)
[    0.000000] ACPI: HPET 0x000000007F323AD8 000038 (v01 MEDION MEDIONAG 00000001 AMI. 00000005)
[    0.000000] ACPI: SSDT 0x000000007F323B10 000655 (v01 PmRef  CpuPm    00003000 INTL 20051117)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   DMA32    [mem 0x0000000001000000-0x000000007f6effff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009dfff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x000000007f1b2fff]
[    0.000000]   node   0: [mem 0x000000007f410000-0x000000007f58efff]
[    0.000000]   node   0: [mem 0x000000007f6e6000-0x000000007f6effff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000007f6effff]
[    0.000000] On node 0 totalpages: 520921
[    0.000000]   DMA zone: 64 pages used for memmap
[    0.000000]   DMA zone: 21 pages reserved
[    0.000000]   DMA zone: 3997 pages, LIFO batch:0
[    0.000000]   DMA32 zone: 8092 pages used for memmap
[    0.000000]   DMA32 zone: 516924 pages, LIFO batch:31
[    0.000000] ACPI: PM-Timer IO Port: 0x408
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
[    0.000000] IOAPIC[0]: apic_id 4, version 32, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.000000] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[    0.000000] e820: [mem 0x80000000-0xdfffffff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on bare hardware
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.000000] random: get_random_bytes called from 0xffffffff81cb0b09 with crng_init=0
[    0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:4 nr_node_ids:1
[    0.000000] percpu: Embedded 42 pages/cpu @ffff88007ee00000 s132056 r8192 d31784 u524288
[    0.000000] pcpu-alloc: s132056 r8192 d31784 u524288 alloc=1*2097152
[    0.000000] pcpu-alloc: [0] 0 1 2 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 512744
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz root=PARTUUID=cbad8a62-02 rootfstype=squashfs rootwait console=tty0 console=ttyS0,115200n8 noinitrd
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Calgary: detecting Calgary via BIOS EBDA area
[    0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
[    0.000000] Memory: 2032612K/2083684K available (8200K kernel code, 527K rwdata, 1312K rodata, 1052K init, 420K bss, 51072K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	CONFIG_RCU_FANOUT set to non-default value of 32
[    0.000000] 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 4352, nr_irqs: 456, preallocated irqs: 16
[    0.000000] spurious 8259A interrupt: IRQ7.
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [tty0] enabled
[    0.000000] console [ttyS0] enabled
[    0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484882848 ns
[    0.000000] hpet clockevent registered
[    0.000000] tsc: Fast TSC calibration failed
[    0.040000] tsc: Unable to calibrate against PIT
[    0.040000] tsc: using HPET reference calibration
[    0.040000] tsc: Detected 1595.996 MHz processor
[    0.040000] Calibrating delay loop (skipped), value calculated using timer frequency.. 3191.99 BogoMIPS (lpj=15959960)
[    0.040000] pid_max: default: 32768 minimum: 301
[    0.040000] ACPI: Core revision 20170728
[    0.068326] ACPI: 2 ACPI AML tables successfully acquired and loaded
[    0.070105] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.070601] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.071425] Disabled fast string operations
[    0.071787] mce: CPU supports 5 MCE banks
[    0.072125] process: using mwait in idle threads
[    0.072500] Last level iTLB entries: 4KB 32, 2MB 0, 4MB 0
[    0.072914] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 8, 1GB 0
[    0.073530] Freeing SMP alternatives memory: 28K
[    0.080265] smpboot: Max logical packages: 2
[    0.081106] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
[    0.190000] smpboot: CPU0: Intel(R) Atom(TM) CPU N2600   @ 1.60GHz (family: 0x6, model: 0x36, stepping: 0x1)
[    0.190000] Performance Events: PEBS fmt0+, Atom events, 8-deep LBR, Intel PMU driver.
[    0.190000] ... version:                3
[    0.190000] ... bit width:              40
[    0.190000] ... generic registers:      2
[    0.190000] ... value mask:             000000ffffffffff
[    0.190000] ... max period:             000000007fffffff
[    0.190000] ... fixed-purpose events:   3
[    0.190000] ... event mask:             0000000700000003
[    0.190000] Hierarchical SRCU implementation.
[    0.190000] smp: Bringing up secondary CPUs ...
[    0.190000] x86: Booting SMP configuration:
[    0.190000] .... node  #0, CPUs:      #1
[    0.010000] Disabled fast string operations
[    0.190000]  #2
[    0.010000] Disabled fast string operations
[    0.190386]  #3
[    0.010000] Disabled fast string operations
[    0.193013] smp: Brought up 1 node, 4 CPUs
[    0.193365] smpboot: Total of 4 processors activated (12767.96 BogoMIPS)
[    0.195434] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.196180] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.197097] NET: Registered protocol family 16
[    0.198390] cpuidle: using governor ladder
[    0.198390] ACPI: bus type PCI registered
[    0.198390] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.200004] PCI: Using configuration type 1 for base access
[    0.217580] ACPI: Added _OSI(Module Device)
[    0.217940] ACPI: Added _OSI(Processor Device)
[    0.218293] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.218673] ACPI: Added _OSI(Processor Aggregator Device)
[    0.219086] ACPI: EC: EC started
[    0.219370] ACPI: EC: interrupt blocked
[    0.222270] ACPI: \: Used as first EC
[    0.222591] ACPI: \: GPE=0x1c, EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.223021] ACPI: \: Used as boot ECDT EC to handle transactions
[    0.223763] ACPI: Executed 1 blocks of module-level executable AML code
[    0.240673] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.242268] ACPI: Dynamic OEM Table Load:
[    0.242613] ACPI: SSDT 0xFFFF88007BD5D800 0002E9 (v01 PmRef  Cpu0Ist  00003000 INTL 20051117)
[    0.246636] ACPI: Dynamic OEM Table Load:
[    0.247070] ACPI: SSDT 0xFFFF88007BC81000 0006DB (v01 PmRef  Cpu0Cst  00003001 INTL 20051117)
[    0.254189] ACPI: Dynamic OEM Table Load:
[    0.256660] ACPI: SSDT 0xFFFF88007C6CB000 0001CF (v01 PmRef  ApIst    00003000 INTL 20051117)
[    0.257695] ACPI: Dynamic OEM Table Load:
[    0.260047] ACPI: SSDT 0xFFFF88007C7DE540 00008D (v01 PmRef  ApCst    00003000 INTL 20051117)
[    0.264783] ACPI: Interpreter enabled
[    0.265199] ACPI: (supports S0 S5)
[    0.265579] ACPI: Using IOAPIC for interrupt routing
[    0.268058] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.270580] ACPI: GPE 0x02 active on init
[    0.272964] ACPI: Enabled 8 GPEs in block 00 to 1F
[    0.305839] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.305839] acpi PNP0A08:00: _OSC: OS supports [Segments MSI]
[    0.305839] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
[    0.306311] PCI host bridge to bus 0000:00
[    0.306311] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.306311] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.306311] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.306311] pci_bus 0000:00: root bus resource [mem 0x000c0000-0x000dffff window]
[    0.306311] pci_bus 0000:00: root bus resource [mem 0x000e0000-0x000effff window]
[    0.306311] pci_bus 0000:00: root bus resource [mem 0x000f0000-0x000fffff window]
[    0.306311] pci_bus 0000:00: root bus resource [mem 0x7f800000-0x7fffffff window]
[    0.306311] pci_bus 0000:00: root bus resource [mem 0x80000000-0xfebfffff window]
[    0.306311] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.306721] pci 0000:00:00.0: [8086:0bf1] type 00 class 0x060000
[    0.310006] pci 0000:00:02.0: [8086:0be1] type 00 class 0x030000
[    0.310006] pci 0000:00:02.0: reg 0x10: [mem 0xdfb00000-0xdfbfffff]
[    0.310006] pci 0000:00:02.0: reg 0x14: [io  0xf100-0xf107]
[    0.315634] pci 0000:00:1b.0: [8086:27d8] type 00 class 0x040300
[    0.315634] pci 0000:00:1b.0: reg 0x10: [mem 0xdff00000-0xdff03fff 64bit]
[    0.315634] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[    0.315960] pci 0000:00:1c.0: [8086:27d0] type 01 class 0x060400
[    0.315960] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[    0.316454] pci 0000:00:1c.1: [8086:27d2] type 01 class 0x060400
[    0.316454] pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
[    0.316867] pci 0000:00:1c.2: [8086:27d4] type 01 class 0x060400
[    0.316867] pci 0000:00:1c.2: PME# supported from D0 D3hot D3cold
[    0.317285] pci 0000:00:1c.3: [8086:27d6] type 01 class 0x060400
[    0.317285] pci 0000:00:1c.3: PME# supported from D0 D3hot D3cold
[    0.317706] pci 0000:00:1d.0: [8086:27c8] type 00 class 0x0c0300
[    0.317706] pci 0000:00:1d.0: reg 0x20: [io  0xf0a0-0xf0bf]
[    0.318128] pci 0000:00:1d.1: [8086:27c9] type 00 class 0x0c0300
[    0.318128] pci 0000:00:1d.1: reg 0x20: [io  0xf080-0xf09f]
[    0.318515] pci 0000:00:1d.2: [8086:27ca] type 00 class 0x0c0300
[    0.318515] pci 0000:00:1d.2: reg 0x20: [io  0xf060-0xf07f]
[    0.318938] pci 0000:00:1d.3: [8086:27cb] type 00 class 0x0c0300
[    0.318938] pci 0000:00:1d.3: reg 0x20: [io  0xf040-0xf05f]
[    0.319336] pci 0000:00:1d.7: [8086:27cc] type 00 class 0x0c0320
[    0.319336] pci 0000:00:1d.7: reg 0x10: [mem 0xdff05000-0xdff053ff]
[    0.319336] pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
[    0.320072] pci 0000:00:1e.0: [8086:2448] type 01 class 0x060401
[    0.320513] pci 0000:00:1f.0: [8086:27bc] type 00 class 0x060100
[    0.323112] pci 0000:00:1f.2: [8086:27c1] type 00 class 0x010601
[    0.323112] pci 0000:00:1f.2: reg 0x10: [io  0xf0f0-0xf0f7]
[    0.323112] pci 0000:00:1f.2: reg 0x14: [io  0xf0e0-0xf0e3]
[    0.323112] pci 0000:00:1f.2: reg 0x18: [io  0xf0d0-0xf0d7]
[    0.323112] pci 0000:00:1f.2: reg 0x1c: [io  0xf0c0-0xf0c3]
[    0.323112] pci 0000:00:1f.2: reg 0x20: [io  0xf020-0xf02f]
[    0.323112] pci 0000:00:1f.2: reg 0x24: [mem 0xdff04000-0xdff043ff]
[    0.323112] pci 0000:00:1f.2: PME# supported from D3hot
[    0.323324] pci 0000:00:1f.3: [8086:27da] type 00 class 0x0c0500
[    0.323324] pci 0000:00:1f.3: reg 0x20: [io  0xf000-0xf01f]
[    0.324155] pci 0000:00:1c.0: PCI bridge to [bus 01]
[    0.324284] pci 0000:02:00.0: [1b73:1009] type 00 class 0x0c0330
[    0.324284] pci 0000:02:00.0: reg 0x10: [mem 0xdfe00000-0xdfe0ffff 64bit]
[    0.324284] pci 0000:02:00.0: reg 0x18: [mem 0xdfe11000-0xdfe11fff 64bit]
[    0.324284] pci 0000:02:00.0: reg 0x20: [mem 0xdfe10000-0xdfe10fff 64bit]
[    0.324284] pci 0000:02:00.0: supports D1
[    0.324284] pci 0000:02:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.324922] pci 0000:00:1c.1: PCI bridge to [bus 02]
[    0.330068] pci 0000:00:1c.1:   bridge window [mem 0xdfe00000-0xdfefffff]
[    0.330359] pci 0000:03:00.0: [10ec:8136] type 00 class 0x020000
[    0.330469] pci 0000:03:00.0: reg 0x10: [io  0xe000-0xe0ff]
[    0.330614] pci 0000:03:00.0: reg 0x18: [mem 0xdfd04000-0xdfd04fff 64bit pref]
[    0.332600] pci 0000:03:00.0: reg 0x20: [mem 0xdfd00000-0xdfd03fff 64bit pref]
[    0.333006] pci 0000:03:00.0: supports D1 D2
[    0.333011] pci 0000:03:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.333210] pci 0000:00:1c.2: PCI bridge to [bus 03]
[    0.333620] pci 0000:00:1c.2:   bridge window [io  0xe000-0xefff]
[    0.333630] pci 0000:00:1c.2:   bridge window [mem 0xdfd00000-0xdfdfffff]
[    0.333927] pci 0000:04:00.0: [8086:0896] type 00 class 0x028000
[    0.334057] pci 0000:04:00.0: reg 0x10: [mem 0xdfc00000-0xdfc01fff 64bit]
[    0.334763] pci 0000:04:00.0: PME# supported from D0 D3hot D3cold
[    0.334942] pci 0000:00:1c.3: PCI bridge to [bus 04]
[    0.335350] pci 0000:00:1c.3:   bridge window [mem 0xdfc00000-0xdfcfffff]
[    0.335528] pci 0000:00:1e.0: PCI bridge to [bus 05] (subtractive decode)
[    0.336039] pci 0000:00:1e.0:   bridge window [io  0x0000-0x0cf7 window] (subtractive decode)
[    0.336044] pci 0000:00:1e.0:   bridge window [io  0x0d00-0xffff window] (subtractive decode)
[    0.336049] pci 0000:00:1e.0:   bridge window [mem 0x000a0000-0x000bffff window] (subtractive decode)
[    0.336053] pci 0000:00:1e.0:   bridge window [mem 0x000c0000-0x000dffff window] (subtractive decode)
[    0.336057] pci 0000:00:1e.0:   bridge window [mem 0x000e0000-0x000effff window] (subtractive decode)
[    0.336062] pci 0000:00:1e.0:   bridge window [mem 0x000f0000-0x000fffff window] (subtractive decode)
[    0.336066] pci 0000:00:1e.0:   bridge window [mem 0x7f800000-0x7fffffff window] (subtractive decode)
[    0.336070] pci 0000:00:1e.0:   bridge window [mem 0x80000000-0xfebfffff window] (subtractive decode)
[    0.336130] pci_bus 0000:00: on NUMA node 0
[    0.337515] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
[    0.338262] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 *11 12 14 15)
[    0.338262] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 *10 12 14 15)
[    0.338262] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 *11 12 14 15)
[    0.340011] ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
[    0.340011] ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
[    0.340011] ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 7 *10 12 14 15)
[    0.340011] ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
[    0.346039] ACPI: EC: interrupt unblocked
[    0.346039] ACPI: EC: event unblocked
[    0.346039] ACPI: \_SB_.PCI0.SBRG.EC0_: GPE=0x1c, EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.346039] ACPI: \_SB_.PCI0.SBRG.EC0_: Used as boot DSDT EC to handle transactions and events
[    0.348684] SCSI subsystem initialized
[    0.349211] libata version 3.00 loaded.
[    0.349211] ACPI: bus type USB registered
[    0.349789] usbcore: registered new interface driver usbfs
[    0.350039] usbcore: registered new interface driver hub
[    0.350749] usbcore: registered new device driver usb
[    0.351384] PCI: Using ACPI for IRQ routing
[    0.351384] PCI: pci_cache_line_size set to 64 bytes
[    0.351384] e820: reserve RAM buffer [mem 0x0009ec00-0x0009ffff]
[    0.351384] e820: reserve RAM buffer [mem 0x7f1b3000-0x7fffffff]
[    0.351384] e820: reserve RAM buffer [mem 0x7f58f000-0x7fffffff]
[    0.351384] e820: reserve RAM buffer [mem 0x7f6f0000-0x7fffffff]
[    0.352856] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    0.353253] hpet0: 3 comparators, 64-bit 14.318180 MHz counter
[    0.355766] clocksource: Switched to clocksource hpet
[    0.356312] pnp: PnP ACPI init
[    0.357109] system 00:00: [mem 0xfed00000-0xfed003ff] has been reserved
[    0.357615] system 00:00: Plug and Play ACPI device, IDs PNP0103 PNP0c01 (active)
[    0.357767] system 00:01: [io  0x0680-0x069f] has been reserved
[    0.358214] system 00:01: [io  0x1000-0x1003] has been reserved
[    0.358667] system 00:01: [io  0x1010-0x101f] has been reserved
[    0.359103] system 00:01: [io  0xffff] has been reserved
[    0.359513] system 00:01: [io  0x0400-0x047f] has been reserved
[    0.359952] system 00:01: [io  0x0500-0x057f] has been reserved
[    0.359952] system 00:01: [io  0x0600-0x061f] has been reserved
[    0.359952] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.359952] system 00:02: [io  0x06a0-0x06af] has been reserved
[    0.359952] system 00:02: [io  0x06b0-0x06ff] has been reserved
[    0.359952] system 00:02: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.359952] pnp 00:03: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.359952] system 00:04: [io  0x04d0-0x04d1] has been reserved
[    0.359952] system 00:04: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.359952] system 00:05: [io  0x04d0-0x04d1] has been reserved
[    0.359952] system 00:05: [io  0x0400-0x047f] has been reserved
[    0.359952] system 00:05: [io  0x0500-0x053f] has been reserved
[    0.359952] system 00:05: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.359952] system 00:06: [io  0x025d] has been reserved
[    0.359952] system 00:06: [io  0x025c] has been reserved
[    0.359952] system 00:06: [mem 0xfec00000-0xfec00fff] could not be reserved
[    0.360167] system 00:06: [mem 0xfee00000-0xfee00fff] has been reserved
[    0.360645] system 00:06: [mem 0xfec10000-0xfec17fff] has been reserved
[    0.361121] system 00:06: [mem 0xfec18000-0xfec1ffff] has been reserved
[    0.361592] system 00:06: [mem 0xfec20000-0xfec27fff] has been reserved
[    0.362072] system 00:06: [mem 0xfec28000-0xfec2ffff] has been reserved
[    0.362553] system 00:06: [mem 0xff000000-0xffffffff] could not be reserved
[    0.363064] system 00:06: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.363263] pnp 00:07: Plug and Play ACPI device, IDs SYN1d1b SYN1d00 SYN0002 PNP0f13 (active)
[    0.363394] pnp 00:08: Plug and Play ACPI device, IDs PNP0303 PNP030b (active)
[    0.363524] system 00:09: [io  0x0240-0x0259] has been reserved
[    0.363991] system 00:09: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.364393] system 00:0a: [mem 0xfed1c000-0xfed1ffff] has been reserved
[    0.364879] system 00:0a: [mem 0x00000000-0x00003fff] could not be reserved
[    0.365372] system 00:0a: [mem 0x00000000-0x00000fff] could not be reserved
[    0.365873] system 00:0a: [mem 0x00000000-0x00000fff] could not be reserved
[    0.366363] system 00:0a: [mem 0xfed45000-0xfed8ffff] has been reserved
[    0.366857] system 00:0a: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.367408] system 00:0b: [mem 0xfed14000-0xfed19fff] has been reserved
[    0.367898] system 00:0b: [mem 0xe0000000-0xefffffff] has been reserved
[    0.368395] system 00:0b: Plug and Play ACPI device, IDs PNP0c01 (active)
[    0.368805] system 00:0c: [io  0x0400-0x047f] has been reserved
[    0.369252] system 00:0c: [io  0x0500-0x053f] has been reserved
[    0.369693] system 00:0c: [mem 0xfec00000-0xfec00fff] could not be reserved
[    0.370228] system 00:0c: [mem 0xfee00000-0xfee00fff] has been reserved
[    0.370705] system 00:0c: [mem 0xfed1c000-0xfed1ffff] has been reserved
[    0.371182] system 00:0c: [mem 0xfed20000-0xfed8ffff] could not be reserved
[    0.371676] system 00:0c: [mem 0xffe00000-0xffffffff] has been reserved
[    0.372171] system 00:0c: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.372179] pnp: PnP ACPI: found 13 devices
[    0.380957] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.381648] pci 0000:00:1c.0: bridge window [io  0x1000-0x0fff] to [bus 01] add_size 1000
[    0.381656] pci 0000:00:1c.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 01] add_size 200000 add_align 100000
[    0.381662] pci 0000:00:1c.0: bridge window [mem 0x00100000-0x000fffff] to [bus 01] add_size 200000 add_align 100000
[    0.381681] pci 0000:00:1c.1: bridge window [io  0x1000-0x0fff] to [bus 02] add_size 1000
[    0.381688] pci 0000:00:1c.1: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 02] add_size 200000 add_align 100000
[    0.381708] pci 0000:00:1c.2: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 03] add_size 200000 add_align 100000
[    0.381726] pci 0000:00:1c.3: bridge window [io  0x1000-0x0fff] to [bus 04] add_size 1000
[    0.381733] pci 0000:00:1c.3: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 04] add_size 200000 add_align 100000
[    0.381781] pci 0000:00:1c.0: BAR 8: assigned [mem 0x80000000-0x801fffff]
[    0.382273] pci 0000:00:1c.0: BAR 9: assigned [mem 0x80200000-0x803fffff 64bit pref]
[    0.382870] pci 0000:00:1c.1: BAR 9: assigned [mem 0x80400000-0x805fffff 64bit pref]
[    0.383462] pci 0000:00:1c.2: BAR 9: assigned [mem 0x80600000-0x807fffff 64bit pref]
[    0.384060] pci 0000:00:1c.3: BAR 9: assigned [mem 0x80800000-0x809fffff 64bit pref]
[    0.384646] pci 0000:00:1c.0: BAR 7: assigned [io  0x2000-0x2fff]
[    0.385095] pci 0000:00:1c.1: BAR 7: assigned [io  0x3000-0x3fff]
[    0.385545] pci 0000:00:1c.3: BAR 7: assigned [io  0x4000-0x4fff]
[    0.385998] pci 0000:00:1c.0: PCI bridge to [bus 01]
[    0.386387] pci 0000:00:1c.0:   bridge window [io  0x2000-0x2fff]
[    0.386830] pci 0000:00:1c.0:   bridge window [mem 0x80000000-0x801fffff]
[    0.387314] pci 0000:00:1c.0:   bridge window [mem 0x80200000-0x803fffff 64bit pref]
[    0.387902] pci 0000:00:1c.1: PCI bridge to [bus 02]
[    0.388285] pci 0000:00:1c.1:   bridge window [io  0x3000-0x3fff]
[    0.388736] pci 0000:00:1c.1:   bridge window [mem 0xdfe00000-0xdfefffff]
[    0.389226] pci 0000:00:1c.1:   bridge window [mem 0x80400000-0x805fffff 64bit pref]
[    0.389817] pci 0000:00:1c.2: PCI bridge to [bus 03]
[    0.390233] pci 0000:00:1c.2:   bridge window [io  0xe000-0xefff]
[    0.390690] pci 0000:00:1c.2:   bridge window [mem 0xdfd00000-0xdfdfffff]
[    0.391180] pci 0000:00:1c.2:   bridge window [mem 0x80600000-0x807fffff 64bit pref]
[    0.391775] pci 0000:00:1c.3: PCI bridge to [bus 04]
[    0.392157] pci 0000:00:1c.3:   bridge window [io  0x4000-0x4fff]
[    0.392608] pci 0000:00:1c.3:   bridge window [mem 0xdfc00000-0xdfcfffff]
[    0.393098] pci 0000:00:1c.3:   bridge window [mem 0x80800000-0x809fffff 64bit pref]
[    0.393700] pci 0000:00:1e.0: PCI bridge to [bus 05]
[    0.394103] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    0.394108] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    0.394113] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    0.394117] pci_bus 0000:00: resource 7 [mem 0x000c0000-0x000dffff window]
[    0.394122] pci_bus 0000:00: resource 8 [mem 0x000e0000-0x000effff window]
[    0.394126] pci_bus 0000:00: resource 9 [mem 0x000f0000-0x000fffff window]
[    0.394131] pci_bus 0000:00: resource 10 [mem 0x7f800000-0x7fffffff window]
[    0.394135] pci_bus 0000:00: resource 11 [mem 0x80000000-0xfebfffff window]
[    0.394140] pci_bus 0000:01: resource 0 [io  0x2000-0x2fff]
[    0.394144] pci_bus 0000:01: resource 1 [mem 0x80000000-0x801fffff]
[    0.394149] pci_bus 0000:01: resource 2 [mem 0x80200000-0x803fffff 64bit pref]
[    0.394153] pci_bus 0000:02: resource 0 [io  0x3000-0x3fff]
[    0.394158] pci_bus 0000:02: resource 1 [mem 0xdfe00000-0xdfefffff]
[    0.394162] pci_bus 0000:02: resource 2 [mem 0x80400000-0x805fffff 64bit pref]
[    0.394166] pci_bus 0000:03: resource 0 [io  0xe000-0xefff]
[    0.394171] pci_bus 0000:03: resource 1 [mem 0xdfd00000-0xdfdfffff]
[    0.394175] pci_bus 0000:03: resource 2 [mem 0x80600000-0x807fffff 64bit pref]
[    0.394179] pci_bus 0000:04: resource 0 [io  0x4000-0x4fff]
[    0.394184] pci_bus 0000:04: resource 1 [mem 0xdfc00000-0xdfcfffff]
[    0.394188] pci_bus 0000:04: resource 2 [mem 0x80800000-0x809fffff 64bit pref]
[    0.394193] pci_bus 0000:05: resource 4 [io  0x0000-0x0cf7 window]
[    0.394197] pci_bus 0000:05: resource 5 [io  0x0d00-0xffff window]
[    0.394202] pci_bus 0000:05: resource 6 [mem 0x000a0000-0x000bffff window]
[    0.394206] pci_bus 0000:05: resource 7 [mem 0x000c0000-0x000dffff window]
[    0.394210] pci_bus 0000:05: resource 8 [mem 0x000e0000-0x000effff window]
[    0.394215] pci_bus 0000:05: resource 9 [mem 0x000f0000-0x000fffff window]
[    0.394219] pci_bus 0000:05: resource 10 [mem 0x7f800000-0x7fffffff window]
[    0.394224] pci_bus 0000:05: resource 11 [mem 0x80000000-0xfebfffff window]
[    0.394458] NET: Registered protocol family 2
[    0.395149] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.395801] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.396424] TCP: Hash tables configured (established 16384 bind 16384)
[    0.397028] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    0.397512] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    0.398146] NET: Registered protocol family 1
[    0.398540] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.401674] PCI: CLS 64 bytes, default 64
[    0.404203] workingset: timestamp_bits=62 max_order=19 bucket_order=0
[    0.408673] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.410642] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.411230] io scheduler noop registered
[    0.411556] io scheduler deadline registered (default)
[    0.412180] gpio_it87: Unknown Chip found, Chip 0202 Revision 2
[    0.413720] hv_vmbus: registering driver hv_pci
[    0.414138] hv_vmbus: registering driver hyperv_fb
[    0.414552] intel_idle: MWAIT substates: 0x3020220
[    0.414554] intel_idle: v0.4.1 model 0x36
[    0.415019] intel_idle: lapic_timer_reliable_states 0xffffffff
[    0.415333] ACPI: AC Adapter [AC0] (on-line)
[    0.440589] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
[    0.470262] ACPI: Lid Switch [LID]
[    0.470749] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1
[    0.471442] ACPI: Sleep Button [SLPB]
[    0.471890] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[    0.472528] ACPI: Power Button [PWRF]
[    0.474911] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    0.475996] thermal LNXTHERM:00: registered as thermal_zone0
[    0.476418] ACPI: Thermal Zone [THRM] (63 C)
[    0.477238] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.480090] Non-volatile memory driver v1.3
[    0.483829] loop: module loaded
[    0.484309] Guest personality initialized and is inactive
[    0.484904] VMCI host device registered (name=vmci, major=10, minor=63)
[    0.485403] Initialized host personality
[    0.485993] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000042F (\SWC1) (20170728/utaddress-247)
[    0.487067] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20170728/utaddress-247)
[    0.488126] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000044F (\GPIS) (20170728/utaddress-247)
[    0.489188] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIX) (20170728/utaddress-247)
[    0.490317] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\_SB.PCI0.VGA.TCOI) (20170728/utaddress-247)
[    0.491442] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    0.492164] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x000000000000053B (\GPIO) (20170728/utaddress-247)
[    0.493231] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x000000000000057F (\GPXX) (20170728/utaddress-247)
[    0.495362] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    0.496081] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x000000000000053B (\GPIO) (20170728/utaddress-247)
[    0.497151] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x000000000000057F (\GPXX) (20170728/utaddress-247)
[    0.498214] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    0.498935] lpc_ich: Resource conflict(s) found affecting gpio_ich
[    0.499659] VMware PVSCSI driver - version 1.0.7.0-k
[    0.500186] hv_vmbus: registering driver hv_storvsc
[    0.500738] ahci 0000:00:1f.2: version 3.0
[    0.501106] ahci 0000:00:1f.2: SSS flag set, parallel bus scan disabled
[    0.501649] ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0x3 impl SATA mode
[    0.502258] ahci 0000:00:1f.2: flags: 64bit ncq stag pm led clo pio slum part 
[    0.504418] scsi host0: ahci
[    0.505055] scsi host1: ahci
[    0.505678] scsi host2: ahci
[    0.506330] scsi host3: ahci
[    0.506778] ata1: SATA max UDMA/133 abar m1024@0xdff04000 port 0xdff04100 irq 24
[    0.507357] ata2: SATA max UDMA/133 abar m1024@0xdff04000 port 0xdff04180 irq 24
[    0.507918] ata3: DUMMY
[    0.508159] ata4: DUMMY
[    0.508915] VMware vmxnet3 virtual NIC driver - version 1.4.a.0-k-NAPI
[    0.509469] hv_vmbus: registering driver hv_netvsc
[    0.509854] Fusion MPT base driver 3.04.20
[    0.510250] Copyright (c) 1999-2008 LSI Corporation
[    0.510709] Fusion MPT SPI Host driver 3.04.20
[    0.511120] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.511607] ehci-pci: EHCI PCI platform driver
[    0.512763] ehci-pci 0000:00:1d.7: EHCI Host Controller
[    0.513192] ehci-pci 0000:00:1d.7: new USB bus registered, assigned bus number 1
[    0.513793] ehci-pci 0000:00:1d.7: debug port 1
[    0.514113] ACPI: Battery Slot [BAT0] (battery present)
[    0.518488] ehci-pci 0000:00:1d.7: cache line size of 64 is not supported
[    0.518522] ehci-pci 0000:00:1d.7: irq 23, io mem 0xdff05000
[    0.540123] ehci-pci 0000:00:1d.7: USB 2.0 started, EHCI 1.00
[    0.541063] hub 1-0:1.0: USB hub found
[    0.541418] hub 1-0:1.0: 8 ports detected
[    0.542734] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.543221] ohci-pci: OHCI PCI platform driver
[    0.543620] ohci-platform: OHCI generic platform driver
[    0.544568] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    0.544990] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 2
[    0.546233] xhci_hcd 0000:02:00.0: hcc params 0x200073a1 hci version 0x100 quirks 0x00080010
[    0.547982] hub 2-0:1.0: USB hub found
[    0.548435] hub 2-0:1.0: 2 ports detected
[    0.549241] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    0.549668] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 3
[    0.550303] xhci_hcd 0000:02:00.0: Host supports USB 3.0  SuperSpeed
[    0.550935] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.551899] hub 3-0:1.0: USB hub found
[    0.552349] hub 3-0:1.0: 2 ports detected
[    0.553301] usbcore: registered new interface driver usb-storage
[    0.553955] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[    0.556563] i8042: Detected active multiplexing controller, rev 1.1
[    0.559170] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.559568] serio: i8042 AUX0 port at 0x60,0x64 irq 12
[    0.559965] serio: i8042 AUX1 port at 0x60,0x64 irq 12
[    0.560407] serio: i8042 AUX2 port at 0x60,0x64 irq 12
[    0.560808] serio: i8042 AUX3 port at 0x60,0x64 irq 12
[    0.561255] hv_vmbus: registering driver hyperv_keyboard
[    0.561774] rtc_cmos 00:03: RTC can wake from S4
[    0.562370] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
[    0.562869] rtc_cmos 00:03: alarms up to one month, y3k, 242 bytes nvram, hpet irqs
[    0.564393] sdhci: Secure Digital Host Controller Interface driver
[    0.564865] sdhci: Copyright(c) Pierre Ossman
[    0.566006] hidraw: raw HID events driver (C) Jiri Kosina
[    0.566486] hv_vmbus: registering driver hid_hyperv
[    0.566915] usbcore: registered new interface driver usbhid
[    0.567337] usbhid: USB HID core driver
[    0.567684] hv_utils: Registering HyperV Utility Driver
[    0.568088] hv_vmbus: registering driver hv_util
[    0.568454] hv_vmbus: registering driver hv_balloon
[    0.569382] NET: Registered protocol family 10
[    0.570351] Segment Routing with IPv6
[    0.570715] NET: Registered protocol family 17
[    0.571097] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.571999] 8021q: 802.1Q VLAN Support v1.8
[    0.572509] NET: Registered protocol family 40
[    0.573685] microcode: sig=0x30661, pf=0x8, revision=0x10c
[    0.574234] microcode: Microcode Update Driver: v2.2.
[    0.574273] sched_clock: Marking stable (573441123, 0)->(657968060, -84526937)
[    0.575503] registered taskstats version 1
[    0.576740] rtc_cmos 00:03: setting system clock to 2018-09-07 16:15:12 UTC (1536336912)
[    0.584900] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
[    0.831528] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    0.834278] ata1.00: ATA-8: WDC WD3200BPVT-24JJ5T0, 01.01A01, max UDMA/133
[    0.834837] ata1.00: 625142448 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[    0.837583] ata1.00: configured for UDMA/133
[    0.838642] scsi 0:0:0:0: Direct-Access     ATA      WDC WD3200BPVT-2 1A01 PQ: 0 ANSI: 5
[    0.841240] sd 0:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB)
[    0.841885] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    0.842433] sd 0:0:0:0: [sda] Write Protect is off
[    0.842862] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    0.843052] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    0.877982]  sda: sda1 sda2
[    0.880409] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.171549] ata2: SATA link down (SStatus 0 SControl 300)
[    1.186977] VFS: Mounted root (squashfs filesystem) readonly on device 8:2.
[    1.194364] Freeing unused kernel memory: 1052K
[    1.230632] Write protecting the kernel read-only data: 12288k
[    1.235448] Freeing unused kernel memory: 2024K
[    1.252890] Freeing unused kernel memory: 736K
[    1.487895] tsc: Refined TSC clocksource calibration: 1595.999 MHz
[    1.488460] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x17016147f12, max_idle_ns: 440795216557 ns
[    1.566812] init: Console is alive
[    1.796421] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.821964] pps_core: LinuxPPS API ver. 1 registered
[    1.822364] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.823647] PTP clock support registered
[    1.824343] Button Hotplug driver version 0.4.1
[    1.824818] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    1.830753] init: - preinit -
[    1.890124] usb 1-6: new high-speed USB device number 3 using ehci-pci
[    2.267747] random: jshn: uninitialized urandom read (4 bytes read)
[    2.309827] random: jshn: uninitialized urandom read (4 bytes read)
[    2.316834] random: jshn: uninitialized urandom read (4 bytes read)
[    2.470351] usb 1-7: new high-speed USB device number 4 using ehci-pci
[    2.490506] clocksource: Switched to clocksource tsc
[    2.691721] usb-storage 1-7:1.0: USB Mass Storage device detected
[    2.692832] scsi host4: usb-storage 1-7:1.0
[    3.754161] scsi 4:0:0:0: Direct-Access     Generic- Multi-Card       1.00 PQ: 0 ANSI: 0 CCS
[    3.765748] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[    5.433172] urandom_read: 5 callbacks suppressed
[    5.433177] random: jshn: uninitialized urandom read (4 bytes read)
[    5.722679] F2FS-fs (loop0): Mounted with checkpoint version = 1a030d9d
[    5.751832] mount_root: switching to f2fs overlay
[    5.833723] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null)
[    5.839672] urandom-seed: Seeding with /etc/urandom.seed
[    5.914891] procd: - early -
[    6.557234] procd: - ubus -
[    6.596946] random: ubusd: uninitialized urandom read (4 bytes read)
[    6.610617] procd: - init -
[    6.950178] kmodloader: loading kernel modules from /etc/modules.d/*
[    6.954303] tun: Universal TUN/TAP device driver, 1.6
[    6.958028] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    6.958547] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    6.961325] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    6.961834] igb: Copyright (c) 2007-2014 Intel Corporation.
[    6.964069] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    7.426558] Netfilter messages via NETLINK v0.30.
[    7.428839] ip_set: protocol 6
[    7.450984] i2c /dev entries driver
[    7.487885] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[    7.488578] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[    7.492106] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    7.492562] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    7.494282] ip_tables: (C) 2000-2006 Netfilter Core Team
[    7.898600] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    8.147745] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    8.149259] r8169 0000:03:00.0 eth0: RTL8105e at 0xffffc9000000b000, e8:40:f2:3f:a9:58, XID 00a00000 IRQ 30
[    8.154185] wireguard: WireGuard 0.0.20180718 loaded. See www.wireguard.com for information.
[    8.155901] wireguard: Copyright (C) 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.174092] xt_time: kernel timezone is -0000
[    8.411155] Intel(R) Wireless WiFi driver for Linux
[    8.411610] Copyright(c) 2003- 2015 Intel Corporation
[    8.445655] PPP generic driver version 2.4.2
[    8.447497] NET: Registered protocol family 24
[    8.454488] iwlwifi 0000:04:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
[    8.455168] iwlwifi 0000:04:00.0: CPTCFG_IWLWIFI_DEBUG disabled
[    8.455610] iwlwifi 0000:04:00.0: CPTCFG_IWLWIFI_DEBUGFS disabled
[    8.456054] iwlwifi 0000:04:00.0: CPTCFG_IWLWIFI_DEVICE_TRACING disabled
[    8.456529] iwlwifi 0000:04:00.0: Detected Intel(R) Centrino(R) Wireless-N 130 BGN, REV=0xB0
[    8.501089] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[    8.504079] kmodloader: done loading kernel modules from /etc/modules.d/*
[   11.792405] r8169 0000:03:00.0 eth0: link down
[   11.792453] r8169 0000:03:00.0 eth0: link down
[   11.903937] random: fast init done
[   13.415479] r8169 0000:03:00.0 eth0: link up
[   30.131354] random: crng init done
08.04.2017692Base systemBug ReportMediumMediumWLAN AP not working on RasPi (bcm2710 target)TrunkAssigned Task Description

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

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

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

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

Greetings,
–Thomas

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

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

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

The current naming scheme is quite long:

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

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

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

09.03.2017609Base systemFeature RequestMediumLowprocd: implement runlevel 1TrunkNew Task Description

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

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

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

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

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

Default htmode

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

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

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

Default channel

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

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

PPPoE is broken on WRT1900ACS

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

pppd debug log:

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

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

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

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

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

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

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

make target/install V=s

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

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

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

Reproduce:

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

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

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

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

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

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

29.05.20203136KernelBug ReportLowLowAlignment exceptions on ipq806x (r7800)TrunkNew Task Description

I’ve got 2 Netgear R7800 with the same firmware built from OpenWrt master and only one of them is throwing alignment exceptions:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.42 (noltari@skynet) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13398+3-48e3449945)) #0 SMP Fri May 29 07:24:24 2020
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Netgear Nighthawk X4S R7800
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 122880
[    0.000000]   Normal zone: 1080 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 122880 pages, LIFO batch:31
[    0.000000] percpu: Embedded 15 pages/cpu s30028 r8192 d23220 u61440
[    0.000000] pcpu-alloc: s30028 r8192 d23220 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 121800
[    0.000000] Kernel command line: 
[    0.000000] Bootloader command line (ignored): console=ttyHSL1,115200n8
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 474844K/491520K available (5893K kernel code, 188K rwdata, 1504K rodata, 1024K init, 228K bss, 16676K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x340/0x4e8 with crng_init=0
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000008] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000021] Switching to timer-based delay loop, resolution 160ns
[    0.000242] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000264] pid_max: default: 32768 minimum: 301
[    0.000460] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000479] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001501] CPU: Testing write buffer coherency: ok
[    0.002636] Setting up static identity map for 0x42300000 - 0x42300060
[    0.002809] rcu: Hierarchical SRCU implementation.
[    0.003291] smp: Bringing up secondary CPUs ...
[    0.005219] smp: Brought up 1 node, 2 CPUs
[    0.005236] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.005246] CPU: All CPU(s) started in SVC mode.
[    0.015473] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.015630] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.015659] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.015823] pinctrl core: initialized pinctrl subsystem
[    0.016942] NET: Registered protocol family 16
[    0.017229] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.018531] cpuidle: using governor ladder
[    0.018598] cpuidle: using governor menu
[    0.055639] usbcore: registered new interface driver usbfs
[    0.055720] usbcore: registered new interface driver hub
[    0.055814] usbcore: registered new device driver usb
[    0.055875] pps_core: LinuxPPS API ver. 1 registered
[    0.055890] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.055930] PTP clock support registered
[    0.057577] clocksource: Switched to clocksource dg_timer
[    0.058439] thermal_sys: Registered thermal governor 'step_wise'
[    0.060795] NET: Registered protocol family 2
[    0.061381] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.061423] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.061467] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.061522] TCP: Hash tables configured (established 4096 bind 4096)
[    0.061627] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.061657] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.061896] NET: Registered protocol family 1
[    0.061954] PCI: CLS 0 bytes, default 64
[    0.063423] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.070052] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.070068] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.110296] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda not found, using dummy regulator
[    0.110440] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_phy not found, using dummy regulator
[    0.110550] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_refclk not found, using dummy regulator
[    0.110822] qcom-pcie 1b500000.pci: host bridge /soc/pci@1b500000 ranges:
[    0.110850] qcom-pcie 1b500000.pci: Parsing ranges property...
[    0.110898] qcom-pcie 1b500000.pci:    IO 0x0fe00000..0x0fefffff -> 0x0fe00000
[    0.110937] qcom-pcie 1b500000.pci:   MEM 0x08000000..0x0fdfffff -> 0x08000000
[    0.332501] qcom-pcie 1b500000.pci: Link up
[    0.332674] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.332696] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.332718] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfe00000-0xfefffff])
[    0.332735] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.332753] pci_bus 0000:00: scanning bus
[    0.332804] pci 0000:00:00.0: [17cb:0101] type 01 class 0xff0000
[    0.332976] pci 0000:00:00.0: supports D1
[    0.332993] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.333014] pci 0000:00:00.0: PME# disabled
[    0.337082] pci_bus 0000:00: fixups for bus
[    0.337107] PCI: bus0: Fast back to back transfers disabled
[    0.337129] pci 0000:00:00.0: scanning [bus 01-ff] behind bridge, pass 0
[    0.337275] pci_bus 0000:01: scanning bus
[    0.337456] pci 0000:01:00.0: [168c:0046] type 00 class 0x028000
[    0.337925] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.339073] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.339120] pci 0000:01:00.0: PME# disabled
[    0.343339] pci_bus 0000:01: fixups for bus
[    0.343410] PCI: bus1: Fast back to back transfers disabled
[    0.343428] pci_bus 0000:01: bus scan returning with max=01
[    0.343446] pci 0000:00:00.0: scanning [bus 01-ff] behind bridge, pass 1
[    0.343465] pci_bus 0000:00: bus scan returning with max=ff
[    0.343499] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.343524] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.343652] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.343677] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.343887] pcieport 0000:00:00.0: assign IRQ: got 35
[    0.344639] pcieport 0000:00:00.0: AER: enabled with IRQ 36
[    0.345252] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda not found, using dummy regulator
[    0.345380] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_phy not found, using dummy regulator
[    0.345517] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_refclk not found, using dummy regulator
[    0.345770] qcom-pcie 1b700000.pci: host bridge /soc/pci@1b700000 ranges:
[    0.345792] qcom-pcie 1b700000.pci: Parsing ranges property...
[    0.345835] qcom-pcie 1b700000.pci:    IO 0x31e00000..0x31efffff -> 0x31e00000
[    0.345869] qcom-pcie 1b700000.pci:   MEM 0x2e000000..0x31dfffff -> 0x2e000000
[    0.575016] qcom-pcie 1b700000.pci: Link up
[    0.575165] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.575184] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.575203] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.575219] pci_bus 0001:00: scanning bus
[    0.575261] pci 0001:00:00.0: [17cb:0101] type 01 class 0xff0000
[    0.575405] pci 0001:00:00.0: supports D1
[    0.575422] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    0.575440] pci 0001:00:00.0: PME# disabled
[    0.579554] pci_bus 0001:00: fixups for bus
[    0.579576] PCI: bus0: Fast back to back transfers disabled
[    0.579594] pci 0001:00:00.0: scanning [bus 01-ff] behind bridge, pass 0
[    0.579730] pci_bus 0001:01: scanning bus
[    0.579920] pci 0001:01:00.0: [168c:0046] type 00 class 0x028000
[    0.580297] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.581531] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[    0.581581] pci 0001:01:00.0: PME# disabled
[    0.581834] pci 0001:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0001:00:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    0.585838] pci_bus 0001:01: fixups for bus
[    0.585914] PCI: bus1: Fast back to back transfers disabled
[    0.585932] pci_bus 0001:01: bus scan returning with max=01
[    0.585949] pci 0001:00:00.0: scanning [bus 01-ff] behind bridge, pass 1
[    0.585967] pci_bus 0001:00: bus scan returning with max=ff
[    0.585991] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.586014] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.586146] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.586168] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.586379] pcieport 0001:00:00.0: assign IRQ: got 37
[    0.587054] pcieport 0001:00:00.0: AER: enabled with IRQ 38
[    0.589655] L2 @ QSB rate. Forcing new rate.
[    0.589884] L2 @ 384000 KHz
[    0.590062] CPU0 @ 800000 KHz
[    0.590074] CPU1 @ QSB rate. Forcing new rate.
[    0.590200] CPU1 @ 384000 KHz
[    0.593784] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.595940] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.596712] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.596767] msm_serial 16340000.serial: uartclk = 7372800
[    0.596839] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 39, base_baud = 460800) is a MSM
[    0.596876] msm_serial: console setup on port #0
[    1.363216] printk: console [ttyMSM0] enabled
[    1.368292] msm_serial: driver initialized
[    1.377328] loop: module loaded
[    1.379017] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xa1
[    1.379280] nand: Micron MT29F1G08ABBEAH4
[    1.385875] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.389975] 8 fixed-partitions partitions found on MTD device qcom_nand.0
[    1.397246] Creating 8 MTD partitions on "qcom_nand.0":
[    1.404197] 0x000000000000-0x000000c80000 : "qcadata"
[    1.414344] random: fast init done
[    1.430388] 0x000000c80000-0x000001180000 : "APPSBL"
[    1.439436] 0x000001180000-0x000001200000 : "APPSBLENV"
[    1.441172] 0x000001200000-0x000001340000 : "art"
[    1.446411] 0x000001340000-0x000001480000 : "artbak"
[    1.451329] 0x000001480000-0x000001880000 : "kernel"
[    1.460780] 0x000001880000-0x000007900000 : "ubi"
[    1.616654] 0x000007900000-0x000008000000 : "reserve"
[    1.630468] libphy: ipq8064_mdio_bus: probed
[    1.680369] switch0: Atheros AR8337 rev. 2 switch registered on 37000000.mdio-mii
[    2.830271] ar8327: qca,phy-rgmii-en is not specified
[    2.830690] libphy: Fixed MDIO Bus: probed
[    2.835000] ipq806x-gmac-dwmac 37200000.ethernet: IRQ eth_wake_irq not found
[    2.838388] ipq806x-gmac-dwmac 37200000.ethernet: IRQ eth_lpi not found
[    2.846280] ipq806x-gmac-dwmac 37200000.ethernet: PTP uses main clock
[    2.852700] ipq806x-gmac-dwmac 37200000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    2.858554] ipq806x-gmac-dwmac 37200000.ethernet: 	DWMAC1000
[    2.865905] ipq806x-gmac-dwmac 37200000.ethernet: DMA HW capability register supported
[    2.871821] ipq806x-gmac-dwmac 37200000.ethernet: RX Checksum Offload Engine supported
[    2.879527] ipq806x-gmac-dwmac 37200000.ethernet: COE Type 2
[    2.887343] ipq806x-gmac-dwmac 37200000.ethernet: TX Checksum insertion supported
[    2.893240] ipq806x-gmac-dwmac 37200000.ethernet: Wake-Up On Lan supported
[    2.900614] ipq806x-gmac-dwmac 37200000.ethernet: Enhanced/Alternate descriptors
[    2.907311] ipq806x-gmac-dwmac 37200000.ethernet: Enabled extended descriptors
[    2.914952] ipq806x-gmac-dwmac 37200000.ethernet: Ring mode enabled
[    2.921981] ipq806x-gmac-dwmac 37200000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.929043] ipq806x-gmac-dwmac 37400000.ethernet: IRQ eth_wake_irq not found
[    2.936741] ipq806x-gmac-dwmac 37400000.ethernet: IRQ eth_lpi not found
[    2.944042] ipq806x-gmac-dwmac 37400000.ethernet: PTP uses main clock
[    2.950690] ipq806x-gmac-dwmac 37400000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    2.956706] ipq806x-gmac-dwmac 37400000.ethernet: 	DWMAC1000
[    2.964259] ipq806x-gmac-dwmac 37400000.ethernet: DMA HW capability register supported
[    2.970068] ipq806x-gmac-dwmac 37400000.ethernet: RX Checksum Offload Engine supported
[    2.977711] ipq806x-gmac-dwmac 37400000.ethernet: COE Type 2
[    2.985678] ipq806x-gmac-dwmac 37400000.ethernet: TX Checksum insertion supported
[    2.991489] ipq806x-gmac-dwmac 37400000.ethernet: Wake-Up On Lan supported
[    2.998861] ipq806x-gmac-dwmac 37400000.ethernet: Enhanced/Alternate descriptors
[    3.005574] ipq806x-gmac-dwmac 37400000.ethernet: Enabled extended descriptors
[    3.013201] ipq806x-gmac-dwmac 37400000.ethernet: Ring mode enabled
[    3.020231] ipq806x-gmac-dwmac 37400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.027308] i2c /dev entries driver
[    3.037342] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    3.038412] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    3.046079] sdhci: Secure Digital Host Controller Interface driver
[    3.052874] sdhci: Copyright(c) Pierre Ossman
[    3.059120] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.066091] NET: Registered protocol family 10
[    3.070704] Segment Routing with IPv6
[    3.073540] NET: Registered protocol family 17
[    3.077458] 8021q: 802.1Q VLAN Support v1.8
[    3.081686] Registering SWP/SWPB emulation handler
[    3.109432] qcom_rpm 108000.rpm: RPM firmware 3.0.16777364
[    3.122994] s1a: supplied by regulator-dummy
[    3.123099] s1a: Bringing 0uV into 1050000-1050000uV
[    3.126619] s1b: supplied by regulator-dummy
[    3.131476] s1b: Bringing 0uV into 1050000-1050000uV
[    3.135788] s2a: supplied by regulator-dummy
[    3.140649] s2a: Bringing 0uV into 775000-775000uV
[    3.144996] s2b: supplied by regulator-dummy
[    3.149481] s2b: Bringing 0uV into 775000-775000uV
[    3.155482] Speed bin: 0
[    3.158434] PVS bin: 4
[    3.169157] UBI: auto-attach mtd6
[    3.169175] ubi0: attaching mtd6
[    3.231841] random: crng init done
[    3.863297] ubi0: scanning is finished
[    3.872737] ubi0: attached mtd6 (name "ubi", size 96 MiB)
[    3.872757] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.877104] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.883959] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.890790] ubi0: good PEBs: 772, bad PEBs: 0, corrupted PEBs: 0
[    3.897503] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    3.903813] ubi0: max/mean erase counter: 8/4, WL threshold: 4096, image sequence number: 1164284368
[    3.910842] ubi0: available PEBs: 0, total reserved PEBs: 772, PEBs reserved for bad PEB handling: 20
[    3.920258] ubi0: background thread "ubi_bgt0d" started, PID 93
[    3.920861] block ubiblock0_0: created from ubi0:0(rootfs)
[    3.934915] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    3.940521] hctosys: unable to open rtc device (rtc0)
[    3.952741] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    3.954223] Freeing unused kernel memory: 1024K
[    3.988265] Run /sbin/init as init process
[    4.441889] init: Console is alive
[    4.442057] init: - watchdog -
[    5.259389] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.276144] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.278921] SCSI subsystem initialized
[    5.285174] libata version 3.00 loaded.
[    5.286877] ahci 29000000.sata: 29000000.sata supply ahci not found, using dummy regulator
[    5.286970] ahci 29000000.sata: 29000000.sata supply phy not found, using dummy regulator
[    5.294151] ahci 29000000.sata: 29000000.sata supply target not found, using dummy regulator
[    5.302769] ahci 29000000.sata: forcing port_map 0x0 -> 0x1
[    5.310869] ahci 29000000.sata: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    5.316080] ahci 29000000.sata: flags: ncq sntf pm led clo only pmp pio slum part ccc apst 
[    5.326028] scsi host0: ahci
[    5.333172] ata1: SATA max UDMA/133 mmio [mem 0x29000000-0x2900017f] port 0x100 irq 26
[    5.660523] ata1: SATA link down (SStatus 0 SControl 300)
[    5.665903] ehci-fsl: Freescale EHCI Host controller driver
[    5.667476] ehci-platform: EHCI generic platform driver
[    5.676974] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.677583] ohci-platform: OHCI generic platform driver
[    5.684512] dwc3-qcom 110f8800.usb3: IRQ hs_phy_irq not found
[    5.687166] dwc3-qcom 110f8800.usb3: IRQ dp_hs_phy_irq not found
[    5.693178] dwc3-qcom 110f8800.usb3: IRQ dm_hs_phy_irq not found
[    5.699223] dwc3-qcom 110f8800.usb3: IRQ ss_phy_irq not found
[    5.707257] dwc3-qcom 100f8800.usb3: IRQ hs_phy_irq not found
[    5.710836] dwc3-qcom 100f8800.usb3: IRQ dp_hs_phy_irq not found
[    5.716504] dwc3-qcom 100f8800.usb3: IRQ dm_hs_phy_irq not found
[    5.722664] dwc3-qcom 100f8800.usb3: IRQ ss_phy_irq not found
[    5.732523] dwc3 11000000.dwc3: Failed to get clk 'ref': -2
[    5.788480] dwc3 10000000.dwc3: Failed to get clk 'ref': -2
[    5.851309] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    5.851368] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    5.855876] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x0000000002010010
[    5.863381] xhci-hcd xhci-hcd.0.auto: irq 43, io mem 0x11000000
[    5.873615] hub 1-0:1.0: USB hub found
[    5.878642] hub 1-0:1.0: 1 port detected
[    5.882543] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    5.886429] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    5.891780] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    5.899421] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.906190] hub 2-0:1.0: USB hub found
[    5.914200] hub 2-0:1.0: 1 port detected
[    5.919357] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    5.921756] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    5.927172] xhci-hcd xhci-hcd.1.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x0000000002010010
[    5.934694] xhci-hcd xhci-hcd.1.auto: irq 44, io mem 0x10000000
[    5.944582] hub 3-0:1.0: USB hub found
[    5.949969] hub 3-0:1.0: 1 port detected
[    5.953865] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    5.957774] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    5.963142] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    5.971416] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.977540] hub 4-0:1.0: USB hub found
[    5.985562] hub 4-0:1.0: 1 port detected
[    5.990721] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.000453] init: - preinit -
[    8.211376] dwmac1000: Master AXI performs any burst length
[    8.211407] ipq806x-gmac-dwmac 37400000.ethernet eth1: No Safety Features support found
[    8.215754] ipq806x-gmac-dwmac 37400000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
[    8.223915] ipq806x-gmac-dwmac 37400000.ethernet eth1: registered PTP clock
[    8.232848] ipq806x-gmac-dwmac 37400000.ethernet eth1: configuring for fixed/sgmii link mode
[    8.240251] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[    8.248558] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   12.418896] UBIFS (ubi0:1): Mounting in unauthenticated mode
[   12.419040] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 180
[   12.568955] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   12.568978] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   12.575760] UBIFS (ubi0:1): FS size: 88248320 bytes (84 MiB, 695 LEBs), journal size 4444160 bytes (4 MiB, 35 LEBs)
[   12.585725] UBIFS (ubi0:1): reserved for root: 4168186 bytes (4070 KiB)
[   12.595982] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 05119043-2946-47B5-88DC-46E382FD2959, small LPT model
[   12.608409] mount_root: overlay filesystem has not been fully initialized yet
[   12.614216] mount_root: switching to ubifs overlay
[   12.648550] overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off.
[   12.709449] urandom-seed: Seed file not found (/etc/urandom.seed)
[   12.802232] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Down
[   12.869339] procd: - early -
[   12.869423] procd: - watchdog -
[   13.416076] procd: - watchdog -
[   13.416705] procd: - ubus -
[   13.497779] procd: - init -
[   13.807250] kmodloader: loading kernel modules from /etc/modules.d/*
[   13.807481] urngd: v1.0.2 started.
[   13.822992] Loading modules backported from Linux version v5.7-rc3-0-g6a8b55ed4056
[   13.823016] Backport generated by backports.git v5.7-rc3-1-0-gc0c7d2bb
[   13.835774] wireguard: WireGuard 1.0.20200520 loaded. See www.wireguard.com for information.
[   13.835960] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   13.849108] xt_time: kernel timezone is -0000
[   13.878438] PPP generic driver version 2.4.2
[   13.878942] NET: Registered protocol family 24
[   13.894701] ath10k_pci 0000:01:00.0: assign IRQ: got 35
[   13.894721] ath10k 5.1 driver, optimized for CT firmware, probing pci device: 0x46.
[   13.895103] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[   13.901316] ath10k_pci 0000:01:00.0: enabling bus mastering
[   13.901842] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   14.586600] ath10k_pci 0000:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[   14.586649] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   14.600184] ath10k_pci 0000:01:00.0: firmware ver 10.4b-ct-9984-fH-013-d81f62d97 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,htt-mgt-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 5e71f3d8
[   16.923270] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 0:1 crc32 85498734
[   22.764887] ath10k_pci 0000:01:00.0: unsupported HTC service id: 1536
[   22.765774] ath10k_pci 0000:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   22.770383] ath10k_pci 0000:01:00.0: msdu-desc: 2500  skid: 32
[   22.853278] ath10k_pci 0000:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   22.854123] ath10k_pci 0000:01:00.0: wmi print 'free: 84872 iram: 13412 sram: 11224'
[   23.143016] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[   23.238959] ath: EEPROM regdomain sanitized
[   23.238979] ath: EEPROM regdomain: 0x64
[   23.238989] ath: EEPROM indicates we should expect a direct regpair map
[   23.239012] ath: Country alpha2 being used: 00
[   23.239022] ath: Regpair used: 0x64
[   23.247470] ath10k_pci 0001:01:00.0: assign IRQ: got 37
[   23.247495] ath10k 5.1 driver, optimized for CT firmware, probing pci device: 0x46.
[   23.248218] ath10k_pci 0001:01:00.0: enabling device (0140 -> 0142)
[   23.254039] ath10k_pci 0001:01:00.0: enabling bus mastering
[   23.254645] ath10k_pci 0001:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   23.569431] ath10k_pci 0001:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[   23.569466] ath10k_pci 0001:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   23.580837] ath10k_pci 0001:01:00.0: firmware ver 10.4b-ct-9984-fH-013-d81f62d97 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,htt-mgt-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 5e71f3d8
[   25.965788] ath10k_pci 0001:01:00.0: board_file api 2 bmi_id 0:2 crc32 85498734
[   31.926889] ath10k_pci 0001:01:00.0: unsupported HTC service id: 1536
[   31.927736] ath10k_pci 0001:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   31.932304] ath10k_pci 0001:01:00.0: msdu-desc: 2500  skid: 32
[   32.017922] ath10k_pci 0001:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   32.018816] ath10k_pci 0001:01:00.0: wmi print 'free: 84872 iram: 13412 sram: 11224'
[   32.400518] ath10k_pci 0001:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[   32.489614] ath: EEPROM regdomain sanitized
[   32.489634] ath: EEPROM regdomain: 0x64
[   32.489645] ath: EEPROM indicates we should expect a direct regpair map
[   32.489668] ath: Country alpha2 being used: 00
[   32.489678] ath: Regpair used: 0x64
[   32.501079] kmodloader: done loading kernel modules from /etc/modules.d/*
[   37.152937] Alignment trap: not handling instruction f4410a1f at [<000847ec>]
[   37.152961] 8<--- cut here ---
[   37.159119] Unhandled fault: alignment exception (0x801) at 0x01559594
[   37.161997] pgd = 651ef7ab
[   37.168576] [01559594] *pgd=5dae4835, *pte=5ce8875f, *ppte=5ce88c7f
[   37.267396] dwmac1000: Master AXI performs any burst length
[   37.267427] ipq806x-gmac-dwmac 37400000.ethernet eth1: No Safety Features support found
[   37.271872] ipq806x-gmac-dwmac 37400000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
[   37.279913] ipq806x-gmac-dwmac 37400000.ethernet eth1: registered PTP clock
[   37.288853] ipq806x-gmac-dwmac 37400000.ethernet eth1: configuring for fixed/sgmii link mode
[   37.295795] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[   37.303777] br-lan: port 1(eth1.1) entered blocking state
[   37.313165] br-lan: port 1(eth1.1) entered disabled state
[   37.318698] device eth1.1 entered promiscuous mode
[   37.323850] device eth1 entered promiscuous mode
[   37.328816] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   37.336050] br-lan: port 1(eth1.1) entered blocking state
[   37.339365] br-lan: port 1(eth1.1) entered forwarding state
[   37.354176] dwmac1000: Master AXI performs any burst length
[   37.354204] ipq806x-gmac-dwmac 37200000.ethernet eth0: No Safety Features support found
[   37.358736] ipq806x-gmac-dwmac 37200000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[   37.366642] ipq806x-gmac-dwmac 37200000.ethernet eth0: registered PTP clock
[   37.375640] ipq806x-gmac-dwmac 37200000.ethernet eth0: configuring for fixed/rgmii link mode
[   37.383004] ipq806x-gmac-dwmac 37200000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   37.391748] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   38.009405] pppoe-wan: renamed from ppp0
[   38.220386] ath: EEPROM regdomain: 0x82d4
[   38.220406] ath: EEPROM indicates we should expect a country code
[   38.223369] ath: doing EEPROM country->regdmn map search
[   38.229536] ath: country maps to regdmn code: 0x37
[   38.234824] ath: Country alpha2 being used: ES
[   38.239508] ath: Regpair used: 0x37
[   38.243865] ath: regdomain 0x82d4 dynamically updated by user
[   38.247258] ath: EEPROM regdomain: 0x82d4
[   38.253222] ath: EEPROM indicates we should expect a country code
[   38.257135] ath: doing EEPROM country->regdmn map search
[   38.263284] ath: country maps to regdmn code: 0x37
[   38.268657] ath: Country alpha2 being used: ES
[   38.273192] ath: Regpair used: 0x37
[   38.277623] ath: regdomain 0x82d4 dynamically updated by user
[   38.338720] ath: EEPROM regdomain: 0x8348
[   38.338739] ath: EEPROM indicates we should expect a country code
[   38.341702] ath: doing EEPROM country->regdmn map search
[   38.347781] ath: country maps to regdmn code: 0x3a
[   38.353239] ath: Country alpha2 being used: US
[   38.357816] ath: Regpair used: 0x3a
[   38.362187] ath: regdomain 0x8348 dynamically updated by user
[   38.365596] ath: EEPROM regdomain: 0x8348
[   38.371530] ath: EEPROM indicates we should expect a country code
[   38.375469] ath: doing EEPROM country->regdmn map search
[   38.381626] ath: country maps to regdmn code: 0x3a
[   38.386926] ath: Country alpha2 being used: US
[   38.391586] ath: Regpair used: 0x3a
[   38.395951] ath: regdomain 0x8348 dynamically updated by user
[   38.401528] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   45.445311] ath10k_pci 0001:01:00.0: unsupported HTC service id: 1536
[   45.445523] ath10k_pci 0001:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   45.450813] ath10k_pci 0001:01:00.0: msdu-desc: 2500  skid: 32
[   45.536265] ath10k_pci 0001:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   45.537153] ath10k_pci 0001:01:00.0: wmi print 'free: 84872 iram: 13412 sram: 11224'
[   46.077345] ath10k_pci 0001:01:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[   46.086199] Alignment trap: not handling instruction f4410a1f at [<000847ec>]
[   46.087292] 8<--- cut here ---
[   46.094611] Unhandled fault: alignment exception (0x801) at 0x01a5a264
[   46.097449] pgd = 7d425fb1
[   46.104035] [01a5a264] *pgd=5d7b7835, *pte=5ca0175f, *ppte=5ca01c7f
[   46.123943] br-lan: port 2(wlan1) entered blocking state
[   46.123966] br-lan: port 2(wlan1) entered disabled state
[   46.128620] device wlan1 entered promiscuous mode
[   46.299909] ath10k_pci 0001:01:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   52.074815] ath10k_pci 0000:01:00.0: unsupported HTC service id: 1536
[   52.075005] ath10k_pci 0000:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   52.080305] ath10k_pci 0000:01:00.0: msdu-desc: 2500  skid: 32
[   52.163253] ath10k_pci 0000:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   52.164139] ath10k_pci 0000:01:00.0: wmi print 'free: 84872 iram: 13412 sram: 11224'
[   52.550134] ath10k_pci 0000:01:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[   52.557649] br-lan: port 3(wlan0) entered blocking state
[   52.560295] br-lan: port 3(wlan0) entered disabled state
[   52.566172] device wlan0 entered promiscuous mode
[   52.571247] br-lan: port 3(wlan0) entered blocking state
[   52.575456] br-lan: port 3(wlan0) entered forwarding state
[   52.591728] br-lan: port 3(wlan0) entered disabled state
[   52.592799] Alignment trap: not handling instruction f4410a1f at [<000847ec>]
[   52.596110] 8<--- cut here ---
[   52.603242] Unhandled fault: alignment exception (0x801) at 0x01bc62e4
[   52.606082] pgd = 86e3b05f
[   52.612661] [01bc62e4] *pgd=5bcc5835, *pte=5ce4875f, *ppte=5ce48c7f
[   52.638123] ath: EEPROM regdomain: 0x82d4
[   52.638142] ath: EEPROM indicates we should expect a country code
[   52.641103] ath: doing EEPROM country->regdmn map search
[   52.647182] ath: country maps to regdmn code: 0x37
[   52.652660] ath: Country alpha2 being used: ES
[   52.657164] ath: Regpair used: 0x37
[   52.661679] ath: regdomain 0x82d4 dynamically updated by user
[   52.665059] ath: EEPROM regdomain: 0x82d4
[   52.670969] ath: EEPROM indicates we should expect a country code
[   52.674873] ath: doing EEPROM country->regdmn map search
[   52.681023] ath: country maps to regdmn code: 0x37
[   52.686328] ath: Country alpha2 being used: ES
[   52.691008] ath: Regpair used: 0x37
[   52.695357] ath: regdomain 0x82d4 dynamically updated by user
[   57.763032] Alignment trap: not handling instruction f4410a1f at [<000847ec>]
[   57.763083] 8<--- cut here ---
[   57.769331] Unhandled fault: alignment exception (0x801) at 0x01149304
[   57.772119] pgd = 14e00733
[   57.778718] [01149304] *pgd=5d912835, *pte=5cc3c75f, *ppte=5cc3cc7f
[   61.286218] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   61.286646] br-lan: port 2(wlan1) entered blocking state
[   61.291784] br-lan: port 2(wlan1) entered forwarding state
[   62.892597] Alignment trap: not handling instruction f4410a1f at [<000847ec>]
[   62.892649] 8<--- cut here ---
[   62.898868] Unhandled fault: alignment exception (0x801) at 0x01f27384
[   62.901683] pgd = 6ad7711d
[   62.908316] [01f27384] *pgd=5bade835, *pte=5c95e75f, *ppte=5c95ec7f
[   63.282491] ath10k_pci 0001:01:00.0: Invalid peer id 0 or peer stats buffer, peer: a5e6e0b2  sta: 19341bd9
[   68.024534] Alignment trap: not handling instruction f4410a1f at [<000847ec>]
[   68.024581] 8<--- cut here ---
[   68.030891] Unhandled fault: alignment exception (0x801) at 0x01580384
[   68.033621] pgd = 9bca4f46
[   68.040260] [01580384] *pgd=5d7c2835, *pte=5cfa775f, *ppte=5cfa7c7f
[  111.787534] ath10k_pci 0001:01:00.0: Invalid VHT mcs 15 peer stats
[  115.687531] ath10k_pci 0000:01:00.0: mac flush null vif, drop 0 queues 0xffff
[  115.718101] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  115.718254] br-lan: port 3(wlan0) entered blocking state
[  115.723523] br-lan: port 3(wlan0) entered forwarding state
[  200.884296] ath10k_pci 0001:01:00.0: htt tx: fixing invalid VHT TX rate code 0xff

The device appears to work normally, but it’s quite strange that only one of them is showing these exceptions...

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

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

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

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

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

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

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

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

 

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

Software version:
openwrt 19.07 r10860, default packages versions.

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

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

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

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

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

Alternative Settings:

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

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

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

To reproduce:

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

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

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

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

07.08.20203278Base systemBug ReportVery LowMediummalta: memory allocation failure during bootTrunkUnconfirmed Task Description

The problem is observed on all booting malta subtargets, built from current master and using the default 5.4 kernel and config options. During boot the built-in SCSI CDROM support will fail (”out of memory”) during its probe.

Sample log file:

[    1.009668] ata2.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100
[    1.023561] scsi 1:0:0:0: CD-ROM            QEMU     QEMU DVD-ROM     2.5+ PQ: 0 ANSI: 5
[    1.037871] kworker/u2:3: page allocation failure: order:0, mode:0xcc1(GFP_KERNEL|GFP_DMA), nodemask=(null),cpuset=/,mems_allowed=0
[    1.038594] CPU: 0 PID: 90 Comm: kworker/u2:3 Not tainted 5.4.52 #0
[    1.039141] Workqueue: events_unbound async_run_entry_fn
[    1.039481] Stack : 0000000000000000 0000000000000001 d443da66b6c08100 d443da66b6c08100
[    1.039936]         0000000000000000 900000009fb2f4d0 ffffffffffffff64 ffffffff804b8360
[    1.040330]         000000000000009c 3a206576656e7473 5f756e626f756e64 206173796e635f72
[    1.040802]         ffffffffffffffff 0000000000000010 0000000000000000 0000000000000000
[    1.041179]         0000000000000000 0000000000000000 ffffffff808b0000 ffffffff80890000
[    1.041582]         0000000000000240 0000000000000240 900000009fb2f818 0000000000000000
[    1.041983]         0000000000000003 ffffffff804b74f0 0000000000000000 ffffffff81dc0000
[    1.042380]         900000009fb2c000 900000009fb2f4d0 0000000000000cc1 ffffffff806d8104
[    1.042776]         0000000000000000 6e626f756e640000 0000000000000000 d443da66b6c08100
[    1.043174]         0000000000000001 ffffffff8010b0e4 0000000000000001 ffffffff806d8104
[    1.043592]         ...
[    1.043881] Call Trace:
[    1.044100] [<ffffffff8010b0e4>] show_stack+0x34/0x108
[    1.044780] [<ffffffff806d8104>] dump_stack+0x9c/0xd8
[    1.045218] [<ffffffff8024dcbc>] warn_alloc+0xcc/0x148
[    1.045619] [<ffffffff8024ea08>] __alloc_pages_slowpath+0xcd0/0xdb8
[    1.045964] [<ffffffff8024ed80>] __alloc_pages_nodemask+0x290/0x2d0
[    1.046319] [<ffffffff8025d1ac>] new_slab+0x33c/0xd18
[    1.046644] [<ffffffff8025de54>] ___slab_alloc.isra.92.constprop.97+0x2cc/0x4d0
[    1.047023] [<ffffffff8025e078>] __slab_alloc.isra.93.constprop.96+0x20/0x48
[    1.047426] [<ffffffff8025e288>] kmem_cache_alloc+0x1e8/0x2b0
[    1.047838] [<ffffffff804f8284>] sr_probe+0x1e4/0x6f0
[    1.048127] [<ffffffff804c7068>] really_probe+0xf8/0x350
[    1.048409] [<ffffffff804c50b0>] bus_for_each_drv+0x70/0xb0
[    1.048711] [<ffffffff804c6f28>] __device_attach+0xe0/0x120
[    1.049004] [<ffffffff804c6090>] bus_probe_device+0xa0/0xc0
[    1.049296] [<ffffffff804c2e18>] device_add+0x410/0x638
[    1.049577] [<ffffffff804ee408>] scsi_sysfs_add_sdev+0x60/0x280
[    1.049893] [<ffffffff804ead2c>] scsi_probe_and_add_lun+0x96c/0xce8
[    1.050212] [<ffffffff804eb3e8>] __scsi_add_device+0x120/0x178
[    1.050661] [<ffffffff80509f30>] ata_scsi_scan_host+0xb8/0x2c0
[    1.051134] [<ffffffff80154220>] async_run_entry_fn+0x50/0x130
[    1.051576] [<ffffffff8014a368>] process_one_work+0x250/0x4a8
[    1.051869] [<ffffffff8014a72c>] worker_thread+0x16c/0x610
[    1.052158] [<ffffffff80150320>] kthread+0x138/0x140
[    1.052447] [<ffffffff801060b8>] ret_from_kernel_thread+0x14/0x1c
[    1.053276] Mem-Info:
[    1.053604] active_anon:0 inactive_anon:6244 isolated_anon:0
[    1.053604]  active_file:0 inactive_file:0 isolated_file:0
[    1.053604]  unevictable:0 dirty:0 writeback:0 unstable:0
[    1.053604]  slab_reclaimable:185 slab_unreclaimable:1174
[    1.053604]  mapped:0 shmem:6244 pagetables:0 bounce:0
[    1.053604]  free:104901 free_pcp:33 free_cma:0
[    1.054876] Node 0 active_anon:0kB inactive_anon:24976kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:0kB dirty:0kB writeback:0kB shmem:24976kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
[    1.055882] DMA free:0kB min:0kB low:0kB high:0kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:16384kB managed:0kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[    1.056908] lowmem_reserve[]: 0 441 441 441
[    1.057166] DMA32 free:419604kB min:2688kB low:3360kB high:4032kB active_anon:0kB inactive_anon:24976kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:507900kB managed:451736kB mlocked:0kB kernel_stack:512kB pagetables:0kB bounce:0kB free_pcp:132kB local_pcp:132kB free_cma:0kB
[    1.058190] lowmem_reserve[]: 0 0 0 0
[    1.058405] DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 0kB
[    1.058943] DMA32: 3*4kB (UME) 1*8kB (U) 7*16kB (UE) 9*32kB (UE) 4*64kB (UME) 3*128kB (UME) 1*256kB (U) 1*512kB (M) 2*1024kB (UE) 1*2048kB (E) 101*4096kB (M) = 419620kB
[    1.059733] 6244 total pagecache pages
[    1.059978] 0 pages in swap cache
[    1.060136] Swap cache stats: add 0, delete 0, find 0/0
[    1.060397] Free swap  = 0kB
[    1.060553] Total swap = 0kB
[    1.060757] 131071 pages RAM
[    1.060912] 0 pages HighMem/MovableOnly
[    1.061161] 18137 pages reserved
[    1.061524] sr 1:0:0:0: [sr0] out of memory.
[    1.061776] cdrom: Uniform CD-ROM driver Revision: 3.20
[    1.091522] Freeing unused kernel memory: 21544K

Based on the log, the sr_probe function fails to allocate memory from the low 16MB DMA_ZONE, which is exhausted. While on 32-bit targets the bootup continues and login is possible, there may still be related or follow-on memory problems. For example, malta/mipseb64 shows the same memory allocation failure, and then a subsequent SIGSEGV during init startup leads to a boot loop.

07.08.20203277Base systemBug ReportVery LowCriticalmalta/mipseb64:TrunkUnconfirmed Task Description

On current master, the image for target malta (mipseb64) errors during startup of the init process, resulting in a boot loop.

Two points to note:
- the problem is not seen with the previous 4.19 kernel
- the malta/mipsel64 image fails to build, so the same init error cannot be verified for the alternate endian platform

The specific error is a SIGSEGV fault:

[    1.061776] cdrom: Uniform CD-ROM driver Revision: 3.20
[    1.091522] Freeing unused kernel memory: 21544K
[    1.091778] This architecture does not have kernel memory protection.
[    1.092156] Run /init as init process
[    1.137374] random: fast init done
[    1.197756] init: Console is alive
[    1.284807] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.294466] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    1.309498] init: - preinit -
[    1.321863] do_page_fault(): sending SIGSEGV to init for invalid read access from 0000000000000360
[    1.322458] epc = 0000000000000360 in init[aaaba5c000+4000]
[    1.323185] ra  = 000000fffd40d5e0 in
[    1.325513] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    1.326546] Rebooting in 1 seconds..
07.08.20203276ToolchainBug ReportVery LowCriticaltoolchain/binutils 2.34 fails to build for malta target...TrunkUnconfirmed Task Description

Attempting to build images for malta/mipsel64 on current master fails during compile of binutils toolchain. This has occurred since recent OpenWRT commit 54124e1e1c (”toolchain: binutils: Use version 2.34 by default”).

A log file of the build is attached, and a telltale error seems to be:

make[7]: *** No rule to make target 'elf64ltsmip.o', needed by 'ld-new'.  Stop.

This build failure is blocking further testing of malta mips64 platforms with kernel 5.4.

06.08.20203275Base systemBug ReportVery LowLowMT7621 - Clients disconnecting / deauthenticated due to...TrunkUnconfirmed Task Description

Model Netgear R6220
Architecture MediaTek MT7621
OpenWrt 19.07.3 r11063-85e04e9f46

Wed Aug  5 13:20:29 2020 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 90:78:****
Wed Aug  5 13:20:29 2020 daemon.info hostapd: wlan0: STA 90:78:**** RADIUS: starting accounting session ACBA497F6AD16C46
Wed Aug  5 13:20:29 2020 daemon.info hostapd: wlan0: STA 90:78:**** WPA: pairwise key handshake completed (RSN)
Wed Aug  5 13:20:29 2020 daemon.info hostapd: wlan1: STA 90:78:**** IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Wed Aug  5 13:20:35 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 90:78:****
Wed Aug  5 13:20:35 2020 daemon.info hostapd: wlan0: STA 90:78:**** IEEE 802.11: disassociated
Wed Aug  5 13:20:35 2020 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED 90:78:**** 1
Wed Aug  5 13:20:35 2020 daemon.info hostapd: wlan1: STA 90:78:**** IEEE 802.11: associated (aid 1)
Wed Aug  5 13:20:35 2020 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 90:78:****
Wed Aug  5 13:20:35 2020 daemon.info hostapd: wlan1: STA 90:78:**** RADIUS: starting accounting session B30F2D4C310A41EA
Wed Aug  5 13:20:35 2020 daemon.info hostapd: wlan1: STA 90:78:**** WPA: pairwise key handshake completed (RSN)
Wed Aug  5 13:20:36 2020 daemon.info hostapd: wlan0: STA 90:78:**** IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11g'
	option path 'pci0000:00/0000:00:01.0/0000:02:00.0'
	option htmode 'HT20'
	option country 'PL'
	option channel '11'
	option legacy_rates '0'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid '*****'
	option key '**********'
	option ft_over_ds '1'
	option ieee80211w '1'
	option ft_psk_generate_local '1'
	option ieee80211r '1'
	option mobility_domain '27DB'
	option encryption 'sae'
	option disassoc_low_ack '0'

config wifi-device 'radio1'
	option type 'mac80211'
	option hwmode '11a'
	option path 'pci0000:00/0000:00:00.0/0000:01:00.0'
	option htmode 'VHT80'
	option country 'PL'
	option channel '128'
	option legacy_rates '0'

config wifi-iface 'wifinet3'
	option ssid '*****-IoT'
	option encryption 'psk2+ccmp'
	option device 'radio0'
	option mode 'ap'
	option ieee80211w '1'
	option key '**********'
	option ft_over_ds '1'
	option ft_psk_generate_local '1'
	option ieee80211r '1'
	option mobility_domain '285D'
	option disassoc_low_ack '0'

config wifi-iface 'wifinet4'
	option ssid '*****_5GHz'
	option device 'radio1'
	option ieee80211r '1'
	option ft_over_ds '1'
	option key '**********'
	option network 'lan'
	option mode 'ap'
	option ieee80211w '1'
	option ft_psk_generate_local '1'
	option mobility_domain '27DB'
	option encryption 'sae'
	option disassoc_low_ack '0'

config wifi-iface 'wifinet6'
	option ssid '*****_5GHz-IoT'
	option encryption 'psk2+ccmp'
	option device 'radio1'
	option ieee80211r '1'
	option ft_over_ds '1'
	option key '**********'
	option mode 'ap'
	option ieee80211w '1'
	option ft_psk_generate_local '1'
	option mobility_domain '285D'
	option disassoc_low_ack '0'

config wifi-iface 'wifinet5'
	option ssid '*****-Guest'
	option encryption 'psk2+ccmp'
	option device 'radio0'
	option mode 'ap'
	option ieee80211w '1'
	option ft_over_ds '1'
	option mobility_domain '28B1'
	option ft_psk_generate_local '1'
	option ieee80211r '1'
	option network 'lan'
	option key '**********'
	option disassoc_low_ack '0'

config wifi-iface 'wifinet7'
	option ssid '*****_5GHz-Guest'
	option encryption 'psk2+ccmp'
	option device 'radio1'
	option mode 'ap'
	option ieee80211w '1'
	option ft_over_ds '1'
	option ft_psk_generate_local '1'
	option ieee80211r '1'
	option mobility_domain '28B1'
	option network 'lan'
	option key '**********'
	option disassoc_low_ack '0'
 


06.08.20203274KernelBug ReportVery LowHighAn error is reported at each start-up phaseAllUnconfirmed Task Description

1.Error log:
[ 63.368179] i915 0000:00:02.0: Failed to load DMC firmware i915/glk_dmc_ver1_04.bin. Disabling runtime power management.
[ 63.379745] i915 0000:00:02.0: DMC firmware homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915

2.Problem:Sometimes the power is suddenly cut off and the machine crashes

3.System information:
Intel(R) Celeron(R) J4105 CPU @ 1.50GHz : 4 Core 4 Thread
OpenWrt R20.7.20 / LuCI Master (git-20.191.45716-b73d3a4)

4.I tried to use the graphics driver to the kernel.The mistake did not disappear.In addition, I swiped in the latest firmware compiled by others.The problem remains
I tried to upgrade the kernel to 5.4.56, which did not solve the problem.Please help me

06.08.20203273KernelBug ReportVery LowHighVLAN isolation failed on ipq40xx (GL-B1300)TrunkUnconfirmed Task Description

ipq40xx GL-B1300 OpenWrt snapshot

It seems that recent snapshots broke vlan isolation, I guess https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=9da2b567605b0964d921b9ca4f0c9886db4f636d should be responsible.

More information on https://forum.openwrt.org/t/vlan-isolation-failed-on-ipq40xx-gl-b1300

05.08.20203272KernelBug ReportVery LowMediumjffs2 will erase on every reboot the rootfs_data partit...TrunkUnconfirmed Task Description

I wanted to add support fpr the Nanobeam AC Gen2. https://github.com/openwrt/openwrt/pull/3266

Everything works with trunk compiled with 4.19. Switching to 5.4 seems to not correctly unlock the flash. OpenWrt finds “End of filesystem marker found at 0×0” after a reboot and erases the flash again.

First Boot

Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
mount_root: jffs2 not ready yet, using temporary tmpfs overlay
jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
jffs2_build_filesystem(): unlocking the mtd device...
jffs2_build_filesystem(): erasing all blocks after the end marker...
jffs2: Newly-erased block contained word 0x0 at offset 0x00420000
jffs2: Newly-erased block contained word 0xdeadc0de at offset 0x00410000
jffs2: Newly-erased block contained word 0xdeadc0de at offset 0x003f0000
jffs2: Newly-erased block contained word 0xb3aedd63 at offset 0x003e0000
jffs2: Newly-erased block contained word 0xd31704ef at offset 0x003d0000
jffs2: Newly-erased block contained word 0x756c245f at offset 0x003c0000
jffs2: Newly-erased block contained word 0x672c1aa9 at offset 0x003b0000
jffs2: Newly-erased block contained word 0xb59345ff at offset 0x003a0000
jffs2: Newly-erased block contained word 0x45e1dc8b at offset 0x00390000
jffs2: Newly-erased block contained word 0x9e92aeea at offset 0x00380000
jffs2: Newly-erased block contained word 0xf9d35c83 at offset 0x00370000
jffs2: Newly-erased block contained word 0xc2075909 at offset 0x00360000
jffs2: Newly-erased block contained word 0x87facdde at offset 0x00350000
jffs2: Newly-erased block contained word 0x65c65c73 at offset 0x00340000
jffs2: notice: (1466) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
mount_root: failed to sync jffs2 overlay

Full Log

Reboot

Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00340000: 0x65c6 instead
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00360024: 0x02b5 instead
...
jffs2: Further such events for this erase block will not be printed
jffs2: Old JFFS2 bitmask found at 0x00369840
jffs2: You cannot use older JFFS2 filesystems with newer kernels
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00370000: 0xf9d3 instead
...
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00390024: 0x3669 instead
jffs2: Further such events for this erase block will not be printed
jffs2: Old JFFS2 bitmask found at 0x00395294
jffs2: You cannot use older JFFS2 filesystems with newer kernels
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003a0000: 0xb593 instead
...
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003e0024: 0x79a9 instead
jffs2: Further such events for this erase block will not be printed
jffs2: Empty flash at 0x003e1e98 ends at 0x003e2000
jffs2: Empty flash at 0x003e2004 ends at 0x003e4000
jffs2_scan_eraseblock(): End of filesystem marker found at 0x3f0000
jffs2_build_filesystem(): unlocking the mtd device...
jffs2_build_filesystem(): erasing all blocks after the end marker...
jffs2: Newly-erased block contained word 0x0 at offset 0x00420000
jffs2: Newly-erased block contained word 0xdeadc0de at offset 0x00410000
jffs2: Newly-erased block contained word 0xdeadc0de at offset 0x003f0000
jffs2: Newly-erased block contained word 0xb3aedd63 at offset 0x003e0000
jffs2: Newly-erased block contained word 0xd31704ef at offset 0x003d0000
jffs2: Newly-erased block contained word 0x756c245f at offset 0x003c0000
jffs2: Newly-erased block contained word 0x672c1aa9 at offset 0x003b0000
jffs2: Newly-erased block contained word 0xb59345ff at offset 0x003a0000
jffs2: Newly-erased block contained word 0x45e1dc8b at offset 0x00390000
jffs2: Newly-erased block contained word 0x9e92aeea at offset 0x00380000
jffs2: Newly-erased block contained word 0xf9d35c83 at offset 0x00370000
jffs2: Newly-erased block contained word 0xc2075909 at offset 0x00360000
jffs2: Newly-erased block contained word 0x87facdde at offset 0x00350000
jffs2: Newly-erased block contained word 0x65c65c73 at offset 0x00340000
jffs2: notice: (500) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
mount_root: switching to jffs2 overlay

Full Log

Probably Related Issues - Patch for disabling software protection - SPI Nor Driver - [[https://dev.archive.openwrt.org/ticket/20982|jffs2-error / nanostation M5 xw / r47658]

Some Infos - NOR
- Flash Chip Supports 4K erases in addition to 64K
-

Layout AirOS 8.7

WA# cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00100000 00010000 "kernel"
mtd3: 00e60000 00010000 "rootfs"
mtd4: 00040000 00010000 "cfg"
mtd5: 00010000 00010000 "EEPROM"

MTD 4.19

dev:    size   erasesize  name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00f60000 00010000 "firmware"
mtd3: 001c0000 00010000 "kernel"
mtd4: 00da0000 00010000 "rootfs"
mtd5: 00b30000 00010000 "rootfs_data"
mtd6: 00040000 00010000 "cfg"
mtd7: 00010000 00010000 "art"

MTD 5.4 TODO

04.08.20203271Base systemBug ReportVery LowLowWAN-eth1 restarts constantly and stops completely after...TrunkUnconfirmed Task Description

I have a TP-link Archer C60 v1 that has a serious problem of constant disconnections every few minutes (approx 4 to 1 hour). It seems to be random, or something I’m not seeing.

Device info.

Report in the OpenWrt forum here and here.

The problem happens with official or own compilations.

root@archer_c60:~# dmesg
[    0.000000] Linux version 5.4.52 (franco@ubuntu) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r14025-009e62c92c)) #0 Mon Aug 3 21:34:34 2020
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is TP-Link Archer C60 v1
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000]   Normal zone: 144 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 57348K/65536K available (4786K kernel code, 186K rwdata, 1112K rodata, 1204K init, 196K bss, 8188K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] random: get_random_bytes called from start_kernel+0x32c/0x518 with crng_init=0
[    0.000000] CPU clock: 775.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000006] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008216] Calibrating delay loop... 385.02 BogoMIPS (lpj=770048)
[    0.046713] pid_max: default: 32768 minimum: 301
[    0.051703] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059420] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.071423] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.081738] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.089029] pinctrl core: initialized pinctrl subsystem
[    0.095494] NET: Registered protocol family 16
[    0.129728] clocksource: Switched to clocksource MIPS
[    0.136186] NET: Registered protocol family 2
[    0.141534] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.150415] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.158508] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.165952] TCP: Hash tables configured (established 1024 bind 1024)
[    0.172784] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.179723] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.187384] NET: Registered protocol family 1
[    0.192033] PCI: CLS 0 bytes, default 32
[    0.199601] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.212506] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.218699] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.242820] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.249924] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.257292] printk: console [ttyS0] disabled
[    0.261885] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.270991] printk: console [ttyS0] enabled
[    0.280058] printk: bootconsole [early0] disabled
[    0.299004] spi-nor spi0.0: gd25q64 (8192 Kbytes)
[    0.303934] 5 fixed-partitions partitions found on MTD device spi0.0
[    0.310502] Creating 5 MTD partitions on "spi0.0":
[    0.315464] 0x000000000000-0x000000010000 : "u-boot"
[    0.321473] 0x000000010000-0x000000020000 : "mac"
[    0.327179] 0x000000020000-0x0000007e0000 : "firmware"
[    0.336503] 2 uimage-fw partitions found on MTD device firmware
[    0.342670] Creating 2 MTD partitions on "firmware":
[    0.347820] 0x000000000000-0x0000001e8769 : "kernel"
[    0.353783] 0x0000001e8769-0x0000007c0000 : "rootfs"
[    0.359694] mtd: device 4 (rootfs) set to be root filesystem
[    0.367266] 1 squashfs-split partitions found on MTD device rootfs
[    0.373704] 0x000000720000-0x0000007c0000 : "rootfs_data"
[    0.380120] 0x0000007e0000-0x0000007f0000 : "tplink"
[    0.386169] 0x0000007f0000-0x000000800000 : "art"
[    0.393638] libphy: Fixed MDIO Bus: probed
[    0.730817] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
[    1.133724] random: fast init done
[    1.370090] libphy: ag71xx_mdio: probed
[    1.374808] libphy: ar8xxx-mdio: probed
[    1.383022] switch0: Atheros AR8229 rev. 1 switch registered on mdio.0
[    1.443277] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[    1.453133] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
[    1.459652] i2c /dev entries driver
[    1.465629] NET: Registered protocol family 10
[    1.475565] Segment Routing with IPv6
[    1.479506] NET: Registered protocol family 17
[    1.484184] 8021q: 802.1Q VLAN Support v1.8
[    1.489239] PCI host bridge /ahb/pcie-controller@18250000 ranges:
[    1.495606]  MEM 0x0000000012000000..0x0000000013ffffff
[    1.501011]   IO 0x0000000000000000..0x0000000000000000
[    1.506568] PCI host bridge to bus 0000:00
[    1.510837] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    1.517948] pci_bus 0000:00: root bus resource [io  0x0000]
[    1.523714] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    1.530731] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.538945] pci 0000:00:00.0: [168c:0056] type 00 class 0x028000
[    1.545205] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    1.552347] pci 0000:00:00.0: PME# supported from D0 D3hot
[    1.558929] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    1.565815] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    1.893261] ag71xx 19000000.eth: connected to PHY at mdio.0:1f:04 [uid=004dd042, driver=Generic PHY]
[    1.903527] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[    1.916678] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.930630] Freeing unused kernel memory: 1204K
[    1.935329] This architecture does not have kernel memory protection.
[    1.941979] Run /sbin/init as init process
[    2.603251] init: Console is alive
[    2.607070] init: - watchdog -
[    3.857698] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.901414] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.919321] init: - preinit -
[    4.761647] random: jshn: uninitialized urandom read (4 bytes read)
[    4.866893] random: jshn: uninitialized urandom read (4 bytes read)
[    5.008869] random: jshn: uninitialized urandom read (4 bytes read)
[    5.761280] eth0: link up (1000Mbps/Full duplex)
[    5.769806] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    5.781838] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[    5.821133] urandom_read: 4 callbacks suppressed
[    5.821140] random: procd: uninitialized urandom read (4 bytes read)
[   10.086330] jffs2: notice: (527) jffs2_build_xattr_subsystem: complete building xattr subsystem, 21 of xdatum (9 unchecked, 1 orphan) and 32 of xref (1 dead, 0 orphan) found.
[   10.104253] mount_root: switching to jffs2 overlay
[   10.139301] overlayfs: upper fs does not support tmpfile.
[   10.151067] urandom-seed: Seeding with /etc/urandom.seed
[   10.238894] eth0: link down
[   10.259802] procd: - early -
[   10.262927] procd: - watchdog -
[   10.866830] procd: - watchdog -
[   10.870377] procd: - ubus -
[   10.915048] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.924763] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.932683] procd: - init -
[   11.661864] kmodloader: loading kernel modules from /etc/modules.d/*
[   11.758839] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[   11.875205] Mirror/redirect action on
[   11.900395] u32 classifier
[   11.903248]     input device check on
[   11.907032]     Actions configured
[   11.942370] Loading modules backported from Linux version v5.8-rc2-0-g48778464bb7d
[   11.950239] Backport generated by backports.git v5.8-rc2-1-0-g7a69429b
[   12.015183] wireguard: WireGuard 1.0.20200729 loaded. See www.wireguard.com for information.
[   12.023954] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   12.125541] urngd: v1.0.2 started.
[   12.154690] xt_time: kernel timezone is -0000
[   12.432978] ath10k 5.4 driver, optimized for CT firmware, probing pci device: 0x56.
[   12.441047] ath10k_mac_create, priv_size: 804  hw: (ptrval)  hw->priv: (ptrval)
[   12.454450] random: crng init done
[   12.470492] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[   12.477291] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   14.858841] ath10k_pci 0000:00:00.0: qca9888 hw2.0 target 0x01000000 chip_id 0x00000000 sub 0000:0000
[   14.868416] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   14.888430] ath10k_pci 0000:00:00.0: firmware ver 10.4b-ct-9888-fW-013-d81f62d97 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 937128b4
[   15.223010] ath10k_pci 0000:00:00.0: failed to fetch board data for bus=pci,bmi-chip-id=0,bmi-board-id=20 from ath10k/QCA9888/hw2.0/board-2.bin
[   15.237129] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id 0:20 crc32 8971a1b4
[   17.273475] ath10k_pci 0000:00:00.0: unsupported HTC service id: 1536
[   17.283350] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   17.291138] ath10k_pci 0000:00:00.0: msdu-desc: 2500  skid: 32
[   17.321246] ath10k_pci 0000:00:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   17.332536] ath10k_pci 0000:00:00.0: wmi print 'free: 114524 iram: 12628 sram: 29508'
[   17.566737] ath10k_pci 0000:00:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[   17.648824] ath: EEPROM regdomain sanitized
[   17.648834] ath: EEPROM regdomain: 0x64
[   17.648837] ath: EEPROM indicates we should expect a direct regpair map
[   17.648854] ath: Country alpha2 being used: 00
[   17.648857] ath: Regpair used: 0x64
[   17.732561] ath: EEPROM regdomain sanitized
[   17.732571] ath: EEPROM regdomain: 0x64
[   17.732574] ath: EEPROM indicates we should expect a direct regpair map
[   17.732593] ath: Country alpha2 being used: 00
[   17.732596] ath: Regpair used: 0x64
[   17.744788] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   17.746726] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2
[   17.784311] kmodloader: done loading kernel modules from /etc/modules.d/*
[   29.726074] eth0: link up (1000Mbps/Full duplex)
[   29.744030] br-lan: port 1(eth0.1) entered blocking state
[   29.749664] br-lan: port 1(eth0.1) entered disabled state
[   29.755551] device eth0.1 entered promiscuous mode
[   29.760547] device eth0 entered promiscuous mode
[   29.773858] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   29.845863] br-lan: port 1(eth0.1) entered blocking state
[   29.851467] br-lan: port 1(eth0.1) entered forwarding state
[   30.753814] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   32.003594] eth1: link up (100Mbps/Full duplex)
[   32.028748] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   32.790926] ath: EEPROM regdomain: 0x8020
[   32.795121] ath: EEPROM indicates we should expect a country code
[   32.801425] ath: doing EEPROM country->regdmn map search
[   32.806913] ath: country maps to regdmn code: 0x3b
[   32.811867] ath: Country alpha2 being used: AR
[   32.816462] ath: Regpair used: 0x3b
[   32.820066] ath: regdomain 0x8020 dynamically updated by user
[   32.826071] ath: EEPROM regdomain: 0x8020
[   32.830223] ath: EEPROM indicates we should expect a country code
[   32.836514] ath: doing EEPROM country->regdmn map search
[   32.841998] ath: country maps to regdmn code: 0x3b
[   32.846944] ath: Country alpha2 being used: AR
[   32.851530] ath: Regpair used: 0x3b
[   32.855135] ath: regdomain 0x8020 dynamically updated by user
[   35.621539] br-lan: port 2(2G_ap) entered blocking state
[   35.627088] br-lan: port 2(2G_ap) entered disabled state
[   35.632889] device 2G_ap entered promiscuous mode
[   36.767071] IPv6: ADDRCONF(NETDEV_CHANGE): 2G_ap: link becomes ready
[   36.773915] br-lan: port 2(2G_ap) entered blocking state
[   36.779457] br-lan: port 2(2G_ap) entered forwarding state
[   39.593566] ath10k_pci 0000:00:00.0: unsupported HTC service id: 1536
[   39.600391] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   39.608239] ath10k_pci 0000:00:00.0: msdu-desc: 2500  skid: 32
[   39.638423] ath10k_pci 0000:00:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   39.649793] ath10k_pci 0000:00:00.0: wmi print 'free: 114524 iram: 12628 sram: 29508'
[   39.962495] ath10k_pci 0000:00:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[   40.056094] br-lan: port 3(5G_ap) entered blocking state
[   40.061668] br-lan: port 3(5G_ap) entered disabled state
[   40.067470] device 5G_ap entered promiscuous mode
[   40.592976] ath10k_pci 0000:00:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   42.454916] IPv6: ADDRCONF(NETDEV_CHANGE): 5G_ap: link becomes ready
[   42.461871] br-lan: port 3(5G_ap) entered blocking state
[   42.467408] br-lan: port 3(5G_ap) entered forwarding state
[   71.382406] ath10k_pci 0000:00:00.0: Invalid VHT mcs 15 peer stats
[  341.666028] eth1: link down
[  344.483336] eth1: link up (100Mbps/Full duplex)
[  344.491658] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[  578.229353] ath10k_pci 0000:00:00.0: htt tx: fixing invalid VHT TX rate code 0xff
[  592.368021] eth1: link down
[  594.703887] eth1: link up (100Mbps/Full duplex)
[  594.714352] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[  731.949888] eth1: link down
[  734.221962] eth1: link up (100Mbps/Full duplex)
[  734.227213] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[  820.236857] eth1: link down
[  822.605965] eth1: link up (100Mbps/Full duplex)
[  822.610905] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[  826.702190] eth1: link down
[  829.102014] eth1: link up (100Mbps/Full duplex)
[  829.107387] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 1649.347796] eth1: link down
[ 1651.621462] eth1: link up (100Mbps/Full duplex)
[ 1651.626465] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 1841.056988] eth1: link down
[ 1843.456817] eth1: link up (100Mbps/Full duplex)
[ 1843.461740] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 2180.413149] eth1: link down
[ 2182.718570] eth1: link up (100Mbps/Full duplex)
[ 2182.724457] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 2198.078586] eth1: link down
[ 2200.350082] eth1: link up (100Mbps/Full duplex)
[ 2200.355326] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 2767.640586] eth1: link down
[ 2769.913486] eth1: link up (100Mbps/Full duplex)
[ 2769.918880] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 3632.176061] eth1: link down
[ 3634.929548] eth1: link up (100Mbps/Full duplex)
[ 3634.947194] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 4204.358095] eth1: link down
[ 4206.821967] eth1: link up (100Mbps/Full duplex)
[ 4206.826885] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 4285.669868] eth1: link down
[ 4288.549039] eth1: link up (100Mbps/Full duplex)
[ 4288.553962] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 4437.028463] eth1: link down
[ 4439.299787] eth1: link up (100Mbps/Full duplex)
[ 4439.305020] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 5146.874710] eth1: link down
[ 5149.368670] eth1: link up (100Mbps/Full duplex)
[ 5149.374116] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 5381.813951] eth1: link down
[ 5384.055038] eth1: link up (100Mbps/Full duplex)
[ 5384.059934] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 5642.100393] eth1: link down
[ 5644.373038] eth1: link up (100Mbps/Full duplex)
[ 5644.378482] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 7494.721193] eth1: link down
[ 7497.344721] eth1: link up (100Mbps/Full duplex)
[ 7497.349853] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 7498.367589] eth1: link down
[ 7501.023786] eth1: link up (100Mbps/Full duplex)
[ 7501.033810] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 7768.284460] eth1: link down
[ 7770.555910] eth1: link up (100Mbps/Full duplex)
[ 7770.560802] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 8019.384339] eth1: link down
[ 8021.625385] eth1: link up (100Mbps/Full duplex)
[ 8021.630736] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 8403.572058] eth1: link down
[ 8405.813090] eth1: link up (100Mbps/Full duplex)
[ 8405.818007] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 8527.667165] eth1: link down
[ 8529.907650] eth1: link up (100Mbps/Full duplex)
[ 8529.914523] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 8880.112215] eth1: link down
[ 8882.383496] eth1: link up (100Mbps/Full duplex)
[ 8882.388796] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 9199.819312] eth1: link down
[ 9202.091975] eth1: link up (100Mbps/Full duplex)
[ 9202.096881] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 9356.713628] eth1: link down
[ 9358.954413] eth1: link up (100Mbps/Full duplex)
[ 9358.959717] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 9633.414597] eth1: link down
[ 9635.687330] eth1: link up (100Mbps/Full duplex)
[ 9635.692245] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 9684.873413] eth1: link down
[ 9687.110800] eth1: link up (100Mbps/Full duplex)
[ 9687.116036] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[10674.234523] eth1: link down
[10676.505354] eth1: link up (100Mbps/Full duplex)
[10676.510427] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[10983.699927] eth1: link down
[10985.941798] eth1: link up (100Mbps/Full duplex)
[10985.946692] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[11115.987273] eth1: link down
[11118.227019] eth1: link up (100Mbps/Full duplex)
[11118.231935] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[11258.511665] eth1: link down
[11260.752903] eth1: link up (100Mbps/Full duplex)
[11260.757818] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[12051.270601] eth1: link down
[12053.542580] eth1: link up (100Mbps/Full duplex)
[12053.547634] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[12224.548043] eth1: link down
[12226.820838] eth1: link up (100Mbps/Full duplex)
[12226.826133] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[13093.116349] eth1: link down
[13095.388099] eth1: link up (100Mbps/Full duplex)
[13095.393036] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[13237.723403] eth1: link down
[13239.994531] eth1: link up (100Mbps/Full duplex)
[13239.999449] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[13480.631361] eth1: link down
[13482.903933] eth1: link up (100Mbps/Full duplex)
[13482.908827] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[14079.986670] eth1: link down
[14082.865153] eth1: link up (100Mbps/Full duplex)
[14082.875799] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[14136.142960] eth1: link down
[14138.480152] eth1: link up (100Mbps/Full duplex)
[14138.485048] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[14326.892801] eth1: link down
[14329.165044] eth1: link up (100Mbps/Full duplex)
[14329.170437] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[15205.698224] eth1: link down
[15208.034072] eth1: link up (100Mbps/Full duplex)
[15208.038993] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[16868.939213] eth1: link down
[16871.691530] eth1: link up (100Mbps/Full duplex)
[16871.696502] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[17219.845264] eth1: link down
[17222.085945] eth1: link up (100Mbps/Full duplex)
[17222.091188] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[17266.116135] eth1: link down
[17268.358170] eth1: link up (100Mbps/Full duplex)
[17268.363287] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[18608.757159] eth1: link down
[18610.998442] eth1: link up (100Mbps/Full duplex)
[18611.003804] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[18764.595469] eth1: link down
[18766.836763] eth1: link up (100Mbps/Full duplex)
[18766.841656] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[20083.683566] eth1: link down
[20085.924491] eth1: link up (100Mbps/Full duplex)
[20085.929635] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[20258.977467] eth1: link down
[20261.250149] eth1: link up (100Mbps/Full duplex)
[20261.255096] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[20799.867102] eth1: link down
[20800.905538] eth1: link up (100Mbps/Full duplex)
[20801.403850] eth1: link down
[20803.739123] eth1: link up (100Mbps/Full duplex)
[20803.744597] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[20860.057661] eth1: link down
[20862.298378] eth1: link up (100Mbps/Full duplex)
[20862.303274] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[21054.806768] eth1: link down
[21057.335858] eth1: link up (100Mbps/Full duplex)
[21057.340763] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[21401.394255] eth1: link down
[21403.667456] eth1: link up (100Mbps/Full duplex)
[21403.673375] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[21526.544502] eth1: link down
[21528.785624] eth1: link up (100Mbps/Full duplex)
[21528.790873] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[22750.558286] eth1: link down
[22752.991528] eth1: link up (100Mbps/Full duplex)
[22752.996798] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[23049.946588] eth1: link down
[23052.667230] eth1: link up (100Mbps/Full duplex)
[23052.672628] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[23937.424784] eth1: link down
[23939.918740] eth1: link up (100Mbps/Full duplex)
[23939.923699] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[24151.883187] eth1: link down
[24154.155689] eth1: link up (100Mbps/Full duplex)
[24154.160921] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[24189.994240] eth1: link down
[24192.267137] eth1: link up (100Mbps/Full duplex)
[24192.272514] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[24815.876173] eth1: link down
[24818.146255] eth1: link up (100Mbps/Full duplex)
[24818.151147] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[24919.520764] eth1: link down
[24921.760804] eth1: link up (100Mbps/Full duplex)
[24921.765696] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[25562.774798] eth1: link down
[25565.047734] eth1: link up (100Mbps/Full duplex)
[25565.053118] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[25785.204201] eth1: link down
[25787.476678] eth1: link up (100Mbps/Full duplex)
[25787.481822] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[26773.733380] eth1: link down
[26776.714562] eth1: link up (100Mbps/Full duplex)
[26776.730903] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[26790.085415] eth1: link down
[26792.678448] eth1: link up (100Mbps/Full duplex)
[26792.697842] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[27487.164577] eth1: link down
[27489.660947] eth1: link up (100Mbps/Full duplex)
[27489.668112] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[28290.895944] eth1: link down
[28293.425287] eth1: link up (100Mbps/Full duplex)
[28293.437604] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[28658.059181] eth1: link down
[28660.812898] eth1: link up (100Mbps/Full duplex)
[28660.826712] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[28743.785857] eth1: link down
[28746.187045] eth1: link up (100Mbps/Full duplex)
[28746.191940] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[28782.025579] eth1: link down
[28784.266545] eth1: link up (100Mbps/Full duplex)
[28784.271471] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[30246.613459] eth1: link down
[30249.014683] eth1: link up (100Mbps/Full duplex)
[30249.019603] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[32144.537910] eth1: link down
[32147.131202] eth1: link up (100Mbps/Full duplex)
[32147.149670] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[38872.203135] eth1: link down
[38873.247956] eth1: link up (100Mbps/Full duplex)
[38873.695232] eth1: link down
[38876.139641] eth1: link up (100Mbps/Full duplex)
[38876.144565] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[39186.470864] eth1: link down
[39189.224149] eth1: link up (100Mbps/Full duplex)
[39189.238760] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[40019.293485] eth1: link down
[40022.302813] eth1: link up (100Mbps/Full duplex)
[40022.317265] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[41084.176732] eth1: link down
[41087.250081] eth1: link up (100Mbps/Full duplex)
[41087.260597] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[43065.688340] eth1: link down
[43066.762455] eth1: link up (100Mbps/Full duplex)
[43066.780405] eth1: link down
[43068.953581] eth1: link up (100Mbps/Full duplex)
[43068.964050] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[45176.735987] eth1: link down
[45177.813318] eth1: link up (100Mbps/Full duplex)
[45177.929459] eth1: link down
[45180.003569] eth1: link up (100Mbps/Full duplex)
[45180.015357] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[47273.319242] eth1: link down
[47275.708534] eth1: link up (100Mbps/Full duplex)
[47275.718181] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[47301.574020] eth1: link down
[47304.040059] eth1: link up (100Mbps/Full duplex)
[47304.045503] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[47480.355611] eth1: link down
[47481.427781] eth1: link up (100Mbps/Full duplex)
[47481.447013] eth1: link down
[47483.556901] eth1: link up (100Mbps/Full duplex)
[47483.567363] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[53730.071248] eth1: link down
[53731.096636] eth1: link up (100Mbps/Full duplex)
[53732.239828] eth1: link down
[53734.649205] eth1: link up (100Mbps/Full duplex)
[53734.654139] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[54051.443072] ath10k_pci 0000:00:00.0: Cannot communicate with firmware, previous wmi cmds: 36967:13437256 36967:13437239 36965:13436981 40859:13436981, jiffies: 13438016, attempting to fake crash and restart firmware, dev-flags: 0x42
[54051.464514] ath10k_pci 0000:00:00.0: failed to send wmi nop: -143
[54051.470856] ath10k_pci 0000:00:00.0: could not request stats (type -268435456 ret -143 specifier 1)
[54051.589474] ath10k_pci 0000:00:00.0: firmware crashed! (guid n/a)
[54051.595832] ath10k_pci 0000:00:00.0: qca9888 hw2.0 target 0x01000000 chip_id 0x00000000 sub 0000:0000
[54051.605430] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[54051.625558] ath10k_pci 0000:00:00.0: firmware ver 10.4b-ct-9888-fW-013-d81f62d97 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 937128b4
[54051.655549] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id 0:20 crc32 8971a1b4
[54051.663289] ath10k_pci 0000:00:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[54051.684158] ath10k_pci 0000:00:00.0: failed to get memcpy hi address for firmware address 4: -16
[54051.693254] ath10k_pci 0000:00:00.0: failed to read firmware dump area: -16
[54051.700454] ath10k_pci 0000:00:00.0: in crash-regs-harder
[54052.859201] ath10k_pci 0000:00:00.0: in crash-regs-harder, firmware did not provide indicator: 0x2
[54052.868542] ath10k_pci 0000:00:00.0: Copy Engine register dump:
[54052.874710] ath10k_pci 0000:00:00.0: [00]: 0x0004a000   5   5   3   3
[54052.881383] ath10k_pci 0000:00:00.0: [01]: 0x0004a400  21  21  91  92
[54052.888060] ath10k_pci 0000:00:00.0: [02]: 0x0004a800  63  63  62  63
[54052.894737] ath10k_pci 0000:00:00.0: [03]: 0x0004ac00  20  16  20  16
[54052.901405] ath10k_pci 0000:00:00.0: [04]: 0x0004b000 4791 4791  57  17
[54052.908248] ath10k_pci 0000:00:00.0: [05]: 0x0004b400  19  19  50  51
[54052.914919] ath10k_pci 0000:00:00.0: [06]: 0x0004b800  25  25  25  25
[54052.921580] ath10k_pci 0000:00:00.0: [07]: 0x0004bc00   0   1   0   1
[54052.928247] ath10k_pci 0000:00:00.0: [08]: 0x0004c000   0   0 127   0
[54052.934918] ath10k_pci 0000:00:00.0: [09]: 0x0004c400   0   0   0   0
[54052.941579] ath10k_pci 0000:00:00.0: [10]: 0x0004c800   0   0   0   0
[54052.948244] ath10k_pci 0000:00:00.0: [11]: 0x0004cc00   0   0   0   0
[54052.955045] ath10k_pci 0000:00:00.0: failed to get memcpy hi address for firmware address 8: -28
[54052.964224] ath10k_pci 0000:00:00.0: failed to dump debug log area: -28
[54054.231779] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request: -143
[54054.283727] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -143
[54054.291449] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -143
[54054.299559] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -143
[54054.308003] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -143
[54054.315853] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -143
[54054.323152] ath10k_pci 0000:00:00.0: failed to set mgmt tx rate -143
[54057.534308] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer e80ddcc2 vdev: 0 addr: 50:c7:bf:75:81:af 
[54057.545794] ath10k_pci 0000:00:00.0: failed to read hi_board_data address: -28
[54057.710699] ieee80211 phy0: Hardware restart was requested
[54059.808138] ath10k_pci 0000:00:00.0: unsupported HTC service id: 1536
[54059.815390] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[54059.823264] ath10k_pci 0000:00:00.0: msdu-desc: 2500  skid: 32
[54059.853446] ath10k_pci 0000:00:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[54059.864797] ath10k_pci 0000:00:00.0: wmi print 'free: 114524 iram: 12628 sram: 29508'
[54060.177482] ath10k_pci 0000:00:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[54060.387955] ath10k_pci 0000:00:00.0: device successfully recovered
[56380.150084] eth1: link down
[56382.455362] eth1: link up (100Mbps/Full duplex)
[56382.460915] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[57573.479020] eth1: link down
[57575.848305] eth1: link up (100Mbps/Full duplex)
[57575.857942] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[62279.278882] eth1: link down
[62282.093972] eth1: link up (100Mbps/Full duplex)
[62282.106792] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[62566.921643] eth1: link down
[62569.642374] eth1: link up (100Mbps/Full duplex)
[62569.647702] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[64258.228833] eth1: link down
[64260.469184] eth1: link up (100Mbps/Full duplex)
[64260.475349] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[64432.498472] eth1: link down
[64434.770921] eth1: link up (100Mbps/Full duplex)
[64434.776356] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[64681.582940] eth1: link down
[64683.855712] eth1: link up (100Mbps/Full duplex)
[64683.860607] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[67376.940335] eth1: link down
[67379.277635] eth1: link up (100Mbps/Full duplex)
[67379.294109] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[68199.649623] eth1: link down
[68201.958955] eth1: link up (100Mbps/Full duplex)
[68201.969490] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[68440.734545] eth1: link down
[68443.103654] eth1: link up (100Mbps/Full duplex)
[68443.110942] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[68926.670978] eth1: link down
[68928.765150] eth1: link up (100Mbps/Full duplex)
[68928.783506] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[69076.342428] eth1: link down
[69078.711358] eth1: link up (100Mbps/Full duplex)
[69078.716498] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[69122.741131] eth1: link down
[69125.815266] eth1: link up (100Mbps/Full duplex)
[69125.822898] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[69135.124950] eth1: link down
[69137.334553] eth1: link up (100Mbps/Full duplex)
[69137.340172] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[69379.154014] eth1: link down
[69381.426908] eth1: link up (100Mbps/Full duplex)
[69381.432153] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
root@archer_c60:~# logread | grep udhcpc
Tue Aug  4 14:00:10 2020 daemon.notice netifd: wan (11433): udhcpc: received SIGTERM
Tue Aug  4 14:00:10 2020 daemon.notice netifd: wan (11433): udhcpc: unicasting a release of 190.244.135.61 to 172.20.2.226
Tue Aug  4 14:00:10 2020 daemon.notice netifd: wan (11433): udhcpc: sending release
Tue Aug  4 14:00:10 2020 daemon.notice netifd: wan (11433): udhcpc: entering released state
Tue Aug  4 14:00:12 2020 daemon.notice netifd: wan (12732): udhcpc: started, v1.31.1
Tue Aug  4 14:00:12 2020 daemon.notice netifd: wan (12732): udhcpc: sending discover
Tue Aug  4 14:00:15 2020 daemon.notice netifd: wan (12732): udhcpc: sending discover
Tue Aug  4 14:00:15 2020 daemon.notice netifd: wan (12732): udhcpc: sending select for 190.244.135.61
Tue Aug  4 14:00:15 2020 daemon.notice netifd: wan (12732): udhcpc: lease of 190.244.135.61 obtained, lease time 11197
Tue Aug  4 14:04:19 2020 daemon.notice netifd: wan (12732): udhcpc: received SIGTERM
Tue Aug  4 14:04:19 2020 daemon.notice netifd: wan (12732): udhcpc: unicasting a release of 190.244.135.61 to 172.20.2.226
Tue Aug  4 14:04:19 2020 daemon.notice netifd: wan (12732): udhcpc: sending release
Tue Aug  4 14:04:19 2020 daemon.notice netifd: wan (12732): udhcpc: entering released state
Tue Aug  4 14:04:21 2020 daemon.notice netifd: wan (13989): udhcpc: started, v1.31.1
Tue Aug  4 14:04:21 2020 daemon.notice netifd: wan (13989): udhcpc: sending discover
Tue Aug  4 14:04:21 2020 daemon.notice netifd: wan (13989): udhcpc: sending select for 190.244.135.61
Tue Aug  4 14:04:21 2020 daemon.notice netifd: wan (13989): udhcpc: lease of 190.244.135.61 obtained, lease time 10951
Tue Aug  4 14:49:14 2020 daemon.notice netifd: wan (13989): udhcpc: received SIGTERM
Tue Aug  4 14:49:14 2020 daemon.notice netifd: wan (13989): udhcpc: unicasting a release of 190.244.135.61 to 172.20.2.226
Tue Aug  4 14:49:14 2020 daemon.notice netifd: wan (13989): udhcpc: sending release
Tue Aug  4 14:49:14 2020 daemon.notice netifd: wan (13989): udhcpc: entering released state
Tue Aug  4 14:49:17 2020 daemon.notice netifd: wan (15789): udhcpc: started, v1.31.1
Tue Aug  4 14:49:17 2020 daemon.notice netifd: wan (15789): udhcpc: sending discover
Tue Aug  4 14:49:17 2020 daemon.notice netifd: wan (15789): udhcpc: sending select for 190.244.135.61
Tue Aug  4 14:49:17 2020 daemon.notice netifd: wan (15789): udhcpc: lease of 190.244.135.61 obtained, lease time 19655
Tue Aug  4 15:02:57 2020 daemon.notice netifd: wan (15789): udhcpc: received SIGTERM
Tue Aug  4 15:02:57 2020 daemon.notice netifd: wan (15789): udhcpc: unicasting a release of 190.244.135.61 to 172.20.2.226
Tue Aug  4 15:02:57 2020 daemon.notice netifd: wan (15789): udhcpc: sending release
Tue Aug  4 15:02:57 2020 daemon.notice netifd: wan (15789): udhcpc: entering released state
Tue Aug  4 15:03:00 2020 daemon.notice netifd: wan (17240): udhcpc: started, v1.31.1
Tue Aug  4 15:03:00 2020 daemon.notice netifd: wan (17240): udhcpc: sending discover
Tue Aug  4 15:03:00 2020 daemon.notice netifd: wan (17240): udhcpc: sending select for 190.244.135.61
Tue Aug  4 15:03:00 2020 daemon.notice netifd: wan (17240): udhcpc: lease of 190.244.135.61 obtained, lease time 18833
Tue Aug  4 15:06:58 2020 daemon.notice netifd: wan (17240): udhcpc: received SIGTERM
Tue Aug  4 15:06:58 2020 daemon.notice netifd: wan (17240): udhcpc: unicasting a release of 190.244.135.61 to 172.20.2.226
Tue Aug  4 15:06:58 2020 daemon.notice netifd: wan (17240): udhcpc: sending release
Tue Aug  4 15:06:58 2020 daemon.notice netifd: wan (17240): udhcpc: entering released state
Tue Aug  4 15:07:01 2020 daemon.notice netifd: wan (18540): udhcpc: started, v1.31.1
Tue Aug  4 15:07:01 2020 daemon.notice netifd: wan (18540): udhcpc: sending discover
Tue Aug  4 15:07:01 2020 daemon.notice netifd: wan (18540): udhcpc: sending select for 190.244.135.61
Tue Aug  4 15:07:01 2020 daemon.notice netifd: wan (18540): udhcpc: lease of 190.244.135.61 obtained, lease time 18592
Tue Aug  4 15:15:04 2020 daemon.notice netifd: wan (18540): udhcpc: received SIGTERM
Tue Aug  4 15:15:04 2020 daemon.notice netifd: wan (18540): udhcpc: unicasting a release of 190.244.135.61 to 172.20.2.226
Tue Aug  4 15:15:04 2020 daemon.notice netifd: wan (18540): udhcpc: sending release
Tue Aug  4 15:15:04 2020 daemon.notice netifd: wan (18540): udhcpc: entering released state
Tue Aug  4 15:15:07 2020 daemon.notice netifd: wan (20037): udhcpc: started, v1.31.1
Tue Aug  4 15:15:07 2020 daemon.notice netifd: wan (20037): udhcpc: sending discover
Tue Aug  4 15:15:10 2020 daemon.notice netifd: wan (20037): udhcpc: sending discover
Tue Aug  4 15:15:10 2020 daemon.notice netifd: wan (20037): udhcpc: sending select for 190.244.135.61
Tue Aug  4 15:15:10 2020 daemon.notice netifd: wan (20037): udhcpc: lease of 190.244.135.61 obtained, lease time 600
Tue Aug  4 15:17:34 2020 daemon.notice netifd: wan (20037): udhcpc: received SIGTERM
Tue Aug  4 15:17:34 2020 daemon.notice netifd: wan (20037): udhcpc: unicasting a release of 190.244.135.61 to 172.20.2.226
Tue Aug  4 15:17:34 2020 daemon.notice netifd: wan (20037): udhcpc: sending release
Tue Aug  4 15:17:34 2020 daemon.notice netifd: wan (20037): udhcpc: entering released state
Tue Aug  4 15:17:36 2020 daemon.notice netifd: wan (21065): udhcpc: started, v1.31.1
Tue Aug  4 15:17:36 2020 daemon.notice netifd: wan (21065): udhcpc: sending discover
Tue Aug  4 15:17:37 2020 daemon.notice netifd: wan (21065): udhcpc: sending select for 190.244.135.61
Tue Aug  4 15:17:37 2020 daemon.notice netifd: wan (21065): udhcpc: lease of 190.244.135.61 obtained, lease time 453
Tue Aug  4 15:18:21 2020 daemon.notice netifd: wan (21065): udhcpc: received SIGTERM
Tue Aug  4 15:18:21 2020 daemon.notice netifd: wan (21065): udhcpc: unicasting a release of 190.244.135.61 to 172.20.2.226
Tue Aug  4 15:18:21 2020 daemon.notice netifd: wan (21065): udhcpc: sending release
Tue Aug  4 15:18:21 2020 daemon.notice netifd: wan (21065): udhcpc: entering released state
Tue Aug  4 15:18:23 2020 daemon.notice netifd: wan (21840): udhcpc: started, v1.31.1
Tue Aug  4 15:18:23 2020 daemon.notice netifd: wan (21840): udhcpc: sending discover
Tue Aug  4 15:18:23 2020 daemon.notice netifd: wan (21840): udhcpc: sending select for 190.244.135.61
Tue Aug  4 15:18:23 2020 daemon.notice netifd: wan (21840): udhcpc: lease of 190.244.135.61 obtained, lease time 406
Tue Aug  4 15:18:33 2020 daemon.notice netifd: wan (21840): udhcpc: received SIGTERM
Tue Aug  4 15:18:33 2020 daemon.notice netifd: wan (21840): udhcpc: unicasting a release of 190.244.135.61 to 172.20.2.226
Tue Aug  4 15:18:33 2020 daemon.notice netifd: wan (21840): udhcpc: sending release
Tue Aug  4 15:18:33 2020 daemon.notice netifd: wan (21840): udhcpc: entering released state
Tue Aug  4 15:18:35 2020 daemon.notice netifd: wan (22614): udhcpc: started, v1.31.1
Tue Aug  4 15:18:35 2020 daemon.notice netifd: wan (22614): udhcpc: sending discover
Tue Aug  4 15:18:35 2020 daemon.notice netifd: wan (22614): udhcpc: sending select for 190.244.135.61
Tue Aug  4 15:18:35 2020 daemon.notice netifd: wan (22614): udhcpc: lease of 190.244.135.61 obtained, lease time 395
Tue Aug  4 15:21:52 2020 daemon.notice netifd: wan (22614): udhcpc: sending renew to 172.20.2.226
Tue Aug  4 15:21:52 2020 daemon.notice netifd: wan (22614): udhcpc: lease of 190.244.135.61 obtained, lease time 21600
Tue Aug  4 15:22:37 2020 daemon.notice netifd: wan (22614): udhcpc: received SIGTERM
Tue Aug  4 15:22:37 2020 daemon.notice netifd: wan (22614): udhcpc: unicasting a release of 190.244.135.61 to 172.20.2.226
Tue Aug  4 15:22:37 2020 daemon.notice netifd: wan (22614): udhcpc: sending release
Tue Aug  4 15:22:37 2020 daemon.notice netifd: wan (22614): udhcpc: entering released state
Tue Aug  4 15:22:39 2020 daemon.notice netifd: wan (23460): udhcpc: started, v1.31.1
Tue Aug  4 15:22:39 2020 daemon.notice netifd: wan (23460): udhcpc: sending discover
Tue Aug  4 15:22:39 2020 daemon.notice netifd: wan (23460): udhcpc: sending select for 190.244.135.61
Tue Aug  4 15:22:39 2020 daemon.notice netifd: wan (23460): udhcpc: lease of 190.244.135.61 obtained, lease time 21553
root@archer_c60:~# opkg list-installed
6to4 - 13
ath10k-firmware-qca9888-ct - 2020-04-24-2
base-files - 225-r14025-009e62c92c
busybox - 1.31.1-1
cgi-io - 19
ddns-scripts - 2.7.8-21
dnsmasq - 2.82-3
dropbear - 2020.80-1
firewall - 2020-07-25-e9b90dfa-1
fstools - 2020-06-17-d34ea8eb-1
fwtool - 2019-11-12-8f7fe925-1
getrandom - 2019-12-31-0e34af14-4
hostapd-common - 2020-06-08-5a8b3662-3
htop - 2.2.0-3
ip-tiny - 5.7.0-2
ip6tables - 1.8.4-1
iperf3 - 3.7-1
iptables - 1.8.4-1
iptables-mod-conntrack-extra - 1.8.4-1
iptables-mod-ipopt - 1.8.4-1
iw - 5.4-1
iwinfo - 2020-06-03-2faa20e5-1
jshn - 2020-07-11-f4e9bf73-1
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 5.4.52-1-a3b0c799c80449fa80b53cf0e54c74e1
kmod-ath - 5.4.52+5.8-rc2-1-1
kmod-ath10k-ct-smallbuffers - 5.4.52+2020-06-30-edfbf916-1
kmod-ath9k - 5.4.52+5.8-rc2-1-1
kmod-ath9k-common - 5.4.52+5.8-rc2-1-1
kmod-cfg80211 - 5.4.52+5.8-rc2-1-1
kmod-gpio-button-hotplug - 5.4.52-3
kmod-hwmon-core - 5.4.52-1
kmod-ifb - 5.4.52-1
kmod-ip6tables - 5.4.52-1
kmod-ipt-conntrack - 5.4.52-1
kmod-ipt-conntrack-extra - 5.4.52-1
kmod-ipt-core - 5.4.52-1
kmod-ipt-ipopt - 5.4.52-1
kmod-ipt-nat - 5.4.52-1
kmod-ipt-offload - 5.4.52-1
kmod-ipt-raw - 5.4.52-1
kmod-iptunnel - 5.4.52-1
kmod-iptunnel4 - 5.4.52-1
kmod-ledtrig-default-on - 5.4.52-1
kmod-ledtrig-heartbeat - 5.4.52-1
kmod-ledtrig-netdev - 5.4.52-1
kmod-ledtrig-timer - 5.4.52-1
kmod-mac80211 - 5.4.52+5.8-rc2-1-1
kmod-nf-conntrack - 5.4.52-1
kmod-nf-conntrack6 - 5.4.52-1
kmod-nf-flow - 5.4.52-1
kmod-nf-ipt - 5.4.52-1
kmod-nf-ipt6 - 5.4.52-1
kmod-nf-nat - 5.4.52-1
kmod-nf-reject - 5.4.52-1
kmod-nf-reject6 - 5.4.52-1
kmod-sched-cake - 5.4.52-1
kmod-sched-cake-virtual - 5.4.52+2020-07-24-48979385-1
kmod-sched-core - 5.4.52-1
kmod-sit - 5.4.52-1
kmod-udptunnel4 - 5.4.52-1
kmod-udptunnel6 - 5.4.52-1
kmod-wireguard - 5.4.52+1.0.20200729-1
libblobmsg-json - 2020-07-11-f4e9bf73-1
libc - 1.1.24-2
libelf1 - 0.179-1
libgcc1 - 8.4.0-2
libip4tc2 - 1.8.4-1
libip6tc2 - 1.8.4-1
libiwinfo-lua - 2020-06-03-2faa20e5-1
libiwinfo20200105 - 2020-06-03-2faa20e5-1
libjson-c5 - 0.14-1
libjson-script - 2020-07-11-f4e9bf73-1
liblua5.1.5 - 5.1.5-7
liblucihttp-lua - 2019-07-05-a34a17d5-1
liblucihttp0 - 2019-07-05-a34a17d5-1
libmbedtls12 - 2.16.6-1
libncurses6 - 6.2-1
libnl-tiny - 2019-10-29-0219008c-1
libopenssl1.1 - 1.1.1g-1
libpcre - 8.44-2
libpthread - 1.1.24-2
librt - 1.1.24-2
libubox20191228 - 2020-07-11-f4e9bf73-1
libubus-lua - 2020-02-05-171469e3-1
libubus20191227 - 2020-02-05-171469e3-1
libuci20130104 - 2020-04-24-ec8d3233-3
libuclient20160123 - 2020-06-17-c6609861-1
libustream-mbedtls20200215 - 2020-03-13-5e1bc342-1
libxtables12 - 1.8.4-1
logd - 2019-12-31-0e34af14-4
lua - 5.1.5-7
luci - git-20.216.62430-9acc7d8
luci-app-ddns - git-20.216.62430-9acc7d8
luci-app-firewall - git-20.216.62430-9acc7d8
luci-app-opkg - git-20.216.62430-9acc7d8
luci-app-sqm - 1.4.0
luci-app-wireguard - git-20.216.62430-9acc7d8
luci-base - git-20.216.62430-9acc7d8
luci-compat - git-20.216.62430-9acc7d8
luci-i18n-base-en - git-20.216.62430-9acc7d8
luci-i18n-base-es - git-20.216.62430-9acc7d8
luci-i18n-ddns-en - git-20.216.62430-9acc7d8
luci-i18n-ddns-es - git-20.216.62430-9acc7d8
luci-i18n-firewall-en - git-20.216.62430-9acc7d8
luci-i18n-firewall-es - git-20.216.62430-9acc7d8
luci-i18n-opkg-en - git-20.216.62430-9acc7d8
luci-i18n-opkg-es - git-20.216.62430-9acc7d8
luci-i18n-sqm-en - git-20.216.62430-9acc7d8
luci-i18n-sqm-es - git-20.216.62430-9acc7d8
luci-i18n-wireguard-en - git-20.216.62430-9acc7d8
luci-i18n-wireguard-es - git-20.216.62430-9acc7d8
luci-lib-base - git-20.216.62430-9acc7d8
luci-lib-ip - git-20.216.62430-9acc7d8
luci-lib-ipkg - git-20.216.62430-9acc7d8
luci-lib-jsonc - git-20.216.62430-9acc7d8
luci-lib-nixio - git-20.216.62430-9acc7d8
luci-mod-admin-full - git-20.216.62430-9acc7d8
luci-mod-network - git-20.216.62430-9acc7d8
luci-mod-status - git-20.216.62430-9acc7d8
luci-mod-system - git-20.216.62430-9acc7d8
luci-proto-ipv6 - git-20.216.62430-9acc7d8
luci-proto-ppp - git-20.216.62430-9acc7d8
luci-proto-wireguard - git-20.216.62430-9acc7d8
luci-ssl - git-20.216.62430-9acc7d8
luci-theme-argon - 2.2.1
luci-theme-bootstrap - git-20.216.62430-9acc7d8
luci-theme-openwrt-2020 - git-20.216.62430-9acc7d8
mtd - 25
nano - 5.0-1
netifd - 2020-06-06-51e9fb81-1
odhcp6c - 2020-03-28-f575351c-16
odhcpd - 2020-06-21-5da52992-4
openwrt-keyring - 2019-07-25-8080ef34-1
opkg - 2020-05-07-f2166a89-1
procd - 2020-07-30-2ae5cbcf-1
px5g-mbedtls - 9
rpcd - 2020-05-26-078bb57e-1
rpcd-mod-file - 2020-05-26-078bb57e-1
rpcd-mod-iwinfo - 2020-05-26-078bb57e-1
rpcd-mod-luci - 20191114
rpcd-mod-rrdns - 20170710
sqm-scripts - 1.4.0-8
swconfig - 12
tc - 5.7.0-2
terminfo - 6.2-1
uboot-envtools - 2020.04-1
ubox - 2019-12-31-0e34af14-4
ubus - 2020-02-05-171469e3-1
ubusd - 2020-02-05-171469e3-1
uci - 2020-04-24-ec8d3233-3
uclient-fetch - 2020-06-17-c6609861-1
uhttpd - 2020-06-03-939c281c-1
uhttpd-mod-ubus - 2020-06-03-939c281c-1
urandom-seed - 2
urngd - 2020-01-21-c7f7b6b6-1
usign - 2020-05-23-f1f65026-1
wget - 1.20.3-4
wireguard-tools - 1.0.20200513-1
wireless-regdb - 2020.04.29-1
wpad-basic - 2020-06-08-5a8b3662-3
zlib - 1.2.11-3

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

 


04.08.20203270PackagesBug ReportVery LowLowgcc: package seems incompatible with linker provided by...TrunkUnconfirmed Task Description

I use the gcc package to compile C code on my OpenWrt installation. Something has broken the toolchain, and it appears to be related to the binutils package that OpenWrt base provides. I receive errors such as these when I compile:

root@OpenWrt # gcc hello.c 
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libssp_nonshared.a(__stack_chk_fail_local.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libssp_nonshared.a(__stack_chk_fail_local.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libgcc.a(_muldi3.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libgcc.a(_muldi3.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libgcc.a(_muldi3.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libgcc.a(_muldi3.o): unable to initialize decompress status for section .debug_info

I was able to overcome this problem by updating binutils. I copied the version information and patches for binutils 2.32 from toolchain/binutils/ into package/devel/binutils/, and I built a newer version of the binutils package. Whereas the toolchain version of binutils provides the option to build a recent release, the package version is still 2.27.

See also https://github.com/openwrt/packages/issues/13019.


03.08.20203269KernelBug ReportVery LowMediumCompiling the kernel requires entering the CGROUP_HUGET...TrunkUnconfirmed Task Description

When I try to compile the openwrt master branch of NanoPi R2S, it waits for user input to pause the kernel compilation.

Compile environment: Ubuntu 20.04 LTS
Board: NanoPi R2S
OpenWrt source code: snapshot 1deaf695ec02d765c9ae28b1bac264798ca54a05
Replicating the bug only requires:
1. make menuconfig and select compile NanoPi R2S.
2. make V=99

Will Show reference

  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/confdata.o
  HOSTCC  scripts/kconfig/expr.o
  HOSTCC  scripts/kconfig/lexer.lex.o
  HOSTCC  scripts/kconfig/parser.tab.o
  HOSTCC  scripts/kconfig/preprocess.o
  HOSTCC  scripts/kconfig/symbol.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --syncconfig Kconfig
net/sched/Kconfig:45: warning: menuconfig statement without prompt
.config:4276:warning: symbol value 'm' invalid for NF_NAT_REDIRECT
.config:6714:warning: override: USB_DWC3_HOST changes choice state
*
* Restart config...
*
*
* Control Group support
*
Control Group support (CGROUPS) [Y/n/?] y
  Memory controller (MEMCG) [Y/n/?] y
    Swap controller (MEMCG_SWAP) [Y/n/?] y
      Swap controller enabled by default (MEMCG_SWAP_ENABLED) [N/y/?] n
  IO controller (BLK_CGROUP) [Y/n/?] y
  PIDs controller (CGROUP_PIDS) [Y/n/?] y
  RDMA controller (CGROUP_RDMA) [Y/n/?] y
  Freezer controller (CGROUP_FREEZER) [N/y/?] n
  HugeTLB controller (CGROUP_HUGETLB) [N/y/?] (NEW) 

I think the problem is caused by the commit d1a8217d87bffa33fd7d4562b3ed2f797c14beaf.

03.08.20203268Base systemBug ReportVery LowLow802.11s mesh warn when using 802.11s over 5GHz mtk7612.TrunkUnconfirmed Task Description

I see the same warn when using 802.11s over 5GHz mtk7612. It appears a skb buffer is full?

We have encryption enabled and working. This happens at time, would like to help find a solution?

This is the section of code that is generating the error. Is there anything I can try to help debug? I’m on a 18.04 build, have seen this on 17.01?

ccmp_encrypt_skb:

    if (WARN_ON(skb_tailroom(skb) < tail ||
                skb_headroom(skb) < IEEE80211_CCMP_HDR_LEN))
            return -1;

[ 234.629726] ————[ cut here ]———— [ 234.639113] WARNING: CPU: 0 PID: 0 at backports-2017-11-01/net/mac80211/wpa.c:431 ieee80211_crypto_ccmp_encrypt+0xe0/0×248 [mac80211]
[ 234.663087] Modules linked in: rt2800soc rt2800pci rt2800mmio rt2800lib pppoe ppp_async rt2x00soc rt2x00pci rt2x00mmio rt2x00lib pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_ftp nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack_ftp nf_conntrack iptable_mangle iptable_filter ip_tables crc_itu_t crc_ccitt compat arptable_filter arpt_mangle arp_tables xt_set ip_set_list_set ip_set_hash_netiface
[ 234.804092] 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_mangle ip6table_filter ip6_tables x_tables tun eeprom_93cx6 leds_gpio gpio_button_hotplug
[ 234.879023] CPU: 0 PID: 0 Comm: swapper Tainted: G W 4.14.131 #0
[ 234.893240] Stack : 80483660 80373fe4 00000000 00000000 803d882c 83807bf4 80427ccc 804278e7
[ 234.909918] 803d4b48 00000000 80483660 000001af 00000123 00000001 83807ba8 a434d50c
[ 234.926591] 00000000 00000000 80480000 00000000 0000011e 00000000 33312e34 30232031
[ 234.943258] 6e757420 00000000 3fff0000 70656520 00000000 00000000 83288754 832d9e40
[ 234.959924] 00000009 000001af 00000123 83807dc0 00000000 801da924 00000000 80480000
[ 234.976589] ...
[ 234.981465] Call Trace:
[ 234.986351] [<8000e4f4>] show_stack+0×74/0×104 [ 234.995229] [<80024ee0>] __warn+0×110/0×118 [ 235.003575] [<80024f7c>] warn_slowpath_null+0x1c/0×30 [ 235.013783] [<83288754>] ieee80211_crypto_ccmp_encrypt+0xe0/0×248 [mac80211]
[ 235.027964] [<832a7a74>] ieee80211_probereq_get+0x6d8/0×1668 [mac80211]
[ 235.041219] —[ end trace c50314b568e42025 ]—Supply the following if possible:

 


03.08.20203267Base systemBug ReportVery LowMediummesh_param net setting from mac80211.shopenwrt-18.06Unconfirmed Task Description

I tried this on 17.01 and 18.06 with mtk7612 and it did not set the values. If I had set the values with the iw command it works. I believe the radio is not in a state that is ready for those commands in the mac80211.sh script.

You can see the value is being passed in an failing.

Mon Aug 3 18:40:26 2020 user.notice mac80211: Failed command: iw dev wlan0 set mesh_param mesh_hwmp_rootmode 1
Mon Aug 3 18:40:26 2020 user.notice mac80211: Failed command: iw dev wlan0 set mesh_param mesh_gate_announcements 1

Confirmed using iw dev wlan0 get mesh_param mesh_hwmp_rootmode

Supply the following if possible:
- Device problem occurs on: MT7612 (5GHz)
- Software versions of OpenWrt/LEDE release, packages, etc.: 17.1, 18.06
- Steps to reproduce:

Set values in the /etc/config/wireless
config wifi-device ‘radio1’

      option type 'mac80211'
      option path 'pci0000:00/0000:00:00.0/0000:01:00.0'
      option hwmode '11ac'
      option disabled '0'
      option country 'US'
      option txpower '23'
      option greenfield '0'
 

config wifi-iface

      option device 'radio1'
      option network 'lan'
      option mode 'mesh'
      option mesh_id 'my_mesh_id'
      option encryption 'psk2+ccmp'
      option key 'password_mesh'
      option short_preamble '1'
      option disabled '0'
      option mesh_hwmp_rootmode '1'
      option mesh_gate_announcements '1'
03.08.20203266Base systemBug ReportVery LowLowMulticast does not work over bridge with AP/VLAN interf...TrunkUnconfirmed Task Description

Devices:
MikroTik RouterBOARD wAP G-5HacT2HnD with OpenWRT r13630-635f111148
EnGenius EAP1300 with OpenWRT r14017-c90db26e05

I have a wifi setup with EAP and dynamic vlan assigment from a radius server.
Clients can connect and both unicast and broadcast (DHCP) works fine, but multicast does not, so IPv6 SLAAC does not work for example.
On the APs I can see the multicast packets being sent out on the the AP/VLAN interfaces (tcpdump -n -i wlan1.10 multicast), but none of the three clients (linux laptop and two iOS devices) receives them.
I have tried enabling multicast_to_unicast, multicast_snooping and hairpin_mode by hand in sysfs, doesn’t make any difference, also tried disabling multicast_router.
It sometimes works on the MikroTik device, but mostly does not.

My wireless config (it’s the same on both devices for both radios):
config wifi-iface ‘myssid_5’

      option mode 'ap'
      option ssid 'myssid'
      option hidden '1'
      option encryption 'wpa3-mixed'
      option auth_server 'authserver'
      option auth_secret 'secret'
      option dynamic_vlan '2'
      option vlan_tagged_interface 'eth0'
      option max_inactivity '1800'
      option device 'radio0'
      option mobility_domain 'f1f1'
      option nasid 'mynasid'
      option pmk_r1_push '1'
      option ieee80211r '1'
      option rsn_preauth '0'
      option isolate '1'
      option vlan_bridge 'br-vlan'
      option vlan_naming '0'
      option ieee80211w '1'
      list r0kh '....'
      list r0kh '....'
      list r0kh '....'
      list r0kh '....'
      list r1kh '....'
      list r1kh '....'
      list r1kh '....'
      list r1kh '....'
03.08.20203265KernelBug ReportVery LowLowAP crashed when enabling multicast_snoopingTrunkUnconfirmed Task Description

Device: EnGenius EAP1300
OpenWRT release/revision: r14017-c90db26e05

To reproduce I just do:
echo 1 > /sys/class/net/br-vlan10/bridge/multicast_snooping

02.08.20203264Base systemBug ReportVery LowCriticalR7800 router crashes when Macbook Air joins the networkTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Netgear R7800 Router, Macbook Air 11” Mid-2013, Macbook Air 13” 2017
- Software versions of OpenWrt/LEDE release: LuCI branch git-20.201.65700-7edd635
- Steps to reproduce: I join the device to the network with either ethernet or wifi and the router would shortly crash. I simply reboot the router and connect the macbook via ethernet or wifi after the router is up. I would then run a speedtest (it’s not related to any particular activity, but I just use speedtest.net as a control)
- Attempts at trying to remedy issue: I tried disabling IPv6 on the router and macbooks. I signed out of icloud. I updated Macbooks to MacOS Catalina. I tried flashing router to latest stable release 19.07.3. The network only dies when these Macbook Airs connect to the network, all other devices don’t have any issues. Prior to this router, I had a Netgear AC1900 (R7000) running DD-WRT which never had this issue.

External logs captured before crash:
8/2/2020 14:14 Alert 192.168.1.1 [ 189.332615] 8←– cut here — 8/2/2020 14:14 Alert 192.168.1.1 [ 189.332636] Unable to handle kernel NULL pointer dereference at virtual address 0000000c
8/2/2020 14:14 Alert 192.168.1.1 [ 189.334560] pgd = eb7a8104
8/2/2020 14:14 Alert 192.168.1.1 [ 189.342856] [0000000c] *pgd=00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.345391] Internal error: Oops: 17 [#1] SMP ARM
8/2/2020 14:14 Warning 192.168.1.1 [ 189.349049] Modules linked in: ksmbd ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath qmi_wwan pppox ppp_generic mac80211 iptable_nat ipt_REJECT cfg80211 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_hl xt_helper xt_geoip xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_MASQUERADE xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY wireguard usbnet ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda slhc sch_cake nf_reject_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack_netlink nf_conncount iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt compat cdc_wdm fuse act_connmark nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall
8/2/2020 14:14 Warning 192.168.1.1 [ 189.349149] cls_fw cls_flow cls_basic act_skbedit act_mirred ledtrig_usbport ledtrig_heartbeat xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip6_gre ip_gre gre ifb ip6_udp_tunnel udp_tunnel sit ipcomp6 xfrm6_tunnel esp6 ah6 xfrm4_tunnel ipcomp esp4 ah4 ip6_tunnel tunnel6 tunnel4 ip_tunnel tun xfrm_user xfrm_ipcomp af_key xfrm_algo vfat fat autofs4 nls_utf8 nls_iso8859_1 nls_cp437 rfkill sha512_generic sha1_generic seqiv md5 md4 ghash_generic gf128mul gcm echainiv ecb des_generic libdes ctr cmac ccm cbc authenc arc4 uas usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom ohci_platform ohci_hcd phy_qcom_dwc3 ahci
8/2/2020 14:14 Warning 192.168.1.1 [ 189.418843] fsl_mph_dr_of ehci_platform ehci_fsl sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug f2fs ext4 mbcache jbd2 exfat(C) crc32c_generic crc32_generic
8/2/2020 14:14 Warning 192.168.1.1 [ 189.528411] CPU: 0 PID: 5 Comm: kworker/0:0 Tainted: G C 5.4.52 #0
8/2/2020 14:14 Warning 192.168.1.1 [ 189.546362] Hardware name: Generic DT based system
8/2/2020 14:14 Warning 192.168.1.1 [ 189.553873] Workqueue: ksmbd-io handle_ksmbd_work [ksmbd]
8/2/2020 14:14 Warning 192.168.1.1 [ 189.558534] PC is at ksmbd_free_user+0xc/0×38 [ksmbd]
8/2/2020 14:14 Warning 192.168.1.1 [ 189.564001] LR is at smb_session_disconnect+0×40/0xa4 [ksmbd]
8/2/2020 14:14 Warning 192.168.1.1 [ 189.569016] pc : [<bf9242e0>] lr : [<bf9402ac>] psr: 60000013
8/2/2020 14:14 Warning 192.168.1.1 [ 189.574745] sp : dd459ee0 ip : d83da240 fp : bf94f004
8/2/2020 14:14 Warning 192.168.1.1 [ 189.580820] r10: bf958234 r9 : 000001d0 r8 : bf957b58
8/2/2020 14:14 Warning 192.168.1.1 [ 189.586030] r7 : d83da200 r6 : 00000000 r5 : d69b2a00 r4 : 00000000
8/2/2020 14:14 Warning 192.168.1.1 [ 189.591238] r3 : d83da200 r2 : 00000003 r1 : 00000001 r0 : 00000000
8/2/2020 14:14 Warning 192.168.1.1 [ 189.597838] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
8/2/2020 14:14 Warning 192.168.1.1 [ 189.604348] Control: 10c5787d Table: 5eb7806a DAC: 00000051
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.611551] Process kworker/0:0 (pid: 5
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.617280] Stack: (0xdd459ee0 to 0xdd45a000)
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.623367] 9ee0: dcbcc480 bf9402ac d83da200 dcbcc480 dcbcc4dc 00000074 bf957b58 bf9290e4
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.627799] 9f00: dcddb704 dcde6400 c0c221cc dcbcc4dc dd40f500 dda09840 ff7e6500 00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.635957] 9f20: 00000000 00000000 dd458000 c033a684 00000008 dda09858 dd40f500 dd40f514
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.644116] 9f40: dda09840 00000008 dda09858 c0c03d00 dda09840 c033a948 c0c0c35c c0c0c318
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.652276] 9f60: dd41951c dd419500 dd419280 dd458000 dd41951c dd43bea4 dd40f500 c033a8f4
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.660436] 9f80: 00000000 c0340724 00000000 dd419280 c0340608 00000000 00000000 00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.668596] 9fa0: 00000000 00000000 00000000 c03010e8 00000000 00000000 00000000 00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.676755] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.684915] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
8/2/2020 14:14 Warning 192.168.1.1 [ 189.693179] [<bf9242e0>] (ksmbd_free_user [ksmbd]) from [<bf9402ac>] (smb_session_disconnect+0×40/0xa4 [ksmbd])
8/2/2020 14:14 Warning 192.168.1.1 [ 189.701271] [<bf9402ac>] (smb_session_disconnect [ksmbd]) from [<bf9290e4>] (handle_ksmbd_work+0x18c/0×500 [ksmbd])
8/2/2020 14:14 Warning 192.168.1.1 [ 189.711150] [<bf9290e4>] (handle_ksmbd_work [ksmbd]) from [<c033a684>] (process_one_work+0x1f8/0×468)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.721543] [<c033a684>] (process_one_work) from [<c033a948>] (worker_thread+0×54/0×588)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.730919] [<c033a948>] (worker_thread) from [<c0340724>] (kthread+0x11c/0×148)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.739077] [<c0340724>] (kthread) from [<c03010e8>] (ret_from_fork+0×14/0x2c)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.746448] Exception stack(0xdd459fb0 to 0xdd459ff8)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.753483] 9fa0: 00000000 00000000 00000000 00000000
8/2/2020 14:14 Warning 192.168.1.1 [ 189.758613] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
8/2/2020 14:14 Warning 192.168.1.1 [ 189.766769] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.774929] Code: eaffffd1 e52d4008 e1a04000 e58de004 (e590000c)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.781453] —[ end trace 469d54bcbf49ae73 ]—

01.08.20203262KernelBug ReportVery LowCriticalpcduino(sunxi/cortexa8) kernel panic on openwrt snapsh...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on pcduino [target/linux/sunxi/cortexa8]
- Software versions of OpenWrt/LEDE release, packages, etc.
- Steps to reproduce


U-Boot SPL 2020.04 (Jul 31 2020 - 21:50:38 +0000)
DRAM: 1024 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1 U-Boot 2020.04 (Jul 31 2020 - 21:50:38 +0000) Allwinner Technology CPU: Allwinner A10 (SUN4I)
Model: LinkSprite pcDuino
I2C: ready
DRAM: 1 GiB
MMC: mmc@1c0f000: 0
Loading Environment from FAT...
* Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: eth0: ethernet@1c0b000
starting USB...
Bus usb@1c14000: USB EHCI 1.00
Bus usb@1c14400: USB OHCI 1.0
Bus usb@1c1c000: USB EHCI 1.00
Bus usb@1c1c400: USB OHCI 1.0
scanning bus usb@1c14000 for devices... 1 USB Device(s) found
scanning bus usb@1c14400 for devices... 1 USB Device(s) found
scanning bus usb@1c1c000 for devices... 1 USB Device(s) found
scanning bus usb@1c1c400 for devices... 1 USB Device(s) found

     scanning usb for storage devices... 0 Storage Device(s) found

Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
377 bytes read in 1 ms (368.2 KiB/s)
## Executing script at 43100000
3308120 bytes read in 265 ms (11.9 MiB/s)
22889 bytes read in 5 ms (4.4 MiB/s)
## Booting kernel from Legacy Image at 42000000 ...

 Image Name:   ARM OpenWrt Linux-5.4.52
 Image Type:   ARM Linux Kernel Image (uncompressed)
 Data Size:    3308056 Bytes = 3.2 MiB
 Load Address: 40008000
 Entry Point:  40008000
 Verifying Checksum ... OK

## Flattened Device Tree blob at 43000000

 Booting using the fdt blob at 0x43000000

EHCI failed to shut down host controller.

 Loading Kernel Image
 Using Device Tree in place at 43000000, end 43008968

Starting kernel ...

**

kernel panic

31.07.20203261Base systemBug ReportVery LowVery LowDHCP IP conflict and the whole DHCP stops workingTrunkUnconfirmed Task Description

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

- Problem: If there is an IP conflict between two devices to LAN interface the whole DHCP stops working for the whole LAN subnet.

- Steps to reproduce

    1. Set two devices/with different MAC-addresses (or more) on static leases with the same IP

- My opinion: Have the the devices trying to connect (that has a conflict) to get the error conflict IP message (on receiving end) as soon as a conflict happens; DHCP continue working despite a conflict has occurred.

30.07.20203260KernelBug ReportVery LowHighreduced upload speeds with enabled LAN 'flow control rx...TrunkUnconfirmed Task Description

Device: WRT-1200AC
Openwrt Version: SNAPSHOT r13982-e9f7923a1d
Kernel: 5.4.x, tried also 5.4.53

Problem/Bug:
If i keep the default ‘flow control rx/tx’ setting enabled for any LAN port, my upload speeds drop from my max 38 Mbit/s to 10 Mbit/s. Same happens if i put a unmanaged switch behind the router, that has RX/TX enabled and any device behind the switch than gets the reduced 10 Mbit/s upload speeds. The download speeds are unaffected, only the upload speed drops.

Steps to reproduce:
Just disable/enable ‘flow control’ on the client side for any LAN port. This bug happens independent of client OS/Network card used. Just enable/disable “Flow Control” in the Win10 adapter property page, than do some upload tests.

mv88e6085 f1072004.mdio-mii:00 lan1: Link is Up - 1Gbps/Full - flow control rx/tx

vs

mv88e6085 f1072004.mdio-mii:00 lan1: Link is Up - 1Gbps/Full - flow control off

PS: This worked fine before and i think started with the 5.4.x kernels on mvebu.

30.07.20203259Base systemBug ReportVery LowLowtplink 710n/v1 unstable AG71xx MII link on ath79TrunkUnconfirmed Task Description

Unstable interface link on tplink 710nd/v1 running trunk/ath79, somewhat similar to what happens on the 841nd/v9.
This is a different site and application and I’ve seen it in at least 4 devices, only on the AG71xx MII mode link.
As before, the only remedy is to go back to ar7x/9x.

[    0.000000] Linux version 5.4.52 (user@debian-c2q-x64) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13335-586661018e)) #0 Mon Jul 27 11:02:47 2020
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] MIPS: machine is TP-Link TL-WR710N v1
[    0.000000] SoC: Atheros AR9330 rev 1
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-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]   Normal zone: 72 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8120
[    0.000000] Kernel command line: console=ttyATH0,115200 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 25352K/32768K available (4410K kernel code, 178K rwdata, 1064K rodata, 1188K init, 191K bss, 7416K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] random: get_random_bytes called from start_kernel+0x32c/0x518 with crng_init=0
[    0.000000] CPU clock: 400.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000012] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.007567] Calibrating delay loop... 265.98 BogoMIPS (lpj=531968)
[    0.048076] pid_max: default: 32768 minimum: 301
[    0.052738] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059500] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.073030] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.081046] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.087686] pinctrl core: initialized pinctrl subsystem
[    0.093970] NET: Registered protocol family 16
[    0.145092] clocksource: Switched to clocksource MIPS
[    0.150354] NET: Registered protocol family 2
[    0.154408] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.161232] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.168483] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.175216] TCP: Hash tables configured (established 1024 bind 1024)
[    0.181504] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.187584] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.194624] NET: Registered protocol family 1
[    0.198407] PCI: CLS 0 bytes, default 32
[    0.207582] workingset: timestamp_bits=14 max_order=13 bucket_order=0
[    0.223507] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.227772] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.257826] pinctrl-single 18040028.pinmux: 64 pins, size 8
[    0.263222] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.269215] 18020000.uart: ttyATH0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a AR933X UART
[    0.277209] printk: console [ttyATH0] enabled
[    0.285410] printk: bootconsole [early0] disabled
[    0.316660] spi-nor spi0.0: s25fl064k (8192 Kbytes)
[    0.320172] 3 fixed-partitions partitions found on MTD device spi0.0
[    0.326435] Creating 3 MTD partitions on "spi0.0":
[    0.331235] 0x000000000000-0x000000020000 : "u-boot"
[    0.337670] 0x000000020000-0x0000007f0000 : "firmware"
[    0.345643] 2 tplink-fw partitions found on MTD device firmware
[    0.350179] Creating 2 MTD partitions on "firmware":
[    0.355091] 0x000000000000-0x0000001c6f86 : "kernel"
[    0.361530] 0x0000001c6f88-0x0000007d0000 : "rootfs"
[    0.366344] mtd: device 3 (rootfs) set to be root filesystem
[    0.373484] 1 squashfs-split partitions found on MTD device rootfs
[    0.378290] 0x000000590000-0x0000007d0000 : "rootfs_data"
[    0.384990] 0x0000007f0000-0x000000800000 : "art"
[    0.392723] libphy: Fixed MDIO Bus: probed
[    0.738221] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
[    1.077080] random: fast init done
[    1.373576] libphy: ag71xx_mdio: probed
[    1.376944] libphy: ar8xxx-mdio: probed
[    1.383159] switch0: Atheros AR724X/AR933X built-in rev. 2 switch registered on mdio.0
[    1.423296] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[    1.431836] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
[    1.437312] i2c /dev entries driver
[    1.442197] NET: Registered protocol family 17
[    1.445386] 8021q: 802.1Q VLAN Support v1.8
[    1.770756] ag71xx 19000000.eth: connected to PHY at mdio.0:1f:04 [uid=004dd041, driver=Generic PHY]
[    1.779474] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[    1.794203] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.808953] Freeing unused kernel memory: 1188K
[    1.812060] This architecture does not have kernel memory protection.
[    1.818458] Run /sbin/init as init process
[    2.751408] init: Console is alive
[    2.753865] init: - watchdog -
[    4.550131] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.666498] usbcore: registered new interface driver usbfs
[    4.670708] usbcore: registered new interface driver hub
[    4.676009] usbcore: registered new device driver usb
[    4.692860] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.711956] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    4.715527] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    4.737101] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    4.742312] hub 1-0:1.0: USB hub found
[    4.745499] hub 1-0:1.0: 1 port detected
[    4.750951] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.767431] init: - preinit -
[    5.761341] random: procd: uninitialized urandom read (4 bytes read)
[    6.147348] random: jshn: uninitialized urandom read (4 bytes read)
[    6.335446] random: jshn: uninitialized urandom read (4 bytes read)
[    6.702972] eth0: link up (1000Mbps/Full duplex)
[   11.082679] jffs2: notice: (522) jffs2_build_xattr_subsystem: complete building xattr subsystem, 20 of xdatum (10 unchecked, 4 orphan) and 25 of xref (4 dead, 0 orphan) found.
[   11.099094] mount_root: switching to jffs2 overlay
[   11.139147] overlayfs: upper fs does not support tmpfile.
[   11.152849] urandom-seed: Seeding with /etc/urandom.seed
[   11.268016] eth0: link down
[   11.288888] procd: - early -
[   11.290569] procd: - watchdog -
[   12.072544] procd: - watchdog -
[   12.074720] procd: - ubus -
[   12.448999] urandom_read: 5 callbacks suppressed
[   12.449012] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.461048] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.468285] procd: - init -
[   13.816721] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.174573] xt_time: kernel timezone is -0000
[   14.249336] PPP generic driver version 2.4.2
[   14.262661] NET: Registered protocol family 24
[   14.490477] kmodloader: done loading kernel modules from /etc/modules.d/*
[   14.770114] urngd: v1.0.2 started.
[   15.359744] random: crng init done
[   24.218809] eth1: link up (100Mbps/Full duplex)
[   30.505247] eth0: link up (1000Mbps/Full duplex)
[   30.509411] br-lan: port 1(eth0) entered blocking state
[   30.513750] br-lan: port 1(eth0) entered disabled state
[   30.519318] device eth0 entered promiscuous mode
[   30.543857] br-lan: port 1(eth0) entered blocking state
[   30.547769] br-lan: port 1(eth0) entered forwarding state
[   30.579295] eth1: link down
[   30.705236] br-lan: port 2(eth1) entered blocking state
[   30.709102] br-lan: port 2(eth1) entered disabled state
[   30.714700] device eth1 entered promiscuous mode
[   30.719111] br-lan: port 2(eth1) entered blocking state
[   30.724077] br-lan: port 2(eth1) entered forwarding state
[   31.520146] br-lan: port 2(eth1) entered disabled state
[   32.683332] eth1: link up (100Mbps/Full duplex)
[   32.688162] br-lan: port 2(eth1) entered blocking state
[   32.692067] br-lan: port 2(eth1) entered forwarding state
[ 1240.055050] eth1: link down
[ 1240.057212] br-lan: port 2(eth1) entered disabled state
[ 1244.152431] eth1: link up (100Mbps/Full duplex)
[ 1244.156285] br-lan: port 2(eth1) entered blocking state
[ 1244.160833] br-lan: port 2(eth1) entered forwarding state
[ 1247.222912] eth1: link down
[ 1247.225052] br-lan: port 2(eth1) entered disabled state
[ 1248.248284] eth1: link up (100Mbps/Full duplex)
[ 1248.251864] br-lan: port 2(eth1) entered blocking state
[ 1248.256678] br-lan: port 2(eth1) entered forwarding state
[ 1382.393098] eth1: link down
[ 1382.395847] br-lan: port 2(eth1) entered disabled state
[ 1383.416100] eth1: link up (100Mbps/Full duplex)
[ 1383.419727] br-lan: port 2(eth1) entered blocking state
[ 1383.424497] br-lan: port 2(eth1) entered forwarding state
[ 1385.462695] eth1: link down
[ 1385.464853] br-lan: port 2(eth1) entered disabled state
[ 1386.488096] eth1: link up (100Mbps/Full duplex)
[ 1386.491671] br-lan: port 2(eth1) entered blocking state
[ 1386.496495] br-lan: port 2(eth1) entered forwarding state
[ 1399.798672] eth1: link down
[ 1399.801015] br-lan: port 2(eth1) entered disabled state
[ 1401.848048] eth1: link up (100Mbps/Full duplex)
[ 1401.851629] br-lan: port 2(eth1) entered blocking state
[ 1401.856447] br-lan: port 2(eth1) entered forwarding state
[ 1420.278752] eth1: link down
[ 1420.280905] br-lan: port 2(eth1) entered disabled state
[ 1421.303979] eth1: link up (100Mbps/Full duplex)
[ 1421.307546] br-lan: port 2(eth1) entered blocking state
[ 1421.312377] br-lan: port 2(eth1) entered forwarding state
30.07.20203258KernelBug ReportVery LowMediumapm821xx: Netgear WNDR4700 kernel 5.4 is not bootingTrunkResearching Task Description

Just tried WNDR4700 with latest master(7a4fc8906cd2256e7381d1c043e19872eeb06883) and it fails to boot.
I also tested and switched build to 4.19 and it works.

Console output 5.4:


Loading from device 0: NAND 128MiB 3,3V 8-bit (offset 0×180000)

check device-tree image

 Verifying Checksum ... OK

check kernel image

 Verifying Checksum ... OK

check rootfs image

 Verifying Checksum ... OK

NAND read: device 0 offset 0×180000, size 0×20000 131072 bytes read: OK
## Booting kernel from Legacy Image at 00500000 ...

 Image Name:   POWERPC OpenWrt Linux-5.4.52
 Image Type:   PowerPC Linux Kernel Image (lzma compressed)
 Data Size:    2635392 Bytes =  2.5 MB
 Load Address: 00000000
 Entry Point:  00000000
 Verifying Checksum ... OK

## Flattened Device Tree blob at 00800040

 Booting using the fdt blob at 0x800040
 Uncompressing Kernel Image ... LZMA: uncompress or overwrite error 1 - must RESET board to recover

Console output 4.19:


Loading from device 0: NAND 128MiB 3,3V 8-bit (offset 0×180000)

check device-tree image

 Verifying Checksum ... OK

check kernel image

 Verifying Checksum ... OK

check rootfs image

 Verifying Checksum ... OK

NAND read: device 0 offset 0×180000, size 0×20000 131072 bytes read: OK
## Booting kernel from Legacy Image at 00500000 ...

 Image Name:   POWERPC OpenWrt Linux-4.19.131
 Image Type:   PowerPC Linux Kernel Image (lzma compressed)
 Data Size:    2320447 Bytes =  2.2 MB
 Load Address: 00000000
 Entry Point:  00000000
 Verifying Checksum ... OK

## Flattened Device Tree blob at 00800040

 Booting using the fdt blob at 0x800040
 Uncompressing Kernel Image ... OK
28.07.20203253Base systemBug ReportVery LowCriticalLinksys WRT3200 ipv4 connection speed problems openwrt-19.07Unconfirmed Task Description

I’m using Linksys wrt3200 as router behind cable modem with a dslite configuration and Devolo 1200+ DinRail connected to one of the LAN ports.

Previuos configuration was provider cable modem connected to Devolo and it was working fine (up to 50-100 mbit up and download to all DLAN devices.

After swiching to Linksys and OpenWRT I noticed that download speed for IPv4 dropped to 2-3 MBit for all devices. Upload and IPv6 work fine.

Thought it was dslite problem but provider router works fine and if I connect to Linksys directly via WLAN the download speed is as expected...

Repatched with Linksys stock firmware without changing anything else stable up and download speeds in expected range for ip4/ip6.

Patched openwrt back - ipv4 download drop to 2Mbit, back to stock back to normal speed...

Assume it’s potentially an MTU setting for LAN interface but all values I tried did not change much...

Would appreciate any help. Would be pity to fall back to stock but if it’s the only option...

 


28.07.20203252Base systemBug ReportVery LowHighX86 kernel has no emmc support, cause it can't boot fro...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Z83II mini pc. https://www.minipcdb.com/articles/Meet-Z83II-Mini-PC - Software versions of OpenWrt/LEDE release, packages, etc. Tested on both 19.07.3 and latest snapshots, both failed.
- Steps to reproduce: Write to image to the embedded emmc disk and boot it.

I’ve tested both 19.07.3 and latest snapshots build of openwrt x86-64 build on the Intel Z8350 fanless mini PC. Both failed to boot. The kernel can boot up correctly, but the system hang at waiting for root device. If the image is burned on USB disk, it can boot up correctly without any issue.

I searched on Google and found this post - https://forum.archive.openwrt.org/viewtopic.php?id=72195

I did the test on 19.07.3 and verified the system can boot up correctly from embedded emmc storage that by adding the following two options into the target/linux/x86/64/config-default file
CONFIG_MMC_SDHCI_ACPI
CONFIG_X86_INTEL_LPSS

Could you approve to add the options into the future update to support booting from emmc storage?
Thanks!

 


27.07.20203249Base systemBug ReportVery LowLowDevel/perf failed to compileTrunkWaiting on reporter Task Description

All platforms (noticed on mvebu, powerpc), OpenWrt 19.07 and OpenWrt master.

Compilation fails with following output:

Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h'
Warning: Kernel ABI header at 'tools/include/uapi/linux/kvm.h' differs from latest version at 'include/uapi/linux/kvm.h'
Warning: Kernel ABI header at 'tools/arch/x86/include/asm/cpufeatures.h' differs from latest version at 'arch/x86/include/asm/cpufeatures.h'
Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/kvm.h' differs from latest version at 'arch/x86/include/uapi/asm/kvm.h'

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

Makefile.config:313: *** No gnu/libc-version.h found, please install glibc-dev[el].  Stop.
make[3]: *** [Makefile.perf:204: sub-make] Error 2
make[2]: *** [Makefile:80: /build/build_dir/target-aarch64_cortex-a53_musl/linux-mvebu_cortexa53/linux-4.14.187/tools/perf-target-aarch64_cortex-a53_musl/.built] Error 2
make[2]: Leaving directory '/build/package/devel/perf'
time: package/devel/perf/compile#1.19#0.25#1.54
make[1]: *** [package/Makefile:113: package/devel/perf/compile] Error 2
make[1]: Leaving directory '/build'
make: *** [/build/include/toplevel.mk:227: package/perf/compile] Error 2
26.07.20203248Base systemBug ReportVery LowLowFeature request: Add firewall functionaity to support d...TrunkUnconfirmed Task Description

OpenWRT currently has no effective support for firewalling IPv6 on a per-device basis, either to allow inbound connections or to block outbound connections. IPv4-style firewall rules, based on the assumption of fixed IP addresses, do not work in IPv6 dynamic addressing environments (e.g. DHCPv6-PD) encountered by most OpenWRT users. As a result, the benefits of IPv6 in allowing for easier, NAT-free, VOIP communications, gaming, and other purposes that need inbound connectivity are not available to OpenWRT users.

IPv6 firewalling needs rules tied to devices by hostname, DUID, or MAC address. Ip6tables does not support this, and much of the functionality would need to be developed in the form of a shim that would dynamically update ip6tables as IPv6 addresses change on the user’s LAN.

As I see it, the shim architecture would need two parts plus a user interface:

1. a configuration management component that stores IPv6 firewall rules in terms of hostnames, DUIDs, MAC addresses, or other unique identifiers, such as captive portal logins, or 802.1x.

2. a tracking component that maps hostnames/DUID/MACs to IPv6 addresses that ip6tables can use, and updates ip6tables as these addresses change. This component would need to tie into the LAN-side addressing infrastructure to detect changes in device addresses, such as DHCPv6 leases. It would also need to periodically use ip neigh to identify IPv6 devices, such as those running Android, that don’t use DHCPv6. It could also tie into a default-deny ip6tables rule so when an unknown address attempts to connect via IPv6, the tracking component would use ip neigh to identify the MAC of the device and load the appropriate ip6tables rules.

The address mapping component I have described wouldn’t work for non-DHCPv6 devices on LANs with multiple broadcast domains (IPv6 neighbor discovery doesn’t work through routers. Coping with non-DHCPv6 devices on routed LANs would require a captive portal system, or 802.1x support, to tie IPv6 addresses to specific devices. I doubt this situation would apply to very many, if any, OpenWRT users.

Any thoughts?

25.07.20203247Base systemBug ReportVery LowLowtplink 841nd/v9 wan link instability in ath79TrunkUnconfirmed Task Description

Unstable wan interface link on tplink 841nd/v9 running trunk/ath79. This goes all the way back to the ath79 migration, on both 4.19 and 5.4 kernels. Other hardware versions have similar problems with link instability, not sure if related since for them the problem is on the lan switch (MII vs GMII ?).
The only current remedy is to go back to ar7x/9x.

trunk ath79 kernel 5.4
[    0.000000] Linux version 5.4.52 (user@debian-c2q-x64) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13335-586661018e)) #0 Fri Jul 24 17:44:31 2020
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] MIPS: machine is TP-Link TL-WR841N/ND v9
[    0.000000] SoC: Qualcomm Atheros QCA9533 ver 1 rev 1
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-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]   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] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 26796K/32768K available (3518K kernel code, 135K rwdata, 552K rodata, 1228K init, 182K bss, 5972K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] random: get_random_bytes called from 0x8047d9ac with crng_init=0
[    0.000000] CPU clock: 550.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6950037990 ns
[    0.000011] sched_clock: 32 bits at 275MHz, resolution 3ns, wraps every 7809031678ns
[    0.008263] Calibrating delay loop... 364.54 BogoMIPS (lpj=729088)
[    0.046777] pid_max: default: 32768 minimum: 301
[    0.051887] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059623] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.072641] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.082975] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.090242] pinctrl core: initialized pinctrl subsystem
[    0.097121] NET: Registered protocol family 16
[    0.132639] clocksource: Switched to clocksource MIPS
[    0.139490] NET: Registered protocol family 2
[    0.145203] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.154116] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.162235] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.169703] TCP: Hash tables configured (established 1024 bind 1024)
[    0.176622] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.183608] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.191350] NET: Registered protocol family 1
[    0.196043] PCI: CLS 0 bytes, default 32
[    0.204882] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.219334] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.225552] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.252153] pinctrl-single 1804002c.pinmux: 576 pins, size 72
[    0.259542] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.267263] printk: console [ttyS0] disabled
[    0.271917] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.281053] printk: console [ttyS0] enabled
[    0.290138] printk: bootconsole [early0] disabled
[    0.309420] spi-nor spi0.0: s25sl032p (4096 Kbytes)
[    0.314588] 3 fixed-partitions partitions found on MTD device spi0.0
[    0.321171] Creating 3 MTD partitions on "spi0.0":
[    0.326153] 0x000000000000-0x000000020000 : "u-boot"
[    0.332554] 0x000000020000-0x0000003f0000 : "firmware"
[    0.342377] 2 tplink-fw partitions found on MTD device firmware
[    0.348578] Creating 2 MTD partitions on "firmware":
[    0.353748] 0x000000000000-0x00000015a167 : "kernel"
[    0.360145] 0x00000015a168-0x0000003d0000 : "rootfs"
[    0.366518] mtd: device 3 (rootfs) set to be root filesystem
[    0.374664] 1 squashfs-split partitions found on MTD device rootfs
[    0.381159] 0x000000380000-0x0000003d0000 : "rootfs_data"
[    0.388050] 0x0000003f0000-0x000000400000 : "art"
[    0.395312] libphy: Fixed MDIO Bus: probed
[    0.721760] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
[    1.128630] random: fast init done
[    1.361115] libphy: ag71xx_mdio: probed
[    1.366777] libphy: ar8xxx-mdio: probed
[    1.380603] switch0: Atheros AR8229 rev. 1 switch registered on mdio.0
[    1.428783] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[    1.438966] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
[    1.447865] NET: Registered protocol family 17
[    1.456605] 8021q: 802.1Q VLAN Support v1.8
[    1.778816] ag71xx 19000000.eth: connected to PHY at mdio.0:1f:04 [uid=004dd042, driver=Generic PHY]
[    1.789258] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[    1.802272] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.818043] Freeing unused kernel memory: 1228K
[    1.822762] This architecture does not have kernel memory protection.
[    1.829427] Run /sbin/init as init process
[    3.075520] init: Console is alive
[    3.079550] init: - watchdog -
[    4.395760] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.638539] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.656853] init: - preinit -
[    6.192779] random: jshn: uninitialized urandom read (4 bytes read)
[    6.284429] random: jshn: uninitialized urandom read (4 bytes read)
[    6.531236] random: jshn: uninitialized urandom read (4 bytes read)
[    7.526008] eth0: link up (1000Mbps/Full duplex)
[    7.624050] urandom_read: 2 callbacks suppressed
[    7.624062] random: procd: uninitialized urandom read (4 bytes read)
[   12.299478] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[   12.306980] jffs2_build_filesystem(): unlocking the mtd device... 
[   12.306985] done.
[   12.315362] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   13.287819] done.
[   13.297621] jffs2: notice: (395) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   13.317571] mount_root: overlay filesystem has not been fully initialized yet
[   13.330868] mount_root: switching to jffs2 overlay
[   13.371346] overlayfs: upper fs does not support tmpfile.
[   13.965654] urandom-seed: Seed file not found (/etc/urandom.seed)
[   14.009598] eth0: link down
[   14.038974] procd: - early -
[   14.042227] procd: - watchdog -
[   14.836813] procd: - watchdog -
[   14.840490] procd: - ubus -
[   15.192747] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.200117] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.207394] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.215562] procd: - init -
[   16.532037] kmodloader: loading kernel modules from /etc/modules.d/*
[   16.542254] Loading modules backported from Linux version v5.8-rc2-0-g48778464bb7d
[   16.550169] Backport generated by backports.git v5.8-rc2-1-0-g7a69429b
[   16.588147] xt_time: kernel timezone is -0000
[   16.703125] PPP generic driver version 2.4.2
[   16.717839] NET: Registered protocol family 24
[   16.847523] ath: EEPROM regdomain sanitized
[   16.847541] ath: EEPROM regdomain: 0x64
[   16.847546] ath: EEPROM indicates we should expect a direct regpair map
[   16.847574] ath: Country alpha2 being used: 00
[   16.847579] ath: Regpair used: 0x64
[   16.861712] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.864319] ieee80211 phy0: Atheros AR9531 Rev:1 mem=0xb8100000, irq=12
[   16.937701] kmodloader: done loading kernel modules from /etc/modules.d/*
[   17.885427] urngd: v1.0.2 started.
[   18.407594] random: crng init done
[   18.411167] random: 1 urandom warning(s) missed due to ratelimiting
[   34.868429] eth0: link up (1000Mbps/Full duplex)
[   34.873943] br-lan: port 1(eth0) entered blocking state
[   34.879442] br-lan: port 1(eth0) entered disabled state
[   34.885265] device eth0 entered promiscuous mode
[   34.910107] br-lan: port 1(eth0) entered blocking state
[   34.915608] br-lan: port 1(eth0) entered forwarding state
[   37.507145] eth1: link up (100Mbps/Full duplex)
[   39.831972] ath: EEPROM regdomain: 0x8348
[   39.836209] ath: EEPROM indicates we should expect a country code
[   39.842543] ath: doing EEPROM country->regdmn map search
[   39.848053] ath: country maps to regdmn code: 0x3a
[   39.853021] ath: Country alpha2 being used: US
[   39.857637] ath: Regpair used: 0x3a
[   39.861266] ath: regdomain 0x8348 dynamically updated by user
[   42.470602] br-lan: port 2(wlan0) entered blocking state
[   42.476204] br-lan: port 2(wlan0) entered disabled state
[   42.482162] device wlan0 entered promiscuous mode
[   42.982671] br-lan: port 2(wlan0) entered blocking state
[   42.988253] br-lan: port 2(wlan0) entered forwarding state
[   59.553718] eth1: link down
[   60.718547] eth1: link up (100Mbps/Full duplex)
[   96.548621] eth1: link down
[   97.587409] eth1: link up (100Mbps/Full duplex)
[  100.145440] eth1: link down
[  102.946954] eth1: link up (100Mbps/Full duplex)
[  111.553311] eth1: link down
[  112.776248] eth1: link up (100Mbps/Full duplex)
[  113.549617] eth1: link down
[  115.970682] eth1: link up (100Mbps/Full duplex)
[  136.800662] eth1: link down
[  139.396537] eth1: link up (100Mbps/Full duplex)
[  156.992675] eth1: link down
[  159.233976] eth1: link up (100Mbps/Full duplex)
[  239.135336] eth1: link down
[  240.183784] eth1: link up (100Mbps/Full duplex)
[  241.247129] eth1: link down
[  243.648943] eth1: link up (100Mbps/Full duplex)
[  265.151000] eth1: link down
[  267.392623] eth1: link up (100Mbps/Full duplex)
[  272.510875] eth1: link down
[  274.752556] eth1: link up (100Mbps/Full duplex)
[  319.809992] eth1: link down
[  321.080189] eth1: link up (100Mbps/Full duplex)
[  321.220681] eth1: link down
[  323.424159] eth1: link up (100Mbps/Full duplex)
[  353.153236] eth1: link down
[  355.391983] eth1: link up (100Mbps/Full duplex)
[  392.254446] eth1: link down
[  394.495789] eth1: link up (100Mbps/Full duplex)
[  415.998322] eth1: link down
[  418.239825] eth1: link up (100Mbps/Full duplex)
[  431.550121] eth1: link down
[  433.791858] eth1: link up (100Mbps/Full duplex)
[  451.198427] eth1: link down
[  453.791776] eth1: link up (100Mbps/Full duplex)
[  495.070317] eth1: link down
[  496.125390] eth1: link up (100Mbps/Full duplex)
[  497.716438] eth1: link down
[  500.127841] eth1: link up (100Mbps/Full duplex)
[  555.614299] eth1: link down
[  558.335854] eth1: link up (100Mbps/Full duplex)
[  614.110117] eth1: link down
[  616.799873] eth1: link up (100Mbps/Full duplex)
[  667.613869] eth1: link down
[  668.643616] eth1: link up (100Mbps/Full duplex)
[  670.517692] eth1: link down
[  672.927531] eth1: link up (100Mbps/Full duplex)
[  693.728320] eth1: link down
[  695.967338] eth1: link up (100Mbps/Full duplex)
[  712.349846] eth1: link down
[  714.591338] eth1: link up (100Mbps/Full duplex)
[  719.709916] eth1: link down
[  721.951206] eth1: link up (100Mbps/Full duplex)
[  726.045477] eth1: link down
[  728.447172] eth1: link up (100Mbps/Full duplex)
[  740.733548] eth1: link down
[  742.975170] eth1: link up (100Mbps/Full duplex)
[  747.069438] eth1: link down
[  749.471084] eth1: link up (100Mbps/Full duplex)
[  787.357417] eth1: link down
[  789.598944] eth1: link up (100Mbps/Full duplex)
trunk ar7x/9x kernel 4.14
[    0.000000] Linux version 4.14.187 (user@debian-c2q-x64) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13335-586661018e)) #0 Fri Jul 24 17:44:31 2020
[    0.000000] MyLoader: sysp=8d42f1c5, boardp=7720831d, parts=c4502281
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Qualcomm Atheros QCA9533 ver 1 rev 1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-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 803e8330, node_mem_map 81000020
[    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] random: get_random_bytes called from 0x803eb6c4 with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=TL-WR841N-v9  console=ttyS0,115200 rootfstype=squashfs 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: 28000K/32768K available (3033K kernel code, 163K rwdata, 424K rodata, 212K init, 196K bss, 4768K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] Clocks: CPU:550.000MHz, DDR:392.211MHz, AHB:196.105MHz, Ref:25.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6950037990 ns
[    0.000010] sched_clock: 32 bits at 275MHz, resolution 3ns, wraps every 7809031678ns
[    0.008259] Calibrating delay loop... 366.18 BogoMIPS (lpj=1830912)
[    0.074829] pid_max: default: 32768 minimum: 301
[    0.079952] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.086957] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.097194] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.107598] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.114645] NET: Registered protocol family 16
[    0.121018] MIPS: machine is TP-LINK TL-WR841N/ND v9
[    0.615380] clocksource: Switched to clocksource MIPS
[    0.622026] NET: Registered protocol family 2
[    0.627640] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.635004] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.641789] TCP: Hash tables configured (established 1024 bind 1024)
[    0.648693] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.654867] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.661885] NET: Registered protocol family 1
[    0.666563] PCI: CLS 0 bytes, default 32
[    0.671957] Crashlog allocated RAM at address 0x1f00000
[    0.679123] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.692341] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.698550] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.719398] io scheduler noop registered
[    0.723543] io scheduler deadline registered (default)
[    0.729356] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.736570] console [ttyS0] disabled
[    0.760528] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    0.769642] console [ttyS0] enabled
[    0.777212] bootconsole [early0] disabled
[    0.790891] m25p80 spi0.0: found s25sl032p, expected m25p80
[    0.796779] m25p80 spi0.0: s25sl032p (4096 Kbytes)
[    0.802783] 5 tp-link partitions found on MTD device spi0.0
[    0.808602] Creating 5 MTD partitions on "spi0.0":
[    0.813565] 0x000000000000-0x000000020000 : "u-boot"
[    0.820437] 0x000000020000-0x00000014f78c : "kernel"
[    0.828107] 0x00000014f78c-0x0000003f0000 : "rootfs"
[    0.834208] mtd: device 2 (rootfs) set to be root filesystem
[    0.840184] 1 squashfs-split partitions found on MTD device rootfs
[    0.846604] 0x000000380000-0x0000003f0000 : "rootfs_data"
[    0.854810] 0x0000003f0000-0x000000400000 : "art"
[    0.861489] 0x000000020000-0x0000003f0000 : "firmware"
[    0.870564] libphy: Fixed MDIO Bus: probed
[    0.905854] libphy: ag71xx_mdio: probed
[    1.538008] ag71xx-mdio.1: Found an AR934X built-in switch
[    1.591328] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
[    2.228481] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
[    2.238697] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[    2.246688] NET: Registered protocol family 17
[    2.254707] 8021q: 802.1Q VLAN Support v1.8
[    2.266449] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.275223] Freeing unused kernel memory: 212K
[    2.279880] This architecture does not have kernel memory protection.
[    2.535389] random: fast init done
[    3.523199] init: Console is alive
[    3.527119] init: - watchdog -
[    4.834983] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.089112] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.107424] init: - preinit -
[    6.482377] random: procd: uninitialized urandom read (4 bytes read)
[    8.086879] eth0: link up (1000Mbps/Full duplex)
[   11.232837] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[   11.240337] jffs2_build_filesystem(): unlocking the mtd device... 
[   11.240342] done.
[   11.248717] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   12.709018] done.
[   12.718792] jffs2: notice: (377) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   12.739155] mount_root: overlay filesystem has not been fully initialized yet
[   12.753094] mount_root: switching to jffs2 overlay
[   12.794456] overlayfs: upper fs does not support tmpfile.
[   13.705085] urandom-seed: Seed file not found (/etc/urandom.seed)
[   13.754645] eth0: link down
[   13.773004] procd: - early -
[   13.776322] procd: - watchdog -
[   14.582037] procd: - watchdog -
[   14.585809] procd: - ubus -
[   14.935177] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.942566] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.949808] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.957915] procd: - init -
[   15.968186] urandom_read: 5 callbacks suppressed
[   15.968197] random: jshn: uninitialized urandom read (4 bytes read)
[   16.381927] kmodloader: loading kernel modules from /etc/modules.d/*
[   16.409071] Loading modules backported from Linux version v5.8-rc2-0-g48778464bb7d
[   16.416976] Backport generated by backports.git v5.8-rc2-1-0-g7a69429b
[   16.452203] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   16.596580] xt_time: kernel timezone is -0000
[   16.647794] ip_tables: (C) 2000-2006 Netfilter Core Team
[   16.749519] PPP generic driver version 2.4.2
[   16.757350] NET: Registered protocol family 24
[   16.840503] ath: EEPROM regdomain sanitized
[   16.840519] ath: EEPROM regdomain: 0x64
[   16.840524] ath: EEPROM indicates we should expect a direct regpair map
[   16.840553] ath: Country alpha2 being used: 00
[   16.840557] ath: Regpair used: 0x64
[   16.854367] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.857149] ieee80211 phy0: Atheros AR9531 Rev:1 mem=0xb8100000, irq=47
[   16.955955] kmodloader: done loading kernel modules from /etc/modules.d/*
[   17.021080] urngd: v1.0.2 started.
[   17.769041] random: crng init done
[   35.438421] br-lan: port 1(eth0) entered blocking state
[   35.443846] br-lan: port 1(eth0) entered disabled state
[   35.449700] device eth0 entered promiscuous mode
[   37.116966] eth0: link up (1000Mbps/Full duplex)
[   37.121826] br-lan: port 1(eth0) entered blocking state
[   37.127287] br-lan: port 1(eth0) entered forwarding state
[   37.619171] eth1: link up (100Mbps/Full duplex)
 


23.07.20203246KernelBug ReportVery LowLowar8216.c and ar8327.c does not read incoming packets (R...openwrt-19.07Unconfirmed Task Description

Device is Dlink DIR615C1 running 19.07 doesn’t respond to pings. Device has been reset to factory defaults, but doesn’t respond to pings.

ifconfig shows no RX packets and no RX bytes on eth0 interface.

root@OpenWrt:/# ifconfig
br-lan Link encap:Ethernet HWaddr 00:22:B0:BA:50:1F

        inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
        RX packets:0 errors:0 dropped:0 overruns:0 frame:0
        TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:1000
        RX bytes:0 (0.0 B)  TX bytes:378 (378.0 B)

eth0 Link encap:Ethernet HWaddr 00:22:B0:BA:50:1F

        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
        RX packets:0 errors:0 dropped:0 overruns:0 frame:0
        TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:1000
        RX bytes:0 (0.0 B)  TX bytes:1475 (1.4 KiB)
        Interrupt:4

Same DIR615C1 running 18.06.08 works fine.

If I compile the current snapshot with the 18.06.8 code from ar8216.c, ar8216.h, ar8327.c and ar8327.h (the last two were required because of compilation errors), the snapshot image with the older 18.06.8 ar8216 drivers works fine.

There are significant changes in the way the ar8216 is initialized and setup from 18.06.8 to 19.07.1 and the latter code is not reading incoming packets because RX packets and RX bytes are always 0.

Code found in

target/linux/generic/files/drivers/net/phy

Details at

https://forum.openwrt.org/t/lan-doesnt-work-in-19-07-2-custom-build/61945/

23.07.20203244KernelBug ReportVery LowHighath9k_htc: Kernel oops in snapshot on RaspberryPi 4 (at...TrunkUnconfirmed Task Description

- Device: Raspberry Pi4
- Snapshot kernel 5.4 with 5.7 backport
- Install ath9k_htc dongle and connect WiFi client

So, I have been able to tackle down who is causing a kernel panic and reboot of my RPi4 with current snapshots.

It is the ath9k_htc dongle I use but only if there are clients connected to it
Apparently it corrupts memory so the kernel panic look quite different among them, here two caputer with serial:

```
[75789.085223] Unable to handle kernel access to user memory outside uaccess routines at virtual address 0000000000000008
[75789.095930] Mem abort info:
[75789.098716] ESR = 0×96000045 [75789.101763] EC = 0×25: DABT (current EL), IL = 32 bits
[75789.107068] SET = 0, FnV = 0
[75789.110113] EA = 0, S1PTW = 0
[75789.113246] Data abort info:
[75789.116118] ISV = 0, ISS = 0×00000045 [75789.119945] CM = 0, WnR = 1
[75789.122906] user pgtable: 4k pages, 39-bit VAs, pgdp=00000000f6f67000
[75789.129339] [0000000000000008] pgd=0000000000000000, pud=0000000000000000
[75789.136124] Internal error: Oops: 96000045 [#1] SMP
[75789.140994] Modules linked in: ath9k_htc ath9k_common xt_connlimit rt2800usb rt2800lib rt2500usb pppoe ppp_async nf_conncount iptable_nat brcmfmac ath9k_hw ath xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT rtl8812au rt2x00usb rt2x00lib pppox ppp_generic nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack mt76x2u mt76x2e mt76x2_common mt76x02_usb mt76x02_lib mt7603e mt7601u mt76_usb mt76 mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY wireguard usbhid slhc sch_cake nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables hid_generic crc_ccitt compat brcmutil sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic
[75789.141074] act_skbedit act_mirred snd_bcm2835(C) hid evdev ledtrig_heartbeat xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ifb nat46 ip6_udp_tunnel udp_tunnel sit tunnel4 ip_tunnel tun snd_rawmidi snd_seq_device snd_pcm_oss snd_pcm snd_timer snd_mixer_oss snd_hwdep snd_compress snd soundcore nls_utf8 md5 vfat fat nls_iso8859_1 nls_cp437
[75789.289825] CPU: 3 PID: 721 Comm: hostapd Tainted: G C 5.4.51 #0
[75789.297125] Hardware name: Raspberry Pi 4 Model B Rev 1.2 (DT)
[75789.302950] pstate: 20400085 (nzCv daIf +PAN -UAO)
[75789.307739] pc : skb_try_recv_from_queue+0×164/0x1a0
[75789.312869] lr :
skb_try_recv_datagram+0xb0/0x1a8
[75789.317737] sp : ffffffc011553aa0
[75789.321041] x29: ffffffc011553aa0 x28: ffffffc011553bbc
[75789.326344] x27: 0000000000000000 x26: ffffff80f2ccb8d0
[75789.331646] x25: 0000000000000000 x24: ffffffc011553b90
[75789.336949] x23: 0000000000000000 x22: 0000000000000000
[75789.342251] x21: ffffffc011553bbc x20: 0000000000000000
[75789.347553] x19: ffffff80f1e51000 x18: 0000000000000000
[75789.352855] x17: 0000000000000000 x16: 0000000000000000
[75789.358157] x15: 0000000000000000 x14: 0000000000000000
[75789.363459] x13: 0000000000000000 x12: 0000000000000000
[75789.368762] x11: 0000000000000000 x10: 00000055b6805320
[75789.374064] x9 : ffffff80f5090800 x8 : 0000000000000040
[75789.379366] x7 : ffffffc01056a890 x6 : ffffffc011553b90
[75789.384668] x5 : ffffffc011553b4c x4 : ffffffc011553bbc
[75789.389970] x3 : 0000000000000000 x2 : 0000000000000000
[75789.395272] x1 : ffffff80f2ccb8d0 x0 : ffffff80f2ccb800
[75789.400575] Call trace:
[75789.403014] skb_try_recv_from_queue+0×164/0x1a0
[75789.407796]
skb_try_recv_datagram+0xb0/0x1a8
[75789.412318] skb_recv_datagram+0×84/0xa8
[75789.416405] skb_recv_datagram+0×28/0×30 [75789.420320] netlink_recvmsg+0×48/0×330 [75789.424147] sock_recvmsg+0x1c/0×28 [75789.427626]
sys_recvmsg+0×84/0x3e8
[75789.431452]
_sys_recvmsg+0×64/0×88 [75789.435107] sys_recvmsg+0×40/0×80 [75789.438673] arm64_sys_recvmsg+0×20/0×28 [75789.442762] el0_svc_handler+0xd4/0×130 [75789.446588] el0_svc+0×8/0xc
[75789.449464] Code: 51000442 b9001022 a9400662 a9007e7f (f9000441)
[75789.455549] —[ end trace 49dce345634ad00c ]— [75789.460156] Kernel panic - not syncing: Fatal exception
[75789.465373] SMP: stopping secondary CPUs
[75789.469289] Kernel Offset: disabled
[75789.472768] CPU features: 0×0002,20006000
[75789.476766] Memory Limit: none
[75789.479813] Rebooting in 3 seconds..
```

```
[22276.297087] Unable to handle kernel access to user memory with fs=KERNEL_DS at virtual address 000000000000004c
[22276.307207] Mem abort info:
[22276.309997] ESR = 0×96000005 [22276.313075] EC = 0×25: DABT (current EL), IL = 32 bits
[22276.318389] SET = 0, FnV = 0
[22276.321436] EA = 0, S1PTW = 0
[22276.324575] Data abort info:
[22276.327453] ISV = 0, ISS = 0×00000005 [22276.331287] CM = 0, WnR = 0
[22276.334255] user pgtable: 4k pages, 39-bit VAs, pgdp=00000000f1f36000
[22276.340696] [000000000000004c] pgd=00000000f40b0003, pud=00000000f40b0003, pmd=0000000000000000
[22276.349401] Internal error: Oops: 96000005 [#1] SMP
[22276.354272] Modules linked in: ath9k_htc ath9k_common xt_connlimit rt2800usb rt2800lib rt2500usb pppoe ppp_async nf_conncount iptable_nat brcmfmac ath9k_hw ath xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT rtl8812au rt2x00usb rt2x00lib pppox ppp_generic nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack mt76x2u mt76x2e mt76x2_common mt76x02_usb mt76x02_lib mt7603e mt7601u mt76_usb mt76 mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY wireguard usbhid slhc sch_cake nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables hid_generic crc_ccitt compat brcmutil sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic
[22276.354354] act_skbedit act_mirred snd_bcm2835(C) hid evdev ledtrig_heartbeat xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ifb nat46 ip6_udp_tunnel udp_tunnel sit tunnel4 ip_tunnel tun snd_rawmidi snd_seq_device snd_pcm_oss snd_pcm snd_timer snd_mixer_oss snd_hwdep snd_compress snd soundcore nls_utf8 md5 vfat fat nls_iso8859_1 nls_cp437
[22276.503133] CPU: 2 PID: 1883 Comm: sh Tainted: G C 5.4.51 #0
[22276.510088] Hardware name: Raspberry Pi 4 Model B Rev 1.2 (DT)
[22276.515916] pstate: 60400005 (nZCv daif +PAN -UAO)
[22276.520710] pc : vfs_read+0xc/0×158 [22276.524192] lr : kernel_read+0×40/0×88 [22276.527933] sp : ffffffc016943c80
[22276.531240] x29: ffffffc016943c80 x28: 0000000000000000
[22276.536546] x27: 0000000000000002 x26: ffffffc01080bf60
[22276.541853] x25: ffffff80f50d8c80 x24: ffffffc010960cd8
[22276.547158] x23: 00000000fffffff8 x22: ffffff80f52d8438
[22276.552463] x21: ffffff80f52d8400 x20: 0000007fffffffff
[22276.557769] x19: ffffff80f2c68000 x18: 0000000000000000
[22276.563074] x17: 0000000000000000 x16: 0000000000000000
[22276.568379] x15: 00000000008a4000 x14: 0000000000000001
[22276.573684] x13: 0000000000000b90 x12: 0000000000000b90
[22276.578989] x11: 0000000000474470 x10: 0000000000474470
[22276.584295] x9 : 0000000000064470 x8 : 000000046474e552
[22276.589600] x7 : 0000000000000000 x6 : 0000000000000000
[22276.594906] x5 : 0000000000000000 x4 : 0000000000000020
[22276.600211] x3 : ffffffc016943da8 x2 : 000000000000001a
[22276.605516] x1 : ffffff80f50d8c80 x0 : 0000000000000008
[22276.610821] Call trace:
[22276.613263] vfs_read+0xc/0×158 [22276.616397] kernel_read+0×40/0×88 [22276.619795] load_elf_binary+0xf4/0xd08
[22276.623624] search_binary_handler.part.55+0xac/0×278 [22276.628669] do_execve_file+0x4c4/0x6a8
[22276.632671]
arm64_sys_execve+0×38/0×48 [22276.636676] el0_svc_handler+0xd4/0×130 [22276.640505] el0_svc+0×8/0xc
[22276.643386] Code: d503201f a9bc7bfd 910003fd a90363f7 (b9404404)
[22276.649475] —[ end trace 081a8415f22be558 ]— [22276.654086] Kernel panic - not syncing: Fatal exception
[22276.659307] SMP: stopping secondary CPUs
[22276.663223] Kernel Offset: disabled
[22276.666705] CPU features: 0×0002,20006000
[22276.670706] Memory Limit: none
[22276.673756] Rebooting in 3 seconds..
```

I have tried two different RPi4 hardware and two different SD cards. No other devices are connected to the USB ports,ath9k_htc dongle is connected to USB 2.0 port.

With 19.07.x on a Orangepi PC2 device, the same dongle behaved correctly

 


23.07.20203243Base systemBug ReportVery LowLowDifferent channels in multiSSID setup for one Wi-Fi car...TrunkUnconfirmed Task Description

This was requested as feature in the LuCI: https://github.com/openwrt/luci/issues/4210 but it was closed that it can not be implemented first in the LuCI as it needs to be added to the OpenWrt first, however, it is possible to configure it manually in the CLI.

From the issue:
Some wifi cards support creating more AP interfaces on different channels. But luci currently does not support specifying different channel for different interfaces which belongs to the same card. Currently all interfaces which belongs to the same card (phy) share same channel/frequency.

iw phy info prints following output for such card:

        valid interface combinations:
                 * #{ managed, AP, P2P-client, P2P-GO } <= 3,
                   total <= 3, #channels <= 2, STA/AP BI must match
Showing tasks 1 - 50 of 1068 Page 1 of 221 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing