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  desc
22.08.20181805Base systemBuild FailureVery LowHighar71xx build failure with kernel 4.14TrunkWaiting on reporter Task Description

compiling with GCC 8.2.0

  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/bounds.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  CHK     scripts/mod/devicetable-offsets.h
  CHK     include/generated/compile.h
  CC      arch/mips/ath79/dev-dsa.o
In file included from ./include/linux/ipv6.h:5,
                 from ./include/net/ipv6.h:16,
                 from ./include/net/inetpeer.h:16,
                 from ./include/net/ip_fib.h:24,
                 from ./include/net/switchdev.h:17,
                 from ./include/net/dsa.h:23,
                 from arch/mips/ath79/dev-dsa.h:15,
                 from arch/mips/ath79/dev-dsa.c:17:
./include/uapi/linux/ipv6.h:107:1: error: alignment 1 of 'struct ipv6_destopt_hao' is less than 2 [-Werror=packed-not-aligned]
 } __attribute__((packed));
 ^
cc1: all warnings being treated as errors
make[7]: *** [scripts/Makefile.build:329: arch/mips/ath79/dev-dsa.o] Error 1
make[6]: *** [scripts/Makefile.build:587: arch/mips/ath79] Error 2
make[5]: *** [Makefile:1035: arch/mips] Error 2
16.10.20181898Base systemBug ReportVery LowHighArcher C7 V2- AR71XX - Could not find PHY for device '...TrunkWaiting on reporter Task Description

Supply the following if possible:
- Archer C7 V2- AR71XX
- OpenWrt SNAPSHOT r8328-39e5e17045
- Clean Build and Boot

 

Get the following messages at bootup and the 5Ghz Radio will not come up.

Tue Oct 16 06:32:32 2018 daemon.notice netifd: radio0 (3767): Could not find PHY for device ‘radio0’ Tue Oct 16 06:32:32 2018 daemon.notice netifd: radio0 (3798): WARNING: Variable ‘data’ does not exist or is not an array/object

The 2.4Ghz Radio starts just fine.

I tried deleting the config file and doing

wifi config

But that had no effect only finding the the 2.4Ghz Radio. This was working before upgrading to the latest snapshot from base 18.06.


06.02.2017472Base systemBug ReportVery LowMedium6to4 support with 1:1 natTrunkWaiting on reporter Task Description

One-to-one NAT means you have LAN address on interface and its mapped 1:1 to external ip addresses.
You can have incoming connections.

In such configuration “ipaddr” must be specified in 6to4 protocol section.
But due to bug this addr is submitted as local address for tunnel creation.
It does not work.

I fixed this with the following patch to /lib/netifd/proto/6to4.sh

48,53c48,53
< [ -z “$ipaddr” ] && {
< if ! network_get_ipaddr ipaddr “$wanif”; then
< proto_notify_error “$cfg” “NO_WAN_ADDRESS” < return
< fi
< }

if ! network_get_ipaddr ipladdr “$wanif”; then
> proto_notify_error “$cfg” “NO_WAN_ADDRESS”
return
> fi
>
> [ -z “$ipaddr” ] && ipaddr=$ipladdr
76c76
< json_add_string local “$ipaddr”

json_add_string local “$ipladdr”

I suggest you integrate this patch or do something similar yourself.

18.11.20171177Base systemBug ReportVery LowMediumdnsmasq spams syslog on loss of WAN connectionTrunkWaiting on reporter Task Description

Supply the following if possible:
- Device problem occurs on

Observed on an APU2

- Software versions of LEDE release, packages, etc.

DISTRIB_ID='LEDE'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r5244-f0c37f6ceb'
DISTRIB_CODENAME='reboot'
DISTRIB_TARGET='x86/64'
DISTRIB_ARCH='x86_64'
DISTRIB_DESCRIPTION='LEDE Reboot SNAPSHOT r5244-f0c37f6ceb'
DISTRIB_TAINTS='no-all busybox'

# opkg list_installed | grep dnsmasq
dnsmasq - 2.78-2

- Steps to reproduce

In my case, I have an upstream service provisioned with pppoe. Occasionally, the pppoe session dies as the ISP does some kind of unannounced maintenance. Since updating recently from a March 2016 build of OpenWrt, when this outage occurs, dnsmasq sends many messages, like this:

Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied
Nov 16 02:03:10 192.168.80.1 dnsmasq[27288]: failed to send packet: Permission denied

nearly 30 per second.

25.07.20181692PackagesBug ReportVery LowMediumDDNS seems to not use ca-certificatesTrunkWaiting on reporter Task Description

On 18.06 rc2 I have to type “IGNORE” in the “Path to ca-file” field. Otherwise I always get this error:

Wed Jul 25 23:31:21 2018 user.err ddns-scripts[1745]: myddns_ipv4: cURL Error: ‘77’ Wed Jul 25 23:31:22 2018 user.warn ddns-scripts[1745]: myddns_ipv4: Transfer failed - retry 1/0 in 60 seconds

The ca-certificates package is installed. On 18.06 rc1 I got not this error.

10.08.20181765Base systemBug ReportVery LowMediumdnsmasq-full fails to listen on dhcp socket after reboo...openwrt-18.06Waiting on reporter Task Description

When I restart my router, dnsmasq comes up and works for IPv6, but fails to serve out dhcp for ipv4.

Supply the following if possible:
- Device problem occurs on

Ubiquiti Edgerouter Lite

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

OpenWrt 18.06.0, r7188-b0b5c64c22
dnsmasq-full - 2.80test3-1

- Steps to reproduce

Reboot the router. When it comes up just after reboot, it fails to respond to DHCP requests. lsof shows that it’s not listening on port 67, and does not have /tmp/dhcp.leases open:

root@junction:~# lsof -p 1792 -P
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
dnsmasq 1792 dnsmasq cwd DIR 0,15 3488 1166 /
dnsmasq 1792 dnsmasq rtd DIR 0,15 3488 1166 /
dnsmasq 1792 dnsmasq txt REG 7,0 349744 1526 /usr/sbin/dnsmasq
dnsmasq 1792 dnsmasq mem REG 7,0 16776 189 /usr/lib/libmnl.so.0.2.0
dnsmasq 1792 dnsmasq mem REG 8,2 117320 1033 /lib/libgcc_s.so.1
dnsmasq 1792 dnsmasq mem REG 8,2 25440 1114 /lib/libubus.so
dnsmasq 1792 dnsmasq mem REG 8,2 46168 1029 /lib/libubox.so
dnsmasq 1792 dnsmasq mem REG 7,0 466112 696 /usr/lib/libgmp.so.10.3.2
dnsmasq 1792 dnsmasq mem REG 7,0 206656 702 /usr/lib/libhogweed.so.4.3
dnsmasq 1792 dnsmasq mem REG 7,0 231888 704 /usr/lib/libnettle.so.6.3
dnsmasq 1792 dnsmasq mem REG 7,0 22232 216 /usr/lib/libnfnetlink.so.0.2.0
dnsmasq 1792 dnsmasq mem REG 7,0 111864 561 /usr/lib/libnetfilter_conntrack.so.3.6.0
dnsmasq 1792 dnsmasq mem REG 8,2 650896 1012 /lib/libc.so
dnsmasq 1792 dnsmasq mem REG 0,14 23 713 /tmp/TZ
dnsmasq 1792 dnsmasq 0u CHR 1,3 0t0 1226 /dev/null
dnsmasq 1792 dnsmasq 1u CHR 1,3 0t0 1226 /dev/null
dnsmasq 1792 dnsmasq 2u CHR 1,3 0t0 1226 /dev/null
dnsmasq 1792 dnsmasq 3u netlink 0t0 3561 ROUTE
dnsmasq 1792 dnsmasq 4u IPv4 3568 0t0 UDP junction:53
dnsmasq 1792 dnsmasq 5u IPv4 3569 0t0 TCP junction:53 (LISTEN)
dnsmasq 1792 dnsmasq 6u IPv4 3570 0t0 UDP localhost:53
dnsmasq 1792 dnsmasq 7u IPv4 3571 0t0 TCP localhost:53 (LISTEN)
dnsmasq 1792 dnsmasq 8u IPv6 3572 0t0 UDP localhost:53
dnsmasq 1792 dnsmasq 9u IPv6 3573 0t0 TCP localhost:53 (LISTEN)
dnsmasq 1792 dnsmasq 10r FIFO 0,8 0t0 3574 pipe
dnsmasq 1792 dnsmasq 11w FIFO 0,8 0t0 3574 pipe
dnsmasq 1792 dnsmasq 12u unix 0x800000041d16ca00 0t0 3576 type=DGRAM
dnsmasq 1792 dnsmasq 13u a_inode 0,9 0 14 [eventpoll]
dnsmasq 1792 dnsmasq 14r FIFO 0,8 0t0 3598 pipe
dnsmasq 1792 dnsmasq 15w FIFO 0,8 0t0 3598 pipe
dnsmasq 1792 dnsmasq 16u unix 0x800000041d16d900 0t0 3599 type=STREAM
dnsmasq 1792 dnsmasq 21u IPv6 3729 0t0 UDP fe80::822a:a8ff:fe4c:9dc1:53
dnsmasq 1792 dnsmasq 22u IPv6 3730 0t0 TCP fe80::822a:a8ff:fe4c:9dc1:53 (LISTEN)
dnsmasq 1792 dnsmasq 26u IPv6 3745 0t0 UDP fd90:79d3:5065:f00d::1:53
dnsmasq 1792 dnsmasq 27u IPv6 3746 0t0 TCP fd90:79d3:5065:f00d::1:53 (LISTEN)
dnsmasq 1792 dnsmasq 35u IPv6 6049 0t0 UDP cpe-2606-A000-1100-DB-0-0-0-1.dyn6.twc.com:53
dnsmasq 1792 dnsmasq 36u IPv6 6050 0t0 TCP cpe-2606-A000-1100-DB-0-0-0-1.dyn6.twc.com:53 (LISTEN)

...if I then restart it with “/etc/init.d/dnsmasq restart”, it comes up properly. The router

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
dnsmasq 6861 dnsmasq cwd DIR 0,15 3488 1166 /
dnsmasq 6861 dnsmasq rtd DIR 0,15 3488 1166 /
dnsmasq 6861 dnsmasq txt REG 7,0 349744 1526 /usr/sbin/dnsmasq
dnsmasq 6861 dnsmasq mem REG 7,0 16776 189 /usr/lib/libmnl.so.0.2.0
dnsmasq 6861 dnsmasq mem REG 8,2 117320 1033 /lib/libgcc_s.so.1
dnsmasq 6861 dnsmasq mem REG 8,2 25440 1114 /lib/libubus.so
dnsmasq 6861 dnsmasq mem REG 8,2 46168 1029 /lib/libubox.so
dnsmasq 6861 dnsmasq mem REG 7,0 466112 696 /usr/lib/libgmp.so.10.3.2
dnsmasq 6861 dnsmasq mem REG 7,0 206656 702 /usr/lib/libhogweed.so.4.3
dnsmasq 6861 dnsmasq mem REG 7,0 231888 704 /usr/lib/libnettle.so.6.3
dnsmasq 6861 dnsmasq mem REG 7,0 22232 216 /usr/lib/libnfnetlink.so.0.2.0
dnsmasq 6861 dnsmasq mem REG 7,0 111864 561 /usr/lib/libnetfilter_conntrack.so.3.6.0
dnsmasq 6861 dnsmasq mem REG 8,2 650896 1012 /lib/libc.so
dnsmasq 6861 dnsmasq mem REG 0,14 23 713 /tmp/TZ
dnsmasq 6861 dnsmasq 0u CHR 1,3 0t0 1226 /dev/null
dnsmasq 6861 dnsmasq 1u CHR 1,3 0t0 1226 /dev/null
dnsmasq 6861 dnsmasq 2u CHR 1,3 0t0 1226 /dev/null
dnsmasq 6861 dnsmasq 3u REG 0,14 0 806 /tmp/dhcp.leases
dnsmasq 6861 dnsmasq 4u IPv4 10060 0t0 UDP *:bootps
dnsmasq 6861 dnsmasq 5u netlink 0t0 10061 ROUTE
dnsmasq 6861 dnsmasq 6u IPv4 10063 0t0 UDP junction:domain
dnsmasq 6861 dnsmasq 7u IPv4 10064 0t0 TCP junction:domain (LISTEN)
dnsmasq 6861 dnsmasq 8u IPv4 10065 0t0 UDP localhost:domain
dnsmasq 6861 dnsmasq 9u IPv4 10066 0t0 TCP localhost:domain (LISTEN)
dnsmasq 6861 dnsmasq 10u IPv6 10067 0t0 UDP fe80::822a:a8ff:fe4c:9dc1:domain
dnsmasq 6861 dnsmasq 11u IPv6 10068 0t0 TCP fe80::822a:a8ff:fe4c:9dc1:domain (LISTEN)
dnsmasq 6861 dnsmasq 12u IPv6 10069 0t0 UDP fd90:79d3:5065:f00d::1:domain
dnsmasq 6861 dnsmasq 13u IPv6 10070 0t0 TCP fd90:79d3:5065:f00d::1:domain (LISTEN)
dnsmasq 6861 dnsmasq 14u IPv6 10071 0t0 UDP cpe-2606-A000-1100-DB-0-0-0-1.dyn6.twc.com:domain
dnsmasq 6861 dnsmasq 15u IPv6 10072 0t0 TCP cpe-2606-A000-1100-DB-0-0-0-1.dyn6.twc.com:domain (LISTEN)
dnsmasq 6861 dnsmasq 16u IPv6 10073 0t0 UDP localhost:domain
dnsmasq 6861 dnsmasq 17u IPv6 10074 0t0 TCP localhost:domain (LISTEN)
dnsmasq 6861 dnsmasq 18r FIFO 0,8 0t0 10075 pipe
dnsmasq 6861 dnsmasq 19w FIFO 0,8 0t0 10075 pipe
dnsmasq 6861 dnsmasq 20u unix 0x800000041c446300 0t0 10077 type=DGRAM
dnsmasq 6861 dnsmasq 21u a_inode 0,9 0 14 [eventpoll]
dnsmasq 6861 dnsmasq 22r FIFO 0,8 0t0 10078 pipe
dnsmasq 6861 dnsmasq 23w FIFO 0,8 0t0 10078 pipe
dnsmasq 6861 dnsmasq 24u unix 0x800000041c445e00 0t0 10079 type=STREAM

When I restart the daemon, I see these messages in the log as well:

Fri Aug 10 09:46:50 2018 daemon.info dnsmasq-dhcp[6861]: DHCP, IP range 192.168.1.100 – 192.168.1.249, lease time 12h
Fri Aug 10 09:46:50 2018 daemon.info dnsmasq-dhcp[6861]: DHCP, sockets bound exclusively to interface br-lan

...but they are absent when the daemon starts on a clean boot.

Attaching my /etc/config/dhcp, and the output from logread.

25.08.20181815Base systemBug ReportVery LowMediumUdhcpc on boot don't add default gateway and dns serveropenwrt-18.06Waiting on reporter Task Description
  • TP-Link Archer C7 v2
  • OpenWrt 18.06.1 r7258-5eb055306f / LuCI openwrt-18.06 branch (git-18.228.31946-f64b152)

—-

  • I update my router from 15 with erasing of config.
  • setup WAN
        config interface 'wan'
        option ifname 'eth0.2'
        option proto 'dhcp'
        option macaddr '00:0F:EA:60:3D:30'
  • Dhcp work as expected returned ip and simple route
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.40.62.0      10.40.62.5      255.255.255.0   UG    0      0        0 eth0.2
192.168.2.0     *               255.255.255.0   U     0      0        0 br-lan

But no default gw added

  • After reboot i found in log
Sat Aug 25 11:44:54 2018 daemon.notice netifd: wan (1297): udhcpc: started, v1.28.3
Sat Aug 25 11:44:54 2018 daemon.err odhcp6c[1296]: Failed to send RS (Address not available)
Sat Aug 25 11:44:54 2018 daemon.notice netifd: wan (1297): udhcpc: sending discover
Sat Aug 25 11:44:54 2018 daemon.notice netifd: wan (1297): udhcpc: sending select for 10.40.62.76
Sat Aug 25 11:44:54 2018 daemon.notice netifd: wan (1297): udhcpc: lease of 10.40.62.76 obtained, lease time 43200

- But if I run udhcpc by hand

~# udhcpc -i eth0.2
udhcpc: started, v1.28.3
udhcpc: sending discover
udhcpc: sending select for 10.40.62.76
udhcpc: lease of 10.40.62.76 obtained, lease time 43200
udhcpc: ifconfig eth0.2 10.40.62.76 netmask 255.255.255.0 broadcast 10.40.62.255
udhcpc: setting default routers: 10.40.62.5

And routing is like

~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         10.40.62.5      0.0.0.0         UG    0      0        0 eth0.2
10.40.62.0      *               255.255.255.0   U     0      0        0 eth0.2
192.168.2.0     *               255.255.255.0   U     0      0        0 br-lan

Workaround

  • Added to scheduled task
*/1 * * * * udhcpc  -i eth0.2
 


03.03.2017588Base systemBug ReportMediumLowopenvpn-mbedtls crash on mpc85xx with signal 4 (SIGILL)lede-17.01Waiting on reporter Task Description

device: tp-link wdr4900
affected version: lede 17.01 / openvpn-mbedtls - 2.4.0-3

openvpn config:

dev tun-monitoring
remote somehost 1194

ca /etc/openvpn/monitoring-vpn/ca.crt
cert /etc/openvpn/monitoring-vpn/xyz.crt
key /etc/openvpn/monitoring-vpn/xyz.key
tls-auth /etc/openvpn/monitoring-vpn/ta.key 1
remote-cert-tls server

keepalive 10 120
cipher AES-256-CBC
comp-lzo yes

persist-key
persist-tun


17.06.20181591Base systemBug ReportVery LowLowprocd: May hangs during reboot because of netdevice ref...lede-17.01Waiting on reporter Task Description

- Device problem occurs on: Basically all I’ve tested (ar71xx, ipq806x, ipq40xx, ...)
- Software versions of OpenWrt/LEDE: LEDE 17.01x
- Steps to reproduce: Install the attached package, boot the system, try to reboot it

It was observed that OpenWrt sometimes prints

 unregister_netdevice: waiting for br-lan to become free. Usage count = 1

and then hangs indefinitely when trying to reboot. Doing a hard reset seems to the the only way to resolve this problem.

I didn’t have such problems with a systemd based Debian Stretch system and the same trigger kernel module

22.07.20181684Base systemBug ReportVery LowLow18.06.0-rc2 dos not save settings when applyed ramips/r...TrunkWaiting on reporter Task Description

D-Link DIR-615 D but using a D2 version
18.06.0-rc2 but 17.01.5 is working fine!
OpenWrt 18.06.0-rc2 r7141-e4d0ee5af5

I have a issue with Luci or maybe is issue with ramips/rt305x device’s but when i go to apply settings in the webgui and reboot my d-link it goes back to the default openwrt settings however 17.01.5 is working fine no issue here but 18.06.0-rc2 is a no no unless i manual change them in the SSH/SCP folder.

Just to be clear when save&apply is ok but once reboot or turn off by the mains power it resolves into default settings.

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

15.05.2017786Base systemFeature RequestVery LowMediumPlease, add support to ecdsa key typelede-17.01Researching Task Description

At the moment dropbear tool is compiled without the ecdsa key type support.
ECDSA (https://en.wikipedia.org/wiki/Elliptic_Curve_Digital_Signature_Algorithm) is considere better than RSA as it requires fewer key bits to gain same security.

22.06.201626FlysprayFeature RequestVery LowLowComment formatting syntax should be documentedTrunkResearching Task Description

Currently the formatting options are not documented anywhere, and I failed to find any documentation with google. There are a few buttons to use, but they seem to be rather limited (e.g. nothing for quotations).

17.04.2017713Base systemBug ReportVery LowLownetifd: substantially more IFUP events are being create...TrunkResearching Task Description

I have noticed that some services reloaded with a procd “interface.*” raw trigger are reloading on a much more frequent cadence (few minutes or so). LEDE 17.01 does not do this. LEDE Trunk does. I can not find an obvious cause in procd. Though procd should not stop-start for reload without a command line change or explicit file under watch. Perhaps netifd commit a03216660797173fbe67866f75564e3fec9c1e8d is generating unusual numbers of IFUP.

procd_add_raw_trigger “interface.*” 2000 /etc/init.d/[script] reload

29.09.20171024PackagesFeature RequestVery LowLowThere is no "LEDE interface" for the Linux interface cr...AllResearching Task Description

Let’s say I want to enable dropbear only in the tun0 interface created by OpenVPN. The dropbear configuration has an “Interface” field where I can make it listen, for example, only on the “wan” or “lan” interfaces. But the tun0 interface has not been created by anything in /etc/config/network and LEDE doesn’t really know about it, so I can’t specify it the dropbear configuration.

Even adding the tun0 interface to a “vpn” network in /etc/config/network using “proto none” fails to do the trick.

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

Ubiquiti AirGateway and Bullet M2
LEDE 17.01.2
Lighttpd
PHP7

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

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

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

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

root@BlueWave:~# free

           total       used       free     shared    buffers     cached

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

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


19.02.2017534Base systemBug ReportVery LowHighUSB xHCI deadlock on bootlede-17.01Assigned Task Description

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


25.05.2017807KernelBug ReportVery LowHigh7620 external PA misdetected on DIR-810LAllAssigned Task Description
 
On a D-Link DIR810L rev A1 the code to use an external PA is activated, but there
appears to not be one, because when it activates the radio tx power goes
to almost nothing. Preventing this code from activating restores the radios
to normal levels.

Here is the EEPROM found on this device side by side with the contents of
an EEPROM image found in D-LINK’s “OSS” tree for this model (on the right).

/dev/mtd2 MT7620_AP_2T2R-4L_V15.BIN
00000000 20 76 05 01 00 0c 43 76 20 08 ff ff ff ff ff ff | v....Cv .......| 20 76 05 01 00 11 22 00 01 c5 ff ff ff ff ff ff | v....”.........|
00000010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................| ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000020 ff ff ff ff ff ff ff ff 00 11 22 33 44 55 00 0c |..........”3DU..| ff ff ff ff ff ff ff ff c0 a0 bb e3 b1 1c 00 11 |................|
00000030 43 76 20 66 22 0c 04 c0 ff ff 3f 01 55 77 a8 aa |Cv f”.....?.Uw..| 22 00 01 c7 22 0c 04 c0 ff ff 5a 01 55 77 a8 aa |”...”.....Z.Uw..|
00000040 8c 88 ff ff 0a 00 00 00 00 00 00 00 00 00 ff ff |................| 8c 88 ff ff 0a 00 00 00 00 00 00 00 00 00 ff ff |................|
00000050 82 ff 02 02 02 02 02 02 02 02 02 02 02 02 02 02 |................| 82 ff 14 14 14 14 14 14 14 14 15 16 17 18 19 19 |................|
00000060 03 03 03 03 03 03 03 03 03 03 03 03 03 03 80 ff |................| 1a 1a 1a 1a 1a 1a 1b 1b 1b 1b 1b 1b 1c 1c 80 ff |................|
00000070 ff ff 80 ff ff ff 00 00 ff ff ff ff ff ff ff ff |................| ff ff 80 ff ff ff 00 00 ff ff ff ff ff ff ff ff |................|
00000080 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................| ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
000000d0 28 ff ff ff ff ff ff ff ff ff ff ff ff ff 08 08 |(...............| 28 ff ff ff ff ff ff ff ff ff ff ff ff ff 08 08 |(...............|
000000e0 06 06 02 00 06 06 02 00 06 06 02 00 06 06 02 00 |................| 06 06 02 00 06 06 02 00 06 06 02 00 06 06 02 00 |................|
000000f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................| ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
(7610E section skipped)

Both have the same values for CONF1 (0xc004) and CONF2 (0xffff).

The chip ends up identified as RT6352 so it hits both if clauses
in the following section of code from LEDE Reboot SNAPSHOT r4151-0dcc36f:

      if (rt2x00_rt(rt2x00dev, RT3352) ||
          rt2x00_rt(rt2x00dev, RT6352)) {
              if (rt2x00_get_field16(eeprom,
                  EEPROM_NIC_CONF1_EXTERNAL_TX0_PA_3352))
                  __set_bit(CAPABILITY_EXTERNAL_PA_TX0,
                            &rt2x00dev->cap_flags);
              if (rt2x00_get_field16(eeprom,
                  EEPROM_NIC_CONF1_EXTERNAL_TX1_PA_3352))
                  __set_bit(CAPABILITY_EXTERNAL_PA_TX1,
                            &rt2x00dev->cap_flags);
      }
      rt2800_eeprom_read(rt2x00dev, EEPROM_NIC_CONF2, &eeprom);
      if (rt2x00_rt(rt2x00dev, RT6352) && eeprom != 0 && eeprom != 0xffff) {
              if (rt2x00_get_field16(eeprom,
                  EEPROM_NIC_CONF2_EXTERNAL_PA)) {
                  __set_bit(CAPABILITY_EXTERNAL_PA_TX0,
                            &rt2x00dev->cap_flags);
                  __set_bit(CAPABILITY_EXTERNAL_PA_TX1,
                            &rt2x00dev->cap_flags);
              }
      }

...the first section would turn the RT3352 version of this feature on.
The second would not, due to the 0xffff in CONF2.

So it appears the EEPROM is lying in this case, or the identification
as RT6352 is in error.

Not knowing where to access a bunch of EEPROMs from various devices,
I don’t know what conditions to suggest to use for turning off
external PA on models like this, but I hope having my EEPROM dump helps
figure that out.

12.02.2017503KernelBuild FailureVery LowMediumBuild fails with CONFIG_KERNEL_GIT_CLONE_URI beig setAllAssigned Task Description

When specifying

CONFIG_KERNEL_GIT_CLONE_URI

a clean build fails, as the system assumes a already downloaded/cloned/packed linux-source is present in dl/ which on a freshly checked out openwrt/lede source isn’t the case yet, when

toolchain/kernel-headers

is about to be built.

The build error looks like:

make[3]: Entering directory `/build/lede.git/toolchain/kernel-headers'
zcat /build/lede.git/dl/linux-4.4.42.tar.gz | tar -C /build/lede.git/build_dir/toolchain-arm_cortex-a9+neon_gcc-6.3.0_glibc-2.24_eabi -xf -
gzip: /build/lede.git/dl/linux-4.4.42.tar.gz: No such file or directory
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

The issue apparently is located in

include/kernel-defaults.mk

, line 53ff::

  ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),"")
    define Kernel/Prepare/Default
        zcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
        $(Kernel/Patch)
        $(if $(QUILT),touch $(LINUX_DIR)/.quilt_used)
    endef
  else
    define Kernel/Prepare/Default
        zcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
    endef
  endif

For the package

kernel-headers

it just tries to access the not-yet downloaded/cloned/packed linux kernel source archive.

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

22.06.2017863KernelBug ReportMediumMediumath9k failure with AP+11s VIFs ("unsupported hw bitrate...lede-17.01Assigned Task Description

A Gluon user reported the following issue, observed on a TL-WR841N v9 (QCA953x). LEDE version is 17.01.2.

Gluon uses AP+11s VIFs, with multicast_rate set to 12000.

The WLAN became unusable (no connection possible, WLAN LED permantently on) after a few hours of operation. Both VIFs were affected. The system recovered on its own after an hour in this state. Unfortunately, I have no information if beacons were still running in the broken state.

After the recovery, the large number of messages like the following were found in the kernel log:

[40085.953696] ath: phy0: unsupported hw bitrate detected 0x73 using 1 Mbit
[40200.844082] ath: phy0: unsupported hw bitrate detected 0x48 using 1 Mbit
[40281.298039] ------------[ cut here ]------------
[40281.303081] WARNING: CPU: 0 PID: 0 at compat-wireless-2017-01-31/net/mac80211/rx.c:4214 ieee80211_rx_napi+0x130/0x8b0 [mac80211]()
[40281.315230] Rate marked as an HT rate but passed status->rate_idx is not an MCS index [0-76]: 100 (0x64)
[40281.325023] Modules linked in: iptable_nat ath9k nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE ebtable_nat ebtable_filter ebtable_broute ath9k_common xt_time xt_tcpudp xt_state xt_quota xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_LOG xt_CT nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack mac80211 iptable_mangle iptable_filter ip_tables ebtables ebt_vlan ebt_stp ebt_snat ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_ip6 ebt_ip ebt_dnat ebt_arpreply ebt_arp ebt_among ebt_802_3 br_netfilter ath9k_hw ath em_nbyte em_cmp sch_pie em_meta sch_gred sch_teql act_ipt sch_prio em_text sch_codel sch_red sch_fq sch_sfq sch_dsmark act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_htb sch_hfsc batman_adv libcrc32c cfg80211 compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables dummy veth tun act_police cls_basic sch_tbf sch_ingress gpio_button_hotplug crc16 crc32c_generic crypto_hash
[40281.433128] CPU: 0 PID: 0 Comm: swapper Tainted: G        W       4.4.71 #0
[40281.440330] Stack : 803e32a4 00000000 00000001 80440000 8042d1dc 8042ce63 803c48ac 00000000
[40281.440330]    804a378c 00000004 00000000 8180e918 00000000 800a7664 803c9fa8 80430000
[40281.440330]    00000003 00000004 803c83b4 81809d5c 00000000 800a55e0 00000002 00000000
[40281.440330]    8042bf70 801f5300 00000000 00000000 00000000 00000000 00000000 00000000
[40281.440330]    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[40281.440330]    ...
[40281.477351] Call Trace:
[40281.479951] [<800a7664>] vprintk_default+0x24/0x30
[40281.484917] [<800a55e0>] printk+0x2c/0x38
[40281.489077] [<801f5300>] serial8250_get_mctrl+0x30/0x54
[40281.494512] [<80081c60>] warn_slowpath_common+0xa0/0xd0
[40281.499949] [<801a772c>] dump_stack+0x14/0x28
[40281.504473] [<80071ea8>] show_stack+0x50/0x84
[40281.509003] [<80081c60>] warn_slowpath_common+0xa0/0xd0
[40281.514543] [<80e25cf0>] ieee80211_rx_napi+0x130/0x8b0 [mac80211]
[40281.520918] [<80081cbc>] warn_slowpath_fmt+0x2c/0x38
[40281.526158] [<80e25cf0>] ieee80211_rx_napi+0x130/0x8b0 [mac80211]
[40281.532495] [<802623ec>] __build_skb+0x48/0xc8
[40281.537148] [<802625d0>] __netdev_alloc_skb+0xd0/0x148
[40281.542477] [<80060bf4>] handle_int+0x134/0x140
[40281.547181] [<80de8388>] ath9k_cmn_rx_skb_postprocess+0x50/0x168 [ath9k_common]
[40281.554852] [<80e88374>] ath_rx_tasklet+0xee8/0xf4c [ath9k]
[40281.560635] [<8006503c>] __bzero+0xa0/0x164
[40281.565012] [<80e88340>] ath_rx_tasklet+0xeb4/0xf4c [ath9k]
[40281.570828] [<80e851b8>] ath9k_tasklet+0x200/0x28c [ath9k]
[40281.576512] [<80084820>] tasklet_action+0x80/0xc8
[40281.581390] [<800841dc>] __do_softirq+0x250/0x298
[40281.586284] [<800a82bc>] generic_handle_irq+0x24/0x3c
[40281.591540] [<8006a9e0>] plat_irq_dispatch+0xd4/0x10c
[40281.596760] [<80060bf4>] handle_int+0x134/0x140
[40281.601447]
[40281.602992] ---[ end trace f41ea26ed5101c02 ]---

Both the numbers in the “unsupported hw bitrate detected” messages and the status→rate_idx values in the WARNINGs are seemingly random.

04.09.2016153KernelBug ReportVery LowLowKERNEL_DYNAMIC_FTRACE=y on mips => panic TrunkAssigned Task Description

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

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

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

To test, try this config: config.zip

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

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

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

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

Hello,

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

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

Configuration:

/etc/config/system:

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

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

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

18.06.2017853Base systemBug ReportVery LowLowChange dnsmasq domain and local options to listsTrunkAssigned Task Description

On LEDE 17.01 ‘domain’ and ‘local’ options in dnsmasq configuration doesn’t correctly support lists values as per dnsmasq capabilities.

Steps to reproduce

#/etc/config/dhcp
[...]
config dnsmasq
        list domain 'example1.com,192.168.0.0/24'
        list domain 'example2.com,192.168.1.0/24'
        list local '/example1.com/'
        list local '/example2.com/'
[...]

$ uci commit dhcp
$ /etc/init.d/dnsmasq restart

Actual results

#/var/etc/dnsmasq.conf.cfg02411c
[...]
domain=example1.com,192.168.0.0/24 example2.com,192.168.1.0/24
local=/example1.com/ /example2.com/
[...]

Expected results

#/var/etc/dnsmasq.conf.cfg02411c
[...]
domain=example1.com,192.168.0.0/24
domain=example2.com,192.168.1.0/24
local=/example1.com/
local=/example2.com/
[...]

Workaround

Replace append_parm with config_list_foreach here resolve the issue.
I’m attaching a patch for the 17.01 dnsmasq init script but it will break old uci configuration that use ‘option’ instead of ‘list’.
Do you have any suggestion on how to migrate old configuration and set those parameters as lists in uci web interface?

25.11.20171190Base systemBug ReportVery LowLowNETGEAR WNDR3800 USB LED trigger not work properly!TrunkAssigned Task Description

When I plug USB device in USB port, USB is working。I can copy data to usb device. The USB LED show green。But when the data is copying to usb device, the usb led do not blink, just is always green. I select usb trigger and select usbport hub1 and port1. It does not blink too. It means trigger dont work.

model: NETGEAR WNDR3800
Firmware Version LEDE Reboot SNAPSHOT r5420-332438b / LuCI Master (git-17.328.04231-802d5b6)
Kernel Version 4.9.63

By the way, my device work properly in 15.05.1 and 14.07. When I flash LEGE, it have been found this problem.

02.01.20181252Base systemBug ReportVery LowLowNo IP Assigned to Interface with QMI on Quectel EC-25ATrunkAssigned Task Description

I’m attempting to use QMI on a GL.Inet MiFi equipped with a Quectel EC-25A cellular modem.

When I configure the interface using qmi I am able to connect to the cellular network at the radio layer, however my wwan0 interface is not assigned an IP address. Here’s my configuration from /etc/config/network:

  config interface 'modem'
          option proto 'qmi'
          option ifname 'wwan0'
          option device '/dev/cdc-wdm0'
          option country 'country11'
          option apn 'inet.bell.ca'

And some commands showing the device behaviour. You’ll note that raw_ip needs to be set to Y. I’ve integrated this [patch](https://github.com/bmork/LEDE/commit/10aed12fa587e818e4dc5d0db54545623fbe9b5f) to have qmi.sh set the raw_ip mode when required.

  root@OpenWrt:~# cat /sys/class/net/wwan0/qmi/raw_ip
  Y
  root@OpenWrt:~# ifup modem
  root@OpenWrt:~# uqmi -d /dev/cdc-wdm0 --get-data-status
  "connected"
  root@OpenWrt:~# uqmi -d /dev/cdc-wdm0 --get-current-settings
  {
      "pdp-type": "ipv4",
      "ip-family": "ipv4",
      "mtu": 1500,
      "ipv4": {
          "ip": "100.105.180.51",
          "dns1": "206.47.201.246",
          "dns2": "207.231.231.254",
          "gateway": "100.105.180.52",
          "subnet": "255.255.255.248"
      },
      "ipv6": {
          
      },
      "domain-names": {
          
      }
  }
  root@OpenWrt:~# ifconfig wwan0
  wwan0     Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
            inet6 addr: fe80::d789:480e:bfc8:2dac/64 Scope:Link
            UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
            RX packets:28 errors:0 dropped:0 overruns:0 frame:0
            TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000 
            RX bytes:5129 (5.0 KiB)  TX bytes:768 (768.0 B)

If I manually use the uqmi command to connect to the cellular network I can then drive the wwan0 interface using dhcp successfully. Here’s my /etc/config/network.

  config interface 'modem'
          option proto 'dhcp'
          option ifname 'wwan0'

And the resulting successful network connection:

  root@OpenWrt:~# ifup modem
  root@OpenWrt:~# ifconfig wwan0
  wwan0     Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
            inet addr:100.105.180.51  P-t-P:100.105.180.51  Mask:255.255.255.248
            inet6 addr: fe80::d789:480e:bfc8:2dac/64 Scope:Link
            UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
            RX packets:80 errors:0 dropped:0 overruns:0 frame:0
            TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000 
            RX bytes:24102 (23.5 KiB)  TX bytes:16842 (16.4 KiB)
  root@OpenWrt:~# ping -c 1 google.ca
  PING google.ca (172.217.1.163): 56 data bytes
  64 bytes from 172.217.1.163: seq=0 ttl=51 time=29.792 ms
  1. – google.ca ping statistics —

1 packets transmitted, 1 packets received, 0% packet loss

  round-trip min/avg/max = 29.792/29.792/29.792 ms

I believe that for some reason the dhcp client isn’t being run on the wwan0 interface by qmi.sh once it’s online but I’m not able to determine how this is supposed to work. I’m eager to address this issue and submit the resulting patches. Please let me know if you can help.

  root@OpenWrt:~# ping -c 1 8.8.8.8
  PING 8.8.8.8 (8.8.8.8): 56 data bytes
  64 bytes from 8.8.8.8: seq=0 ttl=54 time=31.805 ms
  1. – 8.8.8.8 ping statistics —

1 packets transmitted, 1 packets received, 0% packet loss

  round-trip min/avg/max = 31.805/31.805/31.805 ms
09.07.20181645Base systemFeature RequestVery LowLowNAT reflection/loopback fails with multiple zoneslede-17.01Assigned Task Description

I have multiple internal VLANs, and multiple firewall zones (e.g. a guest network, a DMZ LAN) with separate IP ranges and locked-down routing in between. I’ve found that if I forward a port to a web server in my DMZ zone the ‘NAT Loopback’ option has no effect on hosts outside of that zone (e.g. in my LAN or GuestLAN zones).

LEDE:

# curl https://mywebsite.com curl: (7) Failed to connect to mywebsite.com port 443: Connection refused

On DMZ:

$ curl https://mywebsite.com <html>
<head>
<title>
...

The port forward works fine on hosts outside my network.

I’ve looked into adding custom rules to fix this, since a Linux sysadmin with a little bit of iptables experience, but I’m not having much luck figuring out the LEDE firewall.

Using LEDE Reboot (17.01.4, r3560-79f57e422d) on x86 (QOTOM J1900 embedded PC).

10.09.20181840Base systemBug ReportVery LowLowencryption wep+mixed brokenTrunkAssigned Task Description

In file lib/netifd/netifd-wireless.sh the following code is found:

  # Examples:
  # psk-mixed/tkip    => WPA1+2 PSK, TKIP
  # wpa-psk2/tkip+aes => WPA2 PSK, CCMP+TKIP
  # wpa2/tkip+aes     => WPA2 RADIUS, CCMP+TKIP

  case "$encryption" in
    wpa2*|*psk2*)
      wpa=2
    ;;  
    *mixed*)
      wpa=3
    ;;  
    wpa*|*psk*)
      wpa=1
    ;;  
    *)  
      wpa=0
      wpa_cipher=
    ;;
  esac

There are a few problems here, all relating to the comment and case of “*mixed*”

First and most importantly, setting wpa=3 causes hostapd to *exit* with an error and not bring up any configured ssid on the given radio.

Second, this was found when trying to set wep+mixed, which matches on *mixed* and completely breaks not only the wep setting, but the entire radio config. this should likely be changed to {wpa,psk}-mixed* or something similar to avoid colliding with wep+mixed. This will still leave those settings broken (as wpa=3 appears to be invalid) but at least it won’t improperly break wep+mixed as well.

Lastly, wpa3 is going to be a thing soon, so whatever is expecting wpa=3 is likely wrong and should be updated.

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

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

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

Here is a trace of the crash (dmesg):

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

 


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

AP wireless config:

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

STA wireless config:

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

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

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


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

Another one which is a bit different:

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

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

 

Problem occurs on Netgear R6100

Software version 18.06 rc2 (also on rc1)

Steps to reproduce:
1) upgrade to 18.06 rc2
2) log in and check for existence of wlan0 & wlan1 (showing both 2.4 & 5 Ghz wifi interfaces are present). OR in LuCI, check that there is radio0 and radio1

Attaching dmesg and logread from boot of 18.06 rc2

16.08.201694Base systemBug ReportVery LowMediumnetifd: PPPoE MTU problemTrunkNew Task Description

When you set the MTU of a ppp interface with proto=pppoe and ifname=nas0 via the mtu option,
the configured mtu will not be set on the ppp interface (what you want), but on the
underlying interface named by ifname (what you normally don’t want to change).

This leeds to log messages like this:


pppd[5641]: Interface nas0 has MTU of 1448 – should be at least 1500.


and MTUs other than what you really want.

example:


desired PPPoE MTU: 1448
actual nas0 MTU: 1448
actual PPPoE MTU: 1440

This issue seems to be related to the commit 7ac29b75319fd69a8a7c0aeea7804d381ec07d3d of netifd.

Regards,
Martin

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

31.07.20181715KernelBug ReportVery LowMediumMikrotik: unrecognized SPI NOR flash chip (JEDEC id: ef...AllNew Task Description

Platform: Mikrotik RBM33G
OS: Openwrt Distrib Revision r7579-fc89831

Do not support module m25p80 and m25p128 on platform based MT7621.
Error in dmesg:

m25p80 spi0.1: unrecognized JEDEC id bytes: ef, 70, 18
m25p80 spi0.1: using Read Manufacturer / Device ID Command (0×90) returned 17 ef
m25p80 spi0.1: probe of spi0.1 failed with error -2

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
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.

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

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

JW


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
25.02.2017555KernelBug ReportLowLowmac80211/ath9k warning: Rate marked as an HT rate but p...lede-17.01New Task Description

I have been using LEDE 17.01 on a WR841N v8, with a simple 2.4 GHz AP (’mixed-psk’ security).

Recently I have seen this kernel warning in the logs: it might be nothing or it might be something important, who knows.

Feb 23 17:23:59 AP4 kernel: [62871.843902] ------------[ cut here ]------------
Feb 23 17:23:59 AP4 kernel: [62871.848752] WARNING: CPU: 0 PID: 0 at compat-wireless-2016-10-08/net/mac80211/rx.c:4180 0x80e2529c [mac80211@80e00000+0x5f500]()
Feb 23 17:23:59 AP4 kernel: [62871.860717] Rate marked as an HT rate but passed status->rate_idx is not an MCS index [0-76]: 113 (0x71)
Feb 23 17:23:59 AP4 kernel: [62871.870518] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack ipta
Feb 23 17:23:59 AP4 kernel: [62871.930136] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.50 #0
Feb 23 17:23:59 AP4 kernel: [62871.936073] Stack : 80386534 00000000 00000001 803e0000 00000000 00000000 00000000 00000000
Feb 23 17:23:59 AP4 kernel: [62871.936073] #011  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 23 17:23:59 AP4 kernel: [62871.936073] #011  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 23 17:23:59 AP4 kernel: [62871.936073] #011  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 23 17:23:59 AP4 kernel: [62871.936073] #011  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 23 17:23:59 AP4 kernel: [62871.936073] #011  ...
Feb 23 17:23:59 AP4 kernel: [62871.973122] Call Trace:[<80071a50>] 0x80071a50
Feb 23 17:23:59 AP4 kernel: [62871.977762] [<80071a50>] 0x80071a50
Feb 23 17:23:59 AP4 kernel: [62871.981372] [<800817e8>] 0x800817e8
Feb 23 17:23:59 AP4 kernel: [62871.984987] [<80e2529c>] 0x80e2529c [mac80211@80e00000+0x5f500]
Feb 23 17:23:59 AP4 kernel: [62871.991120] [<80081844>] 0x80081844
Feb 23 17:23:59 AP4 kernel: [62871.994729] [<802a385c>] 0x802a385c
Feb 23 17:23:59 AP4 kernel: [62871.998352] [<80e2529c>] 0x80e2529c [mac80211@80e00000+0x5f500]
Feb 23 17:23:59 AP4 kernel: [62872.004468] [<8025fea8>] 0x8025fea8
Feb 23 17:23:59 AP4 kernel: [62872.008086] [<8026008c>] 0x8026008c
Feb 23 17:23:59 AP4 kernel: [62872.011694] [<80d08388>] 0x80d08388 [ath9k_common@80d08000+0x47e0]
Feb 23 17:23:59 AP4 kernel: [62872.018112] [<81ba77dc>] 0x81ba77dc [ath9k@81ba0000+0x16650]
Feb 23 17:23:59 AP4 kernel: [62872.023975] [<81ba77bc>] 0x81ba77bc [ath9k@81ba0000+0x16650]
Feb 23 17:23:59 AP4 kernel: [62872.029854] [<81ba4a44>] 0x81ba4a44 [ath9k@81ba0000+0x16650]
Feb 23 17:23:59 AP4 kernel: [62872.035704] [<800843a8>] 0x800843a8
Feb 23 17:23:59 AP4 kernel: [62872.039327] [<80083d64>] 0x80083d64
Feb 23 17:23:59 AP4 kernel: [62872.042937] [<800a7e08>] 0x800a7e08
Feb 23 17:23:59 AP4 kernel: [62872.046547] [<8006a950>] 0x8006a950
Feb 23 17:23:59 AP4 kernel: [62872.050169] [<80060bf4>] 0x80060bf4
Feb 23 17:23:59 AP4 kernel: [62872.053769] 
Feb 23 17:23:59 AP4 kernel: [62872.055314] ---[ end trace 90699e3e72694b86 ]---
Feb 23 17:24:02 AP4 kernel: [62875.131392] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02100020 DMADBG_7=0x00024300


03.03.2017587Base systemBug ReportMediumLowno wwan with qmi based modem quectel ec20AllNew Task Description

uqmi hangs on certain commands resulting in a half-connected wwan connection.

device: apu1d
modem: quectel ec20 / qualcom based
affected versions: lede 17.01, trunk

good uqmi version: 2016-08-23-eb1dec7d0dc283a7f61aa574a443a0ab61f8793f
bad uqmi version: 2016-12-19-8ceeab69-1

 1553 root      3288 S    {qmi.sh} /bin/sh ./qmi.sh qmi setup lte {"ifname":"wwan0","proto":"qmi","apn":"internet","
 1620 root      9024 S    uqmi -s -d /dev/cdc-wdm0 --wda-set-data-format 802.3
 1817 root      3072 S    grep qmi
config interface 'lte'
	option ifname 'wwan0'
	option proto 'qmi'
	option apn 'internet'
	option device '/dev/cdc-wdm0'
	option dhcp '1'
05.03.2017598Base systemBug ReportMediumLow842nd doesnt flash successful with factory image using ...lede-17.01New Task Description

Device: 842nd v3.1
LEDE: 17.01

Go into recovery tftp mode by pressing first the WPS/Reset button and now connect the power.
The device enters tftp recovery to download via tftp from 192.168.0.66 file (wr842nv3_tp_recovery.bin)

The device *seems* to accept the flash (sorry, no serial to confirm).
On boot, the device doesn’t show leds nor it accepts any packets on ipv6 on any port (ping ff02::1) or ping to 192.168.1.1.

I guess this happens, because the oem flasher doesn’t flash all blocks of the factory image.

To recover from this state:
- flash via tftp recovery
- enter LEDE rescue/recovery
- ssh root@192.168.1.1
- use sysupgrade image

Task:
- confirm this happens also with trunk
- use serial to get more debug

08.03.2017607KernelBug ReportMediumLowKernel BUG: Bad page state in process ntpd-hotplugTrunkNew Task Description

While doing wireless benchmarks between two TP-Link WR841 running the latest LEDE, one of them (the AP) showed the stack trace below. It does not seem to impact the behaviour of the system, though: everything seems to work correctly after the stack trace.

The device is TL-WR841N v8, with a snapshot build r3670-154b3a6 (kernel is 4.4.52).

It occurred about one minute after I plugged the WAN port to the Internet, which explains why ntpd-hotplug appears in the log. There was still a heavy amount of wireless traffic (both when I plugged the WAN, and when the stack trace occurred).

Wed Mar  8 22:02:31 2017 kern.alert kernel: [ 1913.427453] BUG: Bad page state in process ntpd-hotplug  pfn:015fa
Wed Mar  8 22:02:31 2017 kern.emerg kernel: [ 1913.433936] page:8102bf40 count:-2130657536 mapcount:16711936 mapping:  (null) index:0xff00ff00
Wed Mar  8 22:02:31 2017 kern.emerg kernel: [ 1913.442939] flags: 0x0()
Wed Mar  8 22:02:31 2017 kern.alert kernel: [ 1913.445561] page dumped because: nonzero _count
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.450237] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_coWed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.509878] CPU: 0 PID: 1501 Comm: ntpd-hotplug Not tainted 4.4.52 #0
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.516549] Stack : 803e49f0 00000000 00000001 80440000 818f16a4 8042ee63 803c5ff4 000005dd
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.516549] 	  804a378c 803d0000 803d0000 803d0000 803d0000 800a7640 803cb6e4 80430000
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.516549] 	  00000003 803d0000 803c9af0 81809d74 803d0000 800a55bc 803d0000 803d0000
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.516549] 	  803d0000 801f5800 00000000 00000000 00000000 00000000 00000000 00000000
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.516549] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.516549] 	  ...
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.553574] Call Trace:
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.556121] [<80071eb0>] show_stack+0x50/0x84
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.560630] [<800d57e4>] bad_page+0xec/0x11c
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.565069] [<800d59b0>] free_pages_prepare+0x19c/0x1f8
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.570474] [<800d6c74>] __free_pages_ok+0x2c/0x31c
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.575554] [<80261278>] __kfree_skb+0x28/0xb0
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.580155] [<8023871c>] ag71xx_tx_packets+0x154/0x2c8
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.585486] [<80239530>] ag71xx_poll+0x6c/0x5c0
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.590203] [<8026f748>] net_rx_action+0x10c/0x2c8
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.595183] [<800841c8>] __do_softirq+0x250/0x298
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.600066] [<8006a9e0>] plat_irq_dispatch+0xd4/0x10c
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.605297] 
Wed Mar  8 22:02:31 2017 kern.warn kernel: [ 1913.606843] Disabling lock debugging due to kernel taint
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.

04.05.2017760Base systemBug ReportVery LowLowMQmaker WiTi / mt76x2e / 2.4 GHz / no minstrel sampling...TrunkNew Task Description

very bad performance for all neighbours on r3900

# cat /sys/kernel/debug/ieee80211/phy1/netdev:wlan1/stations/a0:f3:c1:ce:56:80/rc_stats
              best   ____________rate__________    ________statistics________    _____last____    ______sum-of________
mode guard #  rate  [name   idx airtime  max_tp]  [avg(tp) avg(prob) sd(prob)]  [retry|suc|att]  [#success | #attempts]
CCK    LP  1          1.0M  120   10548     0.0       0.0       0.0      0.0       0     0 0             0   0
CCK    LP  1          2.0M  121    5476     0.0       0.0       0.0      0.0       0     0 0             0   0
CCK    LP  1          5.5M  122    2411     2.4       0.0       0.0      0.0       0     0 0             0   0
CCK    LP  1         11.0M  123    1535     4.8       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  1  ABCDP  MCS0     0    1477     4.8       0.0       0.0      0.0       1     0 0             0   0
HT20  LGI  1         MCS1     1     739     9.7       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  1         MCS2     2     493    14.6       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  1         MCS3     3     369    17.0       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  1         MCS4     4     246    24.4       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  1         MCS5     5     185    29.2       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  1         MCS6     6     164    31.7       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  1         MCS7     7     148    34.1       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  2         MCS8    10     739     9.7       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  2         MCS9    11     369    17.0       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  2         MCS10   12     246    24.4       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  2         MCS11   13     185    29.2       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  2         MCS12   14     123    36.6       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  2         MCS13   15      93    43.9       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  2         MCS14   16      82    46.3       0.0       0.0      0.0       0     0 0             0   0
HT20  LGI  2         MCS15   17      74    48.8       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  1         MCS0    30    1329     4.8       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  1         MCS1    31     665     9.7       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  1         MCS2    32     443    14.6       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  1         MCS3    33     332    19.5       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  1         MCS4    34     222    26.8       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  1         MCS5    35     166    31.7       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  1         MCS6    36     148    34.1       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  1         MCS7    37     133    36.6       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  2         MCS8    40     665     9.7       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  2         MCS9    41     332    19.5       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  2         MCS10   42     222    26.8       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  2         MCS11   43     166    31.7       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  2         MCS12   44     111    39.0       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  2         MCS13   45      83    46.3       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  2         MCS14   46      74    48.8       0.0       0.0      0.0       0     0 0             0   0
HT20  SGI  2         MCS15   47      67    51.2       0.0       0.0      0.0       0     0 0             0   0

Total packet count::    ideal 7625      lookaround 407
Average # of aggregated frames per A-MPDU: 1.0

root@witi7:~ :) arping -I wlan1 10.63.102.195
ARPING to 10.63.102.195 from 10.63.140.195 via wlan1
Unicast reply from 10.63.102.195 [a0:f3:c1:ce:56:80] 491.552ms
Unicast reply from 10.63.102.195 [a0:f3:c1:ce:56:80] 600.276ms
Unicast reply from 10.63.102.195 [a0:f3:c1:ce:56:80] 747.811ms
Unicast reply from 10.63.102.195 [a0:f3:c1:ce:56:80] 748.426ms
Unicast reply from 10.63.102.195 [a0:f3:c1:ce:56:80] 511.603ms
Unicast reply from 10.63.102.195 [a0:f3:c1:ce:56:80] 403.993ms
Unicast reply from 10.63.102.195 [a0:f3:c1:ce:56:80] 601.602ms
Unicast reply from 10.63.102.195 [a0:f3:c1:ce:56:80] 371.090ms

root@witi7:~ :) ping -c1 10.63.102.195
PING 10.63.102.195 (10.63.102.195): 56 data bytes
64 bytes from 10.63.102.195: seq=0 ttl=64 time=2414.528 ms

--- 10.63.102.195 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 2414.528/2414.528/2414.528 ms

root@witi7:~ :) iw dev wlan1 station get a0:f3:c1:ce:56:80
Station a0:f3:c1:ce:56:80 (on wlan1)
        inactive time:  150 ms
        rx bytes:       32573998
        rx packets:     63413
        tx bytes:       1038834
        tx packets:     8318
        tx retries:     133088
        tx failed:      8318
        rx drop misc:   30946
        signal:         -60 [-67, -60] dBm
        signal avg:     -59 [-67, -59] dBm
        tx bitrate:     6.5 MBit/s MCS 0
        rx bitrate:     6.5 MBit/s MCS 0
        authorized:     yes
        authenticated:  yes
        associated:     yes
        preamble:       long
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no
        DTIM period:    0
        beacon interval:250
        connected time: 8652 seconds

# uci show wireless (2.4ghz)
wireless.radio1=wifi-device
wireless.radio1.type='mac80211'
wireless.radio1.country='US'
wireless.radio1.frag='off'
wireless.radio1.path='pci0000:00/0000:00:01.0/0000:02:00.0'
wireless.radio1.chanbw='20'
wireless.radio1.channel='5'
wireless.radio1.distance='100'
wireless.radio1.beacon_int='250'
wireless.radio1.hwmode='11n'
wireless.radio1.htmode='HT20'
wireless.radio1.txpower='23'

wireless.@wifi-iface[2]=wifi-iface
wireless.@wifi-iface[2].device='radio1'
wireless.@wifi-iface[2].network='wlanadhocRADIO1'
wireless.@wifi-iface[2].mode='adhoc'
wireless.@wifi-iface[2].mcast_rate='6000'
wireless.@wifi-iface[2].macaddr='8c:bc:c0:43:c9:09'
wireless.@wifi-iface[2].bssid='02:ca:ff:ee:ba:be'
wireless.@wifi-iface[2].ssid='ffintern.2GHz'

wireless.@wifi-iface[3]=wifi-iface
wireless.@wifi-iface[3].device='radio1'
wireless.@wifi-iface[3].network='wlanRADIO1'
wireless.@wifi-iface[3].encryption='none'
wireless.@wifi-iface[3].mode='ap'
wireless.@wifi-iface[3].macaddr='8e:bc:c0:43:c9:0a'
wireless.@wifi-iface[3].max_inactivity='10'
wireless.@wifi-iface[3].ssid='weimar.freifunk.net'
wireless.@wifi-iface[3].disassoc_low_ack='1'

17.07.2017911OtherFeature RequestVery LowLowProblem with login into private git reposAllNew Task Description

I am not able to use packages from my private git repos which needs login. The system during the build process don’t ask me for login as before.

Here is the verbose log output:

make[3]: Leaving directory `/home/flowtester/caes/platform/package/base-files'
make[3]: Entering directory `/home/flowtester/caes/platform/package-bumblebee/packages/libdevereader'
mkdir -p /home/flowtester/caes/platform/dl
SHELL= flock /home/flowtester/caes/platform/tmp/.libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860.tar.gz.flock -c '          echo "Checking out files from the git repository..."; mkdir -p /home/flowtester/caes/platform/tmp/dl && cd /home/flowtester/caes/platform/tmp/dl && rm -rf libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860 && [ \! -d libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860 ] && git clone  https://redmine.develict.com/git/devereader libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860 && (cd libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860 && git checkout daa94e0fad44a000892570665e6c792fd9cad860 && git submodule update --init --recursive) && echo "Packing checkout..." && export TAR_TIMESTAMP=`cd libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860 && git log -1 --format='\''@%ct'\''` && rm -rf libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860/.git &&  tar --numeric-owner --owner=0 --group=0 --sort=name ${TAR_TIMESTAMP:+--mtime="$TAR_TIMESTAMP"} -c libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860 |     gzip -nc > /home/flowtester/caes/platform/tmp/dl/libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860.tar.gz && mv /home/flowtester/caes/platform/tmp/dl/libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860.tar.gz /home/flowtester/caes/platform/dl/ && rm -rf libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860;     '
Checking out files from the git repository...
Cloning into 'libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860'...
fatal: Authentication failed for 'https://redmine.develict.com/git/devereader/'
make[3]: *** [/home/flowtester/caes/platform/dl/libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860.tar.gz] Error 128
make[3]: Leaving directory `/home/flowtester/caes/platform/package-bumblebee/packages/libdevereader'
make[2]: *** [package/feeds/bumblebee/libdevereader/compile] Error 2
make[2]: Leaving directory `/home/flowtester/caes/platform'
make[1]: *** [/home/flowtester/caes/platform/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/flowtester/caes/platform'
make: *** [world] Error 2

If I try it manually from cli everythings works but not during the prepare process ....


19.07.2017916KernelFeature RequestVery LowLowAdd kmod-crypto-gcm as dependency of kmod-ipsecAllNew Task Description

I’m running a Linksys EA4500 with 17.01-SNAPSHOT r3466-f6907dc. While attempting to configure strongswan to use aes-gcm, I get:
Wed Jul 19 16:18:30 2017 daemon.info : 14[KNL] adding SAD entry with SPI cd903db2 and reqid {1}
Wed Jul 19 16:18:30 2017 daemon.info : 14[KNL] using encryption algorithm AES_GCM_16 with key size 160
Wed Jul 19 16:18:30 2017 daemon.info : 14[KNL] using replay window of 32 packets
Wed Jul 19 16:18:30 2017 daemon.info : 14[KNL] received netlink error: Function not implemented (38)
Wed Jul 19 16:18:30 2017 daemon.info : 14[KNL] unable to add SAD entry with SPI cd903db2
Wed Jul 19 16:18:30 2017 daemon.info : 14[KNL] adding SAD entry with SPI 6109fc7b and reqid {1}
Wed Jul 19 16:18:30 2017 daemon.info : 14[KNL] using encryption algorithm AES_GCM_16 with key size 160
Wed Jul 19 16:18:30 2017 daemon.info : 14[KNL] using replay window of 0 packets
Wed Jul 19 16:18:30 2017 daemon.info : 14[KNL] received netlink error: Function not implemented (38)
Wed Jul 19 16:18:30 2017 daemon.info : 14[KNL] unable to add SAD entry with SPI 6109fc7b
Wed Jul 19 16:18:30 2017 daemon.info : 14[IKE] unable to install inbound and outbound IPsec SA (SAD) in kernel
Wed Jul 19 16:18:30 2017 daemon.info : 14[IKE] failed to establish CHILD_SA, keeping IKE_SA

Which leads me to https://wiki.strongswan.org/issues/2121 which then caused me to notice that PACKAGE_kmod-ipsec doesn’t pull in kmod-crypto-gcm. Please consider enabling GCM in the default kernel IPsec config.

25.07.2017932KernelFeature RequestVery LowLowTP-Link WR841N: mixed VLANs on the same portTrunkNew Task Description

Hi,
i have several TP-Link WR841N v9/v10/v11 running LEDE trunk. Configuring tagged and untagged VLANs on the same port fails.

cat /etc/config/network
config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '0 1 2 3 4'
        option vid '1'

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option ports '0t 1t 2t 3t 4t'
        option vid '2'

swconfig dev switch0 show
    Global attributes:
            enable_vlan: 1
    Port 0:
            pvid: 1
            link: port:0 link:up speed:1000baseT full-duplex txflow rxflow
    Port 1:
            pvid: 1
            link: port:1 link:down
    Port 2:
            pvid: 1
            link: port:2 link:down
    Port 3:
            pvid: 1
            link: port:3 link:down
    Port 4:
            pvid: 1
            link: port:4 link:up speed:100baseT full-duplex auto
    VLAN 1:
            vid: 1
            ports: 0t 1t 2t 3t 4t
    VLAN 2:
            vid: 2
            ports: 0t 1t 2t 3t 4t
01.08.2017943Base systemBug ReportVery LowLowiptables 1.6.1 fails to acquire a lock because /run/ do...TrunkNew Task Description

Just flashed a device with the current snapshot of LEDE (https://downloads.lede-project.org/snapshots/targets/ar71xx/generic/; r4657-bb4d500). And then I’ve wanted to use locking with iptables but noticed that the lock was just not working:

root@LEDE:/# strace iptables -w -L
...
open("/run/xtables.lock", O_RDONLY|O_CREAT|O_LARGEFILE, 0600) = -1 ENOENT (No such file or directory)
socket(AF_INET, SOCK_RAW, IPPROTO_RAW)  = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getsockopt(3, SOL_IP, IPT_SO_GET_INFO, "filter\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., [84]) = 0
...

The lock was basically ignored and the socket was opened without the lock opened. The package is missing following things:

* change https://git.netfilter.org/iptables/commit/?id=836846f0d747e1be8e37d2d43b215a68b30ea1a9 * change https://git.netfilter.org/iptables/commit/?id=b91af533f4da15854893ba5cc082e1df6bcf9a97 * change https://git.netfilter.org/iptables/commit/?id=80d8bfaac9e2430d710084a10ec78e68bd61e6ec * iptables Makefile change to add following configure option: –xt-lock-name=/var/lock/xtables.lock

It is not save to use multiple (writing) iptables processes without locking. It is therefore a rather big problem that it is broken at the moment

Showing tasks 1 - 50 of 660 Page 1 of 141 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing