3226 Kernel Bug Report High High GL-AR300M: Frequent WAN (eth1) link down / link up openwrt-19.07 Assigned 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!



2328 Base system Bug Report High Medium Allocate resources to sort out odhcpd/dnsmasq interacti... Trunk New 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.



3070 Base system Bug Report Medium Low kmod-cryptodev: WARNING: possible circular locking depe... Trunk New 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]

2690 Base system Bug Report Medium Medium Imagebuilder: "opkg_install_pkg: Package size mismatch"... All New 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

2541 Kernel Bug Report Medium Low Hardware offloading causes some flows to fail to be NAT... openwrt-19.07 New 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.



2283 Base system Bug Report Medium Low m76: crash when creating an additional monitor interfac... Trunk Assigned 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 ]--- ===================================

2216 Kernel Bug Report Medium High ath79 - eth0 Spasmodic Link Speed After Driver Changes?... openwrt-19.07 Assigned 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

2176 Kernel Bug Report Medium High ubiquiti loco xw (AR9342 Rev.2) stops receiving on wire... All New 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 |................| *

1958 Packages Bug Report Medium Low uqmi: unicode characters in SMS confuse uqmi Trunk New Task Description When using uqmi –get-message the message ends up truncated in case it contains unicode characters like german umlauts.



1837 Base system Bug Report Medium Medium Kernel oops when using wireguard and mangle/fwmark openwrt-18.06 New 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(Mod