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

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

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

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

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

AP wireless config:

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

STA wireless config:

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

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

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


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

Another one which is a bit different:

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

based on the thread
[LEDE-DEV] [OpenWrt-Devel] latency on PPPoA ADSL Annex A on using Lantiq

http://lists.infradead.org/pipermail/lede-dev/2016-August/002138.html

When using ssh onto the box via adsl, there is a high latency.
The last 3.18 version of lede works. Known good:

  • 161179f40bd7899516518f3844fea28c6dd86efc r47130

Known broken versions:

  • 2795592d913ba8ba57ba537d40714407ea463426 r47131
  • 2a0e1b7f8d59f795abb29d20007822f0da232c43 r47958

mkresin also has a patch for lantiq+4.0, which also has a high latency.
blogic mentioned linux commit 7424ce65065852bdf7a040bf2490da4a8fc4b464 [atm] switch vcc_sendmsg() to copy_from_iter() could be the issue.

Also an interesting side-effect. setup a uhttpd on the device and serve a file to the internet is very slow (using 4mb file random data). it only uploads 5kb/s

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

11.04.2017704Base systemBug ReportMediumMediumbrcmfmac / Raspberry Pi 3 / wifi not working / adhoc an...TrunkAssigned Task Description

tested with a snapshot-image and a selfcompiled with r3923
wifi in adhoc mode or 80211s-mode ist not working. Messages in
syslog are the same. wifi-scanning works (iw dev wlan0 scan).

root@LEDE:~ :) dmesg | grep -i brcm
[   14.341639] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Aug 29 2016 20:48:16 version 7.45.41.26 (r640327) FWID 01-4527cfab
[   14.387220] usbcore: registered new interface driver brcmfmac

root@LEDE:~ wifi
root@LEDE:~ logread
Sun Apr  9 04:04:02 2017 daemon.notice netifd: Interface 'wlan' is now down
Sun Apr  9 04:04:02 2017 daemon.notice netifd: Interface 'wlan' is disabled
Sun Apr  9 04:04:03 2017 daemon.notice netifd: radio0 (5094): command failed: No error information (-524)
Sun Apr  9 04:04:03 2017 daemon.notice netifd: radio0 (5131): command failed: No error information (-524)
Sun Apr  9 04:04:03 2017 daemon.notice netifd: radio0 (5131): command failed: Not supported (-95)
Sun Apr  9 04:04:03 2017 daemon.notice netifd: radio0 (5131): command failed: I/O error (-5)
Sun Apr  9 04:04:03 2017 daemon.notice netifd: radio0 (5131): command failed: Too many open files in system (-23)
Sun Apr  9 04:04:04 2017 daemon.notice netifd: radio0 (5131): command failed: Too many open files in system (-23)
Sun Apr  9 04:04:04 2017 daemon.notice netifd: radio0 (5131): Device setup failed: INTERFACE_CREATION_FAILED
Sun Apr  9 04:04:04 2017 daemon.notice netifd: radio0 (5131): WARNING: Variable 'interfaces' does not exist or is not an array/object

root@LEDE:~ uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.country='US'
wireless.radio0.channel='5'
wireless.radio0.path='platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
wireless.radio0.hwmode='11g'
wireless.@wifi-iface[0]=wifi-iface
wireless.@wifi-iface[0].device='radio0'
wireless.@wifi-iface[0].network='wlan'
wireless.@wifi-iface[0].mode='adhoc'
wireless.@wifi-iface[0].bssid='02:ca:ff:ee:ba:be'
wireless.@wifi-iface[0].macaddr='b8:27:eb:14:63:ea'
wireless.@wifi-iface[0].ssid='ffintern.2GHz'

root@LEDE:~ :) ip address show dev wlan0
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc prio state DOWN group default qlen 1000
    link/ether b8:27:eb:14:63:ea brd ff:ff:ff:ff:ff:ff
    inet 10.63.5.1/8 brd 10.255.255.255 scope global wlan0
       valid_lft forever preferred_lft forever
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.

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.

12.12.2016333KernelBug ReportMediumLowath10k_pci: crash after ~10d uptimeTrunkNew Task Description

After ~10 days of uptime, ath10k crashed and I could no longer associate.

Device: D-Link DAP-2695 rev A1
Running: LEDE r2370

Wireless config:

config wifi-device  radio0
        option type     mac80211
        option channel  100
        option country  BE
        option txpower  20
        option hwmode   11a
        option path     'pci0000:00/0000:00:00.0'
        option htmode   VHT80
        option disabled 0

config wifi-iface
        option device 'radio0'
        option ifname 'wlan0'
        option encryption 'psk2'
        option ieee80211d '1'
        option ieee80211w '1'
        option peerkey '1'
        option rsn_preauth '1'
        option network 'lan'
        option mode 'ap'
        option ssid 'xxxxxxxx'
        option key 'XXXXXXXX'

config wifi-iface
        option device 'radio0'
        option ifname 'wlan2'
        option encryption 'psk2'
        option ieee80211d '1'
        option ieee80211w '1'
        option peerkey '1'
        option rsn_preauth '0'
        option network 'guest'
        option mode 'ap'
        option ssid 'Guests'
        option key 'YYYYYYYY'
        #option disassoc_low_ack '0'

config wifi-device  radio1
        option type     mac80211
        option channel  1
        option country  BE
        option txpower  20
        option hwmode   11g
        option path     'platform/qca955x_wmac'
        option htmode   HT40
        #option noscan   1

config wifi-iface
        option device 'radio1'
        option ifname 'wlan1'
        option encryption 'psk2'
        option ieee80211d '1'
        option ieee80211w '1'
        option peerkey '1'
        option rsn_preauth '1'
        option mode 'ap'
        option network 'lan'
        option ssid 'xxxxxxxx'
        option key 'XXXXXXXX'

config wifi-iface
        option device 'radio1'
        option ifname 'wlan3'
        option encryption 'psk2'
        option ieee80211d '1'
        option ieee80211w '1'
        option peerkey '1'
        option rsn_preauth '0'
        option network 'guest'
        option mode 'ap'
        option ssid 'Guests'
        option key 'YYYYYYYY'
        #option disassoc_low_ack '0'

Kernel log:

[   54.439387] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   54.652312] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[   54.663197] ath10k_pci 0000:00:00.0: Falling back to user helper
[   54.742675] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[   54.752039] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/cal-pci-0000:00:00.0.bin failed with error -2
[   54.762568] ath10k_pci 0000:00:00.0: Falling back to user helper
[   61.648688] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   61.658088] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   61.671139] ath10k_pci 0000:00:00.0: firmware ver 10.2.4.70.54 api 5 features no-p2p,raw-mode,mfp crc32 9d340dd9
[   61.681571] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[   61.692178] ath10k_pci 0000:00:00.0: Falling back to user helper
[   61.771624] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[   61.786987] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   62.893736] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[   63.001904] ath: EEPROM regdomain: 0x0
[   63.001920] ath: EEPROM indicates default country code should be used
[   63.001928] ath: doing EEPROM country->regdmn map search
[   63.001945] ath: country maps to regdmn code: 0x3a
[   63.001955] ath: Country alpha2 being used: US
[   63.001963] ath: Regpair used: 0x3a
[   63.284566] ath: EEPROM regdomain: 0x0
[   63.284583] ath: EEPROM indicates default country code should be used
[   63.284591] ath: doing EEPROM country->regdmn map search
[   63.284608] ath: country maps to regdmn code: 0x3a
[   63.284617] ath: Country alpha2 being used: US
[   63.284625] ath: Regpair used: 0x3a
[   72.829974] ath: EEPROM regdomain: 0x8038
[   72.834045] ath: EEPROM indicates we should expect a country code
[   72.840265] ath: doing EEPROM country->regdmn map search
[   72.845651] ath: country maps to regdmn code: 0x37
[   72.850522] ath: Country alpha2 being used: BE
[   72.855022] ath: Regpair used: 0x37
[   72.858554] ath: regdomain 0x8038 dynamically updated by user
[   72.864452] ath: EEPROM regdomain: 0x8038
[   72.868513] ath: EEPROM indicates we should expect a country code
[   72.874707] ath: doing EEPROM country->regdmn map search
[   72.880092] ath: country maps to regdmn code: 0x37
[   72.884943] ath: Country alpha2 being used: BE
[   72.889458] ath: Regpair used: 0x37
[   72.892996] ath: regdomain 0x8038 dynamically updated by user
[920549.560152] ath10k_pci 0000:00:00.0: failed to delete peer c0:ee:fb:4a:18:b7 for vdev 0: -145
[920549.568951] ath10k_pci 0000:00:00.0: found sta peer c0:ee:fb:4a:18:b7 (ptr 8d43f600 id 95) entry on vdev 0 after it was supposedly removed
[920549.581722] ------------[ cut here ]------------
[920549.586618] WARNING: CPU: 0 PID: 1431 at compat-wireless-2016-10-08/net/mac80211/sta_info.c:964 sta_set_sinfo+0x92c/0x9e0 [mac80211]()
[920549.598968] Modules linked in: ath9k ath9k_common crc_ccitt ath9k_hw act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress ath10k_pci ath10k_core ath mac80211 cfg80211 compat gpio_button_hotplug
[920549.620582] CPU: 0 PID: 1431 Comm: hostapd Not tainted 4.4.35 #0
[920549.626772] Stack : 803c2d64 00000000 00000001 80420000 8fe26580 8040acc3 803a4424 00000597
[920549.626772]           8047379c 8ff8d000 00000000 77415e94 00000000 800a7198 803a9a90 80400000
[920549.626772]           00000003 8ff8d000 803a7e9c 8e5f3b2c 00000000 800a5114 80400000 00000000
[920549.626772]           00000001 801f3100 00000000 00000000 00000000 00000000 00000000 00000000
[920549.626772]           00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[920549.626772]           ...
[920549.663219] Call Trace:
[920549.665810] [<80071ae0>] show_stack+0x50/0x84
[920549.670323] [<80081860>] warn_slowpath_common+0xa0/0xd0
[920549.675724] [<80081918>] warn_slowpath_null+0x18/0x24
[920549.680994] [<8f5870a4>] sta_set_sinfo+0x92c/0x9e0 [mac80211]
[920549.686990] [<8f587188>] __sta_info_destroy+0x30/0x48 [mac80211]
[920549.693222] [<8f587238>] sta_info_destroy_addr_bss+0x38/0x60 [mac80211]
[920549.700118] [<8f54c144>] cfg80211_check_station_change+0xed8/0x1390 [cfg80211]
[920549.707564] 
[920549.709166] ---[ end trace e15a227055dd36c2 ]---
[920866.693883] ath10k_pci 0000:00:00.0: failed to install key for vdev 0 peer b0:df:3a:12:79:80: -145
[920866.703088] wlan0: failed to remove key (0, b0:df:3a:12:79:80) from hardware (-145)
[920866.719519] ath10k_pci 0000:00:00.0: cipher 0 is not supported
[920866.725602] ath10k_pci 0000:00:00.0: failed to remove peer wep key 0: -122
[920866.732670] ath10k_pci 0000:00:00.0: failed to clear all peer wep keys for vdev 0: -122
[920866.740901] ath10k_pci 0000:00:00.0: failed to disassociate station: b0:df:3a:12:79:80 vdev 0: -122
[920866.750169] ------------[ cut here ]------------
[920866.755066] WARNING: CPU: 0 PID: 1431 at compat-wireless-2016-10-08/net/mac80211/sta_info.c:956 sta_set_sinfo+0x8d8/0x9e0 [mac80211]()
[920866.767421] Modules linked in: ath9k ath9k_common crc_ccitt ath9k_hw act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress ath10k_pci ath10k_core ath mac80211 cfg80211 compat gpio_button_hotplug
[920866.789044] CPU: 0 PID: 1431 Comm: hostapd Tainted: G        W       4.4.35 #0
[920866.796465] Stack : 803c2d64 00000000 00000001 80420000 8fe26580 8040acc3 803a4424 00000597
[920866.796465]           8047379c 8ff8d000 00000000 77415e94 00000000 800a7198 803a9a90 80400000
[920866.796465]           00000003 8ff8d000 803a7e9c 8e5f3b2c 00000000 800a5114 00000000 00000000
[920866.796465]           80409dd0 801f3100 00000000 00000000 00000000 00000000 00000000 00000000
[920866.796465]           00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[920866.796465]           ...
[920866.832912] Call Trace:
[920866.835502] [<80071ae0>] show_stack+0x50/0x84
[920866.840016] [<80081860>] warn_slowpath_common+0xa0/0xd0
[920866.845417] [<80081918>] warn_slowpath_null+0x18/0x24
[920866.850691] [<8f587050>] sta_set_sinfo+0x8d8/0x9e0 [mac80211]
[920866.856685] [<8f587188>] __sta_info_destroy+0x30/0x48 [mac80211]
[920866.862914] [<8f587238>] sta_info_destroy_addr_bss+0x38/0x60 [mac80211]
[920866.869817] [<8f54c144>] cfg80211_check_station_change+0xed8/0x1390 [cfg80211]
[920866.877266] 
[920866.878867] ---[ end trace e15a227055dd36c3 ]---
[920869.873901] ath10k_pci 0000:00:00.0: failed to delete peer b0:df:3a:12:79:80 for vdev 0: -11
[920869.882572] ath10k_pci 0000:00:00.0: found sta peer b0:df:3a:12:79:80 (ptr 8f3f3000 id 243) entry on vdev 0 after it was supposedly removed
[920872.893898] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -11
[920875.893871] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -11
[920878.913873] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[920881.913852] ath10k_pci 0000:00:00.0: failed to set protection mode 0 on vdev 0: -11
[920884.913828] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -11
[920887.923826] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 1: -11
[920890.923830] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 1: -11
[920893.933787] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 1: -11
[920896.933770] ath10k_pci 0000:00:00.0: failed to set protection mode 0 on vdev 1: -11
[920899.933771] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 1: -11

Kernel log after running “wifi” in the crashed state:

[921144.042842] ath10k_pci 0000:00:00.0: failed to install key for vdev 0 peer 9c:d6:43:29:cc:18: -11
[921144.051948] wlan0: failed to remove key (2, ff:ff:ff:ff:ff:ff) from hardware (-11)
[921147.052846] ath10k_pci 0000:00:00.0: failed to install key for vdev 0 peer 9c:d6:43:29:cc:18: -11
[921147.061984] wlan0: failed to set key (2, ff:ff:ff:ff:ff:ff) to hardware (-11)
[921150.082845] ath10k_pci 0000:00:00.0: failed to install key for vdev 1 peer 9e:d6:43:29:cc:18: -11
[921150.092017] wlan2: failed to remove key (2, ff:ff:ff:ff:ff:ff) from hardware (-11)
[921153.092796] ath10k_pci 0000:00:00.0: failed to install key for vdev 1 peer 9e:d6:43:29:cc:18: -11
[921153.101928] wlan2: failed to set key (2, ff:ff:ff:ff:ff:ff) to hardware (-11)
[932082.286927] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[932390.335807] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request
[932607.674665] ath10k_pci 0000:00:00.0: failed to down vdev_id 1: -11
[932610.674753] ath10k_pci 0000:00:00.0: failed to stop WMI vdev 1: -11
[932610.682338] ath10k_pci 0000:00:00.0: failed to stop vdev 1: -11
[932613.684666] ath10k_pci 0000:00:00.0: failed to install key for vdev 1 peer 9e:d6:43:29:cc:18: -11
[932613.694955] wlan2: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-11)
[932616.694882] ath10k_pci 0000:00:00.0: failed to submit AP/IBSS self-peer removal on vdev 1: -11
[932619.694635] ath10k_pci 0000:00:00.0: failed to delete WMI vdev 1: -11
[932622.694758] ath10k_pci 0000:00:00.0: failed to remove AP self-peer on vdev 1: -145
[932622.704039] ath10k_pci 0000:00:00.0: found vif peer 9e:d6:43:29:cc:18 entry on vdev 1 after it was supposedly removed
[932622.715667] ath10k_pci 0000:00:00.0: removing stale peer 9e:d6:43:29:cc:18 from vdev_id 1
[932622.724455] br-guest: port 3(wlan2) entered disabled state
[932622.796620] device wlan2 left promiscuous mode
[932622.802446] br-guest: port 3(wlan2) entered disabled state
[932622.856835] br-guest: port 2(wlan3) entered disabled state
[932622.885493] device wlan3 left promiscuous mode
[932622.891306] br-guest: port 2(wlan3) entered disabled state
[932622.935955] device wlan0 left promiscuous mode
[932622.940833] br-lan: port 2(wlan0) entered disabled state
[932622.976382] device wlan1 left promiscuous mode
[932622.981149] br-lan: port 3(wlan1) entered disabled state
[932626.004584] ath10k_pci 0000:00:00.0: failed to down vdev_id 0: -11
[932629.004572] ath10k_pci 0000:00:00.0: failed to stop WMI vdev 0: -11
[932629.011031] ath10k_pci 0000:00:00.0: failed to stop vdev 0: -11
[932634.014537] ath10k_pci 0000:00:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
[932637.034556] ath10k_pci 0000:00:00.0: failed to install key for vdev 0 peer 9c:d6:43:29:cc:18: -11
[932637.043707] wlan0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-11)
[932640.044532] ath10k_pci 0000:00:00.0: failed to submit AP/IBSS self-peer removal on vdev 0: -11
[932643.044507] ath10k_pci 0000:00:00.0: failed to delete WMI vdev 0: -11
[932646.044501] ath10k_pci 0000:00:00.0: failed to remove AP self-peer on vdev 0: -145
[932646.052277] ath10k_pci 0000:00:00.0: found vif peer 9c:d6:43:29:cc:18 entry on vdev 0 after it was supposedly removed
[932646.063205] ath10k_pci 0000:00:00.0: removing stale peer 9c:d6:43:29:cc:18 from vdev_id 0
[932652.064468] ath10k_pci 0000:00:00.0: could not suspend target (-11)
[932653.410146] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[932654.710106] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[932654.716877] device wlan1 entered promiscuous mode
[932654.755523] device wlan0 entered promiscuous mode
[932655.397455] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[932655.404141] br-lan: port 3(wlan0) entered forwarding state
[932655.409904] br-lan: port 3(wlan0) entered forwarding state
[932655.426138] device wlan2 entered promiscuous mode
[932655.445231] IPv6: ADDRCONF(NETDEV_UP): wlan2: link is not ready
[932655.451454] br-guest: port 2(wlan2) entered forwarding state
[932655.457370] br-guest: port 2(wlan2) entered forwarding state
[932655.714483] br-guest: port 2(wlan2) entered disabled state
[932655.842761] IPv6: ADDRCONF(NETDEV_CHANGE): wlan2: link becomes ready
[932655.849460] br-guest: port 2(wlan2) entered forwarding state
[932655.855380] br-guest: port 2(wlan2) entered forwarding state
[932656.428869] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[932656.435563] br-lan: port 2(wlan1) entered forwarding state
[932656.441274] br-lan: port 2(wlan1) entered forwarding state
[932656.466101] device wlan3 entered promiscuous mode
[932656.477745] IPv6: ADDRCONF(NETDEV_UP): wlan3: link is not ready
[932656.483865] br-guest: port 3(wlan3) entered forwarding state
[932656.489791] br-guest: port 3(wlan3) entered forwarding state
[932656.714486] br-guest: port 3(wlan3) entered disabled state
[932656.869320] IPv6: ADDRCONF(NETDEV_CHANGE): wlan3: link becomes ready
[932656.876022] br-guest: port 3(wlan3) entered forwarding state
[932656.881921] br-guest: port 3(wlan3) entered forwarding state
[932657.404425] br-lan: port 3(wlan0) entered forwarding state
[932657.854498] br-guest: port 2(wlan2) entered forwarding state
[932658.434436] br-lan: port 2(wlan1) entered forwarding state
[932658.874432] br-guest: port 3(wlan3) entered forwarding state
[932680.425787] br-guest: port 3(wlan3) entered disabled state
[932680.442596] device wlan3 left promiscuous mode
[932680.447279] br-guest: port 3(wlan3) entered disabled state
[932680.467863] br-guest: port 2(wlan2) entered disabled state
[932680.485729] device wlan2 left promiscuous mode
[932680.490436] br-guest: port 2(wlan2) entered disabled state
[932680.505002] device wlan1 left promiscuous mode
[932680.509700] br-lan: port 2(wlan1) entered disabled state
[932680.523775] device wlan0 left promiscuous mode
[932680.528530] br-lan: port 3(wlan0) entered disabled state
[932683.130864] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[932683.169412] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[932683.183967] device wlan0 entered promiscuous mode
[932683.197266] device wlan1 entered promiscuous mode
[932683.813544] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[932683.820249] br-lan: port 2(wlan0) entered forwarding state
[932683.826004] br-lan: port 2(wlan0) entered forwarding state
[932683.841229] device wlan2 entered promiscuous mode
[932683.857367] IPv6: ADDRCONF(NETDEV_UP): wlan2: link is not ready
[932683.863484] br-guest: port 2(wlan2) entered forwarding state
[932683.869386] br-guest: port 2(wlan2) entered forwarding state
[932684.174365] br-guest: port 2(wlan2) entered disabled state
[932684.265577] IPv6: ADDRCONF(NETDEV_CHANGE): wlan2: link becomes ready
[932684.272265] br-guest: port 2(wlan2) entered forwarding state
[932684.278193] br-guest: port 2(wlan2) entered forwarding state
[932684.868399] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[932684.875079] br-lan: port 3(wlan1) entered forwarding state
[932684.880820] br-lan: port 3(wlan1) entered forwarding state
[932684.905988] device wlan3 entered promiscuous mode
[932684.912111] IPv6: ADDRCONF(NETDEV_UP): wlan3: link is not ready
[932684.918275] br-guest: port 3(wlan3) entered forwarding state
[932684.924142] br-guest: port 3(wlan3) entered forwarding state
[932685.174351] br-guest: port 3(wlan3) entered disabled state
[932685.305978] IPv6: ADDRCONF(NETDEV_CHANGE): wlan3: link becomes ready
[932685.312646] br-guest: port 3(wlan3) entered forwarding state
[932685.318582] br-guest: port 3(wlan3) entered forwarding state
[932685.824311] br-lan: port 2(wlan0) entered forwarding state
[932686.274310] br-guest: port 2(wlan2) entered forwarding state
[932686.874321] br-lan: port 3(wlan1) entered forwarding state
[932687.314318] br-guest: port 3(wlan3) entered forwarding state

After running wifi, I am able to connect again.

MAC addresses found in logs:
9c:d6:43:29:cc:18: DAP-2695, wlan0
9e:d6:43:29:cc:18: DAP-2695, wlan2

c0:ee:fb:4a:18:b7: OnePlus 2, Android 6.0.1
b0:df:3a:12:79:80: Samsung SM-T520, Android 5.1.1

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.2017587Base systemBug ReportMediumLowno wwan with qmi based modem quectel ec20AllNew Task Description

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

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

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

 1553 root      3288 S    {qmi.sh} /bin/sh ./qmi.sh qmi setup lte {"ifname":"wwan0","proto":"qmi","apn":"internet","
 1620 root      9024 S    uqmi -s -d /dev/cdc-wdm0 --wda-set-data-format 802.3
 1817 root      3072 S    grep qmi
config interface 'lte'
	option ifname 'wwan0'
	option proto 'qmi'
	option apn 'internet'
	option device '/dev/cdc-wdm0'
	option dhcp '1'
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

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

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

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

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

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

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

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

03.05.2017758Base systemBug ReportMediumLowfactory image for ubnt er-x missinglede-17.01Assigned Task Description

lede-ramips-mt7621-ubnt-erx-initramfs-factory.tar isn’t part of the released files though it is needed to initially flash the device when still operating the factory firmware.

14.07.2017906PackagesBug ReportMediumLowperf doesn't build on x86TrunkNew Task Description

LEDE master 683e73735ebe64ffdbc55aa0037815e4ae282332 x86/64

make[1]: Entering directory '/home/stijn/Development/LEDE/source'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/devel/perf'
rm -rf /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl
rm -f /home/stijn/Development/LEDE/source/bin/targets/x86/64/packages/perf_4.4.74-2_x86_64.ipk
rm -f /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/stamp/.perf_installed
rm -f /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/packages/perf.list /home/stijn/Development/LEDE/source/staging_dir/host/packages/perf.list
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/devel/perf'
make[1]: Leaving directory '/home/stijn/Development/LEDE/source'
make[1]: Entering directory '/home/stijn/Development/LEDE/source'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/libs/toolchain'
echo "libc" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
echo "libgcc" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
echo "libstdcpp" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
echo "libpthread" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
echo "librt" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/libs/toolchain'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/libs/zlib'
echo "zlib" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/zlib.default.install
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/libs/zlib'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/libs/gettext'
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/libs/gettext'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/libs/libiconv'
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/libs/libiconv'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/devel/binutils'
echo "libbfd" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/binutils.default.install
echo "libopcodes" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/binutils.default.install
echo "objdump" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/binutils.default.install
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/devel/binutils'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/utils/bzip2'
echo "libbz2" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/bzip2.default.install
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/utils/bzip2'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/libs/argp-standalone'
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/libs/argp-standalone'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/libs/elfutils'
echo "libdw" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/elfutils.default.install
echo "libelf1" >> /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/pkginfo/elfutils.default.install
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/libs/elfutils'
make[2]: Entering directory '/home/stijn/Development/LEDE/source/package/devel/perf'
touch /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/.prepared_b5b87dd2e8f7ab9635c0cd3762fb0d45_6664517399ebbbc92a37c5bb081b5c53_check
cp -fpR /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/* /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/
touch /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/.prepared_b5b87dd2e8f7ab9635c0cd3762fb0d45_6664517399ebbbc92a37c5bb081b5c53
rm -f /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/stamp/.perf_installed
(cd /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/./; if [ -x ./configure ]; then find /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/ -name config.guess | xargs -r chmod u+w; find /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/ -name config.guess | xargs -r -n1 cp --remove-destination /home/stijn/Development/LEDE/source/scripts/config.guess; find /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/ -name config.sub | xargs -r chmod u+w; find /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/ -name config.sub | xargs -r -n1 cp --remove-destination /home/stijn/Development/LEDE/source/scripts/config.sub; AR="x86_64-openwrt-linux-musl-gcc-ar" AS="x86_64-openwrt-linux-musl-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl:perf-target-x86_64_musl -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro" LD=x86_64-openwrt-linux-musl-ld NM="x86_64-openwrt-linux-musl-gcc-nm" CC="x86_64-openwrt-linux-musl-gcc" GCC="x86_64-openwrt-linux-musl-gcc" CXX="x86_64-openwrt-linux-musl-g++" RANLIB="x86_64-openwrt-linux-musl-gcc-ranlib" STRIP=x86_64-openwrt-linux-musl-strip OBJCOPY=x86_64-openwrt-linux-musl-objcopy OBJDUMP=x86_64-openwrt-linux-musl-objdump SIZE=x86_64-openwrt-linux-musl-size CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl:perf-target-x86_64_musl -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro " CXXFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl:perf-target-x86_64_musl -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro " CPPFLAGS="-I/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/usr/include -I/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/include -I/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/usr/include -I/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/fortify -I/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include " LDFLAGS="-L/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/usr/lib -L/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/lib -L/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/usr/lib -L/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/lib -znow -zrelro "   ./configure --target=x86_64-openwrt-linux --host=x86_64-openwrt-linux --build=x86_64-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls  ; fi; )
rm -f /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/.configured_*
touch /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/.configured_68b329da9893e34099c7d8ad5cb9c940
rm -f /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/.built
touch /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/.built_check
ARCH="x86" NO_LIBPERL=1 NO_LIBPYTHON=1 NO_NEWT=1 NO_LZMA=1 NO_BACKTRACE=1 NO_LIBNUMA=1 NO_GTK2=1 NO_LIBAUDIT=1 NO_LIBCRYPTO=1 NO_LIBUNWIND=1 CROSS_COMPILE="x86_64-openwrt-linux-musl-" CC="x86_64-openwrt-linux-musl-gcc" LD="x86_64-openwrt-linux-musl-ld" CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl:perf-target-x86_64_musl -Wformat -Werror=format-security -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -I/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/usr/include -I/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/include -I/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/usr/include -I/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/fortify -I/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include" LDFLAGS="-L/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/usr/lib -L/home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl/lib -L/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/usr/lib -L/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/lib -znow -zrelro" V='' WERROR=0 prefix=/usr make  -C /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl -f Makefile.perf --no-print-directory

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

Makefile.config:360: No sys/sdt.h found, no SDT events are defined, please install systemtap-sdt-devel or systemtap-sdt-dev
Makefile.config:569: Python support disabled by user
  PERF_VERSION = 4.9.34
  GEN      common-cmds.h
Warning: x86_64's syscall_64.tbl differs from kernel
  CC       util/alias.o
In file included from util/alias.c:2:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/../ui/ui.h:4,
                 from util/cache.h:6,
                 from util/alias.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/annotate.o
  CC       util/block-range.o
In file included from util/symbol.h:16:0,
                 from util/block-range.h:4,
                 from util/block-range.c:1:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/block-range.h:4,
                 from util/block-range.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/build-id.o
  CC       util/config.o
  CC       util/ctype.o
  CC       util/db-export.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/db-export.c:18:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/evsel.h:10,
                 from util/db-export.c:18:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/env.o
In file included from util/env.c:3:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/event.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/debug.h:7,
                 from util/cpumap.h:9,
                 from util/env.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/event.o
In file included from util/symbol.h:16:0,
                 from util/callchain.h:9,
                 from util/hist.h:6,
                 from util/event.c:6:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/event.c:4:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/evlist.o
  CC       util/evsel.o
In file included from util/symbol.h:16:0,
                 from util/callchain.h:9,
                 from util/evsel.c:19:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/callchain.h:7,
                 from util/evsel.c:19:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/evsel_fprintf.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evsel_fprintf.c:4:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/evsel.h:10,
                 from util/evsel_fprintf.c:4:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/find_bit.o
  CC       util/kallsyms.o
  CC       util/levenshtein.o
  CC       util/llvm-utils.o
In file included from util/llvm-utils.c:13:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/debug.h:7,
                 from util/llvm-utils.c:10:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  BISON    util/parse-events-bison.c
  FLEX     util/parse-events-flex.c
  CC       util/parse-events.o
  CC       util/perf_regs.o
  CC       util/path.o
In file included from util/path.c:14:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/../ui/ui.h:4,
                 from util/cache.h:6,
                 from util/path.c:13:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/rbtree.o
  CC       util/libstring.o
  CC       util/bitmap.o
  CC       util/hweight.o
  CC       util/quote.o
  CC       util/strbuf.o
In file included from util/strbuf.c:2:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/debug.h:7,
                 from util/strbuf.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/string.o
  CC       util/strlist.o
  CC       util/strfilter.o
  CC       util/top.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evlist.h:10,
                 from util/top.c:11:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/event.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/debug.h:7,
                 from util/cpumap.h:9,
                 from util/top.c:9:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/usage.o
  CC       util/dso.o
In file included from util/symbol.h:16:0,
                 from util/dso.c:4:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/dso.c:4:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/symbol.o
In file included from util/symbol.h:16:0,
                 from util/annotate.h:7,
                 from util/symbol.c:12:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/annotate.h:7,
                 from util/symbol.c:12:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/symbol_fprintf.o
In file included from util/symbol.h:16:0,
                 from util/symbol_fprintf.c:5:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/symbol_fprintf.c:5:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/color.o
  CC       util/header.o
  CC       util/callchain.o
In file included from util/symbol.h:16:0,
                 from util/callchain.h:9,
                 from util/hist.h:6,
                 from util/callchain.c:20:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/hist.h:5,
                 from util/callchain.c:20:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/values.o
  CC       util/debug.o
In file included from util/debug.c:15:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/../ui/ui.h:4,
                 from util/cache.h:6,
                 from util/debug.c:11:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/machine.o
In file included from util/symbol.h:16:0,
                 from util/callchain.h:9,
                 from util/machine.c:1:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/callchain.h:7,
                 from util/machine.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/map.o
In file included from util/symbol.h:16:0,
                 from util/map.c:1:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/map.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/pstack.o
  CC       util/session.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evlist.h:10,
                 from util/session.c:9:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/evlist.h:9,
                 from util/session.c:9:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/ordered-events.o
In file included from util/symbol.h:16:0,
                 from util/session.h:8,
                 from util/ordered-events.c:5:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/session.h:5,
                 from util/ordered-events.c:5:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/comm.o
  CC       util/thread.o
In file included from util/symbol.h:16:0,
                 from util/session.h:8,
                 from util/thread.c:5:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/session.h:5,
                 from util/thread.c:5:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/thread_map.o
  CC       util/trace-event-parse.o
  CC       util/parse-events-flex.o
  CC       util/parse-events-bison.o
  BISON    util/pmu-bison.c
  FLEX     util/pmu-flex.c
  CC       util/pmu.o
  CC       util/pmu-flex.o
  CC       util/pmu-bison.o
  CC       util/trace-event-read.o
In file included from util/trace-event-read.c:36:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/trace-event-read.c:30:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/trace-event-info.o
  CC       util/trace-event-scripting.o
  CC       util/trace-event.o
In file included from util/trace-event.c:16:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/machine.h:6,
                 from util/trace-event.c:15:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/svghelper.o
  CC       util/sort.o
  CC       util/hist.o
  CC       util/util.o
  CC       util/xyarray.o
  CC       util/cpumap.o
  CC       util/cgroup.o
  CC       util/target.o
  CC       util/rblist.o
  CC       util/intlist.o
  CC       util/vdso.o
  CC       util/counts.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/counts.c:2:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/evsel.h:10,
                 from util/counts.c:2:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/stat.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evlist.h:10,
                 from util/stat.c:3:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/evlist.h:9,
                 from util/stat.c:3:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/stat-shadow.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/stat-shadow.c:2:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/evsel.h:10,
                 from util/stat-shadow.c:2:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/record.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evlist.h:10,
                 from util/record.c:1:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/evlist.h:9,
                 from util/record.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/srcline.o
In file included from util/srcline.c:8:0:
/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/dso.h:9,
                 from util/srcline.c:7:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/data.o
  CC       util/tsc.o
  CC       util/cloexec.o
In file included from util/cloexec.c:2:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from util/cloexec.c:1:0:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/call-path.o
  CC       util/thread-stack.o
In file included from util/symbol.h:16:0,
                 from util/thread.h:9,
                 from util/thread-stack.c:18:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/thread.h:9,
                 from util/thread-stack.c:18:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/auxtrace.o
  CC       util/intel-pt-decoder/intel-pt-pkt-decoder.o
  GEN      util/intel-pt-decoder/inat-tables.c
  CC       util/intel-pt-decoder/intel-pt-insn-decoder.o
  CC       util/intel-pt-decoder/intel-pt-log.o
  CC       util/intel-pt-decoder/intel-pt-decoder.o
In file included from util/intel-pt-decoder/intel-pt-decoder.c:27:0:
util/intel-pt-decoder/../util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/intel-pt-decoder/../../ui/ui.h:4,
                 from util/intel-pt-decoder/../cache.h:6,
                 from util/intel-pt-decoder/intel-pt-decoder.c:26:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  LD       util/intel-pt-decoder/libperf-in.o
  LD       util/scripting-engines/libperf-in.o
  CC       util/intel-pt.o
In file included from util/symbol.h:16:0,
                 from util/session.h:8,
                 from util/intel-pt.c:23:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/session.h:5,
                 from util/intel-pt.c:23:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/intel-bts.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/intel-bts.c:25:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/event.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/debug.h:7,
                 from util/cpumap.h:9,
                 from util/intel-bts.c:23:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/parse-branch-options.o
  CC       util/parse-regs-options.o
  CC       util/term.o
  CC       util/help-unknown-cmd.o
In file included from util/../builtin.h:4:0,
                 from util/help-unknown-cmd.c:5:
util/../util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/../ui/ui.h:4,
                 from util/cache.h:6,
                 from util/help-unknown-cmd.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/mem-events.o
In file included from util/symbol.h:16:0,
                 from util/mem-events.c:11:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/debug.h:7,
                 from util/mem-events.c:10:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/vsprintf.o
  CC       util/drv_configs.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evlist.h:10,
                 from util/drv_configs.h:20,
                 from util/drv_configs.c:16:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/evlist.h:9,
                 from util/drv_configs.h:20,
                 from util/drv_configs.c:16:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/bpf-loader.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evlist.h:10,
                 from util/bpf-loader.h:13,
                 from util/bpf-loader.c:15:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/debug.h:7,
                 from util/bpf-loader.c:14:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/bpf-prologue.o
In file included from util/symbol.h:16:0,
                 from util/evsel.h:10,
                 from util/evlist.h:10,
                 from util/bpf-loader.h:13,
                 from util/bpf-prologue.c:12:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/debug.h:7,
                 from util/bpf-prologue.c:11:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/symbol-elf.o
In file included from util/symbol.h:16:0,
                 from util/symbol-elf.c:8:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/symbol.h:7,
                 from util/symbol-elf.c:8:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/probe-file.o
  CC       util/probe-event.o
  CC       util/probe-finder.o
In file included from util/probe-finder.c:39:0:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/probe-finder.c:35:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/dwarf-aux.o
  CC       util/dwarf-regs.o
  CC       util/unwind-libdw.o
In file included from util/symbol.h:16:0,
                 from util/unwind.h:6,
                 from util/unwind-libdw.c:7:
util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from util/map.h:8,
                 from util/event.h:8,
                 from util/debug.h:7,
                 from util/unwind-libdw.c:6:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       util/zlib.o
  CC       util/demangle-java.o
  CC       util/demangle-rust.o
  CC       util/jitdump.o
util/jitdump.c: In function 'jit_process':
util/jitdump.c:622:3: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
   fprintf(stderr, "injected: %s (%d)\n", path, ret);
   ^
util/jitdump.c:584:6: note: 'ret' was declared here
  int ret;
      ^
  CC       util/genelf.o
  CC       util/genelf_debug.o
  LD       util/libperf-in.o
  CC       arch/common.o
In file included from arch/common.c:4:0:
arch/../util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/event.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/debug.h:7,
                 from arch/../util/cpumap.h:9,
                 from arch/../util/env.h:5,
                 from arch/common.h:4,
                 from arch/common.c:3:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       arch/x86/util/header.o
  CC       arch/x86/util/tsc.o
  CC       arch/x86/util/pmu.o
In file included from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/symbol.h:16:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/evsel.h:10,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/pmu.h:7,
                 from arch/x86/util/pmu.c:7:
/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/symbol.h:7,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/evsel.h:10,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/pmu.h:7,
                 from arch/x86/util/pmu.c:7:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       arch/x86/util/kvm-stat.o
In file included from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/symbol.h:16:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/evsel.h:10,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/kvm-stat.h:5,
                 from arch/x86/util/kvm-stat.c:1:
/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/symbol.h:7,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/evsel.h:10,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/kvm-stat.h:5,
                 from arch/x86/util/kvm-stat.c:1:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       arch/x86/util/perf_regs.o
  CC       arch/x86/util/group.o
  CC       arch/x86/util/dwarf-regs.o
  CC       arch/x86/util/unwind-libdw.o
In file included from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/symbol.h:16:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/thread.h:9,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/unwind-libdw.h:6,
                 from arch/x86/util/unwind-libdw.c:2:
/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/event.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/unwind-libdw.h:5,
                 from arch/x86/util/unwind-libdw.c:2:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
  CC       arch/x86/util/auxtrace.o
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:12:0,
                 from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/asm/byteorder.h:4,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/include/uapi/linux/perf_event.h:19,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/header.h:4,
                 from arch/x86/util/auxtrace.c:18:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:160:8: error: unknown type name '__always_inline'
 static __always_inline __u16 __swab16p(const __u16 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:160:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__swab16p'
 static __always_inline __u16 __swab16p(const __u16 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:173:8: error: unknown type name '__always_inline'
 static __always_inline __u32 __swab32p(const __u32 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:173:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__swab32p'
 static __always_inline __u32 __swab32p(const __u32 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:186:8: error: unknown type name '__always_inline'
 static __always_inline __u64 __swab64p(const __u64 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:186:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__swab64p'
 static __always_inline __u64 __swab64p(const __u64 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:241:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
 static __always_inline void __swab32s(__u32 *p)
                        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/swab.h:254:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
 static __always_inline void __swab64s(__u64 *p)
                        ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/asm/byteorder.h:4:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/include/uapi/linux/perf_event.h:19,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/header.h:4,
                 from arch/x86/util/auxtrace.c:18:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:43:8: error: unknown type name '__always_inline'
 static __always_inline __le64 __cpu_to_le64p(const __u64 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:43:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_le64p'
 static __always_inline __le64 __cpu_to_le64p(const __u64 *p)
                               ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:47:8: error: unknown type name '__always_inline'
 static __always_inline __u64 __le64_to_cpup(const __le64 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:47:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le64_to_cpup'
 static __always_inline __u64 __le64_to_cpup(const __le64 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:51:8: error: unknown type name '__always_inline'
 static __always_inline __le32 __cpu_to_le32p(const __u32 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:51:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_le32p'
 static __always_inline __le32 __cpu_to_le32p(const __u32 *p)
                               ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:55:8: error: unknown type name '__always_inline'
 static __always_inline __u32 __le32_to_cpup(const __le32 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:55:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le32_to_cpup'
 static __always_inline __u32 __le32_to_cpup(const __le32 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:59:8: error: unknown type name '__always_inline'
 static __always_inline __le16 __cpu_to_le16p(const __u16 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:59:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_le16p'
 static __always_inline __le16 __cpu_to_le16p(const __u16 *p)
                               ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:63:8: error: unknown type name '__always_inline'
 static __always_inline __u16 __le16_to_cpup(const __le16 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:63:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le16_to_cpup'
 static __always_inline __u16 __le16_to_cpup(const __le16 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:67:8: error: unknown type name '__always_inline'
 static __always_inline __be64 __cpu_to_be64p(const __u64 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:67:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_be64p'
 static __always_inline __be64 __cpu_to_be64p(const __u64 *p)
                               ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:71:8: error: unknown type name '__always_inline'
 static __always_inline __u64 __be64_to_cpup(const __be64 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:71:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be64_to_cpup'
 static __always_inline __u64 __be64_to_cpup(const __be64 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:75:8: error: unknown type name '__always_inline'
 static __always_inline __be32 __cpu_to_be32p(const __u32 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:75:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_be32p'
 static __always_inline __be32 __cpu_to_be32p(const __u32 *p)
                               ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:79:8: error: unknown type name '__always_inline'
 static __always_inline __u32 __be32_to_cpup(const __be32 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:79:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be32_to_cpup'
 static __always_inline __u32 __be32_to_cpup(const __be32 *p)
                              ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:83:8: error: unknown type name '__always_inline'
 static __always_inline __be16 __cpu_to_be16p(const __u16 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:83:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_be16p'
 static __always_inline __be16 __cpu_to_be16p(const __u16 *p)
                               ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:87:8: error: unknown type name '__always_inline'
 static __always_inline __u16 __be16_to_cpup(const __be16 *p)
        ^
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/linux/byteorder/little_endian.h:87:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be16_to_cpup'
 static __always_inline __u16 __be16_to_cpup(const __be16 *p)
                              ^
In file included from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/symbol.h:16:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/evsel.h:10,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/pmu.h:7,
                 from arch/x86/util/auxtrace.c:20:
/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/util.h:360:12: warning: redundant redeclaration of 'sched_getcpu' [-Wredundant-decls]
 extern int sched_getcpu(void);
            ^
In file included from /home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/pthread.h:30:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/map.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/event.h:8,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf/util/include/../../util/header.h:9,
                 from arch/x86/util/auxtrace.c:18:
/home/stijn/Development/LEDE/source/staging_dir/toolchain-x86_64_gcc-5.4.0_musl/include/sched.h:80:5: note: previous declaration of 'sched_getcpu' was here
 int sched_getcpu(void);
     ^
mv: cannot stat 'arch/x86/util/.auxtrace.o.tmp': No such file or directory
make[7]: *** [/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/build/Makefile.build:92: arch/x86/util/auxtrace.o] Error 1
make[6]: *** [/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/build/Makefile.build:134: util] Error 2
make[5]: *** [/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/build/Makefile.build:134: x86] Error 2
make[4]: *** [/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/build/Makefile.build:134: arch] Error 2
make[3]: *** [Makefile.perf:559: libperf-in.o] Error 2
make[2]: *** [Makefile:85: /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/linux-x86_64/linux-4.9.34/tools/perf-target-x86_64_musl/.built] Error 2
make[2]: Leaving directory '/home/stijn/Development/LEDE/source/package/devel/perf'
make[1]: *** [package/Makefile:111: package/devel/perf/compile] Error 2
make[1]: Leaving directory '/home/stijn/Development/LEDE/source'
make: *** [/home/stijn/Development/LEDE/source/include/toplevel.mk:209: package/perf/compile] Error 2
15.07.2017908KernelBug ReportMediumLowx86: Xen support broken in 17.01.2 and laterlede-17.01Researching Task Description

Testing the x86/generic image with Xen 4.5:

  • 17.01.0: works
  • 17.01.1: works
  • 17.01.2: fails to boot
  • latest lede-17.01 r3466-f6907dcc79: fails to boot
  • latest trunk r4553-a89c36b: works

When the kernel fails to boot, xl prints this:

xc: error: elf_xen_note_check: ERROR: Will only load images built for the generic loader or Linux images (Not '' and ''): Invalid kernel
libxl: error: libxl_dom.c:414:libxl__build_pv: xc_dom_parse_image failed: No such file or directory
libxl: error: libxl_create.c:1024:domcreate_rebuild_done: cannot (re-)build domain: -3

It means that the kernel image has no Xen support (or there is an issue with the support).

Given the changes between 17.01.1 and 17.01.2, I think the patch adding PAE support may be responsible.

This was first reported in FS#787.

16.08.2017966Base systemBug ReportMediumLowar71xx: images are not named to their board_namesTrunkNew Task Description

Create an image using the imagebuilder (e.g. ar71xx/generic)

- make PROFILE=ubnt-loco-m-xw image
- the resulting image is than named lede-ar71xx-generic-ubnt-loco-m-xw-squashfs-factory.bin
- but looking into /tmp/sysinfo/board_name it’s called “loco-m-xw”

original reporter: aparcar
Additional reference: https://github.com/aparcar/gsoc17-attended-sysupgrade/issues/26#issuecomment-321918497

24.10.20171107PackagesBug ReportMediumLowiperf fails to build on aarch64 with "g++-uc: command n...TrunkWaiting on reporter Task Description

iperf fails to build with latest trunk (r5128-15e8e5d7d4):

configure: WARNING: unrecognized options: --disable-nls
configure: loading site script /home/bjonglez/lede/include/site/aarch64
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for aarch64-openwrt-linux-strip... aarch64-openwrt-linux-musl-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether the C++ compiler works... no
configure: error: in `/home/bjonglez/lede/build_dir/target-aarch64_cortex-a53_musl/iperf-2.0.10':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
Makefile:51: recipe for target '/home/bjonglez/lede/build_dir/target-aarch64_cortex-a53_musl/iperf-2.0.10/.configured_68b329da9893e34099c7d8ad5cb9c940' failed
make[3]: *** [/home/bjonglez/lede/build_dir/target-aarch64_cortex-a53_musl/iperf-2.0.10/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 77
make[3]: Leaving directory '/home/bjonglez/lede/package/network/utils/iperf'
package/Makefile:109: recipe for target 'package/network/utils/iperf/compile' failed
make[2]: *** [package/network/utils/iperf/compile] Error 2
make[2]: Leaving directory '/home/bjonglez/lede'
package/Makefile:105: recipe for target '/home/bjonglez/lede/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile' failed
make[1]: *** [/home/bjonglez/lede/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/bjonglez/lede'
/home/bjonglez/lede/include/toplevel.mk:207: recipe for target 'world' failed

config.log is full of the following:

./configure: line 3407: g++-uc: command not found

I suspect that iperf is just missing a dependency to package/libs/uclibc++/install, but I couldn’t find out how to add the dependency.

Here is my diffconfig:

CONFIG_TARGET_sunxi=y              
CONFIG_TARGET_sunxi_cortexa53=y    
CONFIG_TARGET_sunxi_cortexa53_Default=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_OPENVPN_mbedtls_ENABLE_DEF_AUTH=y
CONFIG_OPENVPN_mbedtls_ENABLE_FRAGMENT=y
CONFIG_OPENVPN_mbedtls_ENABLE_HTTP=y
CONFIG_OPENVPN_mbedtls_ENABLE_LZ4=y
CONFIG_OPENVPN_mbedtls_ENABLE_LZO=y
CONFIG_OPENVPN_mbedtls_ENABLE_MULTIHOME=y
CONFIG_OPENVPN_mbedtls_ENABLE_PF=y
CONFIG_OPENVPN_mbedtls_ENABLE_PORT_SHARE=y
CONFIG_OPENVPN_mbedtls_ENABLE_SERVER=y
CONFIG_OPENVPN_mbedtls_ENABLE_SMALL=y
CONFIG_OPENVPN_mbedtls_ENABLE_SOCKS=y
CONFIG_OPENVPN_nossl_ENABLE_DEF_AUTH=y
CONFIG_OPENVPN_nossl_ENABLE_FRAGMENT=y
CONFIG_OPENVPN_nossl_ENABLE_HTTP=y
CONFIG_OPENVPN_nossl_ENABLE_LZ4=y
CONFIG_OPENVPN_nossl_ENABLE_LZO=y
CONFIG_OPENVPN_nossl_ENABLE_MULTIHOME=y
CONFIG_OPENVPN_nossl_ENABLE_PF=y
CONFIG_OPENVPN_nossl_ENABLE_PORT_SHARE=y
CONFIG_OPENVPN_nossl_ENABLE_SERVER=y
CONFIG_OPENVPN_nossl_ENABLE_SMALL=y
CONFIG_OPENVPN_nossl_ENABLE_SOCKS=y
CONFIG_OPENVPN_openssl_ENABLE_DEF_AUTH=y
CONFIG_OPENVPN_openssl_ENABLE_FRAGMENT=y
CONFIG_OPENVPN_openssl_ENABLE_HTTP=y
CONFIG_OPENVPN_openssl_ENABLE_LZ4=y
CONFIG_OPENVPN_openssl_ENABLE_LZO=y
CONFIG_OPENVPN_openssl_ENABLE_MULTIHOME=y
CONFIG_OPENVPN_openssl_ENABLE_PF=y
CONFIG_OPENVPN_openssl_ENABLE_PORT_SHARE=y
CONFIG_OPENVPN_openssl_ENABLE_SERVER=y
CONFIG_OPENVPN_openssl_ENABLE_SMALL=y
CONFIG_OPENVPN_openssl_ENABLE_SOCKS=y
CONFIG_PACKAGE_bmon=m
CONFIG_PACKAGE_confuse=m
CONFIG_PACKAGE_htop=m
CONFIG_PACKAGE_iftop=m
CONFIG_PACKAGE_iperf=m
CONFIG_PACKAGE_iperf3=m
CONFIG_PACKAGE_kmod-mii=y
CONFIG_PACKAGE_kmod-tun=m
CONFIG_PACKAGE_kmod-udptunnel4=m
CONFIG_PACKAGE_kmod-udptunnel6=m
CONFIG_PACKAGE_kmod-usb-net=y
CONFIG_PACKAGE_kmod-usb-net-asix=y
CONFIG_PACKAGE_kmod-wireguard=m
CONFIG_PACKAGE_liblzo=m
CONFIG_PACKAGE_libmbedtls=m
CONFIG_PACKAGE_libmnl=m
CONFIG_PACKAGE_libncurses=m
CONFIG_PACKAGE_libnl-core=m
CONFIG_PACKAGE_libnl-route=m
CONFIG_PACKAGE_libopenssl=m
CONFIG_PACKAGE_libpcap=m
CONFIG_PACKAGE_openvpn-mbedtls=m
CONFIG_PACKAGE_openvpn-nossl=m
CONFIG_PACKAGE_openvpn-openssl=m
CONFIG_PACKAGE_terminfo=m
CONFIG_PACKAGE_uclibcxx=m
CONFIG_PACKAGE_wireguard=m
CONFIG_PACKAGE_wireguard-tools=m
20.04.20181509Base systemBug ReportMediumLowomcproxy no longer buildsTrunkNew Task Description

OpenWrt master r6735-1a89547957

make[6]: Entering directory '/home/build/lede/build_dir/target-x86_64_musl/omcproxy-2017-02-14-1fe6f48f'
[ 11%] Building C object CMakeFiles/omcproxy.dir/src/mrib.c.o
In file included from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/omcproxy-2017-02-14-1fe6f48f/src/omcproxy.h:51:0,
                 from /home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/omcproxy-2017-02-14-1fe6f48f/src/mrib.c:39:
/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/omcproxy-2017-02-14-1fe6f48f/src/mrib.c:57:34: error: braced-group within expression allowed only inside a function
 static uint32_t ipv4_rtr_alert = cpu_to_be32(0x94040000);
                                  ^
cc1: warning: unrecognized command line option '-Wno-gnu'
25.02.2017555KernelBug ReportLowLowmac80211/ath9k warning: Rate marked as an HT rate but p...lede-17.01New Task Description

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

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

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


27.08.2017981KernelBug ReportLowLowarc770: build failure: xtables-addons fails to build LU...lede-17.01New Task Description

While test-building all architectures on latest lede-17.01 (https://git.lede-project.org/dc8392f6a) with CONFIG_ALL_KMODS=y, I bumped on this build failure for arc770:

make[7]: Entering directory '/home/bjonglez/lede-17.01/build_dir/target-arc_arc700_uClibc-1.0.14/linux-arc770_generic/linux-4.4.83'
  CC [M]  /home/bjonglez/lede-17.01/build_dir/target-arc_arc700_uClibc-1.0.14/linux-arc770_generic/xtables-addons-2.11/extensions/LUA/lua/llex.o
In file included from <command-line>:0:0:
/home/bjonglez/lede-17.01/build_dir/target-arc_arc700_uClibc-1.0.14/linux-arc770_generic/xtables-addons-2.11/extensions/LUA/lua/llex.c: In function 'inclinenumber':
././arch/arc/include/asm/current.h:20:17: error: expected identifier before '(' token
 #define current (curr_arc)
                 ^
/home/bjonglez/lede-17.01/build_dir/target-arc_arc700_uClibc-1.0.14/linux-arc770_generic/xtables-addons-2.11/extensions/LUA/lua/llex.c:127:17: note: in expansion of macro 'current'
   int old = ls->current;
                 ^
././arch/arc/include/asm/current.h:20:17: error: expected identifier before '(' token
 #define current (curr_arc)
                 ^
/home/bjonglez/lede-17.01/build_dir/target-arc_arc700_uClibc-1.0.14/linux-arc770_generic/xtables-addons-2.11/extensions/LUA/lua/llex.c:27:23: note: in expansion of macro 'current'
 #define next(ls) (ls->current = zgetc(ls->z))
                       ^
/home/bjonglez/lede-17.01/build_dir/target-arc_arc700_uClibc-1.0.14/linux-arc770_generic/xtables-addons-2.11/extensions/LUA/lua/llex.c:129:3: note: in expansion of macro 'next'
   next(ls);  /* skip `\n' or `\r' */
   ^

The failure is in the LUA extension to xtables-addons, and seems to be caused by a name collision with the following #define in arch/arc/include/asm/current.h in the kernel:

#define current (curr_arc)

I’m not sure this ever worked...

27.08.2017982Base systemBug ReportLowLowimx6: build failure: kmod-ath10k-ct is missing dependen...lede-17.01New Task Description

While test-building all architectures on latest lede-17.01 (https://git.lede-project.org/dc8392f6a) with CONFIG_ALL_KMODS=y, I bumped on this build failure for imx6:

find /home/bjonglez/lede-17.01/build_dir/target-arm_cortex-a9+neon_musl-1.1.16_eabi/linux-imx6/ath10k-ct-2017-01-26-d2bc84ff/ipkg-arm_cortex-a9_neon/kmod-ath10k-ct -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
Package kmod-ath10k-ct is missing dependencies for the following libraries:
hwmon.ko
Makefile:83: recipe for target '/home/bjonglez/lede-17.01/bin/targets/imx6/generic/packages/kmod-ath10k-ct_4.4.83+2017-01-26-d2bc84ff-1_arm_cortex-a9_neon.ipk' failed
make[3]: *** [/home/bjonglez/lede-17.01/bin/targets/imx6/generic/packages/kmod-ath10k-ct_4.4.83+2017-01-26-d2bc84ff-1_arm_cortex-a9_neon.ipk] Error 1
make[3]: Leaving directory '/home/bjonglez/lede-17.01/package/kernel/ath10k-ct'
package/Makefile:105: recipe for target 'package/kernel/ath10k-ct/compile' failed

It looks similar to  FS#226  that was fixed in https://git.lede-project.org/5f9598a but it seems that the fix was not enough for this target.

27.08.2017983Base systemBug ReportLowLowuml: build failure: module mwifiex_sdio.ko is missinglede-17.01New Task Description

While test-building all architectures on latest lede-17.01 (https://git.lede-project.org/dc8392f6a) with CONFIG_ALL_KMODS=y, I bumped on this build failure for uml:

if [ -f /home/bjonglez/lede-17.01/staging_dir/target-x86_64_musl-1.1.16/pkginfo/mac80211.default.install.clean ]; then rm -f /home/bjonglez/lede-17.01/staging_dir/target-x86_64_musl-1.1.16/pkginfo/mac80211.default.install /home/bjonglez/lede-17.01/staging_dir/target-x86_64_musl-1.1.16/pkginfo/mac80211.default.install.clean; fi
mkdir -p /home/bjonglez/lede-17.01/bin/targets/uml/generic/packages /home/bjonglez/lede-17.01/build_dir/target-x86_64_musl-1.1.16/linux-uml/compat-wireless-2017-01-31/ipkg-x86_64/kmod-mwifiex-sdio/CONTROL /home/bjonglez/lede-17.01/staging_dir/target-x86_64_musl-1.1.16/pkginfo
ERROR: module '/home/bjonglez/lede-17.01/build_dir/target-x86_64_musl-1.1.16/linux-uml/compat-wireless-2017-01-31/drivers/net/wireless/marvell/mwifiex/mwifiex_sdio.ko'
is missing.
Makefile:1814: recipe for target '/home/bjonglez/lede-17.01/bin/targets/uml/generic/packages/kmod-mwifiex-sdio_4.4.83+2017-01-31-2_x86_64.ipk' failed
make[3]: *** [/home/bjonglez/lede-17.01/bin/targets/uml/generic/packages/kmod-mwifiex-sdio_4.4.83+2017-01-31-2_x86_64.ipk] Error 1
make[3]: Leaving directory '/home/bjonglez/lede-17.01/package/kernel/mac80211'
package/Makefile:105: recipe for target 'package/kernel/mac80211/compile' failed
make[2]: *** [package/kernel/mac80211/compile] Error 2
27.08.2017984Base systemBug ReportLowLowmxs: build failure: u-boot 2016.01 fails to build with ...lede-17.01New Task Description

While test-building all architectures on latest lede-17.01 (https://git.lede-project.org/dc8392f6a) with CONFIG_ALL_KMODS=y, I bumped on this build failure for mxs:

make[3]: Entering directory '/home/bjonglez/lede-17.01/package/boot/uboot-mxs'     
make -C /home/bjonglez/lede-17.01/build_dir/target-arm_arm926ej-s_musl-1.1.16_eabi/u-boot-duckbill/u-boot-2016.01 CROSS_COMPILE=arm-openwrt-linux-muslgnueabi- u-boot.sb
make[4]: Entering directory '/home/bjonglez/lede-17.01/build_dir/target-arm_arm926ej-s_musl-1.1.16_eabi/u-boot-duckbill/u-boot-2016.01'
  CHK     include/config/uboot.release
  CHK     include/generated/version_autogenerated.h
  CHK     include/generated/timestamp_autogenerated.h
  CHK     include/generated/generic-asm-offsets.h
  CHK     include/generated/asm-offsets.h
  HOSTCC  tools/mxsimage.o
tools/mxsimage.c:147:19: error: field 'cipher_ctx' has incomplete type
  EVP_CIPHER_CTX   cipher_ctx;
                   ^~~~~~~~~~
tools/mxsimage.c:148:15: error: field 'md_ctx' has incomplete type
  EVP_MD_CTX   md_ctx;
               ^~~~~~
tools/mxsimage.c: In function 'sb_postfill_image_header':
tools/mxsimage.c:1325:13: error: storage size of 'md_ctx' isn't known
  EVP_MD_CTX md_ctx;
             ^~~~~~
tools/mxsimage.c:1325:13: warning: unused variable 'md_ctx' [-Wunused-variable]
tools/mxsimage.c: In function 'sb_verify_image_header':
tools/mxsimage.c:1624:13: error: storage size of 'md_ctx' isn't known
  EVP_MD_CTX md_ctx;
             ^~~~~~
tools/mxsimage.c:1624:13: warning: unused variable 'md_ctx' [-Wunused-variable]
scripts/Makefile.host:108: recipe for target 'tools/mxsimage.o' failed
make[5]: *** [tools/mxsimage.o] Error 1
Makefile:1211: recipe for target 'tools' failed
make[4]: *** [tools] Error 2
make[4]: Leaving directory '/home/bjonglez/lede-17.01/build_dir/target-arm_arm926ej-s_musl-1.1.16_eabi/u-boot-duckbill/u-boot-2016.01'
Makefile:93: recipe for target '/home/bjonglez/lede-17.01/build_dir/target-arm_arm926ej-s_musl-1.1.16_eabi/u-boot-duckbill/u-boot-2016.01/.built' failed
make[3]: *** [/home/bjonglez/lede-17.01/build_dir/target-arm_arm926ej-s_musl-1.1.16_eabi/u-boot-duckbill/u-boot-2016.01/.built] Error 2
make[3]: Leaving directory '/home/bjonglez/lede-17.01/package/boot/uboot-mxs'
package/Makefile:105: recipe for target 'package/boot/uboot-mxs/compile' failed
make[2]: *** [package/boot/uboot-mxs/compile] Error 2

It looks like an API issue with host OpenSSL 1.1, similar to  FS#182 

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.

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

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

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

Here is a trace of the crash (dmesg):

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

 


29.03.2017665Base systemBug ReportVery LowCriticalLede 17.01.0-r3205-59508e3 on Nucom 5010UN v2 acting as...lede-17.01Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Nucom 5010UN v2 (brcm63xx)
- Software versions of LEDE release, packages, etc.: Just download and install latest Lede build (lede-17.01.0-r3205-59508e3) for Nucom 5010UN v2 from https://downloads.lede-project.org/releases/17.01.0/targets/brcm63xx/generic/lede-17.01.0-r3205-59508e3-brcm63xx-generic-R5010UNv2-squashfs-cfe.bin - Steps to reproduce: Configure Nucom 5010UN v2 as Wireless Routed Client
- Bug: After one hour or two, the Wireless Routed Clients looses connection with the Router it is connected to. It means, connecting by ssh or Luci website on Wireless Routed Client and running “ping 192.168.1.1” where 192.168.1.1 is the router it is connected to returns 100% of packets loss, also, “ping google.com” doesn’t work. But logging into Luci website and navigating to Network → WiFi, in Wireless Overview it shows as the Wireless Client Routed router is connected to the main one but there’s no working connection between them, at least pings are not working on both sides. Restarting the router seems to fix the issue but after one or two hours of uptime, the issue arises again.

Note, the bug was first introduced on OpenWrt Chaos Calmer 15.05 as OpenWrt Barrier Breaker does not suffer from this bug.

The following is as more complete explanation:

Hi,

i’ve just installed latest Lede-Project build, version 17.01.0-r3205-59508e3, on a Nucom 5010UN V2 router and everything seemed to work fine until i noticed that it keeps loosing Internet/network connection. The router is configured as Wireless Routed Client and the firmware was downloaded from https://downloads.lede-project.org/releases/17.01.0/targets/brcm63xx/generic/lede-17.01.0-r3205-59508e3-brcm63xx-generic-R5010UNv2-squashfs-cfe.bin

Also note, i think it’s a common bug inherited from OpenWrt as i suffered the same exact bug on an ADB P.DG A4001N1 router running latest build of OpenWrt, Chaos Calmer 15.05 and also 15.05.1. Also note that after posting on OpenWrt forums more users complained about the same bug.

Also, i want to state that in OpenWrt, the issue can be workarounded by downgrading to Barrier Breaker 14.07 which means the bug was introduced on the next build or next commits.

Anyway, my current setup is on Nucom 5010UN v2 is Wireless Routed Client [https://wiki.openwrt.org/doc/howto/clientmode#routed] + Static Route [https://wiki.openwrt.org/doc/recipes/routedclient#usingrouting] so clients on Nucom (Client Router) can “see” hosts on ADSL router (acting as AP).

I performed a clean install by resetting my custom configuration and the update went fine, but after reconfiguring the router as Wireless Routed Client it always happens that after being operating as Wifi Routed Client for about 2 hours suddenly it loses Internet connection/connection to AP. I say Internet connection because running a ping to google.com from ssh within inside the router doesn’t work but if i check through LUCI Network→Wifi it shows the router Wifi is still connected to the main ADSL router.

Here’s [https://forum.openwrt.org/viewtopic.php?pid=355180#p355180] a post on OpwnWrt site where i exposed the same issue for an ADB P.DG A4001N1 router and some other users replied complaining about the same issue.

These are the files modified by me through LUCI when configuring the routed as Wireless Routed Client, as i’ve been entirely configuring the router through LUCI except for the Static Route [https://wiki.openwrt.org/doc/recipes/routedclient#usingrouting] where i followed the indications on the link:
ddns
dhcp
dropbear
firewall
fstab
luci
network
rpcd
system
ucitrack
uh_t_tpd (I had to add underscores because of the buggy URL detection of the forum)
wireless

This is dhcp and dnmasq config:
cat etc config dhcp
config dnsmasq

      option domainneeded '1'
      option boguspriv '1'
      option localise_queries '1'
      option rebind_protection '1'
      option rebind_localhost '1'
      option local '/lan/'
      option domain 'lan'
      option expandhosts '1'
      option readethers '1'
      option leasefile '/tmp/dhcp.leases'
      option resolvfile '/tmp/resolv.conf.auto'
      option localservice '1'

config dhcp ‘lan’

      option interface 'lan'
      option dhcpv6 'server'
      option ra 'server'
      option ra_management '1'
      option start '100'
      option limit '150'
      option leasetime '12h'

config dhcp ‘wan’

      option interface 'wan'
      option ignore '1'

config odhcpd ‘odhcpd’

      option maindhcp '0'
      option leasefile '/tmp/hosts/odhcpd'
      option leasetrigger '/usr/sbin/odhcpd-update'

config host

      option name 'Host1'
      option mac 'XX:XX:XX:XX:XX:XY'
      option ip '192.168.2.2'

config host

      option name 'Host2'
      option mac 'XX:XX:XX:XX:XX:XZ'
      option ip '192.168.2.3'

config host

      option name 'ClientRouter'
      option mac 'XX:XX:XX:XX:XX:XX'
      option ip '192.168.2.92'

This is network:
cat etc config network
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 'fd05:6cbe:d307::/48'

config interface ‘lan’

      option force_link '1'
      option type 'bridge'
      option proto 'static'
      option netmask '255.255.255.0'
      option ip6assign '60'
      option _orig_ifname 'eth0.1'
      option _orig_bridge 'true'
      option ipaddr '192.168.2.1'
      option dns '8.8.8.8'
      option ifname 'eth0.1'

config switch

      option name 'eth0'
      option reset '1'
      option enable_vlan '1'

config switch_vlan

      option device 'eth0'
      option vlan '1'
      option ports '0 1 2 3 8t'

config interface ‘wwan’

      option proto 'dhcp'

This is wireless:
cat etc config wireless
config wifi-device ‘radio0’

      option type 'mac80211'
      option hwmode '11g'
      option path 'pci0000:00/0000:00:00.0/0000:01:00.0/bcma0:1'
      option disabled '0'
      option channel '13'
      option txpower '20'
      option country 'ES'

config wifi-device ‘radio1’

      option type 'mac80211'
      option path 'platform/ehci-platform/usb1/1-1/1-1:1.0'
      option txpower '20'
      option country 'ES'
      option hwmode '11a'
      option channel 'auto'

config wifi-iface

      option ssid 'MainADSLSSID'
      option device 'radio0'
      option mode 'sta'
      option bssid 'XX:XX:XX:XX:XX:YY'
      option key 'WiFiPassword'
      option encryption 'psk-mixed'
      option network 'wwan lan'
 


10.04.2017698Base systemBug ReportVery LowCriticalNexx WT3020F wifi packet loss problemlede-17.01Unconfirmed Task Description

I have two this devices. I try to figure out which is the ideal firmware for it so I tested it with a few. I tested it with OpenWRT 15.05.1, LEDE 17.01.0 and Gargoyle 1.9.1/1.9.2. But I found a common issue. The device lose packets via wifi. Tested with several clients/devices. No matter what configuration I use. No problem on LAN but on wifi it lose a bunch of packets. Maybe it’s a driver issue? Would be good to figure out.

i.imgur.comqpycapq.jpg

I also noticed that the latency is unstable on wifi. I guess it’s also a related with this issue. Should I open another ticket for it?

11.05.2017775Base systemBug ReportVery LowCriticalflashing kirkwood u-boot page not aligned [Zyxel NSA-32...TrunkUnconfirmed Task Description

[code]/e-data/4089-AD8E/tools # flash_erase /dev/mtd0 0 4
Erasing 128 Kibyte @ 60000 – 100 % complete[/code]

now when I flash the LEDE uboot I get this

[code]/e-data/4089-AD8E # nandwrite /dev/mtd0 kirkwood/generic/u-boot-nsa325/u-boot.kwb
Input file is not page aligned Data did not fit into device, due to bad blocks
: Success[/code]

the expected should be
[code]/ # nandwrite /dev/mtd0 /e-data/4089-AD8E/uboot.2016.05-tld-1.nsa325.mtd0.kwb
Writing data to block 0 at offset 0×0 Writing data to block 1 at offset 0×20000 Writing data to block 2 at offset 0×40000 Writing data to block 3 at offset 0×60000[/code]

now I can’t even turn off my device. Hopeful to be resolve asap.

24.05.2017801Base systemBug ReportVery LowCriticalR7800 wifi crashingTrunkUnconfirmed Task Description

- Device problem occurs on: Netgear Nighthawk X4S R7800
- Software versions of LEDE release, packages, etc.: LEDE Reboot SNAPSHOT r4173-5d48dc1146 / LuCI Master (git-17.141.68918-5ca3864)
- Steps to reproduce
Boot device, wait for it to crash within 24hours

The paste ending in Hn was recorder after wifi stopped working and i turned wifi off and on.
The paste ending in Wu happend about 30 minutes after that and could only be resolved by rebooting the device.

 


02.06.2017823KernelBug ReportVery LowCriticalUSB WIFI dongle TP-LINK TP-WN726N 1.0(rt8188eus) cannot...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on Raspberry Pi 3 Model B Rev 1.2, TP-LINK TP-WN726N 1.0(rt8188eus) USB WIFI dongle
- Software versions of LEDE release, r4297-1893b56 / LuCI Master (git-17.152.36261-b6dd992)
- Steps to reproduce:

 1. Compile rom with rt8xxxu driver and firmware.
 2. Insert TP-LINK TP-WN726N 1.0(rt8188eus) USB WIFI dongle
 3. Boot the system, log is attached.
 4. Type command "cat /ect/config/wireless" in console, TP-WN726N info is listed.
 5. Type command "ifconfig" in console, observe that TP-WN726N is not listed.
 6. Go to Luci web management tool, observe that TP-WN726N is listed, without signal strength. 

- More info:

 TP-LINK TP-WN726N 1.0(rt8188eus) USB WIFI dongle is tested on PC with Ubuntu 16.04, works fine.
27.06.2017872Base systemBug ReportVery LowCriticalRelease image will brick Archer C7 v1.1 lede-17.01Unconfirmed Task Description

- Device problem occurs on: TP-Link Archer C7 v1.1
- Software versions of LEDE release, packages, etc: https://downloads.lede-project.org/releases/17.01.2/targets/ar71xx/generic/lede-17.01.2-ar71xx-generic-archer-c7-v1-squashfs-factory.bin - Steps to reproduce: trying to re-flash router with lede-17.01.2-ar71xx-generic-archer-c7-v1-squashfs-factory.bin image will result in bricked router stuck in reboot loop. I tried flashing from both factory image (from factory firmware) and sysupgrade image (from OpenWRT using both SSH and web interface). Both images result in bricked router.

Unbricking was done by forcing router into failsafe mode, SSH:in into it and uploading/flashing old firmware via NC from a PC.

I suggest pulling this image from a list of supported images for Archer C7 v1.1, until issues have been solved. Otherwise, it might result in bricked equipment.

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

Ubiquiti AirGateway and Bullet M2
LEDE 17.01.2
Lighttpd
PHP7

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

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

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

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

root@BlueWave:~# free

           total       used       free     shared    buffers     cached

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

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


18.10.20171074Base systemBug ReportVery LowCriticalNETDEV WATCHDOG: wlan2 (mwifiex_sdio): transmit queue 1...TrunkUnconfirmed Task Description

- Device problem occurs on: WRT3200ACM
- Software versions of LEDE release, packages, etc.: LEDE Reboot SNAPSHOT r5096-a29848c / LuCI Master (git-17.260.43176-678c15c)
- Steps to reproduce: I’ve been consistently having problems with wlan2 going offline after the router has been up for a day or so, but just stumbled across this in dmesg. I’ll see if I can figure out the circumstances leading to it.

 

[85338.316517] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:316 dev_watchdog+0x1b4/0×234 [85338.324820] NETDEV WATCHDOG: wlan2 (mwifiex_sdio): transmit queue 1 timed out
[85338.331987] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE 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_DSCP xt_CLASSIFY slhc rfcomm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack mwifiex_sdio mwifiex iptable_mangle iptable_filter ipt_ECN ip_tables hidp hci_uart crc_ccitt btusb btmrvl_sdio btmrvl btintel bnep bluetooth hid evdev input_core mwlwifi mac80211 cfg80211 compat xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport
[85338.404541] ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun regmap_mmio ecb cmac uhci_hcd ohci_platform ohci_hcd gpio_button_hotplug
[85338.442106] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.9.54 #0
[85338.448049] Hardware name: Marvell Armada 380/385 (Device Tree)
[85338.454003] [<c0016010>] (unwind_backtrace) from [<c0012220>] (show_stack+0×10/0×14)
[85338.461782] [<c0012220>] (show_stack) from [<c020c1a0>] (dump_stack+0x7c/0x9c)
[85338.469036] [<c020c1a0>] (dump_stack) from [<c0029218>] (warn+0xbc/0xec)
[85338.475939] [<c0029218>] (
warn) from [<c002927c>] (warn_slowpath_fmt+0×34/0×44)
[85338.483455] [<c002927c>] (warn_slowpath_fmt) from [<c03b6c38>] (dev_watchdog+0x1b4/0×234)
[85338.491661] [<c03b6c38>] (dev_watchdog) from [<c006ffe8>] (call_timer_fn+0×20/0×94)
[85338.499349] [<c006ffe8>] (call_timer_fn) from [<c0070220>] (run_timer_softirq+0x1c4/0×200)
[85338.507650] [<c0070220>] (run_timer_softirq) from [<c002d2b4>] (do_softirq+0xd0/0×204)
[85338.515775] [<c002d2b4>] (
do_softirq) from [<c002d66c>] (irq_exit+0×94/0xb8)
[85338.523029] [<c002d66c>] (irq_exit) from [<c0061e04>] (handle_domain_irq+0×90/0xb4)
[85338.530892] [<c0061e04>] (
handle_domain_irq) from [<c0009428>] (gic_handle_irq+0×50/0×94)
[85338.539277] [<c0009428>] (gic_handle_irq) from [<c0012c8c>] (irq_svc+0x6c/0×90)
[85338.546789] Exception stack(0xdf475f90 to 0xdf475fd8)
[85338.551860] 5f80: 00000001 00000000 00000000 c001b1c0
[85338.560071] 5fa0: 00000000 df474000 c0604fe4 00000002 c05ff168 00000000 df475fe8 00000001
[85338.568282] 5fc0: 00000000 df475fe0 c000f808 c000f80c 60000013 ffffffff
[85338.574925] [<c0012c8c>] (
irq_svc) from [<c000f80c>] (arch_cpu_idle+0x2c/0×38)
[85338.582355] [<c000f80c>] (arch_cpu_idle) from [<c005b154>] (cpu_startup_entry+0xf0/0x19c)
[85338.590567] [<c005b154>] (cpu_startup_entry) from [<000095ac>] (0x95ac)
[85338.597214] —[ end trace 7ee504210e2aead0 ]— [85338.601865] mwifiex_sdio mmc0:0001:1: 8504333 : Tx timeout(#1), bss_type-num = 1-0
[85344.871433] mwifiex_sdio mmc0:0001:1: 8504960 : Tx timeout(#2), bss_type-num = 1-0
[85350.631045] mwifiex_sdio mmc0:0001:1: 8505536 : Tx timeout(#3), bss_type-num = 1-0
[85356.400657] mwifiex_sdio mmc0:0001:1: 8506113 : Tx timeout(#4), bss_type-num = 1-0
[85366.309996] mwifiex_sdio mmc0:0001:1: 8507104 : Tx timeout(#5), bss_type-num = 1-0
[85376.309327] mwifiex_sdio mmc0:0001:1: 8508104 : Tx timeout(#6), bss_type-num = 1-0
[85386.318652] mwifiex_sdio mmc0:0001:1: 8509105 : Tx timeout(#7), bss_type-num = 1-0
[85386.326257] mwifiex_sdio mmc0:0001:1: tx_timeout_cnt exceeds threshold. Triggering card reset!
[85386.356950] mwifiex_sdio mmc0:0001:1: info: shutdown mwifiex...
[85386.362967] mwifiex_sdio mmc0:0001:1: PREP_CMD: card is removed
[85386.368924] mwifiex_sdio mmc0:0001:1: Failed to delete mgmt IEs!
[85386.374978] mwifiex_sdio mmc0:0001:1: PREP_CMD: card is removed
[85386.380928] mwifiex_sdio mmc0:0001:1: Failed to stop the BSS
[85386.387009] br-lan: port 4(wlan2) entered disabled state
[85386.394495] device wlan2 left promiscuous mode
[85386.398975] br-lan: port 4(wlan2) entered disabled state
[85386.404593] mwifiex_sdio mmc0:0001:1: PREP_CMD: card is removed
[85386.410562] mwifiex_sdio mmc0:0001:1: PREP_CMD: card is removed
[85386.416507] mwifiex_sdio mmc0:0001:1: PREP_CMD: card is removed
[85386.603147] mwifiex_sdio mmc0:0001:1: WLAN FW already running! Skip FW dnld
[85386.610161] mwifiex_sdio mmc0:0001:1: WLAN FW is active
[85396.707953] mwifiex_sdio mmc0:0001:1: mwifiex_cmd_timeout_func: Timeout cmd id = 0xa9, act = 0×0 [85396.716787] mwifiex_sdio mmc0:0001:1: num_data_h2c_failure = 0
[85396.722652] mwifiex_sdio mmc0:0001:1: num_cmd_h2c_failure = 0
[85396.728423] mwifiex_sdio mmc0:0001:1: is_cmd_timedout = 1
[85396.733842] mwifiex_sdio mmc0:0001:1: num_tx_timeout = 0
[85396.739178] mwifiex_sdio mmc0:0001:1: last_cmd_index = 3
[85396.744512] mwifiex_sdio mmc0:0001:1: last_cmd_id: b3 00 b3 00 b2 00 a9 00 b3 00
[85396.751940] mwifiex_sdio mmc0:0001:1: last_cmd_act: 00 00 00 00 00 00 00 00 00 00
[85396.759457] mwifiex_sdio mmc0:0001:1: last_cmd_resp_index = 2
[85396.765225] mwifiex_sdio mmc0:0001:1: last_cmd_resp_id: b3 80 b3 80 b2 80 b3 80 b3 80
[85396.773093] mwifiex_sdio mmc0:0001:1: last_event_index = 2
[85396.778603] mwifiex_sdio mmc0:0001:1: last_event: 37 00 55 00 43 00 55 00 55 00
[85396.785944] mwifiex_sdio mmc0:0001:1: data_sent=1 cmd_sent=1
[85396.791630] mwifiex_sdio mmc0:0001:1: ps_mode=0 ps_state=0
[85396.797372] mwifiex_sdio mmc0:0001:1: info: _mwifiex_fw_dpc: unregister device

19.10.20171083Base systemBug ReportVery LowCriticalar71xx Kernel 4.9 PPTP Passthrough not workingTrunkUnconfirmed Task Description

today i compiled for my TP-Link mr3420 v2 with Kerenl 4.9 by simply changing the KERNEL_PATCHVER:=4.4 to KERNEL_PATCHVER:=4.9 in target/linux/ar71xx/Makefile , everything works good so far except i am not able to connect to the VPN which was working good previously with 4.4 kernel compiled lede a week back.

19.10.20171085KernelBug ReportVery LowCriticalStreaming ieee80211 cmd timeouts followed by crashTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Linksys WRT3200ACM
- Software versions of LEDE release, packages, etc.: LEDE Reboot SNAPSHOT r5096-a29848c / LuCI Master (git-17.260.43176-678c15c)

Router had been up for less than 24 hours from last crash. Started streaming the following errors in syslog:

Thu Oct 19 16:50:41 2017 kern.err kernel: [82666.284359] ieee80211 phy0: cmd 0×9122=UpdateEncryption timed out
Thu Oct 19 16:50:41 2017 kern.err kernel: [82666.290490] ieee80211 phy0: return code: 0×1122 Thu Oct 19 16:50:41 2017 kern.err kernel: [82666.295069] ieee80211 phy0: timeout: 0×1122 Thu Oct 19 16:50:41 2017 kern.err kernel: [82666.299280] wlan0: failed to set key (0, e0:b5:2d:xx:xx:xx) to hardware (-5)
Thu Oct 19 16:50:41 2017 daemon.notice hostapd: wlan0: AP-STA-CONNECTED e0:b5:2d:xx:xx:xx
Thu Oct 19 16:50:45 2017 kern.err kernel: [82670.356504] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
Thu Oct 19 16:50:45 2017 kern.err kernel: [82670.362367] ieee80211 phy0: return code: 0x051d
Thu Oct 19 16:50:45 2017 kern.err kernel: [82670.366924] ieee80211 phy0: timeout: 0x001d
Thu Oct 19 16:50:49 2017 kern.err kernel: [82674.372313] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
Thu Oct 19 16:50:49 2017 kern.err kernel: [82674.378197] ieee80211 phy0: return code: 0x001d
Thu Oct 19 16:50:49 2017 kern.err kernel: [82674.382749] ieee80211 phy0: timeout: 0x001d

Interspersed with these messages were a few:
Thu Oct 19 16:52:43 2017 daemon.notice hostapd: nl80211: nl80211_recv_beacons→nl_recvmsgs failed: -5

These then started showing up:
Thu Oct 19 16:54:56 2017 daemon.notice netifd: wan6 (1414): Command failed: Request timed out

Then a handful of these:
Thu Oct 19 16:56:00 2017 kern.err kernel: [82985.426468] ieee80211 phy0: cmd 0×9143=GetSeqno timed out
Thu Oct 19 16:56:00 2017 kern.err kernel: [82985.431902] ieee80211 phy0: return code: 0×1143 Thu Oct 19 16:56:00 2017 kern.err kernel: [82985.436450] ieee80211 phy0: timeout: 0×1143

Followed by this, including a crash:
Thu Oct 19 16:56:36 2017 kern.err kernel: [83021.558164] wlan0: failed to remove key (0, 78:7e:61:xx:xx:xx) from hardware (-5)
Thu Oct 19 16:56:36 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED e0:b5:2d:2a:89:30
Thu Oct 19 16:56:36 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED dc:41:5f:b9:0d:ba
Thu Oct 19 16:56:40 2017 kern.err kernel: [83025.588715] ieee80211 phy0: cmd 0×9122=UpdateEncryption timed out
Thu Oct 19 16:56:40 2017 kern.err kernel: [83025.594898] ieee80211 phy0: return code: 0×1122 Thu Oct 19 16:56:40 2017 kern.err kernel: [83025.599463] ieee80211 phy0: timeout: 0×1122 Thu Oct 19 16:56:40 2017 kern.err kernel: [83025.603666] wlan0: failed to remove key (0, dc:41:5f:xx:xx:xx) from hardware (-5)
Thu Oct 19 16:56:44 2017 kern.err kernel: [83029.646987] ieee80211 phy0: cmd 0×9125=BAStream timed out
Thu Oct 19 16:56:44 2017 kern.err kernel: [83029.652419] ieee80211 phy0: return code: 0×1125 Thu Oct 19 16:56:44 2017 kern.err kernel: [83029.656973] ieee80211 phy0: timeout: 0×1125 Thu Oct 19 16:56:48 2017 kern.err kernel: [83033.654789] ieee80211 phy0: cmd 0×9125=BAStream timed out
Thu Oct 19 16:56:48 2017 kern.err kernel: [83033.660221] ieee80211 phy0: return code: 0×1125 Thu Oct 19 16:56:48 2017 kern.err kernel: [83033.664769] ieee80211 phy0: timeout: 0×1125 Thu Oct 19 16:56:52 2017 kern.err kernel: [83037.666085] ieee80211 phy0: cmd 0×9125=BAStream timed out
Thu Oct 19 16:56:52 2017 kern.err kernel: [83037.671519] ieee80211 phy0: return code: 0×1125 Thu Oct 19 16:56:52 2017 kern.err kernel: [83037.676066] ieee80211 phy0: timeout: 0×1125

Thu Oct 19 16:56:52 2017 kern.alert kernel: [83037.680345] Unable to handle kernel NULL pointer dereference at virtual address 0000000c
Thu Oct 19 16:56:52 2017 kern.alert kernel: [83037.688494] pgd = d303c000
Thu Oct 19 16:56:53 2017 kern.alert kernel: [83037.691221] [0000000c] *pgd=1369c831, *pte=00000000, *ppte=00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.697545] Internal error: Oops: 17 [#1] SMP ARM
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.702266] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE 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_DSCP xt_CLASSIFY slhc rfcomm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipvThu Oct 19 16:56:53 2017 kern.warn kernel: [83037.774820] ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun regmap_mmio ecb cmac uhci_hcd ohci_platform ohci_hcd gpio_button_hotplug
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.812372] CPU: 1 PID: 3044 Comm: hostapd Not tainted 4.9.54 #0
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.818403] Hardware name: Marvell Armada 380/385 (Device Tree)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.824346] task: df564e40 task.stack: d3718000
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.828909] PC is at mwl_fwcmd_destroy_ba+0×98/0xf4 [mwlwifi]
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.834683] LR is at mwl_fwcmd_destroy_ba+0×34/0xf4 [mwlwifi]
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.840451] pc : [<bf18a624>] lr : [<bf18a5c0>] psr: 60000013
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.840451] sp : d3719c90 ip : 00000000 fp : 00000000
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.851975] r10: dde78000 r9 : dde78048 r8 : dde78054
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.857220] r7 : ddfc1620 r6 : ddfc2924 r5 : 00000000 r4 : ddcb0000
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.863771] r3 : 00000000 r2 : 00000002 r1 : 00000000 r0 : 00000000
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.870324] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83037.877487] Control: 10c5387d Table: 1303c04a DAC: 00000051
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.883255] Process hostapd (pid: 3044, stack limit = 0xd3718210)
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.889372] Stack: (0xd3719c90 to 0xd371a000)
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.893745] 9c80: dde78054 00000007 d8008de8 ddfc45e0
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.901957] 9ca0: ddfc0be0 bf18aac8 d8008de8 ddfc1620 ddfc0be0 d3c51e14 d36b9ce0 de7e0000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.910168] 9cc0: 00000014 bf185b94 d8008800 00000002 00000001 d3c51e14 d81f5e40 de7e0000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.918379] 9ce0: 00000014 bf118c98 ddfc0be0 d36b94c0 d8008800 bf11b2dc 00000002 00000002
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.926589] 9d00: d8008800 ddfc0be0 d36b94c0 bf11c270 d8008800 00000000 00000000 d8008800
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.934800] 9d20: d3c51e20 bf11c3bc d36b94c0 00000454 d3c51e20 bf11c434 ddfc0000 d36b9000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.943012] 9d40: d3719d68 bf0e38e4 d3c51e20 0002000c 00000000 bf0ff534 bf108c84 c03c0e1c
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.951223] 9d60: bf0fee9a 80150014 59e7e961 0000068e d3c51e00 d3c51e10 d3c51e14 de7e0000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.959434] 9d80: ddfc0000 d36b9000 d3c51e00 d81f5e40 c03c0b94 d3475c00 d3719dcc 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.967645] 9da0: 00000008 c03c01d0 c0629cb0 d81f5e40 d81f5e40 c03c0b80 df4ba400 00000028
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.975857] 9dc0: d81f5e40 c03bfbd4 d3475c00 7fffffff 00000000 d81f5e40 00000000 d3719f68
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.984068] 9de0: 00000028 d3475c00 00000000 c03c0040 00000000 c021cb0c 00000028 d0851040
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83037.992278] 9e00: 00000000 00000be4 00000000 00000000 00000001 d3719f68 00000000 d3719e8c
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.000489] 9e20: df30f200 00000000 c0604fc8 00000000 00000000 c0380060 d3719f68 c03805f0
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.008701] 9e40: 00000000 00000000 00000000 00376010 00000028 beadcbec 00000000 d3719eb4
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.016912] 9e60: df30f200 c03807e8 c05ffec0 00000000 beadcc54 0038a030 00004000 c004f000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.025124] 9e80: dfbd2ef0 ffffffff e813b2d8 c0628400 d3719ecc 00000051 00008933 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.033334] 9ea0: 00000000 beadcc8c 00000020 00000010 00000000 00000000 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.041545] 9ec0: dfbd2ef0 c0605998 c05ffec0 6e616c77 d32552c0 60000013 df569500 d3255080
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.049755] 9ee0: 00000000 d3255080 d0029b20 c00f188c d0029b84 00000007 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.057966] 9f00: df564e40 c005aae0 d3719f08 d3719f08 df401180 d0029b00 df29dc38 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.066177] 9f20: df401580 df29dc38 df29dc38 00040936 d0029b20 df30f200 beadcc70 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.074388] 9f40: 00000128 c000ef04 d3718000 00000000 b6e9c740 c038138c 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.082599] 9f60: 00000000 fffffff7 d3719eac 0000000c 00000001 00000000 00000000 d3719e54
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.090809] 9f80: 00000000 00000006 00000000 00000000 00000000 00000000 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.099021] 9fa0: b6f1610c c000ed40 00000000 00000000 00000005 beadcc70 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.107231] 9fc0: 00000000 00000000 b6f1610c 00000128 b6e9cef0 00000000 0002516c b6e9c740
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.115443] 9fe0: beadcc18 beadcc04 b6eececc b6eec398 60000010 00000005 00000000 00000000
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.123678] [<bf18a624>] (mwl_fwcmd_destroy_ba [mwlwifi]) from [<bf18aac8>] (mwl_fwcmd_del_sta_streams+0x1d4/0×330 [mwlwifi])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.135037] [<bf18aac8>] (mwl_fwcmd_del_sta_streams [mwlwifi]) from [<bf185b94>] (mwl_mac80211_sta_remove+0×38/0x1c4 [mwlwifi])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.146598] [<bf185b94>] (mwl_mac80211_sta_remove [mwlwifi]) from [<bf118c98>] (drv_sta_state+0x16c/0×184 [mac80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.157290] [<bf118c98>] (drv_sta_state [mac80211]) from [<bf11b2dc>] (sta_info_move_state+0xbc/0x1d0 [mac80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.167629] [<bf11b2dc>] (sta_info_move_state [mac80211]) from [<bf11c270>] (sta_set_sinfo+0×954/0xa80 [mac80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.178054] [<bf11c270>] (sta_set_sinfo [mac80211]) from [<bf11c3bc>] (sta_info_destroy+0×20/0×28 [mac80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.188218] [<bf11c3bc>] (
sta_info_destroy [mac80211]) from [<bf11c434>] (sta_info_destroy_addr_bss+0x2c/0×44 [mac80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.199429] [<bf11c434>] (sta_info_destroy_addr_bss [mac80211]) from [<bf0e38e4>] (nl80211_del_station+0xe8/0xf0 [cfg80211])
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.210711] [<bf0e38e4>] (nl80211_del_station [cfg80211]) from [<c03c0e1c>] (genl_rcv_msg+0×288/0×310)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.220059] [<c03c0e1c>] (genl_rcv_msg) from [<c03c01d0>] (netlink_rcv_skb+0×58/0xb4)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.227922] [<c03c01d0>] (netlink_rcv_skb) from [<c03c0b80>] (genl_rcv+0×20/0×34)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.235436] [<c03c0b80>] (genl_rcv) from [<c03bfbd4>] (netlink_unicast+0×138/0x1fc)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.243124] [<c03bfbd4>] (netlink_unicast) from [<c03c0040>] (netlink_sendmsg+0x2f0/0×310)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.251425] [<c03c0040>] (netlink_sendmsg) from [<c0380060>] (sock_sendmsg+0×14/0×24)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.259287] [<c0380060>] (sock_sendmsg) from [<c03805f0>] (_sys_sendmsg+0×184/0×228)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.267238] [<c03805f0>] (
_sys_sendmsg) from [<c038138c>] (sys_sendmsg+0×40/0×64)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.275104] [<c038138c>] (
sys_sendmsg) from [<c000ed40>] (ret_fast_syscall+0×0/0x3c)
Thu Oct 19 16:56:53 2017 kern.emerg kernel: [83038.283055] Code: e5840010 e5d81004 e5c41014 e598c000 (e59c300c)
Thu Oct 19 16:56:53 2017 kern.warn kernel: [83038.289200] —[ end trace 6c4677423c79f036 ]—

21.10.20171094Base systemBug ReportVery LowCriticalno connection on any ethernet ports (incl internet) on ...TrunkUnconfirmed Task Description

Yesterday I upgraded the Linksys wrt1200ac from openwrt 15.05.1
to lede-17.01.4. The upgrade was done through a luci web
interface.

After reboot the wan connection was gone, as well as all local
ethernet ports. Wifi continued to work fine. The configuration
seems to have survived the upgrade. I couldn’t find anything
wrong with the configuration.

On the Internet port there were no packets coming in. On the
ethernet port 1 there are bootp/dhcp requests coming from the
router.

Not sure if that is relevant, but reverting back to 15.05.1
didn’t work either: the router is currently completely
inaccessible. I don’t have a serial cable, will probably order
one to try to debrick the thing.

01.11.20171138KernelBug ReportVery LowCriticalDeauthenticated Reason: 15=4WAY_HANDSHAKE_TIMEOUT on Wi...lede-17.01Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
TP-Link Archer C7 (AC1750 version 2.0)

- Software versions of LEDE release, packages, etc.
LEDE Reboot 17.01.4 r3560-79f57e422d (newest release)

- Steps to reproduce
1) Set 802.11g radio as AP
2) Set 802.11a© radio as client for EDUROAM network with WPA2-EAP TTLS or PEAP (cipher CCMP) 802.11ac-80Mhz, fix channel (36), transmit power auto and country code DE (Germany)

3.1) Wait for 8:24 hours (or until the Maximum lifetime for PMKSA 70% of 43200 seconds reached and re-authentication is triggered)

   OR

3.2) install wpa-cli, ping to any host to test internet and invoke "reauthenticate" in wpa-cli (in this way, after one or many times "reauthentication" is invoked, the internet will be unusable until "reauthenticate" is invoked again)

Description:
This Problem exist since long time ago either with openwrt or lede on 802.11ac radio. If 8 hours 24 minutes duration of router operation lasted (according to default dot11RSNAConfigPMKLifetime=43200 and dot11RSNAConfigPMKReauthThreshold=70 in wpa_supplicant) and the router try to "refresh" its pmksa by reauthenticate again with radius server, it will be disconnected with reason 15 (four way handshake timeout). For some reasons I need to keep my router always connected without "regular unwillingly" disconnections (except if there are software update in EDUROAM AP side). This is the kernel messages:

[ 25.195427] wlan0: authenticate with 11:22:33:44:55:66
[ 25.208453] wlan0: send auth to 11:22:33:44:55:66 (try 1/3)
[ 25.216280] wlan0: authenticated
[ 25.223602] wlan0: associate with 11:22:33:44:55:66 (try 1/3)
[ 25.343420] wlan0: associate with 11:22:33:44:55:66 (try 2/3)
[ 25.453654] wlan0: associate with 11:22:33:44:55:66 (try 3/3)
[ 25.563478] br-lan: port 2(wlan1) entered forwarding state
[ 25.569734] wlan0: association with 11:22:33:44:55:66 timed out
[ 25.879895] wlan0: authenticate with 11:22:33:44:55:66
[ 25.889865] wlan0: send auth to 11:22:33:44:55:66 (try 1/3)
[ 25.896496] wlan0: authenticated
[ 25.903550] wlan0: associate with 11:22:33:44:55:66 (try 1/3)
[ 25.911434] wlan0: RX AssocResp from 11:22:33:44:55:66 (capab=0x111 status=0 aid=1)
[ 25.920916] wlan0: associated
[ 25.924091] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 25.939403] wlan0: Limiting TX power to 17 dBm as advertised by 11:22:33:44:55:66
[ 47.737647] random: nonblocking pool is initialized
[30269.937723] wlan0: deauthenticated from 11:22:33:44:55:66 (Reason: 15=4WAY_HANDSHAKE_TIMEOUT)
[30271.332362] wlan0: authenticate with 11:22:33:44:55:66
[30271.342470] wlan0: send auth to 11:22:33:44:55:66 (try 1/3)
[30271.349075] wlan0: authenticated
[30271.355311] wlan0: associate with 11:22:33:44:55:66 (try 1/3)
[30271.363261] wlan0: RX AssocResp from 11:22:33:44:55:66 (capab=0x111 status=0 aid=3)
[30271.372768] wlan0: associated
[30271.441928] wlan0: Limiting TX power to 17 dBm as advertised by 11:22:33:44:55:66

Timestamps 25-47 are the initial boot of router and at 30269 the problem occurred. I can test this in quick way by installing wpa-cli and invoke reauthenticate command. The internet will be unusable even if the router still connected to AP. But by testing this way, I don't get "four way handshake timeout report message, except if I let the internet unusable for 15-30 minutes and the router is deauthenticated and reconnection occur automatically.

This are the system logs (the very first and the very last entries are before and after the problem occured):

Wed Nov 1 20:07:42 2017 daemon.info hostapd: wlan1: STA 11:11:11:11:11:11 WPA: group key handshake completed (RSN)
Wed Nov 1 20:11:48 2017 daemon.notice netifd: Network device 'wlan0' link is down
Wed Nov 1 20:11:48 2017 daemon.notice netifd: Interface 'wwan' has link connectivity loss
Wed Nov 1 20:11:48 2017 kern.info kernel: [30269.937723] wlan0: deauthenticated from 11:22:33:44:55:66 (Reason: 15=4WAY_HANDSHAKE_TIMEOUT)
Wed Nov 1 20:11:48 2017 daemon.notice netifd: wwan (1290): udhcpc: received SIGTERM
Wed Nov 1 20:11:49 2017 daemon.info odhcpd[824]: Using a RA lifetime of 0 seconds on br-lan
Wed Nov 1 20:11:50 2017 kern.info kernel: [30271.332362] wlan0: authenticate with 11:22:33:44:55:66
Wed Nov 1 20:11:50 2017 kern.info kernel: [30271.342470] wlan0: send auth to 11:22:33:44:55:66 (try 1/3)
Wed Nov 1 20:11:50 2017 kern.info kernel: [30271.349075] wlan0: authenticated
Wed Nov 1 20:11:50 2017 kern.info kernel: [30271.355311] wlan0: associate with 11:22:33:44:55:66 (try 1/3)
Wed Nov 1 20:11:50 2017 kern.info kernel: [30271.363261] wlan0: RX AssocResp from 11:22:33:44:55:66 (capab=0x111 status=0 aid=3)
Wed Nov 1 20:11:50 2017 kern.info kernel: [30271.372768] wlan0: associated
Wed Nov 1 20:11:50 2017 daemon.notice netifd: Network device 'wlan0' link is up
Wed Nov 1 20:11:50 2017 daemon.notice netifd: Interface 'wwan' has link connectivity
Wed Nov 1 20:11:50 2017 daemon.notice netifd: Interface 'wwan' is setting up now
Wed Nov 1 20:11:50 2017 kern.debug kernel: [30271.441928] wlan0: Limiting TX power to 17 dBm as advertised by 11:22:33:44:55:66
Wed Nov 1 20:11:50 2017 daemon.notice netifd: wwan (1998): udhcpc: started, v1.25.1
Wed Nov 1 20:11:50 2017 daemon.notice netifd: wwan (1998): udhcpc: sending discover
Wed Nov 1 20:11:53 2017 daemon.notice netifd: wwan (1998): udhcpc: sending discover
Wed Nov 1 20:11:54 2017 daemon.notice netifd: wwan (1998): udhcpc: sending select for 131.11.123.204
Wed Nov 1 20:11:54 2017 daemon.notice netifd: wwan (1998): udhcpc: lease of 131.11.123.204 obtained, lease time 1800
Wed Nov 1 20:11:54 2017 daemon.warn dnsmasq[1310]: no servers found in /tmp/resolv.conf.auto, will retry
Wed Nov 1 20:11:54 2017 daemon.notice netifd: Interface 'wwan' is now up
Wed Nov 1 20:11:54 2017 daemon.info dnsmasq[1310]: reading /tmp/resolv.conf.auto
Wed Nov 1 20:11:54 2017 daemon.info dnsmasq[1310]: using local addresses only for domain lan
Wed Nov 1 20:11:54 2017 daemon.info dnsmasq[1310]: using nameserver 131.11.123.2#53
Wed Nov 1 20:11:54 2017 daemon.info dnsmasq[1310]: using nameserver 131.11.124.2#53
Wed Nov 1 20:11:54 2017 user.notice firewall: Reloading firewall due to ifup of wwan (wlan0)
Wed Nov 1 20:11:55 2017 daemon.info odhcpd[824]: Using a RA lifetime of 0 seconds on br-lan
Wed Nov 1 20:17:42 2017 daemon.info hostapd: wlan1: STA 11:11:11:11:11:11 WPA: group key handshake completed (RSN)

Please help me. I will monitor this issue and make test if needed.

02.11.20171139KernelBug ReportVery LowCriticalKernel crashTrunkUnconfirmed Task Description

Router stop working and all network drop requiring a router restart.
TP-Link TL-WDR4300 v1
LEDE Reboot SNAPSHOT r5217-098afa1e1b / LuCI Master (git-17.302.29094-87ec343)
Kernel - 4.9.58

Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.711795] ------------[ cut here ]------------
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.716575] WARNING: CPU: 0 PID: 0 at net/netfilter/nf_conntrack_rtcache.c:199 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.724867] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_string 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 usbmon ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom umWed Nov  1 20:06:44 2017 kern.warn kernel: [11503.797335]  nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos vfat fat nls_utf8 nls_iso8859_1 nls_cp437 usb_storage uhci_hcd ohci_platform ohci_hcd ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.820374] CPU: 0 PID: 0 Comm: swapper Not tainted 4.9.58 #0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.826199] Stack : 804d78fa 00000031 00000000 00000001 804615d4 80461247 8041396c 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.834743]         804d3a40 000000c7 00000003 00000000 02080020 800a9b84 8041919c 80460000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.843287]         00000003 000000c7 8041736c 87c09824 02080020 800d923c 804d78fa 0000004d
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.851832]         00000000 80223000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.860377]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.868922]         ...
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.871414] Call Trace:
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.873905] [<8006b2e8>] show_stack+0x54/0x88
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.878362] [<80080530>] __warn+0xe4/0x118
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.882529] [<800805f8>] warn_slowpath_null+0x1c/0x34
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.887684] [<874673e0>] 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.891231] ---[ end trace 0fa0ed456ba22a7d ]---
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.896865] ------------[ cut here ]------------
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.901621] WARNING: CPU: 0 PID: 0 at net/netfilter/nf_conntrack_rtcache.c:199 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11503.909943] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_string 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 usbmon ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom umWed Nov  1 20:06:44 2017 kern.warn kernel: [11503.982364]  nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos vfat fat nls_utf8 nls_iso8859_1 nls_cp437 usb_storage uhci_hcd ohci_platform ohci_hcd ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.005412] CPU: 0 PID: 0 Comm: swapper Tainted: G        W       4.9.58 #0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.012478] Stack : 804d78fa 0000003f 00000000 00000001 804615d4 80461247 8041396c 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.021029]         804d3a40 000000c7 00000003 00000000 02080020 800a9b84 8041919c 80460000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.029575]         00000003 000000c7 8041736c 87c09824 02080020 800d923c 804d78fa 0000004d
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.038119]         804736b0 80223000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.046664]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.055200]         ...
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.057701] Call Trace:
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.060191] [<8006b2e8>] show_stack+0x54/0x88
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.064636] [<80080530>] __warn+0xe4/0x118
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.068811] [<800805f8>] warn_slowpath_null+0x1c/0x34
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.073951] [<874673e0>] 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.077506] ---[ end trace 0fa0ed456ba22a7e ]---
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.150414] ------------[ cut here ]------------
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.155176] WARNING: CPU: 0 PID: 0 at net/netfilter/nf_conntrack_rtcache.c:199 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.163513] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_string 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 usbmon ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom umWed Nov  1 20:06:44 2017 kern.warn kernel: [11504.235935]  nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos vfat fat nls_utf8 nls_iso8859_1 nls_cp437 usb_storage uhci_hcd ohci_platform ohci_hcd ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.258985] CPU: 0 PID: 0 Comm: swapper Tainted: G        W       4.9.58 #0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.266041] Stack : 804d78fa 0000003f 00000000 00000001 804615d4 80461247 8041396c 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.274584]         804d3a40 000000c7 00000003 00000000 02080020 800a9b84 8041919c 80460000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.283129]         00000003 000000c7 8041736c 87c09824 02080020 800d923c 804d78fa 0000004d
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.291682]         804736b0 80223000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.300237]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.308780]         ...
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.311272] Call Trace:
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.313764] [<8006b2e8>] show_stack+0x54/0x88
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.318220] [<80080530>] __warn+0xe4/0x118
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.322380] [<800805f8>] warn_slowpath_null+0x1c/0x34
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.327535] [<874673e0>] 0x874673e0
Wed Nov  1 20:06:44 2017 kern.warn kernel: [11504.331081] ---[ end trace 0fa0ed456ba22a7f ]---
04.11.20171146Base systemBug ReportVery LowCriticalConstant wireless disconnects due to excessive missing ...lede-17.01Unconfirmed Task Description

D-Link DIR-320 B1, currently with Lede 17.01.4 (basically, default config).
Had no problems in years with 7 of my wireless devices (consoles, phones and tablets) in same room - everything works perfect.

But my new Android 6 tablet (Lenovo Tab 3 8 Plus) keeps losing network.
It can happen randomly - for example, I can notice that every 3 minutes in Google PlayStore, or only couple times per hour (maybe it happens more often, but I’m not checking something online that time).
And it seems, tablet doesn’t even notice that there is no network - signal strenght icon is there (filled icon - “connected”), but data is not transfered (no send/receive arrows).
If there was a download, then it stops and not trying to resume or restore connection.
Or, for example, Google PlayStore doesn’t say “wifi is off” - it just keeps trying to load page (rotating loading symbol).
Some time after it gets his connection back, or it much faster just to turn off/on wireless.

Router system log have this message: “disconnected due to excessive missing ACKs”.
I tried to add “disassoc_low_ack 0” and this error gone from log, but this not solved connection problem.
I tried to use another router DIR-300NRU6 with stock firmware - everything OK, not a single disconnect.

08.11.20171158Base systemBug ReportVery LowCriticalATH10k QCA9880 5 Ghz mixed mode (sta and ap) not possib...TrunkUnconfirmed Task Description
 
Hardware: Archer C7 V2
Software: Trunk (r5280)

Using the 5 Ghz radio in accesspoint mode (mode ap) and client mode (mode sta) at the same time doesnt work.
Only client mode works.
No error messages will be generated.
With version V17.01.4 all is fine (same configuration).

Config details:

config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11a'
	option path 'pci0000:01/0000:01:00.0'
	option noscan '1'
	option htmode 'VHT80'
	option multicast_querier '0'
	option igmp_snooping '0'
	option distance '8'
	option log_level '3'
	option compression '1'
	option bursting '1'
	option ff '1'
	option country 'US'
	option txpower '23'
	option channel '112'

config wifi-device 'radio1'
	option type 'mac80211'
	option hwmode '11g'
	option path 'platform/qca955x_wmac'
	option noscan '1'
	option htmode 'HT40'
	option distance '15'
	option multicast_querier '0'
	option igmp_snooping '0'
	option log_level '3'
	option compression '1'
	option bursting '1'
	option ff '1'
	option channel '9'
	option country 'US'
	option txpower '24'
	option disabled '0'

config wifi-iface
	option encryption 'psk2'
	option device 'radio0'
	**option mode 'sta'**
	option bssid '08:96:D7:7B:89:BA'
	option key 'xxxxxxxxxxxxxxxxxxxxxx'
	option multicast_querier '0'
	option igmp_snooping '0'
	option ssid 'Fritz_5Ghz'
	option network 'WWAN WWAN6'

config wifi-iface
	option ssid 'im6shop'
	option device 'radio1'
	option key 'xxxxxxxxxxxxxxxxxxxxxx'
	option multicast_querier '0'
	option igmp_snooping '0'
	option network 'LAN'
	option mode 'ap'
	option encryption 'psk2'

config wifi-iface
	option device 'radio0'
	**option mode 'ap'**
	option key 'xxxxxxxxxxxxxxxxxxxxxx'
	option macfilter 'allow'
	list maclist '78:0C:B8:8A:12:45'
	list maclist '88:32:9B:F6:70:79'
	list maclist 'F0:27:65:7F:7A:19'
	option encryption 'psk2+ccmp'
	option network 'LAN'
	option ssid 'im6shop'

If you need further details, let me know

regards Klaus


15.11.20171170KernelBug ReportVery LowCriticalmt7621: kernel errors - rcu_sched detected stalls on CP...AllUnconfirmed Task Description

After the work done for issue  FS#804 , the rcu_sched error seemed to be gone. However, I am now starting to see it again. Usually, at least for me, the error happens when there is large amounts of traffic and I do something with the network. My most reliable way for reproducing the error is as follows:

- Use iperf to flood a router with small packets. Other ways to stress the CPU also work, I for example triggered the error when I added very aggressive logging to the firewall.
- While the router is being flooded, I restarted networking (I am logged in to the router via UART).
- After a couple of network restarts, the error is trigger and the following is written to syslog at some interval:

[ 2251.870000] INFO: rcu_bh detected stalls on CPUs/tasks:
[ 2251.870000] 2-...: (1 GPs behind) idle=ae1/140000000000001/0 softirq=212487/217796 fqs=4380
[ 2251.870000] (detected by 1, t=6002 jiffies, g=-146, c=-147, q=4)
[ 2251.870000] Task dump for CPU 2:
[ 2251.870000] openvpn-mover.s R running 0 2598 1 0×08100004 [ 2251.870000] Stack : 8fa69998 800ebe38 00000000 8fa69998 57512e2b 000001fd 00000000 80035454
[ 2251.870000] 00000000 800edbd4 8fa69998 804b0000 00000000 00000000 00000004 00000000
[ 2251.870000] 00000000 8ea17850 8efc7ec0 800376d4 00000000 00000000 778b8930 00000012
[ 2251.870000] 00000000 004077cd 778d4000 00000000 778d55e8 778d6f7c 00000000 8002b280
[ 2251.870000] ffbffeff ffffffff 00617772 706d742f 00000000 00000000 00000001 800379dc
[ 2251.870000] ...
[ 2251.870000] Call Trace:
[ 2251.870000] [<8000bc88>] __schedule+0×574/0×758

I am also able to sometimes trigger the issue by simply issuing the reboot-command (while the CPU is stressed). I have not applied any traffic shaping to my interface, and I see the error both with kernel 4.4 and 4.9 (i.e., LEDE 17.01 and master). I don’t quite know how to progress in debugging this.

 


11.12.20171220KernelBug ReportVery LowCriticalWireless on WRT3200ACM kills all networkinglede-17.01Unconfirmed Task Description

Supply the following if possible:
Linksys WRT3200ACM

driver name: mwlwifi
chip type: 88W8964
hw version: 7
driver version: 10.3.4.0-20171129
firmware version: 0×09030201 power table loaded from dts: no
firmware region code: 0×0 mac address: 60:38:e0:be:cc:e1
2g: enable
5g: disable
antenna: 4 4
irq number: 106
ap macid support: 0000ffff
sta macid support: 00010000
macid used: 00000001
radio: enable
iobase0: e1200000
iobase1: e1480000
tx limit: 1024
rx limit: 16384

Reboot (17.01.4, r3560-79f57e422d)

Steps to reproduce:
Fresh OpenWRT Install
Remove the old mwlwifi driver, Install the updated (as it is broken in the base install)
Enable the 5GHZ band signals
SSH into router and run readlog -f
Run many speed tests from multiple devices (seems to trigger it almost instantly)

 

Right before it crashes and I lose all connectivity I get the message:
Mon Dec 11 08:39:31 2017 kern.info kernel: [10357.894826] mwifiex_sdio mmc0:0001:1: Tx: Bridge packet limit reached. Drop packet!
Mon Dec 11 08:39:51 2017 daemon.notice hostapd: nl80211: nl80211_recv_beacons→nl_recvmsgs failed: -5
Mon Dec 11 08:39:51 2017 kern.info kernel: [10377.918852] mwifiex_sdio mmc0:0001:1: cmd_wait_q terminated: -110

I tried increasing the txpacket limit from 1000 to 20000 but that only delayed the crash until later.

14.12.20171227Base systemBug ReportVery LowCriticalBrick in TP-Link CPE210 HW 1.1 after sysupgrade from LE...lede-17.01Unconfirmed Task Description

After problems described in this bug:

Try to flash sysupgrade from here.

LuCI let this image pass but the device do not came back after reboot.
Only the Power-LED ist on, no blinking of RSSIHIGH during boot.
On LAN or WAN is no activity. Checked by tcpdump.

Expected behavior:
System reboot in LEDE-17.01.4

Like described in this bug it is not possible to recover via TFTP the device. It pulls the firmware but do not flash anything.
Try to recover with LEDE but also with all stock-images from tp-link website.

07.01.20181262Base systemBug ReportVery LowCriticalCAAM breaking strongswan on WDR4900v1AllUnconfirmed Task Description

Strongswan seems to be trying to use CAAM crypto hardware device on this router through the kernel but the device doesn’t seem to be present or available causing strongswan to fail while trying to add a SA to the kernel.
Everytime strongswan is trying to add a SA to the kernel the following error messages are logged in strongswan and the kernel log. The kernel log error message seems to be generated by the CAAM code (I checked the kernel source to confirm this).

Strongswan log:

12[KNL] received netlink error: No such device (19)
12[KNL] unable to add SAD entry with SPI c88d8084 (FAILED)
12[KNL] received netlink error: No such device (19)
12[KNL] unable to add SAD entry with SPI 0e9ded44 (FAILED)
12[IKE] unable to install inbound and outbound IPsec SA (SAD) in kernel

Linux kernel log:

[6311485.194242] Job Ring Device allocation for transform failed
[6311485.201338] Job Ring Device allocation for transform failed
[6311497.457066] Job Ring Device allocation for transform failed
[6311497.464231] Job Ring Device allocation for transform failed

CAAM must either be disabled or built as a kernel module for this specific router since hardware support is not there and it can only cause potential problems like in this case with Strongswan.

I’m tagging the bug as critical since as reported above Strongswan is not usable on this router due to this bug in the kernel configuration.


25.01.20181300Base systemBug ReportVery LowCriticalRT-N12+(MT7620N): WLAN not working.TrunkUnconfirmed Task Description

Hello,

Device: RT-N12+
Issue: WLAN is not working properly. When enabled the signal status shows 0db noise 0db. Wireless devices would properly show the SSID however unable to join. Even with No encryption. The system log would even show that radio0 is up.
Steps done:
- Reboot Router
- Re-flash firmware
- Manually set WiFi config: Band 20mhz or 40mhz.
- Toggled between N and Legacy.
- Manually set WiFi channels.
- Tried different encryption.

Additional information:
- I am well aware that this router support is still WIP as stated: https://lede-project.org/toh/hwdata/asus/asus_rt-n12 Basically just putting out this bug report since so far everything seemed fine except for wireless broadcast.
- Used latest snapshot build from downloads page dated: Thu Jan 25 12:07:37 2018

28.01.20181307Base systemBug ReportVery LowCriticalClearFog initramfs broken AllUnconfirmed Task Description

It appears this has been broken for quite some time, likely before LEDE forked from OpenWrt, as there are CC builds with initrams images working fine (early 2016), however the CC repo no longer compiles a working initrams image, nor does LEDE.

  • The changes causing the issue appear to have occurred between 2016.02.18 and 2016.09.06
    • I have a working OpenWrt initramfs image created 2016.02.17 @14:26:46 UTC which boots w/o issue.
    • This post from the SolidRun forum on 2016.09.06 @ 10:30am (local) verifies boot issues occurring at least as of this date.
      • Xue Liu’s [clockworkbird9] repo is mentioned and a link to his blog is provided, however he either forked OpenWrt prior to the issue originating or fixed whatever was broken.

Unexpected Output

Current LEDE/OpenWrt initramfs image is a mess all around (Compiled 2018.01.25)

   Marvell>> tftpboot lede-mvebu-armada-388-clearfog-pro-initramfs.bin
   Using egiga1 device
   TFTP from server 10.4.50.38; our IP address is 10.4.50.170
   Filename 'lede-mvebu-armada-388-clearfog-pro-initramfs.bin'.
   Load address: 0x2000000
   Loading: #################################################################
	        #################################################################
	        #################################################################
	        2.4 MiB/s
   done
   Bytes transferred = 4690096 (4790b0 hex)
 
   Marvell>> bootm
   Wrong Image Format for bootm command
   ERROR: cant get kernel image!
  • Likely due to these options being removed from menuconfig:
    • Target Images
      • Include kernel in root filesystem
        • include uImage
        • include zImage
        • include FIT
      • Include DTB in root filesystem
    • See Screenshot
      • Left: Old OpenWrt Repo
      • Right: Current LEDE/OpenWrt Repo

Booting a LEDE zImage goes a bit better (...until the kernel panic | Compiled 2018.01.25)

  • This may be expected behavior, as I didn’t realize the zImage is the kernel image.
    Marvell>> tftpboot zImage-Solidrun-Clearfog-A1                 
    Using egiga1 device
    TFTP from server 10.4.50.38; our IP address is 10.4.50.170
    Filename 'zImage-Solidrun-Clearfog-A1'.
    Load address: 0x2000000
    Loading: #################################################################
    	 #################################################################
    	 #################################################################
    	 2.4 MiB/s
    done
    Bytes transferred = 2132324 (208964 hex)
    Marvell>> bootz
 
    Starting kernel ...
 
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.4.14 (thepeople@trabant) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 50140) ) #1 SMP Thu Dec 7 14:50:07 UTC 2017
    [    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: SolidRun Clearfog A1
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] PERCPU: Embedded 12 pages/cpu @ef7ce000 s17984 r8192 d22976 u49152
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608
    [    0.000000] Kernel command line: 
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 1032820K/1048576K available (4223K kernel code, 178K rwdata, 1572K rodata, 264K init, 301K bss, 15756K reserved, 0K cma-reserved, 262144K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc05b1078   (5797 kB)
    [    0.000000]       .init : 0xc05b2000 - 0xc05f4000   ( 264 kB)
    [    0.000000]       .data : 0xc05f4000 - 0xc0620a5c   ( 179 kB)
    [    0.000000]        .bss : 0xc0620a5c - 0xc066c244   ( 302 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
    [    0.000000] L2C-310 D prefetch enabled, offset 1 lines
    [    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
    [    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
    [    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
    [    0.000000] Switching to timer-based delay loop, resolution 40ns
    [    0.000002] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
    [    0.000009] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    [    0.000106] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
    [    0.000113] pid_max: default: 32768 minimum: 301
    [    0.000148] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000152] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000340] CPU: Testing write buffer coherency: ok
    [    0.000439] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.000465] Setting up static identity map for 0x8280 - 0x82d8
    [    0.000550] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
    [    0.000633] mvebu-pmsu: Initializing Power Management Service Unit
    [    0.001026] Booting CPU 1
    [    0.001190] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.001218] Brought up 2 CPUs
    [    0.001223] SMP: Total of 2 processors activated (100.00 BogoMIPS).
    [    0.001226] CPU: All CPU(s) started in SVC mode.
    [    0.002883] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.002954] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.003000] pinctrl core: initialized pinctrl subsystem
    [    0.003380] NET: Registered protocol family 16
    [    0.003837] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.029930] cpuidle: using governor ladder
    [    0.032504] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
    [    0.032512] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
    [    0.060714] SCSI subsystem initialized
    [    0.060995] usbcore: registered new interface driver usbfs
    [    0.061020] usbcore: registered new interface driver hub
    [    0.061042] usbcore: registered new device driver usb
    [    0.061712] clocksource: Switched to clocksource armada_370_xp_clocksource
    [    0.062143] NET: Registered protocol family 2
    [    0.062382] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.062424] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.062484] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.062516] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.062538] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.062619] NET: Registered protocol family 1
    [    0.062981] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.065945] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.065956] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.066587] bounce: pool size: 64 pages
    [    0.066594] io scheduler noop registered
    [    0.066599] io scheduler deadline registered (default)
    [    0.066978] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
    [    0.067276] irq: Cannot allocate irq_descs @ IRQ50, assuming pre-allocated
    [    0.067412] irq: Cannot allocate irq_descs @ IRQ82, assuming pre-allocated
    [    0.067660] mv_xor f1060800.xor: Marvell shared XOR driver
    [    0.101937] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
    [    0.102017] mv_xor f1060900.xor: Marvell shared XOR driver
    [    0.141919] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
    [    0.142055] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
    [    0.142889] console [ttyS0] disabled
    [    0.162961] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 15625000) is a 16550A
    [    0.715227] console [ttyS0] enabled
    [    0.738916] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 15625000) is a 16550A
    [    0.748295] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
    [    0.757374] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
    [    0.766754] scsi host0: ahci-mvebu
    [    0.770314] scsi host1: ahci-mvebu
    [    0.773824] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 45
    [    0.781766] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 45
    [    0.789792] ahci-mvebu f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
    [    0.798869] ahci-mvebu f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
    [    0.808345] scsi host2: ahci-mvebu
    [    0.811918] scsi host3: ahci-mvebu
    [    0.815415] ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 46
    [    0.823359] ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 46
    [    0.832327] libphy: Fixed MDIO Bus: probed
    [    0.836538] libphy: orion_mdio_bus: probed
    [    0.841803] mvneta f1030000.ethernet eth0: Using hardware mac address 00:50:43:4c:18:3b
    [    0.850637] mvneta f1034000.ethernet eth1: Using random mac address c6:31:9b:9c:a7:67
    [    0.859250] mvneta f1070000.ethernet eth2: Using hardware mac address 00:50:43:ee:18:3b
    [    0.867330] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    0.873879] ehci-pci: EHCI PCI platform driver
    [    0.878359] ehci-platform: EHCI generic platform driver
    [    0.883691] ehci-orion: EHCI orion driver
    [    0.887777] orion-ehci f1058000.usb: EHCI Host Controller
    [    0.893203] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
    [    0.900847] orion-ehci f1058000.usb: irq 40, io mem 0xf1058000
    [    0.921501] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
    [    0.927667] hub 1-0:1.0: USB hub found
    [    0.931437] hub 1-0:1.0: 1 port detected
    [    0.935663] xhci-hcd f10f0000.usb3: xHCI Host Controller
    [    0.940994] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
    [    0.948605] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
    [    0.957170] xhci-hcd f10f0000.usb3: irq 48, io mem 0xf10f0000
    [    0.963146] hub 2-0:1.0: USB hub found
    [    0.966914] hub 2-0:1.0: 1 port detected
    [    0.970927] xhci-hcd f10f0000.usb3: xHCI Host Controller
    [    0.976265] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
    [    0.983796] usb usb3: We dont know the algorithms for LPM for this host, disabling LPM.
    [    0.992105] hub 3-0:1.0: USB hub found
    [    0.995872] hub 3-0:1.0: 1 port detected
    [    0.999930] xhci-hcd f10f8000.usb3: xHCI Host Controller
    [    1.005271] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
    [    1.012863] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
    [    1.021422] xhci-hcd f10f8000.usb3: irq 49, io mem 0xf10f8000
    [    1.027391] hub 4-0:1.0: USB hub found
    [    1.031159] hub 4-0:1.0: 1 port detected
    [    1.035201] xhci-hcd f10f8000.usb3: xHCI Host Controller
    [    1.040528] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
    [    1.048072] usb usb5: We dont know the algorithms for LPM for this host, disabling LPM.
    [    1.056389] hub 5-0:1.0: USB hub found
    [    1.060156] hub 5-0:1.0: 1 port detected
    [    1.064290] usbcore: registered new interface driver usb-storage
    [    1.070460] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
    [    1.078105] i2c /dev entries driver
    [    1.092469] orion_wdt: Initial timeout 171 sec
    [    1.097786] marvell-cesa f1090000.crypto: CESA device successfully registered
    [    1.105445] NET: Registered protocol family 10
    [    1.110382] NET: Registered protocol family 17
    [    1.114870] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [    1.127526] Bridge firewalling registered
    [    1.131551] 8021q: 802.1Q VLAN Support v1.8
    [    1.135771] Registering SWP/SWPB emulation handler
    [    1.141319] armada38x-rtc f10a3800.rtc: setting system clock to 1970-06-02 16:51:43 UTC (13193503)
    [    1.141517] ata1: SATA link down (SStatus 0 SControl 300)
    [    1.141542] ata2: SATA link down (SStatus 0 SControl 300)
    [    1.161504] ata4: SATA link down (SStatus 0 SControl 300)
    [   1.166942] ata3: SATA link down (SStatus 0 SControl 300)
    [    1.172389] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
    [    1.179889] Please append a correct "root=" boot option; here are the available partitions:
    [    1.188270] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    [    1.196553] CPU1: stopping
    [    1.199266] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.4.14 #1
    [    1.205198] Hardware name: Marvell Armada 380/385 (Device Tree)
    [    1.211142] [<c001fab8>] (unwind_backtrace) from [<c001c420>] (show_stack+0x10/0x14)
    [    1.218909] [<c001c420>] (show_stack) from [<c019f54c>] (dump_stack+0x8c/0xa0)
    [    1.226149] [<c019f54c>] (dump_stack) from [<c001e94c>] (handle_IPI+0x108/0x1a0)
    [    1.233563] [<c001e94c>] (handle_IPI) from [<c0009508>] (gic_handle_irq+0x80/0x94)
    [    1.241151] [<c0009508>] (gic_handle_irq) from [<c000a5f4>] (__irq_svc+0x54/0x70)
    [    1.248650] Exception stack(0xef073f80 to 0xef073fc8)
    [    1.253712] 3f80: 00000001 00000000 00000000 c000b3c0 ef072000 c05f6498 c04fcab4 00000000
    [    1.261909] 3fa0: c05ee224 ef073fd8 00000000 c05f1118 00000000 ef073fd0 c00194cc c00194d0
    [    1.270104] 3fc0: 60000013 ffffffff
    [    1.273600] [<c000a5f4>] (__irq_svc) from [<c00194d0>] (arch_cpu_idle+0x34/0x50)
    [    1.281015] [<c00194d0>] (arch_cpu_idle) from [<c005b324>] (cpu_startup_entry+0x148/0x210)
    [    1.289298] [<c005b324>] (cpu_startup_entry) from [<000095ac>] (0x95ac)
    [    1.295928] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Current OpenWrt CC initramfs freezes upon loading the kernel (Compiled 2018.01.27)

   Marvell>> tftpboot openwrt-mvebu-armada-388-clearfog-initramfs
   Using egiga1 device
   TFTP from server 10.4.50.38; our IP address is 10.4.50.170
   Filename 'openwrt-mvebu-armada-388-clearfog-initramfs'.
   Load address: 0x2000000
   Loading: #################################################################
	        #################################################################
	        #################################################################
	        2.4 MiB/s
   done
   Bytes transferred = 7925725 (78efdd hex)
 
   Marvell>> bootm
   ## Booting kernel from Legacy Image at 02000000 ...
      Image Name:   ARM OpenWrt Linux-3.18.91
      Created:      2018-01-27   3:22:24 UTC
      Image Type:   ARM Linux Kernel Image (uncompressed)
      Data Size:    7925661 Bytes = 7.6 MiB
      Load Address: 00008000
      Entry Point:  00008000
      Verifying Checksum ... OK
      Loading Kernel Image ... OK
   OK
 
   Starting kernel ...
  • It freezes at this point, with no further output

Expected Output (working initramfs)

r48735 (Compiled 2016.02.17)

    Marvell>> tftpboot openwrt-mvebu-armada-388-clearfog-initramfs
    Using egiga1 device
    TFTP from server 10.4.50.38; our IP address is 10.4.50.170
    Filename 'openwrt-mvebu-armada-388-clearfog-initramfs'.
    Load address: 0x2000000
    Loading: #################################################################
    	  #################################################################
    	  #################################################################
    	  2.4 MiB/s
    done
    Bytes transferred = 3022310 (2e1de6 hex)
 
    Marvell>> bootm
    ## Booting kernel from Legacy Image at 02000000 ...
       Image Name:   ARM OpenWrt Linux-4.1.16
       Created:      2016-02-17  14:26:46 UTC
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3022246 Bytes = 2.9 MiB
       Load Address: 00008000
       Entry Point:  00008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK
 
    Starting kernel ...
 
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.1.16 (vlado@b50) (gcc version 5.2.0 (OpenWrt GCC 5.2.0 r48723) ) #6 SMP Wed Feb 17 14:59:16 UTC 2016
    [    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: SolidRun Clearfog A1
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] PERCPU: Embedded 10 pages/cpu @eefd1000 s11776 r8192 d20992 u40960
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260624
    [    0.000000] Kernel command line: 
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 1029820K/1048576K available (3435K kernel code, 138K rwdata, 1228K rodata, 4592K init, 168K bss, 18756K reserved, 0K cma-reserved, 270336K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0495e9c   (4664 kB)
    [    0.000000]       .init : 0xc0496000 - 0xc0912000   (4592 kB)
    [    0.000000]       .data : 0xc0912000 - 0xc09348dc   ( 139 kB)
    [    0.000000]        .bss : 0xc09348dc - 0xc095e9a4   ( 169 kB)
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
    [    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
    [    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
    [    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x46070001
    [    0.000006] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
    [    0.000016] clocksource armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    [    0.000157] Calibrating delay loop... 3188.32 BogoMIPS (lpj=15941632)
    [    0.059922] pid_max: default: 32768 minimum: 301
    [    0.059975] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.059980] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.060187] CPU: Testing write buffer coherency: ok
    [    0.060286] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.060311] Setting up static identity map for 0x8280 - 0x82d8
    [    0.060398] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
    [    0.060484] mvebu-pmsu: Initializing Power Management Service Unit
    [    0.060915] Booting CPU 1
    [    0.119940] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.119969] Brought up 2 CPUs
    [    0.119975] SMP: Total of 2 processors activated (6384.02 BogoMIPS).
    [    0.119978] CPU: All CPU(s) started in SVC mode.
    [    0.121764] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.121843] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.121875] pinctrl core: initialized pinctrl subsystem
    [    0.122216] NET: Registered protocol family 16
    [    0.122655] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.149929] cpuidle: using governor ladder
    [    0.152518] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
    [    0.152527] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling[    0.180892] Switched to clocksource armada_370_xp_clocksource
    [    0.181354] NET: Registered protocol family 2
    [    0.181626] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.181665] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.181728] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.181766] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.181790] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.181897] NET: Registered protocol family 1
    [    0.202800] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.203086] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.203094] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.203620] bounce: pool size: 64 pages
    [    0.203629] io scheduler noop registered
    [    0.203635] io scheduler deadline registered (default)
    [    0.204062] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
    [    0.204398] irq: Cannot allocate irq_descs @ IRQ48, assuming pre-allocated
    [    0.204557] irq: Cannot allocate irq_descs @ IRQ80, assuming pre-allocated
    [    0.204865] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
    [    0.204873] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
    [    0.204878] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
    [    0.204883] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    0.205081] PCI: bus0: Fast back to back transfers disabled
    [    0.205087] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    0.205094] pci 0000:00:03.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    0.205147] PCI: bus1: Fast back to back transfers enabled
    [    0.205205] PCI: bus2: Fast back to back transfers enabled
    [    0.205227] pci 0000:00:02.0: PCI bridge to [bus 01]
    [    0.205235] pci 0000:00:03.0: PCI bridge to [bus 02]
    [    0.205319] mv_xor f1060800.xor: Marvell shared XOR driver
    [    0.240922] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
    [    0.280920] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
    [    0.280980] mv_xor f1060900.xor: Marvell shared XOR driver
    [    0.320931] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
    [    0.360921] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
    [    0.361040] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    [    0.361326] console [ttyS0] disabled
    [    0.381355] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 15625000) is a 16550A
    [    0.965181] console [ttyS0] enabled
    [    0.988835] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 15625000) is a 16550A
    [    0.998710] libphy: Fixed MDIO Bus: probed
    [    1.002938] libphy: orion_mdio_bus: probed
    [    1.008077] mvneta f1030000.ethernet eth0: Using hardware mac address 00:50:43:11:03:0d
    [    1.016851] mvneta f1034000.ethernet eth1: Using random mac address fa:fb:df:f9:5e:cc
    [    1.025385] mvneta f1070000.ethernet eth2: Using hardware mac address 00:50:43:0b:03:0d
    [    1.033899] NET: Registered protocol family 10
    [    1.038792] NET: Registered protocol family 17
    [    1.043270] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [    1.055917] 8021q: 802.1Q VLAN Support v1.8
    [    1.060127] Registering SWP/SWPB emulation handler
    [    1.065542] hctosys: unable to open rtc device (rtc0)
    [    1.073694] Freeing unused kernel memory: 4592K (c0496000 - c0912000)
    [    1.084136] init: Console is alive
    [    1.092498] usbcore: registered new interface driver usbfs
    [    1.098025] usbcore: registered new interface driver hub
    [    1.103400] usbcore: registered new device driver usb
    [    1.110084] SCSI subsystem initialized
    [    1.114896] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.121693] ehci-platform: EHCI generic platform driver
    [    1.127263] ehci-orion: EHCI orion driver
    [    1.131413] orion-ehci f1058000.usb: EHCI Host Controller
    [    1.136834] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
    [    1.144492] orion-ehci f1058000.usb: irq 40, io mem 0xf1058000
    [    1.160910] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
    [    1.167093] hub 1-0:1.0: USB hub found
    [    1.170862] hub 1-0:1.0: 1 port detected
    [    1.179139] xhci-hcd f10f0000.usb3: xHCI Host Controller
    [    1.184488] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
    [    1.192080] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
    [    1.200644] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000
    [    1.206652] hub 2-0:1.0: USB hub found
    [    1.210421] hub 2-0:1.0: 1 port detected
    [    1.214450] xhci-hcd f10f0000.usb3: xHCI Host Controller
    [    1.219779] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
    [    1.227335] usb usb3: We dont know the algorithms for LPM for this host, disabling LPM.
    [    1.235651] hub 3-0:1.0: USB hub found
    [    1.239417] hub 3-0:1.0: 1 port detected
    [    1.243492] xhci-hcd f10f8000.usb3: xHCI Host Controller
    [    1.248823] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
    [    1.256412] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
    [    1.264975] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000
    [    1.270975] hub 4-0:1.0: USB hub found
    [    1.274743] hub 4-0:1.0: 1 port detected
    [    1.278759] xhci-hcd f10f8000.usb3: xHCI Host Controller
    [    1.284092] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
    [    1.291620] usb usb5: We dont know the algorithms for LPM for this host, disabling LPM.
    [    1.299925] hub 5-0:1.0: USB hub found
    [    1.303697] hub 5-0:1.0: 1 port detected
    [    1.308557] usbcore: registered new interface driver usb-storage
    [    2.087795] init: - preinit -
    Press the [f] key and hit [enter] to enter failsafe mode
    Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
    [    5.131673] procd: - early -
    [    5.706452] procd: - ubus -
    [    6.710759] random: ubusd urandom read with 0 bits of entropy available
    [    6.717649] procd: - init -
    Please press Enter to activate this console.
    [    6.863841] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [    6.871496] i2c /dev entries driver
    [    6.876831] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    6.884031] nf_conntrack version 0.5.0 (16162 buckets, 64648 max)
    [    7.074295] xt_time: kernel timezone is -0000
    [    7.091235] PPP generic driver version 2.4.2
    [    7.095849] NET: Registered protocol family 24
    [    8.723584] device eth0 entered promiscuous mode
    [    8.728953] br-lan: port 1(eth0) entered forwarding state
    [    8.734388] br-lan: port 1(eth0) entered forwarding state
    [    8.751499] device eth1 entered promiscuous mode
    [    8.756174] br-lan: port 2(eth1) entered forwarding state
    [    8.761615] br-lan: port 2(eth1) entered forwarding state
    [    8.781126] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
    [    9.720913] br-lan: port 1(eth0) entered disabled state
    [    9.726221] br-lan: port 2(eth1) entered disabled state
    [   10.730912] mvneta f1030000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
    [   10.738772] br-lan: port 1(eth0) entered forwarding state
    [   10.744197] br-lan: port 1(eth0) entered forwarding state
    [   10.750020] mvneta f1034000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
    [   10.757942] br-lan: port 2(eth1) entered forwarding state
    [   10.763366] br-lan: port 2(eth1) entered forwarding state
    [   12.740888] br-lan: port 1(eth0) entered forwarding state
    [   12.760887] br-lan: port 2(eth1) entered forwarding state
 
 
    BusyBox v1.24.1 () built-in shell (ash)
 
      _______                     ________        __
     |       |.-----.-----.-----.|  |  |  |.----.|  |_
     |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
     |_______||   __|_____|__|__||________||__|  |____|
              |__| W I R E L E S S   F R E E D O M
     -----------------------------------------------------
     DESIGNATED DRIVER (Bleeding Edge, r48735)
     -----------------------------------------------------
      * 2 oz. Orange Juice         Combine all juices in a
      * 2 oz. Pineapple Juice      tall glass filled with
      * 2 oz. Grapefruit Juice     ice, stir well.
      * 2 oz. Cranberry Juice
     -----------------------------------------------------
    root@OpenWrt:/#

r49395 (Compiled 2018.01.27 | Xue Liu’s OpenWrt Repo)

   Marvell>> tftpboot openwrt-mvebu-armada-388-clearfog-initramfs
   Using egiga1 device
   TFTP from server 10.4.50.38; our IP address is 10.4.50.170
   Filename 'openwrt-mvebu-armada-388-clearfog-initramfs'.
   Load address: 0x2000000
   Loading: #################################################################
   	  #################################################################
   	  #################################################################
   	  2.4 MiB/s
   done
   Bytes transferred = 3920894 (3bd3fe hex)
   Marvell>> bootm
   ## Booting kernel from Legacy Image at 02000000 ...
      Image Name:   ARM OpenWrt Linux-4.1.23
      Created:      2016-06-30   5:39:05 UTC
      Image Type:   ARM Linux Kernel Image (uncompressed)
      Data Size:    3920830 Bytes = 3.7 MiB
      Load Address: 00008000
      Entry Point:  00008000
      Verifying Checksum ... OK
      Loading Kernel Image ... OK
   OK
 
   Starting kernel ...
 
   [    0.000000] Booting Linux on physical CPU 0x0
   [    0.000000] Linux version 4.1.23 (jw@u17) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 r49395) ) #2 SMP Sat Jan 27 05:52:51 UTC 2018
   [    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
   [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
   [    0.000000] Machine model: SolidRun Clearfog A1
   [    0.000000] Memory policy: Data cache writealloc
   [    0.000000] PERCPU: Embedded 10 pages/cpu @eefd1000 s11776 r8192 d20992 u40960
   [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260624
   [    0.000000] Kernel command line: 
   [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
   [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
   [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
   [    0.000000] Memory: 1026868K/1048576K available (3435K kernel code, 138K rwdata, 1228K rodata, 7544K init, 168K bss, 21708K reserved, 0K cma-reserved, 270336K highmem)
   [    0.000000] Virtual kernel memory layout:
   [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
   [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
   [    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
   [    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
   [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
   [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
   [    0.000000]       .text : 0xc0008000 - 0xc0495e9c   (4664 kB)
   [    0.000000]       .init : 0xc0496000 - 0xc0bf4000   (7544 kB)
   [    0.000000]       .data : 0xc0bf4000 - 0xc0c1694c   ( 139 kB)
   [    0.000000]        .bss : 0xc0c1694c - 0xc0c40a24   ( 169 kB)
   [    0.000000] Hierarchical RCU implementation.
   [    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
   [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
   [    0.000000] NR_IRQS:16 nr_irqs:16 16
   [    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
   [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
   [    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
   [    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
   [    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
   [    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x46070001
   [    0.000006] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
   [    0.000016] clocksource armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
   [    0.000156] Calibrating delay loop... 3188.32 BogoMIPS (lpj=15941632)
   [    0.059921] pid_max: default: 32768 minimum: 301
   [    0.059975] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
   [    0.059980] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
   [    0.060187] CPU: Testing write buffer coherency: ok
   [    0.060287] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
   [    0.060312] Setting up static identity map for 0x8280 - 0x82d8
   [    0.060399] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
   [    0.060486] mvebu-pmsu: Initializing Power Management Service Unit
   [    0.060919] Booting CPU 1
   [    0.119939] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
   [    0.119968] Brought up 2 CPUs
   [    0.119974] SMP: Total of 2 processors activated (6384.02 BogoMIPS).
   [    0.119977] CPU: All CPU(s) started in SVC mode.
   [    0.121712] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
   [    0.121790] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
   [    0.121823] pinctrl core: initialized pinctrl subsystem
   [    0.122159] NET: Registered protocol family 16
   [    0.122595] DMA: preallocated 256 KiB pool for atomic coherent allocations
   [    0.149921] cpuidle: using governor ladder
   [    0.152478] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
   [    0.152487] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling[    0.180937] Switched to clocksource armada_370_xp_clocksource
   [    0.181394] NET: Registered protocol family 2
   [    0.181808] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
   [    0.181846] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
   [    0.181909] TCP: Hash tables configured (established 8192 bind 8192)
   [    0.181945] UDP hash table entries: 512 (order: 2, 16384 bytes)
   [    0.181969] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
   [    0.182064] NET: Registered protocol family 1
   [    0.211472] futex hash table entries: 512 (order: 3, 32768 bytes)
   [    0.211907] squashfs: version 4.0 (2009/01/31) Phillip Lougher
   [    0.211916] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
   [    0.212261] bounce: pool size: 64 pages
   [    0.212269] io scheduler noop registered
   [    0.212276] io scheduler deadline registered (default)
   [    0.212708] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
   [    0.213051] irq: Cannot allocate irq_descs @ IRQ48, assuming pre-allocated
   [    0.213206] irq: Cannot allocate irq_descs @ IRQ80, assuming pre-allocated
   [    0.213509] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
   [    0.213517] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
   [    0.213525] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
   [    0.213531] pci_bus 0000:00: root bus resource [bus 00-ff]
   [    0.213721] PCI: bus0: Fast back to back transfers disabled
   [    0.213728] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
   [    0.213734] pci 0000:00:03.0: bridge configuration invalid ([bus 00-00]), reconfiguring
   [    0.213786] PCI: bus1: Fast back to back transfers enabled
   [    0.213847] PCI: bus2: Fast back to back transfers enabled
   [    0.213868] pci 0000:00:02.0: PCI bridge to [bus 01]
   [    0.213876] pci 0000:00:03.0: PCI bridge to [bus 02]
   [    0.213955] mv_xor f1060800.xor: Marvell shared XOR driver
   [    0.251038] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
   [    0.290970] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
   [    0.291030] mv_xor f1060900.xor: Marvell shared XOR driver
   [    0.330964] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
   [    0.370964] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
   [    0.371073] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
   [    0.371364] console [ttyS0] disabled
   [    0.391394] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 15625000) is a 16550A
   [    0.974982] console [ttyS0] enabled
   [    0.998634] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 15625000) is a 16550A
   [    1.008502] libphy: Fixed MDIO Bus: probed
   [    1.012730] libphy: orion_mdio_bus: probed
   [    1.017876] mvneta f1030000.ethernet eth0: Using hardware mac address 00:50:43:5a:07:04
   [    1.026640] mvneta f1034000.ethernet eth1: Using random mac address d6:15:0c:61:68:d9
   [    1.035175] mvneta f1070000.ethernet eth2: Using hardware mac address 00:50:43:0a:07:04
   [    1.043675] NET: Registered protocol family 10
   [    1.048569] NET: Registered protocol family 17
   [    1.053061] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
   [    1.065708] 8021q: 802.1Q VLAN Support v1.8
   [    1.069920] Registering SWP/SWPB emulation handler
   [    1.075317] hctosys: unable to open rtc device (rtc0)
   [    1.084968] Freeing unused kernel memory: 7544K (c0496000 - c0bf4000)
   [    1.095444] init: Console is alive
   [    1.105049] usbcore: registered new interface driver usbfs
   [    1.110581] usbcore: registered new interface driver hub
   [    1.115954] usbcore: registered new device driver usb
   [    1.126902] SCSI subsystem initialized
   [    1.131749] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
   [    1.138544] ehci-platform: EHCI generic platform driver
   [    1.144141] ehci-orion: EHCI orion driver
   [    1.148257] orion-ehci f1058000.usb: EHCI Host Controller
   [    1.153689] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
   [    1.161343] orion-ehci f1058000.usb: irq 40, io mem 0xf1058000
   [    1.180940] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
   [    1.187137] hub 1-0:1.0: USB hub found
   [    1.190909] hub 1-0:1.0: 1 port detected
   [    1.199341] xhci-hcd f10f0000.usb3: xHCI Host Controller
   [    1.204699] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
   [    1.212291] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
   [    1.220854] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000
   [    1.226864] hub 2-0:1.0: USB hub found
   [    1.230634] hub 2-0:1.0: 1 port detected
   [    1.234670] xhci-hcd f10f0000.usb3: xHCI Host Controller
   [    1.239997] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
   [    1.247530] usb usb3: We dont know the algorithms for LPM for this host, disabling LPM.
   [    1.255845] hub 3-0:1.0: USB hub found
   [    1.259613] hub 3-0:1.0: 1 port detected
   [    1.263710] xhci-hcd f10f8000.usb3: xHCI Host Controller
   [    1.269041] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
   [    1.276630] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
   [    1.285195] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000
   [    1.291190] hub 4-0:1.0: USB hub found
   [    1.294958] hub 4-0:1.0: 1 port detected
   [    1.298974] xhci-hcd f10f8000.usb3: xHCI Host Controller
   [    1.304309] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
   [    1.311842] usb usb5: We dont know the algorithms for LPM for this host, disabling LPM.
   [    1.320147] hub 5-0:1.0: USB hub found
   [    1.323921] hub 5-0:1.0: 1 port detected
   [    1.329839] sdhci: Secure Digital Host Controller Interface driver
   [    1.336054] sdhci: Copyright(c) Pierre Ossman
   [    1.340684] sdhci-pltfm: SDHCI platform and OF driver helper
   [    1.347178] usbcore: registered new interface driver usb-storage
   [    1.360572] init: - preinit -
   Press the [f] key and hit [enter] to enter failsafe mode
   Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
   [    4.406424] procd: - early -
   [    4.965685] procd: - ubus -
   [    5.019086] random: ubusd urandom read with 0 bits of entropy available
   [    5.025976] procd: - init -
   Please press Enter to activate this console.
   [    5.196134] device-mapper: ioctl: 4.31.0-ioctl (2015-3-12) initialised: dm-devel@redhat.com
   [    5.207844] ip6_tables: (C) 2000-2006 Netfilter Core Team
   [    5.215742] i2c /dev entries driver
   [    5.221208] ip_tables: (C) 2000-2006 Netfilter Core Team
   [    5.228628] nf_conntrack version 0.5.0 (16162 buckets, 64648 max)
   [    5.414558] xt_time: kernel timezone is -0000
   [    5.431616] PPP generic driver version 2.4.2
   [    5.436259] NET: Registered protocol family 24
   [    7.114973] device eth0 entered promiscuous mode
   [    7.122099] br-lan: port 1(eth0) entered forwarding state
   [    7.127527] br-lan: port 1(eth0) entered forwarding state
   [    7.148077] device eth1 entered promiscuous mode
   [    7.152853] br-lan: port 2(eth1) entered forwarding state
   [    7.158270] br-lan: port 2(eth1) entered forwarding state
   [    7.173015] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
   [    8.110954] br-lan: port 1(eth0) entered disabled state
   [    8.116262] br-lan: port 2(eth1) entered disabled state
   [    9.120956] mvneta f1030000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
   [    9.128814] br-lan: port 1(eth0) entered forwarding state
   [    9.134240] br-lan: port 1(eth0) entered forwarding state
   [    9.140957] mvneta f1034000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
   [    9.148813] br-lan: port 2(eth1) entered forwarding state
   [    9.154235] br-lan: port 2(eth1) entered forwarding state
   [   11.130932] br-lan: port 1(eth0) entered forwarding state
   [   11.150930] br-lan: port 2(eth1) entered forwarding state
 
   BusyBox v1.24.2 () built-in shell (ash)
   Enter 'help' for a list of built-in commands.
      _______                     ________        __
    |       |.-----.-----.-----.|  |  |  |.----.|  |_
    |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
    |_______||   __|_____|__|__||________||__|  |____|
             |__| W I R E L E S S   F R E E D O M
    -----------------------------------------------------
    DESIGNATED DRIVER (Bleeding Edge, r49395)
    -----------------------------------------------------
     * 2 oz. Orange Juice         Combine all juices in a
     * 2 oz. Pineapple Juice      tall glass filled with
     * 2 oz. Grapefruit Juice     ice, stir well.
     * 2 oz. Cranberry Juice
    -----------------------------------------------------
   root@OpenWrt:/#
01.02.20181320KernelBug ReportVery LowCriticalcritical crash and restartTrunkUnconfirmed Task Description

There is a random crash all network stop and the router restart .

I’m using last dev build .

Linksys WRT1900ACS

OpenWrt SNAPSHOT r5985-33e8f7e / LuCI Master (git-18.030.59690-47d1eaa)

Kernel 4.9.77

root@OpenWrt:~# cat /sys/kernel/debug/crashlog
Time: 1517518692.641321
Modules:        pppoe@bf1a6000+1e77     ppp_async@bf1a1000+1911 pppox@bf19d000+567      ppp_generic@bf193000+5218       iptable_nat@bf18a000+451        ipt_REJECT@bf186000+3ea ipt_MASQUERADE@bf182000+332     xt_time@bf17e000+6a6    xt_tcpudp@bf17a000+758       xt_state@bf176000+349   xt_nat@bf172000+59d     xt_multiport@bf16e000+554       xt_mark@bf16a000+320    xt_mac@bf166000+2c7     xt_limit@bf162000+48d   xt_conntrack@bf15e000+958       xt_comment@bf15a000+24b xt_TCPMSS@bf156000+a68       xt_REDIRECT@bf152000+375        xt_LOG@bf14e000+3c3     xt_CT@bf14a000+b55      slhc@bf146000+fd2       nf_reject_ipv4@bf142000+803     nf_nat_redirect@bf13e000+3db    nf_nat_masquerade_ipv4@bf13a000+60d     nf_conntrack_ipv4@bf135000+17e5      nf_nat_ipv4@bf131000+f1e        nf_nat@bf12b000+24c0    nf_log_ipv4@bf127000+c36        nf_defrag_ipv4@bf123000+3bc     nf_conntrack_rtcache@bf11f000+a92       nf_conntrack@bf10b000+e773      iptable_mangle@bf107000+3fc  iptable_filter@bf103000+37c     ip_tables@bf0fd000+2817 crc_ccitt@bf0f9000+42b  mwlwifi@bf0d6000+1b6d5  mac80211@bf068000+5f891 cfg80211@bf02e000+311b5 compat@bf029000+12f5    ip6t_REJECT@bf025000+3ec        nf_reject_ipv6@bf021000+908  nf_log_ipv6@bf01d000+cf7        nf_log_common@bf019000+98f      ip6table_mangle@bf015000+4be    ip6table_filter@bf011000+33e    ip6_tables@bf00b000+2715        x_tables@bf005000+2aac  gpio_button_hotplug@bf000000+1784
<7>[   17.893444] ieee80211 phy0: change: 0x40
<7>[   17.911298] ieee80211 phy1: change: 0x40
<7>[   18.111289] ieee80211 phy0: change: 0x40
<7>[   18.121292] ieee80211 phy1: change: 0x40
<7>[   18.321297] ieee80211 phy1: change: 0x40
<7>[   18.331297] ieee80211 phy0: change: 0x40
<7>[   18.521292] ieee80211 phy1: change: 0x40
<7>[   18.551290] ieee80211 phy0: change: 0x40
<7>[   18.721288] ieee80211 phy1: change: 0x40
<7>[   18.771289] ieee80211 phy0: change: 0x40
<7>[   18.931296] ieee80211 phy1: change: 0x40
<7>[   18.991298] ieee80211 phy0: change: 0x40
<7>[   19.020305] ieee80211 phy1: change: 0x100
<7>[   19.029330] ieee80211 phy1: change: 0x100
<7>[   19.038371] ieee80211 phy1: change: 0x40
<7>[   19.211298] ieee80211 phy0: change: 0x40
<7>[   19.241292] ieee80211 phy1: change: 0x40
<7>[   19.431290] ieee80211 phy0: change: 0x40
<7>[   19.441292] ieee80211 phy1: change: 0x40
<7>[   19.641290] ieee80211 phy1: change: 0x40
<7>[   19.651294] ieee80211 phy0: change: 0x60
<7>[   19.851295] ieee80211 phy1: change: 0x40
<7>[   19.871292] ieee80211 phy0: change: 0x40
<7>[   20.051291] ieee80211 phy1: change: 0x40
<7>[   20.091295] ieee80211 phy0: change: 0x40
<7>[   20.271295] ieee80211 phy1: change: 0x40
<7>[   20.311290] ieee80211 phy0: change: 0x40
<7>[   20.471289] ieee80211 phy1: change: 0x40
<7>[   20.531292] ieee80211 phy0: change: 0x40
<7>[   20.681288] ieee80211 phy1: change: 0x40
<7>[   20.751289] ieee80211 phy0: change: 0x40
<7>[   20.881292] ieee80211 phy1: change: 0x40
<7>[   20.971288] ieee80211 phy0: change: 0x40
<7>[   21.081288] ieee80211 phy1: change: 0x40
<7>[   21.191289] ieee80211 phy0: change: 0x40
<7>[   21.291292] ieee80211 phy1: change: 0x40
<7>[   21.411291] ieee80211 phy0: change: 0x40
<7>[   21.491290] ieee80211 phy1: change: 0x40
<7>[   21.631288] ieee80211 phy0: change: 0x40
<7>[   21.691293] ieee80211 phy1: change: 0x40
<7>[   21.780306] ieee80211 phy1: change: 0x100
<7>[   21.789330] ieee80211 phy1: change: 0x100
<7>[   21.798374] ieee80211 phy1: change: 0x40
<7>[   21.851290] ieee80211 phy0: change: 0x40
<7>[   22.001288] ieee80211 phy1: change: 0x40
<7>[   22.071295] ieee80211 phy0: change: 0x60
<7>[   22.175310] ieee80211 phy0: change: 0x100
<7>[   22.184332] ieee80211 phy0: change: 0x100
<7>[   22.193444] ieee80211 phy0: change: 0x40
<7>[   22.201309] ieee80211 phy1: change: 0x40
<7>[   22.411296] ieee80211 phy1: change: 0x40
<7>[   22.411298] ieee80211 phy0: change: 0x40
<7>[   22.611290] ieee80211 phy1: change: 0x40
<7>[   22.631293] ieee80211 phy0: change: 0x40
<7>[   22.811293] ieee80211 phy1: change: 0x40
<7>[   22.851290] ieee80211 phy0: change: 0x40
<7>[   23.011290] ieee80211 phy1: change: 0x40
<7>[   23.081291] ieee80211 phy0: change: 0x40
<7>[   23.221291] ieee80211 phy1: change: 0x40
<7>[   23.301289] ieee80211 phy0: change: 0x40
<7>[   23.421287] ieee80211 phy1: change: 0x40
<7>[   23.531289] ieee80211 phy0: change: 0x40
<7>[   23.621289] ieee80211 phy1: change: 0x40
<7>[   23.751294] ieee80211 phy0: change: 0x40
<7>[   23.821289] ieee80211 phy1: change: 0x40
<7>[   23.971291] ieee80211 phy0: change: 0x60
<7>[   24.031292] ieee80211 phy1: change: 0x40
<7>[   24.201295] ieee80211 phy0: change: 0x40
<7>[   24.231289] ieee80211 phy1: change: 0x40
<7>[   24.421288] ieee80211 phy0: change: 0x40
<7>[   24.431294] ieee80211 phy1: change: 0x40
<7>[   24.520307] ieee80211 phy1: change: 0x100
<7>[   24.529329] ieee80211 phy1: change: 0x100
<7>[   24.538373] ieee80211 phy1: change: 0x40
<7>[   24.641294] ieee80211 phy0: change: 0x40
<7>[   24.741289] ieee80211 phy1: change: 0x40
<7>[   24.861288] ieee80211 phy0: change: 0x40
<7>[   24.951295] ieee80211 phy1: change: 0x40
<7>[   25.091294] ieee80211 phy0: change: 0x40
<7>[   25.151291] ieee80211 phy1: change: 0x40
<7>[   25.311289] ieee80211 phy0: change: 0x40
<7>[   25.351293] ieee80211 phy1: change: 0x40
<7>[   25.541292] ieee80211 phy0: change: 0x40
<7>[   25.551310] ieee80211 phy1: change: 0x40
<7>[   25.751295] ieee80211 phy1: change: 0x40
<7>[   25.761310] ieee80211 phy0: change: 0x40
<7>[   25.951289] ieee80211 phy1: change: 0x40
<7>[   25.991289] ieee80211 phy0: change: 0x40
<7>[   26.151288] ieee80211 phy1: change: 0x40
<7>[   26.211288] ieee80211 phy0: change: 0x40
<7>[   26.351289] ieee80211 phy1: change: 0x40
<7>[   26.431321] ieee80211 phy0: change: 0x60
<7>[   26.537389] ieee80211 phy0: change: 0x100
<7>[   26.546386] ieee80211 phy0: change: 0x100
<7>[   26.555537] ieee80211 phy0: change: 0x40
<7>[   26.561381] ieee80211 phy1: change: 0x40
<7>[   26.791303] ieee80211 phy1: change: 0x40
<7>[   26.801338] ieee80211 phy0: change: 0x40
<7>[   26.991293] ieee80211 phy1: change: 0x40
<7>[   27.021299] ieee80211 phy0: change: 0x40
<7>[   27.191295] ieee80211 phy1: change: 0x40
<7>[   27.241292] ieee80211 phy0: change: 0x40
<7>[   27.279318] ieee80211 phy1: change: 0x100
<7>[   27.288340] ieee80211 phy1: change: 0x100
<7>[   27.297430] ieee80211 phy1: change: 0x40
<7>[   27.461292] ieee80211 phy0: change: 0x40
<7>[   27.501295] ieee80211 phy1: change: 0x40
<7>[   27.681296] ieee80211 phy0: change: 0x40
<7>[   27.701297] ieee80211 phy1: change: 0x40
<7>[   27.891302] ieee80211 phy0: change: 0x40
<7>[   27.911294] ieee80211 phy1: change: 0x40
<7>[   28.101301] ieee80211 phy0: change: 0x40
<7>[   28.111316] ieee80211 phy1: change: 0x40
<7>[   28.311293] ieee80211 phy1: change: 0x40
<7>[   28.331291] ieee80211 phy0: change: 0x60
<7>[   28.511289] ieee80211 phy1: change: 0x40
<7>[   28.551289] ieee80211 phy0: change: 0x40
<7>[   28.721289] ieee80211 phy1: change: 0x40
<7>[   28.771298] ieee80211 phy0: change: 0x40
<7>[   28.921289] ieee80211 phy1: change: 0x40
<7>[   29.001293] ieee80211 phy0: change: 0x40
<7>[   29.131293] ieee80211 phy1: change: 0x40
<7>[   29.231288] ieee80211 phy0: change: 0x40
<7>[   29.331289] ieee80211 phy1: change: 0x40
<7>[   29.451296] ieee80211 phy0: change: 0x40
<7>[   29.531293] ieee80211 phy1: change: 0x40
<7>[   29.671292] ieee80211 phy0: change: 0x40
<7>[   29.731297] ieee80211 phy1: change: 0x40
<7>[   29.901288] ieee80211 phy0: change: 0x40
<7>[   29.931292] ieee80211 phy1: change: 0x40
<7>[   30.019319] ieee80211 phy1: change: 0x100
<7>[   30.082758] ieee80211 phy1: change: 0x100
<7>[   30.091295] ieee80211 phy1: change: 0x42
<7>[   30.121296] ieee80211 phy0: change: 0x40
<6>[   30.244344] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
<6>[   30.250795] br-lan: port 2(wlan1) entered blocking state
<6>[   30.256146] br-lan: port 2(wlan1) entered forwarding state
<7>[   30.341319] ieee80211 phy0: change: 0x40
<7>[   30.561298] ieee80211 phy0: change: 0x40
<7>[   30.781295] ieee80211 phy0: change: 0x60
<7>[   30.885313] ieee80211 phy0: change: 0x100
<7>[   30.894341] ieee80211 phy0: change: 0x100
<7>[   30.903413] ieee80211 phy0: change: 0x40
<7>[   31.121301] ieee80211 phy0: change: 0x40
<7>[   31.341291] ieee80211 phy0: change: 0x40
<7>[   31.561292] ieee80211 phy0: change: 0x40
<7>[   31.781291] ieee80211 phy0: change: 0x40
<7>[   32.001301] ieee80211 phy0: change: 0x40
<7>[   32.221294] ieee80211 phy0: change: 0x40
<7>[   32.441293] ieee80211 phy0: change: 0x40
<7>[   32.661293] ieee80211 phy0: change: 0x60
<7>[   32.881294] ieee80211 phy0: change: 0x40
<7>[   33.101293] ieee80211 phy0: change: 0x40
<7>[   33.321293] ieee80211 phy0: change: 0x40
<7>[   33.541293] ieee80211 phy0: change: 0x40
<7>[   33.761291] ieee80211 phy0: change: 0x40
<7>[   33.981291] ieee80211 phy0: change: 0x40
<7>[   34.201291] ieee80211 phy0: change: 0x40
<7>[   34.421291] ieee80211 phy0: change: 0x40
<7>[   34.641291] ieee80211 phy0: change: 0x40
<7>[   34.861291] ieee80211 phy0: change: 0x40
<7>[   35.081295] ieee80211 phy0: change: 0x60
<7>[   35.185310] ieee80211 phy0: change: 0x100
<7>[   35.194337] ieee80211 phy0: change: 0x100
<7>[   35.203457] ieee80211 phy0: change: 0x40
<7>[   35.421292] ieee80211 phy0: change: 0x40
<7>[   35.641295] ieee80211 phy0: change: 0x40
<7>[   35.745318] ieee80211 phy0: change: 0x100
<7>[   35.809156] ieee80211 phy0: change: 0x100
<7>[   35.818178] ieee80211 phy0: change: 0x42
<6>[   35.990319] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
<6>[   35.996762] br-lan: port 3(wlan0) entered blocking state
<6>[   36.002103] br-lan: port 3(wlan0) entered forwarding state
<6>[  121.174510] xt_conntrack: cannot load conntrack support for proto=10
<6>[  149.624016] xt_conntrack: cannot load conntrack support for proto=10
<6>[  317.781883] xt_conntrack: cannot load conntrack support for proto=10
<1>[70442.763618] Unable to handle kernel NULL pointer dereference at virtual address 0000000c
<1>[70442.771761] pgd = ddddc000
<1>[70442.774477] [0000000c] *pgd=1d23d831, *pte=00000000, *ppte=00000000
<0>[70442.780811] Internal error: Oops: 17 [#1] SMP ARM
<4>[70442.785532] Modules linked in: pppoe ppp_async pppox ppp_generic iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt mwlwifi mac80211 cfg80211 compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables gpio_button_hotplug
<4>[70442.838560] CPU: 1 PID: 1711 Comm: hostapd Not tainted 4.9.77 #0
<4>[70442.844589] Hardware name: Marvell Armada 380/385 (Device Tree)
<4>[70442.850532] task: dec6d300 task.stack: ddd78000
<4>[70442.855092] PC is at mwl_fwcmd_destroy_ba+0x98/0xf4 [mwlwifi]
<4>[70442.860867] LR is at mwl_fwcmd_destroy_ba+0x34/0xf4 [mwlwifi]
<4>[70442.866637] pc : [<bf0dc844>]    lr : [<bf0dc7e0>]    psr: 80000013
<4>[70442.866637] sp : ddd79c80  ip : 00000000  fp : 00000000
<4>[70442.878161] r10: ddde3620  r9 : de38cac0  r8 : de38cac0
<4>[70442.883406] r7 : ddde1620  r6 : ddde2924  r5 : 00000000  r4 : ddd8c000
<4>[70442.889959] r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : 00000000
<4>[70442.896513] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
<4>[70442.903677] Control: 10c5387d  Table: 1dddc04a  DAC: 00000051
<0>[70442.909445] Process hostapd (pid: 1711, stack limit = 0xddd78210)
<0>[70442.915562] Stack: (0xddd79c80 to 0xddd7a000)
<0>[70442.919937] 9c80: 00000001 ddde1620 dd3c55d8 ddde45e0 ddde0be0 bf0dcbac dd3c55d8 ddde1620
<0>[70442.928150] 9ca0: ddde0be0 df6fbce0 de3d0300 de7d4800 00000014 bf0d7c68 dd3c5000 00000002
<0>[70442.936362] 9cc0: 00000001 dd14f414 de3d0300 de7d4800 00000014 bf06aca4 ddde0be0 df6fb4c0
<0>[70442.944574] 9ce0: dd3c5000 bf06d2e4 00000002 00000002 dd3c5000 ddde0be0 df6fb4c0 bf06e278
<0>[70442.952786] 9d00: dd3c5000 00000000 00000000 dd3c5000 dd14f420 bf06e3c4 df6fb4c0 00000454
<0>[70442.960999] 9d20: dd14f420 bf06e43c ddde0000 df6fb000 ddd79d68 bf03add8 dd14f420 0002000c
<0>[70442.969210] 9d40: ddd79d68 de3d0300 df57a000 bf0296e8 00000000 df57a1fc df57a000 c03d4560
<0>[70442.977423] 9d60: bf05653a 1f5b5000 5a7275f6 00000601 dd14f400 dd14f410 dde5ed80 de7d4800
<0>[70442.985635] 9d80: ddde0000 df6fb000 dd14f400 de3d0300 c03d42d8 ddc99c00 ddd79dcc 00000000
<0>[70442.993847] 9da0: 00000008 c03d38fc c0656b08 de3d0300 de3d0300 c03d42c4 df4ba400 00000028
<0>[70443.002059] 9dc0: de3d0300 c03d3300 ddc99c00 7fffffff 00000000 de3d0300 00000000 ddd79f68
<0>[70443.010270] 9de0: 00000028 ddc99c00 00000000 c03d376c 00000000 c0227e2c 00000028 df7dad00
<0>[70443.018482] 9e00: 00000000 000006af 00000000 00000000 00000001 ddd79f68 00000000 ddd79e8c
<0>[70443.026694] 9e20: df16a000 00000000 c0630fc8 00000000 00000000 c038e534 ddd79f68 c038eac4
<0>[70443.034906] 9e40: 00000000 00000000 00000000 009a0010 00000028 be8f2c1c 00000000 ddd79eb4
<0>[70443.043118] 9e60: df16a000 c038ecbc ddbd30c0 00000000 be8f2c74 009b4030 00004000 00000000
<0>[70443.051330] 9e80: ffffffff ffffffff 00000051 c0654d80 ddd79ecc 00000051 00008933 00000000
<0>[70443.059541] 9ea0: 00000000 be8f2cac 00000020 00000010 00000000 00000000 00000000 00000000
<0>[70443.067753] 9ec0: ffffffff 0000007f 00000000 6e616c77 dd636c80 60000013 df401080 dd636a00
<0>[70443.075965] 9ee0: 00000000 dd636a00 df22d0a0 c00f379c df22d10c 00000007 00000000 00000000
<0>[70443.084177] 9f00: dec6d300 c005af44 ddd79f08 ddd79f08 df401180 df22d080 df178000 00000000
<0>[70443.092390] 9f20: df401580 df178000 df178000 0004094d df22d0a0 df16a000 be8f2c90 00000000
<0>[70443.100601] 9f40: 00000128 c000ef04 ddd78000 00000000 b6f44740 c038f864 00000000 00000000
<0>[70443.108813] 9f60: 00000000 fffffff7 ddd79eac 0000000c 00000001 00000000 00000000 ddd79e54
<0>[70443.117025] 9f80: 00000000 00000006 00000000 00000000 00000000 00000000 00000000 00000000
<0>[70443.125236] 9fa0: b6fbe110 c000ed40 00000000 00000000 00000005 be8f2c90 00000000 00000000
<0>[70443.133449] 9fc0: 00000000 00000000 b6fbe110 00000128 b6f44ef0 00000000 000252b4 b6f44740
<0>[70443.141661] 9fe0: be8f2c38 be8f2c24 b6f95204 b6f946d0 60000010 00000005 ffffffff ffffffff
<4>[70443.149890] [<bf0dc844>] (mwl_fwcmd_destroy_ba [mwlwifi]) from [<bf0dcbac>] (mwl_fwcmd_del_sta_streams+0x98/0x330 [mwlwifi])
<4>[70443.161164] [<bf0dcbac>] (mwl_fwcmd_del_sta_streams [mwlwifi]) from [<bf0d7c68>] (mwl_mac80211_sta_remove+0x38/0x1ec [mwlwifi])
<4>[70443.172740] [<bf0d7c68>] (mwl_mac80211_sta_remove [mwlwifi]) from [<bf06aca4>] (drv_sta_state+0x16c/0x184 [mac80211])
<4>[70443.183433] [<bf06aca4>] (drv_sta_state [mac80211]) from [<bf06d2e4>] (sta_info_move_state+0xbc/0x1d0 [mac80211])
<4>[70443.193775] [<bf06d2e4>] (sta_info_move_state [mac80211]) from [<bf06e278>] (sta_set_sinfo+0x954/0xa80 [mac80211])
<4>[70443.204204] [<bf06e278>] (sta_set_sinfo [mac80211]) from [<bf06e3c4>] (__sta_info_destroy+0x20/0x28 [mac80211])
<4>[70443.214372] [<bf06e3c4>] (__sta_info_destroy [mac80211]) from [<bf06e43c>] (sta_info_destroy_addr_bss+0x2c/0x44 [mac80211])
<4>[70443.225588] [<bf06e43c>] (sta_info_destroy_addr_bss [mac80211]) from [<bf03add8>] (nl80211_del_station+0xe8/0xf0 [cfg80211])
<4>[70443.236868] [<bf03add8>] (nl80211_del_station [cfg80211]) from [<bf0296e8>] (extack_doit+0x2c/0x70 [compat])
<4>[70443.246741] [<bf0296e8>] (extack_doit [compat]) from [<c03d4560>] (genl_rcv_msg+0x288/0x310)
<4>[70443.255216] [<c03d4560>] (genl_rcv_msg) from [<c03d38fc>] (netlink_rcv_skb+0x58/0xb4)
<4>[70443.263080] [<c03d38fc>] (netlink_rcv_skb) from [<c03d42c4>] (genl_rcv+0x20/0x34)
<4>[70443.270593] [<c03d42c4>] (genl_rcv) from [<c03d3300>] (netlink_unicast+0x138/0x1fc)
<4>[70443.278283] [<c03d3300>] (netlink_unicast) from [<c03d376c>] (netlink_sendmsg+0x2f0/0x310)
<4>[70443.286586] [<c03d376c>] (netlink_sendmsg) from [<c038e534>] (sock_sendmsg+0x14/0x24)
<4>[70443.294451] [<c038e534>] (sock_sendmsg) from [<c038eac4>] (___sys_sendmsg+0x184/0x228)
<4>[70443.302403] [<c038eac4>] (___sys_sendmsg) from [<c038f864>] (__sys_sendmsg+0x40/0x64)
<4>[70443.310271] [<c038f864>] (__sys_sendmsg) from [<c000ed40>] (ret_fast_syscall+0x0/0x48)
<0>[70443.318223] Code: e5840010 e5d81004 e5c41014 e598c000 (e59c300c)
<4>[70443.324372] ---[ end trace bf36642614617548 ]---
Showing tasks 1 - 50 of 505 Page 1 of 111 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing