OpenWrt/LEDE Project

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

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

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

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

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

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

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

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

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

Relevant logs:

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


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

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

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

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

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

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

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

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

Effort needs to be put into sorting this out.

Temporary workarounds:

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

Longer term:

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

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

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

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

This needs fixing/funding to sort it out though.

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

OpenWrt master r13174-73fa1aba94 on octeon with kernel 5.4

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

The Imagebuilder fails in the following situation:

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

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

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

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

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

Below is the full log.

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

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

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

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

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

Here is what conntrack -L says:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Device A (worse RX SNR):

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

Device B (better RX SNR)

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

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

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

Maybe related to FS#1246

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

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

WiFi EEPROM of the devices:

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

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

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

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

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

Bootlog:

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

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

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

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

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

Greetings,
–Thomas

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

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

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

The current naming scheme is quite long:

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

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

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

09.03.2017609Base systemFeature RequestMediumLowprocd: implement runlevel 1TrunkNew Task Description

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

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

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

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

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

Default htmode

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

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

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

Default channel

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

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

PPPoE is broken on WRT1900ACS

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

pppd debug log:

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

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

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

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

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

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

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

make target/install V=s

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

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

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

Reproduce:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

 

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

Software version:
openwrt 19.07 r10860, default packages versions.

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

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

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

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

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

Alternative Settings:

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

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

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

To reproduce:

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

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

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

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

28.09.20203365Base systemBug ReportVery LowCriticalaccess USB storage in LEDE for Talon AD7200TrunkUnconfirmed Task Description

Anybody have an ideal to access USB storage at Talon AD72000 with nexmon firmware? lede-ad7200?

Several ways I have tried:

1. search for path like `/mnt/dev` `/dev/`, I can see my usb flash disk led blinking and there show up the device after I insert the disk, but I can NOT cd into the disk

2. install other tool via `opkg`, especially Quick Start for Adding a USB drive, however, the whole OS will crash down when install `kmod-usb-storage` at step 3 and I have to start all over.

Let me know if any solution

Best.

26.09.20203363Base systemBug ReportVery LowMediumopkg kmod selection failureAllUnconfirmed Task Description

The snapshot builds frequently change Kernel versions which breaks compatibility with kmods from /target/subtarget/packages. For this reason the /target/subtarget/kmods archive was introduced, allowing running machines to select not only the latest, but also a compatible kmod.

Currently the builbot adds the kmod archive here, later on like directly in the buildsystem via this commit.

The PR above brought up the issue that OPKG selects wrong Kernel versions, even if the kmod feeds contains a compatible version. Looking at the OPKG code it seems that this function simply compares package names and considers them as matching. The responded package is returned to opkg.c just then checked for unsatisfied_dependencies. As the function only receives a single package it can’t evaluate any alternatives.

A possible solution *could* be to kick out problematic packages (aka unfitting kmods) earlier, e.g. by not adding them to the list of matching packages after all. This happens here. We could run pkg_hash_fetch_unsatisfied_dependencies on each match skip adding it to matching_pkgs.

I tried for a while to implement that, but failed. By adding the extra check it effectively skipped dependency checks allowing to install completely incompatible packages. I’d therefore be very happy if someone with more C experience could look into that.

24.09.20203360Base systemBug ReportVery LowLowmake with source files in package does not always rebui...AllUnconfirmed Task Description

Whilst working on a custom build it has been observed that if I have an openwrt package that includes a build/Prepare step which copies sourcecode from the packagedir to the build dir this does not always happen if the sourcecode has been modified.

I’ve tracked it down to the find_mds step which uses the find command to make a list of all the files in the package directory.

This list is passed to the mkhash utility on stdin, which produces the hash part of the .prepared file.

If the contents of the list change then the build/Prepare step is re-ran, which copies the source code from package dir to build dir.

However if the contents of the list have not changed then the build/Prepare step is not run leaving the old stale files in the build dir.

There are a few issues with the list method

The order of files is undefined, the list can change order resulting in a different hash causing false rebuild
If a file is modified it may not go to the end of the list, resulting in same list with same hash so no build when required.

By adding modified time after the filename, then sorting the list both the above two issues can be resolved.

I’ve made a potential fix here : https://github.com/openwrt/openwrt/pull/3445

I’ve tested my fix locally and I can see rebuilds only when I modify source.

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

 


23.09.20203359PackagesBug ReportVery LowMediumhttps-dns-proxy / luci-app-https-dns-proxy: expose a co...TrunkUnconfirmed Task Description

As per https://github.com/aarond10/https_dns_proxy, it supports `-v` for `Increase logging verbosity. (INFO)`. I’m encountering some problems with https-dns-proxy (https://github.com/aarond10/https_dns_proxy/issues/92) but I can’t troubleshoot them because there’s no way to pass `-v` to `https-dns-proxy` when started by luci-app-https-dns-proxy.

23.09.20203358PackagesBug ReportVery LowHighiwinfo.scan ubus call failed with latest uhttpdTrunkUnconfirmed Task Description

With latest uhttpd package (2020-09-18), the wireless scan failed in our MT7688 devices (ramps mt76x8). The original uhttpd (2020-08-05-212f8364) version works before.

The iwinfo.scan is using the nobatch=true flag when calling rpc.declare (luci/modules/luci-base/htdocs/luci-static/resources/network.js:83)

23.09.20203357PackagesBug ReportVery LowLowcollectd-mod-openvpn: can't enable pluginTrunkUnconfirmed Task Description

See the screenshot. Unlike other plugins, this one is missing “Enable this plugin” checkbox, and therefore, cannot be enabled via UI.

22.09.20203356PackagesBug ReportVery LowMediumhttps-dns-proxy: Luci interface breaks the configuratio...openwrt-19.07Unconfirmed Task Description

When you edit `/etc/config/https-dns-proxy` and set a custom server, not known to Luci HTML interface, the Luci UI at /cgi-bin/luci/admin/services/https-dns-proxy will display “CIRA Canadian Shield (Family)” as the selected resolver. This, by itself is not a problem yet, as the Proxy will function as expected.

However, the moment one makes any changes in the UI, e.g. changing listen port, `/etc/config/https-dns-proxy` will get rewritten and an actual resolver for CIRA Canadian Shield (Family) will be used.

Luci interface for HTTPS DNS Proxy should:

1. Bare minimum: indicate a custom resolver is used, and not lose the resolver after making changes to listen port and other stuff.
1. Nice to have: Allow a user to define a custom resolver in the UI - by specifying `resolver_url`, `bootstrap_dns`, `user` and `group` properties

The problem applies on any device as it’s not device-specific.

Reproduction instruction:

1. Edit `/etc/config/https-dns-proxy` and make it look like this:

```
config main ‘config’

      option update_dnsmasq_config '-'

config https-dns-proxy

      option listen_addr '127.0.0.1'
      option listen_port '5054'
      option user 'nobody'
      option group 'nogroup'
      option bootstrap_dns '1.1.1.1,1.0.0.1,2606:4700:4700::1111,2606:4700:4700::1001'
      option resolver_url 'https://1.1.1.1/dns-query'

```
2. Go to http://192.168.10.1/cgi-bin/luci/admin/services/https-dns-proxy and observe “CIRA Canadian Shield (Family)” as the selected resolver.
3. Change listen port and click Save & Apply.
4. Observe `/etc/config/https-dns-proxy` lose `resolver_url` setting.

21.09.20203355PackagesBug ReportVery LowLowUMDNS: does not start on master with seccomp TrunkUnconfirmed Task Description

UMDNS does not start on master with seccomp
this has bee tested on ramips (dir878 and redmiac2100)
if i comment out
# procd_set_param seccomp /etc/seccomp/umdns.json
from /etc/init.d/umdns

it works

20.09.20203354Base systemBug ReportVery LowMediumRB750Gr3 fail to boot with recent snapshotsTrunkUnconfirmed Task Description

I can netboot and flash RB750Gr3 with latest 19.04 (built myself)
Latest master snapshot from today september 20 fail to netboot or flashboot (after flashing from an image that netboot ;) )
Build from a fresh master git clone (default + luci-ssl) also fail

OpenWrt kernel loader for MIPS based SoC
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Decompressing kernel... done!
Starting kernel at 80001000...

# boot stuck here

Build with the following patch on top of 90853439a162d7c5389f6a68028b4390c349c04d netboot and flashboot fine

diff --git a/target/linux/ramips/mt7621/config-5.4 b/target/linux/ramips/mt7621/config-5.4
index b4c8ab1f1c..c7a5e6d2d3 100644
--- a/target/linux/ramips/mt7621/config-5.4
+++ b/target/linux/ramips/mt7621/config-5.4
@@ -27,7 +27,7 @@ CONFIG_CEVT_R4K=y
 CONFIG_CLKDEV_LOOKUP=y
 CONFIG_CLKSRC_MIPS_GIC=y
 CONFIG_CLONE_BACKWARDS=y
-CONFIG_CMDLINE="rootfstype=squashfs,jffs2"
+CONFIG_CMDLINE="rootfstype=squashfs,jffs2 earlyprintk"
 CONFIG_CMDLINE_BOOL=y
 # CONFIG_CMDLINE_OVERRIDE is not set
 CONFIG_COMMON_CLK=y
20.09.20203353PackagesBug ReportVery LowMediumiproute2 compilation fails due to dynsyms syntax errorTrunkUnconfirmed Task Description

Building master:

files="e_bpf.c em_canid.c em_cmp.c em_ipset.c em_ipt.c em_meta.c em_nbyte.c em_u32.c f_basic.c f_bpf.c f_cgroup.c f_flow.c f_flower.c f_fw.c f_matchall.c f_route.c f_rsvp.c f_tcindex.c f_u32.c m_action.c m_bpf.c m_connmark.c m_csum.c
m_ct.c m_ctinfo.c m_ematch.c m_estimator.c m_gact.c m_gate.c m_ife.c m_ipt.c m_mirred.c m_mpls.c m_nat.c m_pedit.c m_police.c m_sample.c m_simple.c m_skbedit.c m_skbmod.c m_tunnel_key.c m_vlan.c m_xt_old.c p_eth.c p_icmp.c p_ip.c p_ip
6.c p_tcp.c p_udp.c q_atm.c q_cake.c q_cbq.c q_cbs.c q_choke.c q_clsact.c q_codel.c q_drr.c q_dsmark.c q_etf.c q_ets.c q_fifo.c q_fq.c q_fq_codel.c q_fq_pie.c q_gred.c q_hfsc.c q_hhf.c q_htb.c q_ingress.c q_mqprio.c q_multiq.c q_netem
.c q_pie.c q_plug.c q_prio.c q_qfq.c q_red.c q_rr.c q_sfb.c q_sfq.c q_skbprio.c q_taprio.c q_tbf.c static-syms.c tc.c tc_cbq.c tc_class.c tc_core.c tc_estimator.c tc_exec.c tc_filter.c tc_monitor.c tc_qdisc.c tc_red.c tc_stab.c tc_uti
l.c" ; \
echo "{" > dynsyms.list ; \
for s in `grep -B 3 '\<dlsym' $files | sed -n '/snprintf/{s:.*"\([^"]*\)".*:\1:;s:%s::;p}'` ; do \
        sed -n '/'$s'[^ ]* =/{s:.* \([^ ]*'$s'[^ ]*\) .*:\1;:;p}' $files ; \
done >> dynsyms.list ; \
echo "show_stats; print_nl; print_tm; parse_rtattr; parse_rtattr_flags; get_u32; matches; addattr_l; addattr_nest; addattr_nest_end; };" >> dynsyms.list
    CC       m_xt.so
In file included from ../include/uapi/linux/netfilter_ipv4/ip_tables.h:21,
                 from m_xt.c:19:
../include/uapi/linux/if.h:134: warning: "IFF_VOLATILE" redefined
 #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|\

In file included from m_xt.c:16:
/home/user/dev/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/include/net/if.h:48: note: this is the location of the previous definition
 #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST| \

    CC       emp_ematch.tab.o
/home/user/dev/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/lib/gcc/mips-openwrt-linux-musl/8.4.0/../../../../mips-openwrt-linux-musl/bin/ld:dynsyms.list:0: syntax error in dynamic list
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:174: m_xt.so] Error 1

The dynsyms file contains:

$ cat ./build_dir/target-mips_24kc_musl/linux-ath79_generic/iproute2-tc/iproute2-5.8.0/tc/dynsyms.list
{
bpf_action_util;
connmark_action_util;
csum_action_util;
ct_action_util;
ctinfo_action_util;
gact_action_util;
gate_action_util;
ife_action_util;
ipt_action_util;
mirred_action_util;
mpls_action_util;
nat_action_util;
pedit_action_util;
police_action_util;
sample_action_util;
simple_action_util;
skbedit_action_util;
skbmod_action_util;
tunnel_key_action_util;
vlan_action_util;
ipt_action_util;
canid_ematch_util;
cmp_ematch_util;
ipset_ematch_util;
ipt_ematch_util;
meta_ematch_util;
nbyte_ematch_util;
u32_ematch_util;
p_pedit_eth;
p_pedit_icmp;
p_pedit_ip;
p_pedit_ip6;
p_pedit_tcp;
p_pedit_udp;
atm_qdisc_util;
cake_qdisc_util;
cbq_qdisc_util;
cbs_qdisc_util;
choke_qdisc_util;
clsact_qdisc_util;
codel_qdisc_util;
drr_qdisc_util;
dsmark_qdisc_util;
etf_qdisc_util;
ets_qdisc_util;
bfifo_qdisc_util;
pfifo_qdisc_util;
pfifo_head_drop_qdisc_util;
pfifo_fast_qdisc_util;
fq_qdisc_util;
fq_codel_qdisc_util;
fq_pie_qdisc_util;
gred_qdisc_util;
hfsc_qdisc_util;
hhf_qdisc_util;
htb_qdisc_util;
ingress_qdisc_util;
mqprio_qdisc_util;
multiq_qdisc_util;
netem_qdisc_util;
pie_qdisc_util;
plug_qdisc_util;
prio_qdisc_util;
qfq_qdisc_util;
red_qdisc_util;
rr_qdisc_util;
sfb_qdisc_util;
sfq_qdisc_util;
skbprio_qdisc_util;
taprio_qdisc_util;
tbf_qdisc_util;
basic_filter_util;
bpf_filter_util;
cgroup_filter_util;
flow_filter_util;
flower_filter_util;
fw_filter_util;
matchall_filter_util;
route_filter_util;
rsvp_filter_util;
rsvp6_filter_util;
tcindex_filter_util;
u32_filter_util;
bpf_exec_util;
show_stats; print_nl; print_tm; parse_rtattr; parse_rtattr_flags; get_u32; matches; addattr_l; addattr_nest; addattr_nest_end; };
 


20.09.20203352Base systemBug ReportVery LowMedium[dnsmasq] DHCP Option 6 doesn't proper auto-configuredTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

DHCP Options 6(DNS Server) doesn’t correctly set after re-enable dns role on dnsmasq.

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

LuCI Master (git-20.223.26773-d18ef13) / OpenWrt R20.8.27
DNSMasq Version 2.81
Unbound Version 1.10.1

- Steps to reproduce

1. According to OpenWRT Wiki, https://openwrt.org/docs/guide-user/base-system/dhcp_configuration#disabling_dns_role , Disable DNS Role first.
2. Re-Enable DNS Role by reverting the changes above or configure unbound DNS with LuCI, make sure to set unbound linked to dnsmasq as DHCP Server.
3. Whatever choice you made on step 2, DHCP Option 6 won’t be set. According to the capture by wireshark, the DHCP response packet does NOT contain any DNS Server related setting, which will finally lead Windows set 127.0.0.1 as DNS server and your internet connection won’t be detected.


19.09.20203350KernelBug ReportVery LowHighKernel Warning in module mac80211/tx.copenwrt-19.07Unconfirmed Task Description

Hi,

I am using the following with the latest update of openwrt:

Model Netgear R6220
Architecture MediaTek MT7621 ver:1 eco:3
Firmware Version OpenWrt 19.07.4 r11208-ce6496d796 / LuCI openwrt-19.07 branch git-20.260.30581-915a64c
Kernel Version 4.14.195

The problem occured already with 19.07.3 several times, so I upgraded to 19.07.4, but the problem remains.
The wifi module kept crashing and in consequence a part of the wifi devices cannot connect anymore. Sometimes the router
recovers by itself, sometimes not and a reboot is necessary to get wifi working again. It mostly affects the 2,4 GHz band
and not the 5 GHz band, but that might be related which device is renewing DHCP or which ones are not (I am not sure).
A reboot solves the problem, but after some time, the problem occurs again. After the below warning, the router runs without
further problems for 2 days now. So it seems pretty rare. Nevertheless, the same hardware was working fine with 18.x
openwrt for a year at least. No kernel warning at the time. I cannot completely rule out that the HW is broken as it is
of age, as you can see. Any hint on what I should report or test myself is welcome! I can help debug and even install
updates that should fix the problem, if necessary. The router ist just used as an access point - routing is taking
place elsewhere.

Here is the korresponding kernel warning, where I included the immediate log entries before and after:

Thu Sep 17 22:02:05 2020 daemon.notice hostapd: wlan1: DFS-RADAR-DETECTED freq=5680 ht_enabled=1 chan_offset=-1 chan_width=2 cf1=5670 cf2=0
Thu Sep 17 22:02:05 2020 daemon.notice hostapd: wlan1: DFS-NEW-CHANNEL freq=5220 chan=44 sec_chan=1
Thu Sep 17 22:02:05 2020 daemon.info hostapd: wlan1: IEEE 802.11 driver starting channel switch: freq=5220, ht=1, vht_ch=0×0, offset=1, width=2 (40 MHz), cf1=5230, cf2=0
Thu Sep 17 22:02:05 2020 daemon.notice hostapd: wlan1: CTRL-EVENT-STARTED-CHANNEL-SWITCH freq=5220 ht_enabled=1 ch_offset=1 ch_width=40 MHz cf1=5230 cf2=0 dfs=0
Thu Sep 17 22:02:06 2020 daemon.info hostapd: wlan1: IEEE 802.11 driver had channel switch: freq=5220, ht=1, vht_ch=0×0, offset=1, width=2 (40 MHz), cf1=5230, cf2=0
Thu Sep 17 22:02:06 2020 daemon.notice hostapd: wlan1: CTRL-EVENT-CHANNEL-SWITCH freq=5220 ht_enabled=1 ch_offset=1 ch_width=40 MHz cf1=5230 cf2=0 dfs=0
Thu Sep 17 22:02:06 2020 daemon.notice hostapd: wlan1: AP-CSA-FINISHED freq=5220 dfs=0
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.685439] ————[ cut here ]———— Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.694747] WARNING: CPU: 1 PID: 14 at backports-4.19.137-1/net/mac80211/tx.c:4292 0x877acbc4 [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.716632] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT slhc nfnetlink nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd gpio_button_hotplug
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.858467] usbcore nls_base usb_common
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.866285] CPU: 1 PID: 14 Comm: ksoftirqd/1 Not tainted 4.14.195 #0
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.878915] Stack : 00000000 00000000 00000000 86dae9b0 00000000 00000000 00000000 00000000
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.895548] 00000000 00000000 00000000 00000000 00000000 00000001 87c67b70 53261622
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.912178] 87c67c08 00000000 00000000 00006298 00000038 8049c858 00000008 00000000
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.928810] 00000000 80550000 000d37ed 00000000 87c67b50 00000000 00000000 877e7fd0
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.945442] 877acbc4 000010c4 86f0a480 86dae9b0 00000003 802ad210 00000004 806b0004
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.962073] ...
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.966931] Call Trace:
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.966973] [<8049c858>] 0x8049c858
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.978757] [<877acbc4>] 0x877acbc4 [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.990532] [<802ad210>] 0x802ad210
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.997462] [<8000c1a0>] 0x8000c1a0
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.004393] [<8000c1a8>] 0x8000c1a8
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.011325] [<804856b4>] 0x804856b4
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.018260] [<877acbc4>] 0x877acbc4 [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.030029] [<80072a84>] 0x80072a84
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.036956] [<8002e608>] 0x8002e608
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.043892] [<877acbc4>] 0x877acbc4 [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.055668] [<8002e6f0>] 0x8002e6f0
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.062600] [<80053b7c>] 0x80053b7c
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.069536] [<877acbc4>] 0x877acbc4 [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.081310] [<877af408>] 0x877af408 [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.093086] [<80067ca8>] 0x80067ca8
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.100018] [<80017f6c>] 0x80017f6c
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.106957] [<87777b90>] 0x87777b90 [mt76x02_lib@87770000+0×9700]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.119081] [<877af86c>] 0x877af86c [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.130870] [<87777bd0>] 0x87777bd0 [mt76x02_lib@87770000+0×9700]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.142999] [<877b65e0>] 0x877b65e0 [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.154789] [<877b66bc>] 0x877b66bc [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.166573] [<87774a94>] 0x87774a94 [mt76x02_lib@87770000+0×9700]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.178702] [<800329f4>] 0x800329f4
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.185630] [<804a3658>] 0x804a3658
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.192561] [<8004fd10>] 0x8004fd10
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.199494] [<8004fd10>] 0x8004fd10
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.206420] [<80032cc8>] 0x80032cc8
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.213348] [<8004feb8>] 0x8004feb8
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.220280] [<8049ebd8>] 0x8049ebd8
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.227208] [<8004bf38>] 0x8004bf38
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.234139] [<8004be08>] 0x8004be08
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.241070] [<8004be08>] 0x8004be08
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.248002] [<8004be08>] 0x8004be08
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.254933] [<80006f78>] 0x80006f78
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.261870]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.265166] —[ end trace 9a8b15fbb768cb19 ]— Thu Sep 17 22:02:06 2020 daemon.notice hostapd: wlan1: STA 6c:ad:f8:f1:5a:4b IEEE 802.11: did not acknowledge authentication response
Thu Sep 17 22:02:06 2020 daemon.notice hostapd: wlan1: STA 6c:ad:f8:f1:5a:4b IEEE 802.11: did not acknowledge authentication response

19.09.20203349PackagesBuild FailureVery LowLowlibustream: package/install file conflictsTrunkUnconfirmed Task Description

Reproduce the problem:
selecting `luci-ssl-openssl`

Collected errors:
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package libustream-openssl20200215.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
 *      luci-proto-ppp
 * opkg_install_cmd: Cannot install package luci.
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package luci-ssl-openssl.
pts (1.4.0-9) to root...
make[1]: *** [package/Makefile:68: package/install] Error 255
make[1]: Leaving directory '/media/builds/github-openwrt/openwrt'
make: *** [/media/builds/github-openwrt/openwrt/include/toplevel.mk:236: package/install] Error 2
Command exited with non-zero status 2
19.09.20203348PackagesBuild FailureVery LowLowlibustream: package/install file conflictsTrunkUnconfirmed Task Description

Reproduce the problem:
selecting `luci-ssl-openssl`

Collected errors:
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package libustream-openssl20200215.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
 *      luci-proto-ppp
 * opkg_install_cmd: Cannot install package luci.
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package luci-ssl-openssl.
pts (1.4.0-9) to root...
make[1]: *** [package/Makefile:68: package/install] Error 255
make[1]: Leaving directory '/media/builds/github-openwrt/openwrt'
make: *** [/media/builds/github-openwrt/openwrt/include/toplevel.mk:236: package/install] Error 2
Command exited with non-zero status 2
19.09.20203347PackagesBuild FailureVery LowLowlibustream: package/install file conflictsTrunkUnconfirmed Task Description

Reproduce the problem:
selecting `luci-ssl-openssl`

Collected errors:
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package libustream-openssl20200215.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
 *      luci-proto-ppp
 * opkg_install_cmd: Cannot install package luci.
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package luci-ssl-openssl.
pts (1.4.0-9) to root...
make[1]: *** [package/Makefile:68: package/install] Error 255
make[1]: Leaving directory '/media/builds/github-openwrt/openwrt'
make: *** [/media/builds/github-openwrt/openwrt/include/toplevel.mk:236: package/install] Error 2
Command exited with non-zero status 2
19.09.20203346PackagesBuild FailureVery LowMediumUbox invalid memory access (does not build with gcc10)TrunkUnconfirmed Task Description

See: https://git.openwrt.org/?p=project/ubox.git;a=blob;f=kmodloader.c;h=6f06ee3939f2f3e151357d33cfd165603cb40e4d;hb=HEAD#l699

Prints:

In function 'main_insmod',
    inlined from 'main' at /home/openwrt/openwrt-lam/build/archer-c7-v2eu/build_dir/target-mips_24kc_musl/ubox-2019-12-31-0e34af14/kmodloader.c:1062:10:
/home/openwrt/openwrt-lam/build/archer-c7-v2eu/build_dir/target-mips_24kc_musl/ubox-2019-12-31-0e34af14/kmodloader.c:734:13: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
  734 |  options[0] = 0;
      |  ~~~~~~~~~~~^~~
/home/openwrt/openwrt-lam/build/archer-c7-v2eu/build_dir/target-mips_24kc_musl/ubox-2019-12-31-0e34af14/kmodloader.c: In function 'main':
/home/openwrt/openwrt-lam/build/archer-c7-v2eu/build_dir/target-mips_24kc_musl/ubox-2019-12-31-0e34af14/kmodloader.c:727:12: note: at offset 0 to an object with size 0 allocated by 'malloc' here
  727 |  options = malloc(len);
      |            ^~~~~~~~~~~

Fix im using for my builds is attached.

Kind regards
MartB

17.09.20203345Base systemBug ReportVery LowCriticalWifi off TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on TP-Link TL-WR842N v5.
- OpenWrt/LEDE 19.07.04 with last updating.
- Just use wifi on the device. It have random wifi off about 1 min.
Log:
https://pastebin.com/c64H5kCR

15.09.20203340Base systemBuild FailureVery LowLowiproute2 broken on openwrt/packages CITrunkUnconfirmed Task Description

@hauke

It appears that iproute2 is not compiling on the openwrt packages continuous integration tests for arc_arc700 and arc_archs

https://github.com/openwrt/packages/pull/13169/checks?check_run_id=1115466649 https://github.com/openwrt/packages/pull/13169/checks?check_run_id=1115466679


15.09.20203339Base systemBug ReportVery LowMedium[netifd] potential kernel memory leakTrunkUnconfirmed Task Description
  • mvebu
  • self-compiled kernel 5.9 with memleak detection enabled
  • netifd 2020-09-12-55a7b6b7-1

—-

echo clear > /sys/kernel/debug/kmemleak
echo scan > /sys/kernel/debug/kmemleak
cat /sys/kernel/debug/kmemleak


  unreferenced object 0xe9400000 (size 8896):
  comm "netifd", pid 2314, jiffies 4294824963 (age 12186.578s)
  hex dump (first 32 bytes):
    00 00 40 e9 00 00 00 00 00 00 00 00 00 00 00 00  ..@.............
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<6c721e2f>] hwbm_pool_refill+0x50/0x88
    [<7e7e2552>] hwbm_pool_add+0x6c/0x11c
    [<092daf5d>] mvneta_bm_update_mtu+0x64/0x1ac
    [<25a31bd5>] mvneta_change_mtu+0xa4/0x140
    [<b80b104c>] dev_set_mtu_ext+0xd8/0x198
    [<28e7b11b>] dev_set_mtu+0x44/0xa4
    [<82387d21>] dsa_slave_change_mtu+0x134/0x20c
    [<b80b104c>] dev_set_mtu_ext+0xd8/0x198
    [<28e7b11b>] dev_set_mtu+0x44/0xa4
    [<61c48941>] dev_ioctl+0x31c/0x464
    [<2480ee5a>] sock_ioctl+0x2e4/0x664
    [<406a3520>] sys_ioctl+0x90/0xbc
    [<31543a6f>] ret_fast_syscall+0x0/0x54
    [<784618c7>] 0xbecaaad8
unreferenced object 0xea92c000 (size 8896):
  comm "netifd", pid 2314, jiffies 4294824965 (age 12186.574s)
  hex dump (first 32 bytes):
    00 c0 92 ea 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<6c721e2f>] hwbm_pool_refill+0x50/0x88
    [<7e7e2552>] hwbm_pool_add+0x6c/0x11c
    [<092daf5d>] mvneta_bm_update_mtu+0x64/0x1ac
    [<25a31bd5>] mvneta_change_mtu+0xa4/0x140
    [<b80b104c>] dev_set_mtu_ext+0xd8/0x198
    [<28e7b11b>] dev_set_mtu+0x44/0xa4
    [<82387d21>] dsa_slave_change_mtu+0x134/0x20c
    [<b80b104c>] dev_set_mtu_ext+0xd8/0x198
    [<28e7b11b>] dev_set_mtu+0x44/0xa4
    [<61c48941>] dev_ioctl+0x31c/0x464
    [<2480ee5a>] sock_ioctl+0x2e4/0x664
    [<406a3520>] sys_ioctl+0x90/0xbc
    [<31543a6f>] ret_fast_syscall+0x0/0x54
    [<784618c7>] 0xbecaaad8


14.09.20203338Base systemBug ReportVery LowHighTL-WR841N v13 unstable Ethernet and WiFi workopenwrt-19.07Unconfirmed Task Description

I am using default build of OpenWRT 19.07.4 for TL-WR841N v13 without any additional packages. I have Ethernet PPPoE from provider, some ethernet and WiFi WPA2 clients. WiFi and Ethernet are unstable: they can disappear for 30-60 seconds without any serious reason. On 18.06.8 there wasn’t those problems. I attached system log. Thanks for help.

13.09.20203336Base systemBug ReportVery LowLowtrunk: generic/pending-5.4/770-11-net-ethernet-mtk_eth_...TrunkUnconfirmed Task Description

On current trunk the following file has a truncated extension

generic/pending-5.4/770-11-net-ethernet-mtk_eth_soc-avoid-rearming-interrupt-if.pa

the initial commit of this file

11.09.20203332Base systemBug ReportVery LowHighpacket loss on miwifi-mini @ 19.07.4openwrt-19.07Assigned Task Description

mt7620 / miwifi-mini
19.07.3 works fine
19.07.4 works bad:

kern.err kernel: [ 6615.438086] mtk_soc_eth 10100000.ethernet eth0: transmit timed out
kern.info kernel: [ 6615.444416] mtk_soc_eth 10100000.ethernet eth0: dma_cfg:80000065
kern.info kernel: [ 6615.450586] mtk_soc_eth 10100000.ethernet eth0: tx_ring=0, base=07780000, max=1024, ctx=17, dtx=17, fdx=16, next=17
kern.info kernel: [ 6615.461258] mtk_soc_eth 10100000.ethernet eth0: rx_ring=0, base=06408000, max=1024, calc=47, drx=48
kern.err kernel: [ 6619.306350] mtk_soc_eth 10100000.ethernet eth0: transmit timed out
kern.info kernel: [ 6619.312684] mtk_soc_eth 10100000.ethernet eth0: dma_cfg:80000065
kern.info kernel: [ 6619.318854] mtk_soc_eth 10100000.ethernet eth0: tx_ring=0, base=07780000, max=1024, ctx=28, dtx=28, fdx=16, next=28
kern.info kernel: [ 6619.329525] mtk_soc_eth 10100000.ethernet eth0: rx_ring=0, base=06470000, max=1024, calc=63, drx=64
kern.err kernel: [ 6623.157217] mtk_soc_eth 10100000.ethernet eth0: transmit timed out
kern.info kernel: [ 6623.163553] mtk_soc_eth 10100000.ethernet eth0: dma_cfg:80000065
kern.info kernel: [ 6623.169720] mtk_soc_eth 10100000.ethernet eth0: tx_ring=0, base=07780000, max=1024, ctx=25, dtx=25, fdx=16, next=25
kern.info kernel: [ 6623.180398] mtk_soc_eth 10100000.ethernet eth0: rx_ring=0, base=06408000, max=1024, calc=59, drx=60
09.09.20203330Base systemBug ReportVery LowLowds-lite: too low default MTUopenwrt-19.07Unconfirmed Task Description

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

OpenWrt 19.07.3 r11063-85e04e9f46 / LuCI openwrt-19.07 branch git-20.136.49537-fb2f363
ds-lite 7-4

- Steps to reproduce: install system, install ds-lite, the mtu for all dslite connections will be [1280|https://github.com/openwrt/openwrt/blob/master/package/network/ipv6/ds-lite/files/dslite.sh#L66] by default.

Because of it, if a VPN with ipv6 is used over ipv4, it’s completely broken.

tun0 w/ ipv6 -> [vpn client -> [dslite with mtu 1280] -> vpn server] -> private network

As far as I see, it should be relatively easy to make default MTU autoconfigurable with parent’s MTU-x (where 30 is 30, if I’m right)

06.09.20203329Base systemBug ReportVery LowMediumChannel 144 disabled for Europe regulatory domains when...TrunkUnconfirmed Task Description

This applies for all devices all releases.

iw list throws 5720 MHz [144] (disabled) for ES reg domain.

Channel 144 is allowed in all Europe and have the same rules as channel 140 for example, so it should be listed as:
5720 MHz [144] (26.0 dBm) (no IR, radar detection).

More info: https://en.wikipedia.org/wiki/List_of_WLAN_channels#5_GHz_or_5.9_GHz_(802.11a/h/j/n/ac/ax)

I’m not sure if this is the place to report because I think this is present also upstream in the kernel regulatory rules.

With 144 active is possible to have one more 20, 40 and 80 mhz band in Europe. The rest of the channels have been updated properly, even the 169 an 173 channels only usable in Europe and India appears as available. It’s just 144 the only one I see is not taken into account for Europe.

06.09.20203328Base systemBug ReportVery LowLowucert: dyld: Library not loaded: libjson-c.5.dylib on m...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
macOS X 10.15.6

- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWRT master 252197f014932c03cea7c080d8ab90e0a963a281
ucert 2020-05-24 00b921d80ac0dc47339305d803f865ff43c56d63
json-c 0.14

- Steps to reproduce
Clone the OpenWRT.git and try to compile it on macOS X 10.15.6

cd /Volumes/WRT3200.test
rm -rf openwrt
git clone https://github.com/openwrt/openwrt.git
cd openwrt
./scripts/feeds update -a
./scripts/feeds install -a
make defconfig
make menuconfig
# Select any target, e.g. Target System = Marvel EBU Armada, Target Profile = Linksys WRT3200ACM
# the multi-threaded build fails, but saves some time
make -j 12
make V=sc

...
make[3]: Entering directory '/Volumes/WRT3200.test/openwrt/package/base-files'
...
[ -s /Volumes/WRT3200.test/openwrt/key-build.ucert ] || /Volumes/WRT3200.test/openwrt/staging_dir/host/bin/ucert -I -c /Volumes/WRT3200.test/openwrt/key-build.ucert -p /Volumes/WRT3200.test/openwrt/key-build.pub -s /Volumes/WRT3200.test/openwrt/key-build
dyld: Library not loaded: libjson-c.5.dylib
  Referenced from: /Volumes/WRT3200.test/openwrt/staging_dir/host/bin/ucert
  Reason: image not found
bash: line 1: 22681 Abort trap: 6           /Volumes/WRT3200.test/openwrt/staging_dir/host/bin/ucert -I -c /Volumes/WRT3200.test/openwrt/key-build.ucert -p /Volumes/WRT3200.test/openwrt/key-build.pub -s /Volumes/WRT3200.test/openwrt/key-build
make[3]: *** [Makefile:229: /Volumes/WRT3200.test/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/base-files/.configured_4a9c46a6557bf47f111f9c7c4b182824_8e081b74cf069e1e6800a5bbcbb282f0] Error 134
make[3]: Leaving directory '/Volumes/WRT3200.test/openwrt/package/base-files'
time: package/base-files/compile#0.50#0.28#0.85
make[2]: *** [package/Makefile:113: package/base-files/compile] Error 2
make[2]: Leaving directory '/Volumes/WRT3200.test/openwrt'
make[1]: *** [package/Makefile:107: /Volumes/WRT3200.test/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/Volumes/WRT3200.test/openwrt'
make: *** [/Volumes/WRT3200.test/openwrt/include/toplevel.mk:235: world] Error 2

Dependancies for ucert

otool -L staging_dir/host/bin/ucert 
staging_dir/host/bin/ucert:
	@rpath/libubox.dylib (compatibility version 0.0.0, current version 0.0.0)
	@rpath/libblobmsg_json.dylib (compatibility version 0.0.0, current version 0.0.0)
	libjson-c.5.dylib (compatibility version 5.0.0, current version 5.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.100.1)

ls -l staging_dir/host/lib/libjson-c*
-rwxr-xr-x  1 g  staff  65680 Sep  6 23:12 staging_dir/host/lib/libjson-c.5.0.0.dylib
lrwxr-xr-x  1 g  staff     21 Sep  6 23:12 staging_dir/host/lib/libjson-c.5.dylib -> libjson-c.5.0.0.dylib
lrwxr-xr-x  1 g  staff     17 Sep  6 23:12 staging_dir/host/lib/libjson-c.dylib -> libjson-c.5.dylib

Workaround

cp staging_dir/host/lib/libjson-c.5.dylib package/base-files/
make -j 12
06.09.20203327Base systemBug ReportVery LowLowEthernet LED assignments incorrect on Linkysys WRT32Xopenwrt-19.07Unconfirmed Task Description

Device: Linksys WRT32X
OpenWRT version: OpenWrt 19.07.3 r11063-85e04e9f46

The LAN/WAN link LEDs seem to be incorrectly assigned in OpenWRT (offset by 1):

- LAN Port 1 link results in no LED lighting
- LAN Ports 2-4 light LAN link LEDs 1-3 respectively
- WAN port lights LAN LED 4

The WAN LED is assigned to the correct (and default) interface (eth1) in LUCI. The rest of the LEDs are not configurable, leading me to believe the issue is with indexing of the LEDs themselves, as opposed to LED-Port assignment.

06.09.20203326Base systemBug ReportVery LowLowArcher C7 v2 and TL-WR1043ND v2 doesn't broadcast prop...TrunkUnconfirmed Task Description

I was having issues to connect with the 2 GHz interfaces with a Intel 8265. The SSID is hardly seen by the client. I reported a bugs some time ago into iwlwifi module but today I have seen this:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=252197f014932c03cea7c080d8ab90e0a963a281

I think It could be related. I will need to test with ar71xx flashed to see if the problem dissapears but It seems very similar and also the affected interfaces are Atheros ones.

06.09.20203325Base systemBug ReportVery LowLowMT7628an: lose radio whilst downloading jarge dataTrunkUnconfirmed Task Description

Using a GL.inet MT300N-V2

For simple browsing this setup works well.
If I downlaod a large file, for example a Debina DVD, a few seconds varying to a few minutes into the download, the PC disconnect and the SSID vanishes in list. The PC cannot reconnect.

If I connect over WAN and resrart the radio under network wireless, I can reconnect.

Typically the download is occuring at 60mbits and the PC is connect at 144mbits. Mean Score 14-15.
If I use traffic shaping tbf on the output of the wireless interface, and throttle back to 35mbits (with occassional peak over 40mbits as tokens allow). I have very reliable wifi.

I cannot replicate on GL.iNET stick firmware using the closed source driver.

I am using a 2.1a power supply, so I think this is OK.
I am have replicated on multiple devices, so I do not think this is hhardware.
I live on a UK estate of multiple blocks of flats (arond about 16 blocks of 8 flats each). 2.4GHz wifi is very busy. After some grief discussion on forum, I believe the cause is wireless environmant.

The MT300N-V2 and PC are about 0.75m apart.

WAN: connection ethernet → ISP @ 120mbits
LAN: LAN switch port, with wireless bridge. PSK V2, Cipher auto, 20MHz width.

Given I think cause is environment, I think recreation might be tuff.
What tracing can I do to help?
I have nohup running, so I can run logread to a usb stick to get ths output?
Will this help?

git status shows I am up to date, I cloned 2020-09-01 not great with git so not sure how to get mroe info about version.

Thanks for your help
Simon

06.09.20203324Base systemBug ReportVery LowMediumZyxel EMG2926-Q10A (aka NBG6716) requires changes in tr...TrunkUnconfirmed Task Description

459c8c9ef816156107e297964d088ddee2b4eef5 added support for the Zyxel NBG6716 device. Unfortunately, I believe it made an error in the partition layout. Because the RAS image header is written to flash, the offsets for sub-partitions of firmware must be shifted down by the size of this header (i.e., 128KiB):

diff --git a/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts b/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts                                            
index 90328078dd..148a6ea2d1 100644
--- a/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts
+++ b/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts
@@ -148,14 +148,19 @@
                        reg = <0x500000 0x7b00000>;
                };

-               partition@500000 {
+               // There's a RAS image header inside the firmware partition,
+               // taking up one erase block (128KiB), so the kernel and ubi
+               // partitions are shifted by that amount.
+
+               partition@520000 {
+                       // JFFS2 containing the compressed kernel
                        label = "kernel";
-                       reg = <0x500000 0x400000>;
+                       reg = <0x520000 0x400000>;
                };

-               partition@900000 {
+               partition@920000 {
                        label = "ubi";
-                       reg = <0x900000 0x7700000>;
+                       reg = <0x920000 0x76C0000>;
                };
        };
 };

Without this change, the bootloader finds the kernel inside its JFFS2 partition just fine, but then the kernel dies when it cannot find the UBI header at the indicated offset.

It is not clear to me whether this change should be applied to all NBG6716-equivalent devices or merely the one I have in hand.

Speaking of, that device calls itself a AAVK-EMG2926Q10A in its RAS header and refuses to flash anything not so labeled. Therefore, I have added a target for it by lightly extending the existing one:

diff --git a/target/linux/ath79/dts/qca9558_zyxel_aavk-emg2926q10a.dts b/target/linux/ath79/dts/qca9558_zyxel_aavk-emg2926q10a.dts                          
new file mode 100644
index 0000000000..ec94aa0d73
--- /dev/null
+++ b/target/linux/ath79/dts/qca9558_zyxel_aavk-emg2926q10a.dts
@@ -0,0 +1,2 @@
+/* This is just an alias, really */
+#include "qca9558_zyxel_nbg6716.dts"
diff --git a/target/linux/ath79/image/nand.mk b/target/linux/ath79/image/nand.mk                                                                            
index ad79c487ad..7336dc45d7 100644
--- a/target/linux/ath79/image/nand.mk
+++ b/target/linux/ath79/image/nand.mk
@@ -263,3 +263,9 @@ define Device/zyxel_nbg6716
   UBINIZE_OPTS := -E 5
 endef
 TARGET_DEVICES += zyxel_nbg6716
+
+define Device/zyxel_aavk-emg2926q10a
+  $(call Device/zyxel_nbg6716)
+  RAS_BOARD := AAVK-EMG2926Q10A
+endef
+TARGET_DEVICES += zyxel_aavk-emg2926q10a

Showing tasks 1 - 50 of 1113 Page 1 of 231 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing