LEDE Project

Welcome to the LEDE Project bug reporting and issue tracking system

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

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

OpenedIDCategoryTask TypePrioritySeveritySummaryReported InStatus
10.08.2017953KernelBug ReportVery LowCriticalRT8187/RT3070 crashing/bootloop when plug (kmod-RT2800-...lede-17.01Unconfirmed Task Description

17.01.2 - brcm63xx - HG556A VER.B
- HG556A VER.B (with Atheros chipset) and Ralink 3070 device
- After flash the 17.01.2 and install kmod-RT2800-usb driver, and then plug the Ralink 3070 device, it crashes and reboots. Then it never boots again if you do not unplug the device (bootloop)
- I have downgraded to 17.01.0 in order to fix the problem. Here it works fine
- Other usb devices works OK.

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


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.

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

 


23.05.2017800KernelBug ReportVery LowCriticalath9k sta and ap mode change. system hangTrunkUnconfirmed Task Description

mips device with ar9580 wireless card sta and ap mode change by use test.sh
test.sh
while [ 1 ]
do
mv /etc/config/wireless /etc/config/wirelessbak
mv /etc/config/wireless1 /etc/config/wireless
mv /etc/config/wirelessbak /etc/config/wireless1
/etc/init.d/network restart
sleep 50
done

I found the system will hang , It like a deadlock but I can’t verify

Use the same shell I change the ath9k code

just delete the full sleep timer

modify ath9k_ps_wakeup ath9k_ps_restore
delete mod_timer(&sc→sc_pm_lock,flags);
detete del_timer_sync(&sc→sc_pm_lock);
The system run ok

 


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.

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?

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

 


16.08.2017964Base systemBug ReportVery LowHighodhcpdIPv6 node(Win 10) stops sending Router Solicitati...TrunkUnconfirmed Task Description

Router: Buffalo wbmr-hp-g300h
Lede version: Reboot (SNAPSHOT, r4696-df3295f50e)
ISP: TIM Italy - ADSL2+
NIC: Realtek PCIe GBE - Driver 10.19.627.2017 (27/06/2017 - Latest)

I have set up a new pppoe session to get IPv6 on all my mobile devices(see attachment). Without a dedicated pppoe session,
my Android phone could not reach IPv4-only hosts.

Note:My ISP delegates via DHCPv6-PD a single dynamic /64.

Problem:

Everything worked fine until I noticed that my Windows 10 (Build 15063.540) laptop loses its IPv6 default gateway after 3 hours
more or less. If I disable/reenable the NIC (wired) the default gateway returns and I can use IPv6.

I did a wireshark capture on my laptop and I can see my laptop receiving RAs but I stop sending RS to the router.
I captured at the same time traffic on the router and indeed there are no RS from my laptop.

I attach here the output before and after I have a default gateway for IPv6
- ifstatus wan
- ifstatus wan6
- ifstatus lan
- ubus call network.interface.wan6 status

You can find also my /etc/config/network, /etc/config/firewall and /etc/config/dhcp settings.

Let me know if you need more logs.
I can easily reproduce this problem(just have to wait 3 hours).

Forum discussion: https://forum.lede-project.org/t/problem-with-ipv6-and-mobile-device/241

16.08.2017963KernelBug ReportVery LowHighchips is qca9531, pc ping device ip fail or timeout wit...lede-17.01Unconfirmed Task Description

this problem is always occurs on.

Steps:

  My device is router, chip is QCA9531.
  PC ip is 192.168.1.100, router ip is 192.168.1.1.
  PC execute command "ping 192.168.1.1 -l 65500 -t" fail or timeout.


03.08.2017948PackagesBug ReportVery LowHighlua: on 64bit targets integer number truncation may occ...AllUnconfirmed Task Description

On 64bit target implementations (eg x86_64) and with LNUM on int32
mode (default), assignation of an integer number greater than
UINT_MAX (ie 4294967295), but lesser or equal than UINT_MAX +
0x7FFFFFFF + 1 (ie 6442450943) to a variable does result in
truncation of the final value stored in memory.

E.g.:

   > n=4294967296; print(n)
   0
   > n=6442450943; print(n)
   2147483647

Cause:
LNUM does perform a C-Style cast in the intermediate function wrapper
used to check for the fitness of numbers. This cast is not only unnecessary
but also brings on undefined behaviour on 64bit target implementations
where INT’s and LONG’s are of size 32 and 64bit respectively.

Fix:
Removal of the unnecessary cast in wrapper does bring back the ‘overflow detection’.

Regards, Víctor Calvís.

01.08.2017943Base systemBug ReportVery LowHighiptables 1.6.1 ignores locksTrunkUnconfirmed Task Description

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

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

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

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

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

30.07.2017942PackagesBug ReportMediumHighopenvpn-mbedtls no longer accepts SHA1 certificatesAllNew Task Description

Since the update of mbedtls to version 2.5.1 (in both trunk and lede-17.01), the openvpn client no longer accepts SHA1 certificates.

This gives the following error when the client tries to connect:

  openvpn(client)[1897]: TLS: Initial packet from [AF_INET]XXX:1194, sid=c5d9be97 6dc8ee7f
  openvpn(client)[1897]: VERIFY OK: depth=1, C=FR, ST=XX, L=XX, O=XX, OU=openvpn, CN=openvpn-ca, ??=XX, emailAddress=abuse@XX
  openvpn(client)[1897]: VERIFY ERROR: depth=0, subject=C=FR, ST=XX, L=XX, O=XX, OU=openvpn, CN=server, ??=XX, emailAddress=abuse@XX: The certificate is signed with an unacceptable hash.
  openvpn(client)[1897]: TLS_ERROR: read tls_read_plaintext error: X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
  openvpn(client)[1897]: TLS Error: TLS object -> incoming plaintext read error
  openvpn(client)[1897]: TLS Error: TLS handshake failed

Both the CA cert and the server cert are RSA4096 with SHA1 signature. Strangely, the CA cert is accepted but the server cert is not.

This is similar to  FS#405 , but I think it’s overkill to disallow SHA1 certs: I guess there are lots of servers out there still using SHA1.

30.07.2017940KernelBug ReportVery LowHighkernel crash - f2fs -> fs/f2fs/segment.h:624TrunkUnconfirmed Task Description

today, i tried to install lede trunk ... ( zbt-wg3526-16M-squashfs-sysupgrade.bin 1981770aa6fc723379e978f85143767ef373b6d30ef6fee3ce18338a0bd19980 3840.2 KB Sat Jul 29 14:07:44 2017

but as i wanted to install the f2fs packages ...
via:
#f2fs - for flash mem USB stick
opkg install kmod-fs-f2fs libf2fs f2fs-tools f2fsck mkf2fs

(that error was not existing in trunk from 26.07.2017
it gives me an error:

Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.611023] ————[ cut here ]———— Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.615718] WARNING: CPU: 0 PID: 2927 at fs/f2fs/segment.h:624 build_segment_manager+0×680/0xe4c [f2fs]
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.625292] Modules linked in: f2fs crc32_generic ext4 jbd2 mbcache vfat fat nls_utf8 nls_iso8859_1 nls_cp437 crc32c_generic usb_storage pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 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 Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.696496] xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.704830] CPU: 0 PID: 2927 Comm: mount Not tainted 4.9.40 #0
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.710638] Stack : 00000000 00000000 80547b2a 00000032 80402a24 00000000 00000000 80540000
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.718980] 8edb0edc 804e7ea7 8047ea2c 00000000 00000b6f 80543824 00000013 8e8f5280
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.727319] 8e8f5280 800699c0 00000001 80540000 804edfc4 804edfc8 80483614 8e947bfc
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.735660] 00000003 800a78c8 00000013 8e8f5280 8e8f5280 00000000 804f0000 00947bfc
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.744001] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.752338] ...
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.754773] Call Trace:
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.757236] [<8000f7b4>] show_stack+0×54/0×88 Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.761591] [<801db744>] dump_stack+0×84/0xc0
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.765928] [<8002a434>] __warn+0xe4/0×118 Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.770005] [<8002a4fc>] warn_slowpath_null+0x1c/0×30 Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.775082] [<8e92a954>] build_segment_manager+0×680/0xe4c [f2fs]
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.781169] [<8e90e33c>] f2fs_commit_super+0xb48/0x14bc [f2fs]
Sun Jul 30 09:14:30 2017 kern.warn kernel: [ 171.787111] —[ end trace 80bdd422a736c5ea ]—

hmm, without f2fs - it’s a showstopper for me :(


28.07.2017934KernelFeature RequestVery LowHighadd SPI clock infoTrunkUnconfirmed Task Description

current clock info shows all clocks for ar71xx platform except SPI clock

Clocks: CPU:800.000MHz, DDR:600.000MHz, AHB:300.000MHz, Ref:25.000MHz


SPI clock would be quite useful to have displayed too as well as all of these clocks for ramips and other platforms that don’t show much info on dmesg.

25.07.2017931Base systemBug ReportVery LowHighOnboard Bluetooth not working on Raspberry Pi 3 BAllUnconfirmed Task Description

I have tried LEDE 17.01.1 and 17.01.2 and i can’t get bluetooth running on raspberry pi 3.

It will not flash the firmware for the bluetooth controller on rpi3, when device is brought up:

root@LEDE:~# /usr/bin/hciattach /dev/ttyAMA0 bcm43xx 921600 noflow -
bcm43xx_init
Patch not found for BCM43430A1, continue anyway
Set Controller UART speed to 921600 bit/s
Device setup complete

Instead of patch not found it should produce:
Flash firmware /lib/firmware/brcm/BCM43430A1.hcd

I could not find this firmware via opkg, so i used a file from OpenELEC at
https://github.com/OpenELEC/misc-firmware/tree/master/firmware/brcm

This however won’t load and bluetooth is not initialized correctly and unusable:

root@LEDE:~# /usr/bin/hciattach /dev/ttyAMA0 bcm43xx 921600 noflow -
bcm43xx_init
Flash firmware /lib/firmware/brcm/BCM43430A1.hcd
Initialization timed out

 


25.07.2017929KernelBug ReportVery LowHighmt7620 abysmal wifi performanceAllResearching Task Description

HT40 wifi throughput went from ~80 Mbps(LEDE 17.01.0) to ~3Mpbs (since LEDE 17.01.2 to trunk, 17.01.1 wouldn’t build).
HT20 decreased from ~40 to ~10 Mbps.

device is archer C20i (mt7620a) on 2.4 GHz band, 5 Ghz is unsupported (mt7610E).

Log errors:

[    9.197616] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[    9.205560] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected
[  304.206295] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[  304.278242] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[  306.059378] ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Arrived at non-free entry in the non-full queue 2
12.07.2017902Base systemBug ReportVery LowHighUnable to restore stock ROM in TP-Link CPE210 HW 1.1 af...lede-17.01Unconfirmed Task Description

Hello

Has anybody tried to restore stock ROM in CPE210 hardware version 1.1. after flashing LEDE? I have reviewed TP-Link´s forum and it seems it is not possible. People has tried the Pharos OS TFTP recovery (http://forum.tp-link.com/showthread.php?81684-How-to-use-firmware-recovery-function-of-Pharos-CPE1) as well as from the OpenWRT/LEDE web GUI, and both fail.

Everybody labels flashing to OpenWRT or LEDE as “one-way” action because they suspect that OpenWRT/LEDE “changes something” in the flash, so it breaks a restore to stock ROM . Bellow I list them:

1) OpenWRT/LEDE misses partitions of the stockROM partitions. Bellow is the partition table with stock ROM:

U-Boot partition
partition fs-uboot base 0×00000 size 0×20000 partition partition-table base 0×20000 size 0×02000

Firmware partitions
fwup-ptn partition-table base 0×00800 size 0×00800 fwup-ptn os-image base 0×01000 size 0xcbf29
fwup-ptn soft-version base 0xccf29 size 0×00015 fwup-ptn support-list base 0xccf3e size 0x0063c
fwup-ptn file-system base 0xcd57a size 0x3e4001

2) OpenWRT/LEDE changes something in the environment of the SafeLoader, which breaks the standard recovery mode.

3) Log from an attempt to transfer recovery.bin (the recovery.bin file is firmware pharos-up-ver1-3-3-P9[20160705-rel52453].bin). Safeloader request a “vmlinuz” file from the TFTP ad, of course, it does not exists.

Connection received from 192.168.0.254 on port 4011 [16/03 07:27:19.543]
Read request for file <recovery.bin>. Mode octet [16/03 07:27:19.543]
OACK: <timeout=5,blksize=512,> [16/03 07:27:19.823]
Using local port 49447 [16/03 07:27:19.823]
<recovery.bin>: sent 9643 blks, 4936747 bytes in 2 s. 0 blk resent [16/03 07:27:21.708]
Connection received from 192.168.0.254 on port 3164 [16/03 07:27:24.831]
Read request for file <vmlinuz>. Mode octet [16/03 07:27:24.831]
File <vmlinuz> : error 2 in system call CreateFile Das System kann die angegebene Datei nicht finden. [16/03 07:27:24.831]

I think it is important to check and solve it, because this behavior avoids warranty.

07.07.2017896Base systemBug ReportVery LowHighmt7620 - dropping frames (WiFi)TrunkUnconfirmed Task Description

Device: Nexx WT3020 (MT7620)
LEDE release: LEDE Reboot 17.01-SNAPSHOT r3435-65eec8b

Latest LEDE on Nexx WT3020 with MT7620 is getting syslog spammed with:

ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2

It usually occurs with high-bandwidth usage of WiFi client (Android i.e.) and results with need to reboot router (or WiFi won’t even work for devices - it’s seen but unable to connect).

# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11g'
        option path 'platform/10180000.wmac'
        option country 'PL'
        option disabled '0'
        option htmode 'HT40'
        option distance '3'
        option txpower '20'
        option channel '6'

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

Also it’s connected with the issue of android devices loosing connectivity/dropping wifi even 1 meter next to router:

Fri Jul  7 00:32:11 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Fri Jul  7 00:32:11 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 2)
Fri Jul  7 00:32:11 2017 daemon.notice hostapd: wlan0: AP-STA-CONNECTED xx:xx:xx:xx:xx:xx
Fri Jul  7 00:32:11 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
Fri Jul  7 00:32:51 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: disconnected due to excessive missing ACKs
Fri Jul  7 00:32:51 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED xx:xx:xx:xx:xx:xx
Fri Jul  7 00:32:55 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Fri Jul  7 00:32:55 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 2)
Fri Jul  7 00:32:55 2017 daemon.notice hostapd: wlan0: AP-STA-CONNECTED xx:xx:xx:xx:xx:xx
Fri Jul  7 00:32:55 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
06.07.2017891KernelBug ReportVery LowHighSlow download speed over Ethernet (wpj344, QCA8334)TrunkUnconfirmed Task Description

Version: Reboot (SNAPSHOT, r4512+1-f3ae0f8), master/trunk
Device: wpj344 (Switch QCA8334)
Problem: Slow download speed over Ethernet, upload works fine.
Steps to reproduce: Use iperf tool to perform network throughput test.

root@LEDE:~# iperf3 -s
-----------------------------------------------------------                                
Server listening on 5201                     
-----------------------------------------------------------                                
Accepted connection from 192.168.1.200, port 51144                                         
[  5] local 192.168.1.1 port 5201 connected to 192.168.1.200 port 51146                    
[ ID] Interval           Transfer     Bandwidth                                            
[  5]   0.00-1.00   sec   294 KBytes  2.41 Mbits/sec                                       
[  5]   1.00-2.00   sec   390 KBytes  3.20 Mbits/sec                                       
[  5]   2.00-3.00   sec   192 KBytes  1.58 Mbits/sec                                       
[  5]   3.00-4.00   sec   291 KBytes  2.39 Mbits/sec                                       
[  5]   4.00-5.00   sec  99.0 KBytes   810 Kbits/sec                                       
[  5]   5.00-6.00   sec  79.2 KBytes   649 Kbits/sec                                       
[  5]   6.00-7.00   sec   281 KBytes  2.31 Mbits/sec                                       
[  5]   7.00-8.00   sec   165 KBytes  1.36 Mbits/sec                                       
[  5]   8.00-9.00   sec   262 KBytes  2.14 Mbits/sec                                       
[  5]   9.00-10.00  sec   117 KBytes   961 Kbits/sec                                       
[  5]  10.00-10.01  sec  0.00 Bytes  0.00 bits/sec                                         
- - - - - - - - - - - - - - - - - - - - - - - - -                                          
[ ID] Interval           Transfer     Bandwidth                                            
[  5]   0.00-10.01  sec  0.00 Bytes  0.00 bits/sec                  sender                 
[  5]   0.00-10.01  sec  2.12 MBytes  1.78 Mbits/sec                  receiver

Using exactly the same node and the same setup and reverting:

commit 967b6be118e3217e8d6a28df9c615d3255e7b1ae     
Author: Vittorio Gambaletta <openwrt@vittgam.net>   
Date:   Sun Mar 26 10:08:20 2017 +0200              

    ar8327: Add workarounds for AR8337 switch.

The new results are:

root@LEDE:~# iperf3 -s    
-----------------------------------------------------------                                             
Server listening on 5201  
-----------------------------------------------------------                                             
Accepted connection from 192.168.1.200, port 50800  
[  5] local 192.168.1.1 port 5201 connected to 192.168.1.200 port 50802                                 
[ ID] Interval           Transfer     Bandwidth     
[  5]   0.00-1.00   sec  27.5 MBytes   230 Mbits/sec                                                    
[  5]   1.00-2.01   sec  24.1 MBytes   201 Mbits/sec                                                    
[  5]   2.01-3.00   sec  23.5 MBytes   198 Mbits/sec                                                    
[  5]   3.00-4.01   sec  24.1 MBytes   201 Mbits/sec                                                    
[  5]   4.01-5.00   sec  27.4 MBytes   231 Mbits/sec                                                    
[  5]   5.00-6.00   sec  25.1 MBytes   210 Mbits/sec                                                    
[  5]   6.00-7.00   sec  28.3 MBytes   238 Mbits/sec                                                    
[  5]   7.00-8.00   sec  30.2 MBytes   253 Mbits/sec                                                    
[  5]   8.00-9.00   sec  21.6 MBytes   181 Mbits/sec                                                    
[  5]   9.00-10.00  sec  28.6 MBytes   241 Mbits/sec                                                    
[  5]  10.00-10.01  sec   181 KBytes   128 Mbits/sec                                                    
- - - - - - - - - - - - - - - - - - - - - - - - -   
[ ID] Interval           Transfer     Bandwidth     
[  5]   0.00-10.01  sec  0.00 Bytes  0.00 bits/sec                  sender                              
[  5]   0.00-10.01  sec   261 MBytes   218 Mbits/sec             receiver   


05.07.2017886Base systemBug ReportVery LowHighNewifi D1 ethernat ports freeze after boot with cable p...lede-17.01Unconfirmed Task Description

Newifi D1 is a router device with MT7621 inside, more detailed information can be found at WikiDevi.

I have LEDE 17.01.2 running on the device, but experienced a bug with ethernat port. The bug is easy to reproduce: just powner on or reboot the device with RJ45 cable plugin. You will find that the LED blinks when booting, but freezes after boot. The frozen status of LED is on(wan port), off(lan port), on(lan port) in my situation which have both 3 ports connected.

But every thing works fine if I power on/reboot the device first, then plugin the RJ45 cable.

I could not connect to the device via the ethernat when it is frozen, but can login via wireless network provided by the device. I have checked the network status with ifconfig, the RX counter of eth0, eth0.1 and eth0.2 shows 0 when TX counter seems OK if I ping someone. I checked the switch as well by command: swconfig dev mt7530 show , every thing shows 0 on each port, excepted for port 6. No error message on dmesg.

Some one mentioned it is switch chip driver bug: https://dev.openwrt.org/ticket/20890?cversion=0&cnum_hist=1 . But no further information can be find by google any more.

19.06.2017857Base systemBug ReportVery LowHighPSG1218 v17.01.2 cannot connect to host with wifi clien...lede-17.01Unconfirmed Task Description

PSG1218 v17.01.2 cannot connect to host with wifi client mode,but v17.01.1 works

 


13.06.2017844Base systemBug ReportVery LowHighWMM Mode bug with Wifi 2,4Ghz Archer C7 1750 V2 with L...lede-17.01Unconfirmed Task Description

Hi,

I meet a bug with certain ring roads(peripherals) (Xbox 360 and Epson SX425) using the WiFi 2,4Ghz of my TP(PRACTICAL CLASS) Link Archer C7 1750 under LEDE 17.01.2 (noticed also with LEDE 17.01.1) with activated WMM mode.

When WMM mode is active ring roads(peripherals) Xbox 360 and Epson SX425 does not receive an IP address while quite my other PC works carefree in WiFi 2,4Ghz.

By deactivating WMM mode and by restarting the router(route planner) everything works perfectly.

I specify that with OpenWrt 15.05.1 WMM Mode worked perfectly.

01.06.2017822Base systemBug ReportMediumHighbusybox (ash) sporadically segfaults running shell scri...lede-17.01Researching Task Description

I’m often seeing this message in my logs:

[ 2183.499756] do_page_fault(): sending SIGSEGV to dhcpv6.script for invalid read access from 00000000    
[ 2183.509195] epc = 0041efe9 in busybox[400000+4b000]                                                    
[ 2183.514285] ra  = 0041efb1 in busybox[400000+4b000]                                                    

The issue might be a new variant of  FS#251 , which disappeared after a busybox upgrade.

I’m on a recent lede-17.01 version (dfecce60e6e75abf3ea817fe7bf29fd432693f13), with the follow adjustments to busybox:

CONFIG_BUSYBOX_CUSTOM=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_PREFER_IPV4_ADDRESS is not set

Hardware: TP-Link TL-WR841ND v9 (QCA9533)

My analysis so far:

Registers:

          zero       at       v0       v1       a0       a1       a2       a3
 R0   00000000 7fcfd4c8 00000000 0090b7c0 00910df4 00910df9 2f2f2f2f bcd0a2f0 
            t0       t1       t2       t3       t4       t5       t6       t7
 R8   fefefeff 80808080 80083c3c 002f3634 7fcf9698 00000000 00000000 77a6e2c0 
            s0       s1       s2       s3       s4       s5       s6       s7
 R16  0090ccc0 7fcf9900 00000004 0040788d 77a64000 77a64000 77a67518 77a68d8c 
            t8       t9       k0       k1       gp       sp       s8       ra
 R24  0045b0e8 77a36d44 00000000 00000000 77a6e2c0 7fcf97d0 00000000 0041efb1 
            sr       lo       hi      bad    cause       pc
      0000f413 00000048 00000013 00000000 00800008 0041efe9 
           fsr      fir
      00000000 00000000 

Disassembly:

Dump of assembler code for function find_command:                                                         
   0x0041ef45 <+0>:     save    a0-a3,232,ra,s0-s1                                                        
   0x0041ef49 <+4>:     move    s1,a1                                                                     
   0x0041ef4b <+6>:     jal     0x449c61 <strchr@mips16plt>                                               
   0x0041ef4f <+10>:    li      a1,47
   0x0041ef51 <+12>:    beqz    v0,0x41ef79 <find_command+52>
   0x0041ef53 <+14>:    li      v0,1
   0x0041ef55 <+16>:    neg     v0
   0x0041ef57 <+18>:    lw      v1,240(sp)
   0x0041ef59 <+20>:    sw      v0,4(s1)
   0x0041ef5b <+22>:    li      v0,2
   0x0041ef5d <+24>:    and     v0,v1
   0x0041ef5f <+26>:    bnez    v0,0x41ef65 <find_command+32>
   0x0041ef61 <+28>:    li      v0,0
   0x0041ef63 <+30>:    b       0x41ef75 <find_command+48>
   0x0041ef65 <+32>:    lw      a0,232(sp)
   0x0041ef67 <+34>:    jal     0x44a441 <stat@mips16plt>
   0x0041ef6b <+38>:    addiu   a1,sp,56
   0x0041ef6d <+40>:    slti    v0,0
   0x0041ef6f <+42>:    bteqz   0x41ef61 <find_command+28>
   0x0041ef71 <+44>:    li      v0,1
   0x0041ef73 <+46>:    neg     v0
   0x0041ef75 <+48>:    sb      v0,0(s1)
   0x0041ef77 <+50>:    b       0x41f1af <find_command+618>
   0x0041ef79 <+52>:    lw      v0,0x41f1b4 <find_command+623>
   0x0041ef7b <+54>:    lw      a0,244(sp)
   0x0041ef7d <+56>:    lw      v0,0(v0)
   0x0041ef7f <+58>:    addiu   v0,124
   0x0041ef81 <+60>:    lw      v0,88(v0)
   0x0041ef83 <+62>:    addiu   v0,5
   0x0041ef85 <+64>:    xor     v0,a0
   0x0041ef87 <+66>:    sltiu   v0,1
   0x0041ef89 <+68>:    move    v1,t8
   0x0041ef8b <+70>:    sw      v1,40(sp)
   0x0041ef8d <+72>:    beqz    v0,0x41efa9 <find_command+100>
   0x0041ef8f <+74>:    lw      v0,240(sp)
   0x0041ef91 <+76>:    li      s0,8
   0x0041ef93 <+78>:    lw      a1,0x41f1b8 <find_command+627>
   0x0041ef95 <+80>:    jal     0x449ba1 <strstr@mips16plt>
   0x0041ef99 <+84>:    or      s0,v0
   0x0041ef9b <+86>:    beqz    v0,0x41efa7 <find_command+98>
   0x0041ef9d <+88>:    lw      v1,240(sp)
   0x0041ef9f <+90>:    li      v0,40
   0x0041efa1 <+92>:    or      v1,v0
   0x0041efa3 <+94>:    sw      v1,240(sp)
   0x0041efa5 <+96>:    b       0x41efa9 <find_command+100>
   0x0041efa7 <+98>:    sw      s0,240(sp)
   0x0041efa9 <+100>:   lw      a0,232(sp)
   0x0041efab <+102>:   jal     0x41a75d <cmdlookup>
   0x0041efaf <+106>:   li      a1,0
   0x0041efb1 <+108>:   move    s0,v0
   0x0041efb3 <+110>:   beqz    v0,0x41efdd <find_command+152>
   0x0041efb5 <+112>:   lb      v0,8(v0)
   0x0041efb7 <+114>:   cmpi    v0,1
   0x0041efb9 <+116>:   bteqz   0x41efc3 <find_command+126>
   0x0041efbb <+118>:   cmpi    v0,2
   0x0041efbd <+120>:   btnez   0x41efc7 <find_command+130>
   0x0041efbf <+122>:   li      v0,32
   0x0041efc1 <+124>:   b       0x41efc9 <find_command+132>
   0x0041efc3 <+126>:   li      v0,4
   0x0041efc5 <+128>:   b       0x41efc9 <find_command+132>
   0x0041efc7 <+130>:   li      v0,8
   0x0041efc9 <+132>:   lw      v1,240(sp)
   0x0041efcb <+134>:   and     v0,v1
   0x0041efcd <+136>:   bnez    v0,0x41efd7 <find_command+146>
   0x0041efcf <+138>:   lbu     v0,9(s0)
   0x0041efd1 <+140>:   beqz    v0,0x41f1a3 <find_command+606>
   0x0041efd5 <+144>:   b       0x41efdd <find_command+152>
   0x0041efd7 <+146>:   li      v0,0
   0x0041efd9 <+148>:   li      s0,0
   0x0041efdb <+150>:   sw      v0,40(sp)
   0x0041efdd <+152>:   jal     0x41b025 <find_builtin>
   0x0041efe1 <+156>:   lw      a0,232(sp)
   0x0041efe3 <+158>:   sw      v0,44(sp)
   0x0041efe5 <+160>:   beqz    v0,0x41f00f <find_command+202>
   0x0041efe7 <+162>:   lw      v0,0(v0)
=> 0x0041efe9 <+164>:   lbu     v1,0(v0)
   0x0041efeb <+166>:   li      v0,2
   0x0041efed <+168>:   and     v0,v1
   0x0041efef <+170>:   bnez    v0,0x41f177 <find_command+562>
   0x0041eff3 <+174>:   lw      v1,240(sp)
   0x0041eff5 <+176>:   li      v0,8
   0x0041eff7 <+178>:   and     v0,v1
   0x0041eff9 <+180>:   beqz    v0,0x41f005 <find_command+192>
   0x0041effb <+182>:   li      v0,32
   0x0041effd <+184>:   and     v0,v1
   0x0041efff <+186>:   beqz    v0,0x41f177 <find_command+562>
   0x0041f003 <+190>:   b       0x41f00f <find_command+202>
   0x0041f005 <+192>:   lw      v0,0x41f1bc <find_command+631>
   0x0041f007 <+194>:   lw      v0,0(v0)
...

As in  FS#251 , the contents of the registers don’t really make sense. Unless I’m overlooking something, it should not be possible for $pc to reach 0x0041efe9 with $ra on 0x0041efb1 (return from cmdlookup); rather, $ra should have the value 0x0041efe3 (return from find_builtin). There are no code paths reaching 0x0041efe9 that don’t call find_builtin.

25.05.2017804KernelBug ReportVery LowHighmt7621: kernel errors - rcu_sched detected stalls on CP...TrunkRequires testing Task Description

current trunk
hardware: zbt3526 mt7621
it give more and more often this kernel bugs ...
(i did not have that much for 2 months ago)
can it be related to newer kernel on TRUNK ?

Thu May 25 18:20:04 2017 user.notice root: Subject: [router.xxx.com] KERNEL error/warnings issue - 2017-05-25:18:20:01
Thu May 25 18:20:39 2017 kern.err kernel: [ 4797.640000] INFO: rcu_sched detected stalls on CPUs/tasks:
Thu May 25 18:20:39 2017 kern.err kernel: [ 4797.640000] 2-...: (0 ticks this GP) idle=dc4/0/0 softirq=370963/370963 fqs=0
Thu May 25 18:20:39 2017 kern.err kernel: [ 4797.650000] (detected by 1, t=6003 jiffies, g=119392, c=119391, q=19565)
Thu May 25 18:20:39 2017 kern.info kernel: [ 4797.650000] Task dump for CPU 2:
Thu May 25 18:20:39 2017 kern.info kernel: [ 4797.660000] swapper/2 R running 0 0 1 0×00100000 Thu May 25 18:20:39 2017 kern.warn kernel: [ 4797.660000] Stack : 00000000 00003a99 00000000 77de22c0 00000000 00000000 804df2a4 80490000
Thu May 25 18:20:39 2017 kern.warn kernel: [ 4797.660000] 8048c75c 00000001 00000000 8048c5e0 8048c724 80490000 00000000 800135e4
Thu May 25 18:20:39 2017 kern.warn kernel: [ 4797.660000] 00000000 814a37e0 8fc72000 8fc73ec0 80490000 8005ec74 1100fc03 00000002
Thu May 25 18:20:39 2017 kern.warn kernel: [ 4797.660000] 00000000 80490000 804df2a4 8005ec6c 80490000 8001b1a8 1100fc03 00000000
Thu May 25 18:20:39 2017 kern.warn kernel: [ 4797.660000] 00000004 8048c4a0 000000a0 8001b1b0 e8c7e2d3 3a8bf07f 2cfde824 eeff5ebf
Thu May 25 18:20:39 2017 kern.warn kernel: [ 4797.660000] ...
Thu May 25 18:20:39 2017 kern.warn kernel: [ 4797.700000] Call Trace:
Thu May 25 18:20:39 2017 kern.warn kernel: [ 4797.700000] [<8000be98>] __schedule+0×574/0×758 Thu May 25 18:20:39 2017 kern.warn kernel: [ 4797.710000] [<800135e4>] r4k_wait_irqoff+0×0/0×20 Thu May 25 18:20:39 2017 kern.warn kernel: [ 4797.710000]
Thu May 25 18:20:39 2017 kern.err kernel: [ 4797.710000] rcu_sched kthread starved for 6009 jiffies! g119392 c119391 f0x0 s3 →state=0×1

 


12.05.2017776KernelBug ReportVery LowHighath9k wds mode station break offTrunkUnconfirmed Task Description

atheros ar9331
Linux version 4.4.61 (gcc version 5.4.0 (LEDE GCC 5.4.0 r4099-4c3953b) )

wds ap:

config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11g'
        option path 'platform/ar933x_wmac'
        option distance '3000'
        option txpower '18'
        option country '00'
        option channel '1'
        option htmode 'HT40'

config wifi-iface
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option encryption 'psk2'
        option key '12345600'
        option max_inactivity '20'
        option wds '1'
        option ssid 'LK-M2-Jianxi'

wds station:

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '1'
        option hwmode '11g'
        option path 'platform/ar933x_wmac'
        option htmode 'HT20'
        option distance '3000'
        option txpower '19'
        option country '00'

config wifi-iface
        option device 'radio0'
        option network 'lan'
        option encryption 'psk2'
        option key '12345600'
        option max_inactivity '20'
        option wds '1'
        option mode 'sta'
        option ssid 'LK-M2-Jianxi'

When the station break off, ping can not reach ap. wifi still connect. kernel have no error info. iwinfo signal still change.

ap with the other station still alive.

Use wpa_cli scan command, will awake station, and ping alive.
wifi command also work.

/proc/interrupts ath9k still alive.


04.05.2017759Base systemBug ReportVery LowHighEA4500 with mwk8k driver: Wireless instability and WPA-...lede-17.01Unconfirmed Task Description

Device: Linksys EA4500 (mwl8k driver)
LEDE: 17.01.1

Hi all
I would like to recall to attention an issue that various user are
observing running mwl8k driver together with android and iOS clients
Relevant information can be found here:

https://dev.openwrt.org/ticket/21284 http://www.spinics.net/lists/linux-wireless/msg151171.html

I can add that the problem seems to get worst depending on the
bandwidth usage (higher is worst).
And I can confirm that apparently only android clients are affected,
in the sense that here I have also iPhones and some IP WebCam that
work rock stable with the same router.
Also both 5Ghz and 2.5Ghz radio are affected
Userland seems to have no influence, I have tried wpad and hostapd.
Actually I was trying to workaround the below problem using WPA2-EAP.
But the PEAP-mschapv2 doesn’t work with mwl8k driver on 5Ghz radio
My setup include two different Cisco/Linksys EA4500 running LEDE
17.01.1 and one TPLink WDR3600 with ath9x radios
The EA4500 chipset is Marvell 88W8366 v48.
Well with both 5Ghz radio of my two EA4500 the PEAP MSCHAPV2
authentication fails at the certificates exchange
This is the log I see in freeradius 2

Wed May 3 21:17:26 2017 : Debug: Going to the next request
Wed May 3 21:17:26 2017 : Debug: Waking up in 4.9 seconds.
Wed May 3 21:17:31 2017 : Info: Cleaning up request 34 ID 41 with timestamp +574
Wed May 3 21:17:31 2017 : Info: Cleaning up request 35 ID 42 with timestamp +574
Wed May 3 21:17:31 2017 : Info: Cleaning up request 36 ID 43 with timestamp +574
Wed May 3 21:17:31 2017 : Debug: WARNING:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Wed May 3 21:17:31 2017 : Debug: WARNING: !! EAP session for state
0xd1f19d03d34c849e did not finish!
Wed May 3 21:17:31 2017 : Debug: WARNING: !! Please read
http://wiki.freeradius.org/guide/Certificate_Compatibility Wed May 3 21:17:31 2017 : Debug: WARNING:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Wed May 3 21:17:31 2017 : Info: Ready to process requests.

On hostapd size the logs say that the radius response is received but
the next stage never arrives.
Using the same freeradius 2 I can get PEAP working with the 2.4Ghz
radio with no issue and most important with both 2.4Ghz and 5Ghz radio
on wdr3600, that run the same LEDE release (same kernel) and the same
userland app, so it seems that the problem is really in the
interaction between the mwl8k driver, 5Ghz radio and hostapd and
freeradius.
The problem is shared by two android device (one 7.0.1 and one 6.1)
and and iPhone 7.

25.04.2017737Base systemBug ReportVery LowHighKernel panic on Buffalo WZR600DHP when LAN plugged at b...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

Buffalo WZR600DHP (multiple different devices)

- Software versions of LEDE release, packages, etc.

All recent versions tested, including “Reboot (SNAPSHOT, r3939+1-de5b8e5d2f)” ... currently building HEAD to try there

- Steps to reproduce

 
* Remove power (warm boots seem more likely to boot successfully)
* Plug a powered-on ethernet-connected device into one of the LAN ports (I used port 2)
* Apply power to the Buffalo, watch as the red diagnostic light goes on steadily, blinks fast, blinks slower, then goes off without the WLAN leds turning on normally, then repeat indefinitely.  Eventually, one of the reboots may succeed.

A panic looks like this:

[   20.142060] eth0: link up (1000Mbps/Full duplex)
[   20.148486] Unhandled kernel unaligned access[#1]:
[   20.153285] CPU: 0 PID: 960 Comm: basename Not tainted 4.4.59 #0
[   20.159280] task: 87cf1e30 ti: 86c9c000 task.ti: 86c9c000
[   20.164661] $ 0   : 00000000 00000001 00000000 00000001
[   20.169907] $ 4   : 871193ff 87311068 800f3538 87311068
[   20.175154] $ 8   : 87311068 80065058 7701b000 00002000
[   20.180402] $12   : 00000000 00003000 fffffffc 00000000
[   20.185649] $16   : 87119980 871193ff 87cf1e30 76f870d0
[   20.190896] $20   : 000a1f10 7701bf6f 7701cdcc 86c6d1e0
[   20.196143] $24   : 00000000 800f3538                  
[   20.201391] $28   : 86c9c000 86c9dda8 86c9ddf0 8010ba2c
[   20.206638] Hi    : 00000000
[   20.209505] Lo    : 00000008
[   20.212393] epc   : 80099ad8 commit_creds+0x3c/0x20c
[   20.217356] ra    : 8010ba2c install_exec_creds+0x18/0x38
[   20.222735] Status: 1000fc03 KERNEL EXL IE 
[   20.226936] Cause : 00800010 (ExcCode 04)
[   20.230935] BadVA : 871193ff
[   20.233802] PrId  : 00019374 (MIPS 24Kc)
[   20.237714] Modules linked in: ath9k ath9k_common ath9k_hw ath nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_quota xt_pkttype xt_physdev xt_owner 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_condition xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CLASSIFY ts_kmp ts_fsm ts_bm 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 ipt_ECN ip_tables compat br_netfilter ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[   20.319746] Process basename (pid: 960, threadinfo=86c9c000, task=87cf1e30, tls=778c5d48)
[   20.327896] Stack : 86c8d634 7701bf6f 7701cdcc 86c6d1e0 86c9ddf0 800746d0 86c9ddf0 800f5f14
          86c6c400 87119a80 86c6c400 8010ba2c fffffff2 87119a80 86c6c400 76f870d0
          00000000 8014596c 00000000 800f6d60 00000000 800763c0 00002012 00000091
          55555554 80410000 0045a000 00000008 0045a535 0045a000 004497c0 00400000
          76f78000 00400000 86c6c500 87119f00 86c6c300 00000000 00000003 00000003
          ...
[   20.363640] Call Trace:
[   20.366082] [<80099ad8>] commit_creds+0x3c/0x20c
[   20.370700] [<8010ba2c>] install_exec_creds+0x18/0x38
[   20.375752] [<8014596c>] load_elf_binary+0xae0/0x112c
[   20.380794] [<8010bad8>] search_binary_handler+0x8c/0x1cc
[   20.386189] [<8010d09c>] do_execveat_common+0x400/0x5ac
[   20.391400] 
[   20.392880] 
Code: 8c820000  28420001  00020336 <c2220000> 24420001  e2220000  1040fffc  00000000  8e260014 
[   20.402936] ---[ end trace f860d77d4ae98434 ]---
[   20.409602] Fatal exception: panic in 5 seconds
[   20.414551] CPU 0 Unable to handle kernel paging request at virtual address 00000200, epc == 87fe0254, ra == 87fe1ce8
[   20.425372] Oops[#2]:
[   20.427647] CPU: 0 PID: 3 Comm: ksoftirqd/0 Tainted: G      D         4.4.59 #0
[   20.434942] task: 87c2ca10 ti: 87c44000 task.ti: 87c44000
[   20.440323] $ 0   : 00000000 80480000 80000001 00000200
[   20.445570] $ 4   : 86c9e000 00000001 00000000 dcbc842b
[   20.450817] $ 8   : 86c9e058 86c9e058 00000000 00000000
[   20.456064] $12   : 00440002 ffffffff 00000000 ffffffff
[   20.461311] $16   : 86c9e000 000006ec 00000377 804275d8
[   20.466559] $20   : 000006ec 00000004 804275d8 00000000
[   20.471805] $24   : 00000000 87fe7890                  
[   20.477053] $28   : 87c44000 87c45b20 86c9e040 87fe1ce8
[   20.482300] Hi    : 00000377
[   20.485167] Lo    : 3456f000
[   20.488079] epc   : 87fe0254 nf_ct_untracked_status_or+0x78/0x98 [nf_conntrack]
[   20.495383] ra    : 87fe1ce8 __nf_conntrack_confirm+0xbc/0x364 [nf_conntrack]
[   20.502493] Status: 1000fc03 KERNEL EXL IE 
[   20.506694] Cause : 0080000c (ExcCode 03)
[   20.510693] BadVA : 00000200
[   20.513560] PrId  : 00019374 (MIPS 24Kc)
[   20.517472] Modules linked in: ath9k ath9k_common ath9k_hw ath nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_quota xt_pkttype xt_physdev xt_owner 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_condition xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CLASSIFY ts_kmp ts_fsm ts_bm 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 ipt_ECN ip_tables compat br_netfilter ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[   20.599503] Process ksoftirqd/0 (pid: 3, threadinfo=87c44000, task=87c2ca10, tls=00000000)
[   20.607740] Stack : 00000002 87fd97c0 00000001 02000000 87c45b9c 87c45bd4 804279ec 87118cc0
          00000001 00000004 fffffffd 00000000 02080020 80294f60 00000300 71a45669
          00000000 00000000 87118cc0 87118cc0 87118cc0 87c45bd4 fffffffb 00000001
          00000003 80295004 804279e4 71a45669 87c45c04 87c45c3c 00000000 8741d284
          87118cc0 80420000 00000001 87118cc0 02080020 00000800 8720b05c 8029b5f0
          ...
[   20.643491] Call Trace:
[   20.645944] [<87fe0254>] nf_ct_untracked_status_or+0x78/0x98 [nf_conntrack]
[   20.652919] [<87fe1ce8>] __nf_conntrack_confirm+0xbc/0x364 [nf_conntrack]
[   20.659709] [<80294f60>] nf_iterate+0x7c/0xc8
[   20.664055] [<80295004>] nf_hook_slow+0x58/0xf8
[   20.668582] [<8029b5f0>] ip_local_deliver+0xb8/0xe8
[   20.673451] [<8029b8e8>] ip_rcv+0x2c8/0x334
[   20.677629] [<80268c5c>] __netif_receive_skb_core+0x614/0x6d0
[   20.683373] [<8032f74c>] br_pass_frame_up+0x94/0x10c
[   20.688328] [<8032ffd0>] br_handle_frame+0x2cc/0x418
[   20.693279] [<802689dc>] __netif_receive_skb_core+0x394/0x6d0
[   20.699028] [<8023703c>] ag71xx_poll+0x430/0x5c0
[   20.703637] [<80269ab4>] net_rx_action+0x10c/0x2c8
[   20.708420] [<80084134>] __do_softirq+0x250/0x298
[   20.713116] [<800841a4>] run_ksoftirqd+0x28/0x60
[   20.717725] [<8009abf8>] smpboot_thread_fn+0x158/0x188
[   20.722851] [<80098628>] kthread+0xd8/0xec
[   20.726936] [<80060878>] ret_from_kernel_thread+0x14/0x1c
[   20.732315] 
[   20.733795] 
Code: 00020336  8c820008  30450001 <ac620000> 14a00002  00000000  ac430004  24020200  ac82000c 
[   20.743784] ---[ end trace f860d77d4ae98435 ]---
[   20.749725] Kernel panic - not syncing: Fatal exception in interrupt
[   20.757339] Rebooting in 3 seconds..

Or another one:

[   20.121647] eth0: link up (1000Mbps/Full duplex)
[   20.131943] Unhandled kernel unaligned access[#1]:
[   20.136738] CPU: 0 PID: 937 Comm: snmpd Not tainted 4.4.59 #0
[   20.142474] task: 87d92840 ti: 86c7c000 task.ti: 86c7c000
[   20.147854] $ 0   : 00000000 7fe40058 8010de54 00000000
[   20.153101] $ 4   : 873b557f 86c7de7c 86c7de74 00000001
[   20.158348] $ 8   : 00000020 80065050 80107538 00000000
[   20.163595] $12   : 7fe40040 00000000 00000000 77d382c0
[   20.168842] $16   : 00000000 873b557f 86c7df08 00000080
[   20.174090] $20   : 00000080 77d2e000 86c831e0 77d32d8c
[   20.179336] $24   : 00000fa3 77c9d000                  
[   20.184584] $28   : 86c7c000 86c7de08 00000000 8010de9c
[   20.189832] Hi    : 00000004
[   20.192707] Lo    : 00000000
[   20.195596] epc   : 800685a8 mutex_lock+0x0/0x30
[   20.200203] ra    : 8010de9c pipe_read+0x48/0x284
[   20.204889] Status: 1000fc03 KERNEL EXL IE 
[   20.209090] Cause : 00800010 (ExcCode 04)
[   20.213089] BadVA : 873b557f
[   20.215957] PrId  : 00019374 (MIPS 24Kc)
[   20.219869] Modules linked in: ath9k ath9k_common ath9k_hw ath nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_quota xt_pkttype xt_physdev xt_owner 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_condition xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CLASSIFY ts_kmp ts_fsm ts_bm 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 ipt_ECN ip_tables compat br_netfilter ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[   20.301899] Process snmpd (pid: 937, threadinfo=86c7c000, task=87d92840, tls=77d39d48)
[   20.309790] Stack : 8730d004 068b46ad 86c84e70 00000012 00000000 00000000 00000000 873b0780
          87cf2efc 86c7de7c 00000000 86c831e0 86c7df08 00000080 77d2e000 77d2e000
          77d31518 77d32d8c 00000000 8010647c 0045acd4 80076b6c 80410000 8008a31c
          00000080 00000000 77d31518 7fe4015c 00000080 00000000 00000000 00000080
          86c7de74 00000001 86c831e0 00000000 00000000 00000000 00000000 00000000
          ...
[   20.345535] Call Trace:
[   20.347973] [<800685a8>] mutex_lock+0x0/0x30
[   20.352235] [<8010de9c>] pipe_read+0x48/0x284
[   20.356586] [<8010647c>] __vfs_read+0xc4/0x104
[   20.361023] [<80106bfc>] vfs_read+0x84/0x130
[   20.365284] [<80107590>] SyS_read+0x58/0xc4
[   20.369462] [<80062c2c>] syscall_common+0x30/0x54
[   20.374153] 
[   20.375640] 
Code: 8fb00024  03e00008  27bd0040 <c0820000> 2443ffff  e0830000  1060fffc  00000000  2442ffff 
[   20.385691] ---[ end trace 7089734b36069ee3 ]---
[   20.392349] Fatal exception: panic in 5 seconds
[   20.400076] CPU 0 Unable to handle kernel paging request at virtual address 00000200, epc == 87ff0254, ra == 87ff1ce8
[   20.410891] Oops[#2]:
[   20.413160] CPU: 0 PID: 3 Comm: ksoftirqd/0 Tainted: G      D         4.4.59 #0
[   20.420456] task: 87c2ca10 ti: 87c44000 task.ti: 87c44000
[   20.425836] $ 0   : 00000000 80480000 80000001 00000200
[   20.431083] $ 4   : 8730e000 00000001 00000000 409e9f5a
[   20.436331] $ 8   : 8730e058 8730e058 00000000 00000000
[   20.441578] $12   : 00440002 ffffffff 00000000 ffffffff
[   20.446825] $16   : 8730e000 000002e0 00000655 804275d8
[   20.452073] $20   : 000002e0 00000004 804275d8 00000000
[   20.457320] $24   : 00000000 87ff7890                  
[   20.462567] $28   : 87c44000 87c45b20 8730e040 87ff1ce8
[   20.467814] Hi    : 00000655
[   20.470680] Lo    : 17458800
[   20.473587] epc   : 87ff0254 nf_ct_untracked_status_or+0x78/0x98 [nf_conntrack]
[   20.480887] ra    : 87ff1ce8 __nf_conntrack_confirm+0xbc/0x364 [nf_conntrack]
[   20.487999] Status: 1000fc03 KERNEL EXL IE 
[   20.492199] Cause : 0080000c (ExcCode 03)
[   20.496199] BadVA : 00000200
[   20.499075] PrId  : 00019374 (MIPS 24Kc)
[   20.502986] Modules linked in: ath9k ath9k_common ath9k_hw ath nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_quota xt_pkttype xt_physdev xt_owner 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_condition xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CLASSIFY ts_kmp ts_fsm ts_bm 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 ipt_ECN ip_tables compat br_netfilter ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[   20.585017] Process ksoftirqd/0 (pid: 3, threadinfo=87c44000, task=87c2ca10, tls=00000000)
[   20.593254] Stack : 00000002 874187c0 00000001 02000000 87c45b9c 87c45bd4 804279ec 87312180
          00000001 00000004 fffffffd 00000000 02080020 80294f60 00000300 d41771e8
          00000000 00000000 87312180 87312180 87312180 87c45bd4 fffffffb 00000001
          00000003 80295004 804279e4 d41771e8 87c45c04 87c45c3c 00000000 87413604
          87312180 80420000 00000001 87312180 02080020 00000800 8721105c 8029b5f0
          ...
[   20.629004] Call Trace:
[   20.631457] [<87ff0254>] nf_ct_untracked_status_or+0x78/0x98 [nf_conntrack]
[   20.638422] [<87ff1ce8>] __nf_conntrack_confirm+0xbc/0x364 [nf_conntrack]
[   20.645214] [<80294f60>] nf_iterate+0x7c/0xc8
[   20.649561] [<80295004>] nf_hook_slow+0x58/0xf8
[   20.654087] [<8029b5f0>] ip_local_deliver+0xb8/0xe8
[   20.658957] [<8029b8e8>] ip_rcv+0x2c8/0x334
[   20.663134] [<80268c5c>] __netif_receive_skb_core+0x614/0x6d0
[   20.668878] [<8032f74c>] br_pass_frame_up+0x94/0x10c
[   20.673833] [<8032ffd0>] br_handle_frame+0x2cc/0x418
[   20.678785] [<802689dc>] __netif_receive_skb_core+0x394/0x6d0
[   20.684534] [<8023703c>] ag71xx_poll+0x430/0x5c0
[   20.689142] [<80269ab4>] net_rx_action+0x10c/0x2c8
[   20.693926] [<80084134>] __do_softirq+0x250/0x298
[   20.698622] [<800841a4>] run_ksoftirqd+0x28/0x60
[   20.703231] [<8009abf8>] smpboot_thread_fn+0x158/0x188
[   20.708365] [<80098628>] kthread+0xd8/0xec
[   20.712450] [<80060878>] ret_from_kernel_thread+0x14/0x1c
[   20.717829] 
[   20.719309] 
Code: 00020336  8c820008  30450001 <ac620000> 14a00002  00000000  ac430004  24020200  ac82000c 
[   20.729304] ---[ end trace 7089734b36069ee4 ]---
[   20.735253] Kernel panic - not syncing: Fatal exception in interrupt
[   20.742878] Rebooting in 3 seconds..

I have more panics, available on request.

20.04.2017726KernelBug ReportVery LowHighUSB not working on TL-WDR4900 v1.xAllUnconfirmed Task Description

USB ports are empty but hub is deteched periodically. Usb ports work abnormal when some devices are inserted.
This bug exists inprevious versions ( in openwrt too).

cat /etc/banner

   _________
  /        /\      _    ___ ___  ___
 /  LE    /  \    | |  | __|   \| __|
/    DE  /    \   | |__| _|| |) | _|

// LE \ ||_|_/|_| lede-project.org
\ \ DE /
\ LE \ / ———————————————————– \ DE \ / Reboot (17.01.1, r3316-7eb58cf109)
\
__\/ ———————————————————–

root@openwrt:~# dmesg | grep -i usb

[ 0.029483] usbcore: registered new interface driver usbfs
[ 0.029537] usbcore: registered new interface driver hub
[ 0.029580] usbcore: registered new device driver usb
[ 2.075954] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.104850] fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
[ 2.138024] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
[ 2.144048] hub 1-0:1.0: USB hub found
[ 2.535450] usb 1-1: new high-speed USB device number 2 using fsl-ehci
[ 2.728493] hub 1-1:1.0: USB hub found
[ 3.511480] usb 1-1: USB disconnect, device number 2
[ 3.814034] usb 1-1: new high-speed USB device number 3 using fsl-ehci
[ 3.952117] hub 1-1:1.0: USB hub found
[ 4.484403] usb 1-1: USB disconnect, device number 3
[ 4.730021] usb 1-1: new high-speed USB device number 4 using fsl-ehci
[ 4.868111] hub 1-1:1.0: USB hub found
[ 5.265649] usb 1-1: USB disconnect, device number 4
[ 5.510021] usb 1-1: new high-speed USB device number 5 using fsl-ehci
[ 6.098025] usb 1-1: device not accepting address 5, error -71
[ 6.398018] usb 1-1: new high-speed USB device number 7 using fsl-ehci
[ 6.536098] hub 1-1:1.0: USB hub found
[ 6.844167] usb 1-1: USB disconnect, device number 7
[ 7.110026] usb 1-1: new high-speed USB device number 8 using fsl-ehci
[ 7.706027] usb 1-1: device not accepting address 8, error -71
[ 8.010025] usb 1-1: new high-speed USB device number 10 using fsl-ehci
[ 8.156084] hub 1-1:1.0: USB hub found
[ 8.417000] usb 1-1: USB disconnect, device number 10
..........................
Thu Apr 20 10:41:22 2017 kern.info kernel: [ 961.300660] hub 1-1:1.0: 4 ports detected
Thu Apr 20 10:41:47 2017 kern.info kernel: [ 986.577885] usb 1-1: USB disconnect, device number 124
Thu Apr 20 10:41:47 2017 kern.info kernel: [ 986.821924] usb 1-1: new high-speed USB device number 125 using fsl-ehci
Thu Apr 20 10:41:48 2017 kern.info kernel: [ 986.960029] hub 1-1:1.0: USB hub found
Thu Apr 20 10:41:48 2017 kern.info kernel: [ 986.964202] hub 1-1:1.0: 4 ports detected
Thu Apr 20 10:41:53 2017 kern.info kernel: [ 991.933221] usb 1-1: USB disconnect, device number 125
Thu Apr 20 10:41:53 2017 kern.info kernel: [ 992.177825] usb 1-1: new high-speed USB device number 126 using fsl-ehci
Thu Apr 20 10:41:53 2017 kern.info kernel: [ 992.315980] hub 1-1:1.0: USB hub found
Thu Apr 20 10:41:53 2017 kern.info kernel: [ 992.320159] hub 1-1:1.0: 4 ports detected
Thu Apr 20 10:42:02 2017 kern.info kernel: [ 1001.763764] usb 1-1: USB disconnect, device number 126
Thu Apr 20 10:42:03 2017 kern.info kernel: [ 1002.009660] usb 1-1: new high-speed USB device number 127 using fsl-ehci
Thu Apr 20 10:42:03 2017 kern.info kernel: [ 1002.159774] hub 1-1:1.0: USB hub found
Thu Apr 20 10:42:03 2017 kern.info kernel: [ 1002.163953] hub 1-1:1.0: 4 ports detected
Thu Apr 20 10:42:07 2017 kern.info kernel: [ 1006.033730] usb 1-1: USB disconnect, device number 127
Thu Apr 20 10:42:07 2017 kern.info kernel: [ 1006.281597] usb 1-1: new high-speed USB device number 2 using fsl-ehci
Thu Apr 20 10:42:07 2017 kern.info kernel: [ 1006.419736] hub 1-1:1.0: USB hub found
Thu Apr 20 10:42:07 2017 kern.info kernel: [ 1006.423795] hub 1-1:1.0: 4 ports detected
Thu Apr 20 10:42:10 2017 kern.info kernel: [ 1009.824073] usb 1-1: USB disconnect, device number 2
Thu Apr 20 10:42:11 2017 kern.info kernel: [ 1010.076110] usb 1-1: new high-speed USB device number 3 using fsl-ehci
Thu Apr 20 10:42:11 2017 kern.info kernel: [ 1010.215709] hub 1-1:1.0: USB hub found
Thu Apr 20 10:42:11 2017 kern.info kernel: [ 1010.220010] hub 1-1:1.0: 4 ports detected
Thu Apr 20 10:42:12 2017 kern.info kernel: [ 1011.588932] usb 1-1: USB disconnect, device number 3
Thu Apr 20 10:42:12 2017 kern.info kernel: [ 1011.833503] usb 1-1: new high-speed USB device number 4 using fsl-ehci

cat /sys/kernel/debug/usb/devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 1, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 4.04
S: Manufacturer=Linux 4.4.61 ehci_hcd
S: Product=Freescale On-Chip EHCI Host Controller
S: SerialNumber=fsl-ehci.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 45 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=05e3 ProdID=0608 Rev=85.36
S: Product=USB2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms

lsusb -v

Bus 001 Device 048: ID 05e3:0608 Genesys Logic, Inc. Hub
Device Descriptor:

bLength                18
bDescriptorType         1
bcdUSB               2.00
bDeviceClass            9 Hub
bDeviceSubClass         0 Unused
bDeviceProtocol         1 Single TT
bMaxPacketSize0        64
idVendor           0x05e3 Genesys Logic, Inc.
idProduct          0x0608 Hub
bcdDevice           85.36
iManufacturer           0 
iProduct                1 USB2.0 Hub
iSerial                 0 
bNumConfigurations      1
Configuration Descriptor:
  bLength                 9
  bDescriptorType         2
  wTotalLength           25
  bNumInterfaces          1
  bConfigurationValue     1
  iConfiguration          0 
  bmAttributes         0xe0
    Self Powered
    Remote Wakeup
  MaxPower              100mA
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        0
    bAlternateSetting       0
    bNumEndpoints           1
    bInterfaceClass         9 Hub
    bInterfaceSubClass      0 Unused
    bInterfaceProtocol      0 Full speed (or root) hub
    iInterface              0 
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x81  EP 1 IN
      bmAttributes            3
        Transfer Type            Interrupt
        Synch Type               None
        Usage Type               Data
      wMaxPacketSize     0x0001  1x 1 bytes
      bInterval              12

Hub Descriptor:

bLength               9
bDescriptorType      41
nNbrPorts             4
wHubCharacteristic 0x00e9
  Per-port power switching
  Per-port overcurrent protection
  TT think time 32 FS bits
  Port indicators
bPwrOn2PwrGood       50 * 2 milli seconds
bHubContrCurrent    100 milli Ampere
DeviceRemovable    0x00
PortPwrCtrlMask    0xff

Hub Port Status:

 Port 1: 0000.0100 power
 Port 2: 0000.0100 power
 Port 3: 0000.0100 power
 Port 4: 0000.0100 power

Device Qualifier (for other device speed):

bLength                10
bDescriptorType         6
bcdUSB               2.00
bDeviceClass            9 Hub
bDeviceSubClass         0 Unused
bDeviceProtocol         0 Full speed (or root) hub
bMaxPacketSize0        64
bNumConfigurations      1

Device Status: 0x0001

Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:

bLength                18
bDescriptorType         1
bcdUSB               2.00
bDeviceClass            9 Hub
bDeviceSubClass         0 Unused
bDeviceProtocol         1 Single TT
bMaxPacketSize0        64
idVendor           0x1d6b Linux Foundation
idProduct          0x0002 2.0 root hub
bcdDevice            4.04
iManufacturer           3 Linux 4.4.61 ehci_hcd
iProduct                2 Freescale On-Chip EHCI Host Controller
iSerial                 1 fsl-ehci.0
bNumConfigurations      1
Configuration Descriptor:
  bLength                 9
  bDescriptorType         2
  wTotalLength           25
  bNumInterfaces          1
  bConfigurationValue     1
  iConfiguration          0 
  bmAttributes         0xe0
    Self Powered
    Remote Wakeup
  MaxPower                0mA
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        0
    bAlternateSetting       0
    bNumEndpoints           1
    bInterfaceClass         9 Hub
    bInterfaceSubClass      0 Unused
    bInterfaceProtocol      0 Full speed (or root) hub
    iInterface              0 
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x81  EP 1 IN
      bmAttributes            3
        Transfer Type            Interrupt
        Synch Type               None
        Usage Type               Data
      wMaxPacketSize     0x0004  1x 4 bytes
      bInterval              12

Hub Descriptor:

bLength               9
bDescriptorType      41
nNbrPorts             1
wHubCharacteristic 0x0009
  Per-port power switching
  Per-port overcurrent protection
  TT think time 8 FS bits
bPwrOn2PwrGood       10 * 2 milli seconds
bHubContrCurrent      0 milli Ampere
DeviceRemovable    0x00
PortPwrCtrlMask    0xff

Hub Port Status:

 Port 1: 0000.0503 highspeed power enable connect

Device Status: 0x0001

Self Powered
19.04.2017721FlysprayBug ReportVery LowHighwrong token error when submitting bug reportAllWaiting on reporter Task Description

I wrote a whole bug report about broken port forwarding on the Flyspray page https://bugs.lede-project.org/index.php?do=newtask&project=2. Flyspray ate my report when I pressed “Add this task”, and it showed me a page that was blank except for the words “wrong token”. It would be better if this feedback were a lot less cryptic. It would be better if my bug report didn’t have to be written again. I’ll try one more time, and I won’t write it this time on the webpage itself. I’ll just paste it there.

19.04.2017717Base systemBug ReportVery LowHighWRT3200ACM USB 3.0 ProblemAllUnconfirmed Task Description

I can´t get my Seagate Expansion Portable 1TB STEA1000400 USB3.0 drive to be be recognized on the USB 3.0 port of the router after a reboot or cold start on WRT3200 but if i remove and hotplug the drive, it is automatically detected and can be mounted.
It happens with images from Openwrt 15.05.1, LEDE 17.01.1 and many snapshots from both projects that i have installed. I have no problem with another usb2.0 drive from Samsung that is installed in another USB2.0 port.

After Cold START or REBOOT

 root@LEDE:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.20 (ag33e33@ubuntu) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3963-7ae58be) ) #0 SMP Wed Apr 12 16:12:18 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] OF: fdt:Machine model: Linksys WRT3200ACM
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c0646900, node_mem_map dfbf9000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] percpu: Embedded 13 pages/cpu @dfbce000 s22732 r8192 d22324 u53248
[    0.000000] pcpu-alloc: s22732 r8192 d22324 u53248 alloc=13*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock6 ro rootdelay=1 rootfstype=jffs2 earlyprintk mtdparts=armada-nand:2048K(uboot)ro,128K(u_env),256K(s_env),256K@8064K(devinfo),1920K@8320K(sysdiag),80m@10m(kernel),74m@16m(rootfs),80m@90m(alt_kernel),74m@96m(alt_rootfs),160m@10m(ubifs),-@170m(syscfg)
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512848K/524288K available (4545K kernel code, 180K rwdata, 1244K rodata, 280K init, 310K bss, 11440K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
                   lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0xc0008000 - 0xc0478918   (4547 kB)
                     .init : 0xc05d4000 - 0xc061a000   ( 280 kB)
                     .data : 0xc061a000 - 0xc0647200   ( 181 kB)
                      .bss : 0xc0647200 - 0xc0694a00   ( 310 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] Selected CPU frequency (16) unsupported
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000002] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.000008] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000114] Calibrating local timer... 933.22MHz.
[    0.060032] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.060037] pid_max: default: 32768 minimum: 301
[    0.060076] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.060079] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.060274] CPU: Testing write buffer coherency: ok
[    0.060365] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.060376] Setting up static identity map for 0x8280 - 0x82d8
[    0.060434] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.060494] mvebu-pmsu: Initializing Power Management Service Unit
[    0.060904] Booting CPU 1
[    0.061041] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.061070] Brought up 2 CPUs
[    0.061075] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.061078] CPU: All CPU(s) started in SVC mode.
[    0.062739] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.062790] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.062796] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.062831] pinctrl core: initialized pinctrl subsystem
[    0.063142] NET: Registered protocol family 16
[    0.063575] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.090041] cpuidle: using governor ladder
[    0.090171] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.090177] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.120467] reg-fixed-voltage xhci0-vbus: could not find pctldev for node /soc/internal-regs/pinctrl@18000/xhci0-vbus-pins, deferring probe
[    0.120607] SCSI subsystem initialized
[    0.120687] libata version 3.00 loaded.
[    0.120790] usbcore: registered new interface driver usbfs
[    0.120815] usbcore: registered new interface driver hub
[    0.120835] usbcore: registered new device driver usb
[    0.121329] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.121647] NET: Registered protocol family 2
[    0.121869] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.121890] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.121920] TCP: Hash tables configured (established 4096 bind 4096)
[    0.121941] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.121952] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.122009] NET: Registered protocol family 1
[    0.122021] PCI: CLS 0 bytes, default 64
[    0.122803] Crashlog allocated RAM at address 0x3f00000
[    0.122877] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.124945] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.124953] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.125699] io scheduler noop registered
[    0.125703] io scheduler deadline registered (default)
[    0.126071] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    0.126671] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    0.126679] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.126683] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    0.126687] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.126701] pci 0000:00:01.0: [11ab:6820] type 01 class 0x060400
[    0.126784] pci 0000:00:02.0: [11ab:6820] type 01 class 0x060400
[    0.126859] PCI: bus0: Fast back to back transfers disabled
[    0.126864] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.126870] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.126918] pci 0000:01:00.0: [11ab:2b40] type 00 class 0x020000
[    0.126933] pci 0000:01:00.0: reg 0x10: [mem 0x40000000-0x401fffff 64bit pref]
[    0.126943] pci 0000:01:00.0: reg 0x18: [mem 0x40200000-0x402fffff 64bit pref]
[    0.127002] pci 0000:01:00.0: supports D1 D2
[    0.127005] pci 0000:01:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.127068] PCI: bus1: Fast back to back transfers disabled
[    0.127073] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.127132] pci 0000:02:00.0: [11ab:2b40] type 00 class 0x020000
[    0.127151] pci 0000:02:00.0: reg 0x10: [mem 0x42000000-0x421fffff 64bit pref]
[    0.127162] pci 0000:02:00.0: reg 0x18: [mem 0x42200000-0x422fffff 64bit pref]
[    0.127244] pci 0000:02:00.0: supports D1 D2
[    0.127246] pci 0000:02:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.127310] PCI: bus2: Fast back to back transfers disabled
[    0.127315] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    0.127384] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe02fffff]
[    0.127390] pci 0000:00:02.0: BAR 8: assigned [mem 0xe0400000-0xe06fffff]
[    0.127396] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe01fffff 64bit pref]
[    0.127405] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0200000-0xe02fffff 64bit pref]
[    0.127413] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.127418] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe02fffff]
[    0.127425] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0400000-0xe05fffff 64bit pref]
[    0.127434] pci 0000:02:00.0: BAR 2: assigned [mem 0xe0600000-0xe06fffff 64bit pref]
[    0.127443] pci 0000:00:02.0: PCI bridge to [bus 02]
[    0.127448] pci 0000:00:02.0:   bridge window [mem 0xe0400000-0xe06fffff]
[    0.127646] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.181754] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.181840] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.241717] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.241857] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.242621] console [ttyS0] disabled
[    0.262683] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 21, base_baud = 12500000) is a 16550A
[    0.983287] console [ttyS0] enabled
[    0.988691] loop: module loaded
[    0.992090] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.001176] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.010274] scsi host0: ahci-mvebu
[    1.013847] scsi host1: ahci-mvebu
[    1.017348] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 41
[    1.025306] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 41
[    1.033594] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.041369] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xda
[    1.047747] nand: AMD/Spansion S34ML02G2
[    1.051690] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
[    1.059379] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.066556] Bad block table found at page 131008, version 0x01
[    1.072752] Bad block table found at page 130944, version 0x01
[    1.078863] 11 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.085074] Creating 11 MTD partitions on "pxa3xx_nand-0":
[    1.090582] 0x000000000000-0x000000200000 : "u-boot"
[    1.095830] 0x000000200000-0x000000220000 : "u_env"
[    1.100951] 0x000000220000-0x000000260000 : "s_env"
[    1.106089] 0x0000007e0000-0x000000820000 : "devinfo"
[    1.111433] 0x000000820000-0x000000a00000 : "sysdiag"
[    1.116797] 0x000000a00000-0x000005a00000 : "kernel1"
[    1.122301] 0x000001000000-0x000005a00000 : "ubi"
[    1.127404] 0x000005a00000-0x00000aa00000 : "kernel2"
[    1.132905] 0x000006000000-0x00000aa00000 : "rootfs2"
[    1.138362] 0x00000aa00000-0x000010000000 : "syscfg"
[    1.143774] 0x000000260000-0x000000820000 : "unused_area"
[    1.149701] libphy: Fixed MDIO Bus: probed
[    1.154064] libphy: orion_mdio_bus: probed
[    1.158297] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.166962] mvneta f1070000.ethernet eth0: Using hardware mac address 60:38:e0:b9:ea:c0
[    1.175959] mvneta f1034000.ethernet eth1: Using random mac address a2:8d:5e:6d:ee:98
[    1.183881] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.190435] ehci-pci: EHCI PCI platform driver
[    1.194928] ehci-platform: EHCI generic platform driver
[    1.200245] ehci-orion: EHCI orion driver
[    1.204336] orion-ehci f1058000.usb: EHCI Host Controller
[    1.209765] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.217412] orion-ehci f1058000.usb: irq 37, io mem 0xf1058000
[    1.251329] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.257480] hub 1-0:1.0: USB hub found
[    1.261254] hub 1-0:1.0: 1 port detected
[    1.265551] usbcore: registered new interface driver usb-storage
[    1.271723] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.279341] i2c /dev entries driver
[    1.294252] orion_wdt: Initial timeout 171 sec
[    1.298933] sdhci: Secure Digital Host Controller Interface driver
[    1.305146] sdhci: Copyright(c) Pierre Ossman
[    1.362546] ata1: SATA link down (SStatus 0 SControl 300)
[    1.367991] ata2: SATA link down (SStatus 0 SControl 300)
[    1.371354] mmc0: SDHCI controller on f10d8000.sdhci [f10d8000.sdhci] using ADMA
[    1.371428] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.377154] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.377556] NET: Registered protocol family 10
[    1.391590] NET: Registered protocol family 17
[    1.391604] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.391605] 8021q: 802.1Q VLAN Support v1.8
[    1.391661] Registering SWP/SWPB emulation handler
[    1.392791] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.392803] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 2
[    1.392861] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.392881] xhci-hcd f10f8000.usb3: irq 44, io mem 0xf10f8000
[    1.393134] hub 2-0:1.0: USB hub found
[    1.393160] hub 2-0:1.0: 1 port detected
[    1.393247] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.393253] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    1.393292] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.393478] hub 3-0:1.0: USB hub found
[    1.393501] hub 3-0:1.0: 1 port detected
[    1.393820] UBI: auto-attach mtd6
[    1.393824] ubi0: attaching mtd6
[    1.397930] random: fast init done
[    1.401551] mmc0: new high speed SDIO card at address 0001
[    1.593092] ubi0: scanning is finished
[    1.601334] ubi0: attached mtd6 (name "ubi", size 74 MiB)
[    1.606756] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    1.613664] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    1.620479] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    1.627475] ubi0: good PEBs: 592, bad PEBs: 0, corrupted PEBs: 0
[    1.633508] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    1.640759] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1419003487
[    1.649932] ubi0: available PEBs: 0, total reserved PEBs: 592, PEBs reserved for bad PEB handling: 40
[    1.659197] ubi0: background thread "ubi_bgt0d" started, PID 668
[    1.659208] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    1.659643] block ubiblock0_0: created from ubi0:0(rootfs)
[    1.659645] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    1.659829] mvsw61xx 10.mvsw61xx: Found MV88E6352 at f1072004.mdio-mi:10
[    1.659832] mvsw61xx 10.mvsw61xx: Using direct addressing
[    1.671972] armada38x-rtc f10a3800.rtc: setting system clock to 2101-11-05 12:45:50 UTC (4160637950)
[    1.705850] Waiting 1 sec before mounting root device...
[    1.852932] usb-storage 1-1:1.0: USB Mass Storage device detected
[    1.859142] scsi host2: usb-storage 1-1:1.0
[    2.722974] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    2.730260] Freeing unused kernel memory: 280K (c05d4000 - c061a000)
[    2.736655] This architecture does not have kernel memory protection.
[    2.855724] init: Console is alive
[    2.859203] init: - watchdog -
[    2.924338] scsi 2:0:0:0: Direct-Access     Samsung  S2 Portable           PQ: 0 ANSI: 2 CCS
[    3.111498] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.151660] sd 2:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    3.159777] sd 2:0:0:0: [sda] Write Protect is off
[    3.164597] sd 2:0:0:0: [sda] Mode Sense: 28 00 00 00
[    3.165152] sd 2:0:0:0: [sda] No Caching mode page found
[    3.170490] sd 2:0:0:0: [sda] Assuming drive cache: write through
[    3.179038]  sda: sda1
[    3.183653] sd 2:0:0:0: [sda] Attached SCSI disk
[    3.188738] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.195221] ohci-platform: OHCI generic platform driver
[    3.200902] uhci_hcd: USB Universal Host Controller Interface driver
[    3.207556] ohci-pci: OHCI PCI platform driver
[    3.212156] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.228593] init: - preinit -
[    3.422394] mvneta f1070000.ethernet tmp0: renamed from eth0
[    3.462586] mvneta f1034000.ethernet eth0: renamed from eth1
[    3.512510] mvneta f1070000.ethernet eth1: renamed from tmp0
[    3.833291] mvneta f1034000.ethernet eth0: configuring for fixed link mode
[    3.840562] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    3.846607] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    3.854578] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    5.909798] mount_root: loading kmods from internal overlay
[    5.921475] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    5.929503] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[    6.328768] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 806
[    6.357145] UBIFS (ubi0:1): recovery needed
[    6.403932] random: crng init done
[    6.431762] UBIFS (ubi0:1): recovery completed
[    6.436249] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[    6.444117] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    6.454076] UBIFS (ubi0:1): FS size: 61329408 bytes (58 MiB, 483 LEBs), journal size 3047424 bytes (2 MiB, 24 LEBs)
[    6.464556] UBIFS (ubi0:1): reserved for root: 2896739 bytes (2828 KiB)
[    6.471198] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID DEE50754-EFFE-4990-A7A6-C97266C9BEF0, small LPT model
[    6.483473] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[    6.493882] block: extroot: not configured
[    6.531369] UBIFS (ubi0:1): un-mount UBI device 0
[    6.536097] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" stops
[    6.544028] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 809
[    6.591527] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[    6.599392] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    6.609356] UBIFS (ubi0:1): FS size: 61329408 bytes (58 MiB, 483 LEBs), journal size 3047424 bytes (2 MiB, 24 LEBs)
[    6.619838] UBIFS (ubi0:1): reserved for root: 2896739 bytes (2828 KiB)
[    6.626483] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID DEE50754-EFFE-4990-A7A6-C97266C9BEF0, small LPT model
[    6.641627] mount_root: loading kmods from internal overlay
[    6.652909] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[    6.670201] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[    7.078279] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[    7.086484] block: extroot: not configured
[    7.132013] mount_root: switching to ubifs overlay
[    7.176201] ubi1: attaching mtd9
[    7.407547] ubi1: scanning is finished
[    7.415742] ubi1: attached mtd9 (name "syscfg", size 86 MiB)
[    7.421435] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    7.428338] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    7.435155] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
[    7.442148] ubi1: good PEBs: 680, bad PEBs: 8, corrupted PEBs: 0
[    7.448177] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
[    7.455430] ubi1: max/mean erase counter: 6/4, WL threshold: 4096, image sequence number: 1148089792
[    7.464603] ubi1: available PEBs: 0, total reserved PEBs: 680, PEBs reserved for bad PEB handling: 32
[    7.473869] ubi1: background thread "ubi_bgt1d" started, PID 824
[    7.485213] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 828
[    7.537764] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "syscfg"
[    7.545202] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    7.555161] UBIFS (ubi1:0): FS size: 80375808 bytes (76 MiB, 633 LEBs), journal size 4063232 bytes (3 MiB, 32 LEBs)
[    7.565642] UBIFS (ubi1:0): reserved for root: 3796347 bytes (3707 KiB)
[    7.572287] UBIFS (ubi1:0): media format: w4/r0 (latest is w4/r0), UUID A5EAB2F8-92D3-4D0B-A69A-9F6CA9A608B3, small LPT model
[    7.585463] urandom-seed: Seeding with /etc/urandom.seed
[    7.684142] procd: - early -
[    7.687055] procd: - watchdog -
[    8.315049] procd: - ubus -
[    8.371904] procd: - init -
[    8.546612] kmodloader: loading kernel modules from /etc/modules.d/*
[    8.557859] tun: Universal TUN/TAP device driver, 1.6
[    8.562965] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    8.571391] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    8.580401] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    8.587876] cryptodev: driver 1.8 loaded.
[    8.592340] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[    8.600387] Backport generated by backports.git backports-20160324-13-g24da7d3c
[    8.615059] <<Marvell 802.11ac Wireless Network Driver version 10.3.2.0-20170110>>
[    8.622702] pci 0000:00:01.0: enabling device (0140 -> 0142)
[    8.628443] ieee80211 phy0: priv->iobase0 = e0f80000
[    8.628454] ieee80211 phy0: priv->iobase1 = e1200000
[    8.628463] ieee80211 phy0: priv->pcmd_buf = ddf08000  priv->pphys_cmd_buf = 1df08000
[    8.636458] ieee80211 phy0: fw download start
[    8.699990] ieee80211 phy0: FwSize = 207660 downloaded Size = 207660 curr_iteration 65522
[   12.431324] ieee80211 phy0: fw download complete
[   12.431783] ieee80211 phy0: pcmd = ddf08000
[   12.449817] ieee80211 phy0: firmware version: 0x7080004
[   12.809338] ieee80211 phy0: firmware region code: 10
[   12.851995] ieee80211 phy0: 2G disabled, 5G enabled
[   12.856895] ieee80211 phy0: 4 TX antennas, 4 RX antennas
[   12.862298] pci 0000:00:02.0: enabling device (0140 -> 0142)
[   12.868032] ieee80211 phy1: priv->iobase0 = e1380000
[   12.868043] ieee80211 phy1: priv->iobase1 = e1600000
[   12.868052] ieee80211 phy1: priv->pcmd_buf = dddf0000  priv->pphys_cmd_buf = 1ddf0000
[   12.874418] ieee80211 phy1: fw download start
[   12.939175] ieee80211 phy1: FwSize = 207660 downloaded Size = 207660 curr_iteration 65527
[   14.327325] ieee80211 phy1: fw download complete
[   14.327812] ieee80211 phy1: pcmd = dddf0000
[   14.345344] ieee80211 phy1: firmware version: 0x7080004
[   14.706323] ieee80211 phy1: firmware region code: 10
[   14.750021] ieee80211 phy1: 2G enabled, 5G disabled
[   14.754934] ieee80211 phy1: 4 TX antennas, 4 RX antennas
[   14.762803] u32 classifier
[   14.765522]     input device check on
[   14.769196]     Actions configured
[   14.773037] Mirror/redirect action on
[   14.778285] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[   14.790080] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.799009] mwifiex: rx work enabled, cpus 2
[   14.846998] usbcore: registered new interface driver ums-alauda
[   14.853672] usbcore: registered new interface driver ums-cypress
[   14.860218] usbcore: registered new interface driver ums-datafab
[   14.866723] usbcore: registered new interface driver ums-freecom
[   14.873187] usbcore: registered new interface driver ums-isd200
[   14.879542] usbcore: registered new interface driver ums-jumpshot
[   14.886112] usbcore: registered new interface driver ums-karma
[   14.892282] usbcore: registered new interface driver ums-sddr09
[   14.898499] usbcore: registered new interface driver ums-sddr55
[   14.904752] usbcore: registered new interface driver ums-usbat
[   14.917781] xt_time: kernel timezone is -0000
[   14.925132] PPP generic driver version 2.4.2
[   14.929843] NET: Registered protocol family 24
[   14.935112] kmodloader: done loading kernel modules from /etc/modules.d/*
[   15.469997] mwifiex_sdio mmc0:0001:1: info: FW download over, size 391772 bytes
[   15.831665] mwifiex_sdio mmc0:0001:1: WLAN FW is active
[   15.864262] mwifiex_sdio mmc0:0001:1: CMD_RESP: cmd 0x242 error, result=0x2
[   15.871261] mwifiex_sdio mmc0:0001:1: mwifiex_process_cmdresp: cmd 0x242 failed during       initialization
[   15.890625] mwifiex_sdio mmc0:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (15.68.7.p5)
[   15.898674] mwifiex_sdio mmc0:0001:1: driver_version = mwifiex 1.0 (15.68.7.p5)
[   16.052347] mvneta f1034000.ethernet eth0: configuring for fixed link mode
[   16.059309] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   16.065375] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   16.073372] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   16.081683] br-lan: port 1(eth0.1) entered blocking state
[   16.087106] br-lan: port 1(eth0.1) entered disabled state
[   16.092675] device eth0.1 entered promiscuous mode
[   16.097485] device eth0 entered promiscuous mode
[   16.103227] br-lan: port 1(eth0.1) entered blocking state
[   16.108650] br-lan: port 1(eth0.1) entered forwarding state
[   16.122758] mvneta f1070000.ethernet eth1: configuring for fixed link mode
[   16.130044] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   16.136169] mvneta f1070000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[   16.144170] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   16.342477] pppoe-wan: renamed from ppp0
[   16.900336] ieee80211 phy1: change: 0xffffffff
[   17.006509] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   17.137396] ieee80211 phy0: change: 0xffffffff
[   17.271596] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   17.277594] br-lan: port 2(wlan1) entered blocking state
[   17.282955] br-lan: port 2(wlan1) entered disabled state
[   17.288408] device wlan1 entered promiscuous mode
[   17.293166] br-lan: port 2(wlan1) entered blocking state
[   17.298502] br-lan: port 2(wlan1) entered forwarding state
[   17.304255] br-lan: port 2(wlan1) entered disabled state
[   17.309734] br-lan: port 3(wlan0) entered blocking state
[   17.315091] br-lan: port 3(wlan0) entered disabled state
[   17.320543] device wlan0 entered promiscuous mode
[   17.327109] ieee80211 phy0: change: 0x100
[   17.344423] ieee80211 phy0: change: 0x40
[   17.380440] ieee80211 phy1: change: 0x100
[   17.392530] ieee80211 phy1: change: 0x42
[   17.593821] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   17.600257] br-lan: port 2(wlan1) entered blocking state
[   17.605603] br-lan: port 2(wlan1) entered forwarding state
[   17.611269] ieee80211 phy0: change: 0x40
[   17.671185] ieee80211 phy1: change: 0x20
[   17.861365] ieee80211 phy0: change: 0x40
[   17.993370] ieee80211 phy0: change: 0x100
[   18.060535] ieee80211 phy0: change: 0x100
[   18.073629] ieee80211 phy0: change: 0x42
[   18.341340] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   18.347812] br-lan: port 3(wlan0) entered blocking state
[   18.353170] br-lan: port 3(wlan0) entered forwarding state
 root@LEDE:~# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 04e8:1f05 Samsung Electronics Co., Ltd S2 Portable [JMicron] (500GB)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

After i remove the cable and hotplug i get this additional lines in DMESG:

 #
[  527.103849] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[  527.134880] usb-storage 3-1:1.0: USB Mass Storage device detected
[  527.141155] scsi host3: usb-storage 3-1:1.0
[  528.154087] scsi 3:0:0:0: Direct-Access     Seagate  Expansion        1805 PQ: 0 ANSI: 6
[  529.455313] sd 3:0:0:0: [sdb] 1953525167 512-byte logical blocks: (1.00 TB/932 GiB)
[  529.463210] sd 3:0:0:0: [sdb] Write Protect is off
[  529.468032] sd 3:0:0:0: [sdb] Mode Sense: 33 00 00 08
[  529.473381] sd 3:0:0:0: [sdb] No Caching mode page found
[  529.478724] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[  529.499962]  sdb: sdb1 sdb2
[  529.503903] sd 3:0:0:0: [sdb] Attached SCSI disk
[  612.132851] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts:
root@LEDE:~# lsusb
Bus 003 Device 002: ID 0bc2:231b Seagate RSS LLC
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 04e8:1f05 Samsung Electronics Co., Ltd S2 Portable [JMicron] (500GB)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub 


17.04.2017714Base systemBug ReportVery LowHighARP/Broadcast does not reach other clients in the same ...AllUnconfirmed Task Description

I have the default bridge with ethernet and WLAN in it. When i try to send data from a client to another, both connected to the same WLAN SSID, it doesn’t work (Destination unreachable).
Wireshark shows that it sends endless ARP requests to Broadcast, but the other clients in that WLAN never get it (and therefore can’t answer). The broadcast gets still delivery to every client connected through Ethernet. If i create a second WLAN SSID (even on the same adapter) and and add it to the bridge, it gets also all broadcast packets from the other WLAN...
So if i put the 2 clients in different WLAN SSIDs or ethernet they get the broadcast from each other, but not when both are connected to the same.

The isolate option is not set in the wireless config.
Archer C5 v1 with latest LEDE snapshot (no difference to 17.01 stable or rc).

10.04.2017697Base systemBug ReportVery LowHighLEDE tl-wdr3320-v2 No 2.4GHzlede-17.01Waiting on reporter Task Description

ar9344+ar9287

this:
https://downloads.lede-project.org/releases/17.01.0/targets/ar71xx/generic/lede-17.01.0-r3205-59508e3-ar71xx-generic-tl-wdr3320-v2-squashfs-sysupgrade.bin
No 2.4GHz

03.04.2017677Base systemBug ReportVery LowHighdnsmasq-full does not respond to DNS queries on IPv6 li...TrunkUnconfirmed Task Description

LEDE 17.01 on Buffalo WZR-HP-AG300NH, tested with both dnsmasq-full 2.76 from 17.01 and 2.77test4-1 from trunk

The link-local address of the router is advertised as DNS resolver in the IPv6 router advertisement. Queries to that address are received on the router, logged in dnsmasq, but an answer is never sent (verified with tcpdump).

Tue Apr 4 00:10:20 2017 daemon.info dnsmasq[29569]: 15 fe80::6600:6aff:fe6a:9cf4%br-lan/34427 query[A] www.heise.de from fe80::6600:6aff:fe6a:9cf4
Tue Apr 4 00:10:20 2017 daemon.info dnsmasq[29569]: 15 fe80::6600:6aff:fe6a:9cf4%br-lan/34427 cached www.heise.de is 193.99.144.85

A query to the global address of the very same router works just fine.

28.03.2017661Base systemBug ReportVery LowHighUSB hostless modem is not detected during boot - HooToo...lede-17.01Unconfirmed Task Description

After flashing my HooToo HT-TM02 with LEDE 17.01 I noticed that my hostless modem
ZTE MF823 is not detected when attached during boot. lsusb or cat /sys/kernel/debug/usb/devices
just shows nothing. Also dmesg is logging nothing regarding the device during boot.
If the modem is hotplugged, everything works fine. Same behaviour in OpenWRT Chaos Chalmer.

Tried unloading and reloading all usb related modules with no success. No detection at all.
Only unplugging and replugging helps. If the modem is detected after replugging, a
router reboot will detect it properly. A reboot without a forced detection via replugging leads to
no detection. Powering the router down, also results in no detection after rebooting.

If attached to a “non powered” USB-Hub it gets detected during boot, so no power issue here.

And the modem works perfekt after boot on a WD MyNet 600 with LEDE 17.01. So i think it’s a
platform related issue handling the usb modules.

Hope there is enough info for someone to find the bug.

THX.

20.03.2017644Base systemBug ReportVery LowHighWiFi fails with AP & Meshpoint interfacesTrunkUnconfirmed Task Description

Since this commit:

  r3307-649e766"mac80211: update to wireless-testing 2017-01-31" dated 2 Fed 2017

wifi does not correctly support concurrent AP and Meshpoint interfaces.

Immediately prior to the commit (r3306-91fce81), the problem is not in evidence.

  

In failure, the ‘iw dev’ command shows details of both interfaces, but he “channel” line is missing from the command output for the Meshpoint interface and the Meshpoint interface is not actually working.

The firmware operates correctly with two AP interfaces defined, or with two Meshpoint interfaces defined.

Also the “top” command shows a high level of CPU utilisation, typically 50% for [kworker/u2:2]

- Device problem occurs on:

  Various. Tested here on AR9331 based Dragino-2 / VT MeshPotato-2  device

- Software versions of LEDE release, packages, etc.

  Working
  DISTRIB_DESCRIPTION='LEDE Reboot SNAPSHOT r3306-91fce81' 
  Not Working
  DISTRIB_DESCRIPTION='LEDE Reboot SNAPSHOT r3307-649e766' 

- Steps to reproduce

 Check out the required version of LEDE
 Remove .config
 Run 'make menuconfig' and select a suitable device
 Set up a suitable file in ./files/etc/config/wireless to set up AP and Meshpoint interface
 Run make
 Flash the sysupgrade file on to the device
 Run  'iw  dev' and check to see if both interface are working properly.
 In failure, the Meshpoint interface will not show a "channel" line in 'iw dev output.

Sample test results


Working


DISTRIB_DESCRIPTION=’LEDE Reboot SNAPSHOT r3306-91fce81’
DISTRIB_REVISION=’r3306-91fce81’ Dragino

root@MP2-20:~# iw dev
phy#0

Interface wlan0
	ifindex 7
	wdev 0x3
	addr 02:03:7f:11:22:33
	ssid MyTestAP
	type AP
	channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
	txpower 16.00 dBm
Interface wlan0-1
	ifindex 6
	wdev 0x2
	addr 00:03:7f:11:22:33
	type mesh point
	channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
	txpower 16.00 dBm

Mem: 19992K used, 40440K free, 148K shrd, 2168K buff, 6232K cached
CPU: 5% usr 3% sys 0% nic 89% idle 0% io 0% irq 0% sirq
Load average: 0.38 0.39 0.17 1/41 1811

PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND

1200 1 root S 1648 3% 1% /usr/sbin/hostapd -s -P /var/run/wifi
1784 1695 root R 1180 2% 1% top -d 2

950     1 root     S     1672   3%   0% /sbin/netifd

Not Working


DISTRIB_DESCRIPTION=’LEDE Reboot SNAPSHOT r3307-649e766’
DISTRIB_REVISION=’r3307-649e766’ Dragino


root@MP2-20:~# iw dev
phy#0

Interface wlan0
	ifindex 7
	wdev 0x3
	addr 02:03:7f:11:22:33
	ssid MyTestAP
	type AP
	channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
	txpower 16.00 dBm
Interface wlan0-1
	ifindex 6
	wdev 0x2
	addr 00:03:7f:11:22:33
	type mesh point
	txpower 16.00 dBm

Mem: 19624K used, 40808K free, 56K shrd, 2128K buff, 5604K cached
CPU: 0% usr 50% sys 0% nic 47% idle 0% io 0% irq 0% sirq
Load average: 2.24 1.75 0.83 7/40 2271

PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND

2162 2 root RW 0 0% 50% [kworker/u2:2]

578     1 root     R     1228   2%   1% /sbin/logd -S 64

2163 2130 root R 1184 2% 1% top -d2

Example wireless config file


config wifi-device ‘radio0’

option type 'mac80211'
option phy 'phy0'
option htmode 'HT20'
option channel '1'
option disabled '0'
option coverage '5'

config wifi-iface ‘ap_0’

option device 'radio0'
option ifname 'wlan0'
option network 'lan'
option mode 'ap'
option ssid 'MyTestAP'
option encryption 'psk2'
option key 'mypassword'
option hidden '0'
option disabled '0'
option isolate '0'

config wifi-iface ‘ah_0’

option device 'radio0'
option ifname 'wlan0-1'
option mode 'mesh'
option mesh_id 'mytestmesh'
option network 'mesh_0'
option encryption 'none'
option disabled '0'
option mesh_fwding '0'

10.03.2017616KernelBug ReportVery LowHighEthernet port fails to receive traffic if traffic was r...TrunkUnconfirmed Task Description

Symptoms: Fails to receive address via DHCP on WAN port
Board: WPJ558
Lede ver: 92b5b360fe39a4e446742ab3de9d0b2f91991d46 (Mar 7, 2017)
Steps to reproduce: ping -f wan_port_ip from another machine, reboot WPJ558

I have tracked the problem down to commit https://github.com/lede-project/source/commit/94e4ee5395b437e9ddaec8cdea47c1a4a9ba0c01 , more specifically enabling flow control on ports 1-5.

The problem goes away if I comment out line 693 from the patch:

+ t |= AR8216_PORT_STATUS_FLOW_CONTROL;

Funny how this caused the problem it was trying to solve...

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
09.03.2017612Base systemBug ReportVery LowHighWAN to LAN leakage on MT7620 devicesTrunkUnconfirmed Task Description

I am currently testing two MT7620 devices - the ZBT WE826 and the Sanlinking D240. During the first seconds of the boot, I see that packets leak between the WAN and LAN ports. Typically, this results in clients receiving a DHCP reply from my upstream router, rendering the clients without connectivity when the switch is properly initialized. I have also tested with the default firmware and do not see this behavior. Also, if I stop the devices in the bootloader, then packets do not leak until I resume boot again.

In order to try to solve this bug, I have tried to port some (at least to me) missing steps from the bootloader switch code and to the mt7620 switch driver in LEDE. This did not have an effect, at least not on the packet leak. A work-around I have found is to update u-boot and remove the input delay, so that the device will boot immediately. However, this is quite cumbersome to install and not very reliable. I suspect my luck with this work-around is more due to the timing of the DHCP clients in Ubuntu and Windows 10.

Does anyone have any idea as to what could be wrong and where to start looking?

Thanks in advance for any help.

 


09.03.2017611Base systemBug ReportVery LowHighdnsmasq Ignore resolv file option forget at restartAllUnconfirmed Task Description

If you set up dnsmasq to ignore resolv file it will ignore it until reboot is performed. To make ignore it again the option must be uncheck and apply and then check and apply again.

I have /etc/resolv.conf as a symlink to /tmp/resolv.conf, when the router boots up the contents are the dns offered from dhcp over the wan interface. When the ignore resolv option is checked or unchecked the contens are overwrited to search lan and nameserver 127.0.0.1 but it doesn’t seems to affect as if you uncheck ignore resolv the router resolv names, and when you check again the option it can resolv names even the contents still are search lan and nameserver 127.0.0.1.

I haven’t seen yet any other change that can cause the reboot to make dnsmasq follow resolv file when the option is checked until you uncheck-apply and check-apply.

08.03.2017608Base systemBug ReportVery LowHighwds AP/STA disconnecting every 10 minutesTrunkUnconfirmed Task Description

Devices:
AP WDS: Netgear r7800
STA WDS: TP-LINK Archer c7 v2

Problem exists on:

  1. with both latest trunk and 17.01
  2. with both ath10k and ath10k-ct
  3. with STP enabled or not on both sides
  4. with STP enabled or not on only one side
  5. with both WPA2 tkip and aes
  6. with 2.4Ghz and 5Ghz bands

Steps to reproduce

  1. Configure AP WDS
  2. Configure STA WDS
  3. Wait exactly 10 minutes and you’ll see this in the log:

AP:

daemon.info hostapd: wlan1-1: STA 30:b5:c2:08:b9:e1 IEEE 802.11: authenticated
daemon.info hostapd: wlan1-1: STA 30:b5:c2:08:b9:e1 IEEE 802.11: associated (aid 1)
daemon.info hostapd: wlan1-1: STA 30:b5:c2:08:b9:e1 RADIUS: starting accounting session F72C76B14648E205
daemon.info hostapd: wlan1-1: STA 30:b5:c2:08:b9:e1 WPA: pairwise key handshake completed (RSN)

STA:

daemon.notice netifd: Network device 'wlan1' link is down
kern.info kernel: [  387.179978] wlan1: deauthenticated from de:ef:09:f2:99:75 (Reason: 2=PREV_AUTH_NOT_VALID)
kern.info kernel: [  387.188344] br-lan: port 3(wlan1) entered disabled state
kern.info kernel: [  388.139233] wlan1: authenticate with de:ef:09:f2:99:75
kern.info kernel: [  388.170697] wlan1: send auth to de:ef:09:f2:99:75 (try 1/3)
kern.info kernel: [  388.195249] wlan1: authenticated
Wkern.info kernel: [  388.225092] wlan1: associate with de:ef:09:f2:99:75 (try 1/3)
kern.info kernel: [  388.235224] wlan1: RX AssocResp from de:ef:09:f2:99:75 (capab=0x431 status=0 aid=1)
kern.info kernel: [  388.243356] wlan1: associated
daemon.notice netifd: Network device 'wlan1' link is up

I think this has to do with wpa_supplicant in some way, maybe it doesn’t receive the correct packets and force disconnect the client?

Now, this only happens in WDS bridge mode. I’m currently using relayd in order to overcome this issue and it works like a charm.
I want to solve this problem since relayd uses much more cpu power (indeed this is a true routing procotol after all) and total troughput is halved right now.


28.02.2017569Base systemBug ReportVery LowHighUnable to conenct with wpa2-eaplede-17.01Waiting on reporter Task Description

Device: TP-Link Archer C7 V2
LEDE: 17.01.0, r3205-59508e3

Sometimes it is impossible to connect to an AP. It just looks like that he pairwise key handshake fails. This is what i see in the log:

Feb 28 20:13:41 10.0.0.3 hostapd: wlan1: STA 00:13:ef:60:0a:3a IEEE 802.11: authenticated
Feb 28 20:13:41 10.0.0.3 hostapd: wlan1: STA 00:13:ef:60:0a:3a IEEE 802.11: associated (aid 1)
Feb 28 20:13:41 10.0.0.3 hostapd: wlan1: CTRL-EVENT-EAP-STARTED 00:13:ef:60:0a:3a
Feb 28 20:13:41 10.0.0.3 hostapd: wlan1: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1

My config for wpa2-eap is pretty simple:

config wifi-iface ‘default_radio1’

      option device 'radio1'
      option mode 'ap'
      option ssid 'SSID'
      option encryption 'wpa2'
      option auth_server '10.0.0.1'
      option auth_port '1812'
      option auth_secret 'foobar'
      option nasid 'ap02g'
      option network 'lan'
      option wpa_group_rekey '2000'
19.02.2017535KernelBug ReportVery LowHigh5GHz radios not working properly on Netgear R8000lede-17.01Unconfirmed Task Description

After upgrading my R8000 from Chaos Calmer (15.05.1) to LEDE Reboot (17.01.0-rc2, r3131-42f3c1f), I found that I could no longer get the 5GHz radios to work as before. The 2.4GHz radio is fine.

In CC I was using the following configuration:
- radio0 on channel 149, country code ‘00’, VHT80
- radio2 on channel 48, country code ‘00’, VHT80

The firmware apparently only accepts 00 and US as country codes, which is why I was using 00. This discussed at length in: https://forum.openwrt.org/viewtopic.php?id=55367&p=19 (and previous pages)

In 17.01.0-rc2, I can’t get radio0 to come up at all. radio2 can be configured, still on channel 48 and country 00, but in VHT40 mode. If I use VHT80, it stays disabled.

This was discussed previously in this forum post: https://forum.lede-project.org/t/r8000-5ghz-wifi-issue/236 and I get the same error messages and channel selection as the OP, so I will not repeat them here.

I’m not sure if this issue is really related to the country code setting, but I will note that the factory system apparently sets the country code to “EU”:

root@x6:~# nvram show | grep country_code
wl1_country_code=EU
wl0_country_code=EU
wl2_country_code=EU
wl_country_code=
root@x6:~#

I see that LEDE carries a patch on brcmfmac which translates the configured country code to an internal code for the firmware on this specific model (https://git.lede-project.org/?p=source.git;a=blob_plain;f=package/kernel/mac80211/patches/863-brcmfmac-add-in-driver-tables-with-country-codes.patch;hb=refs/heads/lede-17.01). I’m willing to test patches if anyone knows the right internal country code for Europe.

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

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


18.02.2017533Base systemBug ReportVery LowHighanon_mount 1 in fstab freezes boot in wrt3200acmlede-17.01Unconfirmed Task Description

I have run into strange trouble with my new WRT3200ACM:

anon_mount 1 option in /etc/config/fstab causes the boot process to hang.
Hang can be triggered manually with “/sbin/block mount” when that option is set.
Kernel log fills from entries “pxa3xx-nand f10d0000.flash: Wait time out!!!”

I am filing this bug report for 17.01, but the bug seems to be also in master.


For some reason enabling the anon_mount option in /etc/config/fstab prevents the boot process from completing. The boot progresses to some stage and router e.g. answers ping, but power led blinks and it does not allow login and does not provide dhcp etc. services.

I have had that option in all my routers (WNDR3700, WNDR3800, R7800) to make USB memory sticks to automount when inserted into the router’s USB port. So it is a quite normal setting.

I first compiled a mvebu wrt3200acm firmware image from master with kernel 4.9, and that failed to boot. I thought that the new kernel 4.9 might be the reason. So I installed 17.01.0-rc2 official image and it booted ok. I installed packages, configured, rebooted and everything was ok as long as I did not change that anon_mount to 1 in fstab. After changing that, the next boot again gets stuck. (Editing the option in failsafe enables the router to boot normally.)

Boot completes ok with the output of “block detect” entered into fstab:

  config 'global'
          option  anon_swap       '0'
          option  anon_mount      '0'
          option  auto_swap       '1'
          option  auto_mount      '1'
          option  delay_root      '5'
          option  check_fs        '0'

Boot does not complete with anon_mount 1 in /etc/config/fstab:

  config 'global'
          option  anon_swap       '0'
          option  anon_mount      '1'
          option  auto_swap       '1'
          option  auto_mount      '1'
          option  delay_root      '5'
          option  check_fs        '0'

I have no good guess about the reason. My initial guess was some connection to ubi1:syscfg being mounted as /tmp/syscfg as that is different than in my other devices, but it is hard to see how that could be the reason. (That mounting is done in /lib/preinit/81_linksys_syscfg )

After some investigation it looks like the reason is actually “/sbin/block mount”.

At the boot the init script /etc/init.d/fstab actually runs “/sbin/block mount”.
Running that command manually from console (with anon_mount 1) makes the console to hang. From another console window I can see that system & kernel log fills from entries like these:

  kern.err kernel: [ 3032.483307] pxa3xx-nand f10d0000.flash: Wait time out!!!
  kern.err kernel: [ 3032.683301] pxa3xx-nand f10d0000.flash: Wait time out!!!
  kern.err kernel: [ 3032.883296] pxa3xx-nand f10d0000.flash: Wait time out!!!
  kern.err kernel: [ 3033.083293] pxa3xx-nand f10d0000.flash: Wait time out!!!
  kern.err kernel: [ 3033.283291] pxa3xx-nand f10d0000.flash: Wait time out!!!
  kern.err kernel: [ 3033.483287] pxa3xx-nand f10d0000.flash: Wait time out!!!
  kern.err kernel: [ 3033.683283] pxa3xx-nand f10d0000.flash: Wait time out!!!

And the “block” process can’t even be killed with “kill -9” or “kill -15”.
I rebooted the router from power switch to get it killed.

With anon_mount 0 in fstab the same command works ok and produces:

 root@LEDE:~# /sbin/block mount
 block: /dev/ubiblock0_0 is already mounted on /rom
 block: /dev/ubi0_1 is already mounted on /overlay
07.02.2017476Base systemBug ReportVery LowHighfail to detect usb storage at boot time on apu2c4.lede-17.01Unconfirmed Task Description

version: 17.01.0-rc1, r3042-ec095b5 and latest master
device: pcengine apu2c4, toshiba 32GB usb3.0 storage
packages: kmod-usb-storage, kmod-usb-core, kmod-scsi-core

<success case>
After boot, inserting usb storage is detected successfully, like this

BusyBox v1.25.1 () built-in shell (ash)

   _________
  /        /\      _    ___ ___  ___
 /  LE    /  \    | |  | __|   \| __|
/    DE  /    \   | |__| _|| |) | _|

// LE \ ||_|_/|_| lede-project.org
\ \ DE /
\ LE \ / ———————————————————– \ DE \ / Reboot (17.01.0-rc1, r3042-ec095b5)
\
\/ ———————————————————– root@lede:/# ls /dev/|grep sd (← Not inserted yet)
root@lede:/# [ 73.924056] usb 3-2: new SuperSpeed USB device number 2 using xhci_hcd (← Detected)
[ 73.948714] usb-storage 3-2:1.0: USB Mass Storage device detected
[ 73.955124] scsi host4: usb-storage 3-2:1.0
[ 74.954867] scsi 4:0:0:0: Direct-Access TOSHIBA TransMemory-Mx PMAP PQ: 0 ANSI: 6
[ 74.963873] sd 4:0:0:0: [sda] 60456960 512-byte logical blocks: (31.0 GB/28.8 GiB)
[ 74.971758] sd 4:0:0:0: [sda] Write Protect is off
[ 74.976597] sd 4:0:0:0: [sda] Mode Sense: 45 00 00 00
[ 74.981951] sd 4:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn’t support DPO or FUA
[ 75.107329] sda:
[ 75.110561] sd 4:0:0:0: [sda] Attached SCSI removable disk root@lede:/# ls /dev/|grep sd
sda (← device file found)
root@lede:/#
======================================================================================= <failure case>
After reboot keeping usb storage inserted, inserting usb storage is not detected, like this
=======================================================================================
BusyBox v1.25.1 () built-in shell (ash)
_
/ /\ _
_ _ _

 /  LE    /  \    | |  | __|   \| __|
/    DE  /    \   | |__| _|| |) | _|

// LE \ ||_|_/|_| lede-project.org
\ \ DE /
\ LE \ / ———————————————————– \ DE \ / Reboot (17.01.0-rc1, r3042-ec095b5)
\
__\/ ———————————————————–

root@lede:/# ls /dev/|grep sd
root@lede:/#

Do you know the clue fixing this issue?

Thanks in advance.

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

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

The dmesg look like this:

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

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

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

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

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

My LEDE diffconfig looks like this:

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

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

alfred.alfred=alfred
alfred.alfred.mode='master'
alfred.alfred.batmanif='bat0'
alfred.alfred.start_vis='1'
alfred.alfred.run_facters='1'
alfred.alfred.interface='br-pub'
alfred.alfred.disabled='0'
batman-adv.bat0=mesh
batman-adv.bat0.bridge_loop_avoidance='0'
dropbear.@dropbear[0]=dropbear
dropbear.@dropbear[0].PasswordAuth='on'
dropbear.@dropbear[0].RootPasswordAuth='on'
dropbear.@dropbear[0].Port='22'
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.pub=interface
network.pub.type='bridge'
network.pub.proto='static'
network.pub.ip6assign='60'
network.pub.ifname='bat0'
network.pub.ipaddr='10.11.x.y'
network.pub.netmask='255.255.252.0'
network.pub.gateway='10.11.x.1'
network.pub.dns='10.11.x.1'
network.mesh=interface
network.mesh.mtu='1532'
network.mesh.proto='batadv'
network.mesh.mesh='bat0'
network.meshwire=interface
network.meshwire.proto='batadv'
network.meshwire.mesh='bat0'
network.meshwire.ifname='eth0'
21.11.2016295KernelBug ReportVery LowHighath10k_pci 0001:01:00.0: SWBA overrun on vdevTrunkWaiting on reporter Task Description

Supply the following if possible:

- TP-LINK c2600 v1.1
- LEDE Reboot r2244
- after some hours, the network device produce the below stacktrace.

[61789.980553] ————[ cut here ]———— [61789.980600] WARNING: CPU: 0 PID: 3 at net/core/dev.c:4837 net_rx_action+0×154/0x2e4()
[61789.984240] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY ts_kmp ts_fsm ts_bm 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_netlink nf_conntrack iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt br_netfilter em_cmp sch_teql em_nbyte sch_htb sch_pie sch_gred sch_dsmark cls_basic act_ipt sch_prio em_text
[61790.061568] sch_codel sch_tbf sch_sfq em_meta act_police sch_fq sch_red 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 ledtrig_usbport 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 ifb ip6_tunnel tunnel6 tun snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore
[61790.130320] usb_storage uhci_hcd f2fs ext4 jbd2 mbcache crc32c_generic crypto_hash leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform ehci_hcd sd_mod ahci_platform libahci_platform libahci libata scsi_mod gpio_button_hotplug usbcore nls_base usb_common
[61790.158798] CPU: 0 PID: 3 Comm: ksoftirqd/0 Not tainted 4.4.30 #0
[61790.159062] Hardware name: Qualcomm (Flattened Device Tree)
[61790.165160] [<c02207f4>] (unwind_backtrace) from [<c021d2e4>] (show_stack+0×14/0×20)
[61790.170534] [<c021d2e4>] (show_stack) from [<c03b82a4>] (dump_stack+0x8c/0xa0)
[61790.178521] [<c03b82a4>] (dump_stack) from [<c0228aec>] (warn_slowpath_common+0xa4/0xd0)
[61790.185550] [<c0228aec>] (warn_slowpath_common) from [<c0228bcc>] (warn_slowpath_null+0x1c/0×24)
[61790.193798] [<c0228bcc>] (warn_slowpath_null) from [<c050bcd0>] (net_rx_action+0×154/0x2e4)
[61790.202568] [<c050bcd0>] (net_rx_action) from [<c022bc90>] (do_softirq+0xdc/0×230)
[61790.210636] [<c022bc90>] (
do_softirq) from [<c022be18>] (run_ksoftirqd+0×34/0×64)
[61790.218626] [<c022be18>] (run_ksoftirqd) from [<c0246784>] (smpboot_thread_fn+0×190/0x1b8)
[61790.226006] [<c0246784>] (smpboot_thread_fn) from [<c02438e4>] (kthread+0xf8/0×100)
[61790.234335] [<c02438e4>] (kthread) from [<c0209cb8>] (ret_from_fork+0×14/0x3c)
[61790.241951] —[ end trace bbf62e8dea16c714 ]— [61790.250226] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 1, skipped old beacon

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

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

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

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

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

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

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

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

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

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

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

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

20.08.2017971ToolchainBug ReportVery LowMediummkhash on freebsdlede-17.01Unconfirmed Task Description

Path for build mkhash on freebsd.

15.08.2017962KernelBug ReportVery LowMediumRaspberry Pi (B+): kernel: hw csum failure (is back)lede-17.01Unconfirmed Task Description

Hello team,

it seems that kernel errors “hw csum failure” are somehow back?
I’m running LEDE 17.01.2 on Raspberry Pi B+:

# cat /etc/os-release
NAME="LEDE"
VERSION="17.01.2, Reboot"
ID="lede"
ID_LIKE="lede openwrt"
PRETTY_NAME="LEDE Reboot 17.01.2"
VERSION_ID="17.01.2"
HOME_URL="http://lede-project.org/"
BUG_URL="http://bugs.lede-project.org/"
SUPPORT_URL="http://forum.lede-project.org/"
BUILD_ID="r3435-65eec8bd5f"
LEDE_BOARD="brcm2708/bcm2708"
LEDE_ARCH="arm_arm1176jzf-s_vfp"
LEDE_TAINTS="no-all"
LEDE_DEVICE_MANUFACTURER="LEDE"
LEDE_DEVICE_MANUFACTURER_URL="http://lede-project.org/"
LEDE_DEVICE_PRODUCT="Generic"
LEDE_DEVICE_REVISION="v0"
LEDE_RELEASE="LEDE Reboot 17.01.2 r3435-65eec8bd5f"
# cat /proc/cpuinfo
processor       : 0
model name      : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 697.95
Features        : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7

Hardware        : BCM2708
Revision        : 0000
Serial          : 00000000fd17e85b

And I’m getting tons of:

Tue Aug 15 22:44:39 2017 kern.err kernel: [  442.662181] eth0.2: hw csum failure
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.669788] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.71 #0
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.679616] Hardware name: BCM2708
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.687047] Function entered at [<c001e2d4>] from [<c001bca4>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.696911] Function entered at [<c001bca4>] from [<c02b71dc>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.706767] Function entered at [<c02b71dc>] from [<c031ee4c>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.716618] Function entered at [<c031ee4c>] from [<c02f3658>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.726511] Function entered at [<c02f3658>] from [<c02f3b04>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.736384] Function entered at [<c02f3b04>] from [<c02f3da8>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.746236] Function entered at [<c02f3da8>] from [<c02be920>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.755971] Function entered at [<c02be920>] from [<bf088460>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.765780] Function entered at [<bf088460>] from [<c0027714>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.775480] Function entered at [<c0027714>] from [<c0027968>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.785147] Function entered at [<c0027968>] from [<c0027d60>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.794803] Function entered at [<c0027d60>] from [<c004d668>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.804518] Function entered at [<c004d668>] from [<c0009390>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.814197] Function entered at [<c0009390>] from [<c000a894>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.823872] Exception stack(0xc048bf58 to 0xc048bfa0)
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.832746] bf40:                                                       00000001 00000000
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.844812] bf60: 00000000 00000000 c048a000 c048c074 00000000 00000000 c04912e0 c048c07c
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.856946] bf80: 00000001 c049207b 00000000 c048bfa8 c0018f34 c0018f38 60000013 ffffffff
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.869129] Function entered at [<c000a894>] from [<c0018f38>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.878909] Function entered at [<c0018f38>] from [<c00465c0>]
Tue Aug 15 22:44:39 2017 kern.warn kernel: [  442.888748] Function entered at [<c00465c0>] from [<c0464b70>]

It’s running kernel 4.4.71:

# uname -m -r -s -p -v -i -o
Linux 4.4.71 #0 Thu Jun 8 10:18:56 2017 armv6l unknown unknown GNU/Linux

I have found this commit, which seems it should be fixed by 4.4.8, but it’s not?
https://git.lede-project.org/?p=source.git;a=commitdiff;h=3faf65e92857aa5466791da3ec623c23af1f8130

Thank a lot!
Martin

13.08.2017957KernelBug ReportVery LowMediumath10k: firmware loading causes very long boot time on ...TrunkNew Task Description

An Archer C2600 v1.1 boots very slowly. A few minutes pass between power on and the first replies to ping.

LEDE commit: df3295f50e54909090846de12f7deb3ff8de6557

It’s the same after every reboot and power on operation.

I had to power cycle the router after flashing a newer version of LEDE built from trunk. It didn’t seem to boot automatically after flashing.

Full kernel log:
[ 0.000000] Booting Linux on physical CPU 0×0 [ 0.000000] Linux version 4.9.40 (wrt@ed3110359c81) (gcc version 5.4.0 (LEDE GCC 5.4.0 r4651-a6f6f8d) ) #0 SMP Fri Aug 11 16:12:56 2017
[ 0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt:Machine model: TP-Link Archer C2600
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 122880
[ 0.000000] free_area_init_node: node 0, pgdat c079d000, node_mem_map ddc39000
[ 0.000000] Normal zone: 960 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 122880 pages, LIFO batch:31
[ 0.000000] percpu: Embedded 13 pages/cpu @ddc06000 s21068 r8192 d23988 u53248
[ 0.000000] pcpu-alloc: s21068 r8192 d23988 u53248 alloc=13*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 121920
[ 0.000000] Kernel command line:
[ 0.000000] Bootloader command line (ignored): console=ttyHSL1,115200n8 root=mtd:rootfs rootfstype=squashfs
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 481048K/491520K available (3862K kernel code, 246K rwdata, 1236K rodata, 240K init, 242K bss, 10472K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xde800000 - 0xff800000 ( 528 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xde000000 ( 480 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0208000 - 0xc05cdc20 (3864 kB)
[ 0.000000] .init : 0xc0724000 - 0xc0760000 ( 240 kB)
[ 0.000000] .data : 0xc0760000 - 0xc079d900 ( 247 kB)
[ 0.000000] .bss : 0xc079f000 - 0xc07db828 ( 243 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] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[ 0.000008] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[ 0.000022] Switching to timer-based delay loop, resolution 160ns
[ 0.000224] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[ 0.000245] pid_max: default: 32768 minimum: 301
[ 0.000351] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000364] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001015] CPU: Testing write buffer coherency: ok
[ 0.001302] Setting up static identity map for 0×42208280 - 0x422082d8
[ 0.004610] Brought up 2 CPUs
[ 0.004627] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[ 0.004636] CPU: All CPU(s) started in SVC mode.
[ 0.016579] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[ 0.016766] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.016792] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.016871] pinctrl core: initialized pinctrl subsystem
[ 0.018176] NET: Registered protocol family 16
[ 0.018425] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.041430] cpuidle: using governor ladder
[ 0.072446] cpuidle: using governor menu
[ 0.074598] qcom_rpm 108000.rpm: could not find pctldev for node /soc/pinmux@800000/i2c4_pinmux, deferring probe
[ 0.125127] msm_bus_fabric_init_driver
[ 0.126271] usbcore: registered new interface driver usbfs
[ 0.126372] usbcore: registered new interface driver hub
[ 0.126460] usbcore: registered new device driver usb
[ 0.126519] pps_core: LinuxPPS API ver. 1 registered
[ 0.126531] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 0.126563] PTP clock support registered
[ 0.128572] clocksource: Switched to clocksource dg_timer
[ 0.132624] NET: Registered protocol family 2
[ 0.133219] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.133267] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.133326] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.133379] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.133403] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.133597] NET: Registered protocol family 1
[ 0.133650] PCI: CLS 0 bytes, default 64
[ 0.135132] No memory allocated for crashlog
[ 0.135436] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 0.141817] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.141834] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.148445] io scheduler noop registered
[ 0.148465] io scheduler deadline registered (default)
[ 0.149994] 1b500000.pci supply vdda not found, using dummy regulator
[ 0.150101] 1b500000.pci supply vdda_phy not found, using dummy regulator
[ 0.150198] 1b500000.pci supply vdda_refclk not found, using dummy regulator
[ 0.151016] OF: PCI: host bridge /soc/pci@1b500000 ranges:
[ 0.151061] OF: PCI: IO 0x0fe00000..0x0fefffff → 0x0fe00000
[ 0.151089] OF: PCI: MEM 0×08000000..0x0fdfffff → 0×08000000 [ 0.259343] qcom-pcie 1b500000.pci: link up
[ 0.261430] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[ 0.261452] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.261472] pci_bus 0000:00: root bus resource [io 0×0000-0xfffff] (bus address [0xfe00000-0xfefffff])
[ 0.261488] pci_bus 0000:00: root bus resource [mem 0×08000000-0x0fdfffff]
[ 0.261504] pci_bus 0000:00: scanning bus
[ 0.261550] pci 0000:00:00.0: [17cb:0101] type 01 class 0×060400 [ 0.261644] pci 0000:00:00.0: calling pci_fixup_ide_bases+0×0/0x3c
[ 0.261713] pci 0000:00:00.0: supports D1
[ 0.261724] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 0.261743] pci 0000:00:00.0: PME# disabled
[ 0.262022] pci_bus 0000:00: fixups for bus
[ 0.262043] PCI: bus0: Fast back to back transfers disabled
[ 0.262063] pci 0000:00:00.0: scanning [bus 01-01] behind bridge, pass 0
[ 0.262206] pci_bus 0000:01: scanning bus
[ 0.262381] pci 0000:01:00.0: [168c:0040] type 00 class 0×028000 [ 0.262611] pci 0000:01:00.0: reg 0×10: [mem 0×00000000-0x001fffff 64bit]
[ 0.263062] pci 0000:01:00.0: calling pci_fixup_ide_bases+0×0/0x3c
[ 0.263701] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[ 0.263742] pci 0000:01:00.0: PME# disabled
[ 0.264090] pci_bus 0000:01: fixups for bus
[ 0.264159] PCI: bus1: Fast back to back transfers disabled
[ 0.264173] pci_bus 0000:01: bus scan returning with max=01
[ 0.264191] pci 0000:00:00.0: scanning [bus 01-01] behind bridge, pass 1
[ 0.264207] pci_bus 0000:00: bus scan returning with max=01
[ 0.264345] pci 0000:00:00.0: fixup irq: got 133
[ 0.264355] pci 0000:00:00.0: assigning IRQ 133
[ 0.264436] pci 0000:01:00.0: fixup irq: got 133
[ 0.264446] pci 0000:01:00.0: assigning IRQ 133
[ 0.264512] pci 0000:00:00.0: BAR 8: assigned [mem 0×08000000-0x081fffff]
[ 0.264537] pci 0000:01:00.0: BAR 0: assigned [mem 0×08000000-0x081fffff 64bit]
[ 0.264666] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.264689] pci 0000:00:00.0: bridge window [mem 0×08000000-0x081fffff]
[ 0.265112] aer 0000:00:00.0:pcie002: service driver aer loaded
[ 0.265505] 1b700000.pci supply vdda not found, using dummy regulator
[ 0.265607] 1b700000.pci supply vdda_phy not found, using dummy regulator
[ 0.265690] 1b700000.pci supply vdda_refclk not found, using dummy regulator
[ 0.266481] OF: PCI: host bridge /soc/pci@1b700000 ranges:
[ 0.266515] OF: PCI: IO 0x31e00000..0x31efffff → 0x31e00000
[ 0.266538] OF: PCI: MEM 0x2e000000..0x31dfffff → 0x2e000000
[ 0.376805] qcom-pcie 1b700000.pci: link up
[ 0.378847] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[ 0.378866] pci_bus 0001:00: root bus resource [bus 00-ff]
[ 0.378883] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[ 0.378897] pci_bus 0001:00: scanning bus
[ 0.378935] pci 0001:00:00.0: [17cb:0101] type 01 class 0×060400 [ 0.379010] pci 0001:00:00.0: calling pci_fixup_ide_bases+0×0/0x3c
[ 0.379069] pci 0001:00:00.0: supports D1
[ 0.379079] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[ 0.379092] pci 0001:00:00.0: PME# disabled
[ 0.379339] pci_bus 0001:00: fixups for bus
[ 0.379356] PCI: bus0: Fast back to back transfers disabled
[ 0.379372] pci 0001:00:00.0: scanning [bus 01-01] behind bridge, pass 0
[ 0.379503] pci_bus 0001:01: scanning bus
[ 0.379675] pci 0001:01:00.0: [168c:0040] type 00 class 0×028000 [ 0.379899] pci 0001:01:00.0: reg 0×10: [mem 0×00000000-0x001fffff 64bit]
[ 0.380345] pci 0001:01:00.0: calling pci_fixup_ide_bases+0×0/0x3c
[ 0.380983] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[ 0.381023] pci 0001:01:00.0: PME# disabled
[ 0.381366] pci_bus 0001:01: fixups for bus
[ 0.381437] PCI: bus1: Fast back to back transfers disabled
[ 0.381451] pci_bus 0001:01: bus scan returning with max=01
[ 0.381467] pci 0001:00:00.0: scanning [bus 01-01] behind bridge, pass 1
[ 0.381483] pci_bus 0001:00: bus scan returning with max=01
[ 0.381542] pcieport 0000:00:00.0: fixup irq: got 133
[ 0.381551] pcieport 0000:00:00.0: assigning IRQ 133
[ 0.381628] pci 0000:01:00.0: fixup irq: got 133
[ 0.381637] pci 0000:01:00.0: assigning IRQ 133
[ 0.381766] pci 0001:00:00.0: fixup irq: got 166
[ 0.381776] pci 0001:00:00.0: assigning IRQ 166
[ 0.381855] pci 0001:01:00.0: fixup irq: got 166
[ 0.381865] pci 0001:01:00.0: assigning IRQ 166
[ 0.381920] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[ 0.381942] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[ 0.382065] pci 0001:00:00.0: PCI bridge to [bus 01]
[ 0.382085] pci 0001:00:00.0: bridge window [mem 0x2e000000-0x2e1fffff]
[ 0.382420] aer 0001:00:00.0:pcie002: service driver aer loaded
[ 0.385112] L2 @ QSB rate. Forcing new rate.
[ 0.385306] L2 @ 384000 KHz
[ 0.385480] CPU0 @ 800000 KHz
[ 0.385492] CPU1 @ QSB rate. Forcing new rate.
[ 0.385619] CPU1 @ 384000 KHz
[ 0.388294] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[ 0.389820] gsbi 1a200000.gsbi: GSBI port protocol: 3 crci: 0
[ 0.391319] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.392196] msm_serial 16340000.serial: msm_serial: detected port #0
[ 0.392303] msm_serial 16340000.serial: uartclk = 7372800
[ 0.392380] 16340000.serial: ttyMSM0 at MMIO 0×16340000 (irq = 167, base_baud = 460800) is a MSM
[ 0.392417] msm_serial: console setup on port #0
[ 1.101648] console [ttyMSM0] enabled
[ 1.106364] msm_serial: driver initialized
[ 1.117864] loop: module loaded
[ 1.119399] spi_qup 1a280000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[ 1.121388] m25p80 spi32766.0: mx25u25635f (32768 Kbytes)
[ 1.127347] 25 ofpart partitions found on MTD device spi32766.0
[ 1.132612] Creating 25 MTD partitions on “spi32766.0”:
[ 1.138225] 0×000000000000-0×000000020000 : “SBL1” [ 1.144723] 0×000000020000-0×000000040000 : “MIBIB” [ 1.149359] 0×000000040000-0×000000060000 : “SBL2” [ 1.154061] 0×000000060000-0×000000090000 : “SBL3” [ 1.159019] 0×000000090000-0x0000000a0000 : “DDRCONFIG” [ 1.163688] 0x0000000a0000-0x0000000b0000 : “SSD” [ 1.169147] 0x0000000b0000-0x0000000e0000 : “TZ” [ 1.173692] 0x0000000e0000-0×000000100000 : “RPM” [ 1.178611] 0×000000100000-0×000000170000 : “fs-uboot” [ 1.183040] 0×000000170000-0x0000001b0000 : “uboot-env” [ 1.188001] 0x0000001b0000-0x0000001f0000 : “radio” [ 1.193178] 0x0000001f0000-0x0000003f0000 : “os-image” [ 1.197992] 0x0000003f0000-0x000001ef0000 : “rootfs” [ 1.203237] mtd: device 12 (rootfs) set to be root filesystem
[ 1.207550] 1 squashfs-split partitions found on MTD device rootfs
[ 1.213036] 0×000000720000-0x000001ef0000 : “rootfs_data” [ 1.220117] 0x000001ef0000-0x000001ef0200 : “default-mac” [ 1.225759] 0x000001ef0200-0x000001ef0400 : “pin” [ 1.230953] 0x000001ef0400-0x000001f00000 : “product-info” [ 1.235832] 0x000001f00000-0x000001f10000 : “partition-table” [ 1.241070] 0x000001f10000-0x000001f20000 : “soft-version” [ 1.246785] 0x000001f20000-0x000001f30000 : “support-list” [ 1.252229] 0x000001f30000-0x000001f40000 : “profile” [ 1.257610] 0x000001f40000-0x000001f50000 : “default-config” [ 1.262853] 0x000001f50000-0x000001f90000 : “user-config” [ 1.268837] 0x000001f90000-0x000001fd0000 : “qos-db” [ 1.273768] 0x000001fd0000-0x000001fe0000 : “usb-config” [ 1.279163] 0x000001fe0000-0×000002000000 : “log” [ 1.284950] libphy: GPIO Bitbanged MDIO: probed
[ 1.313593] switch0: Atheros AR8337 rev. 2 switch registered on gpio-0
[ 2.229691] libphy: Fixed MDIO Bus: probed
[ 2.229724] libphy: mdio_driver_register: qca8k
[ 2.234739] stmmac - user ID: 0×10, Synopsys ID: 0×37 [ 2.237110] Ring mode enabled
[ 2.242393] DMA HW capability register supported
[ 2.245268] Enhanced/Alternate descriptors
[ 2.250909] Enabled extended descriptors
[ 2.253868] RX Checksum Offload Engine supported
[ 2.258036] COE Type 2
[ 2.262783] TX Checksum insertion supported
[ 2.264979] Wake-Up On Lan supported
[ 2.269564] Enable RX Mitigation via HW Watchdog Timer
[ 2.274957] stmmac - user ID: 0×10, Synopsys ID: 0×37 [ 2.278088] Ring mode enabled
[ 2.283385] DMA HW capability register supported
[ 2.286247] Enhanced/Alternate descriptors
[ 2.291889] Enabled extended descriptors
[ 2.294846] RX Checksum Offload Engine supported
[ 2.299085] COE Type 2
[ 2.303698] TX Checksum insertion supported
[ 2.305958] Wake-Up On Lan supported
[ 2.310549] Enable RX Mitigation via HW Watchdog Timer
[ 2.314809] i2c /dev entries driver
[ 2.320000] Calibration not found.
[ 2.322545] qcom-tsens 900000.thermal-sensor: tsens calibration failed
[ 2.327080] Speed bin: 0
[ 2.332608] PVS bin: 1
[ 2.337010] cpuidle: enable-method property ‘qcom,kpss-acc-v1’ found operations
[ 2.337438] cpuidle: enable-method property ‘qcom,kpss-acc-v1’ found operations
[ 2.345199] sdhci: Secure Digital Host Controller Interface driver
[ 2.351943] sdhci: Copyright© Pierre Ossman
[ 2.358131] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.364315] NET: Registered protocol family 10
[ 2.369828] NET: Registered protocol family 17
[ 2.372837] 8021q: 802.1Q VLAN Support v1.8
[ 2.377021] Registering SWP/SWPB emulation handler
[ 2.393395] qcom_rpm 108000.rpm: RPM firmware 3.0.16777342
[ 2.405014] s1a: Bringing 0uV into 1050000-1050000uV
[ 2.405353] s1b: Bringing 0uV into 1050000-1050000uV
[ 2.409420] s2a: Bringing 0uV into 800000-800000uV
[ 2.414274] s2b: Bringing 0uV into 800000-800000uV
[ 2.421672] of: dev_pm_opp_of_cpumask_add_table: couldn’t find opp table for cpu:0, -19
[ 2.423884] of: dev_pm_opp_of_cpumask_add_table: couldn’t find opp table for cpu:1, -19
[ 2.431926] hctosys: unable to open rtc device (rtc0)
[ 2.444233] random: fast init done
[ 2.446697] VFS: Mounted root (squashfs filesystem) readonly on device 31:12.
[ 2.446929] Freeing unused kernel memory: 240K (c0724000 - c0760000)
[ 2.453814] This architecture does not have kernel memory protection.
[ 2.707162] random: crng init done
[ 3.231184] init: Console is alive
[ 3.231461] init: - watchdog -
[ 5.606708] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 5.631388] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 5.633440] SCSI subsystem initialized
[ 5.639085] libata version 3.00 loaded.
[ 5.642247] ehci-platform: EHCI generic platform driver
[ 5.644920] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
[ 5.646703] ohci-platform: OHCI generic platform driver
[ 5.779028] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 5.779102] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 5.783630] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f065 hci version 0×100 quirks 0×02010010 [ 5.791104] xhci-hcd xhci-hcd.0.auto: irq 169, io mem 0×11000000 [ 5.800675] hub 1-0:1.0: USB hub found
[ 5.805951] hub 1-0:1.0: 1 port detected
[ 5.809967] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 5.813547] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 5.819138] usb usb2: We don’t know the algorithms for LPM for this host, disabling LPM.
[ 5.827189] hub 2-0:1.0: USB hub found
[ 5.834860] hub 2-0:1.0: 1 port detected
[ 5.838811] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 5.842376] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[ 5.847853] xhci-hcd xhci-hcd.1.auto: hcc params 0x0228f065 hci version 0×100 quirks 0×02010010 [ 5.855350] xhci-hcd xhci-hcd.1.auto: irq 170, io mem 0×10000000 [ 5.864823] hub 3-0:1.0: USB hub found
[ 5.870249] hub 3-0:1.0: 1 port detected
[ 5.874063] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 5.877781] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[ 5.883276] usb usb4: We don’t know the algorithms for LPM for this host, disabling LPM.
[ 5.891474] hub 4-0:1.0: USB hub found
[ 5.899091] hub 4-0:1.0: 1 port detected
[ 5.905669] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 5.915271] init: - preinit -
[ 8.784757] dwmac1000: Master AXI performs any burst length
[ 8.784800] ipq806x-gmac-dwmac 37400000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
[ 8.789313] ipq806x-gmac-dwmac 37400000.ethernet eth1: registered PTP clock
[ 8.798340] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 9.849572] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[ 9.850016] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 11.337086] jffs2: notice: (172) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 11.342074] mount_root: overlay filesystem has not been fully initialized yet
[ 19.443404] mount_root: switching to jffs2 overlay
[ 20.027552] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 20.125058] procd: - early -
[ 20.125155] procd: - watchdog -
[ 20.855207] procd: - watchdog -
[ 20.855660] procd: - ubus -
[ 21.013192] procd: - init -
[ 21.220998] kmodloader: loading kernel modules from /etc/modules.d/*
[ 21.224980] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 21.230352] Netfilter messages via NETLINK v0.30.
[ 21.232750] ip_set: protocol 6
[ 21.248739] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[ 21.248767] Backport generated by backports.git backports-20160324-13-g24da7d3c
[ 21.273162] ath10k_pci 0000:01:00.0: enabling device (0140 → 0142)
[ 21.273254] ath10k_pci 0000:01:00.0: enabling bus mastering
[ 21.273734] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 21.451476] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
[ 21.451523] ath10k_pci 0000:01:00.0: Falling back to user helper
[ 82.190159] ath10k_pci 0000:01:00.0: qca99x0 hw2.0 target 0×01000000 chip_id 0x003b01ff sub 168c:0002
[ 82.190206] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 82.202490] ath10k_pci 0000:01:00.0: firmware ver 10.4.1.00030-1 api 5 features no-p2p crc32 d2901e01
[ 82.262895] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 1:1 crc32 08fa09f2
[ 83.526583] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
[ 83.652156] ath: EEPROM regdomain: 0×0 [ 83.652168] ath: EEPROM indicates default country code should be used
[ 83.652177] ath: doing EEPROM country→regdmn map search
[ 83.652192] ath: country maps to regdmn code: 0x3a
[ 83.652203] ath: Country alpha2 being used: US
[ 83.652212] ath: Regpair used: 0x3a
[ 83.658954] ath10k_pci 0001:01:00.0: enabling device (0140 → 0142)
[ 83.659078] ath10k_pci 0001:01:00.0: enabling bus mastering
[ 83.659656] ath10k_pci 0001:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 83.851129] ath10k_pci 0001:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0001:01:00.0.bin failed with error -2
[ 83.851177] ath10k_pci 0001:01:00.0: Falling back to user helper
[ 146.529172] ath10k_pci 0001:01:00.0: Direct firmware load for ath10k/cal-pci-0001:01:00.0.bin failed with error -2
[ 146.529225] ath10k_pci 0001:01:00.0: Falling back to user helper
[ 148.442922] firmware ath10k!cal-pci-0001:01:00.0.bin: firmware_loading_store: map pages failed
[ 148.443191] ath10k_pci 0001:01:00.0: qca99x0 hw2.0 target 0×01000000 chip_id 0x003b01ff sub 168c:0002
[ 148.450573] ath10k_pci 0001:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 148.467441] ath10k_pci 0001:01:00.0: firmware ver 10.4.1.00030-1 api 5 features no-p2p crc32 d2901e01
[ 150.756223] ath10k_pci 0001:01:00.0: board id is not exist in otp, ignore it
[ 150.756261] ath10k_pci 0001:01:00.0: failed to fetch board data for bus=pci,vendor=168c,device=0040,subsystem-vendor=168c,subsystem-device=0002¦¦0¦MM¦M
[ 150.756261] |¦¦0¦OB¦¦?V¦i¦ from ath10k/QCA99X0/hw2.0/board-2.bin
[ 150.779488] ath10k_pci 0001:01:00.0: board_file api 1 bmi_id N/A crc32 7e56fd07
[ 154.239465] ath10k_pci 0001:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal otp max-sta 512 raw 0 hwcrypto 1
[ 154.321987] ath: EEPROM regdomain: 0×0 [ 154.321998] ath: EEPROM indicates default country code should be used
[ 154.322006] ath: doing EEPROM country→regdmn map search
[ 154.322019] ath: country maps to regdmn code: 0x3a
[ 154.322029] ath: Country alpha2 being used: US
[ 154.322037] ath: Regpair used: 0x3a
[ 154.343783] u32 classifier
[ 154.343812] input device check on
[ 154.345381] Actions configured
[ 154.351096] Mirror/redirect action on
[ 154.376532] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[ 154.382627] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 154.449334] xt_time: kernel timezone is -0000
[ 154.452587] PPP generic driver version 2.4.2
[ 154.453312] NET: Registered protocol family 24
[ 154.458218] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 160.176657] dwmac1000: Master AXI performs any burst length
[ 160.176699] ipq806x-gmac-dwmac 37400000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
[ 160.181264] ipq806x-gmac-dwmac 37400000.ethernet eth1: registered PTP clock
[ 160.190248] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 160.203216] br-lan: port 1(eth1.1) entered blocking state
[ 160.203254] br-lan: port 1(eth1.1) entered disabled state
[ 160.208744] device eth1.1 entered promiscuous mode
[ 160.213779] device eth1 entered promiscuous mode
[ 160.222254] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 160.249642] dwmac1000: Master AXI performs any burst length
[ 160.249708] ipq806x-gmac-dwmac 37200000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[ 160.254249] ipq806x-gmac-dwmac 37200000.ethernet eth0: registered PTP clock
[ 160.263416] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 160.274620] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[ 160.723730] ath: EEPROM regdomain: 0×8282 [ 160.723738] ath: EEPROM indicates we should expect a country code
[ 160.723744] ath: doing EEPROM country→regdmn map search
[ 160.723749] ath: country maps to regdmn code: 0×3 [ 160.723753] ath: Country alpha2 being used: RO
[ 160.723756] ath: Regpair used: 0×3 [ 160.723761] ath: regdomain 0×8282 dynamically updated by user
[ 160.723784] ath: EEPROM regdomain: 0×8282 [ 160.723787] ath: EEPROM indicates we should expect a country code
[ 160.723791] ath: doing EEPROM country→regdmn map search
[ 160.723795] ath: country maps to regdmn code: 0×3 [ 160.723798] ath: Country alpha2 being used: RO
[ 160.723801] ath: Regpair used: 0×3 [ 160.723804] ath: regdomain 0×8282 dynamically updated by user
[ 161.211214] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[ 161.215063] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 161.219807] br-lan: port 1(eth1.1) entered blocking state
[ 161.225167] br-lan: port 1(eth1.1) entered forwarding state
[ 161.231029] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 161.289604] ipq806x-gmac-dwmac 37200000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 161.289674] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 161.298014] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[ 163.765320] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 163.768030] br-lan: port 2(wlan0) entered blocking state
[ 163.770168] br-lan: port 2(wlan0) entered disabled state
[ 163.776025] device wlan0 entered promiscuous mode
[ 163.781083] br-lan: port 2(wlan0) entered blocking state
[ 163.785504] br-lan: port 2(wlan0) entered forwarding state
[ 163.794081] br-lan: port 2(wlan0) entered disabled state
[ 228.479624] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 228.479750] br-lan: port 2(wlan0) entered blocking state
[ 228.485043] br-lan: port 2(wlan0) entered forwarding state

11.08.2017954Base systemBug ReportVery LowMediumIGMP queries redirected to CPU port when snooping enabl...AllUnconfirmed Task Description

The Netgear R7800 has a QCA8337N switch chip, and the CPU has two interfaces (eth0/port 0 and eth1/port 6) connected to the switch. The default in LEDE is that WAN is on port0/eth0, and LAN is on port6/eth1.

When using multicast, it is often desirable to enable IGMP snooping on the switch to avoid flooding the multicast stream to all ports. A multicast server will normally send IGMP general queries to the all hosts address 224.0.0.1 at a regular interval (every few minutes) to check if there are still clients that wants to receive the multicast.

However, when IGMP snooping is enabled on this device, these queries are all redirected to port 0 on the switch, which is a problem if the multicast server is within the LAN. In this scenario, the server sends queries, but these queries are not being broadcast to the clients within the LAN, instead they end up at port 0 (eth0) where they are not needed. The server will then receive no responses to the queries, and subsequently times out and stops the stream multicast.

I think I found a viable fix for this, which is to set bit 3 (IGMP_COPY_EN) of the GLOBAL_FW_CTRL0 register in the switch chip to 1. This causes the IGMP queries to be broadcast on all switch ports (provided they are members of the same VLAN), instead of being redirected only to port 0. In my testing, I have found no adverse effects from this change.

I have attached a patch for this change, to make testing easy:

Assuming that the LAN interface is br-lan, run tcpdump on the router and inject IGMP general queries from a computer in the LAN, for example using Ostinato. With IGMP snooping off, the query is seen on br-lan:

root@R7800:/# tcpdump -i br-lan igmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br-lan, link-type EN10MB (Ethernet), capture size 262144 bytes
11:47:06.832511 IP 192.168.20.1 > all-systems.mcast.net: igmp query v2

If IGMP snooping is turned on (globally or for the port where the query is received), then the query no longer appears at br-lan,
but instead only on eth0. Applying the attached patch fixes this.

05.08.2017952KernelBug ReportVery LowMediumError msg flood with omnikey 3121TrunkUnconfirmed Task Description

Same thing on stable and trunk release. If smartcard reader used by pcsc (read or write)
flooding kernel with errors. Smartcard is useable but kernel message flood is annoying.

dmesg:
[ 765.054403] xhci-mtk 1e1c0000.xhci: WARN Event TRB for slot 1 ep 8 with no TDs queued?
[ 765.077916] xhci-mtk 1e1c0000.xhci: WARN Event TRB for slot 1 ep 8 with no TDs queued?
[ 766.248970] xhci-mtk 1e1c0000.xhci: WARN Event TRB for slot 1 ep 8 with no TDs queued?
[ 771.127934] xhci-mtk 1e1c0000.xhci: WARN Event TRB for slot 1 ep 8 with no TDs queued?
[ 771.151097] xhci-mtk 1e1c0000.xhci: WARN Event TRB for slot 1 ep 8 with no TDs queued?

lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 076b:3021 OmniKey AG CardMan 3121
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


28.07.2017935KernelBug ReportVery LowMediumModules should have default parameters as part of packa...TrunkUnconfirmed Task Description

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

 

I’m using the kmod-e1000e package, and I notice that it installs the file:

/etc/modules.d/e1000e

which contains:

e1000e

none of the module parameters are set. It turns out that the InterruptRateThrottling parameter can make a significant difference depending on whether your device is a client, server, or router.

In the case of LEDE/OpenWRT, one is obviously a router, and the optimal settings are not the default.

The kernel parameter:

InterruptThrottleRate=”1,1,1,1,1,1,1,1”

should be added, as this gives the best results. Quoting Documentation/networking/e1000e.txt:

For situations where low latency is vital such as cluster or
grid computing, the algorithm can reduce latency even more when
InterruptThrottleRate is set to mode 1. In this mode, which operates
the same as mode 3, the InterruptThrottleRate will be increased stepwise to
70000 for traffic in class “Lowest latency”.

The macro AutoProbe (and also AutoLoad) and the underlying shell scripting for probe_module() and add_module() in include/kernel.mk don’t support specifying parameters.

This should be fixed.

16.07.2017910KernelBug ReportVery LowMediumRaspberry Pi 3 keeps attempting to change CPU frequency...TrunkUnconfirmed Task Description

I recently updated a Raspberry Pi 3 to a recent LEDE git master build: Reboot (SNAPSHOT, r4576-9fe9175)

The kernel keeps logging the following errors:

[  103.041158] bcm2835-cpufreq:bcm2835_cpufreq_set_clock:84: Failed to set clock: 600000 (-12)
[  103.044492] bcm2835-cpufreq:bcm2835_cpufreq_driver_target_index:183: Error occurred setting a new frequency (600000)
[  103.047857] cpufreq: __target_index: Failed to change cpu frequency: -22
[  103.401167] bcm2835-cpufreq:bcm2835_cpufreq_set_clock:84: Failed to set clock: 600000 (-12)
[  103.404517] bcm2835-cpufreq:bcm2835_cpufreq_driver_target_index:183: Error occurred setting a new frequency (600000)
[  103.407890] cpufreq: __target_index: Failed to change cpu frequency: -22
[  103.761155] bcm2835-cpufreq:bcm2835_cpufreq_set_clock:84: Failed to set clock: 600000 (-12)
[  103.764491] bcm2835-cpufreq:bcm2835_cpufreq_driver_target_index:183: Error occurred setting a new frequency (600000)
[  103.767870] cpufreq: __target_index: Failed to change cpu frequency: -22

I am seeing ~10ms latency spikes for traffic through the device and I believe these errors are the reason. If I force the scheduler to only run the CPU at its maximum speed with the command below then then errors cease and the latency spikes disappear:

# echo 1200000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq

I looked into the kernel sources and the messages above appear to be saying that there was an error when asking the Pi firmware to change the CPU speed.

I know there is a HW quirk in the RPi3 which means the UART is effected by the CPU speed. I wonder whether this has anything to do with the firmware rejecting the speed change:
https://github.com/RPi-Distro/repo/issues/22

05.07.2017888KernelBug ReportVery LowMediumWRT1900ACv1 random reboots since kernel 4.9TrunkUnconfirmed Task Description

- Device problem occurs only on WRT1900AC v1, others in the series are unaffected.
- Problem occurs on LEDE Snapshot since the introduction of kernel 4.9. Can be worked around by building with kernel 4.4.
- Steps to reproduce = Flash LEDE Snapshot (with/without keeping configs) via sysupgrade or factory image (tested all combinations).
- Frequency = sometimes during boot, sometimes after several days (in my experience, more often if in use).
- Logs = No crash log created (ideas on how to catch it are welcome).
- Discussion of the issue = https://forum.lede-project.org/t/wrt1900acv1-reboots-kernel-4-9/

 


28.06.2017873Base systemBug ReportVery LowMediumproblems of mt7628 wifi driver on miwifi nanoAllRequires testing Task Description

I started using lede on my miwifi nano since the release of version 17.01.1. All function works well except its wireless function.

What makes it a problem is its stability. After a random period of time(ranging from a quarter of an hour to half of a day), it suddenly disconnected. If you try to reconnect, my device shows something like “setting the network address”(varing from devices to devices). After reboot, I found something like “deauthenticated due to inactivity (timer DEAUTH/REMOVE)”. Unfortunately, I haven’t found a way to reproduce the problem till now.

I thought there might be bugs on its wireless driver because on another firmware(http://downloads.pandorabox.com.cn/pandorabox/Xiaomi-Mini-R1CL/firmware/PandoraBox-ralink-mt7628-xiaomi-r1cl-squashfs-sysupgrade-r1752-20151201.bin) which is a variant of Openwrt, it works well.

There are many other problems like the inability to set channel to auto and the txpower option is of no use. But for my daily use, they may not so important compared to the connectivity problem.

Sorry for my bad English and thank you for fixing it.

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.

20.06.2017859PackagesBug ReportVery LowMediumOpenVPN is beeing killed with "service openvpn stop" du...lede-17.01Assigned Task Description

TP-LINK TL-MR-3220 v.2.x with LEDE 17.01.2 onboard, installed OpenVPN.

Connection opens successfully, however, on stopping with “service openvpn stop”, logread shows:

Tue Jun 20 08:36:35 2017 daemon.info procd: Instance openvpn::instance1 pid 4084 not stopped on SIGTERM, sending SIGKILL instead
Tue Jun 20 08:36:35 2017 daemon.notice netifd: Network device ‘tun0’ link is down
Tue Jun 20 08:36:35 2017 daemon.notice netifd: Interface ‘vyprvpn’ has link connectivity loss

This causes OpenVPN scripts to abort.

If stopping openvpn with “killall -TERM openvpn”, then it gets enough time to end in a nice way and all scripts are OK.

20.06.2017858Base systemBug ReportVery LowMediumInstalling bind / named will cause resolving names fail...TrunkUnconfirmed Task Description

Device TP-LINK MR-3220 v2.1 and 2.3 and 2.4 tested, LEDE 17.01.1 version.

After installing bind-server, setting “option port ‘0’” for dnsmasq (to disable DNS configuration) and using provided named.conf file (below), resolution of domain names to IP addresses breaks down.

I was able to track down the problem. There is race condition in bringing interfaces up, starting nptd service and named service, resulting in:
* named service beeing unable to open sockets and/or
* ntpd service beeing unable to connect to ntp pool and set router time correctly and/or
* incorrect time setting causes dnssec of named to reject proper answers for dns resolving.

With no named installed, the dnsmasq itself often starts too early, but this is masked by it beeing reinitialized on lan interface up event.

This is a known openwrt problem, the workaround is described here: https://dev.openwrt.org/ticket/19427 and involves creating a “netwait” service. I have tested this workaround and confirmed it works, however it is not nice.

Here my named.conf:

This is the primary configuration file for the BIND DNS server named. acl locals {
localhost;
10.10.10/24;
}; options {
directory “/tmp”; forwarders {
8.8.8.8;
8.8.4.4;
}; recursion yes;
allow-query { locals; }; dnssec-validation auto;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { none; };
listen-on { 127.0.0.1; 10.10.10.10; };
};
prime the server with knowledge of the root servers
zone “.” {

type hint;
file "/etc/bind/db.root";

};

be authoritative for the localhost forward and reverse zones, and for
broadcast zones as per RFC 1912

zone “localhost” {

type master;
file "/etc/bind/db.local";

};

zone “127.in-addr.arpa” {

type master;
file "/etc/bind/db.127";

};

zone “0.in-addr.arpa” {

type master;
file "/etc/bind/db.0";

};

zone “255.in-addr.arpa” {

type master;
file "/etc/bind/db.255";

};

 


18.06.2017855Base systemBug ReportVery LowMediumWrong MAC address (00:00:00:00:00:01) on Arcadyan AR751...lede-17.01Unconfirmed Task Description
root@LEDE:~# ifconfig | grep HW
br-lan    Link encap:Ethernet  HWaddr 00:00:00:00:00:01  
eth0      Link encap:Ethernet  HWaddr 00:00:00:00:00:01  
eth0.1    Link encap:Ethernet  HWaddr 00:00:00:00:00:01  
eth0.2    Link encap:Ethernet  HWaddr 00:00:00:00:00:01  
wlan0     Link encap:Ethernet  HWaddr 00:00:00:00:00:02

I know MAC addresses can be overriden in config, but is it possible to automatically detect the original addresses?

14.06.2017845KernelBug ReportVery LowMediumMT7628 : wrong data reading the I2C busAllUnconfirmed Task Description

Hi,

I’ve already talked to blogic about this issue. He asked me to perform some tests on the platform even back to openwrt CC.

The bug in question occurs with the MT7628 chip and the I2C bus (WRTNode 2p board).
Configuring the pinmux and enabling the driver, the kernel correctly sees the i2c bus. But then going to use the “i2cdetect” command from i2c-tools package has a surprising result: devices are actually sees devices that are not connected.

Curious about the problem I connected my DSO and I did the probe of the SDA and SCL pins. Data and clock seem to be transferred correctly. So the problem seems to be in the “reading”.

According to the i2c specification if SDA is pull-low and you do an i2cdetect the system should identify in the bus an ACK for each slave address, this does does not happen and the same list appear again.

Turning back to different versions this still happens, unfortunately I have not been able to test every single commit.
The test I’ve made:

  • Openwrt CC the device was not supported.
  • Openwrt first commit of the device support: the i2c bus was not recognized by the driver.
  • Openwrt trunk, the i2c bus is not registered
  • LEDE 12.01 the problem as described above.
  • LEDE HEAD: the problem as described above.
  • LEDE HEAD 4.9 (kernel): The problem as described above.

i2cdetect result (same result with SDA pulled low) .config wrtnode2p.dts

Regards,
hitech95

12.06.2017840Base systemBug ReportVery LowMediumAR71xx - Recent firmware won't flash (building without ...TrunkWaiting on reporter Task Description

Device: TP-Link TL-WR841N/ND v8

LEDE release: anything I tried after r4335

Steps to reproduce:

  1. Build: make defconfig, make menuconfig, specify target = TL-WR841N/ND v8, exit (save), make defconfig, make. Everything OK.
  2. Try to flash (I use LuCI). After the usual “don’t turn me off” screen, the router page reappears and the firmware hasn’t been updated. It’s still the previous version.


10.06.2017836KernelBug ReportVery LowMediumZBT-WG3526 low wifi (2.4GHz) speedTrunkUnconfirmed Task Description

Hello.
Device ZBT-WG3526 (16Mb)
Software
Trunk LEDE Reboot SNAPSHOT r4362-5e4bb47 / LuCI Master (git-17.158.76358-75c8eba) (June 9, 2017)
Pakages

kmod-mt76-core - 4.4.71+2017-05-30-ef5b045d-1
kmod-mt7603 - 4.4.71+2017-05-30-ef5b045d-1
kmod-mt76x2 - 4.4.71+2017-05-30-ef5b045d-1

Steps to reproduce

  1. Choose a free channel, I have this channel 13

- Settings in the firmware, channel 13, band 40 MHz, type n.
- The distance between the laptop and the router is 1 meter.

Maximum connection speed 72 MB

On the factory old core (~ 3.3 ver), the connection speed was 150 mbps

09.06.2017833Base systemBug ReportVery LowMediumpppoe memory problemlede-17.01Unconfirmed Task Description

I have observed a problem with pppoe connection. PPP runs well, but if the connection is interrupted by synchronization etc. then the free memory is less.

If I pull the plug and wait, then the system rapidly loses free memory and then crashes by approximately 25 MB of free RAM.

echo 3> /proc/sys/vm/drop_caches does not help in this case.

Tested on Linksys WRT1200AC, kernel 4.4.69 and 4.4.70
LEDE 17.01

Is there a way to investigate the problem more closely?

Many Thanks

Edy

08.06.2017831Base systemBug ReportVery LowMedium/etc/init.d/sysfixtime doesn't set sensible time with w...TrunkUnconfirmed Task Description

The WRT1200AC and the WRT1900AC (and quite possibly the WRT3200AC) has a hardware RTC on the Marvell SoC. The kernel recognises this and creates a /dev/rtc0 device.

The RTC is not battery backed so can come up with any random time set - have seen dates around 1970 and 2034 and 2036.

The /etc/init.d/sysfixtime script is designed to bring up the system with a sensible time and date (sourced from file dates in /etc) until it can be accurately set via NTP on systems with and without hardware RTCs.

The problem is at boot it assumes that because /etc/rtc0 exists and /sbin/hwclock exists, then it can obtain the sensible time from the hardware clock. This causes problems on my router with syslog-ng, vnstat and collectd if the date is in the future (collectd doesn’t log any data and syslog-ng writes spurious logs based on the date).

The issue is further compounded in that the hardware RTC appears to lock up sometimes (probably due to the hardware RTC Vbatt line having no power on boot) and can only be reset by doing a “date reset” command under U-Boot. When the RTC has locked up the command “hwclock -s -u -f /dev/rtc0” or “hwclock -w” has no effect.

The solution may be to not create /dev/rtc0 on devices with an RTC but no battery back up. Another solution may be to modify /etc/init.d/sysfixtime to account for systems with no RTC, systems with battery backed RTCs, and systems like this with an RTC but no battery backup.

Has also been noted by someone else on https://dev.openwrt.org/ticket/20629

/etc/init.d/sysfixtime
....

boot() {

start && exit 0
local maxtime="$(maxtime)"                            <------ this is not executed because start() succeeds
local curtime="$(date +%s)"
[ $curtime -lt $maxtime ] && date -s @$maxtime

}

start() {

[ -e "$RTC_DEV" ] && [ -e "$HWCLOCK" ] && $HWCLOCK -s -u -f $RTC_DEV

}

.....


03.06.2017826Base systemFeature RequestVery LowMediumBetter implementation of upgrade system on ledeTrunkUnconfirmed Task Description

Hi,
It would be good to have an better implementation of upgrade system on lede , I’m talking about debian-like update system so for example after doing :
opkg update, opkg upgrade
it would upgrade all packages including kernel to the latest stable release of lede and leave one old kernel (it’s for getting back to old kernel if anything goes wrong)
After that reboot and we are in newest kernel.

25.05.2017808Base systemBug ReportVery LowMediumbusybox: regexp related compile errorsTrunkUnconfirmed Task Description

Busybox fails to compile if any of the following config options is enabled (y):

BUSYBOX_CONFIG_FEATURE_VI_REGEX_SEARCH
BUSYBOX_CONFIG_GREP
BUSYBOX_CONFIG_EGREP
BUSYBOX_CONFIG_FGREP
BUSYBOX_CONFIG_XARGS

Busybox version 1.26.2

See the attached .config and build logs. Setting all of the above options to n makes busybox compile.

25.05.2017806Base systemBug ReportVery LowMediumDoes not equal iptables rule not workingTrunkUnconfirmed Task Description

The following was entered in LuCI and confirmed by looking at /etc/config/firewall:

config rule
	option enabled '1'
	option family 'ipv4'
	option proto 'all'
	option src '*'
	option src_ip '! 192.168.1.0/24'
	option target 'DROP'
	option name 'Drop_OUT_InvalidSRC'
	option dest '*'
	option extra '-o eth0.2'

I’ve also made the rule without option extra, and by specifying the dest WAN. The rule never appears on my firewall; but adding it via the Custom Firewall rule is works.

25.05.2017803PackagesBug ReportVery LowMediumNL80211_STA_INFO_INACTIVE_TIME incorrect value for IB...TrunkUnconfirmed Task Description

- ar71xx affected
- latest LEDE trunk affected and may be older versions
- Steps to reproduce

Buid current LEDE trunk with a10k-ct driver and CT firmware for QCA988x.
Flash devices with firmware.
Create IBSS interface for 2 or more ath10k devices and connect them.

 

iwinfo shows negative value for last activity. Value is rising. TX traffic can’t pass through interface.
All incoming packets come with “unknown” bitrate.

root@LEDE:~# iwinfo mesh5_0 assoclist
84:16:F9:B1:A0:3E -39 dBm / -103 dBm (SNR 64) -230820 ms ago

      RX: unknown                                      794 Pkts.
      TX: 6.0 MBit/s                                     0 Pkts.

root@LEDE:~# iwinfo mesh5_0 assoclist
84:16:F9:B1:A0:3E -39 dBm / -103 dBm (SNR 64) -127810 ms ago

      RX: unknown                                     2828 Pkts.
      TX: 6.0 MBit/s  
                                 0 Pkts.

root@LEDE:~# iwinfo mesh5_0 assoclist
84:16:F9:B1:A0:3E -40 dBm / -103 dBm (SNR 63) -117860 ms ago

      RX: unknown                                     3022 Pkts.
      TX: 6.0 MBit/s                                     0 Pkts.

According to iw output this value is close to th “unsigned long” value limit
root@LEDE:~# iw mesh5_0 station dump
Station 18:a6:f7:3e:b4:de (on mesh5_0)

      inactive time:  4294805756 ms
      rx bytes:       152352
      rx packets:     2208
      tx bytes:       0
      tx packets:     0
      tx retries:     0
      tx failed:      0
      rx drop misc:   0
      signal:         -39 dBm
      signal avg:     -37 dBm
      tx bitrate:     6.0 MBit/s
      authorized:     yes
      authenticated:  yes
      associated:     yes
      preamble:       long
      WMM/WME:        yes
      MFP:            no
      TDLS peer:      no
      DTIM period:    0
      beacon interval:100
      short slot time:yes
      connected time: 113 seconds

root@LEDE:~# iw mesh5_0 station dump
Station 18:a6:f7:3e:b4:de (on mesh5_0)

      inactive time:  4294878176 ms
      rx bytes:       250056
      rx packets:     3624
      tx bytes:       0
      tx packets:     0
      tx retries:     0
      tx failed:      0
      rx drop misc:   0
      signal:         -40 dBm
      signal avg:     -39 dBm
      tx bitrate:     6.0 MBit/s
      authorized:     yes
      authenticated:  yes
      associated:     yes
      preamble:       long
      WMM/WME:        yes
      MFP:            no
      TDLS peer:      no
      DTIM period:    0
      beacon interval:100
      short slot time:yes
      connected time: 185 seconds

After some time (3-5 minutes) the value overflows and starting from zero with normal values.

root@LEDE:~# iwinfo mesh5_0 assoclist
84:16:F9:B1:A0:3E -38 dBm / -103 dBm (SNR 65) 80 ms ago

      RX: unknown                                     5732 Pkts.
      TX: 6.0 MBit/s                                     0 Pkts.

root@LEDE:~# iw mesh5_0 station dump
Station 18:a6:f7:3e:b4:de (on mesh5_0)

      inactive time:  50 ms
      rx bytes:       399372
      rx packets:     5788
      tx bytes:       0
      tx packets:     0
      tx retries:     0
      tx failed:      0
      rx drop misc:   0
      signal:         -41 dBm
      signal avg:     -39 dBm
      tx bitrate:     6.0 MBit/s
      authorized:     yes
      authenticated:  yes
      associated:     yes
      preamble:       long
      WMM/WME:        yes
      MFP:            no
      TDLS peer:      no
      DTIM period:    0
      beacon interval:100
      short slot time:yes
      connected time: 296 seconds
16.05.2017788Base systemBug ReportVery LowMediumMQMaker WiTi 5ghz interface does not workAllUnconfirmed Task Description

Supply the following if possible:
- MQMaker WiTi
- All released LEDE versions
- enable the 5ghz interface. LEDE reports that it’s up and running but it isn’t.

I tried 3 builds.

LEDE trunk - fail
LEDE 17.01.0 - fail
OpenWRT trunk - works.

Something broke in the mt76 driver between OpenWRT trunk and LEDE final.

AFAIK it’s after the bug fix to packet injection.

 


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

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

14.05.2017784ToolchainBug ReportVery LowMediumlede-imagebuilder-17.01.1-ar71xx-generic w/ BIN_DIR and...TrunkUnconfirmed Task Description

Supply the following if possible:

- Device problem occurs on

HORNETUBx2

HORNETUB

- Software versions of LEDE release, packages, etc.

lede-imagebuilder-17.01.1-ar71xx-generic.Linux-x86_64

- Steps to reproduce

make image PROFILE=HORNETUBx2 BIN_DIR=/tmp/bld/

... dies with :

“Warning: /home/kjh/toolroot.d/lede-imagebuilder-17.01.1-ar71xx-generic.Linux-x86_64/bin/targets/ar71xx/generic/lede-17.01.1-ar71xx-generic-hornet-ub-x2-squashfs-sysupgrade.bin is too big (> 16318464 bytes)”

... but it seems to work OK without BIN_DIR :

make image PROFILE=HORNETUBx2

EXTRA_IMAGE_NAME also seems to cause this problem


14.05.2017783PackagesBug ReportVery LowMediumgpsd doesn't work with "Garmin USB binary" (nor NMEA200...TrunkUnconfirmed Task Description

Supply the following if possible:

- Device problem occurs on

I tried it on GL-AR150, but it should reproduce on any device w/ USB

- Software versions of LEDE release, packages, etc.

LEDE 17.01.1
gpsd 3.16-1

- Steps to reproduce

If you have a device with “Garmin USB binary” (eg : eTrex), then

gpsd -n -N -G -D 4 /dev/ttyUSB0

... should show data once a second.

From my reading of the code, even without a Garmin device, “-D 4” debug level should show a message of “Probing Garmin USB binary driver...\n”

From my reading of the code, it looks a a build problem. 2 “defines” need to be made :

NON_NMEA0183_ENABLE

HAVE_LIBUSB

FYI, there is a similiar bug for “NMEA2000” : If you do “gpsd -h”, you should see “NMEA2000” on the list of “drivers”. I can file a separate bug for this if you want.

Thanks !

08.05.2017769Base systemBug ReportVery LowMediumFirewall stops traffic / DHCP to WAN interface.lede-17.01Unconfirmed Task Description

- WRT1900ACS v2
- LEDE Reboot 17.01.1 r3316-7eb58cf109 / LuCI lede-17.01 branch (git-17.100.70571-29fabe2)
- Happens periodically (restart firewall solves problem immediately)

 

From log:

conntrack: generic helper won’t handle protocol 47. Please consider loading the specific helper module.

Restarting firewall resolves the issue, and WAN gets DHCP address instant.

I don’t know if it happens when a new DHCP lease from my internet service provider on the WAN interface is occurring OR if connection tracking is failing and firewall blocks traffic totally OR some other thing happens :-)

08.05.2017767ToolchainBug ReportVery LowMediumuml: Imagebuilder does not honor default packages for u...TrunkUnconfirmed Task Description

Stock LEDE - r4099-4c3953b

Plain UML images are fine and work. If you want to build images with the imagebuilder the default package list is not honored and modules are missing - like kmod-80211-hwsim and all related packages.

The squashfs image also does not work:

[    0.270000] squashfs: SQUASHFS error: Filesystem uses "zlib" compression. This is not supported

profiles.mk in Imagebuilder dir seems wonky:

$ cat .profiles.mk
PROFILE_NAMES = Default
Default_NAME:=Default
Default_PACKAGES:=

.targetinfo looks okay, but I don’t know:

Source-Makefile: target/linux/uml/Makefile
Target: uml
Target-Board: uml
Target-Name: User Mode Linux
Target-Arch: x86_64
Target-Arch-Packages: x86_64
Target-Features: audio ext4 source-only squashfs
Target-Depends:
Target-Optimization: -Os -pipe
CPU-Type:
Linux-Version: 4.4.61
Linux-Release: 1
Linux-Kernel-Arch: um
Target-Description:

@@
Default-Packages: base-files libc libgcc busybox dropbear mtd uci opkg netifd fstools uclient-fetch logd dnsmasq iptables ip6tables ppp ppp-mod-pppoe firewall odhcpd odhcp6c wpad-mini kmod-mac80211-hwsim mkf2fs e2fsprogs iwinfo
06.05.2017764KernelBug ReportVery LowMediumMT7621: Any traffic shaping results in crashes/stack tr...AllRequires testing Task Description

There has been a large number of reports of bugs with MT7621 devices in combination with SQM. Debugging is difficult, because it often results in a hardcrash which leaves no log files. I believe I have some interesting details that might make it easier to debug.

Device: DIR-860L rev B1, but according to reports all MT7621 devices are affected.
LEDE Version: LEDE Reboot SNAPSHOT r4094-961c0ea
Steps to reproduce: Run a dslreports.com speedtest with a large number of upload and download streams (32/32) with either SQM or QOS enabled on your WAN interface.

Observations:

  • It happens both with SQM-scripts _and_ QOS. So I don’t believe it is an issue with the SQM package specifically. These two packages have in common that they both shape traffic.
  • It seems to be load dependent. 100/100 and 200/200 mbit egress/ingress limits crash less often than 300/300 or higher limits
  • It happens with all qdiscs: Cake + piece of cake, fq_codel + simple, fq_codel + simplest

Crash log:

There is usually no crash log because the router hardlocks and then reboots. But I got very lucky once and managed to get a log of the event:

[  710.140000] INFO: rcu_sched detected stalls on CPUs/tasks:
[  710.150000] 	1-...: (257 GPs behind) idle=dfc/0/0 softirq=48167/48179 fqs=1 
[  710.160000] 	(detected by 2, t=6004 jiffies, g=13114, c=13113, q=1063)
[  710.170000] Task dump for CPU 1:
[  710.180000] swapper/1       R running      0     0      1 0x00100000
[  710.190000] Stack : 00000000 5b6c286a 000000a3 ffffffff 00000090 773742c0 804df2a4 80490000
[  710.190000] 	  8048c75c 00000001 00000001 8048c540 8048c724 80490000 00000000 800135e4
[  710.190000] 	  00000000 00000001 87c70000 87c71ec0 80490000 8005ec74 1100fc03 00000001
[  710.190000] 	  00000000 80490000 804df2a4 8005ec6c 80490000 8001b1a8 1100fc03 00000000
[  710.190000] 	  00000004 8048c4a0 000000a0 8001b1b0 8c94e220 00008018 dc124877 a0020044
[  710.190000] 	  ...
[  710.260000] Call Trace:
[  710.270000] [<8000be98>] __schedule+0x574/0x758
[  710.280000] [<800135e4>] r4k_wait_irqoff+0x0/0x20
[  710.290000] 
[  710.290000] rcu_sched kthread starved for 6016 jiffies! g13114 c13113 f0x0 s3 ->state=0x1
[  782.470000] INFO: rcu_sched detected stalls on CPUs/tasks:
[  782.470000] 	1-...: (0 ticks this GP) idle=12c/0/0 softirq=48179/48179 fqs=0 
[  782.470000] 	(detected by 0, t=6002 jiffies, g=13324, c=13323, q=1260)
[  782.470000] Task dump for CPU 1:
[  782.470000] swapper/1       R running      0     0      1 0x00100000
[  782.470000] Stack : 00000000 00000001 0000000a 00000000 00000000 00000001 804df2a4 80490000
[  782.470000] 	  8048c75c 00000001 00000001 8048c540 8048c724 80490000 00000000 800135e4
[  782.470000] 	  00000000 00000001 87c70000 87c71ec0 80490000 8005ec74 1100fc03 00000001
[  782.470000] 	  00000000 80490000 804df2a4 8005ec6c 80490000 8001b1a8 1100fc03 00000000
[  782.470000] 	  00000004 8048c4a0 000000a0 8001b1b0 8c94e220 00008018 dc124877 a0020044
[  782.470000] 	  ...
[  782.470000] Call Trace:
[  782.470000] [<8000be98>] __schedule+0x574/0x758
[  782.470000] [<800135e4>] r4k_wait_irqoff+0x0/0x20
[  782.470000] 
[  782.470000] rcu_sched kthread starved for 6002 jiffies! g13324 c13323 f0x0 s3 ->state=0x1
[  860.040000] INFO: rcu_sched detected stalls on CPUs/tasks:
[  860.050000] 	1-...: (0 ticks this GP) idle=5a8/0/0 softirq=48179/48179 fqs=0 
[  860.060000] 	(detected by 3, t=6004 jiffies, g=13501, c=13500, q=2389)
[  860.070000] Task dump for CPU 1:
[  860.080000] swapper/1       R running      0     0      1 0x00100000
[  860.090000] Stack : 00000000 00002cd1 00000000 777882c0 00000000 00000000 804df2a4 80490000
[  860.090000] 	  8048c75c 00000001 00000001 8048c540 8048c724 80490000 00000000 800135e4
[  860.090000] 	  00000000 00000001 87c70000 87c71ec0 80490000 8005ec74 1100fc03 00000001
[  860.090000] 	  00000000 80490000 804df2a4 8005ec6c 80490000 8001b1a8 1100fc03 00000000
[  860.090000] 	  00000004 8048c4a0 000000a0 8001b1b0 8c94e220 00008018 dc124877 a0020044
[  860.090000] 	  ...
[  860.160000] Call Trace:
[  860.170000] [<8000be98>] __schedule+0x574/0x758
[  860.180000] [<800135e4>] r4k_wait_irqoff+0x0/0x20
[  860.190000] 
[  860.190000] rcu_sched kthread starved for 6017 jiffies! g13501 c13500 f0x0 s3 ->state=0x1

I hope it contains useful information for tracking down this bug. If there is anything else I can supply or test in order to help the debugging process, please let me know.

04.05.2017761Base systemBug ReportVery LowMediumWRT54G image is too big for device.lede-17.01Unconfirmed Task Description

Device: WRT54G v2
Lede version/build: lede-17.01.1-brcm47xx-legacy-linksys-wrt54g-squashfs.bin

The image provided is 4001824 bytes, whereas device flash is 3866624 bytes.
Cannot upload firmware to device.

Source old wiki: https://wiki.openwrt.org/toh/linksys/wrt54g

03.05.2017752Base systemBug ReportVery LowMediummtk7688 radio in client mode throwing kernel stack trac...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

AsiaRF AWM688, based on the mtk7688 SoC, similar to the LinkIt 7688

- Software versions of LEDE release, packages, etc.

current HEAD (21c2e93e67bc44c1b72dbbe2dc9f9451d44f81a0)

- Steps to reproduce

Put your wifi interface into station mode, with something like this:

uci set wireless.@wifi-iface[0].mode=sta
uci set wireless.@wifi-iface[0].network=wan
uci set wireless.@wifi-iface[0].ssid="<yournetworkssid>"
uci set wireless.@wifi-iface[0].encryption=<yournetworkencryption>
uci set wireless.@wifi-iface[0].key=<yournetworkkey>
uci set network.wan.ifname=''
uci commit wireless
uci commit network
/etc/init.d/network restart

The stack traces look like this:

[  381.712245] ------------[ cut here ]------------
[  381.721603] WARNING: CPU: 0 PID: 0 at compat-wireless-2017-01-31/net/mac80211/tx.c:4230 ieee80211_csa_is_complete+0x4d4/0x668 [mac80211]()
[  381.746243] Modules linked in: pppoe ppp_async snd_usb_audio pppox ppp_generic pl2303 nf_conntrack_ipv6 mmc_spi iptable_nat ipt_REJECT ipt_MASQUERADE ftdi_sio cp210x ch341 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 usbserial usbmon ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda spidev snd_usbmidi_lib slhc pwm_mediatek of_mmc_spi 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 crc7 crc_itu_t crc_ccitt snd_soc_simple_card snd_soc_ralink_i2s snd_soc_wm8960 i2c_mt7621 snd_soc_core ralink_gdma virt_dma mt76x2e mt7603e i2c_dev mt76 mac80211 cfg80211 compat ledtrig_oneshot ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore vfat fat nls_utf8 nls_iso8859_1 nls_cp437 regmap_spi regmap_mmio regmap_i2c i2c_core regmap_core lzo_decompress lzo_compress mmc_block usb_storage mtk_sd mmc_core leds_gpio ohci_platform ohci_hcd ledtrig_transient ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[  381.997790] CPU: 0 PID: 0 Comm: swapper Tainted: G        W       4.4.61 #0
[  382.011576] Stack : 8035bff4 00000000 00000001 803a0000 803a10dc 803a0d63 8033d94c 00000000
          803f3438 8380de90 00000000 82d2b630 00000001 8004ae6c 80342e54 803a0000
          00000003 8380de90 80341258 8380dd74 00000001 80048dd8 83012b40 00000000
          8039fe50 00000000 00000000 00000000 00000000 00000000 00000000 00000000
          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
          ...
[  382.082022] Call Trace:
[  382.086872] [<8001486c>] show_stack+0x50/0x84
[  382.095501] [<8002544c>] warn_slowpath_common+0xa0/0xd0
[  382.105857] [<80025504>] warn_slowpath_null+0x18/0x24
[  382.115987] [<832aa34c>] ieee80211_csa_is_complete+0x4d4/0x668 [mac80211]
[  382.129537] 
[  382.132479] ---[ end trace cedc8f2cca6a57da ]---
[  448.821439] ------------[ cut here ]------------
[  448.830796] WARNING: CPU: 0 PID: 0 at compat-wireless-2017-01-31/net/mac80211/tx.c:4230 ieee80211_csa_is_complete+0x4d4/0x668 [mac80211]()
[  448.855431] Modules linked in: pppoe ppp_async snd_usb_audio pppox ppp_generic pl2303 nf_conntrack_ipv6 mmc_spi iptable_nat ipt_REJECT ipt_MASQUERADE ftdi_sio cp210x ch341 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 usbserial usbmon ums_usbat ums_sddr55 ums_sddr09 ums_karma ms_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda spidev snd_usbmidi_lib slhc pwm_mediatek of_mmc_spi 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 crc7 crc_itu_t crc_ccitt snd_soc_simple_card snd_soc_ralink_i2s snd_soc_wm8960 i2c_mt7621 snd_soc_core ralink_gdma virt_dma mt76x2e mt7603e i2c_dev mt76 mac80211 cfg80211 compat ledtrig_oneshot ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore vfat fat nls_utf8 nls_iso8859_1 nls_cp437 regmap_spi regmap_mmio regmap_i2c i2c_core regmap_core lzo_decompress lzo_compress mmc_block usb_storage mtk_sd mmc_core leds_gpio ohci_platform ohci_hcd ledtrig_transient ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[  449.106963] CPU: 0 PID: 0 Comm: swapper Tainted: G        W       4.4.61 #0
[  449.120752] Stack : 8035bff4 00000000 00000001 803a0000 803a10dc 803a0d63 8033d94c 00000000
          803f3438 8380de90 00000000 82d2b630 00000001 8004ae6c 80342e54 803a0000
          00000003 8380de90 80341258 8380dd74 00000001 80048dd8 831a7852 00000000
          8039fe50 00000000 00000000 00000000 00000000 00000000 00000000 00000000
          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
          ...
[  449.191202] Call Trace:
[  449.196044] [<8001486c>] show_stack+0x50/0x84
[  449.204680] [<8002544c>] warn_slowpath_common+0xa0/0xd0
[  449.215034] [<80025504>] warn_slowpath_null+0x18/0x24
[  449.225170] [<832aa34c>] ieee80211_csa_is_complete+0x4d4/0x668 [mac80211]
[  449.238722] 
[  449.241679] ---[ end trace cedc8f2cca6a57db ]---

The line number is a bit off, but it looks like maybe ieee80211_csa_is_complete is complaining because vif→type == station mode isn’t handled. I don’t know what “csa” means here.

02.05.2017750Base systemBug ReportVery LowMedium802.11r Fast Transition Not workingTrunkUnconfirmed Task Description

Device: WRT1900ACSv2
Version: LEDE 17.0 - 17.01.1, and trunk

I was able to get 802.11r working on an older TP Link TL-WR1043ND v1.1 using the configuration below, however, when I use the same configuration on my WRT1900ACSv2, devices either refuse to associate, or ones that do associate, do so without FT-PSK.

Devices that attempt to use FT-PSK do not return the MDIE in their Associate Frame. I have tried to compile a hostapd without the debugging messages stripped, but no additional errors were provided by hostapd. I have looked at packet captures from the TL-WR1043ND that do work and I cannot see anything different with the probe responses or beacon frames between the two devices types that would immediately indicate an issue. Admittedly, I'm no expert with 802.11 protocols, so I'm seeking some help here. I've hit a wall. I can provide example frame captures and device configurations as needed.

My example configuration looks like the following:

config wifi-device 'radio0'

option type 'mac80211'
option hwmode '11a'
option path 'soc/soc:pcie-controller/pci0000:00/0000:00:01.0/0000:01:00.0'
option htmode 'VHT80'
option channel '149'
option country 'US'
option log_level '0'

config wifi-iface 'roaming_test'

option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'RoamIO'
option encryption 'psk2+ccmp'
option key 'somewpa2sharedkey'
option ieee80211r '1'
option pmk_r1_push '1'
option mobility_domain 'beef'
option nasid 'ap0wlan0'
option r1_key_holder 'deadbeefcafe'
option macaddr 'de:ad:be:ef:ca:fe'
list r0kh 'de:ad:be:ef:ca:fe,ap0wlan0,000102030405060708090a0b0c0d0e0f'
list r0kh 'de:ad:be:ef:4d:ad,ap1wlan0,000102030405060708090a0b0c0d0e0f'
list r1kh 'de:ad:be:ef:ca:fe,de:ad:be:ef:ca:fe,000102030405060708090a0b0c0d0e0f'
list r1kh 'de:ad:be:ef:4d:ad,de:ad:be:ef:4d:ad,000102030405060708090a0b0c0d0e0f'
01.05.2017749Base systemBug ReportVery LowMediumEdgeRouter Lite (octeon) f2fs WARNING in segment.clede-17.01Unconfirmed Task Description

Using a firmware built on my own, as well as downloaded from

https://downloads.lede-project.org/releases/17.01.1/targets/octeon/generic/

Freshly installed, there is a kernel WARNING (is that the right term?)

U-Boot 1.1.1 (UBNT Build ID: 4670715-gbd7e2d7) (Build time: May 27 2014 - 11:16:22)

BIST check passed.
UBNT_E100 r1:2, r2:18, f:4/71, serial #: 44D9E79F90C9
MPR 13-00318-18
Core clock: 500 MHz, DDR clock: 266 MHz (532 Mhz data rate)
DRAM:  512 MB
Clearing DRAM....... done
Flash:  4 MB
Net:   octeth0, octeth1, octeth2

USB:   (port 0) scanning bus for devices... 1 USB Devices found
       scanning bus for storage devices...
  Device 0: Vendor:          Prod.: USB DISK 2.0     Rev: PMAP
            Type: Removable Hard Disk
            Capacity: 3824.0 MB = 3.7 GB (7831552 x 512)                                                                                                       0
reading vmlinux.64
............................

5555424 bytes read
argv[2]: coremask=0x3
argv[3]: root=/dev/sda2
argv[4]: rootdelay=15
argv[5]: rw
argv[6]: rootsqimg=squashfs.img
argv[7]: rootsqwdir=w
argv[8]: mtdparts=phys_mapped_flash:512k(boot0),512k(boot1),64k@1024k(eeprom)
ELF file is 64 bit
Allocating memory for ELF segment: addr: 0xffffffff81100000 (adjusted to: 0x1100000), size 0x16a3fa0
Allocated memory for ELF segment: addr: 0xffffffff81100000, size 0x16a3fa0
Processing PHDR 0
  Loading 54af00 bytes at ffffffff81100000
  Clearing 11590a0 bytes at ffffffff8164af00
## Loading Linux kernel with entry point: 0xffffffff811078a0 ...
Bootloader: Done loading app on coremask: 0x3
[    0.000000] Linux version 4.4.61 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3103-1b51a49) ) #0 SMP Sat Apr 15 16:13:45 2017
[    0.000000] CVMSEG size: 2 cache lines (256 bytes)
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 000d0601 (Cavium Octeon+)
[    0.000000] Checking for the multiply/shift bug... no.
[    0.000000] Checking for the daddiu bug... no.
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 0000000005800000 @ 0000000002800000 (usable)
[    0.000000]  memory: 0000000007c00000 @ 0000000008200000 (usable)
[    0.000000]  memory: 000000000fc00000 @ 0000000410000000 (usable)
[    0.000000]  memory: 00000000016a3fa0 @ 0000000001100000 (usable)
[    0.000000] Wasting 243712 bytes for tracking 4352 unused pages
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Using internal Device Tree.
[    0.000000] software IO TLB [mem 0x0378e000-0x0778e000] (64MB) mapped at [800000000378e000-800000000778dfff]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000001100000-0x00000000efffffff]
[    0.000000]   Normal   [mem 0x00000000f0000000-0x000000041fbfffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000001100000-0x00000000027a2fff]
[    0.000000]   node   0: [mem 0x0000000002800000-0x0000000007ffffff]
[    0.000000]   node   0: [mem 0x0000000008200000-0x000000000fdfffff]
[    0.000000]   node   0: [mem 0x0000000410000000-0x000000041fbfffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000001100000-0x000000041fbfffff]
[    0.000000] Primary instruction cache 32kB, virtually tagged, 4 way, 64 sets, linesize 128 bytes.
[    0.000000] Primary data cache 16kB, 64-way, 2 sets, linesize 128 bytes.
[    0.000000] PERCPU: Embedded 14 pages/cpu @8000000007849000 s20224 r8192 d28928 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 122875
[    0.000000] Kernel command line: mtdparts=phys_mapped_flash:512k(boot0)ro,512k(boot1)ro,64k(eeprom)ro root=/dev/sda2 rootfstype=squashfs,ext4 rootwait  console=ttyS0,115200
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.000000] Memory: 400736K/498316K available (4199K kernel code, 304K rwdata, 652K rodata, 1284K init, 16719K bss, 97580K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  CONFIG_RCU_FANOUT set to non-default value of 32
[    0.000000]  RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:127
[    7.147901] clocksource: OCTEON_CVMCOUNT: mask: 0xffffffffffffffff max_cycles: 0xe6a171a037, max_idle_ns: 881590485102 ns
[    7.158745] Calibrating delay loop (skipped) preset value.. 1000.00 BogoMIPS (lpj=2000000)
[    7.166921] pid_max: default: 32768 minimum: 301
[    7.171667] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    7.178141] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    7.185929] Checking for the daddi bug... no.
[    7.192506] SMP: Booting CPU01 (CoreId  1)...
[    7.196888] CPU1 revision is: 000d0601 (Cavium Octeon+)
[    7.197086] Brought up 2 CPUs
[    7.210207] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    7.219889] futex hash table entries: 512 (order: 4, 65536 bytes)
[    7.226749] NET: Registered protocol family 16
[    7.231886] Can't analyze schedule() prologue at ffffffff81109a08
[    7.249961] Not in host mode, PCI Controller not initialized
[    7.273539] SCSI subsystem initialized
[    7.277735] usbcore: registered new interface driver usbfs
[    7.283246] usbcore: registered new interface driver hub
[    7.288576] usbcore: registered new device driver usb
[    7.295690] clocksource: Switched to clocksource OCTEON_CVMCOUNT
[    7.303021] NET: Registered protocol family 2
[    7.308164] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    7.315205] TCP bind hash table entries: 4096 (order: 5, 131072 bytes)
[    7.321776] TCP: Hash tables configured (established 4096 bind 4096)
[    7.328094] UDP hash table entries: 256 (order: 2, 24576 bytes)
[    7.333965] UDP-Lite hash table entries: 256 (order: 2, 24576 bytes)
[    7.340528] NET: Registered protocol family 1
[    7.351823] Crashlog allocated RAM at address 0x3f00000
[    7.372836] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    7.379094] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    7.393829] io scheduler noop registered
[    7.397778] io scheduler deadline registered (default)
[    7.403150] octeon_gpio 1070000000800.gpio-controller: OCTEON GPIO driver probed.
[    7.410882] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    7.421840] console [ttyS0] disabled
[    7.425354] 1180000000800.serial: ttyS0 at MMIO 0x1180000000800 (irq = 41, base_baud = 31250000) is a OCTEON
[    7.435125] console [ttyS0] enabled
[    7.435125] console [ttyS0] enabled
[    7.442028] bootconsole [early0] disabled
[    7.442028] bootconsole [early0] disabled
[    7.450602] 1180000000c00.serial: ttyS1 at MMIO 0x1180000000c00 (irq = 42, base_baud = 31250000) is a OCTEON
[    7.461208] octeon_rng octeon_rng: Octeon Random Number Generator
[    7.476791] loop: module loaded
[    7.480859] of-flash 1f400000.nor: Can't get bank width from device tree
[    7.488130] libphy: mdio-octeon: probed
[    7.493863] mdio-octeon 1180000001800.mdio: Version 1.1
[    7.499514] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.506095] ehci-pci: EHCI PCI platform driver
[    7.510694] ehci-platform: EHCI generic platform driver
[    7.516232] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    7.522497] ohci-platform: OHCI generic platform driver
[    7.528113] usbcore: registered new interface driver usb-storage
[    7.534178] octeon_wdt: Initial granularity 5 Sec
[    7.542862] Interface 0 has 3 ports (RGMII)
[    7.551658] OcteonUSB 16f0010000000.usbc: Octeon Host Controller
[    7.557762] OcteonUSB 16f0010000000.usbc: new USB bus registered, assigned bus number 1
[    7.565863] OcteonUSB 16f0010000000.usbc: irq 124, io mem 0x00000000
[    7.573317] hub 1-0:1.0: USB hub found
[    7.577215] hub 1-0:1.0: 1 port detected
[    7.581735] OcteonUSB 16f0010000000.usbc: Registered HCD for port 0 on irq 124
[    7.590542] NET: Registered protocol family 10
[    7.597130] NET: Registered protocol family 17
[    7.601749] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    7.614421] 8021q: 802.1Q VLAN Support v1.8
[    7.618987] Bootbus flash: Setting flash for 4MB flash at 0x1f800000
[    7.625502] phys_mapped_flash: Found 1 x16 devices at 0x0 in 8-bit bank. Manufacturer ID 0x000001 Chip ID 0x001a01
[    7.635895] Amd/Fujitsu Extended Query Table at 0x0040
[    7.641088]   Amd/Fujitsu Extended Query version 1.3.
[    7.646167] phys_mapped_flash: Swapping erase regions for top-boot CFI table.
[    7.653333] number of CFI chips: 1
[    7.656784] 3 cmdlinepart partitions found on MTD device phys_mapped_flash
[    7.663694] Creating 3 MTD partitions on "phys_mapped_flash":
[    7.669470] 0x000000000000-0x000000080000 : "boot0"
[    7.675929] 0x000000080000-0x000000100000 : "boot1"
[    7.682384] 0x000000100000-0x000000110000 : "eeprom"
[    7.690420] fdt: not creating '/sys/firmware/fdt': CRC check failed
[    7.697332] Waiting for root device /dev/sda2...
[    7.938987] usb 1-1: new high-speed USB device number 2 using OcteonUSB
[    8.379119] usb-storage 1-1:1.0: USB Mass Storage device detected
[    8.385761] scsi host0: usb-storage 1-1:1.0
[    9.388366] scsi 0:0:0:0: Direct-Access              USB DISK 2.0     PMAP PQ: 0 ANSI: 6
[    9.398568] sd 0:0:0:0: [sda] 7831552 512-byte logical blocks: (4.01 GB/3.73 GiB)
[    9.407156] sd 0:0:0:0: [sda] Write Protect is off
[    9.412976] sd 0:0:0:0: [sda] No Caching mode page found
[    9.418386] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    9.429634]  sda: sda1 sda2
[    9.436532] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    9.513812] VFS: Mounted root (squashfs filesystem) readonly on device 8:2.
[    9.522021] Freeing unused kernel memory: 1284K (ffffffff8160f000 - ffffffff81750000)
[   10.250157] init: Console is alive
[   10.253922] init: - watchdog -
[   10.571309] init: - preinit -
cat: can't open '/tmp/sysinfo/board_name': No such file or directory
[   10.943161] random: jshn: uninitialized urandom read (4 bytes read, 89 bits of entropy available)
[   10.991547] random: jshn: uninitialized urandom read (4 bytes read, 90 bits of entropy available)
[   11.029533] random: jshn: uninitialized urandom read (4 bytes read, 91 bits of entropy available)
[   11.065314] eth0: 1000 Mbps Full duplex, port 0, queue 0
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
[   14.379000] random: nonblocking pool is initialized
[   14.436744] mount_root: rootdisk overlay filesystem has not been formatted yet

        F2FS-tools: mkfs.f2fs Ver: 1.8.0 (2017-02-03)

Info: Debug level = 0
Info: Label = rootfs_data
Info: Trim is enabled
Info: Segments per section = 1
Info: Sections per zone = 1
Info: sector size = 512
Info: total sectors = 3414144 (1667 MB)
Info: zone aligned segment0 blkaddr: 512
Info: format version with
  "Linux version 4.4.61 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3103-1b51a49) ) #0 SMP Sat Apr 15 16:13:45 2017"
Info: [/dev/loop0] Discarding device
Info: This device doesn't support BLKSECDISCARD
Info: This device doesn't support BLKDISCARD
Info: Overprovision ratio = 4.960%
Info: Overprovision segments = 86 (GC reserved = 48)
Info: format successful
[   16.695198] mount_root: overlay filesystem has not been fully initialized yet
[   16.703760] mount_root: switching to f2fs overlay
[   16.753210] urandom-seed: Seed file not found (/etc/urandom.seed)
[   16.905217] eth0: Link down
[   16.917557] procd: - early -
[   16.920639] procd: - watchdog -
[   17.543389] procd: - ubus -
[   17.678625] procd: - init -
Please press Enter to activate this console.
[   17.928815] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   17.943136] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.954403] nf_conntrack version 0.5.0 (3140 buckets, 12560 max)
[   18.023028] xt_time: kernel timezone is -0000
[   18.036364] PPP generic driver version 2.4.2
[   18.041948] NET: Registered protocol family 24
[   19.332518] ------------[ cut here ]------------
[   19.337193] WARNING: CPU: 1 PID: 626 at fs/f2fs/segment.c:718 0xffffffff812cfd90()
[   19.344780] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 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_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables
[   19.396207] CPU: 1 PID: 626 Comm: uci Not tainted 4.4.61 #0
[   19.401780] Stack : 0000000000000000 0000000000000000 0000000000000000 0000000000000000
          0000000000000000 0000000000000000 0000000000000000 0000000000000000
          0000000000000000 0000000000000000 0000000000000000 0000000000000000
          0000000000000000 0000000000000000 0000000000000000 0000000000000000
          0000000000000000 0000000000000000 0000000000000000 0000000000000000
          0000000000000000 0000000000000000 0000000000000000 0000000000000000
          0000000000000000 0000000000000000 0000000000000000 0000000000000000
          0000000000000000 800000041e107220 0000000000000000 ffffffff81125fc0
          0000000000000000 0000000000000000 0000000000000000 0000000000000000
          0000000000000000 ffffffff81125fc0 0000000000000000 0000000000000000
          ...
[   19.467419] Call Trace:[<ffffffff81125fc0>] 0xffffffff81125fc0
[   19.473278] [<ffffffff81125fc0>] 0xffffffff81125fc0
[   19.478161] [<ffffffff813103dc>] 0xffffffff813103dc
[   19.483043] [<ffffffff8113baac>] 0xffffffff8113baac
[   19.487925] [<ffffffff812cfd90>] 0xffffffff812cfd90
[   19.492807] [<ffffffff812d0690>] 0xffffffff812d0690
[   19.497688] [<ffffffff812d2114>] 0xffffffff812d2114
[   19.502571] [<ffffffff812d24d0>] 0xffffffff812d24d0
[   19.507453] [<ffffffff812d261c>] 0xffffffff812d261c
[   19.512335] [<ffffffff812c844c>] 0xffffffff812c844c
[   19.517217] [<ffffffff812c88d4>] 0xffffffff812c88d4
[   19.522100] [<ffffffff812c5358>] 0xffffffff812c5358
[   19.526981] [<ffffffff812c56a0>] 0xffffffff812c56a0
[   19.531866] [<ffffffff8110c740>] 0xffffffff8110c740
[   19.536747] [<ffffffff811adcb4>] 0xffffffff811adcb4
[   19.541630] [<ffffffff812c59a0>] 0xffffffff812c59a0
[   19.546512] [<ffffffff811a26b0>] 0xffffffff811a26b0
[   19.551394] [<ffffffff812c25f8>] 0xffffffff812c25f8
[   19.556276] [<ffffffff812c2738>] 0xffffffff812c2738
[   19.561157] [<ffffffff811ad424>] 0xffffffff811ad424
[   19.566039] [<ffffffff8116fa64>] 0xffffffff8116fa64
[   19.570923] [<ffffffff812bcc14>] 0xffffffff812bcc14
[   19.575805] [<ffffffff8110c740>] 0xffffffff8110c740
[   19.580686] [<ffffffff8116f9d8>] 0xffffffff8116f9d8
[   19.585567] [<ffffffff812b6ed0>] 0xffffffff812b6ed0
[   19.590450] [<ffffffff812b3188>] 0xffffffff812b3188
[   19.595338] [<ffffffff812b329c>] 0xffffffff812b329c
[   19.600222] [<ffffffff812b0248>] 0xffffffff812b0248
[   19.605104] [<ffffffff811dd1b4>] 0xffffffff811dd1b4
[   19.609985] [<ffffffff811eb76c>] 0xffffffff811eb76c
[   19.614868] [<ffffffff811ec300>] 0xffffffff811ec300
[   19.619751] [<ffffffff811ecbf4>] 0xffffffff811ecbf4
[   19.624635] [<ffffffff8110c7c0>] 0xffffffff8110c7c0
[   19.629516] [<ffffffff811f9cac>] 0xffffffff811f9cac
[   19.634398] [<ffffffff811dd5cc>] 0xffffffff811dd5cc
[   19.639281] [<ffffffff811038d0>] 0xffffffff811038d0
[   19.644164] [<ffffffff81107668>] 0xffffffff81107668
[   19.649045] [<ffffffff811e2d8c>] 0xffffffff811e2d8c
[   19.653928]
[   19.655705] ---[ end trace 790531a03d0d7329 ]---
[   19.660688] ------------[ cut here ]------------
[   19.665362] WARNING: CPU: 1 PID: 626 at fs/f2fs/segment.c:718 0xffffffff812cfd90()
[   19.672952] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 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_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables
[   19.724383] CPU: 1 PID: 626 Comm: uci Tainted: G        W       4.4.61 #0
[   19.731172] Stack : 0000000000000000 0000000000000000 0000000000000000 0000000000000000
          0000000000000000 0000000000000000 0000000000000000 0000000000000000
          0000000000000000 0000000000000000 0000000000000000 0000000000000000
          0000000000000000 0000000000000000 0000000000000000 0000000000000000
          0000000000000000 0000000000000000 0000000000000000 0000000000000000
          0000000000000000 0000000000000000 0000000000000000 0000000000000000
          0000000000000000 0000000000000000 0000000000000000 0000000000000000
          0000000000000000 800000041e107380 0000000000000000 ffffffff81125fc0
          0000000000000000 0000000000000000 0000000000000000 0000000000000000
          0000000000000000 ffffffff81125fc0 0000000000000000 0000000000000000
          ...
[   19.796810] Call Trace:[<ffffffff81125fc0>] 0xffffffff81125fc0
[   19.802671] [<ffffffff81125fc0>] 0xffffffff81125fc0
[   19.807554] [<ffffffff813103dc>] 0xffffffff813103dc
[   19.812435] [<ffffffff8113baac>] 0xffffffff8113baac
[   19.817317] [<ffffffff812cfd90>] 0xffffffff812cfd90
[   19.822200] [<ffffffff812d0690>] 0xffffffff812d0690
[   19.827081] [<ffffffff812d2114>] 0xffffffff812d2114
[   19.831964] [<ffffffff812d24d0>] 0xffffffff812d24d0
[   19.836846] [<ffffffff812d2580>] 0xffffffff812d2580
[   19.841727] [<ffffffff812ca1fc>] 0xffffffff812ca1fc
[   19.846610] [<ffffffff812cc2a0>] 0xffffffff812cc2a0
[   19.851492] [<ffffffff812c24d0>] 0xffffffff812c24d0
[   19.856375] [<ffffffff8110c740>] 0xffffffff8110c740
[   19.861256] [<ffffffff8116fa64>] 0xffffffff8116fa64
[   19.866138] [<ffffffff812c2788>] 0xffffffff812c2788
[   19.871020] [<ffffffff811ad424>] 0xffffffff811ad424
[   19.875902] [<ffffffff8116fa64>] 0xffffffff8116fa64
[   19.880786] [<ffffffff812bcc14>] 0xffffffff812bcc14
[   19.885668] [<ffffffff8110c740>] 0xffffffff8110c740
[   19.890548] [<ffffffff8116f9d8>] 0xffffffff8116f9d8
[   19.895430] [<ffffffff812b6ed0>] 0xffffffff812b6ed0
[   19.900313] [<ffffffff812b3188>] 0xffffffff812b3188
[   19.905200] [<ffffffff812b329c>] 0xffffffff812b329c
[   19.910085] [<ffffffff812b0248>] 0xffffffff812b0248
[   19.914966] [<ffffffff811dd1b4>] 0xffffffff811dd1b4
[   19.919848] [<ffffffff811eb76c>] 0xffffffff811eb76c
[   19.924730] [<ffffffff811ec300>] 0xffffffff811ec300
[   19.929613] [<ffffffff811ecbf4>] 0xffffffff811ecbf4
[   19.934497] [<ffffffff8110c7c0>] 0xffffffff8110c7c0
[   19.939378] [<ffffffff811f9cac>] 0xffffffff811f9cac
[   19.944260] [<ffffffff811dd5cc>] 0xffffffff811dd5cc
[   19.949143] [<ffffffff811038d0>] 0xffffffff811038d0
[   19.954026] [<ffffffff81107668>] 0xffffffff81107668
[   19.958907] [<ffffffff811e2d8c>] 0xffffffff811e2d8c
[   19.963790]
[   19.965526] ---[ end trace 790531a03d0d732a ]---
[   24.600671] device eth0 entered promiscuous mode
[   24.620295] br-lan: port 1(eth0) entered forwarding state
[   24.625817] br-lan: port 1(eth0) entered forwarding state
[   24.765769] eth1: 1000 Mbps Full duplex, port 1, queue 1
[   25.579165] br-lan: port 1(eth0) entered disabled state
[   27.591127] eth0: 1000 Mbps Full duplex, port 0, queue 0
[   27.596582] br-lan: port 1(eth0) entered forwarding state
[   27.602133] br-lan: port 1(eth0) entered forwarding state
[   29.602953] br-lan: port 1(eth0) entered forwarding state

Another capture from my build:
https://pastebin.com/usVfACu0

30.04.2017746Base systemBug ReportVery LowMediumdnsmasq-full should deselect dnsmasqTrunkUnconfirmed Task Description

When selecting package dnsmasq-full from make menuconfig I believe it should deselect package dnsmasq. They need to be mutually exclusive.

Otherwise this happens when selecting dnsmasq-full from an otherwise default config.

Configuring ppp-mod-pppoe.
> Collected errors:
> * check_data_file_clashes: Package dnsmasq-full wants to install file /data/lede/build_dir/target-mips_24kc_musl/root-ar71xx/etc/hotplug.d/ntp/25-dnsmasqsec
> But that file is already provided by package * dnsmasq
> * check_data_file_clashes: Package dnsmasq-full wants to install file /data/lede/build_dir/target-mips_24kc_musl/root-ar71xx/etc/init.d/dnsmasq
> But that file is already provided by package * dnsmasq
> * check_data_file_clashes: Package dnsmasq-full wants to install file /data/lede/build_dir/target-mips_24kc_musl/root-ar71xx/usr/sbin/dnsmasq
> But that file is already provided by package * dnsmasq
> * check_data_file_clashes: Package dnsmasq-full wants to install file /data/lede/build_dir/target-mips_24kc_musl/root-ar71xx/usr/share/dnsmasq/rfc6761.conf
> But that file is already provided by package * dnsmasq
> * opkg_install_cmd: Cannot install package dnsmasq-full.

http://lists.infradead.org/pipermail/lede-dev/2017-April/007228.html

28.04.2017740Base systemBug ReportVery LowMediumWRT54 Router Power LED continually flasheslede-17.01Unconfirmed Task Description
  • LEDE 17.01.1
  • WRT54G v3 and WRT54GS
  • after installing, power LED continually flashes
  • no noticeable difference in LED between failsafe/actual moment of soft reboot//when router is up
  • I had to failsafe the WRT54G multiple times due to other initial config errors (attempting to bridge wlan0 to LAN, which was possible in another OS), I could only identify failsafe by Pinging it then SSHing quickly
  • The method I described to identify failsafe is not mentioned in documentation
23.04.2017731Base systemBug ReportVery LowMediumOffline build not possible after "make download"lede-17.01Unconfirmed Task Description

I tried to do an offline build of almost the default configuration for x86_64 of 17.01.1. So I did “make download” (with that configuration) on a machine connected to the internet and then tried to build from there offline, but “make” tried to download files, that “make download” did not and failed.

The first few files were the following, then I gave up:

ncurses-6.0.tar.gz
lzo-2.09.tar.gz
usign-2015-07-04-ef641914.tar.xz
mbedtls-2.4.2-gpl.tgz
ustream-ssl-2016-07-02-ec80adaa.tar.xz
openssl-1.0.2k.tar.gz

19.04.2017723Base systemBug ReportVery LowMediumath10k fails station mode for QCA986x/988xlede-17.01Unconfirmed Task Description

Set-Up:

  • Board: NXP/Freescale Layerscape TWR-LS1021A Router/AP
  • Wireless Network Adapter: Qualcomm Atheros PCI QCA986x/988x 802.11ac
  • OS: LEDE (derivative from OpenWrt) Reboot/SNAPSHOT/r3044-21356a6

On host: menuconfig:

  • Kernel modules > Wireless Drivers: kmod-ath10k, kmod-ath, kmod-cfg80211, kmod-mac80211
  • Firmware: ath10k-firmware-qca988x
  • Network: wpad, wpa-cli
  • netifd + ubus + uci

On TWR-LS1021A:
Just in order to test if WiFi card is really QCA986x/988x 802.11ac:
root@lede:/# cat /sys/bus/pci/devices/0000\:01\:00.0/vendor

0x168c

root@lede:/# cat /sys/bus/pci/devices/0000\:01\:00.0/device

0x003c

Google: PCI 168c 0x003c gives QCA986x/988x


During the first boot, boot scripts create: /etc/config/wireless with the following contents:

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '36'
        option hwmode '11a'
        option path 'soc/3400000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
        option htmode 'VHT80'
        option disabled '1'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'LEDE'
        option encryption 'none'

We remove: option disabled ‘1’ (WiFi is disabled by default → enable it) and reboot.

Boot with USB-serial output:

…
[    6.270954] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[    6.450972] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
[    6.461643] ath10k_pci 0000:01:00.0: Falling back to user helper
[    6.474916] firmware ath10k!pre-cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
[    6.484102] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-0000:01:00.0.bin failed with error -2
[    6.494431] ath10k_pci 0000:01:00.0: Falling back to user helper
[    6.507497] firmware ath10k!cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
[    6.528736] ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[    6.537986] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[    6.548737] ath10k_pci 0000:01:00.0: firmware ver 10.2.4-1.0-00016 api 5 features no-p2p,raw-mode,mfp crc32 0c5668f8
[    6.599443] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[    6.609853] ath10k_pci 0000:01:00.0: Falling back to user helper
[    6.623269] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[    6.632927] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[    7.775018] ath10k_pci 0000:01:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
…
[   11.014199] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   11.022336] device wlan0 entered promiscuous mode
[   11.336732] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
…

Remarks:

  • pre-cal/cal-pci error messages are connected to pre-calibration issues, so ignore them
  • board-2.bin error: indeed /lib/firmware/ath10k/QCA988X/hw2.0/ contains only board.bin and firmware-5.bin. we have tried to copy hw2.0/board-2.bin from QCA proprietary driver but then: [ 6.590282] ath10k_pci 0000:01:00.0: failed to fetch board data for bus=pci,vendor=168c,device=003c,subsystem-vendor=0000,subsystem-device=0000 from ath10k/QCA988X/hw2.0/board-2.bin

Nevertheless, the driver is correctly started in AP mode:
root@lede:/# iwconfig

wlan0     IEEE 802.11  Mode:Master  Tx-Power=20 dBm   
          RTS thr:off   Fragment thr:off
          Power Management:off

root@lede:/# ifconfig

wlan0     Link encap:Ethernet  HWaddr 00:0E:8E:59:7D:8F  
          inet6 addr: fe80::20e:8eff:fe59:7d8f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:128 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:15588 (15.2 KiB)

Now try to switch to station mode with WPA:
AP: 802.11a, channel 36: 5.18 GHz, SSID: iwl3xxx, Security mode: WPA/PSK, CCMP/AES (WPA/RSN), Password: password

TWR-LS1021A: /etc/config/wireless:

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '36'
        option hwmode '11a'
        option path 'soc/3400000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'wlan'
        option mode 'sta'
        option ssid 'iwl3xxx'
        option encryption 'psk'
        option key 'password'

config interface 'wlan'
        option ifname 'default_radio0'
        option proto 'static'
        option ipaddr '192.168.0.2'
        option netmask '255.255.255.0'

root@lede:/# iwconfig

wlan0     IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

It correctly switches to managed mode but no ESSID and no AP are assigned. Direct WPA supplicant employment also fails:

We create WPA config file /a:

country=00
network={
  ssid="iwl3xxx"
  psk="password"
  scan_ssid=1
  key_mgmt=WPA-PSK
  pairwise=CCMP TKIP
  group=CCMP TKIP
}

Start WPA supplicant:
root@lede:/# wpa_supplicant -c /a -i wlan0 -D nl80211

Successfully initialized wpa_supplicant
wlan0: SME: Trying to authenticate with 00:18:92:05:b6:ec (SSID='iwl3xxx' freq=5180 MHz)
[ 2736.691425] wlan0: authenticate with 00:18:92:05:b6:ec
[ 2736.702348] wlan0: send auth to 00:18:92:05:b6:ec (try 1/3)
[ 2736.709540] wlan0: authenticated
wlan0: Trying to associate with 00:18:92:05:b6:ec (SSID='iwl3xxx' freq=5180 MHz)
[ 2736.717183] wlan0: associate with 00:18:92:05:b6:ec (try 1/3)
[ 2736.725522] wlan0: RX AssocResp from 00:18:92:05:b6:ec (capab=0x411 status=0 aid=1)
[ 2736.734827] wlan0: associated
[ 2736.738114] wlan0: deauthenticating from 00:18:92:05:b6:ec by local choice (Reason: 3=DEAUTH_LEAVING)
wlan0: Associated with 00:18:92:05:b6:ec
wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:18:92:05:b6:ec reason=3 locally_generated=1
wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="iwl3xxx" auth_failures=1 duration=10 reason=WRONG_KEY

Though the key is correct, the driver delivers WRONG_KEY message. In order to eliminate any security issues, we switch to insecure communication:
AP: 802.11a, channel 36: 5.18 GHz, SSID: iwl3xxx, Security mode: NONE

TWR-LS1021A: WPA config file /a:

country=00
network={
  ssid="iwl3xxx"
  scan_ssid=1
  key_mgmt=NONE
}

Start WPA supplicant:
root@lede:/# wpa_supplicant -c /a -i wlan0 -D nl80211

Successfully initialized wpa_supplicant
wlan0: SME: Trying to authenticate with 00:18:92:05:b6:ec (SSID='iwl3xxx' freq=5180 MHz)
[   26.011997] wlan0: authenticate with 00:18:92:05:b6:ec
[   26.069291] wlan0: send auth to 00:18:92:05:b6:ec (try 1/3)
[   26.075992] wlan0: authenticated
wlan0: Trying to associate with 00:18:92:05:b6:ec (SSID='iwl3xxx' freq=5180 MHz)
[   26.087236] wlan0: associate with 00:18:92:05:b6:ec (try 1/3)
[   26.094140] wlan0: RX AssocResp from 00:18:92:05:b6:ec (capab=0x401 status=0 aid=1)
[   26.103088] wlan0: associated
[   26.106163] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wlan0: Associated with 00:18:92:05:b6:ec
wlan0: CTRL-EVENT-CONNECTED - Connection to 00:18:92:05:b6:ec completed [id=0 id_str=]
wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
[   36.117315] wlan0: deauthenticating from 00:18:92:05:b6:ec by local choice (Reason: 3=DEAUTH_LEAVING)
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:18:92:05:b6:ec reason=3 locally_generated=1

So, WPA supplicant reports: we were authenticated and associated, connection completed. And then we leave WiFi by local choice. WireShark shows that deauthenticate-request comes from from us to access point.

Result: ath10k fails station mode for QCA986x/988x

19.04.2017719ToolchainBug ReportVery LowMediummake menuconfig display problemTrunkUnconfirmed Task Description

I have Ubuntu 16.04 (64bit) with requirements for buildroot installed.

After clone I ran make defconfig.

But make menuconfig looks unusable. No cursor, scrolling not updates GUI, menus seems broken too.

I tried terminator, gnome-terminal and xterm but behavior is same everywhere.

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

08.04.2017689Base systemBug ReportVery LowMedium WiFi disconnects on Dir300 b7lede-17.01Unconfirmed Task Description

This: https://github.com/nodemcu/nodemcu-firmware/issues/639 and this: https://forum.openwrt.org/viewtopic.php?id=43188

Device: Dlink Dir-300 b7 with latest LEDE 17.01

Solution: Adding an option ‘option disassoc_low_ack 0’ to /etc/config/wireless in the config wifi-iface section.

02.04.2017671KernelBug ReportVery LowMediumMaybe something wrong with iptableslede-17.01Unconfirmed Task Description

- Device problem occurs on any reboot
- LEDE 17.01 on Archer C50 (CPU: MT7620A, 2G: MT7620A, 5G: MT7612EN)
- Packages installed:

  + kmod-nf-nathelper
  + kmod-nf-nathelper-extra
  + kmod-nfnetlink-log
  + kmod-nfnetlink-queue
  + iptables-mod-conntrack-extra
  + iptables-mod-nat-extra

[ 2523.002022] ————[ cut here ]———— [ 2523.006780] WARNING: CPU: 0 PID: 0 at net/core/skbuff.c:4194 0x801f1598()
[ 2523.013760] Modules linked in: pppoe ppp_async iptable_nat wireguard rt2800soc rt2800pci rt2800mmio rt2800lib qmi_wwan pppox ppp_generic nf_nat_pptp nf_nat_ipv4 nf_nat_amanda nf_conntrack_pptp nf_conntrack_ipv6 nf_conntrack_ipv4 nf_conntrack_amanda 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_hashlimit xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbnet ts_kmp ts_fsm ts_bm slhc rt2x00soc rt2x00pci rt2x00mmio rt2x00lib nfnetlink_queue nfnetlink_log nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast iptable_mangle iptable_filter ipt_ECN ip_tables crc_itu_t crc_ccitt cdc_wdm sch_cake nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ledtrig_usbport mt7603e mt76x2e mt76 mac80211 cfg80211 compat 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_mangle ip6table_filter ip6_tables x_tables ifb ip6_udp_tunnel udp_tunnel ipip tunnel4 ip_tunnel tun zram lzo_decompress lzo_compress lz4_decompress lz4_compress zsmalloc eeprom_93cx6 mii usb_storage ehci_platform ehci_hcd sd_mod scsi_mod f2fs usbcore nls_base usb_common leds_gpio gpio_button_hotplug
[ 2523.192336] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.50 #0
[ 2523.198196] Stack : 8031387c 00000000 00000001 80360000 00000000 00000000 00000000 00000000
[ 2523.198196] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2523.198196] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2523.198196] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2523.198196] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2523.198196] ...
[ 2523.234571] Call Trace:[<80014488>] 0×80014488 [ 2523.239162] [<80014488>] 0×80014488 [ 2523.242734] [<80024f98>] 0x80024f98
[ 2523.246311] [<801f1598>] 0x801f1598
[ 2523.249906] [<80025050>] 0×80025050 [ 2523.253507] [<801f1598>] 0x801f1598
[ 2523.257103] [<8024ae00>] 0x8024ae00
[ 2523.260713] [<82e707f4>] 0x82e707f4 [nf_conntrack@82e70000+0xc860]
[ 2523.267044] [<8024b3e8>] 0x8024b3e8
[ 2523.270646] [<8024fbf8>] 0x8024fbf8
[ 2523.274259] [<82e88448>] 0x82e88448 [ip_tables@82e88000+0×2410]
[ 2523.280324] [<80257968>] 0×80257968 [ 2523.283937] [<8025a094>] 0x8025a094
[ 2523.287506] [<8249436c>] 0x8249436c [nf_conntrack_ipv4@82494000+0x14e0]
[ 2523.294331] [<80231348>] 0×80231348 [ 2523.297918] [<802377c4>] 0x802377c4
[ 2523.301534] [<80237d7c>] 0x80237d7c
[ 2523.305137] [<80237668>] 0×80237668 [ 2523.308720] [<80238048>] 0×80238048 [ 2523.312359] [<8023788c>] 0x8023788c
[ 2523.315943] [<80200484>] 0×80200484 [ 2523.319524] [<82dace30>] 0x82dace30 [mac80211@82d80000+0x5ece0]
[ 2523.325577] [<80203954>] 0×80203954 [ 2523.329198] [<802dd2e8>] 0x802dd2e8
[ 2523.332793] [<801f229c>] 0x801f229c
[ 2523.336366] [<80079b30>] 0x80079b30
[ 2523.339992] [<802dd824>] 0x802dd824
[ 2523.343592] [<801f4028>] 0x801f4028
[ 2523.347200] [<802ddc24>] 0x802ddc24
[ 2523.350772] [<8025ea5c>] 0x8025ea5c
[ 2523.354371] [<8025edd4>] 0x8025edd4
[ 2523.357955] [<8026e6ec>] 0x8026e6ec
[ 2523.361545] [<802dd8a8>] 0x802dd8a8
[ 2523.365110] [<80200200>] 0×80200200 [ 2523.368752] [<80201bc8>] 0x80201bc8
[ 2523.372405] [<82d9fd68>] 0x82d9fd68 [mac80211@82d80000+0x5ece0]
[ 2523.378535] [<82da2b50>] 0x82da2b50 [mac80211@82d80000+0x5ece0]
[ 2523.384752] [<82da4d2c>] 0x82da4d2c [mac80211@82d80000+0x5ece0]
[ 2523.390930] [<82da5530>] 0x82da5530 [mac80211@82d80000+0x5ece0]
[ 2523.397107] [<82ce58ec>] 0x82ce58ec [mt76@82ce4000+0x3c00]
[ 2523.402820] [<82ce50e8>] 0x82ce50e8 [mt76@82ce4000+0x3c00]
[ 2523.408470] [<80201408>] 0×80201408 [ 2523.412112] [<80027518>] 0×80027518 [ 2523.415672] [<8004f0bc>] 0x8004f0bc
[ 2523.419231] [<8004b5d4>] 0x8004b5d4
[ 2523.422803] [<802f0000>] 0x802f0000
[ 2523.426363] [<800047f4>] 0x800047f4
[ 2523.429917]
[ 2523.431447] —[ end trace f575bdc1078df966 ]—

 


30.03.2017666Base systemBug ReportVery LowMedium"Wireless is disabled or not associated" when channel m...AllUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on Banana Pi R1
- Software versions: all

When I set the channel mode to “auto”, then the message appears “Wireless is disabled or not associated” and the WLAN does’nt work.
I set the channel manually, then WLAN works fine.

The problem is already known with OpenWrt:
https://dev.openwrt.org/changeset/32630


28.03.2017662Base systemBug ReportVery LowMediumSysupgrade messes up Ubiquiti Unifi AP AC LiteAllUnconfirmed Task Description

Problem description

Performing a sysupgrade on a Ubiquiti Unifi AP AC Lite causes the device to operate erratically as, on reboot, it keeps the previous kernel while using the newly flashed rootfs.

Possible cause

This problem might be related to the way LEDE/OpenWrt must be flashed from the stock firmware, as detailed in OpenWrt's wiki. Flashing the image to kernel0 or kernel1 does not work; both partitions must be flashed with the same image.

Steps to reproduce it

  1. Revert to stock firmware (e.g. via Ubiquiti’s TFTP recovery procedure)
  2. Flash LEDE image (e.g. 17.01.0 stable) from stock firmware as described in OpenWrt's wiki (writing both to kernel0 and kernel1 partitions)
  3. On reboot, check kernel version (dmesg | head -n1)
  4. Sysupgrade to LEDE snapshot (sysupgrade -v -n lede-ar71xx-generic...)
  5. Check kernel version again (dmesg | head -n1)

Both kernel versions will be the same. Actually, it’s the same kernel, only the rootfs has been upgraded.

Suggestions

It seems Ubiquiti’s bootloader implements some mechanism to fallback to an older firmware/kernel/rootfs/image/whatever, or maybe the partitioning scheme has been updated in the stock firmware.

If instead of running sysupgrade, the LEDE image is dd’ed to both the “firmware” (mtd2) and the “ubnt-airos” (mtd6) partitions (mtd write /tmp/lede-ar71xx...lite.bin firmware && mtd -r write /tmp/lede-ar71xx...lite.bin ubnt-airos), the new image is booted (including the new kernel). However, the “ubnt-airos” partition is read-only so a LEDE image having this partition set to rw must be first compiled and flashed from the stock firmware.

28.03.2017660PackagesBug ReportVery LowMediumDropbear stops working after issuing /etc/init.d/networ...lede-17.01Unconfirmed Task Description

- WR1043NDv4
- LEDE 17.01 stable

- login using SSH,
- issue command /etc/init.d/network restart
- try to login again using SSH - you’ll get Connection Refused.

 


26.03.2017656Base systemBug ReportVery LowMediumIPv6 relay mode does not worklede-17.01Assigned Task Description

My ISP does not support DHCPv6, so I need to use IPv6 relay mode to enable my devices to obtain IPv6 addresses via SLAAC. I have configured relay mode as indicated in the documentation on a HooToo TM-02 for the time being. If I can get all this to work I will upgrade to a more capable device.

Running tcpdump on the WLAN interface I can see the router solicitation requests coming from my clients. When I run tcpdump on the WAN interface I don’t see any router solicitations and, therefore, no router advertisements coming back from my ISP modem. The router itself gets an address from the modem, but the relaying of requests from clients is not happening.

I have posted my config files below, but they are basically stock. Is this a problem with the DHCPv6 server or some kind of firewall problem preventing the requests from getting out?

/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 'fd20:0787:2c66::/48'

config interface 'lan'
	option proto 'static'
	option ipaddr '192.168.1.1'
	option netmask '255.255.255.0'
	option _orig_ifname 'eth0'
	option _orig_bridge 'false'
	option ip6assign '64'

config device 'lan_dev'
	option name 'eth0'
	option macaddr '00:1c:c2:13:6f:05'

config switch
	option name 'switch0'
	option reset '1'
	option enable_vlan '0'

config interface 'wan'
	option proto 'dhcp'
	option ifname 'eth0'

config interface 'wan6'
	option proto 'dhcpv6'
	option ifname 'eth0'
	option reqaddress 'try'
	option reqprefix 'auto'

/etc/config/dhcp:

config dnsmasq
	option domainneeded '1'
	option boguspriv '1'
	option filterwin2k '0'
	option localise_queries '1'
	option rebind_protection '1'
	option rebind_localhost '1'
	option local '/lan/'
	option domain 'lan'
	option expandhosts '1'
	option nonegcache '0'
	option authoritative '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 start '100'
	option limit '150'
	option leasetime '12h'
	option dhcpv6 'relay'
	option ra 'relay'
	option ndp 'relay'

config dhcp 'wan'
	option interface 'wan'
	option ignore '1'

config dhcp 'wan6'
	option dhcpv6 'relay'
	option ra 'relay'
	option ndp 'relay'
	option master '1'

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

/etc/config/firewall:

config defaults
	option syn_flood '1'
	option input 'ACCEPT'
	option output 'ACCEPT'
	option forward 'REJECT'

config zone
	option name 'lan'
	list network 'lan'
	option input 'ACCEPT'
	option output 'ACCEPT'
	option forward 'ACCEPT'

config zone
	option name 'wan'
	list network 'wan'
	list network 'wan6'
	option input 'REJECT'
	option output 'ACCEPT'
	option forward 'REJECT'
	option masq '1'
	option mtu_fix '1'

config forwarding
	option src 'lan'
	option dest 'wan'

config rule
	option name 'Allow-DHCP-Renew'
	option src 'wan'
	option proto 'udp'
	option dest_port '68'
	option target 'ACCEPT'
	option family 'ipv4'

config rule
	option name 'Allow-Ping'
	option src 'wan'
	option proto 'icmp'
	option icmp_type 'echo-request'
	option family 'ipv4'
	option target 'ACCEPT'

config rule
	option name 'Allow-IGMP'
	option src 'wan'
	option proto 'igmp'
	option family 'ipv4'
	option target 'ACCEPT'

config rule
	option name 'Allow-DHCPv6'
	option src 'wan'
	option proto 'udp'
	option src_ip 'fc00::/6'
	option dest_ip 'fc00::/6'
	option dest_port '546'
	option family 'ipv6'
	option target 'ACCEPT'

config rule
	option name 'Allow-MLD'
	option src 'wan'
	option proto 'icmp'
	option src_ip 'fe80::/10'
	list icmp_type '130/0'
	list icmp_type '131/0'
	list icmp_type '132/0'
	list icmp_type '143/0'
	option family 'ipv6'
	option target 'ACCEPT'

config rule
	option name 'Allow-ICMPv6-Input'
	option src 'wan'
	option proto 'icmp'
	list icmp_type 'echo-request'
	list icmp_type 'echo-reply'
	list icmp_type 'destination-unreachable'
	list icmp_type 'packet-too-big'
	list icmp_type 'time-exceeded'
	list icmp_type 'bad-header'
	list icmp_type 'unknown-header-type'
	list icmp_type 'router-solicitation'
	list icmp_type 'neighbour-solicitation'
	list icmp_type 'router-advertisement'
	list icmp_type 'neighbour-advertisement'
	option limit '1000/sec'
	option family 'ipv6'
	option target 'ACCEPT'

config rule
	option name 'Allow-ICMPv6-Forward'
	option src 'wan'
	option dest '*'
	option proto 'icmp'
	list icmp_type 'echo-request'
	list icmp_type 'echo-reply'
	list icmp_type 'destination-unreachable'
	list icmp_type 'packet-too-big'
	list icmp_type 'time-exceeded'
	list icmp_type 'bad-header'
	list icmp_type 'unknown-header-type'
	option limit '1000/sec'
	option family 'ipv6'
	option target 'ACCEPT'

config include
	option path '/etc/firewall.user'

config rule
	option src 'wan'
	option dest 'lan'
	option proto 'esp'
	option target 'ACCEPT'

config rule
	option src 'wan'
	option dest 'lan'
	option dest_port '500'
	option proto 'udp'
	option target 'ACCEPT'
25.03.2017654PackagesBug ReportVery LowMediumdial on demand not workinglede-17.01Unconfirmed Task Description

Using LEDE Reboot 17.01.0 r3205-59508e3 on Lenovo Y1.
After setting the Inactivity timeout to something not 0 in luci (option demand ‘5’ in the config file),the dial procedure will be stopping at some stage,can’t establish a connect.
And the log will be like this:

May  7 08:48:52 OpenWrt daemon.info pppd[9714]: Plugin rp-pppoe.so loaded.
May  7 08:48:52 OpenWrt daemon.info pppd[9714]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
May  7 08:48:52 OpenWrt daemon.notice pppd[9714]: pppd 2.4.5 started by root, uid 0
May  7 08:48:52 OpenWrt daemon.info pppd[9714]: Using interface pppoe-wan
May  7 08:48:52 OpenWrt daemon.notice pppd[9714]: local  IP address 10.64.64.64
May  7 08:48:52 OpenWrt daemon.notice pppd[9714]: remote IP address 10.112.112.112

Without the demand option everything works fine:

May  7 09:08:43 OpenWrt daemon.info pppd[2712]: Plugin rp-pppoe.so loaded.
May  7 09:08:43 OpenWrt daemon.info pppd[2712]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
May  7 09:08:43 OpenWrt daemon.notice pppd[2712]: pppd 2.4.5 started by root, uid 0
May  7 09:08:48 OpenWrt daemon.info pppd[2712]: PPP session is 9873
May  7 09:08:48 OpenWrt daemon.warn pppd[2712]: Connected to 00:30:88:1f:30:07 via interface eth2
May  7 09:08:48 OpenWrt daemon.info pppd[2712]: Using interface pppoe-wan
May  7 09:08:48 OpenWrt daemon.notice pppd[2712]: Connect: pppoe-wan <--> eth2
May  7 09:08:48 OpenWrt daemon.notice pppd[2712]: PAP authentication succeeded
May  7 09:08:48 OpenWrt daemon.notice pppd[2712]: peer from calling number 00:30:88:1F:30:07 authorized
May  7 09:08:49 OpenWrt daemon.notice pppd[2712]: local  IP address 93.232.124.118
May  7 09:08:49 OpenWrt daemon.notice pppd[2712]: remote IP address 217.0.119.51
May  7 09:08:49 OpenWrt daemon.notice pppd[2712]: primary   DNS address 217.0.43.17
May  7 09:08:49 OpenWrt daemon.notice pppd[2712]: secondary DNS address 217.0.43.49

(these logs is copy from the openwrt bug ticketExternal Link because my log for this part had be override by massive “ieee80211 phy1: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2”,sincere apology,smile)
It seems to be a historied legacy bug from Openwrt BB (or AA),and there is a solution by changing 2 files to make pppd disconnect when inactivity but can’t re-dial:
1./etc/config/network, disable IPv6

config interface 'wan'
        option ipv6 0

2./lib/netifd/proto/ppp.sh: change nodefaultroute to defaultroute in the function of ppp_generic_setup()

	proto_run_command "$config" /usr/sbin/pppd \
		nodetach ipparam "$config" \
		ifname "$pppname" \
		${keepalive:+lcp-echo-interval $interval lcp-echo-failure ${keepalive%%[, ]*}} \
		${ipv6:++ipv6} \
		defaultroute \

Hope this stinking bug can be terminated in LEDE

19.03.2017638Base systemBug ReportVery LowMediumdnsmasq user doesn't get created if you sysupgrade from...TrunkUnconfirmed Task Description

If you do a sysupgrade from a version of OpenWRT where dnsmasq runs as root it’ll fail to start afterwards because the dnsmasq user doesn’t exist.

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

14.03.2017630KernelBug ReportVery LowMediumrt2x00: bug with mt7620 target power parsing from eepro...TrunkUnconfirmed Task Description

I’ve noticed with default auto txpower config 5GHz radio will get proper target power and use it. 2.4GHz radio just gets 20dBm as default from somewhere, which clearly isn’t eeprom since it has also target power 17dBm.

-Xiaomi Miwifi Mini
-LEDE Reboot SNAPSHOT r3742-894ee95

13.03.2017625PackagesBug ReportVery LowMediumno default route written using proto=wwanlede-17.01Unconfirmed Task Description

LEDE_RELEASE=”LEDE Reboot 17.01-SNAPSHOT r6469+17-c114383”

Configure steps as follows:

Run ubus listen in backround
ubus -t 9999 listen &

uci del network.wwan
uci set network.wwan=interface
uci set network.wwan.proto=wwan
uci set network.wwan.defaultroute=’0’ uci set network.wwan.pincode= uci set network.wwan.apn= uci commit && /etc/init.d/network restart
...
{ “ubus.object.add”: {”id”:107055350,”path”:”network.interface.wwan_4”} }
{ “network.interface”: {”action”:”ifup”,”interface”:”wwan_4”} }
...

As you see default route should not be written immediately. You see default route in inactive section in ubus. So now lets set the default route for this interface

uci set network.wwan.defaultroute=’1’ uci commit && /etc/init.d/network reload

You see no ubus message as well no change of default route. Now lets use QMI proto directly

uci del network.wwan
uci set network.wwan=interface
uci set network.wwan.proto=qmi
uci set network.wwan.device=/dev/cdc-wdm0
uci set network.wwan.defaultroute=’0’ uci set network.wwan.pincode= uci set network.wwan.apn= uci commit && /etc/init.d/network restart
...
{ “ubus.object.add”: {”id”:107055350,”path”:”network.interface.wwan_4”} }
{ “network.interface”: {”action”:”ifup”,”interface”:”wwan_4”} }
...

So now lets set the default route for this interface and you see ubus messages comming up as well default route is set

uci set network.wwan.defaultroute=’1’ uci commit && /etc/init.d/network reload
{ “network.interface”: {”action”:”ifdown”,”interface”:”wwan”} }
{ “network.interface”: {”action”:”ifdown”,”interface”:”wwan_4”} }
root@RED50:/lib# { “ubus.object.remove”: {”id”:399408035,”path”:”network.interface.wwan_4”} }
{ “network.interface”: {”action”:”ifup”,”interface”:”wan2”} }
{ “network.interface”: {”action”:”ifup”,”interface”:”wwan”} }
{ “ubus.object.add”: {”id”:828745890,”path”:”network.interface.wwan_4”} }
{ “network.interface”: {”action”:”ifup”,”interface”:”wwan_4”} }


10.03.2017614Base systemBug ReportVery LowMedium/usr/lib/lua/luci/util.lua:623: Unable to establish ubu...TrunkUnconfirmed Task Description

when save&apply on system>mount luci always crash
error message:
/usr/lib/lua/luci/util.lua:623: Unable to establish ubus connection
stack traceback:

[C]: in function 'assert'
/usr/lib/lua/luci/util.lua:623: in function 'ubus'
/usr/lib/lua/luci/dispatcher.lua:347: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>
 


08.03.2017606Base systemBug ReportVery LowMediumStall on Mediateklede-17.01Unconfirmed Task Description

On D-Link DIR-860L B1, processor MediaTek MT7621
LEDE 17.01.0

The system used connected to WAN and wifi is used (ac and n). WDS is also used (as server) and SQM is used on WAN. Only the WAN switch port is used.

After random time wifi is disconnected and connected again, can be seen in the log as: WARNING: CPU: 1 PID: 0 at net/core/skbuff.c:4194. However, after some time, which can be minutes or days wifi totally disconnects, and even DHCP does nor work on the LAN ports. The log shows: INFO: rcu_sched self-detected stall on CPU. Only a reboot can help. Sometimes the device reboots by itself.

The above could not be linked to any event (wifi connection, change in sqm settings, etc).

Switched back to Openwrt 15.05.1.

A similar issue was reported here: External Link

05.03.2017599Base systemBug ReportVery LowMediumHame MPR-A2 switch has unknown topologyTrunkUnconfirmed Task Description

Vlan don’t work.


01.03.2017576Base systemBug ReportVery LowMediumath10k fails to load reporting a 'firmware crash' on QC...lede-17.01Unconfirmed Task Description

Problem occurs on a ZYXEL NBG6716. (802.11ac should be a QCA9880)
running 17.01.1 i.e. lede-17.01.0-r3205-59508e3-ar71xx-nand-nbg6716-squashfs-sysupgrade.bin
Crash occurs every time ath10k attempts to load

log with driver included in release

[   14.783881] ath10k_pci 0000:01:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   15.000294] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
[   15.011181] ath10k_pci 0000:01:00.0: Falling back to user helper
[   15.090655] firmware ath10k!pre-cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
[   15.299839] ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   15.309251] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   15.322304] ath10k_pci 0000:01:00.0: firmware ver 10.2.4-1.0-00016 api 5 features no-p2p,raw-mode,mfp crc32 0c5668f8
[   15.333090] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[   15.343695] ath10k_pci 0000:01:00.0: Falling back to user helper
[   15.423744] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[   15.442629] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   16.551704] ath10k_pci 0000:01:00.0: firmware crashed! (uuid 68334050-5a5e-48bf-bccc-87f25cba960e)
[   16.560832] ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   16.570194] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   16.583244] ath10k_pci 0000:01:00.0: firmware ver 10.2.4-1.0-00016 api 5 features no-p2p,raw-mode,mfp crc32 0c5668f8
[   16.593975] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   16.601395] ath10k_pci 0000:01:00.0: htt-ver 0.0 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[   16.613031] ath10k_pci 0000:01:00.0: firmware register dump:
[   16.618783] ath10k_pci 0000:01:00.0: [00]: 0x4100016C 0x000015B3 0x009BA6A2 0x00955B31
[   16.626822] ath10k_pci 0000:01:00.0: [04]: 0x009BA6A2 0x00060130 0x0000001D 0x00000000
[   16.634857] ath10k_pci 0000:01:00.0: [08]: 0xFFFFFFFF 0x00401F6A 0x0000096C 0xFFFFFFFF
[   16.642883] ath10k_pci 0000:01:00.0: [12]: 0x00000009 0x00000000 0x009BAB4C 0x009BABA7
[   16.650916] ath10k_pci 0000:01:00.0: [16]: 0x00958080 0x0094E9B1 0x00000000 0x00000000
[   16.658951] ath10k_pci 0000:01:00.0: [20]: 0x409BA6A2 0x0040AA24 0x0040AAD4 0x00000001
[   16.666985] ath10k_pci 0000:01:00.0: [24]: 0x809BB189 0x0040AA84 0x0040EE0C 0xC09BA6A2
[   16.675020] ath10k_pci 0000:01:00.0: [28]: 0x809BB612 0x0040AAB4 0x000000E2 0x00000001
[   16.683047] ath10k_pci 0000:01:00.0: [32]: 0x80984880 0x0040ABA4 0x0040EE3C 0x0000003F
[   16.691089] ath10k_pci 0000:01:00.0: [36]: 0x8098FBA5 0x0040ABE4 0x0040E270 0x004062DC
[   16.699131] ath10k_pci 0000:01:00.0: [40]: 0x8098A79E 0x0040AC34 0x0040AC94 0x004062DC
[   16.707166] ath10k_pci 0000:01:00.0: [44]: 0x80988785 0x0040AC94 0x00410670 0x00400000
[   16.715200] ath10k_pci 0000:01:00.0: [48]: 0x8098AE78 0x0040AD44 0x00410670 0x00000001
[   16.723227] ath10k_pci 0000:01:00.0: [52]: 0x809B66F0 0x0040AD84 0x00410670 0x00411254
[   16.731269] ath10k_pci 0000:01:00.0: [56]: 0x809B2868 0x0040ADA4 0x00400000 0x00416EB4
[   21.543818] ath10k_pci 0000:01:00.0: wmi unified ready event not received
[   21.646943] ath10k_pci 0000:01:00.0: could not init core (-145)
[   21.653075] ath10k_pci 0000:01:00.0: could not probe fw (-145)
[   21.664514] ath10k_pci 0000:01:00.0: cannot restart a device that hasn't been started

log with alernative ath10k-ct from packages

Sun Feb 26 20:09:36 2017 kern.info kernel: [   15.991374] ath10k driver, optimized for CT firmware, probing pci.
Sun Feb 26 20:09:36 2017 kern.warn kernel: [   15.998923] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
Sun Feb 26 20:09:36 2017 kern.info kernel: [   16.004876] ath10k_pci 0000:01:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
Sun Feb 26 20:09:36 2017 kern.info kernel: [   16.115573] EXT4-fs (sda1): mounted filesystem without journal. Opts: 
Sun Feb 26 20:09:36 2017 kern.warn kernel: [   16.220291] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
Sun Feb 26 20:09:36 2017 kern.warn kernel: [   16.231178] ath10k_pci 0000:01:00.0: Falling back to user helper
Sun Feb 26 20:09:36 2017 kern.err kernel: [   16.309980] firmware ath10k!pre-cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
Sun Feb 26 20:09:36 2017 kern.warn kernel: [   16.322702] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/fwcfg-pci-0000:01:00.0.txt failed with error -2
Sun Feb 26 20:09:36 2017 kern.warn kernel: [   16.333430] ath10k_pci 0000:01:00.0: Falling back to user helper
Sun Feb 26 20:09:36 2017 kern.err kernel: [   16.483479] firmware ath10k!fwcfg-pci-0000:01:00.0.txt: firmware_loading_store: map pages failed
Sun Feb 26 20:09:36 2017 kern.warn kernel: [   16.502812] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-5.bin failed with error -2
Sun Feb 26 20:09:36 2017 kern.warn kernel: [   16.513707] ath10k_pci 0000:01:00.0: Falling back to user helper
Sun Feb 26 20:09:36 2017 kern.err kernel: [   16.656794] firmware ath10k!QCA988X!hw2.0!firmware-5.bin: firmware_loading_store: map pages failed
Sun Feb 26 20:09:36 2017 kern.err kernel: [   16.666061] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QCA988X/hw2.0/firmware-5.bin': -11
Sun Feb 26 20:09:36 2017 kern.warn kernel: [   16.676241] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-4.bin failed with error -2
Sun Feb 26 20:09:36 2017 kern.warn kernel: [   16.687110] ath10k_pci 0000:01:00.0: Falling back to user helper
Sun Feb 26 20:09:36 2017 kern.err kernel: [   16.839245] firmware ath10k!QCA988X!hw2.0!firmware-4.bin: firmware_loading_store: map pages failed
Sun Feb 26 20:09:36 2017 kern.err kernel: [   16.848512] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QCA988X/hw2.0/firmware-4.bin': -11
Sun Feb 26 20:09:36 2017 kern.warn kernel: [   16.858690] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-3.bin failed with error -2
Sun Feb 26 20:09:36 2017 kern.warn kernel: [   16.869560] ath10k_pci 0000:01:00.0: Falling back to user helper
Sun Feb 26 20:09:36 2017 kern.err kernel: [   17.020761] firmware ath10k!QCA988X!hw2.0!firmware-3.bin: firmware_loading_store: map pages failed
Sun Feb 26 20:09:36 2017 kern.err kernel: [   17.030028] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QCA988X/hw2.0/firmware-3.bin': -11
Sun Feb 26 20:09:36 2017 kern.info kernel: [   17.152659] ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
Sun Feb 26 20:09:36 2017 kern.info kernel: [   17.162062] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
Sun Feb 26 20:09:36 2017 kern.info kernel: [   17.174406] ath10k_pci 0000:01:00.0: firmware ver 10.1.467-ct-_fW-019-647197c api 2 features wmi-10.x,has-wmi-mgmt-tx,txstatus-noack,wmi-10.x-CT,ratemask-CT crc32 ce5082a8
Sun Feb 26 20:09:36 2017 kern.warn kernel: [   17.190041] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
Sun Feb 26 20:09:36 2017 kern.warn kernel: [   17.200645] ath10k_pci 0000:01:00.0: Falling back to user helper
Sun Feb 26 20:09:36 2017 kern.err kernel: [   17.280425] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
Sun Feb 26 20:09:36 2017 kern.info kernel: [   17.293109] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
Sun Feb 26 20:09:36 2017 kern.warn kernel: [   18.216205] ath10k_pci 0000:01:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
Sun Feb 26 20:09:36 2017 kern.err kernel: [   18.224910] ath10k_pci 0000:01:00.0: firmware crashed! (uuid 44fc9f0a-8adb-4077-ae4e-82113c83f387)
Sun Feb 26 20:09:36 2017 kern.info kernel: [   18.234031] ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
Sun Feb 26 20:09:36 2017 kern.info kernel: [   18.243382] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
Sun Feb 26 20:09:36 2017 kern.info kernel: [   18.255705] ath10k_pci 0000:01:00.0: firmware ver 10.1.467-ct-_fW-019-647197c api 2 features wmi-10.x,has-wmi-mgmt-tx,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT crc32 ce5082a8
Sun Feb 26 20:09:36 2017 kern.info kernel: [   18.278224] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
Sun Feb 26 20:09:36 2017 kern.info kernel: [   18.285650] ath10k_pci 0000:01:00.0: htt-ver 0.0 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
Sun Feb 26 20:09:36 2017 kern.err kernel: [   18.297288] ath10k_pci 0000:01:00.0: firmware register dump:
Sun Feb 26 20:09:36 2017 kern.err kernel: [   18.303030] ath10k_pci 0000:01:00.0: [00]: 0x4100016C 0x000015B3 0x009B1635 0x00955B31
Sun Feb 26 20:09:36 2017 kern.err kernel: [   18.311074] ath10k_pci 0000:01:00.0: [04]: 0x009B1635 0x00060130 0x0000001D 0x009BAB8B
Sun Feb 26 20:09:36 2017 kern.err kernel: [   18.319114] ath10k_pci 0000:01:00.0: [08]: 0xFFFFFFFF 0x00401F6A 0x0000096C 0xFFFFFFFF
Sun Feb 26 20:09:36 2017 kern.err kernel: [   18.327147] ath10k_pci 0000:01:00.0: [12]: 0x00000009 0x00000000 0x009B1AD1 0x009B1B29
Sun Feb 26 20:09:36 2017 kern.err kernel: [   18.335182] ath10k_pci 0000:01:00.0: [16]: 0x00958080 0x0094085D 0x00000000 0x00000000
Sun Feb 26 20:09:36 2017 kern.err kernel: [   18.343210] ath10k_pci 0000:01:00.0: [20]: 0x409B1635 0x0040AA44 0x0040AAF4 0x00000001
Sun Feb 26 20:09:36 2017 kern.err kernel: [   18.351251] ath10k_pci 0000:01:00.0: [24]: 0x809B21C2 0x0040AAA4 0x00401F7E 0xC09B1635
Sun Feb 26 20:09:36 2017 kern.err kernel: [   18.359290] ath10k_pci 0000:01:00.0: [28]: 0x809B2676 0x0040AAD4 0x00401CC0 0x000000E2
Sun Feb 26 20:09:36 2017 kern.err kernel: [   18.367329] ath10k_pci 0000:01:00.0: [32]: 0x8098494F 0x0040ABC4 0x0040E07C 0x0000003F
Sun Feb 26 20:09:36 2017 kern.err kernel: [   18.375362] ath10k_pci 0000:01:00.0: [36]: 0x8098ED6F 0x0040AC04 0x0040D4B0 0x004062DC
Sun Feb 26 20:09:36 2017 kern.err kernel: [   18.383391] ath10k_pci 0000:01:00.0: [40]: 0x809892DD 0x0040AC54 0x0040ACB4 0x00400000
Sun Feb 26 20:09:36 2017 kern.err kernel: [   18.391431] ath10k_pci 0000:01:00.0: [44]: 0x809887C9 0x0040ACA4 0x0040F7B8 0x00400000
Sun Feb 26 20:09:36 2017 kern.err kernel: [   18.399463] ath10k_pci 0000:01:00.0: [48]: 0x809897B4 0x0040AD44 0x0040F7B8 0x00000001
Sun Feb 26 20:09:36 2017 kern.err kernel: [   18.407500] ath10k_pci 0000:01:00.0: [52]: 0x809AD74A 0x0040AD84 0x0040F7B8 0x0000A000
Sun Feb 26 20:09:36 2017 kern.err kernel: [   18.415535] ath10k_pci 0000:01:00.0: [56]: 0x809AA392 0x0040ADA4 0x00400000 0x00414F44
Sun Feb 26 20:09:36 2017 kern.warn kernel: [   18.425582] ath10k_pci 0000:01:00.0: debug log header, dbuf: 0x412598  dropped: 0
Sun Feb 26 20:09:36 2017 kern.warn kernel: [   18.434191] ath10k_pci 0000:01:00.0: [0] next: 0x4125b0 buf: 0x4103fc sz: 1500 len: 56 count: 2 free: 0
Sun Feb 26 20:09:36 2017 kern.err kernel: [   18.444731] ath10k_pci 0000:01:00.0: ath10k_pci ATH10K_DBG_BUFFER:
Sun Feb 26 20:09:36 2017 kern.err kernel: [   18.451001] ath10k: [0000]: 38700000 0500FC17 70201031 08000000 80000000 B8F74000 01000600 39700000
Sun Feb 26 20:09:36 2017 kern.err kernel: [   18.460186] ath10k: [0008]: 0100FC17 B3150000 B3150000 34A94000 6C010041 09000000
Sun Feb 26 20:09:36 2017 kern.err kernel: [   18.467775] ath10k_pci 0000:01:00.0: ATH10K_END
Sun Feb 26 20:09:36 2017 kern.warn kernel: [   18.473385] ath10k_pci 0000:01:00.0: [1] next: 0x412598 buf: 0x4109ec sz: 1500 len: 0 count: 0 free: 0
Sun Feb 26 20:09:36 2017 kern.err kernel: [   23.223848] ath10k_pci 0000:01:00.0: wmi unified ready event not received
Sun Feb 26 20:09:36 2017 kern.err kernel: [   23.325855] ath10k_pci 0000:01:00.0: could not init core (-145)
Sun Feb 26 20:09:36 2017 kern.err kernel: [   23.331970] ath10k_pci 0000:01:00.0: could not probe fw (-145)
Sun Feb 26 20:09:36 2017 kern.info kernel: [   23.338980] i2c /dev entries driver
Sun Feb 26 20:09:36 2017 kern.warn kernel: [   23.344460] ath10k_pci 0000:01:00.0: cannot restart a device that hasn't been started


01.03.2017573KernelBug ReportVery LowMediumUnloading rt2800soc crashes rt3052 based devicesTrunkUnconfirmed Task Description

On LEDE trunk rt3052 based devices (and all other devices using rt2800 wireless chipset) crash whenever you try to unload rt2800soc. This happens because patch 604-rt2x00-load-eeprom-on-SoC-from-a-mtd-device-defines-.patch interferes with 602-rt2x00-introduce-rt2x00eeprom.patch. In 602 the struct rt2x00_dev is extended by the member eeprom_file. In its initialisation function rt2x00lib_request_eeprom_file eeprom_file is either initialized with a firmware struct from request_firmware or keeps being NULL if an error occurs. Patch 604 hooks into rt2x00lib_request_eeprom_file by the function rt2800lib_read_eeprom_mtd. rt2800lib_read_eeprom_mtd fills eeprom_file with a statically declared struct firmware if loading from the mtd partition succeeds. Now, when we come to uninitialization patch 602s rt2x00lib_free_eeprom_file is called. This function assumes that eeprom_file was dynamically allocated and calls release_firmware(eeprom_file) even if patch 604 allocated it statically. This leads to release_firmware kfree-ing eeprom_file although it was never kmalloced, resulting in a kernelpanic.

26.02.2017557Base systemBug ReportVery LowMediumNexx wt3020 wifi rx sensitivity low with LEDE 17.01lede-17.01Unconfirmed Task Description

The rx sensitivity reported by a Nexx wt3020 is ~ 20dB lower than a comparable tp-link device located sided by side with the Nexx wt3020.
There have been reports of a similar problem with OpenWRT versions.

There is a ticket open with openwrt with a similar reported issue https://dev.openwrt.org/ticket/20369 as well as on the openwrt forum https://forum.openwrt.org/viewtopic.php?id=69042

lede trunk (and openwrt trunk) as of 24/2/17 also display similar poor rx sensitivity.

 


25.02.2017554PackagesBug ReportVery LowMedium5 Ghz radio fails to initialize on D-Link DGL-5500lede-17.01Unconfirmed Task Description

While the 2.4 Ghz band works just fine on install, I have to install kmod-ath10k to get 5 Ghz functionality in OpenWRT 15.05.1 but the same package does not work on reboot 17.01.0. I have tried ath10k-firmware-qca988x-ct in an attempt to fix the issue but it did not work. Here is what I was able to pull from dmesg:

[ 0.000000] Linux version 4.4.50 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3101-bce140e) ) #0 Mon Feb 20 17:13:44 2017
[ 0.000000] MyLoader: sysp=42a08090, boardp=45a0e802, parts=12a80ca8
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[ 0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] No valid device tree found, continuing without
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0×0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000007ffffff]
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat 803d04d0, node_mem_map 81000000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: board=DGL-5500-A1 console=ttyS0,115200 mtdparts=spi0.0:192k(u-boot)ro,64k(nvram)ro,15296k(firmware),192k(lang)ro,512k(my-dlink)ro,64k(mac)ro,64k(art)ro rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 125328K/131072K available (3071K kernel code, 165K rwdata, 412K rodata, 312K init, 205K bss, 5744K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
[ 0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
[ 0.008281] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[ 0.071186] pid_max: default: 32768 minimum: 301
[ 0.076195] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.083240] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.092564] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.103917] NET: Registered protocol family 16
[ 0.109647] MIPS: machine is D-Link DGL-5500 rev. A1
[ 0.335390] registering PCI controller with io_map_base unset
[ 0.341594] ar724x-pci ar724x-pci.1: PCIe link is down
[ 0.347083] registering PCI controller with io_map_base unset
[ 0.360391] PCI host bridge to bus 0000:00
[ 0.364761] pci_bus 0000:00: root bus resource [mem 0×10000000-0x11ffffff]
[ 0.372106] pci_bus 0000:00: root bus resource [io 0×0000]
[ 0.378026] pci_bus 0000:00: root bus resource [??? 0×00000000 flags 0×0]
[ 0.385250] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.393707] pci 0000:00:00.0: [168c:003c] type 00 class 0×028000 [ 0.393764] pci 0000:00:00.0: reg 0×10: [mem 0×00000000-0x001fffff 64bit]
[ 0.393817] pci 0000:00:00.0: reg 0×30: [mem 0×00000000-0x0000ffff pref]
[ 0.393876] pci 0000:00:00.0: supports D1 D2
[ 0.393890] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.394069] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.394096] pci 0000:00:00.0: BAR 0: assigned [mem 0×10000000-0x101fffff 64bit]
[ 0.401911] pci 0000:00:00.0: BAR 6: assigned [mem 0×10200000-0x1020ffff pref]
[ 0.409704] PCI host bridge to bus 0000:01
[ 0.414088] pci_bus 0000:01: root bus resource [mem 0×12000000-0x13ffffff]
[ 0.421394] pci_bus 0000:01: root bus resource [io 0×0001]
[ 0.427326] pci_bus 0000:01: root bus resource [??? 0×00000000 flags 0×0]
[ 0.434541] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[ 0.442984] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.443001] pci 0000:00:00.0: using irq 40 for pin 1
[ 0.448844] clocksource: Switched to clocksource MIPS
[ 0.455085] NET: Registered protocol family 2
[ 0.460460] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.467878] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.474682] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.481524] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.487746] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.494626] NET: Registered protocol family 1
[ 0.499313] PCI: CLS 0 bytes, default 32
[ 0.502786] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.509355] Crashlog allocated RAM at address 0x3f00000
[ 0.526118] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.532359] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.544698] io scheduler noop registered
[ 0.548904] io scheduler deadline registered (default)
[ 0.554531] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.563486] console [ttyS0] disabled
[ 0.587355] serial8250.0: ttyS0 at MMIO 0×18020000 (irq = 11, base_baud = 2500000) is a 16550A
[ 0.596540] console [ttyS0] enabled
[ 0.603957] bootconsole [early0] disabled
[ 0.616222] m25p80 spi0.0: found mx25l12805d, expected m25p80
[ 0.622114] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[ 0.627255] 7 cmdlinepart partitions found on MTD device spi0.0
[ 0.633265] Creating 7 MTD partitions on “spi0.0”:
[ 0.638123] 0×000000000000-0×000000030000 : “u-boot” [ 0.644859] 0×000000030000-0×000000040000 : “nvram” [ 0.651103] 0×000000040000-0x000000f30000 : “firmware” [ 0.689017] 2 uimage-fw partitions found on MTD device firmware
[ 0.695036] 0×000000040000-0x000000172d26 : “kernel” [ 0.701162] 0x000000172d26-0x000000f30000 : “rootfs” [ 0.707448] mtd: device 4 (rootfs) set to be root filesystem
[ 0.713266] 1 squashfs-split partitions found on MTD device rootfs
[ 0.719545] 0×000000390000-0x000000f30000 : “rootfs_data” [ 0.726317] 0x000000f30000-0x000000f60000 : “lang” [ 0.732480] 0x000000f60000-0x000000fe0000 : “my-dlink” [ 0.739016] 0x000000fe0000-0x000000ff0000 : “mac” [ 0.745042] 0x000000ff0000-0×000001000000 : “art” [ 0.760151] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
[ 1.386590] libphy: ag71xx_mdio: probed
[ 1.980352] ag71xx ag71xx.1: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[ 1.991666] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
[ 1.999457] NET: Registered protocol family 10
[ 2.007009] NET: Registered protocol family 17
[ 2.011611] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 2.024493] 8021q: 802.1Q VLAN Support v1.8
[ 2.035323] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 2.043654] Freeing unused kernel memory: 312K (803f2000 - 80440000)
[ 3.242461] init: Console is alive
[ 3.246075] init: - watchdog -
[ 4.166284] init: - preinit -
[ 4.646623] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 4.669496] random: procd: uninitialized urandom read (4 bytes read, 7 bits of entropy available)
[ 6.090276] eth0: link up (1000Mbps/Full duplex)
[ 6.095095] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 7.946659] jffs2: notice: (393) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 7.966483] mount_root: switching to jffs2 overlay
[ 7.983093] urandom-seed: Seeding with /etc/urandom.seed
[ 8.153377] eth0: link down
[ 8.167534] procd: - early -
[ 8.171586] procd: - watchdog -
[ 8.781925] procd: - ubus -
[ 8.895386] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.905781] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.915695] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.924857] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.934286] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.943444] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.952731] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.962417] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
[ 8.971869] procd: - init -
[ 9.697235] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 9.710393] Loading modules backported from Linux version wt-2016-10-03-1-g6fcb1a6
[ 9.718072] Backport generated by backports.git backports-20160324-9-g0e38f5c
[ 10.045627] PCI: Enabling device 0000:00:00.0 (0000 → 0002)
[ 10.051573] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 10.309904] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[ 10.320777] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 10.400233] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[ 10.409585] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/cal-pci-0000:00:00.0.bin failed with error -2
[ 10.420106] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 10.573594] firmware ath10k!cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[ 10.582558] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-5.bin failed with error -2
[ 10.593427] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 10.747728] firmware ath10k!QCA988X!hw2.0!firmware-5.bin: firmware_loading_store: map pages failed
[ 10.756986] ath10k_pci 0000:00:00.0: could not fetch firmware file ‘ath10k/QCA988X/hw2.0/firmware-5.bin’: -11
[ 10.767131] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-4.bin failed with error -2
[ 10.777988] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 10.933284] firmware ath10k!QCA988X!hw2.0!firmware-4.bin: firmware_loading_store: map pages failed
[ 10.942567] ath10k_pci 0000:00:00.0: could not fetch firmware file ‘ath10k/QCA988X/hw2.0/firmware-4.bin’: -11
[ 10.952717] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-3.bin failed with error -2
[ 10.963582] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 11.120695] firmware ath10k!QCA988X!hw2.0!firmware-3.bin: firmware_loading_store: map pages failed
[ 11.130628] ath10k_pci 0000:00:00.0: could not fetch firmware file ‘ath10k/QCA988X/hw2.0/firmware-3.bin’: -11
[ 11.140787] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-2.bin failed with error -2
[ 11.151646] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 11.304613] firmware ath10k!QCA988X!hw2.0!firmware-2.bin: firmware_loading_store: map pages failed
[ 11.313904] ath10k_pci 0000:00:00.0: could not fetch firmware file ‘ath10k/QCA988X/hw2.0/firmware-2.bin’: -11
[ 11.323985] ath10k_pci 0000:00:00.0: could not fetch firmware files (-11)
[ 11.330880] ath10k_pci 0000:00:00.0: could not probe fw (-11)
[ 11.394867] u32 classifier
[ 11.397622] input device check on
[ 11.401376] Actions configured
[ 11.410803] Mirror/redirect action on
[ 11.448524] nf_conntrack version 0.5.0 (1963 buckets, 7852 max)
[ 11.504925] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 11.555153] xt_time: kernel timezone is -0000
[ 11.572726] PPP generic driver version 2.4.2
[ 11.579165] NET: Registered protocol family 24
[ 11.600423] ath: EEPROM regdomain: 0×0 [ 11.600440] ath: EEPROM indicates default country code should be used
[ 11.600448] ath: doing EEPROM country→regdmn map search
[ 11.600464] ath: country maps to regdmn code: 0x3a
[ 11.600474] ath: Country alpha2 being used: US
[ 11.600481] ath: Regpair used: 0x3a
[ 11.616425] ieee80211 phy1: Selected rate control algorithm ‘minstrel_ht’ [ 11.620480] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
[ 12.477022] random: jshn: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
[ 18.916623] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 18.942714] device eth0.1 entered promiscuous mode
[ 18.947585] device eth0 entered promiscuous mode
[ 18.975859] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 19.045891] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[ 20.190340] eth0: link up (1000Mbps/Full duplex)
[ 20.195167] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 20.248214] br-lan: port 1(eth0.1) entered listening state
[ 20.253855] br-lan: port 1(eth0.1) entered listening state
[ 20.259606] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[ 21.436779] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 21.712752] device wlan1 entered promiscuous mode
[ 22.248889] br-lan: port 1(eth0.1) entered learning state
[ 24.248864] br-lan: topology change detected, propagating
[ 24.254354] br-lan: port 1(eth0.1) entered forwarding state
[ 24.272756] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 30.421868] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 30.428458] br-lan: port 2(wlan1) entered listening state
[ 30.434010] br-lan: port 2(wlan1) entered listening state
[ 32.428863] br-lan: port 2(wlan1) entered learning state
[ 34.428855] br-lan: topology change detected, propagating
[ 34.434354] br-lan: port 2(wlan1) entered forwarding state
[ 48.158869] random: nonblocking pool is initialized
[ 4015.854570] conntrack: generic helper won’t handle protocol 47. Please consider loading the specific helper module.
[14588.266824] device wlan1 left promiscuous mode
[14588.271416] br-lan: port 2(wlan1) entered disabled state
[14589.307578] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[14589.417089] device wlan1 entered promiscuous mode
[14596.007346] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[14596.013964] br-lan: port 2(wlan1) entered listening state
[14596.019476] br-lan: port 2(wlan1) entered listening state
[14596.031618] device wlan1-1 entered promiscuous mode
[14596.044319] IPv6: ADDRCONF(NETDEV_UP): wlan1-1: link is not ready
[14596.050559] br-lan: port 3(wlan1-1) entered listening state
[14596.056279] br-lan: port 3(wlan1-1) entered listening state
[14596.442237] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-1: link becomes ready
[14598.013926] br-lan: port 2(wlan1) entered learning state
[14598.053935] br-lan: port 3(wlan1-1) entered learning state
[14600.013904] br-lan: topology change detected, propagating
[14600.019398] br-lan: port 2(wlan1) entered forwarding state
[14600.053918] br-lan: topology change detected, propagating
[14600.059405] br-lan: port 3(wlan1-1) entered forwarding state
[14627.152488] device wlan1-1 left promiscuous mode
[14627.157296] br-lan: port 3(wlan1-1) entered disabled state
[14627.626437] device wlan1 left promiscuous mode
[14627.631026] br-lan: port 2(wlan1) entered disabled state
[14629.739015] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[14629.919462] device wlan1 entered promiscuous mode
[14636.563382] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[14636.569999] br-lan: port 2(wlan1) entered listening state
[14636.575526] br-lan: port 2(wlan1) entered listening state
[14636.587660] device wlan1-1 entered promiscuous mode
[14636.604085] IPv6: ADDRCONF(NETDEV_UP): wlan1-1: link is not ready
[14636.610361] br-lan: port 3(wlan1-1) entered listening state
[14636.616081] br-lan: port 3(wlan1-1) entered listening state
[14636.984050] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-1: link becomes ready
[14638.573709] br-lan: port 2(wlan1) entered learning state
[14638.613736] br-lan: port 3(wlan1-1) entered learning state
[14640.573697] br-lan: topology change detected, propagating
[14640.579195] br-lan: port 2(wlan1) entered forwarding state
[14640.613696] br-lan: topology change detected, propagating
[14640.619184] br-lan: port 3(wlan1-1) entered forwarding state
[14900.840621] device wlan1 left promiscuous mode
[14900.845258] br-lan: port 2(wlan1) entered disabled state
[14901.155292] br-lan: port 3(wlan1-1) entered disabled state
[14901.163070] device wlan1-1 left promiscuous mode
[14901.167772] br-lan: port 3(wlan1-1) entered disabled state
[14902.704697] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[14902.795529] device wlan1 entered promiscuous mode
[14902.800416] br-lan: port 2(wlan1) entered listening state
[14902.805971] br-lan: port 2(wlan1) entered listening state
[14903.192491] br-lan: port 2(wlan1) entered disabled state
[14909.415709] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[14909.422297] br-lan: port 2(wlan1) entered listening state
[14909.427854] br-lan: port 2(wlan1) entered listening state
[14909.439971] device wlan1-1 entered promiscuous mode
[14909.452749] IPv6: ADDRCONF(NETDEV_UP): wlan1-1: link is not ready
[14909.459031] br-lan: port 3(wlan1-1) entered listening state
[14909.464744] br-lan: port 3(wlan1-1) entered listening state
[14909.852312] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-1: link becomes ready
[14911.422381] br-lan: port 2(wlan1) entered learning state
[14911.462362] br-lan: port 3(wlan1-1) entered learning state
[14913.422385] br-lan: topology change detected, propagating
[14913.427891] br-lan: port 2(wlan1) entered forwarding state
[14913.462383] br-lan: topology change detected, propagating
[14913.467886] br-lan: port 3(wlan1-1) entered forwarding state
[14938.394932] br-lan: port 3(wlan1-1) entered disabled state
[14938.406909] device wlan1-1 left promiscuous mode
[14938.411615] br-lan: port 3(wlan1-1) entered disabled state
[14938.454827] device wlan1 left promiscuous mode
[14938.459413] br-lan: port 2(wlan1) entered disabled state
[14940.088803] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[14940.185209] device wlan1 entered promiscuous mode
[14940.190067] br-lan: port 2(wlan1) entered listening state
[14940.195618] br-lan: port 2(wlan1) entered listening state
[14940.442300] br-lan: port 2(wlan1) entered disabled state
[14948.047769] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[14948.054389] br-lan: port 2(wlan1) entered listening state
[14948.059913] br-lan: port 2(wlan1) entered listening state
[14948.071978] device wlan1-1 entered promiscuous mode
[14948.090424] IPv6: ADDRCONF(NETDEV_UP): wlan1-1: link is not ready
[14948.096667] br-lan: port 3(wlan1-1) entered listening state
[14948.102358] br-lan: port 3(wlan1-1) entered listening state
[14948.467326] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-1: link becomes ready
[14950.052194] br-lan: port 2(wlan1) entered learning state
[14950.102170] br-lan: port 3(wlan1-1) entered learning state
[14952.052194] br-lan: topology change detected, propagating
[14952.057685] br-lan: port 2(wlan1) entered forwarding state
[14952.102195] br-lan: topology change detected, propagating
[14952.107686] br-lan: port 3(wlan1-1) entered forwarding state
[14973.224021] device wlan1-1 left promiscuous mode
[14973.228784] br-lan: port 3(wlan1-1) entered disabled state
[14973.714741] device wlan1 left promiscuous mode
[14973.719333] br-lan: port 2(wlan1) entered disabled state
[14975.944107] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[14976.105031] device wlan1 entered promiscuous mode
[14983.961980] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[14983.968600] br-lan: port 2(wlan1) entered listening state
[14983.974146] br-lan: port 2(wlan1) entered listening state
[14983.986210] device wlan1-1 entered promiscuous mode
[14984.002370] IPv6: ADDRCONF(NETDEV_UP): wlan1-1: link is not ready
[14984.008659] br-lan: port 3(wlan1-1) entered listening state
[14984.014372] br-lan: port 3(wlan1-1) entered listening state
[14984.397146] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-1: link becomes ready
[14985.971999] br-lan: port 2(wlan1) entered learning state
[14986.011994] br-lan: port 3(wlan1-1) entered learning state
[14987.971986] br-lan: topology change detected, propagating
[14987.977470] br-lan: port 2(wlan1) entered forwarding state
[14988.011988] br-lan: topology change detected, propagating
[14988.017484] br-lan: port 3(wlan1-1) entered forwarding state

18.02.2017532Base systemBug ReportVery LowMediumXiaomi mi nano (miwifi nano) unstable as WiFi Repeaterlede-17.01Unconfirmed Task Description

I run version 17.01.0-rc2 on my Xiaomi mi nano (https://lede-project.org/toh/hwdata/xiaomi/xiaomi_miwifi_nano)

I want to use it as wireless repeater with extra SSID (i think someone call it WISP client).

The miwifi is connected to my home wifi. And my device is connected to the SSID provided by the miwifi nano (no LAN connection).

If i do a speed test or download a large file to test the connection speed, the speed drops to a very low rate after some seconds. On the serial console i can see a call trace at this moment. After this, i have to reboot the miwifi nano to get a working WAN connection.

I will attach the serial console output. Hope that helps.

Tested with LAN connected was stable and fast.

drombo

17.02.2017527PackagesBug ReportVery LowMediumQMI modem Olivetti Techcenter (0b3c:c00a) freezes on uq...lede-17.01Unconfirmed Task Description

Hello,

I used to use modem Olivetti Techcenter (0b3c:c00a) on OpenWRT CC.1 without problems.
However, testing on LEDE 17.01.0-rc2, I’m unable to connect.

I traced the problem to ‘uqmi -s -d “$device” –sync’ at https://github.com/lede-project/source/blob/master/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh#L101.

My config is simple as:

config interface 'wwan'
        option ifname 'wwan0'
        option proto 'qmi'
        option device '/dev/cdc-wdm0'
        option apn 'gprs.oi.com.br'
        option auth 'none'

Using strace, it always stops at this point:

...
open("/dev/cdc-wdm0", O_RDWR|O_EXCL|O_NOCTTY|O_NONBLOCK|O_LARGEFILE) = 6
fcntl64(6, F_GETFL)                     = 0x2082 (flags O_RDWR|O_NONBLOCK|O_LARGEFILE)
fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0
epoll_ctl(3, EPOLL_CTL_ADD, 6, {EPOLLIN|EPOLLRDHUP|EPOLLET, {u32=4305304, u64=18491139879337984}}) = 0
write(6, "\1\v\0\0\0\0\0\1'\0\0\0", 12) = 12
rt_sigaction(SIGINT, NULL, {sa_handler=0x401071, sa_mask=[RT_66 RT_67 RT_68 RT_69 RT_70 RT_71], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0}, 16) = 0
rt_sigaction(SIGTERM, NULL, {sa_handler=0x401071, sa_mask=[RT_66 RT_67 RT_68 RT_69 RT_70 RT_71], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0}, 16) = 0
rt_sigaction(SIGCHLD, NULL, {sa_handler=SIG_DFL, sa_mask=[RT_66 RT_67 RT_68 RT_69 RT_70 RT_71], sa_flags=0}, 16) = 0
rt_sigaction(SIGCHLD, {sa_handler=0x77d85541, sa_mask=[RT_68 RT_69 RT_73 RT_74 RT_75 RT_76 RT_78 RT_80 RT_82 RT_84 RT_85 RT_87 RT_88 RT_89 RT_90 RT_91 RT_93 RT_94 RT_95], sa_flags=SA_RESTORER, sa_restorer=0}, NULL, 16) = 0
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_DFL, sa_mask=[RT_65 RT_68 RT_70], sa_flags=0}, 16) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_IGN, sa_mask=[RT_68 RT_69 RT_73 RT_74 RT_75 RT_76 RT_78 RT_80 RT_82 RT_84 RT_85 RT_87 RT_88 RT_89 RT_90 RT_91 RT_93 RT_94 RT_95], sa_flags=SA_RESTORER, sa_restorer=0}, NULL, 16) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=7909, tv_nsec=543507701}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=7909, tv_nsec=544052152}) = 0
epoll_pwait(3, 

If I comment the “uqmi –sync” call, it simply works. “–sync” is a new action for uqmi since OpenWRT CC.1

My System is:



LEDE 17.01.0-rc2, r3131-42f3c1f
uqmi 2016-12-19-8ceeab69-1
machine: TP-LINK TL-WDR3600/4300/4310 (ar71xx) with QMI modem Olivetti Techcenter (0b3c:c00a)

15.02.2017519KernelBug ReportVery LowMediumStack trace on ieee80211_i.h:1004lede-17.01Unconfirmed Task Description

Device: Archer C7 V2 with 17.01.0-rc2, r3131-42f3c1f.

I just ran ‘wifi’ from the console and saw severall stack traces on ieee80211_i.h:1004

 
Feb 15 17:48:45 10.0.0.3 kernel: [164189.216127] br-ocm: topology change detected, sending tcn bpdu
Feb 15 17:48:45 10.0.0.3 kernel: [164189.222158] br-ocm: port 2(wlan0) entered forwarding state
Feb 15 17:48:45 10.0.0.3 kernel: [164189.228201] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
Feb 15 17:48:45 10.0.0.3 kernel: [164189.235725] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
Feb 15 17:48:45 10.0.0.3 hostapd: send_auth_reply: send failed
Feb 15 17:48:46 10.0.0.3 kernel: [164189.291069] ------------[ cut here ]------------
Feb 15 17:48:46 10.0.0.3 kernel: [164189.295879] WARNING: CPU: 0 PID: 10121 at compat-wireless-2016-10-08/net/mac80211/ieee80211_i.h:1004 0x8759ea7c [mac80211@87580000+0x5f500]()
Feb 15 17:48:46 10.0.0.3 kernel: [164189.308890] Modules linked in: pppoe ppp_async iptable_nat ath9k pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE ath9k_common 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 iptable_mangle
Feb 15 17:48:46 10.0.0.3 kernel: [164189.383057]          ...
Feb 15 17:48:46 10.0.0.3 kernel: [164189.375549] CPU: 0 PID: 10121 Comm: hostapd Tainted: G        W       4.4.47 #0
Feb 15 17:48:46 10.0.0.3 kernel: [164189.383057] Stack : 803864d4 00000000 00000001 803e0000 00000000 00000000 00000000 00000000
Feb 15 17:48:46 10.0.0.3 kernel: [164189.383057]          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 15 17:48:46 10.0.0.3 kernel: [164189.383057]          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 15 17:48:46 10.0.0.3 kernel: [164189.383057]          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 15 17:48:46 10.0.0.3 kernel: [164189.383057]          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 15 17:48:46 10.0.0.3 kernel: [164189.419514] Call Trace:[<80071a50>] 0x80071a50
Feb 15 17:48:46 10.0.0.3 kernel: [164189.424120] [<80071a50>] 0x80071a50
Feb 15 17:48:46 10.0.0.3 kernel: [164189.427755] [<800817d8>] 0x800817d8
Feb 15 17:48:46 10.0.0.3 kernel: [164189.431399] [<8759ea7c>] 0x8759ea7c [mac80211@87580000+0x5f500]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.437500] [<80081890>] 0x80081890
Feb 15 17:48:46 10.0.0.3 kernel: [164189.441143] [<8759ea7c>] 0x8759ea7c [mac80211@87580000+0x5f500]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.447260] [<87586b64>] 0x87586b64 [mac80211@87580000+0x5f500]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.453369] [<875870d0>] 0x875870d0 [mac80211@87580000+0x5f500]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.459473] [<8025d324>] 0x8025d324
Feb 15 17:48:46 10.0.0.3 kernel: [164189.463113] [<87587184>] 0x87587184 [mac80211@87580000+0x5f500]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.469221] [<875849b4>] 0x875849b4 [mac80211@87580000+0x5f500]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.475308] [<80102008>] 0x80102008
Feb 15 17:48:46 10.0.0.3 kernel: [164189.478954] [<87587234>] 0x87587234 [mac80211@87580000+0x5f500]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.485054] [<8750c2e4>] 0x8750c2e4 [cfg80211@87500000+0x36220]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.491154] [<8029a124>] 0x8029a124
Feb 15 17:48:46 10.0.0.3 kernel: [164189.494800] [<80299ea8>] 0x80299ea8
Feb 15 17:48:46 10.0.0.3 kernel: [164189.498436] [<802992e8>] 0x802992e8
Feb 15 17:48:46 10.0.0.3 kernel: [164189.502060] [<800a1a94>] 0x800a1a94
Feb 15 17:48:46 10.0.0.3 kernel: [164189.505690] [<80299e90>] 0x80299e90
Feb 15 17:48:46 10.0.0.3 kernel: [164189.509324] [<80298b4c>] 0x80298b4c
Feb 15 17:48:46 10.0.0.3 kernel: [164189.512945] [<8025c820>] 0x8025c820
Feb 15 17:48:46 10.0.0.3 kernel: [164189.516581] [<8013c000>] 0x8013c000
Feb 15 17:48:46 10.0.0.3 kernel: [164189.520206] [<802990b4>] 0x802990b4
Feb 15 17:48:46 10.0.0.3 kernel: [164189.523831] [<801b6260>] 0x801b6260
Feb 15 17:48:46 10.0.0.3 kernel: [164189.527478] [<80252ad4>] 0x80252ad4
Feb 15 17:48:46 10.0.0.3 kernel: [164189.531104] [<80253eec>] 0x80253eec
Feb 15 17:48:46 10.0.0.3 kernel: [164189.534732] [<80252ad4>] 0x80252ad4
Feb 15 17:48:46 10.0.0.3 kernel: [164189.538369] [<801f8300>] 0x801f8300
Feb 15 17:48:46 10.0.0.3 kernel: [164189.541995] [<8011328c>] 0x8011328c
Feb 15 17:48:46 10.0.0.3 kernel: [164189.545629] [<8009eff0>] 0x8009eff0
Feb 15 17:48:46 10.0.0.3 kernel: [164189.549269] [<80254e18>] 0x80254e18
Feb 15 17:48:46 10.0.0.3 kernel: [164189.552898] [<80066c10>] 0x80066c10
Feb 15 17:48:46 10.0.0.3 kernel: [164189.556535] [<80062c2c>] 0x80062c2c
Feb 15 17:48:46 10.0.0.3 kernel: [164189.560161]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.561759] ---[ end trace 09e93eac26043f54 ]---
Feb 15 17:48:46 10.0.0.3 kernel: [164189.590354] ------------[ cut here ]------------
Feb 15 17:48:46 10.0.0.3 kernel: [164189.595205] WARNING: CPU: 0 PID: 10121 at compat-wireless-2016-10-08/net/mac80211/ieee80211_i.h:1004 0x87584e44 [mac80211@87580000+0x5f500]()
Feb 15 17:48:46 10.0.0.3 kernel: [164189.608230] Modules linked in: pppoe ppp_async iptable_nat ath9k pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE ath9k_common 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 iptable_mangle
Feb 15 17:48:46 10.0.0.3 kernel: [164189.674864] CPU: 0 PID: 10121 Comm: hostapd Tainted: G        W       4.4.47 #0
Feb 15 17:48:46 10.0.0.3 kernel: [164189.682384] Stack : 803864d4 00000000 00000001 803e0000 00000000 00000000 00000000 00000000
Feb 15 17:48:46 10.0.0.3 kernel: [164189.682384]          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 15 17:48:46 10.0.0.3 kernel: [164189.682384]          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 15 17:48:46 10.0.0.3 kernel: [164189.682384]          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 15 17:48:46 10.0.0.3 kernel: [164189.682384]          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb 15 17:48:46 10.0.0.3 kernel: [164189.682384]          ...
Feb 15 17:48:46 10.0.0.3 kernel: [164189.718837] Call Trace:[<80071a50>] 0x80071a50
Feb 15 17:48:46 10.0.0.3 kernel: [164189.723442] [<80071a50>] 0x80071a50
Feb 15 17:48:46 10.0.0.3 kernel: [164189.727078] [<800817d8>] 0x800817d8
Feb 15 17:48:46 10.0.0.3 kernel: [164189.730716] [<87584e44>] 0x87584e44 [mac80211@87580000+0x5f500]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.736834] [<80081890>] 0x80081890
Feb 15 17:48:46 10.0.0.3 kernel: [164189.740460] [<80177ce0>] 0x80177ce0
Feb 15 17:48:46 10.0.0.3 kernel: [164189.744100] [<87584e44>] 0x87584e44 [mac80211@87580000+0x5f500]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.750221] [<8759e840>] 0x8759e840 [mac80211@87580000+0x5f500]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.756330] [<875d1a8c>] 0x875d1a8c [mac80211@87580000+0x5f500]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.762436] [<8751a54c>] 0x8751a54c [cfg80211@87500000+0x36220]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.768548] [<8029a124>] 0x8029a124
Feb 15 17:48:46 10.0.0.3 kernel: [164189.772176] [<802989ac>] 0x802989ac
Feb 15 17:48:46 10.0.0.3 kernel: [164189.775817] [<80299ea8>] 0x80299ea8
Feb 15 17:48:46 10.0.0.3 kernel: [164189.779456] [<802992e8>] 0x802992e8
Feb 15 17:48:46 10.0.0.3 kernel: [164189.783079] [<800a1a94>] 0x800a1a94
Feb 15 17:48:46 10.0.0.3 kernel: [164189.786715] [<80299e90>] 0x80299e90
Feb 15 17:48:46 10.0.0.3 kernel: [164189.790340] [<8025d324>] 0x8025d324
Feb 15 17:48:46 10.0.0.3 kernel: [164189.793968] [<80298b4c>] 0x80298b4c
Feb 15 17:48:46 10.0.0.3 kernel: [164189.797600] [<8025c820>] 0x8025c820
Feb 15 17:48:46 10.0.0.3 kernel: [164189.801227] [<802990b4>] 0x802990b4
Feb 15 17:48:46 10.0.0.3 kernel: [164189.804851] [<801b6260>] 0x801b6260
Feb 15 17:48:46 10.0.0.3 kernel: [164189.808485] [<8026100c>] 0x8026100c
Feb 15 17:48:46 10.0.0.3 kernel: [164189.812118] [<80252ad4>] 0x80252ad4
Feb 15 17:48:46 10.0.0.3 kernel: [164189.815748] [<80253eec>] 0x80253eec
Feb 15 17:48:46 10.0.0.3 kernel: [164189.819382] [<802970a0>] 0x802970a0
Feb 15 17:48:46 10.0.0.3 kernel: [164189.823007] [<80253320>] 0x80253320
Feb 15 17:48:46 10.0.0.3 kernel: [164189.826644] [<80254b2c>] 0x80254b2c
Feb 15 17:48:46 10.0.0.3 kernel: [164189.830275] [<80254e18>] 0x80254e18
Feb 15 17:48:46 10.0.0.3 kernel: [164189.833899] [<800b23b0>] 0x800b23b0
Feb 15 17:48:46 10.0.0.3 kernel: [164189.837537] [<80062c2c>] 0x80062c2c
Feb 15 17:48:46 10.0.0.3 kernel: [164189.841163]
Feb 15 17:48:46 10.0.0.3 kernel: [164189.842761] ---[ end trace 09e93eac26043f55 ]---


13.02.2017506Base systemBug ReportVery LowMediumBT Home Hub 5: 5g WiFi jumps to channel 36 and stops wo...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on BT Home Hub 5
- Software versions of LEDE release, packages, r3425-f28eef4 and previous versions
- Steps to reproduce

It can be after a few hours, if WiFi 5g radio0 Qualcomm Atheros QCA9880 802.11nac (radio0) is configured to a Band B channel, it jumps to Channel 36 even though there is no apparent interference.
This appears to happen more frequently overnight during long periods of inactivity. Whilst the device is being used it does not happen.

After it does make the jump, if I stop and restart the device (using luci disable/enable) the device stops, but it fails to restart. Attempts to change the channel and re-enable the device also do not help.

It requires a reboot to restore service.

 


12.02.2017503KernelBuild FailureVery LowMediumBuild fails with CONFIG_KERNEL_GIT_CLONE_URI beig setAllAssigned Task Description

When specifying

CONFIG_KERNEL_GIT_CLONE_URI

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

toolchain/kernel-headers

is about to be built.

The build error looks like:

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

The issue apparently is located in

include/kernel-defaults.mk

, line 53ff::

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

For the package

kernel-headers

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

12.02.2017502Base systemBug ReportVery LowMediumSwitch not configured on Asus RT-N12 B1 (brcm47xx)lede-17.01New Task Description

Device problem occurs on is Asus RT-N12 B1

lede-17.01.0-rc2-r3131-42f3c1f-brcm47xx-mips74k-asus-rt-n12-b1-squashfs.trx

Switch is not recognized so a WAN is not available. Switch was automatically recognized in OpenWrt 15.05.1 and only issue with network was that WAN was initially set on swith port 0 when it should have been set on switch port 4.



dmesg output from lede 17.01.0-rc2:

[    0.000000] Linux version 4.4.47 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3104-41de9a2) ) #0 Tue Feb 7 08:32:47 2017
[    0.000000] CPU0 revision is: 00019749 (MIPS 74Kc)
[    0.000000] bcm47xx: Using bcma bus
[    0.000000] bcma: bus0: Found chip with id 53572, rev 0x01 and package 0x08
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 8034e4c0, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 28452K/32768K available (2974K kernel code, 139K rwdata, 368K rodata, 156K init, 294K bss, 4316K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:128
[    0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x27, class 0x0)
[    0.000000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x1C, class 0x0)
[    0.000000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x03, class 0x0)
[    0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0x05, class 0x0)
[    0.000000] bcma: bus0: Core 4 found: SDR/DDR1 Memory Controller (manuf 0x4BF, id 0x835, rev 0x02, class 0x0)
[    0.000000] bcma: bus0: Found rev 9 PMU (capabilities 0x28982A09)
[    0.000000] bcma: bus0: Found serial flash
[    0.000000] bcma: bus0: Found M25P64 serial flash (size: 8192KiB, blocksize: 0x10000, blocks: 128)
[    0.000000] bcma: bus0: Early bus registered
[    0.000000] MIPS: machine is Asus RT-N12B1
[    0.000000] bcm47xx: Setting up vectored interrupts
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[    0.000020] sched_clock: 32 bits at 150MHz, resolution 6ns, wraps every 14316557820ns
[    0.000106] Calibrating delay loop... 149.91 BogoMIPS (lpj=749568)
[    0.070106] pid_max: default: 32768 minimum: 301
[    0.070427] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070469] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.075669] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.077282] NET: Registered protocol family 16
[    0.104780] clocksource: Switched to clocksource MIPS
[    0.107686] NET: Registered protocol family 2
[    0.109893] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.109974] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.110031] TCP: Hash tables configured (established 1024 bind 1024)
[    0.110257] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.110437] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.111015] NET: Registered protocol family 1
[    0.111161] PCI: CLS 0 bytes, default 32
[    0.597625] bcma: bus0: Using SPROM revision 8 provided by platform.
[    0.597676] bcma: bus0: PMU resource config unknown or not needed for device 0xD144
[    0.599703] bcma: bus0: Workarounds unknown or not needed for device 0xD144
[    0.599729] bcma: bus0: Initializing MIPS core...
[    0.599766] bcma: bus0: set_irq: core 0x0812, irq 3 => 3
[    0.599798] bcma: bus0: set_irq: core 0x082d, irq 4 => 4
[    0.599829] bcma: bus0: set_irq: core 0x0800, irq 2 => 2
[    0.599851] bcma: bus0: IRQ reconfiguration done
[    0.599874] bcma: core 0x0800, irq : 2(S)* 3  4  5  6  D  I 
[    0.599945] bcma: core 0x0812, irq : 2(S)  3* 4  5  6  D  I 
[    0.600007] bcma: core 0x082d, irq : 2(S)  3  4* 5  6  D  I 
[    0.600068] bcma: core 0x082c, irq : 2(S)  3  4  5  6  D  I*
[    0.600131] bcma: core 0x0835, irq : 2(S)  3  4  5  6  D* I 
[    0.601715] bcma: bus0: Bus registered
[    0.603117] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.603286] Crashlog allocated RAM at address 0x1f00000
[    0.643551] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.643594] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.650495] io scheduler noop registered
[    0.650540] io scheduler deadline registered (default)
[    0.651053] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.658270] console [ttyS0] disabled
[    0.678614] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2, base_baud = 1250000) is a U6_16550A
[    1.074009] console [ttyS0] enabled
[    1.250464] 6 bcm47xxpart partitions found on MTD device bcm47xxsflash
[    1.257198] Creating 6 MTD partitions on "bcm47xxsflash":
[    1.262711] 0x000000000000-0x000000020000 : "boot"
[    1.273234] 0x000000020000-0x0000007f0000 : "firmware"
[    1.282638] 0x0000007f0000-0x000000800000 : "nvram"
[    1.291759] 0x00000002001c-0x00000002091c : "loader"
[    1.300949] 0x00000002091c-0x000000145800 : "linux"
[    1.310167] 0x000000145800-0x0000007f0000 : "rootfs"
[    1.319386] mtd: device 5 (rootfs) set to be root filesystem
[    1.325369] 1 squashfs-split partitions found on MTD device rootfs
[    1.331711] 0x000000300000-0x0000007f0000 : "rootfs_data"
[    1.345795] libphy: Fixed MDIO Bus: probed
[    1.350282] bgmac_bcma bcma0:2: Found PHY addr: 30 (NOREGS)
[    1.360669] libphy: bcma_mdio mii bus: probed
[    1.365256] bgmac_bcma bcma0:2: Support for Roboswitch not implemented
[    1.496122] b53_common: found switch: BCM5325, rev 4
[    1.502998] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
[    1.509629] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds)
[    1.520532] NET: Registered protocol family 10
[    1.534005] NET: Registered protocol family 17
[    1.538839] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.551744] 8021q: 802.1Q VLAN Support v1.8
[    1.568624] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.577364] Freeing unused kernel memory: 156K (80369000 - 80390000)
[    3.716189] init: Console is alive
[    3.720170] init: - watchdog -
[    4.287930] init: - preinit -
[    5.088942] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    6.694965] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   10.904669] jffs2: notice: (305) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   10.923756] mount_root: switching to jffs2 overlay
[   10.943399] urandom-seed: Seeding with /etc/urandom.seed
[   11.186490] procd: - early -
[   11.189714] procd: - watchdog -
[   11.994109] procd: - ubus -
[   12.179305] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   12.190479] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   12.200799] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   12.210171] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   12.220413] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   12.229786] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   12.240661] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   12.250494] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   12.260797] procd: - init -
[   13.845284] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   13.878283] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.901560] nf_conntrack version 0.5.0 (447 buckets, 1788 max)
[   13.981015] xt_time: kernel timezone is -0000
[   14.011330] PPP generic driver version 2.4.2
[   14.021580] NET: Registered protocol family 24
[   15.963517] random: jshn: uninitialized urandom read (4 bytes read, 25 bits of entropy available)
[   16.145341] random: ubusd: uninitialized urandom read (4 bytes read, 25 bits of entropy available)
[   24.737871] device eth0 entered promiscuous mode
[   24.768279] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   26.365075] br-lan: port 1(eth0) entered forwarding state
[   26.370711] br-lan: port 1(eth0) entered forwarding state
[   26.401836] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   28.364908] br-lan: port 1(eth0) entered forwarding state

dmesg output from OpenWrt 15.05.1:

[    0.000000] Linux version 3.18.23 (buildbot@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r48532) ) #1 Tue Mar 1 09:17:19 CET 2016
[    0.000000] CPU0 revision is: 00019749 (MIPS 74Kc)
[    0.000000] bcm47xx: Using bcma bus
[    0.000000] bcma: bus0: Found chip with id 53572, rev 0x01 and package 0x08
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x01ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 802e4300, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 28904K/32768K available (2594K kernel code, 119K rwdata, 324K rodata, 148K init, 288K bss, 3864K reserved, 0K highmem)
[    0.000000] NR_IRQS:128
[    0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x27, class 0x0)
[    0.000000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x1C, class 0x0)
[    0.000000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x03, class 0x0)
[    0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0x05, class 0x0)
[    0.000000] bcma: bus0: Core 4 found: SDR/DDR1 Memory Controller (manuf 0x4BF, id 0x835, rev 0x02, class 0x0)
[    0.000000] bcma: bus0: Found rev 9 PMU (capabilities 0x28982A09)
[    0.000000] bcma: bus0: Found serial flash
[    0.000000] bcma: bus0: Found M25P64 serial flash (size: 8192KiB, blocksize: 0x10000, blocks: 128)
[    0.000000] bcma: bus0: Early bus registered
[    0.000000] MIPS: machine is Asus RT-N12B1
[    0.000000] bcm47xx: Setting up vectored interrupts
[    0.070000] Calibrating delay loop... 149.91 BogoMIPS (lpj=749568)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070000] NET: Registered protocol family 16
[    0.090000] Switched to clocksource MIPS
[    0.090000] NET: Registered protocol family 2
[    0.100000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.100000] TCP: reno registered
[    0.100000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.100000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.100000] NET: Registered protocol family 1
[    0.100000] PCI: CLS 0 bytes, default 32
[    0.540000] bcma: bus0: Using SPROM revision 8 provided by platform.
[    0.540000] bcma: bus0: PMU resource config unknown or not needed for device 0xD144
[    0.540000] bcma: bus0: Workarounds unknown or not needed for device 0xD144
[    0.540000] bcma: bus0: Initializing MIPS core...
[    0.540000] bcma: bus0: set_irq: core 0x0812, irq 3 => 3
[    0.540000] bcma: bus0: set_irq: core 0x082d, irq 4 => 4
[    0.540000] bcma: bus0: set_irq: core 0x0800, irq 2 => 2
[    0.540000] bcma: bus0: IRQ reconfiguration done
[    0.540000] bcma: core 0x0800, irq : 2(S)* 3  4  5  6  D  I 
[    0.540000] bcma: core 0x0812, irq : 2(S)  3* 4  5  6  D  I 
[    0.540000] bcma: core 0x082d, irq : 2(S)  3  4* 5  6  D  I 
[    0.540000] bcma: core 0x082c, irq : 2(S)  3  4  5  6  D  I*
[    0.540000] bcma: core 0x0835, irq : 2(S)  3  4  5  6  D* I 
[    0.540000] bcma: bus0: Bus registered
[    0.540000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.550000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.550000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.550000] msgmni has been set to 56
[    0.550000] io scheduler noop registered
[    0.550000] io scheduler deadline registered (default)
[    0.550000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.560000] console [ttyS0] disabled
[    0.580000] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2, base_baud = 1250000) is a U6_16550A
[    0.920000] console [ttyS0] enabled
[    1.030000] 6 bcm47xxpart partitions found on MTD device bcm47xxsflash
[    1.030000] Creating 6 MTD partitions on "bcm47xxsflash":
[    1.040000] 0x000000000000-0x000000020000 : "boot"
[    1.050000] 0x000000020000-0x0000007f0000 : "firmware"
[    1.050000] 0x00000002001c-0x00000002090c : "loader"
[    1.060000] 0x00000002090c-0x000000127800 : "linux"
[    1.070000] 0x000000127800-0x0000007f0000 : "rootfs"
[    1.070000] mtd: device 4 (rootfs) set to be root filesystem
[    1.080000] 1 squashfs-split partitions found on MTD device rootfs
[    1.090000] 0x000000350000-0x0000007f0000 : "rootfs_data"
[    1.090000] 0x0000007f0000-0x000000800000 : "nvram"
[    1.100000] bgmac bcma0:2: Found PHY addr: 30 (NOREGS)
[    1.110000] bgmac bcma0:2: Support for Roboswitch not implemented
[    1.170000] libphy: bgmac mii bus: probed
[    1.290000] b53_common: found switch: BCM5325, rev 4
[    1.290000] bgmac: Broadcom 47xx GBit MAC driver loaded
[    1.300000] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds)
[    1.310000] TCP: cubic registered
[    1.310000] NET: Registered protocol family 17
[    1.310000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.330000] Bridge firewalling registered
[    1.330000] 8021q: 802.1Q VLAN Support v1.8
[    1.350000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.360000] Freeing unused kernel memory: 148K (802fb000 - 80320000)
[    3.710000] init: Console is alive
[    3.710000] init: - watchdog -
[    5.850000] init: - preinit -
[    6.870000] random: mktemp urandom read with 10 bits of entropy available
[   10.460000] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[   10.520000] procd: - early -
[   10.520000] procd: - watchdog -
[   11.660000] procd: - ubus -
[   12.670000] procd: - init -
[   17.250000] NET: Registered protocol family 10
[   17.270000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   17.300000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
[   17.310000] Backport generated by backports.git backports-20150129-0-gdd4a670
[   17.320000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.350000] nf_conntrack version 0.5.0 (453 buckets, 1812 max)
[   17.430000] xt_time: kernel timezone is -0000
[   17.480000] cfg80211: Calling CRDA to update world regulatory domain
[   17.520000] cfg80211: World regulatory domain updated:
[   17.520000] cfg80211:  DFS Master region: unset
[   17.530000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   17.540000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   17.550000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   17.550000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   17.560000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   17.570000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   17.580000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   17.590000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   17.600000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   17.710000] PPP generic driver version 2.4.2
[   17.720000] NET: Registered protocol family 24
[   17.770000] b43-phy0: Broadcom 53572 WLAN found (core revision 28)
[   17.780000] b43-phy0: Found PHY: Analog 9, Type 4 (N), Revision 17
[   17.790000] b43-phy0 ERROR: FOUND UNSUPPORTED RADIO (Manuf 0x17F, ID 0x2057, Revision 13, Version 0)
[   17.800000] b43: probe of bcma0:1 failed with error -122
[   17.800000] Broadcom 43xx driver loaded [ Features: NL ]
[   32.590000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   32.590000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   32.600000] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   38.630000] device eth0.1 entered promiscuous mode
[   38.640000] device eth0 entered promiscuous mode
11.02.2017496KernelBug ReportVery LowMediumNo USB on Buffalo WZR-HP-AG300Hlede-17.01Unconfirmed Task Description

Hi,
I have just tried installing lede-17.01.0-rc2-r3131-42f3c1f-ar71xx-generic-wzr-hp-ag300h-squashfs-sysupgrade.bin on my Buffalo WZR-HP-AG300H.

I would like to use it with my iPhone or USB WWAN device, but it does not detect either of them. When I plug the iPhone in, it doesn’t even start to charge.

I downgraded to openwrt-15.05.1-ar71xx-generic-wzr-hp-ag300h-squashfs-sysupgrade.bin and both the devices show up in dmesg and the iPhone starts charging.

Thanks,
Wayne

09.02.2017488Base systemBug ReportVery LowMediumdynamic VLAN doesn't work on ath10klede-17.01Unconfirmed Task Description

Dynamic vlan config on ath10k seems not to work. Same config on ath9k works fine.

Config:

config wifi-device  radio0
        option type     mac80211
        option channel  36
        option hwmode   11a
        option path     'pci0000:01/0000:01:00.0'
        option htmode   VHT80
[...]

config wifi-iface
        option device   radio0
        option network  vlan1
        option mode     ap
[...]
        option dynamic_vlan     '1'
        option 'vlan_tagged_interface' 'eth1'
        option 'vlan_bridge' 'br-vlan'
        option 'vlan_naming' '0'

Log:

Thu Feb  9 15:54:37 2017 daemon.err hostapd: WPA initialization for VLAN 1 failed (-1)
Thu Feb  9 15:54:37 2017 daemon.err hostapd: WPA deinit of wlan0.1 failed
Thu Feb  9 15:54:37 2017 daemon.debug hostapd: wlan0: STA ac:22:0b:a1:c7:6b IEEE 802.11: could not add dynamic VLAN interface for vlan=1
09.02.2017487KernelBug ReportVery LowMediumVGV7510KW22 / o2 Box 6431 / RT3062F: Very poor Wi-Fi pe...AllNew Task Description

Actual Wi-Fi performance is abnormally poor and unusually variable, no matter the settings (mode, channels, encryption).

These tests were carried out in quick succession while the LuCI web interface showed a signal strength of -46 - -50 dBm:

[localhost ~]$ iperf3 -c 192.168.1.1
Connecting to host 192.168.1.1, port 5201
[  4] local 192.168.1.171 port 42922 connected to 192.168.1.1 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  1.36 MBytes  11.4 Mbits/sec    0   14.1 KBytes       
[  4]   1.00-2.00   sec   964 KBytes  7.90 Mbits/sec    5   11.3 KBytes       
[  4]   2.00-3.00   sec   816 KBytes  6.68 Mbits/sec    4   4.24 KBytes       
[  4]   3.00-4.00   sec   979 KBytes  8.02 Mbits/sec    5   9.90 KBytes       
[  4]   4.00-5.00   sec  1.38 MBytes  11.6 Mbits/sec    0   11.3 KBytes       
[  4]   5.00-6.00   sec  1.24 MBytes  10.4 Mbits/sec    1   9.90 KBytes       
[  4]   6.00-7.00   sec   943 KBytes  7.72 Mbits/sec    2   7.07 KBytes       
[  4]   7.00-8.00   sec  1024 KBytes  8.39 Mbits/sec    7   8.48 KBytes       
[  4]   8.00-9.00   sec  1.11 MBytes  9.29 Mbits/sec    1   9.90 KBytes       
[  4]   9.00-10.00  sec  1.41 MBytes  11.8 Mbits/sec    0   11.3 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  11.1 MBytes  9.32 Mbits/sec   25             sender
[  4]   0.00-10.00  sec  11.1 MBytes  9.30 Mbits/sec                  receiver

iperf Done.
[localhost ~]$ iperf3 -c 192.168.1.1
Connecting to host 192.168.1.1, port 5201
[  4] local 192.168.1.171 port 42954 connected to 192.168.1.1 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   187 KBytes  1.53 Mbits/sec    3   9.90 KBytes       
[  4]   1.00-2.00   sec   638 KBytes  5.22 Mbits/sec    0   11.3 KBytes       
[  4]   2.00-3.00   sec   561 KBytes  4.60 Mbits/sec    0   14.1 KBytes       
[  4]   3.00-4.00   sec   417 KBytes  3.42 Mbits/sec    0   14.1 KBytes       
[  4]   4.00-5.00   sec   307 KBytes  2.51 Mbits/sec    4   8.48 KBytes       
[  4]   5.00-6.00   sec   370 KBytes  3.04 Mbits/sec    2   8.48 KBytes       
[  4]   6.00-7.00   sec   365 KBytes  2.99 Mbits/sec    1   8.48 KBytes       
[  4]   7.00-8.00   sec   281 KBytes  2.30 Mbits/sec    2   1.41 KBytes       
[  4]   8.00-9.00   sec   204 KBytes  1.67 Mbits/sec    8   8.48 KBytes       
[  4]   9.00-10.00  sec   344 KBytes  2.81 Mbits/sec    2   8.48 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  3.59 MBytes  3.01 Mbits/sec   22             sender
[  4]   0.00-10.00  sec  3.56 MBytes  2.99 Mbits/sec                  receiver

iperf Done.
[localhost ~]$ iperf3 -c 192.168.1.1
Connecting to host 192.168.1.1, port 5201
[  4] local 192.168.1.171 port 42960 connected to 192.168.1.1 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   259 KBytes  2.12 Mbits/sec    2   9.90 KBytes       
[  4]   1.00-2.00   sec   923 KBytes  7.57 Mbits/sec    2   11.3 KBytes       
[  4]   2.00-3.00   sec  1.08 MBytes  9.06 Mbits/sec    0   11.3 KBytes       
[  4]   3.00-4.00   sec  1.34 MBytes  11.2 Mbits/sec    2   9.90 KBytes       
[  4]   4.00-5.00   sec   652 KBytes  5.34 Mbits/sec    8   4.24 KBytes       
[  4]   5.00-6.00   sec  1.31 MBytes  11.0 Mbits/sec    1   11.3 KBytes       
[  4]   6.00-7.00   sec  1.37 MBytes  11.5 Mbits/sec    0   15.6 KBytes       
[  4]   7.00-8.00   sec  1.24 MBytes  10.4 Mbits/sec    1   12.7 KBytes       
[  4]   8.00-9.00   sec   683 KBytes  5.59 Mbits/sec    8   9.90 KBytes       
[  4]   9.00-10.00  sec  1.16 MBytes  9.72 Mbits/sec    2   7.07 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  9.96 MBytes  8.35 Mbits/sec   26             sender
[  4]   0.00-10.00  sec  9.93 MBytes  8.33 Mbits/sec                  receiver

iperf Done.

Confirmed with 17.01.0-rc1, 17.01.0-rc2, SNAPSHOT r3350-aab344d (all NOR images) and different client machines.

On a side note, ethernet performance is also diminished:

[localhost ~]$ iperf3 -c 192.168.1.1
Connecting to host 192.168.1.1, port 5201
[  4] local 192.168.1.161 port 57264 connected to 192.168.1.1 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  9.70 MBytes  81.3 Mbits/sec    0    215 KBytes       
[  4]   1.00-2.00   sec  8.96 MBytes  75.2 Mbits/sec    0    215 KBytes       
[  4]   2.00-3.00   sec  9.37 MBytes  78.6 Mbits/sec    4    156 KBytes       
[  4]   3.00-4.00   sec  10.3 MBytes  86.6 Mbits/sec    6    106 KBytes       
[  4]   4.00-5.00   sec  10.4 MBytes  87.0 Mbits/sec    0    161 KBytes       
[  4]   5.00-6.00   sec  8.88 MBytes  74.5 Mbits/sec    2    156 KBytes       
[  4]   6.00-7.00   sec  9.01 MBytes  75.6 Mbits/sec    2    143 KBytes       
[  4]   7.00-8.00   sec  9.47 MBytes  79.5 Mbits/sec    8    140 KBytes       
[  4]   8.00-9.00   sec  10.3 MBytes  86.6 Mbits/sec    6    141 KBytes       
[  4]   9.00-10.00  sec  10.4 MBytes  87.3 Mbits/sec    4    144 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  96.8 MBytes  81.2 Mbits/sec   32             sender
[  4]   0.00-10.00  sec  96.5 MBytes  80.9 Mbits/sec                  receiver

iperf Done.
06.02.2017475KernelBug ReportVery LowMediumPSG1208 LEDAllUnconfirmed Task Description

Mon Feb 6 22:38:18 2017 kern.err kernel: [10214.442640] rt2880-pinmux pinctrl: pin 39 is not set to gpio mux
Mon Feb 6 22:38:18 2017 kern.err kernel: [10214.454723] rt2880-pinmux pinctrl: request() failed for pin 39
Mon Feb 6 22:38:18 2017 kern.err kernel: [10214.466369] rt2880-pinmux pinctrl: pin-39 (pio:39) status -22
Mon Feb 6 22:38:29 2017 kern.err kernel: [10218.295289] rt2880-pinmux pinctrl: pin 39 is not set to gpio mux
Mon Feb 6 22:38:29 2017 kern.err kernel: [10218.307342] rt2880-pinmux pinctrl: request() failed for pin 39
Mon Feb 6 22:38:29 2017 kern.err kernel: [10218.318994] rt2880-pinmux pinctrl: pin-39 (pio:39) status -22
Mon Feb 6 22:38:39 2017 kern.err kernel: [10221.792414] rt2880-pinmux pinctrl: pin 39 is not set to gpio mux
Mon Feb 6 22:38:39 2017 kern.err kernel: [10221.804466] rt2880-pinmux pinctrl: request() failed for pin 39
Mon Feb 6 22:38:39 2017 kern.err kernel: [10221.816116] rt2880-pinmux pinctrl: pin-39 (pio:39) status -22
Mon Feb 6 22:39:03 2017 kern.err kernel: [10229.884578] rt2880-pinmux pinctrl: pin 39 is not set to gpio mux
Mon Feb 6 22:39:03 2017 kern.err kernel: [10229.896642] rt2880-pinmux pinctrl: request() failed for pin 39
Mon Feb 6 22:39:03 2017 kern.err kernel: [10229.908283] rt2880-pinmux pinctrl: pin-39 (pio:39) status -22
Mon Feb 6 22:39:10 2017 kern.warn kernel: [10232.226049] export_store: invalid GPIO 40
Mon Feb 6 22:39:21 2017 kern.warn kernel: [10235.827719] export_store: invalid GPIO 41
Mon Feb 6 22:39:26 2017 kern.warn kernel: [10237.735140] export_store: invalid GPIO 42
Mon Feb 6 22:39:32 2017 kern.warn kernel: [10239.839502] export_store: invalid GPIO 43
Mon Feb 6 22:39:38 2017 kern.warn kernel: [10241.622103] export_store: invalid GPIO 44

 


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

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

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

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

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

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

json_add_string local “$ipladdr”

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

04.02.2017461Base systemBug ReportVery LowMediumMass Cascade of DHCP ULA Prefix Assignments with DHCP-P...AllUnconfirmed Task Description

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

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

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

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

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

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

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

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

02.02.2017455Base systemBug ReportVery LowMediumLEDE 17.01.0-rc1 & Netgear WNDR3400v2 - No Wi-Fi menulede-17.01Unconfirmed Task Description

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

 

Fresh install of 17.01.0-rc1 on Netgear WNDR3400v2

Powered by LuCI 472dc4b9e2ca71c114f5da70cb612c1089b8daa7 branch (git-17.025.85178-472dc4b) / LEDE Reboot 17.01.0-rc1 r3042-ec095b5 r0+3043-68a04db

The LuCI web gui does not show Network → WiFi, nor does /etc/config/wireless exist when I ssh in. Is this expected? Can it be fixed? (I don’t know, and can’t tell from the OpenWrt Device Page, whether Wi-Fi should work on this device.) Thanks!

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

- Device problem occurs on:

WRT3200ACM

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

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

- Steps to reproduce

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

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

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

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

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


08.01.2017375ToolchainBuild FailureVery LowMediumBulidbots should have multilib support installed to pre...TrunkUnconfirmed Task Description

I’ve run into this earlier myself and now we are seeing at least one package failing because of it.
https://github.com/openwrt/packages/pull/2823

People seem to have run into this issue before since it’s listed as a requirement for Ubuntu 64-bit as an example.
https://wiki.openwrt.org/doc/howto/buildroot.exigence#examples_of_package_installations

28.12.2016362Base systemBug ReportVery LowMediumWR1043ND v4 Slow WAN -> LAN Whilst Synced @100MbpsTrunkWaiting on reporter Task Description

Recently, builds for this device have started to be made, but there’s a very peculiar issue I’ve found. Any client that is synced to 100 Mbps (and not 1 Gbps, in my case due to incapacity of the cable used) gets their speed seemingly throttled to 20-30 Mbps. My connection is a 100 Mbps connection, and I get full 95 Mbps (Hardware NAT disabled) on the stock firmware, and I also get this speed on LEDE only if I use a 1 Gbps link.

Speedtest on the stock firmware with the 100 Mbps link: http://www.speedtest.net/result/5904234776.png Speedtest on the latest LEDE with the 100 Mbps link: http://www.speedtest.net/result/5915271748.png 1 Gbps links get full speed, as expected.

If I perform a transfer from LAN to LAN, I get full speed on the 100 Mbps link. The resulting speed graph is not a hard-cap, but seemingly some kind of throttle/flow control being applied. I cannot change any settings with ethtool as it throws ‘not supported’ errors.

Only happens WAN > LAN connections.
Nothing of interest in the logs, unless I can somehow get a more verbose log of the connection status.

29.11.2016315Base systemFeature RequestVery LowMediumImprove sysupgrade (CLI) on dual-partition routersTrunkUnconfirmed Task Description

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

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

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

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

07.11.2016273KernelBug ReportVery LowMediummac80211 IBSS: Error print on IBSS joinTrunkUnconfirmed Task Description

Hardware:
- Gateworks iMX6
- Radio MiktroTik R11e-5HnD

LEDE version used:
578f7b9c597b0ea9bcf0726cc681713c0672edfe

Repro rate:
1%

After some time in a IBSS setup, following below appeared
When it does, the connection still works but it still doesnt look fine and could lead to worse.. :

If more info is required, please let me know.
The board showing this error is still running in this state.

[ 743.735572] device wlan0 entered promiscuous mode
[ 748.945565] device wlan0 left promiscuous mode
[ 1102.652670] ————[ cut here ]———— [ 1102.652763] WARNING: CPU: 0 PID: 4070 at compat-wireless-2016-10-08/net/mac80211/sta_info.c:451 sta_info_insert_rcu+0×78/0×594 [mac80211]()
[ 1102.652772] Modules linked in: mbt_netlink mbt ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath sierra pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE ftdi_sio ebtable_nat ebtable_filter ebtable_broute cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_DNETMAP xt_CT xt_CLASSIFY usbserial ts_kmp ts_fsm ts_bm slhc sky2 nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat_ftp nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack_ftp iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables flexcan ebtables ebt_vlan ebt_stp ebt_snat ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_ip ebt_dnat ebt_arpreply ebt_arp ebt_among ebt_802_3 crc_ccitt compat_xtables compat can_raw can_dev can br_netfilter at24 em_cmp sch_teql em_nbyte sch_tbf sch_dsmark sch_pie sch_codel sch_gred sch_htb cls_basic act_ipt sch_prio em_text em_meta act_police sch_red sch_sfq sch_fq act_connmark nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress gsc hwmon snd_soc_imx_sgtl5000 snd_soc_sgtl5000 snd_soc_fsl_ssi imx_pcm_dma snd_soc_imx_audmux snd_soc_core ledtrig_heartbeat 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 gw16083 igb i2c_algo_bit ifb dummy tun snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore leds_gpio phy_mxs_usb ci_hdrc_imx usbmisc_imx ci_hdrc udc_core uhci_hcd ehci_platform ehci_hcd usbcore usb_common pps_gpio
[ 1102.653485] CPU: 0 PID: 4070 Comm: kworker/u4:0 Not tainted 4.4.30 #0
[ 1102.653495] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[ 1102.653564] Workqueue: phy0 ieee80211_iface_work [mac80211]
[ 1102.653574] Backtrace:
[ 1102.653600] [<800239fc>] (dump_backtrace) from [<80023bf4>] (show_stack+0×18/0x1c)
[ 1102.653609] r7:000001c3 r6:7f4a94e2 r5:60000013 r4:00000000
[ 1102.653640] [<80023bdc>] (show_stack) from [<801f08cc>] (dump_stack+0×84/0xa4)
[ 1102.653664] [<801f0848>] (dump_stack) from [<800323cc>] (warn_slowpath_common+0x8c/0xb8)
[ 1102.653671] r5:00000009 r4:00000000
[ 1102.653695] [<80032340>] (warn_slowpath_common) from [<8003249c>] (warn_slowpath_null+0×24/0x2c)
[ 1102.653703] r8:9ec3ea08 r7:9ec3e950 r6:9ec3e480 r5:9e4ee000 r4:9ebbcfb4
[ 1102.653780] [<80032478>] (warn_slowpath_null) from [<7f468524>] (sta_info_insert_rcu+0×78/0×594 [mac80211])
[ 1102.653867] [<7f4684ac>] (sta_info_insert_rcu [mac80211]) from [<7f473724>] (ieee80211_sta_join_ibss+0×614/0×1060 [mac80211])
[ 1102.653875] r10:00000088 r9:9f7f0400 r8:9ec3ea08 r7:9ec3e950 r6:9ec3e480 r5:9ec3ea04
[ 1102.653898] r4:9e4ee000
[ 1102.653978] [<7f4735a0>] (
ieee80211_sta_join_ibss [mac80211]) from [<7f4748b4>] (ieee80211_ibss_work+0x7c/0×430 [mac80211])
[ 1102.653986] r6:9e4ee000 r5:9ec3ea04 r4:9ec3e480
[ 1102.654072] [<7f474838>] (ieee80211_ibss_work [mac80211]) from [<7f475624>] (ieee80211_iface_work+0x33c/0×598 [mac80211])
[ 1102.654080] r10:00000088 r9:9f7f0400 r8:9ec3e884 r7:9ebbcb60 r6:00000000 r5:9ec3e480
[ 1102.654103] r4:9f5a2e80
[ 1102.654158] [<7f4752e8>] (ieee80211_iface_work [mac80211]) from [<80045550>] (process_one_work+0x1e0/0×318)
[ 1102.654165] r10:00000088 r9:9f7f0400 r8:00000000 r7:9f5a2e98 r6:9ec3e884 r5:9f40bc00
[ 1102.654187] r4:9f5a2e80
[ 1102.654208] [<80045370>] (process_one_work) from [<800462e8>] (worker_thread+0x2e0/0×430)
[ 1102.654215] r10:00000088 r9:00000000 r8:9f40bc14 r7:9f5a2e98 r6:9f40bc00 r5:9f40bc00
[ 1102.654238] r4:9f5a2e80
[ 1102.654262] [<80046008>] (worker_thread) from [<8004a500>] (kthread+0xe0/0xf4)
[ 1102.654269] r10:00000000 r9:00000000 r8:00000000 r7:80046008 r6:9f5a2e80 r5:00000000
[ 1102.654290] r4:9e641b00 r3:9ef65400
[ 1102.654316] [<8004a420>] (kthread) from [<80009c78>] (ret_from_fork+0×14/0x3c)
[ 1102.654323] r7:00000000 r6:00000000 r5:8004a420 r4:9e641b00
[ 1102.654342] —[ end trace 2a69f6e20e6ebe6c ]— [ node-11 ]

02.11.2016263KernelBug ReportVery LowMediumWRT3200ACM WAN connection failure in under 24 hoursTrunkWaiting on reporter Task Description

Symptom

WAN connectivity is lost until the device is rebooted; failure aligns with stack trace (attached). I’ve observed three failures of this same type, and all have occurred at around 18 hours of device up time. Work-around (yet to be tested) is to schedule a periodic device reboot every 12 hours.

Device problem occurs on

  • Linksys WRT3200ACM (version 1)
  • LEDE configuration is near-stock, with the only modifications being PPPoE configuration and WiFi setup/enable. Issue does not appear to be similar to FS#227 (PPPoE).

Software versions of LEDE release, packages, etc.

Release:

  [0.000000] Linux version 4.4.28 (buildbot@builds) (gcc version 5.4.0 (LEDE GCC 5.4.0 r2062) ) #0 SMP Mon Oct 31 16:13:37 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: Linksys WRT3200ACM

Packages:

  Default packages + luci-ssl

Possibly helpful info (80211 related output in log):

  <<Marvell 802.11ac Wireless Network Driver version 10.3.2.0-20161011>>
  pci 0000:00:01.0: enabling device (0140 -> 0142)
  ieee80211 phy0: priv->iobase0 = e0e00000
  ieee80211 phy0: priv->iobase1 = e1080000
  ieee80211 phy0: priv->pcmd_buf = de248000  priv->pphys_cmd_buf = 1e248000
  ieee80211 phy0: fw download start
  ieee80211 phy0: FwSize = 207660 downloaded Size = 207660 curr_iteration 65522
  ieee80211 phy0: fw download complete
  ieee80211 phy0: pcmd = de248000
  ieee80211 phy0: firmware version: 0x7080004
  ieee80211 phy0: firmware region code: 10
  ieee80211 phy0: 2G disabled, 5G enabled
  ieee80211 phy0: 4 TX antennas, 4 RX antennas
  pci 0000:00:02.0: enabling device (0140 -> 0142)
  ieee80211 phy1: priv->iobase0 = e1200000
  ieee80211 phy1: priv->iobase1 = e1480000
  ieee80211 phy1: priv->pcmd_buf = dda20000  priv->pphys_cmd_buf = 1da20000
  ieee80211 phy1: fw download start
  ieee80211 phy1: FwSize = 207660 downloaded Size = 207660 curr_iteration 65527
  ieee80211 phy1: fw download complete
  ieee80211 phy1: pcmd = dda20000
  ieee80211 phy1: firmware version: 0x7080004
  ieee80211 phy1: firmware region code: 10
  ieee80211 phy1: 2G enabled, 5G disabled
  ieee80211 phy1: 4 TX antennas, 4 RX antennas

Steps to reproduce

Device was idle before the stack trace, but logs show some DHCP-related activity within 1 minute prior to the fault.

Stack Trace

Wed Nov  2 17:10:41 2016 kern.err kernel: [74541.045379] ieee80211 phy1: create ba result error 1
Wed Nov  2 17:10:41 2016 kern.err kernel: [74541.059396] ieee80211 phy1: ampdu operation error code: -22
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.085673] ------------[ cut here ]------------
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.090364] WARNING: CPU: 0 PID: 5305 at compat-wireless-2016-10-08/net/mac80211/agg-tx.c:398 ___ieee80211_stop_tx_ba_session+0x1e8/0x1f8 [mac80211]()
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.103914] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id 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 iptable_raw iptable_mangle iptable_fWed Nov  2 17:10:42 2016 kern.warn kernel: [74542.162765] CPU: 0 PID: 5305 Comm: kworker/u4:2 Not tainted 4.4.28 #0
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.169230] Hardware name: Marvell Armada 380/385 (Device Tree)
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.175192] Workqueue: phy1 ieee80211_iface_work [mac80211]
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.180804] [<c0027d80>] (unwind_backtrace) from [<c0024500>] (show_stack+0x10/0x14)
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.188584] [<c0024500>] (show_stack) from [<c021779c>] (dump_stack+0x8c/0xa0)
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.195838] [<c021779c>] (dump_stack) from [<c0034e5c>] (warn_slowpath_common+0x94/0xb0)
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.203962] [<c0034e5c>] (warn_slowpath_common) from [<c0034f14>] (warn_slowpath_null+0x1c/0x24)
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.212799] [<c0034f14>] (warn_slowpath_null) from [<bf0849fc>] (___ieee80211_stop_tx_ba_session+0x1e8/0x1f8 [mac80211])
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.223749] [<bf0849fc>] (___ieee80211_stop_tx_ba_session [mac80211]) from [<bf084df0>] (__ieee80211_stop_tx_ba_session+0x2c/0x40 [mac80211])
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.236527] [<bf084df0>] (__ieee80211_stop_tx_ba_session [mac80211]) from [<bf089174>] (ieee80211_iface_work+0x1c0/0x610 [mac80211])
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.248510] [<bf089174>] (ieee80211_iface_work [mac80211]) from [<c00494a4>] (process_one_work+0x228/0x3bc)
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.258292] [<c00494a4>] (process_one_work) from [<c0049948>] (worker_thread+0x310/0x504)
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.266505] [<c0049948>] (worker_thread) from [<c004e65c>] (kthread+0xf0/0xf8)
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.273758] [<c004e65c>] (kthread) from [<c0009d38>] (ret_from_fork+0x14/0x3c)
Wed Nov  2 17:10:42 2016 kern.warn kernel: [74542.281021] ---[ end trace 09d229b863156d80 ]---
02.11.2016262Base systemBug ReportVery LowMediumTP-Link Archer C2600 LED's not working properlyTrunkUnconfirmed Task Description

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

JW


11.10.2016219ToolchainBug ReportVery LowMediumBad paths in SDK makefileTrunkUnconfirmed Task Description

I’m seeing this on fresh trunk during SDK “compilation”.

tar -xf - -C /home/diizzy/lede-testme-tarball/source/build_dir/target-mips_24kc_musl-1.1.15/lede-sdk-ar71xx-generic_gcc-5.4.0_musl-1.1.15.Linux-x86_64
find: '/home/diizzy/lede-testme-tarball/source/build_dir/target-mips_24kc_musl-1.1.15/lede-sdk-ar71xx-generic_gcc-5.4.0_musl-1.1.15.Linux-x86_64/staging_dir/host/usr/bin': No such file or directory
find: '/home/diizzy/lede-testme-tarball/source/build_dir/target-mips_24kc_musl-1.1.15/lede-sdk-ar71xx-generic_gcc-5.4.0_musl-1.1.15.Linux-x86_64/staging_dir/host/usr/lib': No such file or directory
Makefile:69: recipe for target '/home/diizzy/lede-testme-tarball/source/bin/targets/ar71xx/generic/lede-sdk-ar71xx-generic_gcc-5.4.0_musl-1.1.15.Linux-x86_64.tar.bz2' failed
make[3]: [/home/diizzy/lede-testme-tarball/source/bin/targets/ar71xx/generic/lede-sdk-ar71xx-generic_gcc-5.4.0_musl-1.1.15.Linux-x86_64.tar.bz2] Error 123 (ignored)
17.09.2016181Base systemBug ReportVery LowMediumChanging TX power doesn't nothing (MediaTek MT7628AN ve...TrunkUnconfirmed Task Description

Hello,

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

It is a Xiaomi Nano (lite).

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

30.08.2016126KernelBug ReportVery LowMediumkernel panic on brcm47xx (netgear wgt634u) when routing...TrunkUnconfirmed Task Description

With LEDE version reboot-1444-g1bb914d, when pulling data through the WAN interface to the LAN interface at a sufficiently high speed, e.g. on a Raspberry Pi connected by ethernet to a LAN port, and the WAN interface connected to a gigabit internet service and issuing a command like:

curl https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.7.2.tar.xz > /dev/null

From the pi, I see something like:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  9 86.2M    9 7977k    0     0  1834k      0  0:00:48  0:00:04  0:00:44 1835k[  352.295252] smsc95xx 1-1.1:1.0 eth0: link down
  9 86.2M    9 7977k    0     0  1255k      0  0:01:10  0:00:06  0:01:04 1155k[  353.959380] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
  9 86.2M    9 7977k    0     0  43292      0  0:34:48  0:03:08  0:31:40     0

or

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  8 86.2M    8 7440k    0     0  1478k      0  0:00:59  0:00:05  0:00:54 1478k[ 1100.164849] smsc95xx 1-1.1:1.0 eth0: link down
  8 86.2M    8 7440k    0     0  1232k      0  0:01:11  0:00:06  0:01:05 1300k[ 1101.836954] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
  8 86.2M    8 7440k    0     0   740k      0  0:01:59  0:00:10  0:01:49     0

Where the “link down” is the WGT634U panic’ing and rebooting. The panic on the WGT634U looks like this:

[  171.966841] CPU 0 Unable to handle kernel paging request at virtual address 008224d8, epc == 80077ecc, ra == 801d8100
[  171.977700] Oops[#1]:
[  171.980093] CPU: 0 PID: 3 Comm: ksoftirqd/0 Not tainted 4.1.20 #0
[  171.986265] task: 8181e008 ti: 8182a000 task.ti: 8182a000
[  171.991711] $ 0   : 00000000 1000b800 008224d8 b41c479b
[  171.997140] $ 4   : 008224d8 00010000 80361ef8 00000000
[  172.002557] $ 8   : 81018b14 8101da14 00100100 dceb27b8
[  172.007983] $12   : ffffffff 00000001 ffffff80 000042c6
[  172.013400] $16   : b41c479b 00000001 81b450a8 81b7d260
[  172.018817] $20   : 803b5dcc 00000002 00000008 0000000a
[  172.024235] $24   : 00000000 80072b24                  
[  172.029653] $28   : 8182a000 8182bdb8 00000100 801d8100
[  172.035083] Hi    : 00000000
[  172.038026] Lo    : 0000006c
[  172.041036] epc   : 80077ecc put_compound_page+0x78/0x240
[  172.046547] ra    : 801d8100 skb_release_data+0xa8/0x10c
[  172.051920] Status: 1000b803 KERNEL EXL IE 
[  172.056254] Cause : 00800008
[  172.059194] BadVA : 008224d8
[  172.062144] PrId  : 00029007 (Broadcom BMIPS3300)
[  172.066891] Modules linked in: pppoe ppp_async iptable_nat ath5k 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_id 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 iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables leds_gpio ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common ssb_hcd
[  172.132913] Process ksoftirqd/0 (pid: 3, threadinfo=8182a000, task=8181e008, tls=00000000)
[  172.141213] Stack : 1000b803 00000000 0000006c b41c479b 81b45080 801d8100 00000000 0000012c
          00000001 801e7d60 81becb60 81b7d260 81b7d260 80335b3c 81bece60 801d818c
          80360000 803623e0 81becb60 80335b3c 803623e0 801e63d8 8182be10 8182be10
          00000001 00000002 803b5dd0 00000001 803b5dd4 00000003 803b0000 80024fec
          81841048 80361100 819bb770 80007664 80364510 8181e008 80362898 04208040
          ...
[  172.178058] Call Trace:
[  172.180640] [<80077ecc>] put_compound_page+0x78/0x240
[  172.185822] [<801d8100>] skb_release_data+0xa8/0x10c
[  172.190895] [<801d818c>] __kfree_skb+0x28/0xb4
[  172.195466] [<801e63d8>] net_tx_action+0xd8/0x140
[  172.200329] [<80024fec>] __do_softirq+0x184/0x2b0
[  172.205184] [<80025140>] run_ksoftirqd+0x28/0x80
[  172.209953] [<8003bae0>] smpboot_thread_fn+0x148/0x178
[  172.215246] [<80039390>] kthread+0xdc/0xe8
[  172.219459] [<800010a8>] ret_from_kernel_thread+0x14/0x1c
[  172.224921] 
[  172.226470] 
Code: 30840001  0204100a  00402021 <8c420000> 000211c2  30420001  10400018  00000000  8e020000 
[  172.237022] ---[ end trace 89a3318b662df6d8 ]---
[  172.250536] Kernel panic - not syncing: Fatal exception in interrupt
[  172.262338] Rebooting in 3 seconds..

or

[ 1317.958261] Unhandled kernel unaligned access[#1]:
[ 1317.963173] CPU: 0 PID: 3 Comm: ksoftirqd/0 Not tainted 4.1.20 #0
[ 1317.969349] task: 8181e008 ti: 8182a000 task.ti: 8182a000
[ 1317.974795] $ 0   : 00000000 1000b801 00000001 00200000
[ 1317.980232] $ 4   : 647b394a 00010000 00018da4 00000000
[ 1317.985658] $ 8   : 8181e040 b1e1b104 00000017 40000000
[ 1317.991085] $12   : 500018dd 00000000 00000000 010102f2
[ 1317.996510] $16   : 80e4d1e0 00000001 80e4d208 81acb0e0
[ 1318.001936] $20   : 803b5dcc 00000002 00000008 0000000a
[ 1318.007362] $24   : 00000010 8001ead0                  
[ 1318.012789] $28   : 8182a000 8182bdd0 00000100 801d8100
[ 1318.018220] Hi    : 00000001
[ 1318.021160] Lo    : 00000001
[ 1318.024169] epc   : 80078474 put_page+0x0/0x4c
[ 1318.028732] ra    : 801d8100 skb_release_data+0xa8/0x10c
[ 1318.034104] Status: 1000b803 KERNEL EXL IE 
[ 1318.038439] Cause : 00800010
[ 1318.041380] BadVA : 647b394a
[ 1318.044330] PrId  : 00029007 (Broadcom BMIPS3300)
[ 1318.049076] Modules linked in: pppoe ppp_async iptable_nat ath5k 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_id 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 iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables leds_gpio ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common ssb_hcd
[ 1318.115124] Process ksoftirqd/0 (pid: 3, threadinfo=8182a000, task=8181e008, tls=00000000)
[ 1318.123424] Stack : 00000000 80c60c94 00db35c0 626a006e ff330000 81acb0e0 81acb0e0 80335b3c
          80c28260 801d818c 80360000 8004f368 00000018 0000000a 803623e0 801e63d8
          8182be10 8182be10 80361100 00000002 803b5dd0 00000001 803b5dd4 00000013
          803b0000 80024fec 80364510 80361100 80360000 8000736c 80364510 8181e008
          80362898 04208040 00018da4 80360000 80310000 803b5dcc 803615a0 803114f4
          ...
[ 1318.160295] Call Trace:
[ 1318.162885] [<80078474>] put_page+0x0/0x4c
[ 1318.167108] [<801d8100>] skb_release_data+0xa8/0x10c
[ 1318.172182] [<801d818c>] __kfree_skb+0x28/0xb4
[ 1318.176752] [<801e63d8>] net_tx_action+0xd8/0x140
[ 1318.181614] [<80024fec>] __do_softirq+0x184/0x2b0
[ 1318.186471] [<80025140>] run_ksoftirqd+0x28/0x80
[ 1318.191238] [<8003bae0>] smpboot_thread_fn+0x148/0x178
[ 1318.196530] [<80039390>] kthread+0xdc/0xe8
[ 1318.200744] [<800010a8>] ret_from_kernel_thread+0x14/0x1c
[ 1318.206200] 
[ 1318.207747] 
Code: 00003021  0801e0ce  24a57888 <8c820000> 3042c000  10400003  00801821  0801df95  00000000 
[ 1318.218397] ---[ end trace 2502a626803fb4b9 ]---
[ 1318.231740] Kernel panic - not syncing: Fatal exception in interrupt
[ 1318.243362] Rebooting in 3 seconds..

This looks similar to: https://dev.openwrt.org/ticket/11091

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

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

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

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

...

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

...
...

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

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

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

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

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

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

16.08.201694Base systemBug ReportVery LowMediumnetifd: PPPoE MTU problemTrunkNew Task Description

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

This leeds to log messages like this:


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


and MTUs other than what you really want.

example:


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

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

Regards,
Martin

05.07.201644Base systemBug ReportVery LowMediumAth9k - TX performance regression on greater coverage s...TrunkWaiting on reporter Task Description

Synopsis:

When increasing coverage distance on the transmitting device, frame aggregation is heavily reduced.
Even when conditions are perfect.

This is regression compared to the BarrierBreaker release.

Hardware used:
2x cns3xxx GW-2388, each containing a single SR71-15

Setup:
- 2 devices are 1 meter apart.
- RSSI = -40
- Completely free channel
- Using wpa_supplicant, AES2, HT20 rates, IBSS

Repro rate:
100%

Repro steps:
- Set coverage distance on device 1 to >10000m
- Set Device 1 as iperf client
- Set Device 2 as iperf server

Obervations:
- iwinfo and iw wlanx station dump reveal 130Mbit/s raw link rate and 45Mbps net throughput
- The actual throughput is stuck @ 7Mbit/s
- Checking debugfs-xmit reveals that frame aggregation is at a rate of 2 frames/s
- When setting the coverage range of device 1 to 50m, the aggregation rate is easily >5000 frames/s
- Switching to HT40 yields the same issues.

Other observations:
- Setting coverage to 12000m and starting the iperf yields 7Mbit/s
- setting coverage to 50m and starting iperf yields >55Mbit/s
- Setting coverage to 50m, starting iperf and increase coverage to >10000m while running reduces the rate to 25Mbit.

When stopping and restarting iperf it drops again to 7Mbit/s

In barrierbreaker release, increasing coverage distance to 10000m dropped to the throughput to ~50Mbit iso 7

13.06.20169KernelBug ReportVery LowMediumKernel panic with SQM scriptsTrunkUnconfirmed Task Description

When i select a script different than simplest.qos in the sqm list i get the log full of kernel panic message
If you need more information tell me.
To reproduce i have a wdr3600
just install the sqm package and select the script and watch the log
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.147796] ————[ cut here ]———— Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.147817] WARNING: CPU: 0 PID: 20621 at net/sched/sch_hfsc.c:1426 0x871e9e6c()
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.147825] 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_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCMon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148143] CPU: 0 PID: 20621 Comm: dropbear Tainted: G W 4.4.12 #1
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] Stack : 803dc584 00000000 00000001 80430000 8782a080 80426f63 803bdcb0 0000508d
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] 80493790 873e9f90 873e9c68 0000000a 00000100 800a6854 803c32bc 80420000
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] 00000003 873e9f90 803c16c8 8500fad4 00000100 800a4820 00000000 00000000
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148151] ...
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148240] Call Trace:
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148255] [<80071a94>] show_stack+0×50/0×84 Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148271] [<80081628>] warn_slowpath_common+0xa0/0xd0
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148286] [<800816dc>] warn_slowpath_null+0×18/0×24 Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148315] [<871e9e6c>] 0x871e9e6c
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148326]
Mon Jun 13 21:13:07 2016 kern.warn kernel: [30780.148335] —[ end trace ce6ca764afdc3e14 ]—

here the log i get a lot

19.08.2017970Base systemBug ReportVery LowLowmwl8k wireless driver sta mode maxed out sirq at low th...lede-17.01Unconfirmed Task Description

router: linksys ea4500v1
lede version: 17.01.2 (https://downloads.lede-project.org/releases/17.01.2/targets/kirkwood/generic/lede-17.01.2-kirkwood-linksys-viper-squashfs-factory.bin)

Observation:
1)
wireless client: EA4500 using STA mode on 5ghz radio
wireless AP: linksys wrt1900acv1 using AP mode on 5ghz radio
setup: iperf client ←-lan–> EA4500 ←-5ghz radio–> wrt1900acv1 ←-lan–> iperf server

iperf result:
38 Mbps with EA4500 sirq maxing out at 99%

2)
wireless client: EA4500 using STA mode on 2.4ghz radio
wireless AP: asus rtn12d1 using AP mode on 2.4ghz radio
setup: iperf client ←-lan–> EA4500 ←-2.4ghz radio–> rtn12d1 ←-lan–> iperf server

iperf result:
38 Mbps with EA4500 sirq maxing out at 99%

3)
wireless client: samsung galaxy note 5
wireless AP: EA4500 in AP mode on 5ghz radio
setup: iperf client ←-5ghz radio–> EA4500 ←-lan–> iperf server

iperf result:
142 Mbps with EA4500 sirq around 58%

4)
wireless client: samsung galaxy note 5
wireless AP: linksyswrt1900acv1
setup iperf client ←-5ghz radio–>linksyswrt1900acv1 ←-lan–> iperf server

iperf result
~220 Mbps

So the low throughput seems to be a problem specifically with EA4500 (mwl8k driver) using STA mode.

19.08.2017969Base systemBug ReportVery LowLowxtables-addons fails to compileTrunkUnconfirmed Task Description

xtables-addons package seems to fail compiling some modules due to missing dependencies. The recent kernel version update may have changed something. The failure seems to happen both with kernel 4.4 and 4.9

I have noticed the problem with kernel 4.4 based ar71xx build:

find /OwrtLEDE/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/xtables-addons-2.12/ipkg-mips_24kc/kmod-ipt-nathelper-rtsp -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
Package kmod-ipt-nathelper-rtsp is missing dependencies for the following libraries:
nf_conntrack.ko
nf_nat.ko
Makefile:128: recipe for target '/OwrtLEDE/lede/bin/targets/ar71xx/generic/packages/kmod-ipt-nathelper-rtsp_4.4.83+2.12-1_mips_24kc.ipk' failed
make[3]: *** [/OwrtLEDE/lede/bin/targets/ar71xx/generic/packages/kmod-ipt-nathelper-rtsp_4.4.83+2.12-1_mips_24kc.ipk] Error 1
make[3]: Leaving directory '/OwrtLEDE/lede/package/network/utils/xtables-addons'

And build000 has noticed similar problems with kmod-ipt-dhcpmac and kmod-ipt-ipmark:
https://github.com/openwrt/packages/issues/4733

Package kmod-ipt-dhcpmac is missing dependencies for the following libraries:
x_tables.ko
Makefile:134: recipe for target '/home/dom/Pulpit/Projekty/WNDR4700-LEDE-REBOOT/bin/targets/apm821xx/nand/packages/kmod-ipt-dhcpmac_4.9.44+2.12-1_powerpc_464fp.ipk' failed
make[3]: *** [/home/dom/Pulpit/Projekty/WNDR4700-LEDE-REBOOT/bin/targets/apm821xx/nand/packages/kmod-ipt-dhcpmac_4.9.44+2.12-1_powerpc_464fp.ipk] Error 1
make[3]: Leaving directory '/home/dom/Pulpit/Projekty/WNDR4700-LEDE-REBOOT/package/network/utils/xtables-addons'
package/Makefile:109: recipe for target 'package/network/utils/xtables-addons/compile' failed
make[2]: *** [package/network/utils/xtables-addons/compile] Error 2
18.08.2017967Base systemBug ReportMediumLowodhcp: does not honor 'ignore' on the dhcp sectionlede-17.01New Task Description

lede-17.01.2

TpLink wdr4300

uci set dhcp.lan.ignore=1

/etc/init.d/dnsmasq reload
/etc/init.d/odhcpd reload

still get an ipv6 address on br-lan

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

15.08.2017961KernelBug ReportVery LowLowmac80211 / warning / ieee80211_ibss_leave / 17.01lede-17.01Unconfirmed Task Description

spotted on COMFAST CF-E316N v2 with LEDE 17.01 r3131-42f3c1f(selfcompiled):
reproduce:No idea how to reproduce. Happens at random.8 hour
[26218.476892] ————[ cut here ]———— [26218.481825] WARNING: CPU: 0 PID: 12921 at compat-wireless-2016-10-08/net/mac80211/tx.c:979 ieee80211_probereq_get+0×368/0×1628 [mac80211]()
[26218.494548] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pptp pppox ppp_mppe ppp_generic nf_nat_pptp nf_nat_ipv4 nf_conntrack_pptp nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_u32 xt_time xt_statistic xt_state xt_recent xt_quota xt_physdev xt_owner xt_nat xt_multiport xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_addrtype xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_nat nf_log_ipv4 nf_log_common nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast nf_conntrack_amanda nf_conntrack iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat br_netfilter act_skbedit act_mirred em_u32 cls_tcindex cls_route sch_tbf sch_hfsc sch_ingress ip_gre gre ip_tunnel sha1_generic ecb gpio_button_hotplug cryptomgr aead crypto_null crypto_hash
[26218.601080] CPU: 0 PID: 12921 Comm: kworker/u2:2 Tainted: G W 4.4.47 #1
[26218.609046] Workqueue: phy0 ieee80211_ibss_leave [mac80211]
[26218.614698] Stack : 837a9000 0000001a 835bcb40 800a6798 83e0519c 803c8603 80366a2c 00003279

        80390920 83c41a8c 803c0000 800a4718 835bcb40 800a6798 8036bf18 803c0000
        00000003 83c41a8c 803c0000 80094780 835bcb40 83c41ac4 00000000 801ea7b4
        803c77b0 801ea700 83613adc 83f3a100 83f3a200 70687930 00000000 00000000
        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
        ...

[26218.651077] Call Trace:
[26218.653631] [<800a6798>] vprintk_default+0×24/0×30 [26218.658527] [<800a4718>] printk+0x2c/0×38 [26218.662612] [<800a6798>] vprintk_default+0×24/0×30 [26218.667505] [<80094780>] print_worker_info+0×148/0×174 [26218.672770] [<801ea7b4>] serial8250_console_putchar+0×0/0×44 [26218.678526] [<801ea700>] wait_for_xmitr+0×18/0xcc
[26218.683415] [<83613adc>] ieee80211_ibss_leave+0×338/0x196c [mac80211]
[26218.690027] [<80080f58>] warn_slowpath_common+0xa0/0xd0
[26218.695336] [<8019d39c>] dump_stack+0×14/0×28 [26218.699771] [<800711ec>] show_stack+0×50/0×84 [26218.704192] [<80080f58>] warn_slowpath_common+0xa0/0xd0
[26218.709600] [<83627f30>] ieee80211_probereq_get+0×368/0×1628 [mac80211]
[26218.716364] [<80081010>] warn_slowpath_null+0×18/0×24 [26218.721645] [<83627f30>] ieee80211_probereq_get+0×368/0×1628 [mac80211]
[26218.728557] [<8362ac48>] ieee80211_tx_dequeue+0x7a4/0x96c [mac80211]
[26218.735059] [<800a1640>] wake_bit_function+0×0/0×58 [26218.740191] [<834eaac8>] ath_assign_seq+0×374/0×600 [ath9k]
[26218.745982] [<83617e54>] ieee80211_get_tx_rates+0×208/0x63c [mac80211]
[26218.752723] [<834eabb0>] ath_assign_seq+0x45c/0×600 [ath9k]
[26218.758440] [<834eabb0>] ath_assign_seq+0x45c/0×600 [ath9k]
[26218.764155] [<834e91cc>] ath_stoprecv+0xe2c/0x11c0 [ath9k]
[26218.769810] [<834eb760>] ath_txq_schedule+0x7a4/0×818 [ath9k]
[26218.775759] [<834eb86c>] ath9k_wake_tx_queue+0×98/0xc0 [ath9k]
[26218.781822] [<836307e4>] ieee80211_wake_queue_by_reason+0×20/0×44 [mac80211]
[26218.789120] [<8360e43c>] ieee80211_send_bar+0x4fc/0×514 [mac80211]
[26218.795435] [<8009e994>] check_preempt_wakeup+0xe0/0×178 [26218.800962] [<8360f4dc>] ieee80211_process_addba_resp+0×190/0x2cc [mac80211]
[26218.808253] [<83613cfc>] ieee80211_ibss_leave+0×558/0x196c [mac80211]
[26218.814874] [<8009ef44>] pick_next_task_fair+0xe8/0x16c
[26218.820199] [<8009adec>] deactivate_task+0×60/0x8c
[26218.825118] [<800926b4>] process_one_work+0x1f8/0x32c
[26218.830311] [<800934b8>] worker_thread+0x2b0/0×400 [26218.835173] [<80093208>] worker_thread+0×0/0×400 [26218.839876] [<80093208>] worker_thread+0×0/0×400 [26218.844564] [<8009784c>] kthread+0xd8/0xec
[26218.848769] [<80097774>] kthread+0×0/0xec
[26218.852852] [<80060878>] ret_from_kernel_thread+0×14/0x1c
[26218.858334]
[26218.859864] —[ end trace a183d244c0d1ad7d ]—

 


14.08.2017960Base systemBug ReportVery LowLowx86: squashfs: overlay too small (108KB)TrunkUnconfirmed Task Description

Downloaded:

wget -O lede-17.01.2-x86-generic-combined-squashfs.img https://downloads.lede-project.org/releases/17.01.2/targets/x86/generic/lede-17.01.2-x86-generic-combined-squashfs.img


started:

kvm -snapshot lede-x86-generic-combined-squashfs.img -nographic
</code

Result: device stuck during initialization of /etc/config


I've looked at the df  output and noticed that the rootfs_data partition was too small to save anything on it:

<code>
root@(none):/# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 2.0M      2.0M         0 100% /rom
tmpfs                    57.1M     32.0K     57.1M   0% /tmp
/dev/loop0              109.0K      8.0K     94.0K   8% /overlay
overlayfs:/overlay      109.0K      8.0K     94.0K   8% /
/dev/sda1                15.7M      3.8M     11.6M  25% /boot
/dev/sda1                15.7M      3.8M     11.6M  25% /boot
tmpfs                   512.0K         0    512.0K   0% /dev

This is odd because the partition (sda2) is >200 MB in size and the squashfs is only ~2MB. Here is the configuration of loop0:

<pre>
root@(none):/# grep /sys/block/loop0/loop/*
/sys/block/loop0/loop/autoclear:0
/sys/block/loop0/loop/backing_file:/sda2
/sys/block/loop0/loop/dio:0
/sys/block/loop0/loop/offset:1966080
/sys/block/loop0/loop/partscan:0
/sys/block/loop0/loop/sizelimit:0
root@(none):/# grep
/sys/block/loop0/*
/sys/block/loop0/alignment_offset:0
/sys/block/loop0/badblocks:
/sys/block/loop0/capability:250
/sys/block/loop0/dev:7:0
/sys/block/loop0/discard_alignment:0
/sys/block/loop0/ext_range:256
/sys/block/loop0/inflight: 0 0
/sys/block/loop0/range:1
/sys/block/loop0/removable:0
/sys/block/loop0/ro:0
/sys/block/loop0/size:8350976
/sys/block/loop0/stat: 13 0 26 0 1 0 2 0 0 0 0
/sys/block/loop0/uevent:MAJOR=7
/sys/block/loop0/uevent:MINOR=0
/sys/block/loop0/uevent:DEVNAME=loop0
/sys/block/loop0/uevent:DEVTYPE=disk
root@(none):/# grep ‘’ /sys/block/sda/sda2/*
/sys/block/sda/sda2/alignment_offset:0
/sys/block/sda/sda2/dev:8:2
/sys/block/sda/sda2/discard_alignment:0
/sys/block/sda/sda2/inflight: 0 0
/sys/block/sda/sda2/partition:2
/sys/block/sda/sda2/ro:0
/sys/block/sda/sda2/size:8354816
/sys/block/sda/sda2/start:33792
/sys/block/sda/sda2/stat: 42 1451 3044 10 5 3 16 0 0 10 10
/sys/block/sda/sda2/uevent:MAJOR=8
/sys/block/sda/sda2/uevent:MINOR=2
/sys/block/sda/sda2/uevent:DEVNAME=sda2
/sys/block/sda/sda2/uevent:DEVTYPE=partition
/sys/block/sda/sda2/uevent:PARTN=2
</pre>

13.08.2017959Base systemBug ReportVery LowLowsh: more: not foundAllUnconfirmed Task Description

Any version
https://github.com/openwrt-routing/packages/issues/299#issuecomment-322051246

vtysh needs more but it can’t find it, is there a way to enable busybox more as a dependency ?
strange thing is that more is working in shell but not in vtysh,if I manually add more in menuconfig of busybox all is working

root@ap-gz:~# vtysh
Hello, this is FRRouting (version 3.0-rc1).
Copyright 1996-2005 Kunihiro Ishiguro, et al.

sh: more: not found
ap-gz# show ipv6 ospf6 route 
sh: more: not found
13.08.2017958Base systemBug ReportVery LowLowArcher C2600 - high latency over 5GHz wireless & no int...TrunkUnconfirmed Task Description

QCA9980 should have intermediate software queues. Intermediate software queues don’t seem to be working. The reqular mq qdisc is in use for the 5GHz wireless.

A previous build had high latency on the 5 GHz wireless interface. The latency was spiking to 20-50ms with a single client.

FS#957 is connected to this bug. The router might be unstable because of the other bug.

LEDE commit: df3295f50e54909090846de12f7deb3ff8de6557

 


03.08.2017950Base systemBug ReportVery LowLowcjdns LEDE support for arm_cortex-a15_neon-vfpv4TrunkUnconfirmed Task Description

Something went wrong with compliation?

Target: ipq806xSubtarget: genericPackage architecture: arm_cortex-a15_neon-vfpv4
Linux kokos 4.4.74 #0 SMP Fri Jul 14 21:36:50 2017 armv7l GNU/Linux

dmesg
```
[ 0.000000] Booting Linux on physical CPU 0×0 [ 0.000000] Linux version 4.4.74 (cezary@eko.one.pl) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3101-bce140e) ) #0 SMP Fri Jul 14 21:36:50 2017
[ 0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] Machine model: TP-Link Archer C2600

```

cli
```
root@kokos:~# opkg install cjdns luci-app-cjdns
Installing cjdns (0.17-3) to root...
Downloading http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/arm_cortex-a15_neon-vfpv4/routing/cjdns_0.17-3_arm_cortex-a15_neon-vfpv4.ipk Installing luci-app-cjdns (1.3-5) to root...
Downloading http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/arm_cortex-a15_neon-vfpv4/routing/luci-app-cjdns_1.3-5_arm_cortex-a15_neon-vfpv4.ipk Configuring cjdns.
Segmentation fault
Segmentation fault
dkjson: no valid JSON value (reached the end) (try cjdroute –cleanconf)
Segmentation fault
Segmentation fault
dkjson: no valid JSON value (reached the end) (try cjdroute –cleanconf)
Segmentation fault
Segmentation fault
dkjson: no valid JSON value (reached the end) (try cjdroute –cleanconf)
Configuring luci-app-cjdns.
root@kokos:~# cjdroute –cleanconf
Segmentation fault

root@kokos:~# gdb cjdroute
GNU gdb (GDB) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type “show copying” and “show warranty” for details.
This GDB was configured as “arm-openwrt-linux”.
Type “show configuration” for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type “help”.
Type “apropos word” to search for commands related to “word”...
Reading symbols from cjdroute...(no debugging symbols found)...done.
(gdb)

```

03.08.2017949KernelBug ReportVery LowLowmt7620/1/8 ethernet link states inconsistentTrunkUnconfirmed Task Description

On the MT7620, initial state of eth0 is always UNKNOWN with carrier up. If booted with no cable, attaching and detaching will flip to state DOWN and no carrier, and if booted with a cable attached, detaching does the same. I’d swear to seeing it get stuck in UNKNOWN, but I’m having trouble reproducing that.

On the MT7621 and MT7628 devices, link state is always UNKNOWN and carrier up - no response to cable attach and detach is seen no matter the initial cable state.

Test devices are a GLi MT300N (MT7620N), TP-Link RE350 (MT7621A), and UniElec 7628N-01 (MT7628NN, this is not in-tree, it’s a small module I’m toying with).

This causes issues with, for example, netdev LED triggers.

01.08.2017944PackagesBug ReportVery LowLowfirewall3 isn't holding iptables lockTrunkUnconfirmed Task Description

I was first thinking that my missing iptables rules are related to the bug FS#943. But it looks like firewall3 is not holding the iptables lock via the option “-w”. This is unsafe because multiple iptables process may try to change a table at the same time and thus overwrite the final results of another iptables process.

The -w functionality for iptables-restore can be found in https://git.netfilter.org/iptables/commit/?id=999eaa241212d3952ddff39a99d0d55a74e3639e

30.07.2017941Base systemBug ReportVery LowLowkernel error: mt7621 -> CPU: 2 PID: 7629 at net/core/sk...TrunkUnconfirmed Task Description

hello
today tested with iperf the throughput of current lede trunk (mt7621) zbt-3526

this image:
zbt-wg3526-16M-squashfs-sysupgrade.bin 1981770aa6fc723379e978f85143767ef373b6d30ef6fee3ce18338a0bd19980 3840.2 KB Sat Jul 29 14:07:44 2017

and got this error:

kernel error:
Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.704979] ————[ cut here ]———— Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.709668] WARNING: CPU: 2 PID: 7629 at net/core/skbuff.c:4343 skb_try_coalesce+0x22c/0×348 Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.718145] Modules linked in: pppoe ppp_async option usb_wwan pptp pppox ppp_mppe ppp_generic nf_nat_pptp nf_conntrack_pptp 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_NETMAP xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbserSun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.789814] nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt fuse sch_cake nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress mt76x2e mt7603e ledtrig_usbport mt76 mac80211 cfg80211 compat xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.885965] CPU: 2 PID: 7629 Comm: iperf Not tainted 4.9.40 #0
Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.891795] Stack : 00000000 00000000 80547b2a 00000032 80402a24 00000000 00000000 80540000
Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.900204] 8fe9831c 804e7ea7 8047ea2c 00000002 00001dcd 80543824 00000001 80580000
Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.908568] 000005a8 800699c0 00000001 80540000 804edfc4 804edfc8 80483614 8e9a9bac
Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.917044] 00000003 800a78c8 00000001 80580000 000005a8 00000000 8ef60000 009a9bac
Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.925429] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.933839] ...
Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.936324] Call Trace:
Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.938838] [<8000f7b4>] show_stack+0×54/0×88 Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.943215] [<801db744>] dump_stack+0×84/0xc0
Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.947576] [<8002a434>] warn+0xe4/0×118 Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.951660] [<8002a4fc>] warn_slowpath_null+0x1c/0×30 Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.956735] [<802d3288>] skb_try_coalesce+0x22c/0×348 Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.961856] [<80337ae0>] tcp_try_coalesce+0x4c/0xd0
Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.966804] [<80337bc4>] tcp_queue_rcv+0×60/0x12c
Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.971509] [<8033d42c>] tcp_rcv_established+0×300/0×608 Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.976827] [<80345fe0>] tcp_v4_do_rcv+0xa0/0x1f8
Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.981527] [<802cd4d0>]
release_sock+0xb8/0×124 Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.986317] [<802cd7d4>] release_sock+0×34/0×94 Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.990907] [<803326ec>] tcp_recvmsg+0x5ec/0×928 Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 769.995579] [<8035c020>] inet_recvmsg+0×90/0xac
Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 770.000111] [<802cb48c>] SyS_recvfrom+0xa8/0x11c
Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 770.004743] [<80016858>] syscall_common+0×34/0×58 Sun Jul 30 13:24:58 2017 kern.warn kernel: [ 770.009995] —[ end trace c00a3e5617713e15 ]—

and then also
any idea what can be the reason for it ?

25.07.2017932KernelBug ReportVery LowLowTP-Link WR841N: mixed VLANs on the same portTrunkWaiting on reporter Task Description

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

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

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

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

swconfig dev switch0 show
    Global attributes:
            enable_vlan: 1
    Port 0:
            pvid: 1
            link: port:0 link:up speed:1000baseT full-duplex txflow rxflow
    Port 1:
            pvid: 1
            link: port:1 link:down
    Port 2:
            pvid: 1
            link: port:2 link:down
    Port 3:
            pvid: 1
            link: port:3 link:down
    Port 4:
            pvid: 1
            link: port:4 link:up speed:100baseT full-duplex auto
    VLAN 1:
            vid: 1
            ports: 0t 1t 2t 3t 4t
    VLAN 2:
            vid: 2
            ports: 0t 1t 2t 3t 4t
24.07.2017928Base systemBug ReportVery LowLowUnable to turn on Archer C7 v2 5GHz wirelesslede-17.01Unconfirmed Task Description

I try to configure 5ghz wireless on my archer c7 v2, unfortunately it seems unable to use the 5ghz.

I have no issue with 2.4ghz wireless.

root@router:~# dmesg | grep ath10k
[   11.241081] ath10k_pci 0000:01:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   11.464017] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
[   11.474900] ath10k_pci 0000:01:00.0: Falling back to user helper
[   11.692369] firmware ath10k!pre-cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
[   11.701731] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-0000:01:00.0.bin failed with error -2
[   11.712258] ath10k_pci 0000:01:00.0: Falling back to user helper
[   23.047311] ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   23.056705] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   23.069779] ath10k_pci 0000:01:00.0: firmware ver 10.2.4-1.0-00016 api 5 features no-p2p,raw-mode,mfp crc32 0c5668f8
[   23.080566] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[   23.091168] ath10k_pci 0000:01:00.0: Falling back to user helper
[   23.182327] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[   23.204043] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   24.391201] ath10k_pci 0000:01:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
root@router:~# iw list
Wiphy phy1
	max # scan SSIDs: 4
	max scan IEs length: 2257 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 AP-side u-APSD.
	Device supports T-DLS.
	Available Antennas: TX 0x7 RX 0x7
	Configured Antennas: TX 0x7 RX 0x7
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
		 * P2P-client
		 * P2P-GO
		 * outside context of a BSS
	Band 1:
		Capabilities: 0x11ef
			RX LDPC
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			RX STBC 1-stream
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-23
		Frequencies:
			* 2412 MHz [1] (25.0 dBm)
			* 2417 MHz [2] (25.0 dBm)
			* 2422 MHz [3] (25.0 dBm)
			* 2427 MHz [4] (25.0 dBm)
			* 2432 MHz [5] (25.0 dBm)
			* 2437 MHz [6] (25.0 dBm)
			* 2442 MHz [7] (25.0 dBm)
			* 2447 MHz [8] (25.0 dBm)
			* 2452 MHz [9] (25.0 dBm)
			* 2457 MHz [10] (25.0 dBm)
			* 2462 MHz [11] (25.0 dBm)
			* 2467 MHz [12] (disabled)
			* 2472 MHz [13] (disabled)
			* 2484 MHz [14] (disabled)
	valid interface combinations:
		 * #{ managed } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO } <= 1, #{ IBSS } <= 1,
		   total <= 2048, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz }

	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
Wiphy phy0
	max # scan SSIDs: 16
	max scan IEs length: 199 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 AP-side u-APSD.
	Available Antennas: TX 0x7 RX 0x7
	Configured Antennas: TX 0x7 RX 0x7
	Supported interface modes:
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
	Band 2:
		Capabilities: 0x19ef
			RX LDPC
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			RX STBC 1-stream
			Max AMSDU length: 7935 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-23
		VHT Capabilities (0x338001b2):
			Max MPDU length: 11454
			Supported Channel Width: neither 160 nor 80+80
			RX LDPC
			short GI (80 MHz)
			TX STBC
			RX antenna pattern consistency
			TX antenna pattern consistency
		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:
			* 5180 MHz [36] (23.0 dBm)
			* 5200 MHz [40] (23.0 dBm)
			* 5220 MHz [44] (23.0 dBm)
			* 5240 MHz [48] (23.0 dBm)
			* 5260 MHz [52] (23.0 dBm) (radar detection)
			* 5280 MHz [56] (23.0 dBm) (radar detection)
			* 5300 MHz [60] (23.0 dBm) (radar detection)
			* 5320 MHz [64] (23.0 dBm) (radar detection)
			* 5500 MHz [100] (23.0 dBm) (radar detection)
			* 5520 MHz [104] (23.0 dBm) (radar detection)
			* 5540 MHz [108] (23.0 dBm) (radar detection)
			* 5560 MHz [112] (23.0 dBm) (radar detection)
			* 5580 MHz [116] (23.0 dBm) (radar detection)
			* 5600 MHz [120] (23.0 dBm) (radar detection)
			* 5620 MHz [124] (23.0 dBm) (radar detection)
			* 5640 MHz [128] (23.0 dBm) (radar detection)
			* 5660 MHz [132] (23.0 dBm) (radar detection)
			* 5680 MHz [136] (23.0 dBm) (radar detection)
			* 5700 MHz [140] (23.0 dBm) (radar detection)
			* 5720 MHz [144] (23.0 dBm) (radar detection)
			* 5745 MHz [149] (30.0 dBm)
			* 5765 MHz [153] (30.0 dBm)
			* 5785 MHz [157] (30.0 dBm)
			* 5805 MHz [161] (30.0 dBm)
			* 5825 MHz [165] (30.0 dBm)
			* 5845 MHz [169] (disabled)
	valid interface combinations:
		 * #{ AP, mesh point } <= 8, #{ managed } <= 1,
		   total <= 8, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz }

	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Device supports VHT-IBSS.
23.07.2017925Base systemBug ReportVery LowLowLinksys WRT3200ACM dnscrypt start but the disappear at ...TrunkUnconfirmed Task Description

I’m using dnscrypt in an Archer C7 and it’s working. I have configured it also in a WRT3200ACM but when the router starts it’s started but then it disappears without any error message.

If I enter into ssh and execute /etc/init.d/dnscrypt-proxy restart or start it then works right.

In logread at boot appears:

Sun Jul 16 02:15:11 2017 user.info : dnscrypt-proxy + DNS Security Extensions are supported
Sun Jul 16 02:15:11 2017 user.info : dnscrypt-proxy + Namecoin domains can be resolved
Sun Jul 16 02:15:11 2017 user.info : dnscrypt-proxy + Provider supposedly doesn't keep logs
Sun Jul 16 02:15:11 2017 daemon.notice dnscrypt-proxy[1224]: dnscrypt-proxy Starting dnscrypt-proxy 1.9.4
Sun Jul 16 02:15:11 2017 daemon.info dnscrypt-proxy[1224]: dnscrypt-proxy Generating a new session key pair
Sun Jul 16 02:15:11 2017 kern.info kernel: [ 14.200566] mwifiex_sdio mmc0:0001:1: CMD_RESP: cmd 0x242 error, result=0x2
Sun Jul 16 02:15:11 2017 kern.info kernel: [ 14.207718] mwifiex_sdio mmc0:0001:1: mwifiex_process_cmdresp: cmd 0x242 failed during initialization
Sun Jul 16 02:15:11 2017 daemon.info dnscrypt-proxy[1224]: dnscrypt-proxy Done

And no more messages about dnscrypt are shown, but also dnscrypt doesn’t shown in ssh with ps, until the mentioned manual start is done.

Perhaps there is a problem with dnscrypt if it starts before there is an active internet connection?

22.07.2017922KernelBug ReportVery LowLowkernel: 3g-4G: recursion detectedTrunkUnconfirmed Task Description

Hello,
since new trunk version i see errors in logs about 3g-4g connection ...

any idea what can be the problem ?

i guess it is something related to kernel 4.9
it was no on kernel 4.4.x....

how i do is:
installing 3g-4G packages ...

#3g/4g + luci (https://wiki.openwrt.org/doc/recipes/3gdongle)
opkg install chat #–force-reinstall
opkg install comgt #–force-reinstall
opkg install luci-proto-3g #–force-reinstall
opkg install kmod-usb-serial #–force-reinstall
opkg install kmod-usb-serial-option #–force-reinstall
opkg install kmod-usb-serial-wwan #–force-reinstall #(mostly added now in current release or trunk)
#3ginfo package
opkg install http://dl.eko.one.pl/chaos_calmer/ar71xx/packages/3ginfo-text_20170524_all.ipk #opkg install http://dl.eko.one.pl/chaos_calmer/ar71xx/packages/3ginfo__20170524_all.ipk –force-checksum –force-reinstall

then after starting the 3g-4G .. i get this: almost every 1-2 secs ...

Sat Jul 22 12:14:55 2017 kern.err kernel: [ 229.200000] 3g-4G: recursion detected
Sat Jul 22 12:14:56 2017 kern.err kernel: [ 230.210000] 3g-4G: recursion detected
....

any idea what can be related to this bug ?

 


19.07.2017917Base systemBug ReportVery LowLowTunnels not vavalaiable in Realtime GraphsAllUnconfirmed Task Description

In OpenWRT, IPENCAP tunnels appeared in Realtime Graphs > Traffic of the LuCI web application.

After upgrading to LEDE 17, these interfaces no longer appear in the Realtime Graphs menu.

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

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

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

19.07.2017915Base systemBug ReportVery LowLowWRT54GS v1.1 Power LED flashes & leds-gpio fails to loa...AllUnconfirmed Task Description

The leds-gpio module fails to load on WRT54GS v1.1 with this error message in the console:
“leds-gpio: probe of leds-gpio failed with error -16” This applies both to OpenWRT 15.05.1 and LEDE 17.01.2 as well as the latest Snapshot.

The nvram variable “boardtype” is 0×0708 on this device.
In leds.c this gets mapped to “bcm47xx_leds_linksys_wrt54g_generic” http://elixir.free-electrons.com/linux/latest/source/arch/mips/bcm47xx/leds.c#L677

With the following layout:

BCM47XX_GPIO_LED(0, "unk", "dmz", 1, LEDS_GPIO_DEFSTATE_OFF),
BCM47XX_GPIO_LED(1, "unk", "power", 0, LEDS_GPIO_DEFSTATE_ON),
BCM47XX_GPIO_LED(5, "white", "wps", 1, LEDS_GPIO_DEFSTATE_OFF),
BCM47XX_GPIO_LED(7, "orange", "wps", 1, LEDS_GPIO_DEFSTATE_OFF),

But this layout is invalid because this board does not have the “SecureEasySetup” WPS button.
GPIO5 is used by the reset button, that is why leds-gpio fails with error -16 (Device or resource busy).

As a quick test I changed the “boardtype” to 0×0101, leds-gpio can then load successfully and the power LED no longer flashes.
That layout is however not correct for the WRT54GS, the actual layout is:

Name	GPIO	Polarity
WLAN	0	Active low
POWER	1	Active high
DMZ	7	Active low

The problem in the source is that “boardtype” 0×0708 is not a unique identifier.
That actually matches several WRT54G v2 > v3.1 devices, and apparently also WRT54GS up to revision 2.1 that has the WPS button.
See the following old bug report for a list: https://lists.openwrt.org/pipermail/openwrt-devel/2014-June/025868.html

So the proper fix would be to introduce the variable “boardflags” as well into the code:
http://elixir.free-electrons.com/linux/latest/source/arch/mips/bcm47xx/board.c#L297

It is also worth noting that the reason the Power LED flickers is due to it’s hardware implementation.
The LED can only be on or flashing, the flashing is done by an oscillator on the board itself.
Ref: https://bugs.lede-project.org/index.php?do=details&task_id=793

17.07.2017914KernelBug ReportVery LowLowLEDE vs. OpenWrt startup speedTrunkUnconfirmed Task Description

- TP-LINK TL-MR22U
- Reboot (SNAPSHOT, r4570-462ca4e)
- DESIGNATED DRIVER (Bleeding Edge, 49946)
- Flash image, set password, reboot device. Blue LED blinks for ~50 seconds before it goes solid on LEDE build and only for ~15 seconds on OpenWrt build. It might be related to filesystem bug described in https://bugs.lede-project.org/index.php?do=details&task_id=510

17.07.2017911OtherBug ReportVery LowLowProblem with login into private git reposAllWaiting on reporter Task Description

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

Here is the verbose log output:

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

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


16.07.2017909Base systemBug ReportVery LowLowrunas wrapper executes programs using wrong interpreterTrunkRequires testing Task Description

I happen to run a system having no easily accessible binary interpreter (that is, there is no `/lib64`).

Some time ago a wrapper for binaries was introduced. The issue with this wrapper is that instead of using bundled `ld-linux-x86-64.so.2`, it executes the program by calling `execve`, which will try to use the system interpreter (and fail, in my case). In other words, all the bundled dynamic loader business is now out of work; the same result could be achieved by executing the binary directly.

This works:

[staging_dir/host]$ ./lib/ld-linux-x86-64.so.2 --library-path ./lib/ ./bin/.uuidgen.bin
fb85483b-e891-4dbd-badb-43361fc954f3

This does not:

[staging_dir/host]$ ./lib/ld-linux-x86-64.so.2 --library-path ./lib/ ./lib/runas ./bin/.uuidgen.bin uuidgen
[staging_dir/host]$ echo $?
255
[staging_dir/host]$ strace ./lib/ld-linux-x86-64.so.2 --library-path ./lib/ ./lib/runas ./bin/.uuidgen.bin uuidgen
execve("./lib/ld-linux-x86-64.so.2", ["./lib/ld-linux-x86-64.so.2", "--library-path", "./lib/", "./lib/runas", "./bin/.uuidgen.bin", "uuidgen"], 0x7ffe055921b8 /* 69 vars */) = 0
brk(NULL)                               = 0x55c6f060e000
open("./lib/runas", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\2\0>\0\1\0\0\0\240\4@\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=7048, ...}) = 0
getcwd("/home/kirelagin/openwrt/lede-imagebuilder-17.01.2-ar71xx-generic.Linux-x86_64/staging_dir/host", 128) = 95
mmap(0x400000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x400000
mmap(0x600000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x600000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f157c858000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("./lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("./lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("./lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("./lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\34\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1738176, ...}) = 0
getcwd("/home/kirelagin/openwrt/lede-imagebuilder-17.01.2-ar71xx-generic.Linux-x86_64/staging_dir/host", 128) = 95
mmap(NULL, 3844640, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f157c4ad000
mprotect(0x7f157c64e000, 2097152, PROT_NONE) = 0
mmap(0x7f157c84e000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a1000) = 0x7f157c84e000
mmap(0x7f157c854000, 14880, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f157c854000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f157c4ac000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f157c4ab000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f157c4aa000
arch_prctl(ARCH_SET_FS, 0x7f157c4ab700) = 0
mprotect(0x7f157c84e000, 16384, PROT_READ) = 0
mprotect(0x55c6f00e8000, 4096, PROT_READ) = 0
execve("./bin/.uuidgen.bin", ["uuidgen"], 0x7ffd9e14e360 /* 69 vars */) = -1 ENOENT (No such file or directory)
exit_group(-1)                          = ?
+++ exited with 255 +++
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.

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
13.07.2017903Base systemBug ReportVery LowLowPB44 board vsc7385 don't workTrunkUnconfirmed Task Description

use the lede head code ,make the PB44 code, the PB44 borad can work ,but the lan deivice not good. From the log Just fond the vsc7358 switch not work


12.07.2017901Base systemBug ReportVery LowLowUSB not working on MikroTik hAP ac TrunkUnconfirmed Task Description

Only affecting hAP ac / RB962UiGS-5HacT2HnT

Tested with LEDE trunk in April, no relevant commits to device since.

GPIO to control USB power works, and USB controller appears in dmesg on boot. Upon connecting any device, it is not recognised and there are no kernel messages. Same devices work (albeit via internal hub) on Archer C7 v2 using same SoC.

Bug independently verified by another user, not a hardware defect with a single unit.

I am aware of the irony that I contributed the support for this device, and reported USB as working. I was only looking for the controller to be recognised and neglected to test with an actual USB device until after this was merged. My bad. Logging as a bug so that anyone who finds it not working can at least see a record and know to direct their blame towards me :)

08.07.2017898Base systemBug ReportVery LowLowmt7620 does not support 802.11wlede-17.01Unconfirmed Task Description

LEDE Reboot 17.01.2 r3435-65eec8bd5f on Netgear WN3000RPv3 (ramips/mt7620)

Image built with wpad-full

Setting 802.11w to anything other than disabled results in hostapd failing to initialize the interface:

Sat Jul 8 19:54:29 2017 kern.info kernel: [ 110.273913] device wlan0 left promiscuous mode
Sat Jul 8 19:54:29 2017 kern.info kernel: [ 110.282943] br-lan: port 2(wlan0) entered disabled state
Sat Jul 8 19:54:30 2017 daemon.notice hostapd: wlan0: interface state ENABLED→DISABLED
Sat Jul 8 19:54:30 2017 daemon.notice hostapd: wlan0: AP-DISABLED
Sat Jul 8 19:54:30 2017 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Sat Jul 8 19:54:30 2017 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sat Jul 8 19:54:30 2017 daemon.notice hostapd: nl80211: Failed to remove interface wlan0 from bridge br-lan: Invalid argument
Sat Jul 8 19:54:31 2017 daemon.notice netifd: radio0 (1076): command failed: Not supported (-122)
Sat Jul 8 19:54:31 2017 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Sat Jul 8 19:54:32 2017 kern.info kernel: [ 112.823292] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sat Jul 8 19:54:32 2017 kern.info kernel: [ 112.873796] device wlan0 entered promiscuous mode
Sat Jul 8 19:54:32 2017 daemon.notice hostapd: wlan0: interface state UNINITIALIZED→COUNTRY_UPDATE
Sat Jul 8 19:54:32 2017 daemon.err hostapd: Using interface wlan0 with hwaddr aa:bb:cc:dd:ee:ff and ssid “myssid” Sat Jul 8 19:54:32 2017 kern.info kernel: [ 113.436915] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Sat Jul 8 19:54:32 2017 kern.info kernel: [ 113.449757] br-lan: port 2(wlan0) entered forwarding state
Sat Jul 8 19:54:32 2017 kern.info kernel: [ 113.460761] br-lan: port 2(wlan0) entered forwarding state
Sat Jul 8 19:54:32 2017 daemon.err hostapd: Interface initialization failed
Sat Jul 8 19:54:32 2017 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE→DISABLED
Sat Jul 8 19:54:32 2017 daemon.notice hostapd: wlan0: AP-DISABLED
Sat Jul 8 19:54:32 2017 daemon.err hostapd: wlan0: Unable to setup interface.
Sat Jul 8 19:54:32 2017 daemon.notice hostapd: wlan0: interface state DISABLED→DISABLED
Sat Jul 8 19:54:32 2017 daemon.notice hostapd: wlan0: AP-DISABLED
Sat Jul 8 19:54:32 2017 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Sat Jul 8 19:54:32 2017 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn’t started
Sat Jul 8 19:54:32 2017 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sat Jul 8 19:54:32 2017 kern.info kernel: [ 113.478814] device wlan0 left promiscuous mode
Sat Jul 8 19:54:32 2017 kern.info kernel: [ 113.487820] br-lan: port 2(wlan0) entered disabled state
Sat Jul 8 19:54:32 2017 daemon.notice hostapd: ELOOP: remaining socket: sock=22 eloop_data=0x771caa90 user_data=0 handler=0x420d69
Sat Jul 8 19:54:33 2017 daemon.notice netifd: radio0 (1076): Device setup failed: HOSTAPD_START_FAILED

HTH

06.07.2017893KernelBug ReportVery LowLowLEDE 17.01.2 rpi-3 kmod-usb-net package issueslede-17.01Unconfirmed Task Description

the kernel for rpi-3 uses CONFIG_USB_USBNET=y, therefore kmod-usb-net is a stub package which does effectively not contain usbnet.ko.

unfortunately, kmod-usb-net.postinst-pkg still tries to insert the module (insert_modules usbnet), which never works.

also, /etc/modules.d/usb-net still contains “usbnet”.

06.07.2017890Base systemBug ReportVery LowLowWNDR3400v1 brcmsmac fails to attach phy0 & phy1, error ...TrunkUnconfirmed Task Description

On my Netgear WNDR3400v1, WiFi doesn’t work with the brcmsmac driver, it should.

Here is the error in dmesg upon loading the brcmsmac driver:

[   13.922244] brcmsmac bcma0:1: mfg 4bf core 812 rev 17 class 0 irq 3
[   13.928938] ieee80211 phy0: wl0: brcms_b_attach: Unsupported Broadcom board type (0xb4cf) or revision level (0x0)
[   13.939483] ieee80211 phy0: wl0: brcms_b_attach: failed with err 15
[   13.945869] ieee80211 phy0: wl0: brcms_c_attach: failed with err 15
[   13.952317] ieee80211 phy0: brcmsmac: attach() failed with code 15
[   13.958605] brcmsmac: brcms_bcma_probe: brcms_attach failed!
[   13.964536] brcmsmac bcma1:1: mfg 4bf core 812 rev 23 class 0 irq 6
[   13.971222] bcma: bus1: Switched to core: 0x812
[   13.971613] ieee80211 phy1: wl0: brcms_b_attach: Unsupported Broadcom board type (0xb4cf) or revision level (0x0)
[   13.982136] ieee80211 phy1: wl0: brcms_b_attach: failed with err 15
[   13.988517] ieee80211 phy1: wl0: brcms_c_attach: failed with err 15
[   13.994965] ieee80211 phy1: brcmsmac: attach() failed with code 15
[   14.001311] brcmsmac: brcms_bcma_probe: brcms_attach failed!

It seems it is reading the revision level incorrectly, and refusing to load.

nvram show displays:

boardnum=01
boardtype=0xb4cf
boardrev=0x1100

System Information:

Reboot (SNAPSHOT, r4529-05d6e92)

root@lede:~# cat /etc/openwrt_release 
DISTRIB_ID='LEDE'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r4529-05d6e92'
DISTRIB_CODENAME='reboot'
DISTRIB_TARGET='brcm47xx/mips74k'
DISTRIB_ARCH='mipsel_74kc'
DISTRIB_DESCRIPTION='LEDE Reboot SNAPSHOT r4529-05d6e92'
DISTRIB_TAINTS='no-all'

root@lede:~# uname -a
Linux lede 4.4.74 #0 Sun Jul 2 21:10:06 2017 mips GNU/Linux

   
[ logread ]
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    0.000000] Linux version 4.4.74 (buildbot@builds) (gcc version 5.4.0 (LEDE GCC 5.4.0 r4456-d98cafc) ) #0 Sun Jul 2 21:10:06 2017
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] CPU0 revision is: 00019740 (MIPS 74Kc)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcm47xx: Using bcma bus
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Found chip with id 0x4716, rev 0x01 and package 0x0A
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Determined physical RAM map:
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000]  memory: 04000000 @ 00000000 (usable)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Initrd not found or empty - disabling initrd
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Zone ranges:
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000]   HighMem  empty
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Movable zone start for each node
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Early memory node ranges
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.000000] On node 0 totalpages: 16384
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.000000] free_area_init_node: node 0, pgdat 803a64c0, node_mem_map 81000000
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.000000]   Normal zone: 128 pages used for memmap
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.000000]   Normal zone: 0 pages reserved
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.000000]   Normal zone: 16384 pages, LIFO batch:3
Wed Jul  5 22:22:41 2017 kern.warn kernel: [    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
Wed Jul  5 22:22:41 2017 kern.warn kernel: [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0 
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    0.000000] Kernel command line:  noinitrd console=ttyS0,115200
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Writing ErrCtl register=00000000
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Readback ErrCtl register=00000000
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] Memory: 60556K/65536K available (3002K kernel code, 134K rwdata, 696K rodata, 188K init, 294K bss, 4980K reserved, 0K cma-reserved, 0K highmem)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] NR_IRQS:128
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x1F, class 0x0)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x11, class 0x0)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x00, class 0x0)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0x01, class 0x0)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id 0x819, rev 0x04, class 0x0)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Core 5 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0E, class 0x0)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Core 6 found: DDR1/DDR2 Memory Controller (manuf 0x4BF, id 0x82E, rev 0x01, class 0x0)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Core 7 found: Internal Memory (manuf 0x4BF, id 0x80E, rev 0x07, class 0x0)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Core 8 found: I2S (manuf 0x4BF, id 0x834, rev 0x00, class 0x0)
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.000000] bcma: bus0: Found rev 5 PMU (capabilities 0x11242C05)
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.000000] bcma: bus0: Found serial flash
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Found M25P64 serial flash (size: 8192KiB, blocksize: 0x10000, blocks: 128)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcma: bus0: Early bus registered
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] MIPS: machine is Unknown Board
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] bcm47xx: Setting up vectored interrupts
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 8438235966 ns
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000015] sched_clock: 32 bits at 226MHz, resolution 4ns, wraps every 9481163773ns
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.000088] Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.070063] pid_max: default: 32768 minimum: 301
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.070318] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.070345] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.074642] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.074715] futex hash table entries: 256 (order: -1, 3072 bytes)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.076193] NET: Registered protocol family 16
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.099321] clocksource: Switched to clocksource MIPS
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.101966] NET: Registered protocol family 2
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.103621] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.103678] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.103719] TCP: Hash tables configured (established 1024 bind 1024)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.103896] UDP hash table entries: 256 (order: 0, 4096 bytes)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.103944] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.104461] NET: Registered protocol family 1
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.104612] PCI: CLS 0 bytes, default 32
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.113504] bcma: bus0: Using SPROM revision 0 provided by platform.
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.113545] bcma: bus0: PMU resource config unknown or not needed for device 0x4716
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115561] bcma: bus0: Workarounds unknown or not needed for device 0x4716
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115580] bcma: bus0: Initializing MIPS core...
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115601] bcma: bus0: Moved i2s interrupt to oob line 7 instead of 8
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115628] bcma: bus0: set_irq: core 0x0812, irq 3 => 3
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115651] bcma: bus0: set_irq: core 0x082d, irq 4 => 4
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115674] bcma: bus0: set_irq: core 0x0819, irq 5 => 5
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115697] bcma: bus0: set_irq: core 0x0820, irq 6 => 6
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115718] bcma: bus0: set_irq: core 0x0800, irq 2 => 2
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115741] bcma: bus0: set_irq: core 0x0834, irq 0 => 2
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115756] bcma: bus0: IRQ reconfiguration done
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115772] bcma: core 0x0800, irq : 2(S)* 3  4  5  6  D  I 
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115825] bcma: core 0x0812, irq : 2(S)  3* 4  5  6  D  I 
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115869] bcma: core 0x082d, irq : 2(S)  3  4* 5  6  D  I 
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115913] bcma: core 0x082c, irq : 2(S)  3  4  5  6  D  I*
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.115957] bcma: core 0x0819, irq : 2(S)  3  4  5* 6  D  I 
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.116001] bcma: core 0x0820, irq : 2(S)  3  4  5  6* D  I 
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.116045] bcma: core 0x082e, irq : 2(S)  3  4  5  6  D* I 
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.116088] bcma: core 0x080e, irq : 2(S)  3  4  5  6  D  I*
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.116130] bcma: core 0x0834, irq : 2(S)* 3  4  5  6  D  I 
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.116176] bcma: bus0: PCIEcore in host mode found
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.304669] PCI host bridge to bus 0000:00
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.304727] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0bffffff]
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.304756] pci_bus 0000:00: root bus resource [io  0x0100-0x07ff]
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.304785] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.304814] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.304903] pci 0000:00:00.0: [14e4:4716] type 00 class 0x060000
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.304948] bcma: PCI: Fixing up bridge 0000:00:00.0
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.304969] bcma: PCI: Fixing up device 0000:00:00.0
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.305033] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.305073] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x07ffffff 64bit]
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.305187] pci 0000:00:00.0: supports D1 D2
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.305595] pci 0000:00:00.1: [14e4:0000] type 00 class 0x060000
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.305645] bcma: PCI: Fixing up bridge 0000:00:00.1
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.305666] bcma: PCI: Fixing up device 0000:00:00.1
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.305731] pci 0000:00:00.1: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.305770] pci 0000:00:00.1: reg 0x18: [mem 0x00000000-0x07ffffff 64bit]
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.305878] pci 0000:00:00.1: supports D1 D2
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.306355] pci 0000:00:01.0: [14e4:a8d8] type 00 class 0x028000
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.306490] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.306593] bcma: PCI: Fixing up addresses 0000:00:01.0
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.306642] pci 0000:00:01.0: BAR 0: assigned [mem 0x08000000-0x08003fff 64bit]
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.306809] pci 0000:00:01.0: supports D1 D2
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    0.307254] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.308856] bcma: bus0: Bus registered
Wed Jul  5 22:22:41 2017 kern.warn kernel: [    0.310393] Crashlog allocated RAM at address 0x3f00000
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.344150] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.344205] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.349655] io scheduler noop registered
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.349707] io scheduler deadline registered (default)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.350248] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.355394] console [ttyS0] disabled
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.375653] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2, base_baud = 1250000) is a U6_16550A
Wed Jul  5 22:22:41 2017 kern.info kernel: [    0.872455] console [ttyS0] enabled
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    0.989922] 7 bcm47xxpart partitions found on MTD device bcm47xxsflash
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    0.996576] Creating 7 MTD partitions on "bcm47xxsflash":
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    1.002140] 0x000000000000-0x000000040000 : "boot"
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    1.011599] 0x000000040000-0x0000007e0000 : "firmware"
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    1.020126] 0x0000007e0000-0x0000007f0000 : "board_data"
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    1.028709] 0x0000007f0000-0x000000800000 : "nvram"
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    1.036956] 0x00000004001c-0x000000040920 : "loader"
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    1.045355] 0x000000040920-0x00000017dc00 : "linux"
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    1.053621] 0x00000017dc00-0x0000007e0000 : "rootfs"
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    1.061906] mtd: device 6 (rootfs) set to be root filesystem
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    1.067729] 1 squashfs-split partitions found on MTD device rootfs
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    1.074136] 0x000000360000-0x0000007e0000 : "rootfs_data"
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.086521] libphy: Fixed MDIO Bus: probed
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.091101] bgmac_bcma bcma0:2: Found PHY addr: 30 (NOREGS)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.100515] libphy: bcma_mdio mii bus: probed
Wed Jul  5 22:22:41 2017 kern.warn kernel: [    1.104979] bgmac_bcma bcma0:2: Support for Roboswitch not implemented
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.264041] b53_common: found switch: BCM5325, rev 0
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.270621] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.276982] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds)
Wed Jul  5 22:22:41 2017 kern.warn kernel: [    1.285141] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.291021] bcma: PCI: Fixing up device 0000:00:01.0
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.296150] bcma: bus1: Found chip with id 43224, rev 0x01 and package 0x08
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.303351] bcma: bus1: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.312133] bcma: bus1: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.321015] bcma: bus1: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    1.329246] bcma: bus1: Found rev 6 PMU (capabilities 0x108C2606)
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    1.330088] bcma: bus1: Using SPROM revision 0 provided by platform.
Wed Jul  5 22:22:41 2017 kern.debug kernel: [    1.330132] bcma: bus1: PMU resource config unknown or not needed for device 0xA8D8
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.340850] bcma: bus1: Bus registered
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.346903] NET: Registered protocol family 10
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.357396] NET: Registered protocol family 17
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.362216] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.375148] 8021q: 802.1Q VLAN Support v1.8
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.393155] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
Wed Jul  5 22:22:41 2017 kern.info kernel: [    1.401759] Freeing unused kernel memory: 188K (803c1000 - 803f0000)
Wed Jul  5 22:22:41 2017 user.info kernel: [    3.050931] init: Console is alive
Wed Jul  5 22:22:41 2017 user.info kernel: [    3.054861] init: - watchdog -
Wed Jul  5 22:22:41 2017 user.info kernel: [    4.254646] kmodloader: loading kernel modules from /etc/modules-boot.d/*
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.402007] usbcore: registered new interface driver usbfs
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.407764] usbcore: registered new interface driver hub
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.413517] usbcore: registered new device driver usb
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.427524] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.437246] ehci-platform: EHCI generic platform driver
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.442860] ehci-platform ehci-platform.0: EHCI Host Controller
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.449006] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.457485] ehci-platform ehci-platform.0: irq 5, io mem 0x18004000
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.479401] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.487835] hub 1-0:1.0: USB hub found
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.492481] hub 1-0:1.0: 2 ports detected
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.502125] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.510967] ohci-platform: OHCI generic platform driver
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.516448] ohci-platform ohci-platform.0: Generic Platform OHCI controller
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.523735] ohci-platform ohci-platform.0: new USB bus registered, assigned bus number 2
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.532182] ohci-platform ohci-platform.0: irq 5, io mem 0x18009000
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.595330] hub 2-0:1.0: USB hub found
Wed Jul  5 22:22:41 2017 kern.info kernel: [    4.600124] hub 2-0:1.0: 2 ports detected
Wed Jul  5 22:22:41 2017 user.info kernel: [    4.608697] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Wed Jul  5 22:22:41 2017 user.info kernel: [    4.626861] init: - preinit -
Wed Jul  5 22:22:41 2017 kern.info kernel: [    5.011347] usb 1-1: new high-speed USB device number 2 using ehci-platform
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    5.263503] random: procd: uninitialized urandom read (4 bytes read, 9 bits of entropy available)
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    6.414938] random: jshn: uninitialized urandom read (4 bytes read, 11 bits of entropy available)
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    6.608349] random: jshn: uninitialized urandom read (4 bytes read, 11 bits of entropy available)
Wed Jul  5 22:22:41 2017 kern.notice kernel: [    6.731613] random: jshn: uninitialized urandom read (4 bytes read, 11 bits of entropy available)
Wed Jul  5 22:22:41 2017 kern.info kernel: [    7.012119] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Wed Jul  5 22:22:41 2017 kern.info kernel: [    7.018248] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
Wed Jul  5 22:22:41 2017 kern.info kernel: [    8.569470] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Wed Jul  5 22:22:41 2017 kern.info kernel: [    8.576495] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
Wed Jul  5 22:22:41 2017 kern.notice kernel: [   10.681655] jffs2: notice: (375) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Wed Jul  5 22:22:41 2017 user.info kernel: [   10.705445] mount_root: switching to jffs2 overlay
Wed Jul  5 22:22:41 2017 user.warn kernel: [   10.759409] urandom-seed: Seeding with /etc/urandom.seed
Wed Jul  5 22:22:41 2017 user.info kernel: [   10.971431] procd: - early -
Wed Jul  5 22:22:41 2017 user.info kernel: [   10.974613] procd: - watchdog -
Wed Jul  5 22:22:41 2017 user.info kernel: [   11.730144] procd: - watchdog -
Wed Jul  5 22:22:41 2017 user.info kernel: [   11.734119] procd: - ubus -
Wed Jul  5 22:22:41 2017 kern.notice kernel: [   11.756070] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
Wed Jul  5 22:22:41 2017 kern.notice kernel: [   11.789743] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
Wed Jul  5 22:22:41 2017 kern.notice kernel: [   11.799846] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
Wed Jul  5 22:22:41 2017 kern.notice kernel: [   11.809088] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
Wed Jul  5 22:22:41 2017 kern.notice kernel: [   11.819720] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
Wed Jul  5 22:22:41 2017 kern.notice kernel: [   11.828937] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
Wed Jul  5 22:22:41 2017 user.info kernel: [   11.840154] procd: - init -
Wed Jul  5 22:22:41 2017 user.info kernel: [   13.039395] kmodloader: loading kernel modules from /etc/modules.d/*
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.065020] tun: Universal TUN/TAP device driver, 1.6
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.070278] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.085691] ip6_tables: (C) 2000-2006 Netfilter Core Team
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.145711] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.153955] Backport generated by backports.git backports-20160324-13-g24da7d3c
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.171588] ip_tables: (C) 2000-2006 Netfilter Core Team
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.193691] nf_conntrack version 0.5.0 (949 buckets, 3796 max)
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.317055] xt_time: kernel timezone is -0000
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.325369] usbcore: registered new interface driver cdc_ether
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.427171] PPP generic driver version 2.4.2
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.436494] NET: Registered protocol family 24
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.450675] rndis_host 1-1:1.0 usb0: register 'rndis_host' at usb-ehci-platform.0-1, RNDIS device, 02:5b:53:31:37:31
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.461807] usbcore: registered new interface driver rndis_host
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.922244] brcmsmac bcma0:1: mfg 4bf core 812 rev 17 class 0 irq 3
Wed Jul  5 22:22:41 2017 kern.err kernel: [   13.928938] ieee80211 phy0: wl0: brcms_b_attach: Unsupported Broadcom board type (0xb4cf) or revision level (0x0)
Wed Jul  5 22:22:41 2017 kern.err kernel: [   13.939483] ieee80211 phy0: wl0: brcms_b_attach: failed with err 15
Wed Jul  5 22:22:41 2017 kern.err kernel: [   13.945869] ieee80211 phy0: wl0: brcms_c_attach: failed with err 15
Wed Jul  5 22:22:41 2017 kern.err kernel: [   13.952317] ieee80211 phy0: brcmsmac: attach() failed with code 15
Wed Jul  5 22:22:41 2017 kern.err kernel: [   13.958605] brcmsmac: brcms_bcma_probe: brcms_attach failed!
Wed Jul  5 22:22:41 2017 kern.info kernel: [   13.964536] brcmsmac bcma1:1: mfg 4bf core 812 rev 23 class 0 irq 6
Wed Jul  5 22:22:41 2017 kern.debug kernel: [   13.971222] bcma: bus1: Switched to core: 0x812
Wed Jul  5 22:22:41 2017 kern.err kernel: [   13.971613] ieee80211 phy1: wl0: brcms_b_attach: Unsupported Broadcom board type (0xb4cf) or revision level (0x0)
Wed Jul  5 22:22:41 2017 kern.err kernel: [   13.982136] ieee80211 phy1: wl0: brcms_b_attach: failed with err 15
Wed Jul  5 22:22:41 2017 kern.err kernel: [   13.988517] ieee80211 phy1: wl0: brcms_c_attach: failed with err 15
Wed Jul  5 22:22:41 2017 kern.err kernel: [   13.994965] ieee80211 phy1: brcmsmac: attach() failed with code 15
Wed Jul  5 22:22:41 2017 kern.err kernel: [   14.001311] brcmsmac: brcms_bcma_probe: brcms_attach failed!
Wed Jul  5 22:22:41 2017 user.info kernel: [   14.026333] kmodloader: done loading kernel modules from /etc/modules.d/*
Wed Jul  5 22:22:44 2017 user.notice : Added device handler type: tunnel
Wed Jul  5 22:22:44 2017 user.notice : Added device handler type: Network device
Wed Jul  5 22:22:44 2017 user.notice : Added device handler type: bridge
Wed Jul  5 22:22:44 2017 user.notice : Added device handler type: veth
Wed Jul  5 22:22:44 2017 user.notice : Added device handler type: macvlan
Wed Jul  5 22:22:44 2017 user.notice : Added device handler type: 8021ad
Wed Jul  5 22:22:44 2017 user.notice : Added device handler type: 8021q
Wed Jul  5 22:22:47 2017 authpriv.info dropbear[750]: Not backgrounding
Wed Jul  5 22:22:50 2017 kern.info kernel: [   24.261412] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Wed Jul  5 22:22:50 2017 kern.info kernel: [   24.286504] device eth0.1 entered promiscuous mode
Wed Jul  5 22:22:50 2017 kern.info kernel: [   24.291519] device eth0 entered promiscuous mode
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'lan' is enabled
Wed Jul  5 22:22:50 2017 kern.info kernel: [   24.312573] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'lan' is setting up now
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'lan' is now up
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'loopback' is enabled
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'loopback' is setting up now
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'loopback' is now up
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'usb' is enabled
Wed Jul  5 22:22:50 2017 kern.info kernel: [   24.442951] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'wan' is enabled
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'wan6' is enabled
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Network device 'lo' link is up
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'loopback' has link connectivity 
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Network device 'usb0' link is up
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'usb' has link connectivity 
Wed Jul  5 22:22:50 2017 daemon.notice netifd: Interface 'usb' is setting up now
Wed Jul  5 22:22:50 2017 daemon.notice netifd: usb (844): udhcpc: started, v1.26.2
Wed Jul  5 22:22:51 2017 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Wed Jul  5 22:22:51 2017 daemon.notice netifd: usb (844): udhcpc: sending discover
Wed Jul  5 22:22:51 2017 daemon.notice netifd: Network device 'eth0' link is up
Wed Jul  5 22:22:51 2017 kern.info kernel: [   25.639559] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Wed Jul  5 22:22:51 2017 kern.info kernel: [   25.699543] br-lan: port 1(eth0.1) entered forwarding state
Wed Jul  5 22:22:51 2017 kern.info kernel: [   25.705336] br-lan: port 1(eth0.1) entered forwarding state
Wed Jul  5 22:22:51 2017 kern.info kernel: [   25.711336] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
Wed Jul  5 22:22:51 2017 daemon.notice netifd: VLAN 'eth0.1' link is up
Wed Jul  5 22:22:51 2017 daemon.notice netifd: VLAN 'eth0.2' link is up
Wed Jul  5 22:22:51 2017 daemon.notice netifd: Interface 'wan' has link connectivity 
Wed Jul  5 22:22:51 2017 daemon.notice netifd: Interface 'wan' is setting up now
Wed Jul  5 22:22:51 2017 daemon.notice netifd: Interface 'wan6' has link connectivity 
Wed Jul  5 22:22:51 2017 daemon.notice netifd: bridge 'br-lan' link is up
Wed Jul  5 22:22:51 2017 daemon.notice netifd: Interface 'lan' has link connectivity 
Wed Jul  5 22:22:51 2017 kern.info kernel: [   25.764246] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Wed Jul  5 22:22:51 2017 daemon.notice netifd: wan (877): udhcpc: started, v1.26.2
Wed Jul  5 22:22:52 2017 daemon.notice netifd: wan (877): udhcpc: sending discover
Wed Jul  5 22:22:52 2017 daemon.warn odhcpd[706]: DHCPV6 CONFIRM IA_NA from 000437e7143d006c0d83f363f544b6c68c5f on br-lan: not on-link 
Wed Jul  5 22:22:53 2017 kern.info kernel: [   27.699340] br-lan: port 1(eth0.1) entered forwarding state
Wed Jul  5 22:22:54 2017 daemon.err ntpdate[781]: name server cannot be used: Try again (-3)
Wed Jul  5 22:22:54 2017 daemon.notice netifd: usb (844): udhcpc: sending discover
Wed Jul  5 22:22:54 2017 authpriv.info dropbear[909]: Child connection from 192.168.65.102:53976
Wed Jul  5 22:22:55 2017 daemon.notice netifd: wan (877): udhcpc: sending discover
Wed Jul  5 22:22:57 2017 daemon.notice netifd: usb (844): udhcpc: sending discover
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: started, version 2.77 cachesize 150
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: DNS service limited to local subnets
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq-dhcp[947]: DHCP, IP range 192.168.65.100 -- 192.168.65.249, lease time 12h
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain test
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain onion
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain localhost
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain local
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain invalid
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain example.net
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain example.org
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain example.com
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using 3 more local addresses
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: reading /tmp/resolv.conf.auto
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain test
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain onion
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain localhost
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain local
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain invalid
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain example.net
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain example.org
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using local addresses only for domain example.com
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using nameserver 8.8.8.8#53
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using nameserver 8.8.4.4#53
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: using 3 more local addresses
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: read /etc/hosts - 4 addresses
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: read /tmp/hosts/odhcpd - 0 addresses
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq[947]: read /tmp/hosts/dhcp.cfg02411c - 3 addresses
Wed Jul  5 22:22:57 2017 daemon.info dnsmasq-dhcp[947]: read /etc/ethers - 0 addresses
Wed Jul  5 22:22:58 2017 daemon.notice netifd: wan (877): udhcpc: sending discover
Wed Jul  5 22:22:59 2017 daemon.err ntpdate[906]: name server cannot be used: Try again (-3)
Wed Jul  5 22:23:03 2017 daemon.info dnsmasq-dhcp[947]: DHCPDISCOVER(br-lan) 192.168.65.102 3c:97:0e:73:9c:4f 
Wed Jul  5 22:23:03 2017 daemon.info dnsmasq-dhcp[947]: DHCPOFFER(br-lan) 192.168.65.101 3c:97:0e:73:9c:4f 
Wed Jul  5 22:23:03 2017 daemon.info dnsmasq-dhcp[947]: DHCPREQUEST(br-lan) 192.168.65.101 3c:97:0e:73:9c:4f 
Wed Jul  5 22:23:03 2017 daemon.info dnsmasq-dhcp[947]: DHCPACK(br-lan) 192.168.65.101 3c:97:0e:73:9c:4f jessica-mate
Wed Jul  5 22:23:04 2017 daemon.err ntpdate[950]: name server cannot be used: Try again (-3)

[ dmesg ]
[    0.000000] Linux version 4.4.74 (buildbot@builds) (gcc version 5.4.0 (LEDE GCC 5.4.0 r4456-d98cafc) ) #0 Sun Jul 2 21:10:06 2017
[    0.000000] CPU0 revision is: 00019740 (MIPS 74Kc)
[    0.000000] bcm47xx: Using bcma bus
[    0.000000] bcma: bus0: Found chip with id 0x4716, rev 0x01 and package 0x0A
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 803a64c0, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 60556K/65536K available (3002K kernel code, 134K rwdata, 696K rodata, 188K init, 294K bss, 4980K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:128
[    0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x1F, class 0x0)
[    0.000000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x11, class 0x0)
[    0.000000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x00, class 0x0)
[    0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0x01, class 0x0)
[    0.000000] bcma: bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id 0x819, rev 0x04, class 0x0)
[    0.000000] bcma: bus0: Core 5 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0E, class 0x0)
[    0.000000] bcma: bus0: Core 6 found: DDR1/DDR2 Memory Controller (manuf 0x4BF, id 0x82E, rev 0x01, class 0x0)
[    0.000000] bcma: bus0: Core 7 found: Internal Memory (manuf 0x4BF, id 0x80E, rev 0x07, class 0x0)
[    0.000000] bcma: bus0: Core 8 found: I2S (manuf 0x4BF, id 0x834, rev 0x00, class 0x0)
[    0.000000] bcma: bus0: Found rev 5 PMU (capabilities 0x11242C05)
[    0.000000] bcma: bus0: Found serial flash
[    0.000000] bcma: bus0: Found M25P64 serial flash (size: 8192KiB, blocksize: 0x10000, blocks: 128)
[    0.000000] bcma: bus0: Early bus registered
[    0.000000] MIPS: machine is Unknown Board
[    0.000000] bcm47xx: Setting up vectored interrupts
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 8438235966 ns
[    0.000015] sched_clock: 32 bits at 226MHz, resolution 4ns, wraps every 9481163773ns
[    0.000088] Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
[    0.070063] pid_max: default: 32768 minimum: 301
[    0.070318] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070345] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.074642] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.074715] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.076193] NET: Registered protocol family 16
[    0.099321] clocksource: Switched to clocksource MIPS
[    0.101966] NET: Registered protocol family 2
[    0.103621] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.103678] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.103719] TCP: Hash tables configured (established 1024 bind 1024)
[    0.103896] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.103944] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.104461] NET: Registered protocol family 1
[    0.104612] PCI: CLS 0 bytes, default 32
[    0.113504] bcma: bus0: Using SPROM revision 0 provided by platform.
[    0.113545] bcma: bus0: PMU resource config unknown or not needed for device 0x4716
[    0.115561] bcma: bus0: Workarounds unknown or not needed for device 0x4716
[    0.115580] bcma: bus0: Initializing MIPS core...
[    0.115601] bcma: bus0: Moved i2s interrupt to oob line 7 instead of 8
[    0.115628] bcma: bus0: set_irq: core 0x0812, irq 3 => 3
[    0.115651] bcma: bus0: set_irq: core 0x082d, irq 4 => 4
[    0.115674] bcma: bus0: set_irq: core 0x0819, irq 5 => 5
[    0.115697] bcma: bus0: set_irq: core 0x0820, irq 6 => 6
[    0.115718] bcma: bus0: set_irq: core 0x0800, irq 2 => 2
[    0.115741] bcma: bus0: set_irq: core 0x0834, irq 0 => 2
[    0.115756] bcma: bus0: IRQ reconfiguration done
[    0.115772] bcma: core 0x0800, irq : 2(S)* 3  4  5  6  D  I 
[    0.115825] bcma: core 0x0812, irq : 2(S)  3* 4  5  6  D  I 
[    0.115869] bcma: core 0x082d, irq : 2(S)  3  4* 5  6  D  I 
[    0.115913] bcma: core 0x082c, irq : 2(S)  3  4  5  6  D  I*
[    0.115957] bcma: core 0x0819, irq : 2(S)  3  4  5* 6  D  I 
[    0.116001] bcma: core 0x0820, irq : 2(S)  3  4  5  6* D  I 
[    0.116045] bcma: core 0x082e, irq : 2(S)  3  4  5  6  D* I 
[    0.116088] bcma: core 0x080e, irq : 2(S)  3  4  5  6  D  I*
[    0.116130] bcma: core 0x0834, irq : 2(S)* 3  4  5  6  D  I 
[    0.116176] bcma: bus0: PCIEcore in host mode found
[    0.304669] PCI host bridge to bus 0000:00
[    0.304727] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0bffffff]
[    0.304756] pci_bus 0000:00: root bus resource [io  0x0100-0x07ff]
[    0.304785] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.304814] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.304903] pci 0000:00:00.0: [14e4:4716] type 00 class 0x060000
[    0.304948] bcma: PCI: Fixing up bridge 0000:00:00.0
[    0.304969] bcma: PCI: Fixing up device 0000:00:00.0
[    0.305033] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    0.305073] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x07ffffff 64bit]
[    0.305187] pci 0000:00:00.0: supports D1 D2
[    0.305595] pci 0000:00:00.1: [14e4:0000] type 00 class 0x060000
[    0.305645] bcma: PCI: Fixing up bridge 0000:00:00.1
[    0.305666] bcma: PCI: Fixing up device 0000:00:00.1
[    0.305731] pci 0000:00:00.1: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    0.305770] pci 0000:00:00.1: reg 0x18: [mem 0x00000000-0x07ffffff 64bit]
[    0.305878] pci 0000:00:00.1: supports D1 D2
[    0.306355] pci 0000:00:01.0: [14e4:a8d8] type 00 class 0x028000
[    0.306490] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    0.306593] bcma: PCI: Fixing up addresses 0000:00:01.0
[    0.306642] pci 0000:00:01.0: BAR 0: assigned [mem 0x08000000-0x08003fff 64bit]
[    0.306809] pci 0000:00:01.0: supports D1 D2
[    0.307254] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.308856] bcma: bus0: Bus registered
[    0.310393] Crashlog allocated RAM at address 0x3f00000
[    0.344150] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.344205] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.349655] io scheduler noop registered
[    0.349707] io scheduler deadline registered (default)
[    0.350248] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.355394] console [ttyS0] disabled
[    0.375653] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2, base_baud = 1250000) is a U6_16550A
[    0.872455] console [ttyS0] enabled
[    0.989922] 7 bcm47xxpart partitions found on MTD device bcm47xxsflash
[    0.996576] Creating 7 MTD partitions on "bcm47xxsflash":
[    1.002140] 0x000000000000-0x000000040000 : "boot"
[    1.011599] 0x000000040000-0x0000007e0000 : "firmware"
[    1.020126] 0x0000007e0000-0x0000007f0000 : "board_data"
[    1.028709] 0x0000007f0000-0x000000800000 : "nvram"
[    1.036956] 0x00000004001c-0x000000040920 : "loader"
[    1.045355] 0x000000040920-0x00000017dc00 : "linux"
[    1.053621] 0x00000017dc00-0x0000007e0000 : "rootfs"
[    1.061906] mtd: device 6 (rootfs) set to be root filesystem
[    1.067729] 1 squashfs-split partitions found on MTD device rootfs
[    1.074136] 0x000000360000-0x0000007e0000 : "rootfs_data"
[    1.086521] libphy: Fixed MDIO Bus: probed
[    1.091101] bgmac_bcma bcma0:2: Found PHY addr: 30 (NOREGS)
[    1.100515] libphy: bcma_mdio mii bus: probed
[    1.104979] bgmac_bcma bcma0:2: Support for Roboswitch not implemented
[    1.264041] b53_common: found switch: BCM5325, rev 0
[    1.270621] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
[    1.276982] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds)
[    1.285141] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[    1.291021] bcma: PCI: Fixing up device 0000:00:01.0
[    1.296150] bcma: bus1: Found chip with id 43224, rev 0x01 and package 0x08
[    1.303351] bcma: bus1: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[    1.312133] bcma: bus1: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[    1.321015] bcma: bus1: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[    1.329246] bcma: bus1: Found rev 6 PMU (capabilities 0x108C2606)
[    1.330088] bcma: bus1: Using SPROM revision 0 provided by platform.
[    1.330132] bcma: bus1: PMU resource config unknown or not needed for device 0xA8D8
[    1.340850] bcma: bus1: Bus registered
[    1.346903] NET: Registered protocol family 10
[    1.357396] NET: Registered protocol family 17
[    1.362216] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.375148] 8021q: 802.1Q VLAN Support v1.8
[    1.393155] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[    1.401759] Freeing unused kernel memory: 188K (803c1000 - 803f0000)
[    3.050931] init: Console is alive
[    3.054861] init: - watchdog -
[    4.254646] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.402007] usbcore: registered new interface driver usbfs
[    4.407764] usbcore: registered new interface driver hub
[    4.413517] usbcore: registered new device driver usb
[    4.427524] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.437246] ehci-platform: EHCI generic platform driver
[    4.442860] ehci-platform ehci-platform.0: EHCI Host Controller
[    4.449006] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    4.457485] ehci-platform ehci-platform.0: irq 5, io mem 0x18004000
[    4.479401] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    4.487835] hub 1-0:1.0: USB hub found
[    4.492481] hub 1-0:1.0: 2 ports detected
[    4.502125] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.510967] ohci-platform: OHCI generic platform driver
[    4.516448] ohci-platform ohci-platform.0: Generic Platform OHCI controller
[    4.523735] ohci-platform ohci-platform.0: new USB bus registered, assigned bus number 2
[    4.532182] ohci-platform ohci-platform.0: irq 5, io mem 0x18009000
[    4.595330] hub 2-0:1.0: USB hub found
[    4.600124] hub 2-0:1.0: 2 ports detected
[    4.608697] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.626861] init: - preinit -
[    5.011347] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    5.263503] random: procd: uninitialized urandom read (4 bytes read, 9 bits of entropy available)
[    6.414938] random: jshn: uninitialized urandom read (4 bytes read, 11 bits of entropy available)
[    6.608349] random: jshn: uninitialized urandom read (4 bytes read, 11 bits of entropy available)
[    6.731613] random: jshn: uninitialized urandom read (4 bytes read, 11 bits of entropy available)
[    7.012119] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.018248] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[    8.569470] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.576495] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   10.681655] jffs2: notice: (375) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   10.705445] mount_root: switching to jffs2 overlay
[   10.759409] urandom-seed: Seeding with /etc/urandom.seed
[   10.971431] procd: - early -
[   10.974613] procd: - watchdog -
[   11.730144] procd: - watchdog -
[   11.734119] procd: - ubus -
[   11.756070] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
[   11.789743] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
[   11.799846] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
[   11.809088] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
[   11.819720] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
[   11.828937] random: ubusd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
[   11.840154] procd: - init -
[   13.039395] kmodloader: loading kernel modules from /etc/modules.d/*
[   13.065020] tun: Universal TUN/TAP device driver, 1.6
[   13.070278] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   13.085691] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   13.145711] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[   13.153955] Backport generated by backports.git backports-20160324-13-g24da7d3c
[   13.171588] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.193691] nf_conntrack version 0.5.0 (949 buckets, 3796 max)
[   13.317055] xt_time: kernel timezone is -0000
[   13.325369] usbcore: registered new interface driver cdc_ether
[   13.427171] PPP generic driver version 2.4.2
[   13.436494] NET: Registered protocol family 24
[   13.450675] rndis_host 1-1:1.0 usb0: register 'rndis_host' at usb-ehci-platform.0-1, RNDIS device, 02:5b:53:31:37:31
[   13.461807] usbcore: registered new interface driver rndis_host
[   13.922244] brcmsmac bcma0:1: mfg 4bf core 812 rev 17 class 0 irq 3
[   13.928938] ieee80211 phy0: wl0: brcms_b_attach: Unsupported Broadcom board type (0xb4cf) or revision level (0x0)
[   13.939483] ieee80211 phy0: wl0: brcms_b_attach: failed with err 15
[   13.945869] ieee80211 phy0: wl0: brcms_c_attach: failed with err 15
[   13.952317] ieee80211 phy0: brcmsmac: attach() failed with code 15
[   13.958605] brcmsmac: brcms_bcma_probe: brcms_attach failed!
[   13.964536] brcmsmac bcma1:1: mfg 4bf core 812 rev 23 class 0 irq 6
[   13.971222] bcma: bus1: Switched to core: 0x812
[   13.971613] ieee80211 phy1: wl0: brcms_b_attach: Unsupported Broadcom board type (0xb4cf) or revision level (0x0)
[   13.982136] ieee80211 phy1: wl0: brcms_b_attach: failed with err 15
[   13.988517] ieee80211 phy1: wl0: brcms_c_attach: failed with err 15
[   13.994965] ieee80211 phy1: brcmsmac: attach() failed with code 15
[   14.001311] brcmsmac: brcms_bcma_probe: brcms_attach failed!
[   14.026333] kmodloader: done loading kernel modules from /etc/modules.d/*
[   24.261412] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   24.286504] device eth0.1 entered promiscuous mode
[   24.291519] device eth0 entered promiscuous mode
[   24.312573] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   24.442951] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[   25.639559] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   25.699543] br-lan: port 1(eth0.1) entered forwarding state
[   25.705336] br-lan: port 1(eth0.1) entered forwarding state
[   25.711336] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[   25.764246] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   27.699340] br-lan: port 1(eth0.1) entered forwarding state
[   61.049212] random: nonblocking pool is initialized

00:01.0 Network controller: Broadcom Limited BCM43224/5 Wireless Network Adapter (rev 01)
	Subsystem: Broadcom Limited BCM43224/5 Wireless Network Adapter
	Flags: bus master, fast devsel, latency 0, IRQ 6
	Memory at 08000000 (64-bit, non-prefetchable) [size=16385]
	Memory at <unassigned> (32-bit, non-prefetchable) [size=2]
	Memory at <unassigned> (32-bit, non-prefetchable) [size=2]
	Memory at <unassigned> (32-bit, non-prefetchable) [size=2]
	Memory at <unassigned> (32-bit, non-prefetchable) [size=2]
	Expansion ROM at <unassigned> [disabled] [size=2]
	Capabilities: [40] Power Management version 3
	Capabilities: [58] Vendor Specific Information: Len=78 <?>
	Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [d0] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [13c] Virtual Channel
	Capabilities: [160] Device Serial Number 00-00-00-ff-ff-00-00-00
	Capabilities: [16c] Power Budgeting <?>
	Kernel driver in use: bcma-pci-bridge


03.07.2017883Base systemBug ReportVery LowLowER-X-SFP link-state enabled on SFP port eth5 (led = lit...TrunkUnconfirmed Task Description

Unable to use SFP port (eth5 / swconfig port 5).
Valid SFP module inserted, fiber uplink connected: eth5 led=lit, afaik: link-state enabled/up.
However, swconfig shows port 5 link:down.

Driver (mt7530) issue?

 


03.07.2017882Base systemBug ReportVery LowLowDSL-2750B hw. D1 repeatedly rebootsTrunkWaiting on reporter Task Description

Supply the following if possible:
- DSL-2750B hw D1
- Latest snapshot build
- Steps to reproduce: simply upload and flash latest firmware from CFE web interface and wait for its reboot.
Device never stop to reboot repeatedly.

 


02.07.2017880KernelBug ReportVery LowLowKernel dumped stack on Archer-C7-V2TrunkUnconfirmed Task Description

Linux version 4.4.71 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3101-bce140e) ) #0 Wed Jun 7 19:24:41 2017
Kernel command line: board=ARCHER-C7-V2 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd

I don’t know why it happened, just noticed in kernel log, and thought I should report it.

[1041527.892339] ————[ cut here ]———— [1041527.897249] WARNING: CPU: 0 PID: 3 at net/core/dev.c:4863 0x8026bdbc()
[1041527.904053] Modules linked in: pppoe ppp_async iptable_nat ath9k pppox ppp_generic nf_nat_pptp nf_nat_ipv4 nf_nat_amanda nf_conntrack_pptp nf_conntrack_ipv6 nf_conntrack_ipv4 nf_conntrack_amanda ipt_REJECT ipt_MASQUERADE ath9k_common 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_CT xt_CLASSIFY ts_kmp ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_nat_h323 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt ath9k_hw sch_cake nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ath10k_pci ath10k_core ath mac80211 cfg80211 compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[1041528.021564] CPU: 0 PID: 3 Comm: ksoftirqd/0 Not tainted 4.4.71 #0
[1041528.027930] Stack : 80387554 00000000 00000001 803e0000 00000000 00000000 00000000 00000000
[1041528.027930] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1041528.027930] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1041528.027930] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1041528.027930] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[1041528.027930] ...
[1041528.064490] Call Trace:[<80071a50>] 0x80071a50
[1041528.069226] [<80071a50>] 0x80071a50
[1041528.072942] [<80081804>] 0×80081804 [1041528.076674] [<8026bdbc>] 0x8026bdbc
[1041528.080404] [<800818bc>] 0x800818bc
[1041528.084134] [<8026bdbc>] 0x8026bdbc
[1041528.087860] [<8009f02c>] 0x8009f02c
[1041528.091589] [<80083d80>] 0x80083d80
[1041528.095323] [<8009e7c0>] 0x8009e7c0
[1041528.099044] [<80083df0>] 0x80083df0
[1041528.102756] [<8009a6fc>] 0x8009a6fc
[1041528.106485] [<8009a854>] 0x8009a854
[1041528.110207] [<8009a6fc>] 0x8009a6fc
[1041528.113922] [<80067120>] 0×80067120 [1041528.117657] [<8009a6fc>] 0x8009a6fc
[1041528.121373] [<80098284>] 0×80098284 [1041528.125111] [<800981ac>] 0x800981ac
[1041528.128841] [<80060878>] 0×80060878 [1041528.132561]
[1041528.134251] —[ end trace c9085c52127d153c ]—

30.06.2017878Base systemBug ReportVery LowLowprocd-ujail dnsmasq cmd-line missing the -n argumentlede-17.01Unconfirmed Task Description

When procd restarts jailed dnsmasq (e.g. due to interface up/down events), the ujail dnsmasq command-line is missing the -n argument

root@OpenWrt:~# uname -a
Linux OpenWrt 4.4.74 #0 Thu Jun 29 08:02:14 2017 mips GNU/Linux
root@OpenWrt:~# 

root@OpenWrt:~# cat /etc/openwrt_*
DISTRIB_ID='LEDE'
DISTRIB_RELEASE='17.01-SNAPSHOT'
DISTRIB_REVISION='r3452-cca765f'
DISTRIB_CODENAME='reboot'
DISTRIB_TARGET='ar71xx/generic'
DISTRIB_ARCH='mips_24kc'
DISTRIB_DESCRIPTION='LEDE Reboot 17.01-SNAPSHOT r3452-cca765f'
DISTRIB_TAINTS=''
r3452-cca765f
root@OpenWrt:~# 

After reboot:
 2290 root      2228 S    {dnsmasq} /sbin/ujail -n dnsmasq -u -l -r /dev/null -r /dev/urandom -r /etc/TZ -r /etc/dnsmasq.conf -r /etc/ethers -r /etc/group -r /etc/hosts -r /etc/passwd -w /tmp/dhcp.leases -r /tmp/dnsm

After some time (dnsmasq restarting due to interface up/down events):
 6862 root      2228 S    /sbin/ujail -n  -u -l -r /dev/null -r /dev/urandom -r /etc/TZ -r /etc/dnsmasq.conf -r /etc/ethers -r /etc/group -r /etc/hosts -r /etc/passwd -w /tmp/dhcp.leases -r /tmp/dnsmasq.d -r /tmp/hos


root@OpenWrt:/tmp# ps
  PID USER       VSZ STAT COMMAND
    1 root      1552 S    /sbin/procd
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    4 root         0 SW   [kworker/0:0]
    5 root         0 SW<  [kworker/0:0H]
    6 root         0 SW   [kworker/u2:0]
    7 root         0 SW<  [netns]
    8 root         0 SW   [kworker/u2:1]
   34 root         0 SW<  [writeback]
   71 root         0 SW<  [crypto]
   73 root         0 SW<  [bioset]
   75 root         0 SW<  [kblockd]
  101 root         0 SW   [kworker/0:1]
  108 root         0 SW   [kswapd0]
  161 root         0 SW   [fsnotify_mark]
  170 root         0 SW   [spi0]
  187 root         0 SW<  [bioset]
  192 root         0 SW<  [bioset]
  197 root         0 SW<  [bioset]
  202 root         0 SW<  [bioset]
  207 root         0 SW<  [bioset]
  212 root         0 SW<  [bioset]
  307 root         0 SW<  [ipv6_addrconf]
  314 root         0 SW<  [deferwq]
  316 root         0 SW<  [kworker/0:1H]
  406 root         0 SWN  [jffs2_gcd_mtd3]
  465 root      1192 S    /sbin/ubusd
  478 root       908 S    /sbin/askfirst /bin/ash --login
  741 root         0 SW<  [cfg80211]
 1007 root      1240 S    /sbin/logd -S 64
 1078 root      1720 S    /sbin/netifd
 1117 root      1412 S    /usr/sbin/odhcpd
 1151 root      1104 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300
 1868 root      1208 S    udhcpc -p /var/run/udhcpc-eth0.3.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth0.3 -C -O 121
 1870 root      1208 S    udhcpc -p /var/run/udhcpc-eth0.2.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth0.2 -C -O 121
 2290 root      2228 S    {dnsmasq} /sbin/ujail -n dnsmasq -u -l -r /dev/null -r /dev/urandom -r /etc/TZ -r /etc/dnsmasq.conf -r /etc/ethers -r /etc/group -r /etc/hosts -r /etc/passwd -w /tmp/dhcp.leases -r /tmp/dnsm
 2296 dnsmasq   1448 S    /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg02411c -k -x /var/run/dnsmasq/dnsmasq.cfg02411c.pid
 2446 root      1172 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300
 2863 root      1780 S    /usr/lib/ipsec/starter --daemon charon
 2865 root      6296 S    /usr/lib/ipsec/charon --use-syslog
 2984 root      1212 S <  /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 1.gr.pool.ntp.org -p 0.europe.pool.ntp.org -p 2.europe.pool.ntp.org
 3462 root      1212 S    -ash
 3710 root         0 SW   [kworker/u2:2]
 3731 root         0 SW   [kworker/0:2]
 3795 root      1660 S    /usr/sbin/wpa_supplicant -B -P /var/run/wpa_supplicant-wlan0-bak.pid -D nl80211 -i wlan0-bak -c /var/run/wpa_supplicant-wlan0-bak.conf -C /var/run/wpa_supplicant
 3813 root      1208 S    udhcpc -p /var/run/udhcpc-wlan0-bak.pid -s /lib/netifd/dhcp.script -f -t 0 -i wlan0-bak -C -O 121
 3818 root      1208 R    ps
root@OpenWrt:/tmp#


root@OpenWrt:~# ps
  PID USER       VSZ STAT COMMAND
    1 root      1552 S    /sbin/procd
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    5 root         0 SW<  [kworker/0:0H]
    7 root         0 SW<  [netns]
   34 root         0 SW<  [writeback]
   71 root         0 SW<  [crypto]
   73 root         0 SW<  [bioset]
   75 root         0 SW<  [kblockd]
  101 root         0 SW   [kworker/0:1]
  108 root         0 SW   [kswapd0]
  161 root         0 SW   [fsnotify_mark]
  170 root         0 SW   [spi0]
  187 root         0 SW<  [bioset]
  192 root         0 SW<  [bioset]
  197 root         0 SW<  [bioset]
  202 root         0 SW<  [bioset]
  207 root         0 SW<  [bioset]
  212 root         0 SW<  [bioset]
  307 root         0 SW<  [ipv6_addrconf]
  314 root         0 SW<  [deferwq]
  316 root         0 SW<  [kworker/0:1H]
  406 root         0 SWN  [jffs2_gcd_mtd3]
  465 root      1200 S    /sbin/ubusd
  478 root       908 S    /sbin/askfirst /bin/ash --login
  741 root         0 SW<  [cfg80211]
 1007 root      1240 S    /sbin/logd -S 64
 1078 root      1720 S    /sbin/netifd
 1117 root      1412 S    /usr/sbin/odhcpd
 1151 root      1104 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300
 1868 root      1208 S    udhcpc -p /var/run/udhcpc-eth0.3.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth0.3 -C -O 121
 1870 root      1208 S    udhcpc -p /var/run/udhcpc-eth0.2.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth0.2 -C -O 121
 2863 root      1780 S    /usr/lib/ipsec/starter --daemon charon
 2865 root      6296 S    /usr/lib/ipsec/charon --use-syslog
 2984 root      1212 S <  /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 1.gr.pool.ntp.org -p 0.europe.pool.ntp.org -p 2.europe.pool.ntp.org
 5899 root         0 SW   [kworker/u2:1]
 6440 root      1172 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300
 6441 root      1212 S    -ash
 6527 root         0 SW   [kworker/u2:0]
 6529 root         0 SW   [kworker/0:0]
 6593 root      1640 S    /usr/sbin/wpa_supplicant -B -P /var/run/wpa_supplicant-wlan0-bak.pid -D nl80211 -i wlan0-bak -c /var/run/wpa_supplicant-wlan0-bak.conf -C /var/run/wpa_supplicant
 6611 root      1208 S    udhcpc -p /var/run/udhcpc-wlan0-bak.pid -s /lib/netifd/dhcp.script -f -t 0 -i wlan0-bak -C -O 121
 6862 root      2228 S    /sbin/ujail -n  -u -l -r /dev/null -r /dev/urandom -r /etc/TZ -r /etc/dnsmasq.conf -r /etc/ethers -r /etc/group -r /etc/hosts -r /etc/passwd -w /tmp/dhcp.leases -r /tmp/dnsmasq.d -r /tmp/hos
 6863 dnsmasq   1448 S    /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg02411c -k -x /var/run/dnsmasq/dnsmasq.cfg02411c.pid
 7132 root         0 SW   [kworker/u2:2]
 7134 root      1208 R    ps
root@OpenWrt:~# 
root@OpenWrt:~# uptime
 19:30:37 up 21:41,  load average: 0.00, 0.03, 0.07
root@OpenWrt:~#


25.06.2017868WebsiteBug ReportVery LowLowSnapshot directory contains stray/obsolete directoriesTrunkUnconfirmed Task Description

Please remove obsolete directories in the snapshot directory (packages)

aarch64_armv8-a/
arm_cortex-a53_neon-vfpv4/
arm_cortex-a7/
i386_geode/
powerpc_440/


25.06.2017867Base systemFeature RequestVery LowLowmvebu: Should be split different arches, current (Armad...TrunkUnconfirmed Task Description

The older SoCs such as Armada XP and 370 only supports vfpv3-d16 while 385 and newer does complete vfpv3 and neon. This hampers performance of newer SoCs quite a bit and makes little sense not to split these since we already build vfpv3+neon binaries. While neon-vfpv4 exists, neon-vfpv3 doesn’t and for some reason it’s just called neon in GCC (which translates to arm_cortex-a9_neon in LEDE for this SoC family). Source: https://lists.linaro.org/pipermail/linaro-toolchain/2016-July/005826.html

24.06.2017866Base systemBug ReportVery LowLowThe DownloadMethod/hg in include/download.mk seems to b...AllWaiting on reporter Task Description

This is a build issue for packages which are using the Mercurial (hg) source code control system. The DownloadMethod/hg tries to re-stamp the files, but the method to do so seems insufficient.

My current fix is this one (without any claim of correctness or completeness), it allows me to make the builds as before the timestamping change was implemented.

— a/include/download.mk
+++ b/include/download.mk
@@ -198,7 +198,7 @@ define DownloadMethod/hg

              rm -rf $(SUBDIR) && \
              [ \! -d $(SUBDIR) ] && \
              hg clone -r $(VERSION) $(URL) $(SUBDIR) && \

- export TAR_TIMESTAMP=`cd $(SUBDIR) && hg log –template ‘@{date}’ -l 1` && \
+ export TAR_TIMESTAMP=`cd $(SUBDIR) && hg log –template ‘@{date}’ -l 1 | cut -d’.’ -f1` && \

This is with Mercurial 3.7.3 (default Mercurial in Ubuntu 16.04.2)


23.06.2017864Base systemBug ReportVery LowLowFix for 11ac (5Ghz) on TP-Link Archer C59 (ver 1.0)TrunkUnconfirmed Task Description

Install ath10k-ct and ath10k-firmware-qca9888-ct

Remove board.bin , board-2.bin in /lib/firmware/ath10k/QCA9888/hw2.0

Extract board.bin (eeprom) and pre-caldata

dd if=/dev/mtd6 of=/lib/firmware/ath10k/QCA9888/hw2.0/board.bin bs=1 skip=20480 count=12064
dd if=/dev/mtd6 of=/lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin bs=1 skip=20480 count=12048

Done


20.06.2017861Base systemBug ReportVery LowLowath9k doesn't respect setting country and stuck at max ...lede-17.01Unconfirmed Task Description

Device: TP-Link WR741ND v4
OS: LEDE 17.01.2, also tried compile trunk with ATH_USER_REGD=y

I tried set country via

iw reg set TW

and via /etc/config/wireless and reboot router - no matter, ath9k ignore this settings.

root@lede:~# iw reg get
global
country TW: DFS-FCC
        (2400 - 2483 @ 40), (N/A, 30), (N/A)
        (5150 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
        (5250 - 5350 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
        (5470 - 5725 @ 160), (N/A, 23), (0 ms), DFS
        (5725 - 5850 @ 80), (N/A, 30), (N/A)

phy#0
country US: DFS-FCC
        (2402 - 2472 @ 40), (N/A, 30), (N/A)
        (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
        (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
        (5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
        (5735 - 5835 @ 80), (N/A, 30), (N/A)
        (57240 - 63720 @ 2160), (N/A, 40), (N/A)

Look, phy#0 always “country US” and max TX 18 dBm

root@lede:~# iw dev
phy#0
        Interface wlan0
                ifindex 8
                wdev 0x3
                addr 10:fe:ed:xx:xx:xx
                ssid LEDE
                type AP
                channel 11 (2462 MHz), width: 20 MHz, center1: 2462 MHz
                txpower 18.00 dBm


19.06.2017856Base systemBug ReportVery LowLowip6gw ignored for static IPv6 wan6lede-17.01Unconfirmed Task Description

NETGEAR WNDR3800 running LEDE 17.01.2

My service provider has recently enabled IPv6 dual stack. There are not yet auto-provisioning.

I was given the following information:
IPv6 range: 2400:4dc0:XXXX:YY00::1/56
IPv6 Default Gateway: 2400:4dc0::7
IPv6 DNS Server 1: 2001:df5:3c00:100::1:67
IPv6 DNS Server 2: 2001:df5:3c00:100::1:68

Following the “Static IPv6 Connection” docs at https://lede-project.org/docs/user-guide/basic-ipv6-configuration#static_ipv6_connection I configured the system with the following stanzas in /etc/config/network

Further discussion at https://forum.lede-project.org/t/lede-17-01-2-no-default-route-with-static-ipv6/4441

########################################################
config interface ‘lan’ option ifname ‘eth0.1’ option force_link ‘1’ option type ‘bridge’ option proto ‘static’ option ipaddr ‘192.168.1.1’ option netmask ‘255.255.255.0’ option ip6assign ‘64’ option ip6hint ‘4’

config interface ‘wan’ option ifname ‘eth1’ option proto ‘pppoe’ option keepalive ‘5 5’ option username ‘USERNAME’ option password ‘PASSWORD’

config interface ‘wan6’ option ifname ‘@wan’ option proto ‘static’ option ip6prefix ‘2400:4dc0:0:2000::/56’ option ip6gw ‘2400:4dc0::7’ option ip6assign ‘64’ option ip6hint ‘0’ option ip6ifaceid ‘::1’ option dns ‘2001:df5:3c00:100::1:67 2001:df5:3c00:100::1:68’ /etc/config/network

config interface ‘lan’ option ifname ‘eth0.1’ option force_link ‘1’ option type ‘bridge’ option proto ‘static’ option ipaddr ‘192.168.1.1’ option netmask ‘255.255.255.0’ option ip6assign ‘64’ option ip6hint ‘4’

config interface ‘wan’ option ifname ‘eth1’ option proto ‘pppoe’ option keepalive ‘5 5’ option username ‘USERNAME’ option password ‘PASSWORD’

config interface ‘wan6’ option ifname ‘@wan’ option proto ‘static’ option ip6prefix ‘2400:4dc0:0:2000::/56’ option ip6gw ‘2400:4dc0::7’ option ip6assign ‘64’ option ip6hint ‘0’ option ip6ifaceid ‘::1’ option dns ‘2001:df5:3c00:100::1:67 2001:df5:3c00:100::1:68’

########################################################

This did not work, as there was no default route configured. As expected, the pppoe-wan and lan interfaces were assigned IPv6 /64 subnets and clients received IPv6 addresses.

root@OpenWrt:/etc/config# ifstatus wan6
{

      "up": true,
      "pending": false,
      "available": true,
      "autostart": true,
      "dynamic": false,
      "uptime": 132806,
      "l3_device": "pppoe-wan",
      "proto": "static",
      "device": "pppoe-wan",
      "updated": [
              "prefixes"
      ],
      "metric": 0,
      "dns_metric": 0,
      "delegation": true,
      "ipv4-address": [
      ],
  "ipv6-address": [
  ],
  "ipv6-prefix": [
          {
                  "address": "2400:4dc0:0:YY00::",
                  "mask": 56,
                  "class": "wan6",
                  "assigned": {
                          "wan6": {
                                  "address": "2400:4dc0:0:YY00::",
                                  "mask": 64
                          },
                          "lan": {
                                  "address": "2400:4dc0:0:YY04::",
                                  "mask": 64
                          }
                  }
          }
  ],
  "ipv6-prefix-assignment": [
          {
                  "address": "2400:4dc0:0:YY00::",
                  "mask": 64,
                  "local-address": {
                          "address": "2400:4dc0:0:YY00::1",
                          "mask": 64
                  }
          }
  ],
  "route": [
  ],
  "dns-server": [
  ],
  "dns-search": [
  ],
  "inactive": {
          "ipv4-address": [
          ],
          "ipv6-address": [
          ],
          "route": [
          ],
          "dns-server": [
          ],
          "dns-search": [
          ]
  },
  "data": {
  }

}

Workaround *
Defining a default route in /etc/config/network with

config route6

      option interface wan6
      option target 2400:4dc0::7/128

config route6

      option interface wan6
      option gateway 2400:4dc0::7
      option target ::/0

works for me. It adds the following lines to ifstatus wan6

      "route": [
              {
                      "target": "2400:4dc0::7",
                      "mask": 128,
                      "nexthop": "::",
                      "source": "::\/0"
              },
              {
                      "target": "::",
                      "mask": 0,
                      "nexthop": "2400:4dc0::7",
                      "source": "::\/0"
              }
      ],

*

This is what I expected the ip6gw line to do.

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

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

Steps to reproduce

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

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

Actual results

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

Expected results

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

Workaround

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

17.06.2017851KernelBug ReportVery LowLowWNR2200 USB Port don't functioned andin the Bugfixed D...AllUnconfirmed Task Description

The USB Port don’t became the right power from the right GPIO.

- Netgear WNR2200
- LEDE 17.01.2 (stable, unstable, trunk)
- Flash an image with the unmodified driver target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000.c

Hello,

it’s an known and partially solved bug in OpenWRT but not solved in the LEDE sources. Now the sources from OpenWRT source solve the problem with the Power but some leds (wlan especially) don’t functioned and the original from LEDE source trigger the right GPIOs for the LEDs and this functioned well, but the usb port don’t became power and extroot don’t functioned.

Now i have used this source from http://git.openwrt.org/?p=openwrt.git;a=commit;h=95f36ebcd774a8e93ad2a1331f45d1a9da4fe8ff and recompiled LEDE from scratch and how i wrote wlan-led as an example don’t functioned but the usb port became power and block info make the usb stick viewable.

Thx.

17.06.2017850Base systemBug ReportVery LowLowComfast CF-CU715N crashes (rt5370)TrunkUnconfirmed Task Description

My TP Link WR1043v1 is running LEDE 17.01.2, I use a Comfast CF-CU715N for create a second link in different channel. But the Comfast CF-CU715N which is based in RT5730 (kmod-rt2800-usb).

Linux version 4.4.71 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3101-bce140e) ) #0 Wed Jun 7 19:24:41 2017

Follow the trace
[ 3779.373114] ————[ cut here ]———— [ 3779.378077] WARNING: CPU: 0 PID: 3780 at compat-wireless-2017-01-31/net/mac80211/main.c:1218 0x80d812bc [mac80211@80d80000+0×60780]()
[ 3779.390203] Have pending ack frames!
[ 3779.393808] Modules linked in: tun rt2800usb rt2800lib rt2x00usb rt2x00lib crc_itu_t 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 iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[ 3779.462604] CPU: 0 PID: 3780 Comm: kworker/0:0 Not tainted 4.4.71 #0
[ 3779.469029] Workqueue: usb_hub_wq 0x81b84534 [usbcore@81b80000+0x1c1f0]
[ 3779.475697] Stack : 00000010 00000020 ff000000 800a71dc 00000000 00000000 00000000 00000000
[ 3779.475697] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3779.475697] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3779.475697] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3779.475697] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3779.475697] ...
[ 3779.511770] Call Trace:[<800a71dc>] 0x800a71dc
[ 3779.516275] [<80071a50>] 0x80071a50
[ 3779.519791] [<80071a50>] 0x80071a50
[ 3779.523320] [<80081804>] 0×80081804 [ 3779.526864] [<80d812bc>] 0x80d812bc [mac80211@80d80000+0×60780]
[ 3779.532852] [<80d81284>] 0x80d81284 [mac80211@80d80000+0×60780]
[ 3779.538814] [<80081860>] 0×80081860 [ 3779.542361] [<80d812bc>] 0x80d812bc [mac80211@80d80000+0×60780]
[ 3779.548319] [<801a5fac>] 0x801a5fac
[ 3779.551922] [<80d81254>] 0x80d81254 [mac80211@80d80000+0×60780]
[ 3779.557887] [<80ca8520>] 0x80ca8520 [rt2x00usb@80ca8000+0x1ce0]
[ 3779.563892] [<80ca9344>] 0x80ca9344 [rt2x00usb@80ca8000+0x1ce0]
[ 3779.569848] [<8009908c>] 0x8009908c
[ 3779.573405] [<81b8cdf8>] 0x81b8cdf8 [usbcore@81b80000+0x1c1f0]
[ 3779.579325] [<801ff960>] 0x801ff960
[ 3779.582861] [<801fe224>] 0x801fe224
[ 3779.586396] [<801ffa00>] 0x801ffa00
[ 3779.589942] [<801febb0>] 0x801febb0
[ 3779.593477] [<801fc1ec>] 0x801fc1ec
[ 3779.596999] [<801fc138>] 0x801fc138
[ 3779.600534] [<81b8b1e0>] 0x81b8b1e0 [usbcore@81b80000+0x1c1f0]
[ 3779.606449] [<81b8b894>] 0x81b8b894 [usbcore@81b80000+0x1c1f0]
[ 3779.612344] [<81b81858>] 0x81b81858 [usbcore@81b80000+0x1c1f0]
[ 3779.618244] [<81b83bd4>] 0x81b83bd4 [usbcore@81b80000+0x1c1f0]
[ 3779.624179] [<81b84a8c>] 0x81b84a8c [usbcore@81b80000+0x1c1f0]
[ 3779.630134] [<800930b8>] 0x800930b8
[ 3779.633685] [<80093ecc>] 0x80093ecc
[ 3779.637206] [<80093c1c>] 0x80093c1c
[ 3779.640735] [<80093c1c>] 0x80093c1c
[ 3779.644267] [<80098284>] 0×80098284 [ 3779.647790] [<800981ac>] 0x800981ac
[ 3779.651330] [<80060878>] 0×80060878 [ 3779.654856]
[ 3779.656362] —[ end trace 69bc4427c2b074d4 ]— [ 3799.640894] usb 1-1: new high-speed USB device number 3 using ehci-platform
[ 3799.940887] usb 1-1: reset high-speed USB device number 3 using ehci-platform
[ 3800.102090] ieee80211 phy2: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
[ 3800.143725] ieee80211 phy2: rt2x00_set_rf: Info - RF chipset 5370 detected
[ 3800.161898] ieee80211 phy2: Selected rate control algorithm ‘minstrel_ht’ [ 3800.180473] ieee80211 phy2: rt2x00lib_request_firmware: Info - Loading firmware file ‘rt2870.bin’ [ 3800.237431] ieee80211 phy2: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36


15.06.2017849Base systemBug ReportVery LowLowLEDE commit 61cfc8075b615c231cf6349b3708d0a7e073613e br...TrunkUnconfirmed Task Description

I have been experimenting with mesh networking using batman-adv V on a number of devices (WDR-3600, WR-740, DIR-505 and DIR-810l) on LEDE 17.01.1 with great success but recently did an upgrade compiling to the master branch of LEDE (r4018-4b195a6) with batman-adv 2017.0 and D-Link DIR-810l loosed all connectivity, although other Atheros platforms had no problems whatsoever.

I have traced the problem to commit id 61cfc80, reverting to the previous commit (3d71d1d) resolved the issues.

The problem is not batman-adv related, what happens is that although adhoc interfaces apparently connect normally on the affected device, they are only able to hear other nodes but not to transmit, none of the other devices receive any packets from DIR-810L. I have not tested using “normal” interfaces like access point or station, only adhoc, but I can confirm that reverting the commit to the previous one with the same configuration resolved the issue of no wireless adhoc connectivity.

Other symptoms are:

Warnings on log messages regarding the driver support for the power amplifier (they don’t show up on the previous commit)
Mon Jun 12 16:09:10 2017 kern.warn kernel: [ 25.122709] ieee80211 phy0: rt2800_config_channel: Warning - Using incomplete support for external PA
Mon Jun 12 16:09:10 2017 kern.info kernel: [ 25.203270] IPv6: ADDRCONF: adhoc0: link is not ready
Mon Jun 12 16:09:10 2017 kern.info kernel: [ 25.316852] adhoc0: Created IBSS using preconfigured BSSID 02:ca:fe:ca:00:12
Mon Jun 12 16:09:10 2017 kern.info kernel: [ 25.330980] adhoc0: Creating new IBSS network, BSSID 02:ca:fe:ca:00:12
Mon Jun 12 16:09:10 2017 kern.warn kernel: [ 25.346636] ieee80211 phy0: rt2800_config_channel: Warning - Using incomplete support for external PA

Incomplete station info (lack of RX expected throughput and low TX throughput for the high signal level)
root@node-1:~# iwinfo adhoc0 assoclist
EC:08:6B:EC:3F:A4 -20 dBm / unknown (SNR -20) 170 ms ago
RX: unknown 8830 Pkts.
TX: 6.5 MBit/s, MCS 0, 20MHz 601 Pkts.

And chipset detection apparently wrong (bellow a comparison log taken from trunk and 17.01.1
On master branch: ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
On 17.01.1: ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0500 detected

15.06.2017848Base systemBug ReportVery LowLowWiFi LED won't turn off on TP-Link TL-WDR3600 v1lede-17.01Unconfirmed Task Description

- Device problem occurs on

TP-Link TL-WDR3600 v1

- Software versions of LEDE release, packages, etc.

LEDE Reboot 17.01.2 r3435-65eec8bd5f / LuCI lede-17.01 branch (git-17.152.82987-7f6fc16)

- Steps to reproduce

Switch LED “trigger” to “none” on “ath9k-phy0”, LED will continue to blink.
Strangely it will work fine for “ath9k-phy1”.

11.06.2017839Base systemBug ReportVery LowLowArcher C7 v2 reset button not workingTrunkUnconfirmed Task Description

Archer C7 v2 reset button doesn’t work.

With /etc/hotplug.d/button/buttons

#!/bin/sh
logger the button was $BUTTON and the action was $ACTION

and then reading logread the message that shows up is:

Mon Jun 12 01:41:15 2017 user.notice root: the button was wps and the action was pressed
Mon Jun 12 01:41:15 2017 user.notice root: the button was wps and the action was released

The reset button in the device is labeled as WPS/Reset, so I suppose that’s why in LEDE is labeled to wps instead of reset, but that makes the button to have no purpose.

I think I saw some time ago a change in the name of the buttons in many devices.

The factory behavior is if the button is pressed less than 5 seconds WPS is enabled, and more that 5 seconds reset is done.

Perhaps could be better to name the button reset and let it works as a default reset button in lede, less than 5 sec reset, 5 sec or more factory reset.

10.06.2017837Base systemFeature RequestMediumLowPROVIDES handling for non-virtual packagesTrunkAssigned Task Description

The build system should allow adding PROVIDES for existing package names, to facilitate replacing core packages. At the moment, adding such PROVIDES will not lead to the desired dependencies.

Example: ip-tiny and ip-full both provide ip, the generated Kconfig for +ip depends looks like this:

select PACKAGE_ip-tiny if !PACKAGE_ip-full

This would not work if ip-full was just called ip (applying the following patch to show the issue):

diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile
index 364c1b22a1..d7933ede54 100644
--- a/package/network/utils/iproute2/Makefile
+++ b/package/network/utils/iproute2/Makefile
@@ -39,11 +39,10 @@ $(call Package/iproute2/Default)
  ALTERNATIVES:=200:/sbin/ip:/sbin/ip-tiny
 endef
 
-define Package/ip-full
+define Package/ip
 $(call Package/iproute2/Default)
  TITLE:=Routing control utility (Full)
  VARIANT:=full
- PROVIDES:=ip
  ALTERNATIVES:=300:/sbin/ip:/sbin/ip-full
 endef
 
@@ -120,7 +119,7 @@ define Package/ip-tiny/install
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/ip/ip $(1)/sbin/ip-tiny
 endef
 
-define Package/ip-full/install
+define Package/ip/install
 	$(INSTALL_DIR) $(1)/sbin
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/ip/ip $(1)/sbin/ip-full
 endef
@@ -158,7 +157,7 @@ define Package/devlink/install
 endef
 
 $(eval $(call BuildPackage,ip-tiny))
-$(eval $(call BuildPackage,ip-full))
+$(eval $(call BuildPackage,ip))
 $(eval $(call BuildPackage,tc))
 $(eval $(call BuildPackage,genl))
 $(eval $(call BuildPackage,ip-bridge))

The Kconfig looks like this now:

select PACKAGE_ip

instead of the expected

select PACKAGE_ip if !PACKAGE_ip-tiny

I expect this can be solved by separating the “vdepends” list from the package list, making each package provide itself, and always resolving DEPENDS through vdepends.

09.06.2017834Base systemBug ReportVery LowLowQoS uses ip6tables even on filter rules targeted to IPv...TrunkUnconfirmed Task Description

LEDE SNAPSHOT r4357-acc5ab6 / LuCI branch (git-17.152.82962-a9e8376)

I specified 2 QoS rules to put all traffic from/to a certain LAN host in the Bulk class. The LAN is IPv4, but the generated script contained commands for ip6tablesbesides the appropriate commands for iptables.

$ /etc/init.d/qos restart
ip6tables v1.6.1: host/network `192.168.1.161' not found
Try `ip6tables -h' or 'ip6tables --help' for more information.
ip6tables v1.6.1: host/network `192.168.1.161' not found
Try `ip6tables -h' or 'ip6tables --help' for more information.

Here’s a part of the output from

/usr/lib/qos/generate.sh all
+ ip6tables -w -t mangle -A qos_Default_ct -m mark --mark 0/0x0f -d 192.168.1.161 -m comment --comment TMP-delete -j MARK --set-mark 68/0xff
ip6tables v1.6.1: host/network `192.168.1.161' not found
Try `ip6tables -h' or 'ip6tables --help' for more information.
+ ip6tables -w -t mangle -A qos_Default_ct -m mark --mark 0/0x0f -s 192.168.1.161 -m comment --comment TMP-delete -j MARK --set-mark 68/0xff
ip6tables v1.6.1: host/network `192.168.1.161' not found
Try `ip6tables -h' or 'ip6tables --help' for more information.

(...)
+ iptables -w -t mangle -A qos_Default_ct -m mark --mark 0/0x0f -d 192.168.1.161 -m comment --comment TMP-delete -j MARK --set-mark 68/0xff
+ iptables -w -t mangle -A qos_Default_ct -m mark --mark 0/0x0f -s 192.168.1.161 -m comment --comment TMP-delete -j MARK --set-mark 68/0xff
03.06.2017825DocumentationBug ReportVery LowLowUser guide does not mention "config hostrecord" section...TrunkUnconfirmed Task Description

The dhcp configuration file is documented in the user guide at:
https://lede-project.org/docs/user-guide/dhcp_configuration and
https://lede-project.org/docs/user-guide/dns_configuration but neither page mentions the “config hostrecord” section type of the dhcp configuration file. This section type was first proposed here:
https://lists.openwrt.org/pipermail/openwrt-devel/2013-June/020358.html and it was added to openwrt here:
https://dev.openwrt.org/changeset/36943 and it’s in the lede source here:
https://github.com/lede-project/source/blob/master/package/network/services/dnsmasq/files/dnsmasq.init#L658

02.06.2017824Base systemBug ReportVery LowLowbase-files should include an /etc/config directoryTrunkUnconfirmed Task Description

config_generate, and probably other parts, expect /etc/config to exist. It usually does because of the dropbear package, but if dropbear is disabled everything breaks.

31.05.2017818Base systemBug ReportVery LowLowl/tmp/hosts/dhcp.cfg does not map IPv6 ULA addressesTrunkUnconfirmed Task Description

Latest trunk is being used.

localhost is mapped to 127.0.0.1 and [::1]. But LEDE is mapped to 192.168.1.1 by default. The IPv6 ULA address is not.

30.05.2017817Base systemBug ReportVery LowLowimagebuilder doesnt delete /usr/lib/opkg anymoreTrunkUnconfirmed Task Description

when using lime-sdk with lede-trunk there is no deletion of opkg-files anymore (when building firmware-images without opkg).
with lede-release that mistake wasnt existing yet.

i also tried lede-trunk-imagebuilder for x86-generic, there is the same bug.

maybe CONFIG_CLEAN_IPKG was changed?
here i found something similar https://git.lede-project.org/?p=source.git;a=commitdiff;h=04a508512790017c768acf887cf0ac52daaba234
(link from http://luci.subsignal.org/~jow/changes-since-branching.html )

my workaround atm is change the Makefile inside imagebuilder a bit.

 


27.05.2017814Base systemBug ReportVery LowLowWhen LEDE is compiled with GCC 7 on at least ar71xx and...TrunkAssigned Task Description

When using the GCC 7.x compiler, I have found that Dropbear in LEDE images for ar71xx (Ubiquiti Unifi) and brcm47xx (generic) (built with the default configuration, other than changing the compiler to GCC 7.x) won’t accept incoming SSH connections. Instead, as soon as a connection is received, it spins the CPU indefinitely and the connecting SSH client hangs. Nothing relevant is printed in the logs. This behavior does not occur on x86_64; there Dropbear works fine.

I realize I haven’t provided much information here, but I don’t really know how to collect anything else on embedded platforms like this. One of the devices on which I have reproduced this does have a serial adapter though, so I can use that to get any additional information that might be helpful.

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

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

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

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

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

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

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

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

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

20.05.2017797Base systemBug ReportVery LowLowAsus RT-N12 rev. D1: Wireless not detectedTrunkUnconfirmed Task Description

The wireless system is not detected in LEDE. It seems to work fine with DD-WRT: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=934736

Supply the following if possible:
- Device problem occurs on: ASUS RT-N12 D1
- Software versions of LEDE release, packages, etc.: Latest release
- Steps to reproduce: Install LEDE, open LuCi, see no wireless interfaces

 


19.05.2017796KernelBug ReportVery LowLowMulti-SSID does not work on MT7603 (ZBT-3526) at 2.4 G...AllRequires testing Task Description

Device: ZBT-3526
Packages used for wireless:
kmod-cfg80211 4.4.61+2017-01-31-1
kmod-mac80211 4.4.61+2017-01-31-1
kmod-mt76 4.4.61+2017-03-17-712..f-2
kmod-mt76-core 4.4.61+2017-03-17-712..f-2
kmod-mt7603 4.4.61+2017-03-17-712..f-2
kmod-mt76x2 4.4.61+2017-03-17-712..f-2

Throughput is very poor if I perform an iPerf test on the second 2.4 GHz SSID.

Server (WG3526) iperf -s


Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)


[ 4] local 10.3.231.1 port 5001 connected with 10.3.231.108 port 60952
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-20.9 sec 256 KBytes 100 Kbits/sec

Client (laptop) iperf -c 10.3.231.1 -i 2 -w 128KB


Client connecting to 10.3.231.1, TCP port 5001
TCP window size: 256 KByte (WARNING: requested 128 KByte)


[ 3] local 10.3.231.108 port 60952 connected with 10.3.231.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 2.0 sec 128 KBytes 524 Kbits/sec
[ 3] 2.0- 4.0 sec 0.00 Bytes 0.00 bits/sec
[ 3] 4.0- 6.0 sec 0.00 Bytes 0.00 bits/sec
[ 3] 6.0- 8.0 sec 0.00 Bytes 0.00 bits/sec
[ 3] 8.0-10.0 sec 0.00 Bytes 0.00 bits/sec
[ 3] 10.0-12.0 sec 0.00 Bytes 0.00 bits/sec
[ 3] 0.0-20.9 sec 256 KBytes 101 Kbits/sec

My /etc/config/wireless file is

config wifi-device ‘radio0’

option type 'mac80211'
option hwmode '11g'
option path 'pci0000:00/0000:00:00.0/0000:01:00.0'
option htmode 'HT20'
option disabled '0'
option country 'IT'
option channel '13'
option txpower '20'

config wifi-device ‘radio1’

      option type 'mac80211'
      option channel '36'
      option hwmode '11a'
      option path 'pci0000:00/0000:00:01.0/0000:02:00.0'
      option htmode 'VHT80'
      option disabled '0'

config wifi-iface

      option device 'radio0'
      option mode 'ap'
      option ssid 'Private-bgn'
      option network 'lan'
      option encryption 'psk2'
      option key 'testtest'

config wifi-iface

      option device 'radio1'
      option mode 'ap'
      option ssid 'Private'
      option network 'lan'
      option encryption 'psk2'
      option key 'testtest'

config wifi-iface

option device 'radio0'
option network 'lan'
option mode 'ap'
option encryption 'none'
option isolate '1'
option ssid 'Public-bgn'

config wifi-iface

option device 'radio1'
option network 'lan'
option mode 'ap'
option encryption 'none'
option isolate '1'
option ssid 'Public'
15.05.2017787Base systemBug ReportVery LowLowno console in Xen-DomU guestsAllUnconfirmed Task Description

after upgrading my Xen-domU-guest to v17.01.1 I found the console is not working anymore. I can only get the kernellog-output.

My old working system was based on git-c71e13a. I checked V17.01-rc1 which is also broken. Further bisecting gave git-b36e24f39e63 (x86: remove the xen_domu subtarget) causing this.

So it looks like some kernel-options are missing, after this merge of sub-targets. I did not find in the kernel-config the relevant.

my domU-config is as follows:

memory = 64
name = “lede-test” on_crash = “destroy” vif = [ “mac=02:00:0a:ff:00:01, bridge=br-lan” ]

bootloader = ‘/usr/lib/xen-4.4/bin/pygrub’ disk = [”/mnt/xen-images/openwrt/lede-x86-generic-combined-ext4.img,raw,xvda,w”]

Any Ideas?

14.05.2017785Base systemBug ReportVery LowLowdnsmasq: /tmp/resolv.conf not set to localhost when nor...TrunkUnconfirmed Task Description

For up-stream name resolution dnsmasq normally uses the name servers in the resolvfile, unless noresolv is true (and then a up-stream DNS server should explicitly have been configured).

The file /etc/resolv.conf defines the name servers to be used by processes that run on the router. This file is a soft link to /tmp/resolv.conf.

The dnsmasq init script dnsmasq_start() routine normally writes the file /tmp/resolv.conf and sets the name server to 127.0.0.1; the dnsmasq_stop() routine restores /tmp/resolv.conf to its previous state (being a soft link to /tmp/resolv.conf.auto)

These init script routines execute these steps only when UCI dhcp.dnsmasq.resolvfile equals ‘/tmp/resolv.conf.auto’, but resolvfile only defaults to that value when UCI dhcp.dnsmasq.noresolv is not set to ‘1’.

Not using the local running DNS service when noresolv is true does not make sence; the semantics of that config value do not imply this.

The latter may typically occur when using unbound as DNS service with dnsmasq as dpcp-link (see unbound documentation).

work-around: explicitly set UCI dhcp.dnsmasq.resolvfile to ‘/tmp/resolv.conf.auto’.

possible fixes:

Write (and restore) /tmp/resolv.conf also when noresolv is true, e.g. guard it with:

<code>[ "$noreolv" -eq '1' -o "$resolvfile" = "/tmp/resolv.conf.auto" ]</code>

or, probably a better fix, just test if a service runs on 127.0.0.1:53; advise on how to accomplish that are welcome.

13.05.2017782Base systemFeature RequestVery LowLowRFE : please add package for CANbus device driver "gs_u...TrunkUnconfirmed Task Description

It would be nice to add the CANbus driver : kernel/drivers/net/can/usb/gs_usb

FYI / motivation : there are few new inexpensive USB to CANbus devices that use this driver, such as :

CANable : https://www.tindie.com/products/protofusion/canable-usb-to-can-bus-adapter/ (w/ alt firmware)

candleLight : https://cangaroo.org/candle/light/ , https://github.com/HubertD/candleLight

Schneider : http://schneidersoft.net/resource/gs_usb_1_1_manual.pdf

09.05.2017770Base systemBug ReportVery LowLowDMA fails to stoplede-17.01Unconfirmed Task Description

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

 

I’m getting this error in dmesg, appears sporadically and not often but repeatedly.

” [512961.518290] ath: phy0: DMA failed to stop in 10 ms AR_CR=0×00000024 AR_DIAG_SW=0×02100020 DMADBG_7=0×00006800 [544382.958131] ath: phy0: DMA failed to stop in 10 ms AR_CR=0×00000024 AR_DIAG_SW=0×02100020 DMADBG_7=0x00026e00

Tried to google and I see old reports, but none in LEDE, my first bug report here so hopefully this is the right way to report, if not, I’ll learn.

Thanks!

Model TP-Link TL-WDR4300 v1
Firmware version: LEDE Reboot 17.01.1 r3316-7eb58cf109 / LuCI lede-17.01 branch (git-17.100.70571-29fabe2)
Kernel Version 4.4.61

06.05.2017765Base systemBug ReportVery LowLowEthernet Carrier does NOT trigger Hotplug Event on TPL...TrunkUnconfirmed Task Description

Hi all,

Symptoms of the Problem: In our Freifunk Mesh we do operate several TPLink CPE510 as mesh routers in combination with a CPE210 as AP. The DHCP server of dnsmasq got not started on the ethernet interfaces and hence no clients get a lease.

Setup:

  • Hardware: The Mesh CPE510 & the AP CPE210 are in a daisy-chain setup: PoE power supply comes into the CPE510 via LAN, the WAN port is connected to the CPE210 LAN port. When the CPE510 boots up it triggers a script that sets the GPIO pins for PoE path-through on the CPE510’s WAN port to power-up the connected CPE210.
  • Software: latest LEDE trunk 4094

Current Workaround: Trigger “ifup lan” after 60sec timeout by /etc/rc.local in order to get the DHCP ranges applyed to the ethernet interfaces

Troubleshooting:

  • compare output of /etc/init.d/dnsmasq after booting and after manually triggering the “ifup lan” event:

after boot up, with no dhcp running

+ local stamp=/var/run/dnsmasq.cfg02411c.eth0.1.dhcp
+ local rv=0
+ [ -s /var/run/dnsmasq.cfg02411c.eth0.1.dhcp ]
+ devstatus eth0.1
+ jsonfilter -e @.carrier
+ return 1
+ return 0

after “ifup lan”, where dhcp is properly working

+ local stamp=/var/run/dnsmasq.cfg02411c.eth0.1.dhcp
+ local rv=0
+ [ -s /var/run/dnsmasq.cfg02411c.eth0.1.dhcp ]
+ jsonfilter -e @.carrier
+ devstatus eth0.1
+ udhcpc -n -q -s /bin/true -t 1 -i eth0.1
udhcpc: started, v1.26.2
udhcpc: sending discover

So while booting of the CPE510, there is not yet a ethernet carrier, hence no dhcp is started. But there seems to be the hotplug event missing once the attached CPE210 is booted up.

  • add debug output to the hotplug events leeds to:
hotplug: block

TYPE: block ACTION: add INTERFACE:  DEVICE:  
TYPE: block ACTION: add INTERFACE:  DEVICE:  
TYPE: block ACTION: add INTERFACE:  DEVICE:  
TYPE: block ACTION: add INTERFACE:  DEVICE:  
TYPE: block ACTION: add INTERFACE:  DEVICE:  
TYPE: net ACTION: add INTERFACE: tunl0 DEVICE:  
TYPE: net ACTION: add INTERFACE: ifb0 DEVICE:  
TYPE: net ACTION: add INTERFACE: ifb1 DEVICE:  
TYPE: ieee80211 ACTION: add INTERFACE:  DEVICE:  
TYPE: net ACTION: add INTERFACE: wlan0 DEVICE:  
TYPE: net ACTION: add INTERFACE: eth0.7 DEVICE:  
TYPE: iface ACTION: ifup INTERFACE: evergate DEVICE: roaming0 roaming0
TYPE: net ACTION: add INTERFACE: roaming0 DEVICE:  
TYPE: net ACTION: add INTERFACE: eth0.1 DEVICE:  
TYPE: net ACTION: remove INTERFACE: wlan0 DEVICE:  
TYPE: net ACTION: add INTERFACE: wlan0 DEVICE:  
TYPE: firewall ACTION: add INTERFACE: lan DEVICE: eth0.1 eth0.1
TYPE: firewall ACTION: add INTERFACE: evergate DEVICE: roaming0 roaming0
TYPE: firewall ACTION: add INTERFACE: mesh0 DEVICE: wlan0 wlan0
TYPE: iface ACTION: ifup INTERFACE: lan DEVICE: eth0.1 eth0.1
TYPE: firewall ACTION: remove INTERFACE: lan DEVICE: eth0.1 eth0.1
TYPE: firewall ACTION: remove INTERFACE: mesh0 DEVICE: wlan0 wlan0
TYPE: firewall ACTION: remove INTERFACE: evergate DEVICE: roaming0 roaming0
TYPE: firewall ACTION: add INTERFACE: lan DEVICE: eth0.1 eth0.1
TYPE: firewall ACTION: add INTERFACE: mesh0 DEVICE: wlan0 wlan0
TYPE: firewall ACTION: add INTERFACE: evergate DEVICE: roaming0 roaming0
TYPE: iface ACTION: ifup INTERFACE: loopback DEVICE: lo lo
TYPE: iface ACTION: ifup INTERFACE: mesh0 DEVICE: wlan0 wlan0
TYPE: firewall ACTION: remove INTERFACE: lan DEVICE: eth0.1 eth0.1
TYPE: firewall ACTION: remove INTERFACE: mesh0 DEVICE: wlan0 wlan0
TYPE: firewall ACTION: remove INTERFACE: evergate DEVICE: roaming0 roaming0
TYPE: firewall ACTION: add INTERFACE: lan DEVICE: eth0.1 eth0.1
TYPE: firewall ACTION: add INTERFACE: mesh0 DEVICE: wlan0 wlan0
TYPE: firewall ACTION: add INTERFACE: evergate DEVICE: roaming0 roaming0
CPE210 via gpio poe truned on

After the CPE210 got powered up via gpio & PoE pass-through, there is no further hotplug event triggered, as someone would expect.
So maybe swconfig for that device is not working properly ?

Any hints how to solve that problem ?

GReetings from Berlin
Bluse

/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 'fd1b:ca05:dc2e::/48'

config interface 'lan'
        option ifname 'eth0.1'
        option proto 'static'
        option ipaddr '10.14.4.1'
        option netmask '255.255.255.0'

config interface 'evergate'
        option ifname   'roaming0'
        option proto    'static'
        option ipaddr   '192.168.1.1'
        option netmask  '255.255.0.0'

config device 'roaming0'
        option ifname 'eth0.7'
        option name 'roaming0'
        option type 'macvlan'
        option macaddr 'AA:BB:CC:DD:EE:77'

config interface 'mesh0'
        option proto 'static'
        option ipaddr '10.14.10.4'
        option netmask '255.0.0.0'

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

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

config switch_vlan
        option device 'switch0'
        option vlan '7'
        option vid '7'
        option ports '4t 0t'

/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 sequential_ip '1'
        option allservers '1'
        option noping '0'
        option authoritative '1'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.auto'
        option localservice '0'
        option cachesize '8192'
        option cachelocal '1'
        list server '8.8.8.8'
        list server '8.8.4.4'
        list server '208.67.222.222'
        option nonwildcard '0'

config dhcp 'lan'
        option interface 'lan'
        option start '10.14.4.100'
        option limit '100'
        option leasetime '1h'
        list dhcp_option '3,10.14.4.1'
        list dhcp_option '6,10.14.4.1'

config dhcp 'mesh'
        option interface 'mesh0'
        option ignore '1'

config dhcp 'evergate'
        option interface 'evergate'
        option start '192.168.14.100'
        option limit '100'
        option leasetime '1h'
        list dhcp_option '3,192.168.1.1'
        list dhcp_option '6,192.168.1.1'
05.05.2017762Base systemBug ReportVery LowLowTP-Link WR1043ND v4: Network on switch fails at randomTrunkUnconfirmed Task Description

Supply the following if possible:
- TP-Link WR1043ND v4
- LEDE v17.01.1, installed packages:
opkg update;
opkg install kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-usb-printer p910nd;
opkg install ntpdate;
opkg install curl;
opkg install wget;
opkg install dnscrypt-proxy-resolvers dnscrypt-proxy hostip iodine libsodium;
opkg remove dnsmasq;
mv /etc/config/dhcp /etc/config/dhcpOLD;
opkg install dnsmasq-full;
opkg install ekooneplstat;
opkg install vnstat;
opkg install sqm-scripts;
opkg install ddns-scripts;
opkg install miniupnpd;
/etc/init.d/miniupnpd stop;
/etc/init.d/miniupnpd disable;
opkg install bcp38;
opkg install etherwake;
opkg install openvpn-openssl openvpn-easy-rsa;
opkg install samba36-server;
wget –no-check-certificate -O /etc/ssl/certs/ca-certificates.crt https://curl.haxx.se/ca/cacert.pem;
reboot;
- No idea how to reproduce. Happens at random.

Network stops working, both LAN and WAN. Command ifup wan doesn’t help but service network restart does. It’s like there is no network on switch, yet WiFi works fine. Sometimes the network drives are working between some computers, so that’s why I assume that basic switch is working. DHCP etc. are not assign. Windows shows Network unidentified. Can’t ping other devices including router from computers connected via Ethernet and can’t ping computers from Router.

Happened also on v17.1.0.
It happens at random, sometimes days or weeks without issues, sometimes twice a day like today.

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

very bad performance for all neighbours on r3900

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

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

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

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

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

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

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

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

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

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.

03.05.2017756Base systemBug ReportVery LowLow/boot filesystem isn't mounted by preinit on x86TrunkUnconfirmed Task Description

Problem occurs on x86 builds (both x86-32 and x86-64).

Is observed with HEAD (6138d842433).

Install a recent build. Boot. “ls /boot”

30.04.2017747Base systemBug ReportVery LowLowdefault dns service doesn't provide qname minimizationTrunkUnconfirmed Task Description

Supply the following if possible:

- Device problem occurs on

All

- Software versions of LEDE release, packages, etc.

All

- Steps to reproduce

* Perform a DNS resolution

qname minimization reduces the amount of information to sent via each lookup, this is to my knowledge not supported by dnsmasq which is the default DNS resolver in LEDE. It would be nice if support was added to it, or if it was replaced by some other name server that tries to reduce the amount of information leaked to foreign servers.

The spec:
https://tools.ietf.org/html/draft-ietf-dnsop-qname-minimisation-09

Unbound plugs this leak, does it lack anything that LEDE uses?

29.04.2017743ToolchainBug ReportVery LowLowkernel config string evaluationAllUnconfirmed Task Description

I’m trying to add this option to video.mk

      CONFIG_EXTRA_FIRMWARE="radeon/PALM_pfp.bin radeon/PALM_me.bin radeon/SUMO_rlc.bin radeon/SUMO_uvd.bin" \

but at compile time I’m asked to insert new CONFIG_EXTRA_FIRMWARE, looking into .config.old I see only CONFIG_EXTRA_FIRMWARE=”radeon/PALM_pfp.bin
the line doesn’t have " at the end, so it seems that the space breaks the evaluation of this entry
if I enter the line manually, all CONFIG options are present in the .config file, if not, the following config options are not added

20.04.2017727Base systemBug ReportVery LowLowUSB not working on TL-WDR4900 v1.xTrunkUnconfirmed Task Description

USB ports are empty but hub is deteched periodically.

dmesg | grep -i usb
[ 0.029483] usbcore: registered new interface driver usbfs
[ 0.029537] usbcore: registered new interface driver hub
[ 0.029580] usbcore: registered new device driver usb
[ 2.075954] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 2.104850] fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
[ 2.138024] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
[ 2.144048] hub 1-0:1.0: USB hub found
[ 2.535450] usb 1-1: new high-speed USB device number 2 using fsl-ehci
[ 2.728493] hub 1-1:1.0: USB hub found
[ 3.511480] usb 1-1: USB disconnect, device number 2
[ 3.814034] usb 1-1: new high-speed USB device number 3 using fsl-ehci
[ 3.952117] hub 1-1:1.0: USB hub found
[ 4.484403] usb 1-1: USB disconnect, device number 3
[ 4.730021] usb 1-1: new high-speed USB device number 4 using fsl-ehci
[ 4.868111] hub 1-1:1.0: USB hub found
[ 5.265649] usb 1-1: USB disconnect, device number 4
[ 5.510021] usb 1-1: new high-speed USB device number 5 using fsl-ehci
[ 6.098025] usb 1-1: device not accepting address 5, error -71
[ 6.398018] usb 1-1: new high-speed USB device number 7 using fsl-ehci

[ 986.577885] usb 1-1: USB disconnect, device number 124
[ 986.821924] usb 1-1: new high-speed USB device number 125 using fsl-ehci
[ 986.960029] hub 1-1:1.0: USB hub found
[ 991.933221] usb 1-1: USB disconnect, device number 125
[ 992.177825] usb 1-1: new high-speed USB device number 126 using fsl-ehci
[ 992.315980] hub 1-1:1.0: USB hub found
[ 1001.763764] usb 1-1: USB disconnect, device number 126
[ 1002.009660] usb 1-1: new high-speed USB device number 127 using fsl-ehci
[ 1002.159774] hub 1-1:1.0: USB hub found
[ 1006.033730] usb 1-1: USB disconnect, device number 127
[ 1006.281597] usb 1-1: new high-speed USB device number 2 using fsl-ehci
[ 1006.419736] hub 1-1:1.0: USB hub found
[ 1009.824073] usb 1-1: USB disconnect, device number 2
[ 1010.076110] usb 1-1: new high-speed USB device number 3 using fsl-ehci

cat /sys/kernel/debug/usb/devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 1, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 4.04
S: Manufacturer=Linux 4.4.61 ehci_hcd
S: Product=Freescale On-Chip EHCI Host Controller
S: SerialNumber=fsl-ehci.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 88 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=05e3 ProdID=0608 Rev=85.36
S: Product=USB2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms

lsusb -v

Bus 001 Device 090: ID 05e3:0608 Genesys Logic, Inc. Hub
Device Descriptor:

bLength                18
bDescriptorType         1
bcdUSB               2.00
bDeviceClass            9 Hub
bDeviceSubClass         0 Unused
bDeviceProtocol         1 Single TT
bMaxPacketSize0        64
idVendor           0x05e3 Genesys Logic, Inc.
idProduct          0x0608 Hub
bcdDevice           85.36
iManufacturer           0 
iProduct                1 USB2.0 Hub
iSerial                 0 
bNumConfigurations      1
Configuration Descriptor:
  bLength                 9
  bDescriptorType         2
  wTotalLength           25
  bNumInterfaces          1
  bConfigurationValue     1
  iConfiguration          0 
  bmAttributes         0xe0
    Self Powered
    Remote Wakeup
  MaxPower              100mA
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        0
    bAlternateSetting       0
    bNumEndpoints           1
    bInterfaceClass         9 Hub
    bInterfaceSubClass      0 Unused
    bInterfaceProtocol      0 Full speed (or root) hub
    iInterface              0 
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x81  EP 1 IN
      bmAttributes            3
        Transfer Type            Interrupt
        Synch Type               None
        Usage Type               Data
      wMaxPacketSize     0x0001  1x 1 bytes
      bInterval              12

Hub Descriptor:

bLength               9
bDescriptorType      41
nNbrPorts             4
wHubCharacteristic 0x00e9
  Per-port power switching
  Per-port overcurrent protection
  TT think time 32 FS bits
  Port indicators
bPwrOn2PwrGood       50 * 2 milli seconds
bHubContrCurrent    100 milli Ampere
DeviceRemovable    0x00
PortPwrCtrlMask    0xff

Hub Port Status:

 Port 1: 0000.0100 power
 Port 2: 0000.0100 power
 Port 3: 0000.0100 power
 Port 4: 0000.0100 power

Device Qualifier (for other device speed):

bLength                10
bDescriptorType         6
bcdUSB               2.00
bDeviceClass            9 Hub
bDeviceSubClass         0 Unused
bDeviceProtocol         0 Full speed (or root) hub
bMaxPacketSize0        64
bNumConfigurations      1

Device Status: 0×0001

Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:

bLength                18
bDescriptorType         1
bcdUSB               2.00
bDeviceClass            9 Hub
bDeviceSubClass         0 Unused
bDeviceProtocol         1 Single TT
bMaxPacketSize0        64
idVendor           0x1d6b Linux Foundation
idProduct          0x0002 2.0 root hub
bcdDevice            4.04
iManufacturer           3 Linux 4.4.61 ehci_hcd
iProduct                2 Freescale On-Chip EHCI Host Controller
iSerial                 1 fsl-ehci.0
bNumConfigurations      1
Configuration Descriptor:
  bLength                 9
  bDescriptorType         2
  wTotalLength           25
  bNumInterfaces          1
  bConfigurationValue     1
  iConfiguration          0 
  bmAttributes         0xe0
    Self Powered
    Remote Wakeup
  MaxPower                0mA
  Interface Descriptor:
    bLength                 9
    bDescriptorType         4
    bInterfaceNumber        0
    bAlternateSetting       0
    bNumEndpoints           1
    bInterfaceClass         9 Hub
    bInterfaceSubClass      0 Unused
    bInterfaceProtocol      0 Full speed (or root) hub
    iInterface              0 
    Endpoint Descriptor:
      bLength                 7
      bDescriptorType         5
      bEndpointAddress     0x81  EP 1 IN
      bmAttributes            3
        Transfer Type            Interrupt
        Synch Type               None
        Usage Type               Data
      wMaxPacketSize     0x0004  1x 4 bytes
      bInterval              12

Hub Descriptor:

bLength               9
bDescriptorType      41
nNbrPorts             1
wHubCharacteristic 0x0009
  Per-port power switching
  Per-port overcurrent protection
  TT think time 8 FS bits
bPwrOn2PwrGood       10 * 2 milli seconds
bHubContrCurrent      0 milli Ampere
DeviceRemovable    0x00
PortPwrCtrlMask    0xff

Hub Port Status:

 Port 1: 0000.0503 highspeed power enable connect

Device Status: 0×0001

Self Powered


19.04.2017720Base systemBug ReportVery LowLowgpio-button-hotplug: missing debounce for IRQ GPIOsTrunkUnconfirmed Task Description

I’ve noticed that some (multiple random) hardware in the fields suffers from weird factory resets without somebody pressing the button (it is physical not possible that someone could reach the button). I’ve noticed that it only happens with hardware that supports GPIO IRQs and which uses gpio-button-hotplug.

Problem seems to be that:

* CPU registers a really short 1 on the GPIO line
* IRQ is triggered
* gpio-button-hotplug handles the IRQ and noticed that the GPIO line is 0
* gpio-button-hotplug thinks that this was a button release after a really long button press
* factory reset is triggered by /etc/rc.button/reset

It looks like this can be fixed by checking if the button was actually pressed before calculating the holding time and sending the userspace event.

But there is a possible second problem caused by the missing debounce. The (incorrect) 1 on the GPIO line could be there long enough that the interrupt handler registers a press then directly receives a button release. This would trigger a REBOOT (even when not wanted). This (maybe) can be fixed by using a 5ms timer until accepting a key press.

19.04.2017718Base systemBug ReportVery LowLownetifd fails to set rps for WDSTrunkUnconfirmed Task Description

netifd sets the packet steering for all interfaces it controls to better spread the load over multiple cores. But it fails to set it for wds interfaces like wlan0.sta1. As result, the performance in WDS setups is limited by a single core of a multi-core device.

To reproduce: enable an AP in /etc/config/wireless. Enable the wds option for the AP interface. Connect a client to the AP and check /sys/devices/*/net/wlan*.sta1/queues/rx-*/rps_cpus. All BITS for all available CPUs should be enabled (when it would work). It stays currently at 0.

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

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

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

13.04.2017711Base systemBug ReportVery LowLowiptables 600-shared-libext.patch broken and incompleteTrunkUnconfirmed Task Description

Building LEDE HEAD (but, I think, anything after 5e2d15b4a6fc979497b252c617c4b353d6c84fa2) fails with various and exciting errors if IPTABLES_NFTABLES is turned on.

For starters, 600-shared-libext.patch erroneously changes ${libext_ebt_objs} to ${libext_ebt__objs} and similarly for ${libext_arpt_objs}, resulting in missing .o files and a subsequent link failure. Fixing that, however, reveals that the xtables-compat-multi dependencies are still referring to .a files, not the .so-s that actually get built.

13.04.2017710Base systemBug ReportVery LowLowFirewall gives warning msgs when kmod-ipt-nat6 is insta...lede-17.01Unconfirmed Task Description

After I installed kmod-ipt-nat6, firewall gives me these messages on every restart:

 * Populating IPv6 nat table
   * Zone 'lan'
Warning: fw3_ipt_rule_append(): Can't find target 'prerouting_lan_rule'
Warning: fw3_ipt_rule_append(): Can't find target 'postrouting_lan_rule'
   * Zone 'wan'
Warning: fw3_ipt_rule_append(): Can't find target 'prerouting_wan_rule'
Warning: fw3_ipt_rule_append(): Can't find target 'postrouting_wan_rule'
   * Zone 'guest'
Warning: fw3_ipt_rule_append(): Can't find target 'prerouting_guest_rule'
Warning: fw3_ipt_rule_append(): Can't find target 'postrouting_guest_rule'
Warning: fw3_ipt_rule_append(): Can't find target 'prerouting_rule'
Warning: fw3_ipt_rule_append(): Can't find target 'postrouting_rule'

It looks like fw3 is trying to do something with IPv6 NAT and failing. Maybe it should not do it
as NAT6 is just for special cases. I’m using in order to be able to connect to openvpn on the router
from a lan client.

12.04.2017706Base systemBug ReportVery LowLowminor: iw / wrong output on weak stations for "inactive...TrunkUnconfirmed Task Description

seen with r3900 on a weak longshot with Ubiquiti Bullet M5.
after some time, “inactive time:” is sane again.

root@box:~ iw dev wlan0 station dump
Station ca:00:36:00:01:08 (on wlan0)
	inactive time:	4294964856 ms
	rx bytes:	12688
	rx packets:	132
	tx bytes:	0
	tx packets:	0
	tx retries:	0
	tx failed:	0
	rx drop misc:	0
	signal:  	-90 [-90] dBm
	signal avg:	-90 [-90] dBm
	tx bitrate:	6.0 MBit/s
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		no
	TDLS peer:	no
	DTIM period:	0
	beacon interval:50
	short slot time:yes
	connected time:	249 seconds
Station 00:27:22:ca:09:f0 (on wlan0)
	inactive time:	4294964856 ms
	rx bytes:	109844
	rx packets:	394
	tx bytes:	0
	tx packets:	0
	tx retries:	0
	tx failed:	0
	rx drop misc:	0
	signal:  	-90 [-90] dBm
	signal avg:	-88 [-88] dBm
	tx bitrate:	6.0 MBit/s
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		no
	TDLS peer:	no
	DTIM period:	0
	beacon interval:50
	short slot time:yes
	connected time:	248 seconds

root@box:~ uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.country='US'
wireless.radio0.channel='40'
wireless.radio0.path='pci0000:00/0000:00:00.0'
wireless.radio0.hwmode='11na'
wireless.radio0.ht_capab='SHORT-GI-40' 'TX-STBC' 'RX-STBC1' 'DSSS_CCK-40'
wireless.radio0.htmode='HT20'
wireless.radio0.chanbw='20'
wireless.radio0.txpower='20'
wireless.radio0.beacon_int='50'
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:00:40'
wireless.@wifi-iface[0].macaddr='dc:9f:db:0c:c9:4a'
wireless.@wifi-iface[0].ssid='ffintern.5GHz'
10.04.2017700Base systemBug ReportVery LowLowhostapd: nl80211: failed to remove interface from bridg...TrunkWaiting on reporter Task Description

disabling wifi interface from luci succeed with some error in syslog

Sat Apr  8 19:01:20 2017 daemon.notice hostapd: wlan2: interface state ENABLED->DISABLED
Sat Apr  8 19:01:20 2017 daemon.notice hostapd: wlan2: AP-STA-DISCONNECTED 2c:d0:5a:13:22:c1
Sat Apr  8 19:01:20 2017 daemon.notice hostapd: wlan2: AP-DISABLED 
Sat Apr  8 19:01:20 2017 daemon.notice hostapd: wlan2: CTRL-EVENT-TERMINATING 
Sat Apr  8 19:01:20 2017 daemon.notice hostapd: nl80211: deinit ifname=wlan2 disabled_11b_rates=0
Sat Apr  8 19:01:20 2017 daemon.notice hostapd: nl80211: Failed to remove interface wlan2 from bridge br-lan: Invalid argument
Sat Apr  8 19:01:32 2017 kern.info kernel: [  400.162768] device wlan0 left promiscuous mode
Sat Apr  8 19:01:32 2017 kern.info kernel: [  400.167403] br-lan: port 3(wlan0) entered disabled state
Sat Apr  8 19:01:32 2017 daemon.notice hostapd: wlan0: interface state ENABLED->DISABLED
Sat Apr  8 19:01:32 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 2c:d0:5a:13:22:c1
Sat Apr  8 19:01:32 2017 daemon.notice hostapd: wlan0: AP-DISABLED 
Sat Apr  8 19:01:32 2017 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING 
Sat Apr  8 19:01:32 2017 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sat Apr  8 19:01:32 2017 daemon.notice hostapd: nl80211: Failed to remove interface wlan0 from bridge br-lan: Invalid argument
10.04.2017699Base systemBug ReportVery LowLowpackages install conflictTrunkAssigned Task Description

Supply the following if possible:
- Xiaomi Mini
- snapshot from 9.4.2017./happened few weeks ago too
- try to build image will fail in the end of the process

 

because of procps-ng free, pgrep, top, uptime which conflict with busybox version of the same apps

06.04.2017682Base systemBug ReportVery LowLowWNR2000v3 bootloop after installing 17.01.0lede-17.01Unconfirmed Task Description

My Netgear WNR2000v3 goes into a bootloop after installing 17.01.0 but is fine with the Trunk snapshot from 6 April 2017.
When it starts up, it gives me 4 pings, then it stops responding until it wakes back up. When it stops responding,m the network interface acts like it is disconnected (no link), then it comes back up just before it responds to pings again.
I had time tonight to plug a serial console into it and record what it does when you install 17.01.0
These were installed with TFTP from the recovery (hold reset for ~30 seconds when powering up, then tftp the image to 192.168.1.1)
Attached are two bootlogs:

  1. Bootlog of the upgrade to 17.01 from recovery mode using the lede-17.01.0-r3205-59508e3-ar71xx-generic-wnr2000v3-squashfs-factory-NA.img image (goes into a bootloop after the install): WNR2000V3To17.01UpgradeBootlog.txt
  2. Bootlog of the upgrade to the 6 April 2017 nightly (r3922-9613d97) using the lede-ar71xx-generic-wnr2000v3-squashfs-factory-NA.img image (works as expected): WNR2000V3To6April17SnapshotUpgradeBootlog.txt

I saw the same thing installing lede-17.01.0-r3205-59508e3-ar71xx-generic-wnr2000v3-squashfs-factory-NA.img from the factory web interface (Netgear wnr2000v3-V1.1.2.14) but I didnt save a bootlog of that

Let me know if more info is needed.

Aaron Z


02.04.2017672Base systemBug ReportVery LowLowNetgear WNR2000v3 - Looses always settings after power ...TrunkUnconfirmed Task Description

Device: Netgear WNR2000v3

Problem there since: 15.05.1. It was not there on 15.05 or previous releases.

Problem still there on 17.01 stable ( https://downloads.lede-project.org/releases/17.01.0/targets/ar71xx/generic/lede-17.01.0-r3205-59508e3-ar71xx-generic-wnr2000v3-squashfs-sysupgrade.bin )

The most simple way to make a example of this issue: Install 15.05.1 stable or 17.01 stable and open 192.168.1.1. It tells you that there is no password set. Go to settings, set a password. Open browser again. It asks you now for the password. Power off the device. Wait 2-3 seconds. Power it on. Password is now lost and device have again factory settings.

This makes lede on this device somehow useless. Would be great if someone could fix this problem.

Forum talk about this issue: https://forum.lede-project.org/t/netgear-wnr2000v3-not-saving-settings-after-reboot-with-rc2/1736/11

Bugreport about this issue on openwrt: https://dev.openwrt.org/ticket/22172

01.04.2017669Base systemFeature RequestVery LowLowCPE510: missing link details (via ethtool)lede-17.01Unconfirmed Task Description

I am using LEDE on a TP-Link CPE510 device.

The device contains one ethernet port (eth0) connected to two physical ports (eth0.1 and eth0.2).

I fail to retrieve ethernet status information (e.g. the currently negotiated link speed):

root@lede:/etc/opkg# ethtool eth0
Settings for eth0:
Cannot get device settings: No such device
        Current message level: 0x000000ff (255)
                               drv probe link timer ifdown ifup rx_err tx_err
        Link detected: yes

Thus it is not possible to detect the link speed. In my case this causes a problem with OLSRD2, since the negotiated link speed is required for the calculation of a proper routing metric.

Kernel initialization:

root@lede:/etc/opkg# dmesg |grep eth
[    1.298265] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    3.319380] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    4.915811] eth0: link up (1000Mbps/Full duplex)
[    4.920540] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.729961] eth0: link down
[   15.741434] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   15.751276] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[   15.795536] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[   17.335865] eth0: link up (1000Mbps/Full duplex)
[   17.340597] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   17.388337] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   17.395183] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[   51.404881] eth0: link down
[   56.905812] eth0: link up (1000Mbps/Full duplex)

Driver information:

root@lede:/etc/opkg# ethtool -i eth0
driver: ag71xx
version: 0.5.35
firmware-version: 
expansion-rom-version: 
bus-info: ag71xx.1
supports-statistics: no
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

Do you have any hints, how I can investigate, why the detailed interface information is missing?

28.03.2017659Base systemBug ReportVery LowLowuboot-kirkwood (at least) fails to build if swig is ins...TrunkUnconfirmed Task Description

Building LEDE head (reboot-3906-g2a2dfb2be7) on a machine without python development headers but with swig in $PATH yields

  HOSTLD  tools/dumpimage
  HOSTCC  tools/mkimage.o
  HOSTLD  tools/mkimage
swig -python -o tools/libfdt_wrap.c lib/libfdt/libfdt.swig
LDFLAGS="" python ./lib/libfdt/setup.py \
        "-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer    -include ./include/libfdt_env.h -idirafterinclude -idirafter./arch/arm/include -I./lib/libfdt -I./tools -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE " lib/libfdt/fdt.c lib/libfdt/fdt_ro.c lib/libfdt/fdt_rw.c lib/libfdt/fdt_strerror.c lib/libfdt/fdt_wip.c lib/libfdt/fdt_region.c lib/libfdt/fdt_sw.c tools/libfdt_wrap.c
tools/libfdt_wrap.c:130:21: fatal error: Python.h: No such file or directory
 # include <Python.h>
                     ^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
tools/Makefile:123: recipe for target 'tools/_libfdt.so' failed
make[5]: *** [tools/_libfdt.so] Error 1
Makefile:1229: recipe for target 'tools' failed
make[4]: *** [tools] Error 2
make[4]: Leaving directory '/tank/openwrt/scratch/builder-nwftest/build_dir/target-arm_xscale_musl_eabi/u-boot-pogo_v4/u-boot-2017.03'

As I don’t believe there are any in-tree consumers of the python libfdt bindings, adding the following patch file, which just removes the test for swig and therefore acts as if it is never present, should do the right thing:

$ cat package/boot/uboot-kirkwood/patches/201-no-python-fdt.patch 
--- u-boot-2017.03/tools/Makefile.orig	2017-03-28 03:11:34.081325904 +0000
+++ u-boot-2017.03/tools/Makefile	2017-03-28 03:13:09.225349051 +0000
@@ -112,10 +112,6 @@
 fit_info-objs   := $(dumpimage-mkimage-objs) fit_info.o
 fit_check_sign-objs   := $(dumpimage-mkimage-objs) fit_check_sign.o
 
-# Build a libfdt Python module if swig is available
-# Use 'sudo apt-get install swig libpython-dev' to enable this
-hostprogs-y += \
-	$(if $(shell which swig 2> /dev/null),_libfdt.so)
 _libfdt.so-sharedobjs += $(LIBFDT_OBJS)
 libfdt:
 
21.03.2017649Base systemBug ReportVery LowLowWDS not working on ath9k-htc TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Any device with an wifi USB adapter with the chipset AR9271 (TPLink WN722N in my case).
- Software versions of LEDE release, packages, etc: Latest trunk LEDE versions.
- Steps to reproduce

 

Configure the USB AR9271 adapter as WDS AP, try to associate any other router as WDS Client (in my case the WDS Client is a TPLink WR741ND router, also compiled with latest trunk).
They both associate correctly, but there is no connection between them.

Here is a hostapd log on the WDS AP:

Mon Mar 20 14:05:00 2017 daemon.notice hostapd: wlan1: interface state ENABLED->DISABLED
Mon Mar 20 14:05:00 2017 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED 94:0c:6d:b0:f4:ac
Mon Mar 20 14:05:00 2017 daemon.notice hostapd: wlan1: AP-DISABLED
Mon Mar 20 14:05:00 2017 daemon.notice hostapd: wlan1: CTRL-EVENT-TERMINATING
Mon Mar 20 14:05:00 2017 daemon.notice hostapd: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
Mon Mar 20 14:05:01 2017 daemon.err hostapd: Configuration file: /var/run/hostapd-phy1.conf
Mon Mar 20 14:05:02 2017 daemon.notice hostapd: wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
Mon Mar 20 14:05:02 2017 daemon.err hostapd: Using interface wlan1 with hwaddr e8:de:27:a4:58:21 and ssid "EB1DJ"
Mon Mar 20 14:05:02 2017 daemon.notice hostapd: wlan1: interface state COUNTRY_UPDATE->ENABLED
Mon Mar 20 14:05:02 2017 daemon.notice hostapd: wlan1: AP-ENABLED
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac IEEE 802.11: authentication OK (open system)
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac MLME: MLME-AUTHENTICATE.indication(94:0c:6d:b0:f4:ac, OPEN_SYSTEM)
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac MLME: MLME-DELETEKEYS.request(94:0c:6d:b0:f4:ac)
Mon Mar 20 14:05:03 2017 daemon.info hostapd: wlan1: STA 94:0c:6d:b0:f4:ac IEEE 802.11: authenticated
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac IEEE 802.11: association OK (aid 1)
Mon Mar 20 14:05:03 2017 daemon.info hostapd: wlan1: STA 94:0c:6d:b0:f4:ac IEEE 802.11: associated (aid 1)
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac MLME: MLME-ASSOCIATE.indication(94:0c:6d:b0:f4:ac)
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac MLME: MLME-DELETEKEYS.request(94:0c:6d:b0:f4:ac)
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac IEEE 802.11: binding station to interface 'wlan1'
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: event 1 notification
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: start authentication
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac IEEE 802.1X: unauthorizing port
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: sending 1/4 msg of 4-Way Handshake
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: EAPOL-Key timeout
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: sending 1/4 msg of 4-Way Handshake
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: received EAPOL-Key frame (2/4 Pairwise)
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: sending 3/4 msg of 4-Way Handshake
Mon Mar 20 14:05:03 2017 daemon.err hostapd: nl80211: EAPOL TX: No message of desired type
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: ignore retransmitted EAPOL-Key 2/4 Pairwise - SNonce did not change
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: EAPOL-Key timeout
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: sending 3/4 msg of 4-Way Handshake
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: received EAPOL-Key frame (4/4 Pairwise)
Mon Mar 20 14:05:03 2017 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 94:0c:6d:b0:f4:ac
Mon Mar 20 14:05:03 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac IEEE 802.1X: authorizing port
Mon Mar 20 14:05:03 2017 daemon.info hostapd: wlan1: STA 94:0c:6d:b0:f4:ac RADIUS: starting accounting session 7797AE68AEE646F3
Mon Mar 20 14:05:03 2017 daemon.info hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: pairwise key handshake completed (RSN)
Tue Mar 21 09:58:59 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac IEEE 802.11: authentication OK (open system)
Tue Mar 21 09:58:59 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac WPA: event 0 notification
Tue Mar 21 09:58:59 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac MLME: MLME-AUTHENTICATE.indication(94:0c:6d:b0:f4:ac, OPEN_SYSTEM)
Tue Mar 21 09:58:59 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac MLME: MLME-DELETEKEYS.request(94:0c:6d:b0:f4:ac)
Tue Mar 21 09:58:59 2017 daemon.info hostapd: wlan1: STA 94:0c:6d:b0:f4:ac IEEE 802.11: authenticated
Tue Mar 21 09:58:59 2017 daemon.debug hostapd: wlan1: STA 94:0c:6d:b0:f4:ac IEEE 802.11: association OK (aid 1)
Tue Mar 21 09:58:59 2017 daemon.info hostapd: wlan1: STA 94:0c:6d:b0:f4:ac IEEE 802.11: associated (aid 1)

I think the error Mon Mar 20 14:05:03 2017 daemon.err hostapd: nl80211: EAPOL TX: No message of desired type has something to do with WDS not working?.

If there is any other info, tests etc you require feel free to ask.

20.03.2017646Base systemBug ReportVery LowLowMMC/SD - mount/read/write not possible -> kernel errorsTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
- Software versions of LEDE release: Powered by LuCI Master (git-17.078.53745-180f2d6) / LEDE Reboot SNAPSHOT r3792-0685f2a

reproduce:

MMC card found on boot:
root@router:~# logread|grep -i mmc
Mon Mar 20 12:54:57 2017 kern.info kernel: [ 6.680000] mmc0: new high speed SDHC card at address 0001
Mon Mar 20 12:54:57 2017 kern.info kernel: [ 6.690000] mmcblk0: mmc0:0001 00000 29.8 GiB

but if i try to mount/read/write to it ... still not possible and kernel errors ....

root@router:~# fdisk -l

Disk /dev/mmcblk0: 29.8 GiB, 32010928128 bytes, 62521344 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

root@router:~# fdisk /dev/mmcblk0

Welcome to fdisk (util-linux 2.28).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0xf924301d.

Command (m for help): n
Partition type
   p   primary (0 primary, 0 extended, 4 free)
   e   extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-62521343, default 2048):
Last sector, +sectors or +size{K,M,G,T,P} (2048-62521343, default 62521343):

Created a new partition 1 of type 'Linux' and of size 29.8 GiB.

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.

##################
logcat ....
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.680000] msdc-1 -> cmd<13> resp<0xe00> <- msdc_check                                                                                                       _busy() : L<2065> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.690000] msdc-1 -> cmd<13> resp<0x900> <- msdc_check                                                                                                       _busy() : L<2065> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.700000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<0> DATWRDL                                                                                                       Y<-1> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.710000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<1> DATWRDL                                                                                                       Y<27> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.730000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<0> DATWRDL                                                                                                       Y<27> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.740000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<1> DATWRDL                                                                                                       Y<28> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.750000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<0> DATWRDL                                                                                                       Y<28> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.770000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<1> DATWRDL                                                                                                       Y<29> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.780000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<0> DATWRDL                                                                                                       Y<29> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.790000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<1> DATWRDL                                                                                                       Y<30> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.810000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<0> DATWRDL                                                                                                       Y<30> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.820000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<1> DATWRDL                                                                                                       Y<31> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.830000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<0> DATWRDL                                                                                                       Y<31> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.840000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<1> DATWRDL                                                                                                       Y<0> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.860000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<0> DATWRDL                                                                                                       Y<0> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.870000] msdc-1 -> TUNE_BWRITE<FAIL> DSPL<1> DATWRDL                                                                                                       Y<1> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  393.880000] msdc-1 -> TUNE_BWRITE<PASS> DSPL<0> DATWRDL                                                                                                       Y<1> MSDC_DAT_RDDLY0<0x1e101010> <- msdc_tune_bwrite() : L<1996> PID<mmcqd/0><0x1a1>
Mon Mar 20 15:58:53 2017 kern.err kernel: [  394.160000] msdc-1 -> TUNE_BREAD<PASS> dcrc<0x0> DATRDD                                                                                                       LY0/1<0x1e101010><0x0> dsmpl<0x1> <- msdc_tune_bread() : L<1871> PID<mmcqd/0><0x1a1>

20.03.2017645PackagesBug ReportVery LowLowkmod package postinst script returned status 255TrunkUnconfirmed Task Description

on instalaltion of current runk i got error on installation of: package “kmod-lib-zlib-inflate” postinst script returned status 255

Supply the following if possible:
- Device problem occurs on
- Software versions of LEDE release: Powered by LuCI Master (git-17.078.53745-180f2d6) / LEDE Reboot SNAPSHOT r3792-0685f2a
- reproduce: try to install package: “kmod-lib-zlib-inflate”
then you will get: errors on config ..

root@router:~# opkg install kmod-lib-zlib-inflate -V4

opkg_conf_parse_file: Loading conf file /etc/opkg.conf.
opkg_conf_parse_file: Loading conf file /etc/opkg/customfeeds.conf.
opkg_conf_parse_file: Loading conf file /etc/opkg/distfeeds.conf.
opkg_install_cmd: kmod-lib-zlib-inflate
opkg_prepare_url_for_install: applying abpkg flag to kmod-lib-zlib-inflate
pkg_hash_load_feeds:
pkg_parse_line: propagating abpkg flag to pkg kmod-lib-zlib-inflate
...
...
pkg_vec_insert_merge: Adding new pkg=fdisk version=2.28 arch=mipsel_24kc.
pkg_vec_insert_merge: Adding new pkg=picocom version=1.7 arch=mipsel_24kc.
pkg_vec_insert_merge: Adding new pkg=iftop version=2017-02-06-35af3cf6 arch=mipsel_24kc.
pkg_info_preinstall_check: Updating file owner list.
opkg_install_by_name: Old versions from pkg_hash_fetch 4.4.53.
pkg_hash_fetch_best_installation_candidate: Best installation candidate for kmod-lib-zlib-inflate:
pkg_hash_fetch_best_installation_candidate: Adding kmod-lib-zlib-inflate to providers.
pkg_hash_fetch_best_installation_candidate: kmod-lib-zlib-inflate arch=mipsel_24kc arch_priority=10 version=4.4.53.
pkg_hash_fetch_best_installation_candidate: Candidate: kmod-lib-zlib-inflate 4.4.53.
opkg_install_by_name: Versions from pkg_hash_fetch: old 4.4.53  new 4.4.53
opkg_install_by_name: Comparing visible versions of pkg kmod-lib-zlib-inflate:
        4.4.53-1 is installed
        4.4.53-1 is available
        0 was comparison result
Package kmod-lib-zlib-inflate (4.4.53-1) installed in root is up to date.
opkg_configure_packages: Configuring unpacked packages.
opkg_configure_packages: Reordering packages before configuring them...
opkg_recurse_pkgs_in_order: pkg kmod-usb-storage.
opkg_recurse_pkgs_in_order: Descending on pkg kernel.
....
....
opkg_recurse_pkgs_in_order: Descending on pkg collectd.
opkg_recurse_pkgs_in_order: pkg collectd already visited, skipping.
opkg_recurse_pkgs_in_order: pkg kmod-ipt-nat already visited, skipping.
Configuring kmod-lib-zlib-inflate.
pkg_run_script: Running script //usr/lib/opkg/info/kmod-lib-zlib-inflate.postinst.
failed to find a module named zlib_inflate
Configuring kmod-lib-zlib-deflate.
pkg_run_script: Running script //usr/lib/opkg/info/kmod-lib-zlib-deflate.postinst.
failed to find a module named zlib_deflate
write_status_files_if_changed: Nothing to be done.
hash_table: pkg-hash, 12288 bytes
        n_buckets=1024, n_elements=1672, n_collisions=839
        max_bucket_len=6, n_used_buckets=833, ave_bucket_len=2.01
        n_hits=56688, n_misses=14283
hash_table: file-hash, 12288 bytes
        n_buckets=1024, n_elements=1370, n_collisions=604
        max_bucket_len=5, n_used_buckets=766, ave_bucket_len=1.79
        n_hits=0, n_misses=1370
hash_table: obs-file-hash, 768 bytes
        n_buckets=64, n_elements=0, n_collisions=0
        max_bucket_len=0, n_used_buckets=0, ave_bucket_len=0.00
        n_hits=0, n_misses=0
Collected errors:
 * pkg_run_script: package "kmod-lib-zlib-inflate" postinst script returned status 255.
 * opkg_configure: kmod-lib-zlib-inflate.postinst returned 255.
 * pkg_run_script: package "kmod-lib-zlib-deflate" postinst script returned status 255.
 * opkg_configure: kmod-lib-zlib-deflate.postinst returned 255.
root@router:~#


19.03.2017643PackagesBug ReportVery LowLowiwinfo scan reports "Scanning not possible" using mt76 ...lede-17.01Unconfirmed Task Description

I’m unable to consistently scan for access points using iwinfo.
I’m running a MT7688 chip with the mt76 mac80211 driver on LED 17.01

The scan works very intermittently, but mostly returns “Scanning not possible”.

My wireless config looks like:

config wifi-device 'radio0'
	option type 'mac80211'
	option channel '11'
	option hwmode '11g'
	option path 'platform/10300000.wmac'
	option htmode 'HT20'
	option disabled '0'

I’ve added some debugging code to iwinfo_nl80211.c to try and see where it’s failing. To run a scan I use the command:

iwinfo radio0 scan

iwinfo creates a temporary interface (tmp.radio0) and then calls nl80211_get_scanlist_nl, this returns a zero length iwinfo_scanlist_entry which causes “Scanning not possible” to be returned.
I’m happy to do some more debugging if I can be pointed in the right direction.

 


19.03.2017641KernelBug ReportVery LowLowQuectel ECXX and Raw IP on 4.4 kernelTrunkUnconfirmed Task Description

Hi,

have a ZBT-WE826 with a 3/4g modem inside, shipped by ZBT.
modem is a Quectel EC25-E.

lsusb: Bus 001 Device 004: ID 2c7c:0125

if i tell qmi_wwan to register the device using: echo “2c7c 0125” >/sys/bus/usb/drivers/qmi_wwan/new_id
device is detected and shows up in dmesg: qmi_wwan 1-1.2:1.4 wwan0: register ‘qmi_wwan’ at usb-101c0000.ehci-1.2, WWAN/QMI device, XXXXXXXXXXXXX, and /dev/cdc-wdm0 is created

when i try to talk to the device using uqmi, i don’t get any response!
uqmi -d /dev/cdc-wdm0 –get-imei (command hangs)

it has to do with the DTR, found a patch for the device on this forum:
https://forum.turris.cz/t/lte-modem-typu-ec25-e-minipcie/2816/24

is it possible to patch the trunk, so this device get supported?

also, if i use option usb serial driver i can connect using pppd
same here, i have to tell option1 driver to detect the deivce.
echo “2c7c 0125” >/sys/bus/usb-serial/drivers/option1/new_id

tested on current trunk and 17.01.0

15.03.2017632Base systemBug ReportVery LowLowMP_CONFIG_INT settings not applied to meshpoint interfa...TrunkUnconfirmed Task Description

Supply the following if possible:
- Tested with OM5P-AC (on ath10k)
- Using LEDE reboot-3637-gc8f7031ba7 with wpad-mesh

The 5GHz device was configured using following entry in /etc/config/wireless

config wifi-iface 'mesh2'         
        option device 'radio1'  
        option ifname 'mesh-5'  
        option network 'lan'    
        option mode 'mesh'      
        option mesh_id 'mymesh' 
        option disabled '0'
        option mcast_rate '54000'
        option macaddr 'ae:86:74:00:00:01'
        option mesh_ttl 1
        option mesh_fwding 0
        option ieee80211w 1
        option encryption 'psk2+aes'
        option key 'reallysecretkey'

It is expected that mesh_ttl is 1 and mesh_fwding is 0. But the reality is quite different:

<pre>
root@lede:/# iw dev mesh-5 get mesh_param mesh_fwding
1
root@lede:/# iw dev mesh-5 get mesh_param mesh_ttl
31
</pre>

14.03.2017631Base systemBug ReportVery LowLowAR8327 switch link state change check not working on TL...TrunkUnconfirmed Task Description

Hello,

On my TP-LINK TL-WR1043ND v3 (ar71xx QCA9558) with today’s LEDE snapshot, the AR8327 switch isn’t sending port change interrupt events to the CPU.

The `ar8xxx_check_link_states` function in `target/linux/generic/files/drivers/net/phy/ar8216.c` is not being called at all, since not only the messages about port link status change aren’t printed to the dmesg, but the ARL table isn’t getting cleaned either. I don’t understand why this is happening...

This regression is not present in other routers with the same AR8327 switch chip (but rev. 2 instead of rev. 4), such as TP-LINK TL-WDR4300 v1 (ar71xx) and TP-LINK TL-WDR4900 v1 (mpc85xx).

(Latest LEDE stable release also does exibit the regression.)

Below you can see a session with LEDE; and a session with OpenWrt CC 15.05.1 release, which does not exibit the problem.

(The CC image is for the TL-WR1043ND v2, since v3 images weren’t built yet at that time; v2 and v3 are the same hardware, as it can be seen from the FCC docs, where TP-LINK requested an ID change from v2 to v3.)

Please let me know if there’s anything I can try to help debug this problem!

```
BusyBox v1.26.2 () built-in shell (ash)

   _________
  /        /\      _    ___ ___  ___
 /  LE    /  \    | |  | __|   \| __|
/    DE  /    \   | |__| _|| |) | _|

// LE \ ||_|_/|_| lede-project.org
\ \ DE /
\ LE \ / ———————————————————– \ DE \ / Reboot (SNAPSHOT, r1-2f09a1e)
\
\/ ———————————————————– === WARNING! =====================================
There is no root password defined on this device!
Use the “passwd” command to set up a new password
in order to prevent unauthorized SSH logins.
————————————————– root@LEDE:~# dmesg | grep 8327
[ 0.815273] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
root@LEDE:~# dmesg | grep 8216
[ 2.046658] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
root@LEDE:~# swconfig dev switch0 get arl_table
address resolution table
Port 0: MAC <router_lan_macaddr>
Port 4: MAC <my_laptop_macaddr>
Port 4: MAC <other_macaddr>
Port 6: MAC <router_wan_macaddr> root@LEDE:~# dmesg | grep 8216
[ 2.046658] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
root@LEDE:~# swconfig dev switch0 get arl_table
address resolution table
Port 0: MAC <router_lan_macaddr>
Port 3: MAC <my_laptop_macaddr>
Port 4: MAC <other_macaddr>
Port 6: MAC <router_wan_macaddr> root@LEDE:~#
``` ```
BusyBox v1.23.2 (2016-01-02 18:01:44 CET) built-in shell (ash)
_ | |.—–.—–.—–.| | | |.—-.| |_
| - || _ | -
| || | | || _|| _|
|_|| |_||||||| ||
|
| W I R E L E S S F R E E D O M


CHAOS CALMER (15.05.1, r48532)


  • 1 1/2 oz Gin Shake with a glassful
  • 1/4 oz Triple Sec of broken ice and pour
  • 3/4 oz Lime Juice unstrained into a goblet.
  • 1 1/2 oz Orange Juice
  • 1 tsp. Grenadine Syrup

—————————————————– root@OpenWrt:/# dmesg | grep 8327
[ 0.750000] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
root@OpenWrt:/# dmesg | grep 8216
[ 1.440000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[ 24.680000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is up

root@OpenWrt:/# swconfig dev switch0 get arl_table
address resolution table
Port 0: MAC <router_lan_macaddr>
Port 4: MAC <my_laptop_macaddr>
Port 4: MAC <other_macaddr>
Port 6: MAC <router_wan_macaddr>

root@OpenWrt:/# dmesg | grep 8216
[ 1.440000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[ 24.680000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is up
[ 1306.510000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is down
[ 1310.530000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is up
root@OpenWrt:/# swconfig dev switch0 get arl_table
address resolution table
Port 0: MAC <router_lan_macaddr>
Port 3: MAC <my_laptop_macaddr>
Port 6: MAC <router_wan_macaddr>

root@OpenWrt:/# uname -a
Linux OpenWrt 3.18.23 #1 Sun Jan 31 18:39:35 CET 2016 mips GNU/Linux
root@OpenWrt:/#
```

Cheers,
Vittorio

14.03.2017629Base systemBug ReportVery LowLowRealtek r8169 kernel errorlede-17.01Unconfirmed Task Description

My device is a homebuild router:
- MB: Gigabyte GA-970A-UD3P
- CPU: Unlocked AMD x3 405e
- Ram: 4 GB A-Data
- MB NIC: Realtek
- NIC: Intel PRO/1000

Installed the official Lede 17.01.0 x86/x64 ext4 build
Haven’t installed any other packages

I have configured the network as follows:
attached network file
where eth4 is the Realtek NIC

The result is in error.txt

14.03.2017628Base systemBug ReportVery LowLowrt2x00: Frame received with unrecognized signalTrunkUnconfirmed Task Description

Running some traffic over 2.4GHz wifi will eventually log this kind of messages to syslog:

ieee80211 phy1: rt2x00lib_rxdone_read_signal: Warning - Frame received with unrecognized signal, mode=0x0001, signal=0x010c, type=4

-Xiaomi Miwifi Mini
-LEDE Reboot SNAPSHOT r3742-894ee95


14.03.2017627Base systemBug ReportVery LowLowrt2x00: mt7620 channel regressionTrunkUnconfirmed Task Description

Latest trunk has some changes regarding mt7620 support:

It seems there has been slight improvement in TX throughput which of course resulted in slight RX throughput regression. Signal strength also looks more stable.

On a negative side, seems like setting channels 1-4 will not get interface up and running, regardless of wireless mode used. Logs don’t show any relevant information.

-Xiaomi Miwifi Mini
-LEDE Reboot SNAPSHOT r3742-894ee95


13.03.2017624PackagesBug ReportVery LowLowWrong default WAN interface on SQM & BCP38 packageslede-17.01Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Archer C7v2
- Software versions of LEDE release, packages, etc.: 17.01 final
- Steps to reproduce: just install default packages

By default, SQM and BCP38 packages configure rules on eth1, but on C7 this is LAN interface and not WAN. Both must be changed to apply default configuration to eth0.
This behaviour cames from OpenWRT.

 


13.03.2017623Base systemBug ReportVery LowLowar71xx: RB750UPr2: No serial consoleTrunkUnconfirmed Task Description

Hello,
The serial console isn’t working on MikroTik RB750UPr2 (NOR flash) (normal boot). Netboot is fine though. Notice no-uart in the kernel command line args.
Tested with recent snapshots (r3607-d49ddcd, r3617-f9da623)

Netboot

[    0.000000] Linux version 4.4.52 (buildbot@builds) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3607-d49ddcd) ) #0 Wed Mar 8 18:06:04 2017
[    0.000000] bootconsole [early0] enabled
...
[    0.000000] Kernel command line: no-uart no-nand parts=1 boot_part_size=16777216 gpio=8525375 HZ=325000000 mem=64M kmac=E4:8D:8C:99:18:31 board=750-hb hw_opt=0008400D boot=0 mlc=8 console=ttyS0,115200 rootfstype=squashfs noinitrd
...
[    0.125208] MIPS: machine is MikroTik RouterBOARD 750UP r2
...
[    2.957103] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    2.967151] console [ttyS0] disabled
[    2.991360] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    3.001161] console [ttyS0] enabled
[    3.001161] console [ttyS0] enabled
[    3.008713] bootconsole [early0] disabled
[    3.008713] bootconsole [early0] disabled
[    3.023066] m25p80 spi0.0: found w25q128, expected m25p80
[    3.028744] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    3.033619] Creating 6 MTD partitions on "spi0.0":
[    3.038569] 0x000000000000-0x00000000e000 : "routerboot"
[    3.046718] 0x00000000e000-0x00000000f000 : "hard_config"
[    3.054081] 0x00000000f000-0x000000010000 : "bios"
[    3.060744] 0x000000010000-0x00000001f000 : "routerboot2"
[    3.068174] 0x00000001f000-0x000000020000 : "soft_config"
[    3.075587] 0x000000020000-0x000001000000 : "firmware"

Normal boot

[    0.000000] Linux version 4.4.52 (buildbot@buildslave) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3617-f9da623) ) #0 Fri Mar 10 00:23:50 2017
[    0.000000] bootconsole [early0] enabled
...
[    0.000000] Kernel command line: no-uart no-nand parts=1 boot_part_size=16777216 gpio=0 HZ=325000000 mem=64M kmac=E4:8D:8C:99:18:31 board=750-hb Board=750-hb ver=3.36 hw_opt=0008400D boot=1 mlc=10 console=ttyS0,115200 rootfstype=squashfs noinitrd
...
[    0.125275] MIPS: machine is MikroTik RouterBOARD 750UP r2
...
[    0.696259] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.706324] console [ttyS0] disabled
[    0.730536] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    0.740339] console [ttyS0] enabled
[    0.747890] bootconsole [early0] disabled
[    0.762167] m25p80 spi0.0: found w25q128, expected m25p80
[    0.767840] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.772706] Creating 6 MTD partitions on "spi0.0":
[    0.777667] 0x000000000000-0x00000000e000 : "routerboot"
[    0.785835] 0x00000000e000-0x00000000f000 : "hard_config"
[    0.793114] 0x00000000f000-0x000000010000 : "bios"
[    0.799850] 0x000000010000-0x00000001f000 : "routerboot2"
[    0.807243] 0x00000001f000-0x000000020000 : "soft_config"
[    0.814630] 0x000000020000-0x000001000000 : "firmware"
[    0.865054] 2 minor-fw partitions found on MTD device firmware
[    0.871104] 0x000000020000-0x0000001a0000 : "kernel"
[    0.877734] 0x0000001a0000-0x000001000000 : "rootfs"
[    0.884687] mtd: device 7 (rootfs) set to be root filesystem
[    0.890584] 1 squashfs-split partitions found on MTD device rootfs
[    0.897035] 0x000000390000-0x000001000000 : "rootfs_data"

BTW the serial console is working fine on RB750UP (NAND flash) (normal boot).

[    0.000000] Kernel command line: parts=1 boot_part_size=4194304 gpio=790343 HZ=200000000 mem=32M kmac=D4:CA:6D:91:86:F1 board=750i Board=750i ver=3.33 hw_opt=0000000D boot=1 mlc=10 console=ttyS0,115200 rootfstype=squashfs noinitrd
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.

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
07.03.2017605Base systemBug ReportVery LowLowLuCI wireless associated stations doesn't show noise db...TrunkUnconfirmed Task Description

With an Archer C7 v2 the list shows up the noise level in the associated stations doesn’t show up, instead it shows 0dBm and the bar icon shows empty bars. The noise level is display correctly inside the wifi configuration under the device options.

This only happens at least with the channel 112, I have tried all the channels below from 36-104 (44 and 108 jumps to 48 and 112 respectively because other nearly stations).

Can’t try the 4 channels above because radars and the next 4 above because in my country doesn’t exist channel 144.

I will try to test with less width than 80 MHz.

I set it to low because it seems that it only affect to the associated stations tables visualization and the wifi network works as it should.

06.03.2017600Base systemBug ReportVery LowLowRandom disconnection on 17.01TrunkUnconfirmed Task Description

Problem:

I upgrade my router from some years old dd-wrt to LEDE. “It works” and both the throughput and latency are vastly superior. However, it disconnect every couple hours for 2 minutes. Both my phone and my thinkpad are affected, so it is not a suddent regression in the client side. The old firmware showed no such interruption and could run a single connection TCP for months. At first, all packets stop being received and all sent timeout. After a while NetworkManager drop the (dead) Wifi conenction. Restarting networkmanager doesn’t restore the connection, only time does. The encryption and channel are the same as before.

Info:

Hostname	LEDE
Model	D-Link DIR-615 rev. I1
Firmware Version	LEDE Reboot 17.01.0 r3205-59508e3 / LuCI lede-17.01 branch (git-17.051.53299-a100738)
Kernel Version	4.4.50

SSHed into the rounter show nothing interesting in dmesg or the logs.

dmesg (client side)

[1750975.095083] wlp3s0: authenticate with c8:d3:a3:57:c1:0d
[1750975.097291] wlp3s0: send auth to c8:d3:a3:57:c1:0d (try 1/3)
[1750975.182387] wlp3s0: send auth to c8:d3:a3:57:c1:0d (try 2/3)
[1750975.340969] wlp3s0: send auth to c8:d3:a3:57:c1:0d (try 3/3)
[1750975.433683] wlp3s0: authentication with c8:d3:a3:57:c1:0d timed out
[1750986.745947] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1750986.783926] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1750986.784247] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1750986.973972] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1750986.974238] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1750986.988274] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1751024.037294] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1751024.037564] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1751024.232261] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1751024.232531] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1751024.246198] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1751035.933932] wlp3s0: authenticate with c8:d3:a3:57:c1:0d
[1751035.936358] wlp3s0: send auth to c8:d3:a3:57:c1:0d (try 1/3)
[1751035.941892] wlp3s0: authenticated
[1751035.942083] wlp3s0: associate with c8:d3:a3:57:c1:0d (try 1/3)
[1751035.946355] wlp3s0: RX AssocResp from c8:d3:a3:57:c1:0d (capab=0x431 status=0 aid=1)
[1751035.947757] wlp3s0: associated
[1751035.947784] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
[1753524.568775] iwlwifi 0000:03:00.0: invalid BA notification: Q 16, tid 0, flow 65535
[1754028.350307] wlp3s0: deauthenticating from c8:d3:a3:57:c1:0d by local choice (Reason: 3=DEAUTH_LEAVING)
[1754029.418400] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[1754029.423879] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754029.435347] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754029.435766] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754029.643875] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754029.644146] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754029.658379] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754029.708225] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754033.134519] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754033.134793] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754033.338532] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754033.338803] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754033.352845] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754058.434794] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754058.447119] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754058.447392] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754058.645058] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754058.645328] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754058.659098] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754062.836641] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754062.836915] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754063.041653] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754063.041914] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754063.055581] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754063.070786] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754066.513509] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754066.513776] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754066.712341] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754066.712663] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754066.727003] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754082.615329] wlp3s0: authenticate with c8:d3:a3:57:c1:0d
[1754082.617891] wlp3s0: send auth to c8:d3:a3:57:c1:0d (try 1/3)
[1754082.711318] wlp3s0: send auth to c8:d3:a3:57:c1:0d (try 2/3)
[1754082.800197] wlp3s0: send auth to c8:d3:a3:57:c1:0d (try 3/3)
[1754082.890379] wlp3s0: authentication with c8:d3:a3:57:c1:0d timed out
[1754092.431334] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754092.442752] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754092.443037] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754092.642763] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754092.643027] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754092.657436] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754096.103393] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754096.103667] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754096.305383] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754096.305650] iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
[1754096.320213] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[1754099.851495] wlp3s0: authenticate with c8:d3:a3:57:c1:0d
[1754099.853971] wlp3s0: send auth to c8:d3:a3:57:c1:0d (try 1/3)
[1754100.000973] wlp3s0: send auth to c8:d3:a3:57:c1:0d (try 2/3)
[1754100.100010] wlp3s0: send auth to c8:d3:a3:57:c1:0d (try 3/3)
[1754100.234954] wlp3s0: authentication with c8:d3:a3:57:c1:0d timed out
[1754104.050494] wlp3s0: authenticate with c8:d3:a3:57:c1:0d
[1754104.052754] wlp3s0: send auth to c8:d3:a3:57:c1:0d (try 1/3)
[1754104.126844] wlp3s0: authenticated
[1754104.127569] wlp3s0: associate with c8:d3:a3:57:c1:0d (try 1/3)
[1754104.135916] wlp3s0: RX AssocResp from c8:d3:a3:57:c1:0d (capab=0x431 status=0 aid=1)
[1754104.138461] wlp3s0: associated
[1754104.138810] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready

What should I do to further debug this? I can build new images if necessary.

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

04.03.2017592PackagesBug ReportVery LowLow6in4 not creating routes when multiples prefixes usedAllUnconfirmed Task Description

If you need to route several (non aggregatable) prefixes thru a 6in4 tunnel, I’ve not found documentation, but it seems that this will make it:

option ip6prefix ‘prefix::/64 prefix::/48’

(example for 2 prefixes)

Then doing ifstatus interface-ipv6, you can see that both prefixes have been considered under ipv6-prefix.

However, under route, only the first one has a default route for that “source-prefix”.

Creating a manual route, it works, so the bug is not creating automatically that route.

03.03.2017591OtherFeature RequestVery LowLowInclude branch info in subject from 'lede-commits'AllUnconfirmed Task Description

Please include the branch being committed to as part of the subject. As it currently stands emails are received:

[source] ubox: update to the latest version
[source] bcm53xx: include Broadcom PHY driver in the kernel

However there’s no clue in the subject that the ubox commit is for ‘master’ (and of interest to me) whilst the ‘bcm53xx’ is a commit to ‘17.01’ (and of much less interest to me)

It’s driving me (even more) insane :-)

03.03.2017590Base systemBug ReportVery LowLowImageBuilder ar71xx BIN_DIR issuelede-17.01Unconfirmed Task Description

Software versions of LEDE release: lede 17 branch

Steps to reproduce:

- compile ar71xx with image builder support from lede 17 branch
- use the imagebuilder like: make image BIN_DIR=/var/www/downoads

we started testing lede-17.01 for OpenWISP.org and we noticed a
strange issue with the image-generator.

We supply a command like:

make image PROFILE=”Default” BIN_DIR=”$BIN_DIR”

but the image building fails because something goes to look for binaries
in ./bin/targets/ar71xx/generic instead of
“$BIN_DIR/targets/ar71xx/generic”.

If we create manually the dir with:

mkdir ./bin/targets/ar71xx/generic

The image building procedure completes successfully.

Is this desired behaviour or not?

We had to insert a workaround in our automated LEDE compilation process.

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


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'
01.03.2017580Base systemBug ReportVery LowLowNetgear R7800 does not receive multicast messages on LA...TrunkUnconfirmed Task Description

Netgear R7800 running lede-17.01.

Multicast packets are not received on LAN (wired) interfaces but work fine on WiFi interfaces. I think the problem is at device/driver level.

The problem was first noticed using Avahi, which did not see announcements on LAN interfaces. However it can be easily reproduced with a simple IP Multicast sender/receiver like https://github.com/GrahamCobb/Multicast-Client-Server-Example

To reproduce:

Run the “client” on the R7800 using:

client 232.0.1.1 4545 100

Run the “server” on another system using:

server 232.0.1.1 4545 100 1000

If the server is connected to the client using a WiFi interface, the messages are received. If it using a LAN, they are not.

The messages are received if the LAN interface is set in promiscuous mode (ifconfig ... promisc) or all multicast mode (ifconfig ... allmulti). They stop again immediately if the mode is turned off.

I believe this is the same problem as reported in https://forum.lede-project.org/t/ipv6-works-only-with-wan-in-promiscuous-mode/490/9 – in that thread it is mentioned that the AC2600 (which uses the same driver) has the same problem.

As the problem goes away in promiscuous or all multicast modes, I am guessing that the device is just not sending the multicast packets to the driver. This could be a hardware bug, a bug in the multicast filter setup code in dwmac1000_core.c or the devicetree incorrectly reporting device characteristics such as the number of multicast filter bins.

01.03.2017578KernelBug ReportVery LowLowTX99 leads to kernel crash/reboot OM2P-HSv4lede-17.01Unconfirmed Task Description

I’ve tested lede-17.01 branch (ee1cd31d2b) with a vanilla config for OM2P-HSv4 and tx99 turned on for ath9k (please see .config attached).

After booting up, I’ve used the following commands to test TX99:

iw phy phy0 interface add mon0 type monitor flags active
ip link set dev mon0 up
iw dev mon0 set channel 6 HT20
iw dev mon0 set bitrates ht-mcs-2.4 4
echo 10 > /sys/kernel/debug/ieee80211/phy0/ath9k/tx99_power
echo 1 > /sys/kernel/debug/ieee80211/phy0/ath9k/tx99

The last command han