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 TypePriority  descSeveritySummaryReported InStatus
18.06.20192328Base systemBug ReportHighMediumAllocate resources to sort out odhcpd/dnsmasq interacti...TrunkNew Task Description

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

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

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

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

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

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

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

Effort needs to be put into sorting this out.

Temporary workarounds:

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

Longer term:

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

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

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

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

This needs fixing/funding to sort it out though.

28.11.20192637Base systemBug ReportHighHighhostapd ubus reload makes OpenWrt as WiFi client very u...TrunkNew Task Description

Commit 60fb4c92b6b0d1582d31e02167b90b424185f3a2 (hostapd: add ubus reload) breaks WiFi client connectivity when for some reason the association does not succeed immediately.

I started seeing this problem on all my Raspberry Pi Zero W devices, where WiFi takes a long time to come up due to the lack of entropy:

[   32.392170] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  104.672670] random: crng init done
[  104.685751] random: 3 urandom warning(s) missed due to ratelimiting
[  105.436537] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

At this point, the Raspberry Pi is associated to the AP, but the DHCP client is not running. This is the output of ifstatus lan:

{
        "up": false,
        "pending": false,
        "available": false,
        "autostart": true,
        "dynamic": false,
        "proto": "dhcp",
        "data": {

        },
        "errors": [
                {
                        "subsystem": "interface",
                        "code": "NO_DEVICE"
                }
        ]
}

Running ifup lan fixes the problem, but this is of course not easy to do on headless devices.

Later I also experienced this problem on a Raspberry Pi 3 A, which does not have the low entropy problem. In this case the delayed association was caused by a power outage, and the Raspberry Pi booted faster than the APs.

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

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

make target/install V=s

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

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.

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

PPPoE is broken on WRT1900ACS

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

pppd debug log:

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

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

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

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


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

09.03.2017609Base systemFeature RequestMediumLowprocd: implement runlevel 1TrunkNew Task Description

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

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

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

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

07.09.20181836Base systemBug ReportMediumLowKernel oops when using wireguard and mangle/fwmarkTrunkNew 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
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
14.05.20192283Base systemBug ReportMediumLowm76: crash when creating an additional monitor interfac...TrunkAssigned Task Description

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

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

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

===================================
21.12.20192690Base systemBug ReportMediumMediumImagebuilder: "opkg_install_pkg: Package size mismatch"...AllNew Task Description

The Imagebuilder fails in the following situation:

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

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

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

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

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

Below is the full log.

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

OpenWrt master r13174-73fa1aba94 on octeon with kernel 5.4

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

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

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

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

Device A (worse RX SNR):

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

Device B (better RX SNR)

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

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

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

Maybe related to FS#1246

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

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

WiFi EEPROM of the devices:

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

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

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

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

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

Here is what conntrack -L says:

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

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

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

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

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

18.11.20181958PackagesBug ReportMediumLowuqmi: unicode characters in SMS confuse uqmiTrunkNew Task Description

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

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

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

 

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

Software version:
openwrt 19.07 r10860, default packages versions.

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

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

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

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

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

Alternative Settings:

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

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

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

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

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

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

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

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

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

To reproduce:

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

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

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

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

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

24.08.2016115Base systemBug ReportVery LowMediumWWAN-connections using 3g with HUAWEI ME909u-521 unstab...TrunkUnconfirmed Task Description

Actually, I am trying to stabilize wwan (3g actually; LTE later on) using pppd with my HUAWEI ME909u-521,
because either my MT7620-based router locks up during boot already; or after short period of real usage.
During night, when router is almost idle, just some watchdog date sent via wwan, no problem.

First trace of a possible problem was this msg in logread:
daemon.notice netifd: wwan (1676): Error setting WWAN mode!

Wich is expected, as in /lib/netifd/proto/3g.sh:

...

                      elif echo "$cardinfo" | grep -qi huawei; then
                              case "$service" in
                                      umts_only) CODE="14,2";;
                                      gprs_only) CODE="13,1";;
                                      *) CODE="2,2";;
                              esac
                              export MODE="AT^SYSCFG=${CODE},3FFFFFFF,2,4"    #####Will not work !!!!! Switching USB-Stick to 3g-preferred ?

...
...

                      [ -n "$MODE" ] && gcom -d "$device" -s /etc/gcom/setmode.gcom

Will not work, because the ME909u-521 rejects AT^SYSCFG . However, AT^SYSCFGEX will work, but having different syntax.
MODE=”AT^SYSCFG=${CODE},3FFFFFFF,2,4” will be effective for simpler modems.

/etc/gcom/setmode.gcom returns exit 1; but this error is not checked in 3g.sh

Not shure, whether this is the reason for my problems; however, reason of concern, as high speed modems
are more and more common.
Willing to participate in testing/debugging.

For details regarding my modem, consult
HUAWEI ME909u-521 LTE LGA Module AT Command Interface Specification
http://www.paoli.cz/out/media/HUAWEI_ME909u-521_LTE_LGA_Module_AT_Command_Interface_Specification-V100R001_02.pdf

02.09.2016133Base systemBug ReportVery LowLowNetgear r8000 cannot use 802.1x encryptionTrunkUnconfirmed Task Description

Github issue #305 reported by https://github.com/Halry

My android phone can’t connect to it.(tested on nexus 6p and samsung s7 edge)
Sun Aug 28 16:28:46 2016 daemon.debug hostapd: wlan2: STA 94:fe:22:11:22:33 IEEE 802.1X: Sending EAP Packet (identifier 247)
Sun Aug 28 16:28:46 2016 daemon.debug hostapd: wlan2: STA 94:fe:22:11:22:33 WPA: sending 1/4 msg of 4-Way Handshake
Sun Aug 28 16:28:46 2016 daemon.debug hostapd: wlan2: STA 94:fe:22:11:22:33 WPA: received EAPOL-Key frame (2/4 Pairwise)
Sun Aug 28 16:28:46 2016 daemon.debug hostapd: wlan2: STA 94:fe:22:11:22:33 WPA: sending 3/4 msg of 4-Way Handshake
Sun Aug 28 16:28:46 2016 daemon.info hostapd: wlan2: STA 94:fe:22:11:22:33 IEEE 802.11: disassociated
Sun Aug 28 16:28:46 2016 daemon.debug hostapd: wlan2: STA 94:fe:22:11:22:33 WPA: event 2 notification
Sun Aug 28 16:29:00 2016 daemon.info hostapd: wlan1: STA 94:fe:22:11:22:33 IEEE 802.11: associated
Sun Aug 28 16:29:00 2016 daemon.info hostapd: wlan1: STA 94:fe:22:11:22:33 IEEE 802.11: disassociated
Sun Aug 28 16:29:11 2016 daemon.info hostapd: wlan1: STA 94:fe:22:11:22:33 IEEE 802.11: associated
Sun Aug 28 16:29:11 2016 daemon.info hostapd: wlan1: STA 94:fe:22:11:22:33 IEEE 802.11: disassociated

However,Windows can connect to it.

Here are some my nexus 6p’s dmesg:
CFG80211-ERROR wl_cfg80211_disconnect:Reason 17

05.09.2016160Base systemBug ReportVery LowLowusb-serial (pl2303) failures on mt7621 dlink dir860l-b1TrunkUnconfirmed Task Description
git describe
reboot-1497-ga810e77

with diffconfig:

CONFIG_TARGET_ramips=y
CONFIG_TARGET_ramips_mt7621=y
CONFIG_TARGET_ramips_mt7621_DEVICE_dir-860l-b1=y
CONFIG_DEVEL=y
CONFIG_BUILD_LOG=y
CONFIG_PACKAGE_ip=y
CONFIG_PACKAGE_kmod-usb-core=y
CONFIG_PACKAGE_kmod-usb-ohci=y
CONFIG_PACKAGE_kmod-usb-ohci-pci=y
CONFIG_PACKAGE_kmod-usb-serial=y
CONFIG_PACKAGE_kmod-usb-serial-ftdi=y
CONFIG_PACKAGE_kmod-usb-serial-pl2303=y
CONFIG_PACKAGE_kmod-usb2=y
CONFIG_PACKAGE_kmod-usb2-pci=y
CONFIG_PACKAGE_kmod-usb3=y
CONFIG_PACKAGE_screen=y

screen starts, but doesn’t work. The usb-relevant dmesg’s are:

[    4.550000] usbcore: registered new interface driver usbfs
[    4.560000] usbcore: registered new interface driver hub
[    4.570000] usbcore: registered new device driver usb
[    4.580000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.620000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.670000] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    4.720000] hub 1-0:1.0: USB hub found
[    4.740000] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    4.760000] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.770000] hub 2-0:1.0: USB hub found
[    5.260000] usb 1-1: new full-speed USB device number 2 using xhci-mtk
[    5.410000] usb 1-1: no of_node; not parsing pinctrl DT
[   10.150000] usbcore: registered new interface driver usbserial
[   10.160000] usbcore: registered new interface driver usbserial_generic
[   10.180000] usbserial: USB Serial support registered for generic
[   10.220000] usbcore: registered new interface driver ftdi_sio
[   10.240000] usbserial: USB Serial support registered for FTDI USB Serial Device
[   10.260000] usbcore: registered new interface driver pl2303
[   10.270000] usbserial: USB Serial support registered for pl2303
[   10.290000] pl2303 ttyUSB0: no of_node; not parsing pinctrl DT
[   10.290000] usb 1-1: pl2303 converter now attached to ttyUSB0
[  871.510000] pl2303 ttyUSB0: pl2303_get_line_request - failed: -145
[  871.620000] pl2303 ttyUSB0: pl2303_set_line_request - failed: -145
[  871.840000] pl2303 ttyUSB0: pl2303_set_control_lines - failed: -145

Screen also throws an error (which gets blanked out, but is captured by the serial console):

# screen /dev/ttyUSB0 115200
/dev/null/utmp: Not a directory
07.09.2016162Base systemBug ReportVery LowLowTwo issues with libuclient-openssl in luci-sslTrunkUnconfirmed Task Description

1: RC4 and 3DES are used when both have security issues. Actually the latter also is true of mbedtls/polarssl.

2: Only TLS 1.2 is supported. This makes multiple clients unable to connect.

BTW, I got this working after modifying the Makefile to luci-ssl to depend on libustream-openssl instead. No idea what the situation is but so far it works without a problem.

17.09.2016181Base systemBug ReportVery LowMediumChanging TX power doesn't nothing (MediaTek MT7628AN ve...TrunkUnconfirmed Task Description

Hello,

As I said, if I change the TX power from 0 dBm to 20 dBm doesn’t nothing. There isn’t any visible change in tx power. I tested other powers too (5, 8, 15,..).

It is a Xiaomi Nano (lite).

SoC Type: MediaTek MT7628AN ver:1 eco:2
MIPS: machine is MiWiFi Nano
Linux version 4.4.19 (-) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1444) ) #0 Fri Aug 26 15:03:40 2016.

12.10.2016222Base systemFeature RequestVery LowLowproviding pre-built images for extroot for devices with...TrunkUnconfirmed Task Description

Currently, the only way to be able to make extroot (use an external drive as overlay) for 4MiB devices is to build an image with the Image Builder as they can’t fit the packages needed in the jffs.

For most linux users this isn’t a major issue as the Image Builder runs on Linux and with a couple commands you build all, but it’s still time-consuming.

For everyone else this is an issue, as they need to get a linux system, learn how to use the Image Builder, and so on.

I’m asking if it is possible to make pre-built images with the right packages to allow extroot on 4 MiB devices.

The packages I thing we need in these pre-built images are all is needed by the device to be able to format and check its own drive, because again most users don’t have access to a linux system to format a drive with ext4 or whatever.

It seems e2fsprogs is too big to fit with the other packages required, currently only f2fs filesystem tools are split and can be used in 4MiB devices for extroot.

These are the packages that currently should allow building an extrootable image that fits on 4MiB storage:

blkid block-mount kmod-fs-f2fs kmod-usb-storage kmod-usb-uhci kmod-usb-ohci mkf2fs f2fsck

(of course no luci is included).

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.

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

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

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

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

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

The dmesg look like this:

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

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

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

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

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

My LEDE diffconfig looks like this:

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

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

alfred.alfred=alfred
alfred.alfred.mode='master'
alfred.alfred.batmanif='bat0'
alfred.alfred.start_vis='1'
alfred.alfred.run_facters='1'
alfred.alfred.interface='br-pub'
alfred.alfred.disabled='0'
batman-adv.bat0=mesh
batman-adv.bat0.bridge_loop_avoidance='0'
dropbear.@dropbear[0]=dropbear
dropbear.@dropbear[0].PasswordAuth='on'
dropbear.@dropbear[0].RootPasswordAuth='on'
dropbear.@dropbear[0].Port='22'
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.pub=interface
network.pub.type='bridge'
network.pub.proto='static'
network.pub.ip6assign='60'
network.pub.ifname='bat0'
network.pub.ipaddr='10.11.x.y'
network.pub.netmask='255.255.252.0'
network.pub.gateway='10.11.x.1'
network.pub.dns='10.11.x.1'
network.mesh=interface
network.mesh.mtu='1532'
network.mesh.proto='batadv'
network.mesh.mesh='bat0'
network.meshwire=interface
network.meshwire.proto='batadv'
network.meshwire.mesh='bat0'
network.meshwire.ifname='eth0'
29.11.2016315Base systemFeature RequestVery LowMediumImprove sysupgrade (CLI) on dual-partition routersTrunkUnconfirmed Task Description

Some of the recent Linksys (maybe other) routers have two partitions: WRT1900, EA8500, etc.

Would be great if when running sysupgrade on those routers it did NOT kill all active processes and kept the router working while writing an image to the inactive partition.

Would also be great if there was an option to prevent automatic reboot after writing an image.

Ultimate goal is to have an upgrade process where current working state is uninterrupted and only when you reboot – you boot into new image.

03.12.2016320Base systemFeature RequestVery LowLowrelayd feature requestTrunkUnconfirmed Task Description

I found a couple of bugs with relayd based bridge configuration and I would like to suggest a feature request. Will fill one entry per issue:

On today’s trunk

3- in a configuration where the network attached to the wireless radio is configured via DHCP, the listening interface is not set up automatically. DD-WRT and Gargoyle do this automatically ( they overwrite the config/network file with the gateway parameter and reload relayd.

 


09.12.2016329Base systemBug ReportVery LowLowAR9341 needs analog switch resetTrunkUnconfirmed Task Description

This is a bug report for the AR9341 SOC on LEDE trunk reboot-2445-gee5a6c1.

I have builded a custom firmware for a unsupported device based on the Atheros DB120 reference board.

The analog port of the ethernet switch needs to be resetted before it can operate.

Part of bootlog without analog reset:

[    2.179262] ag71xx-mdio.1: unknown phy id 'ffff:ffff'

Br-lan is not intialized due no analog switch reset.

Part of bootlog with analog reset:

[    2.059037] ag71xx-mdio.1: Found an AR934X built-in switch

And br-lan is initialized and networking is working fine.

A reset is performed by the function ath79_register_eth (defined in dev-eth.c):

ath79_device_reset_set(AR934X_RESET_ETH_SWITCH);
ath79_device_reset_clear(AR934X_RESET_ETH_SWITCH);

However, no analog reset is performed, for example:

ath79_device_reset_set(AR934X_RESET_ETH_SWITCH);
ath79_device_reset_clear(AR934X_RESET_ETH_SWITCH);

ath79_device_reset_set(AR934X_RESET_ETH_SWITCH_ANALOG);
ath79_device_reset_clear(AR934X_RESET_ETH_SWITCH_ANALOG);

Omitting the analog reset does not break the DB120 builds because the analog reset is already performed by ar934x_nfc_hw_reset in dev-nfc.c.

An easy fix is to do a analog reset in the device’s mach file. However, for the sake of consistency and autism, the reset should be performed by ath79_register_eth in dev_eth.c and not by ar934x_nfc_hw_reset in dev_nfc.c. My AR9341 device doesn’t even use a NAND flash.

12.12.2016331Base systemBug ReportVery LowLowmac80211 / warning / ieee80211_ibss_leave / r2449TrunkUnconfirmed Task Description

spotted on TP-Link 4900 v1 with LEDE r2449 (selfcompiled):

[ 2860.974569] ------------[ cut here ]------------
[ 2860.979191] WARNING: at compat-wireless-2016-10-08/net/mac80211/ibss.c:1082
[ 2860.986142] Modules linked in: ath9k ath9k_common iptable_nat ath9k_hw ath snd_usb_audio nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda snd_usbmidi_lib 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 macvlan iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables compat em_nbyte sch_dsmark sch_pie sch_codel sch_gred sch_htb em_cmp cls_basic act_ipt sch_red sch_prio em_meta act_police em_text sch_tbf sch_sfq sch_fq act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables ipip tunnel4 ip_tunnel tun snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd soundcore nls_utf8 zram lz4_decompress lz4_compress lzo_compress lzo_decompress zsmalloc usb_storage gpio_keys leds_gpio ehci_fsl ehci_platform ehci_hcd scsi_mod fsl_mph_dr_of mbcache button_hotplug input_core usbcore nls_base usb_common crc16 crc32c_generic crypto_hash [last unloaded: sd_mod]
[ 2861.124825] CPU: 0 PID: 8624 Comm: kworker/u2:0 Not tainted 4.4.36 #0
[ 2861.131337] Workqueue: phy1 ieee80211_ibss_leave [mac80211]
[ 2861.136903] task: c783b840 ti: c68a4000 task.ti: c68a4000
[ 2861.142292] NIP: c99ab128 LR: c99ab354 CTR: 00000000
[ 2861.147247] REGS: c68a5b10 TRAP: 0700   Not tainted  (4.4.36)
[ 2861.152982] MSR: 00029000 <CE,EE,ME>  CR: 28072422  XER: 20000000
[ 2861.159082]
[ 2861.159082] GPR00: c99ab004 c68a5bc0 c783b840 00000000 c68a5bf4 00000000 00000001 00000000
[ 2861.159082] GPR08: c724b114 00000001 c99f97f6 00000000 000000ff 00000000 c003c474 c790bfe0
[ 2861.159082] GPR16: c6f0f070 00000fff 00000fff c70b2138 c6ae5800 c6e30b40 00000000 00000087
[ 2861.159082] GPR24: 00000000 c68a5c68 c724b114 00000000 c6e30b40 c6e7a3d8 c6f25420 c6f0f070
[ 2861.188805] NIP [c99ab128] ieee80211_get_vht_mask_from_cap+0x1964/0x1c64 [mac80211]
[ 2861.196468] LR [c99ab354] ieee80211_get_vht_mask_from_cap+0x1b90/0x1c64 [mac80211]
[ 2861.204025] Call Trace:
[ 2861.206481] [c68a5bc0] [c99ab004] ieee80211_get_vht_mask_from_cap+0x1840/0x1c64 [mac80211] (unreliable)
[ 2861.215884] [c68a5c60] [c99ab414] ieee80211_get_vht_mask_from_cap+0x1c50/0x1c64 [mac80211]
[ 2861.224156] [c68a5d30] [c99ab9d0] ieee80211_ibss_rx_queued_mgmt+0x264/0x370 [mac80211]
[ 2861.232081] [c68a5e20] [c99acc44] ieee80211_ibss_leave+0x768/0x1770 [mac80211]
[ 2861.239307] [c68a5e80] [c00379f8] process_one_work+0x208/0x380
[ 2861.245135] [c68a5ea0] [c0037de0] worker_thread+0x270/0x48c
[ 2861.250704] [c68a5ef0] [c003c53c] kthread+0xc8/0xcc
[ 2861.255580] [c68a5f40] [c000cb3c] ret_from_kernel_thread+0x5c/0x64
[ 2861.261752] --- interrupt: 0 at   (null)
[ 2861.261752]     LR =   (null)
[ 2861.268618] Instruction dump:
[ 2861.271578] 38810034 387e0510 7f984800 419e024c 4bf410ed 2f830000 40be0030 3d40c9a0
[ 2861.279336] 394a97f6 3b600001 892a0003 69290001 <0f090000> 2f890000 41be01d0 39200001
[ 2861.287267] ---[ end trace a37b58c3292c2cbf ]---

13.01.2017385Base systemBug ReportVery LowLowrampis / JFFS2-problem / Xiaomi Miwifi mini / r2919 / w...TrunkUnconfirmed Task Description

after flashing r2919 i can see strange message with dmesg:

root@lede:~  dmesg | grep -i jffs
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.638380] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    9.908794] jffs2: Node at 0x00000044 with length 0x00001044 would run over the end of the erase block
[    9.918337] jffs2: Perhaps the file system was created with the wrong erase size?
[    9.926009] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000048: 0x1044 instead
[    9.935697] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000004c: 0x586d instead
[    9.945403] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000050: 0x0002 instead
[    9.955094] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000054: 0x0002 instead
[    9.964797] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000058: 0x81a4 instead
[    9.974488] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000060: 0xd8a2 instead
[    9.984190] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000064: 0x9ad1 instead
[    9.993881] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000068: 0x9ad2 instead
[   10.003587] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000006c: 0x9ad2 instead
[   10.013278] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000074: 0x1000 instead
[   10.022959] jffs2: Further such events for this erase block will not be printed
[   11.479386] jffs2: notice: (377) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   11.496420] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   11.525523] jffs2: Node at 0x00000044 with length 0x00001044 would run over the end of the erase block
[   11.535100] jffs2: Perhaps the file system was created with the wrong erase size?
[   11.542896] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000048: 0x1044 instead
[   11.552600] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000004c: 0x586d instead
[   11.562304] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000050: 0x0002 instead
[   11.571994] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000054: 0x0002 instead
[   11.581696] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000058: 0x81a4 instead
[   11.591387] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000060: 0xd8a2 instead
[   11.601089] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000064: 0x9ad1 instead
[   11.610780] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000068: 0x9ad2 instead
[   11.620481] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000006c: 0x9ad2 instead
[   11.630173] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000074: 0x1000 instead
[   11.639854] jffs2: Further such events for this erase block will not be printed
[   13.095966] jffs2: notice: (374) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   14.064922] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   14.086950] mount_root: switching to jffs2 overlay
root@lede:~  

beside that, it seems that the device is working:

root@lede:~  df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.5M      3.5M         0 100% /rom
tmpfs                    61.5M      1.1M     60.4M   2% /tmp
/dev/mtdblock6           10.8M    796.0K     10.0M   7% /overlay
overlayfs:/overlay       10.8M    796.0K     10.0M   7% /
tmpfs                   512.0K         0    512.0K   0% /dev
tmpfs                     2.0M         0      2.0M   0% /coredumps
13.01.2017386Base systemBug ReportVery LowLowConfig option "list channels" doesn't workTrunkUnconfirmed Task Description

Hi,

the option “list channels” is not working.

Patch which implements the function: https://patchwork.ozlabs.org/patch/536533/

LEDE version: SNAPSHOT r2790-08d73bf

Device: Archer C5

config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11a'
	option path 'pci0000:01/0000:01:00.0'
	option country 'DE'
	option htmode 'VHT80'
	option txpower '12'
	option channel 'auto'

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

config wifi-device 'radio1'
	option type 'mac80211'
	option hwmode '11g'
	option path 'platform/qca955x_wmac'
	option channel 'auto'
	option country 'DE'
	option txpower '20'
	option htmode 'HT40'
	list channels 13
        list channels 12

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


Ends with a 2.4GHz wlan which is not
visible and iwinfo shows the following information:

Mode: Master Channel: unknown (2.407 GHz)

root@lede:~# iwinfo wlan1 freqlist
  2.412 GHz (Channel 1)
  2.417 GHz (Channel 2)
  2.422 GHz (Channel 3)
  2.427 GHz (Channel 4)
  2.432 GHz (Channel 5)
  2.437 GHz (Channel 6)
  2.442 GHz (Channel 7)
  2.447 GHz (Channel 8)
  2.452 GHz (Channel 9)
  2.457 GHz (Channel 10)
  2.462 GHz (Channel 11)
  2.467 GHz (Channel 12)
  2.472 GHz (Channel 13)

A part of the syslog with a bunch of error messages is attached.

Fell free to ask, if something is missing.

15.01.2017389Base systemBug ReportVery LowLowodhcpd relay mode is blocked by firewall by defaultTrunkUnconfirmed Task Description

odhcpd currently won’t work when put in relay mode if followed the manual naively. Turns out this is because firewall blocks incoming traffic to DHCPv6 server (port 547) from external DHCPv6 servers (port 547) from WAN zone by default. It may be a good idea to allow this out of the box, though I’m unsure if there are any security complications from this – I’m a newcomer to IPv6. Replies come with the source global IPv6 address of DHCPv6 server to the global IPv6 address of the router, so it’s difficult to make a more constrained rule without hardcoding them or at least the prefix.

Example rule which fixes relay mode:

config rule
	option enabled '1'
	option target 'ACCEPT'
	option src 'wan'
	option proto 'udp'
	option dest_port '547'
	option name 'Allow DHCPv6 Relay'
	option family 'ipv6'
	option src_port '547'

LEDE revision: 3e7b894ac08b56343e6e449a38fdb2be7b02a127

17.01.2017394Base systemBug ReportVery LowLowPPPoE/802.1Q issues on Linksys WRT1900ACSTrunkUnconfirmed Task Description

Device: Linksys WRT1900ACS
LEDE commit: b9a408c2b49ccfa0e906bda00ef77f4002e401fd

diffconfig:
CONFIG_TARGET_mvebu=y
CONFIG_TARGET_mvebu_DEVICE_linksys-wrt1900acs=y
CONFIG_TARGET_BOARD=”mvebu” CONFIG_LIBSODIUM_MINIMAL=y
CONFIG_PACKAGE_dnscrypt-proxy=y
CONFIG_PACKAGE_dnscrypt-proxy-resolvers=y
CONFIG_PACKAGE_libsodium=y

I have an ISP that requires PPPoE on vlan 201 with 802.1Q tags (CenturyLink fiber). On OpenWRT 15.05.1 and on earlier versions of LEDE (not sure about an exact revision, but maybe October/November timeframe) I could simply define my wan interface in /etc/config/network like this and it just worked:

```
config interface ‘wan’

  option ifname 'eth0.201'
  option proto 'pppoe'
  option username 'user@provider'
  option password 'password'

```

I can’t find any way to make this work on recent versions of LEDE. I’ve tried new builds at least every few weeks, but none have worked for the past few months. I’ve tried configuring the switch_vlan section by adding a ‘t’ after the appropriate switch port to enable tagging, I’ve tried defining a new interface and then using that as the wan ifname, and I’ve tried the command line `ip link` and `ppp` invocations that work on every other linux system I’ve tried, but I can’t find anything that works on recent versions of LEDE.

On other linux systems I can do roughly the following and it works:

```
ip link add link eth0 name eth0.201 type vlan id 201
ip link set eth0.201 up
pppd call centurylink
```

where /etc/ppp/peers/centurylink and /etc/ppp/chap-secrets looks like this:
```
> cat /etc/ppp/peers/centurylink
plugin rp-pppoe.so

eth0.201
name “user@provider” usepeerdns
persist
defaultroute
hide-password
noauth

cat /etc/ppp/chap-secrets
#USERNAME PROVIDER PASSWORD IPADDRESS
user@provider * password
```

I’ve tried using tcpdump to capture what’s happening and on other systems (Ubuntu 16.10, Debian Jessie, pfsense) I see an 802.1Q tag, but I don’t see that on LEDE. That might be expected though because it seems totally possible that the switch itself is doing the 802.1Q stuff and tcpdump doesn’t see the actual packets sent over the wire. I have no idea if that’s the case, though. I guess I could also try this on OpenWRT as well, but I haven’t taken the time to do that yet.

The only other difference I’ve seen is that by default LEDE doesn’t send a Host-Uniq tag, but even if I set the host_uniq uci config it doesn’t fix things. Regardless of what I do I see logs that look like this:

```
Tue Jan 17 01:55:26 2017 daemon.notice netifd: Interface ‘wan’ is now down
Tue Jan 17 01:55:26 2017 daemon.notice netifd: Interface ‘wan’ is disabled
Tue Jan 17 01:55:26 2017 daemon.notice netifd: Interface ‘wan’ has link connectivity loss
Tue Jan 17 01:55:26 2017 kern.info kernel: [23415.581135] mvneta f1034000.ethernet eth0: configuring for fixed link mode
Tue Jan 17 01:55:26 2017 kern.info kernel: [23415.588150] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Tue Jan 17 01:55:26 2017 kern.info kernel: [23415.594095] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Tue Jan 17 01:55:26 2017 daemon.notice netifd: Interface ‘wan’ is enabled
Tue Jan 17 01:55:26 2017 daemon.notice netifd: Network device ‘eth0’ link is up
Tue Jan 17 01:55:26 2017 daemon.notice netifd: VLAN ‘eth0.201’ link is up
Tue Jan 17 01:55:26 2017 daemon.notice netifd: Interface ‘wan’ has link connectivity
Tue Jan 17 01:55:26 2017 daemon.notice netifd: Interface ‘wan’ is setting up now
Tue Jan 17 01:55:26 2017 kern.info kernel: [23415.602431] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Tue Jan 17 01:55:26 2017 daemon.info pppd[2263]: Plugin rp-pppoe.so loaded.
Tue Jan 17 01:55:26 2017 daemon.info pppd[2263]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Tue Jan 17 01:55:26 2017 daemon.notice pppd[2263]: pppd 2.4.7 started by root, uid 0
...
Tue Jan 17 01:55:41 2017 daemon.warn pppd[2263]: Timeout waiting for PADO packets
Tue Jan 17 01:55:41 2017 daemon.err pppd[2263]: Unable to complete PPPoE Discovery
Tue Jan 17 01:55:41 2017 daemon.info pppd[2263]: Exit.
```

A sample /etc/config/network looks like this:
```
config interface ‘loopback’

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

config globals ‘globals’

      option ula_prefix 'fd25:2a59:2a7b::/48'

config interface ‘lan’

      option type 'bridge'
      option ifname 'eth1'
      option proto 'static'
      option ipaddr '192.168.2.1'
      option netmask '255.255.255.0'
      option ip6assign '60'

config interface ‘wan’

  option ifname 'eth0.201'
  option proto 'pppoe'
  option username 'user@provider'
  option password 'password'

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 6'

config switch_vlan

      option device 'switch0'
      option vlan '2'
      option ports '4 5'

config interface ‘guest’

      option _orig_ifname 'wlan1'
      option _orig_bridge 'false'
      option proto 'static'
      option ipaddr '192.168.3.1'
      option netmask '255.255.255.0'

```

Interestingly, OpenWRT has exactly the same version of ppp and rp-pppoe (2.4.7 and 3.8p, respectively) so it seems like there’s something else in play and my guess is it’s related to vlan tagging, but I don’t seem to have the same issue as FS#227 which mentions both PPPoE and vlan config, but it is quite difficult to follow the discussion there so maybe I’m missing something.

18.01.2017406Base systemFeature RequestVery LowLowodhcpd: enable IPv6 unicast relayTrunkUnconfirmed Task Description

We want to use Prefix Delegation in a large layer3 mesh network. Currently odhcpd only supports DHCPv6-Relay by forwarding the incoming request to the master interface with multicast all-routers-destination address.

In a mesh network we do not have master/uplink interfaces. But we have the IP of the DHCP server which is X hops away and the routing protocol knows which way to send the packet.

Is it possible to add dhcp relay via unicast? An additional config parameter for the IP of the DHCP server is then also needed.

18.01.2017408Base systemBug ReportVery LowLowArcher C7 has incorrect default bssid addresses for wif...TrunkWaiting on reporter Task Description

Using LEDE Reboot SNAPSHOT r3022-7fb11c8.

This is at least for Archer C7 v2. The default bssids for the networks in my particular device are:

:::::*D for the 2,4 GHz radio and
:::::*C for the 5 GHz radio

In LEDE they result in

:::::*C for the 2,4 GHz radio and
:::::*B for the 5 GHz radio

The problem in LEDE is that the bssid set up for the 2,4 GHz is the one for 5 GHz and then the 5 GHz gets minus one. Don’t know if it could be because the ethernet lan gets also :::::*D and wlan1 can’t have the same mac address as eth1. In the original firmware this seems to be possible, both ethernet lan and 2,4 GHz radio have the same mac/bssid. Also, at least with the 2,4 GHz radio, when you set up another connection with the device as client, the bssid of the master one change *(+2)::::**:*C the second hex digit gets plus 2, the bssid that should get a second connection as ap, but in this case there is one ap one client connections. This one could be right and I have to test with another router to see if it happens because I didn’t notice this before.

24.01.2017427Base systemBug ReportVery LowMediumSwitch broken with WRT3200ACM (removes wifi adapters an...TrunkUnconfirmed Task Description

- Device problem occurs on:

WRT3200ACM

- Software versions of LEDE release, packages, etc.:

master tree (and v17.01), bisected to f24ffb901e0408917748773b883841eca52eea05.

- Steps to reproduce

* Flash a recent LEDE snapshot on the WRT3200ACM (and factory reset),
* enable wifi (2 or 5 Gz) → Wifi works
* disable wifi → errors in the dmesg about not being able to set a feature (can’t remember the exact error)
* re-enable wifi → errors in the dmesg saying that the adapter does not exist. This gets shouted in the dmesg every 5 seconds

A reboot doesn’t fix the issue. I need to downgrade the firmware prior to f24ffb901e0408917748773b883841eca52eea05 and factory reset to get the wifi adapters back.

For the Vlan bridge, symptoms are easier to detect:
* create a new adapter bridged on eth0.100 eth1.100
* no traffic goes through it. An snapshot before f24ffb901 used to work
(the setup is the Free french provider which has a vlan between the modem and the TV adapter over VLAN 100. So the LEDE box should act like a pass-through here only)

I bisected to the commit mentioned above (which, to me seems suspicious given that the driver is for mvsw61xx and the switch in the WRT3200ACM is MV88E6352, so a different generation). I don’t have enough knowledge of the chip to understand why this fails, but I don’t feel confident enough to simply send a PR with the revert.

Reverting f24ffb901e on top of master makes the Wifi and VLAN back to normal.


28.01.2017441Base systemBug ReportVery LowLowKernel crash: eth0 (ag71xx): transmit queue 0 timed outTrunkUnconfirmed Task Description

Device: TL-WR1043ND v1
LEDE: snapshot r3189-12db207

During a simultaneous bidirectional iperf load test, after about 20 minutes, the kernel crashes. I reproduced this several times:

Server 1 ←–> 1043ND ←–> Laptop via wireless N

LEDE is using a default setup. Only changes:
* Setting wireless encryption to psk with password
* Setting a DNAT rule for server 1 to be able reach the iperf server on the Laptop

This bug was actually discovered while testing fixes for  FS#13  - Ath9k AP stays up for connected clients but doesn’t show in scan on new ones

Serial console ouput:

[ 1294.022551] ------------[ cut here ]------------
[ 1294.027247] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:306 dev_watchdog+0x1dc/0x260()
[ 1294.035754] NETDEV WATCHDOG: eth0 (ag71xx): transmit queue 0 timed out
[ 1294.042319] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nn
[ 1294.106287] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.45 #0
[ 1294.112066] Stack : 803e4844 00000000 00000001 80440000 8042f1dc 8042ee63 803c5e64 00000000
          804a378c 8042d4fc 00000200 00100000 0000000a 800a7618 803cb554 80430000
          00000003 8042d4fc 803c9960 81809e34 0000000a 800a5594 00000006 00000000
          00000000 801f5400 00000000 00000000 00000000 00000000 00000000 00000000
          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
          ...
[ 1294.148122] Call Trace:
[ 1294.150617] [<800a7618>] vprintk_default+0x24/0x30
[ 1294.155474] [<800a5594>] printk+0x2c/0x38
[ 1294.159515] [<801f5400>] wait_for_xmitr+0x84/0xcc
[ 1294.164289] [<80081c3c>] warn_slowpath_common+0xa0/0xd0
[ 1294.169564] [<801a72dc>] dump_stack+0x14/0x28
[ 1294.173975] [<80071eb0>] show_stack+0x50/0x84
[ 1294.178376] [<80081c3c>] warn_slowpath_common+0xa0/0xd0
[ 1294.183661] [<8028ef3c>] dev_watchdog+0x1dc/0x260
[ 1294.188408] [<80081c98>] warn_slowpath_fmt+0x2c/0x38
[ 1294.193450] [<8028ef3c>] dev_watchdog+0x1dc/0x260
[ 1294.198191] [<8028ed60>] dev_watchdog+0x0/0x260
[ 1294.202782] [<800b08d0>] call_timer_fn.isra.5+0x24/0x80
[ 1294.208051] [<800b0b54>] run_timer_softirq+0x1b4/0x1fc
[ 1294.213248] [<800a89f0>] handle_irq_event_percpu+0x154/0x188
[ 1294.218960] [<800841b8>] __do_softirq+0x250/0x298
[ 1294.223721] [<800abdac>] handle_percpu_irq+0x50/0x80
[ 1294.228746] [<8006a9e0>] plat_irq_dispatch+0xd4/0x10c
[ 1294.233848] [<80060bf4>] handle_int+0x134/0x140
[ 1294.238400] 
[ 1294.239904] ---[ end trace 17bad011a41ccba7 ]---
[ 1294.244567] eth0: tx timeout
[ 1299.022570] eth0: tx timeout
[ 1304.022581] eth0: tx timeout
[ 1309.022588] eth0: tx timeout

The eth0: tx timeout line is repeated every 5 seconds.


31.01.2017446Base systemBug ReportVery LowLowusbport trigger: The default configuration for all fami...TrunkUnconfirmed Task Description

Recently LuCI has get ability to configure LED’s with the usbport trigger https://github.com/openwrt/luci/issues/971. There are issues when reading the old usbdev trigger. There is no need to stay with usbdev at all so if it’s possible it should be converted to use usbport.

01.02.2017449Base systemBug ReportVery LowLowrelayd can cause dropped packets if client has /proc/sy...TrunkUnconfirmed Task Description

DEVICE: N/A (can be reproduced on any system running relayd)
LEDE version: N/A (can be reproduced on a VM running debian with relayd installed)

Steps to reproduce:

* Run relayd on a system (aka router)with two interfaces.
* Run a stock Ubuntu-16.04 system (aka client) connected to the managed interface.
* Run another system (aka server) on the other interface of relayd system.
* Have server ping client and watch connectivity drop out periodically.
* Have client ping server and watch connectivity drop out periodically.

Our fix for the problem need two changes:

* Add arptables rules to system to handle kernel level arp requests properly via mangling the source address in the arp requests
* Modify relayd to send the correct src addr in the arp requests that it generates.

Our changes to relayd are here:

* https://github.com/troth/relayd/commit/c8d895ee71be59262f01c3fdf50f307ebf1593e7

From commit message for my fix:

    Add option to set arp src addr for managed interfaces.
    
    Relayd will send arp requests out a managed interface like this:
    
        Who has 192.168.1.40, tell 192.168.2.1
    
    In most cases, this works, but some clients will not send a reply (on
    linux, client will not reply if /proc/sys/net/ipv4/conf/*/rp_filter is
    set to 1, which happens to be the default on ubuntu-16.04).
    
    Add '-s' option to tell relayd to use the specified addr as the arp src
    addr for managed interfaces. The arp requests would then look like:
    
        Who has 192.168.1.40, tell 192.168.1.100
    
    for which the client properly sends a reply.
    
    The symptoms of the problem manifest as dropped packets due to the
    kernel marking the arp entry for the client as FAILED due to lack of
    responses to the arp requests. Eventually (10-30 seconds later), the arp
    table is updated and connectivity is restored.
04.02.2017461Base systemBug ReportVery LowMediumMass Cascade of DHCP ULA Prefix Assignments with DHCP-P...AllUnconfirmed Task Description

Here is one that gets a bit ugly. Lets say we chain a bunch of LEDE based routers together. Lets also enable a nice numbering system in IP4 and IP6. Lets enable DHCP-PD through the network, because our ISP was generous with a /56. The IP4 is only static and is easy to control, see table below. Its tedious, but easy. The problem is in parallel the IP6 addresses compound in the ULA region. Each router DHCP-PD the ULA above it, and gets its own ULA from Global settings in Network UCI. There seems no easy way to control this mass cascade of ULA, and get good fail over.

Ideal Requirements:
(1) If router above is unavailable, then next tier router uses ULA (network global UCI) to begin assigning addresses to clients and subnets.
(2) If router above is available, then next tier router expires its self-generated ULA and subnets, and gets ULA from delegation above to then re-delegate to subnets.
(*) Bonus: make some parts optional

IP4 WAN Name Serves Subnet
(NAT) Router-1 172.16.0.1/24
172.16.0.2 Router-2A 172.17.0.1/24
172.17.0.2 Router-3A 172.24.0.1/24
172.17.0.3 Router-3B 172.25.0.1/24
172.16.0.3 Router-2B 172.18.0.1/24

IP6 Roots Name Serves Subnet Delegates Subnet
2001:db8/56 Router-1 2001:db8::1/64 2001:db8:0:10/60
fd00:ac10/48 fd00:ac10::1/64 2001:db8:0:20/60

                                                fd00:ac10:0:10/60
                                                fd00:ac10:0:20/60

2001:db8:0:10/60 Router-2A 2001:db8:0:10::1/64 2001:db8:0:14/62
fd00:ac10:0:10/60 fd00:ac10:0:10::1/64 2001:db8:0:18/62
fd00:ac11/48 fd00:ac11::1/64 fd00:ac10:0:14/62

                                                fd00:ac10:0:18/62
                                                fd00:ac11:0:14/62
                                                fd00:ac11:0:18/62

* please, i don’t want to type more. see how the ULA prefixes just keep multiplying.
** ‘172.16’ = ‘ac10’

04.02.2017463Base systemBug ReportVery LowLowup/down on a usbnet interfaces fails to reassign ULA ad...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: anything running usbnet
- Software versions of LEDE release, packages, etc: head
- Steps to reproduce:

Install the usbnet package, enable a usb0 device in /etc/config/network

(in my case this is a c.h.i.p, but most hackerboards except the pi do usbnet)

config interface ‘usb0’

      option ifname 'usb0'            
      option proto 'static'                 
      option ipaddr '172.26.97.200'
      option netmask '255.255.255.255'
      option ip6assign '64'           
      option ip6class 'local' 

So long as the chip beats the router to booting, this gives it an ipv4 and ipv6 ULA out of the pool.

Reboot the device on the other side. The kernel deregisters and registers the usbnet driver, and netifd assigns the ipv4 address again.

However the ip6 subnet that was assigned from the ula does not come back. Haven’t tried it with a public address.

ifup/ifdown does not work and the ifstatus usb0 does not show any ipv6 addresses assigned.

05.02.2017469Base systemBug ReportVery LowLowWifi firmware file is not available on ZyXEL P-2812HNU-...lede-17.01Unconfirmed Task Description

Kernel log:

[   11.336056] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[   11.340485] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'.
[   11.350276] rt2800pci 0000:00:0e.0: Direct firmware load for RT3062.eeprom failed with error -2
[   11.358782] rt2800pci 0000:00:0e.0: Falling back to user helper
[   11.479331] firmware RT3062.eeprom: firmware_loading_store: map pages failed
[   11.485217] ieee80211 phy0: rt2x00lib_request_eeprom_file: Error - Failed to request EEPROM.
[   11.493519] rt2800pci: probe of 0000:00:0e.0 failed with error -11

Firmware files:

root@lede:/lib/firmware# ls /lib/firmware/
lantiq-vrx200-a-to-b.bspatch                 rt2860.bin                                   xcpe_581816_580B11.LICENSE                   xcpe_581816_580B11_to_579906_574402.bspatch
lantiq-vrx200-a.bin                          rt3290.bin                                   xcpe_581816_580B11.bin

After adding a RT3062.eeprom the wifi port is available.

 


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

Available keyboard shortcuts

Tasklist

Task Details

Task Editing