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 In  descStatus
29.03.2017665Base systemBug ReportVery LowCriticalLede 17.01.0-r3205-59508e3 on Nucom 5010UN v2 acting as...lede-17.01Unconfirmed Task Description

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

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

The following is as more complete explanation:

Hi,

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

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

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

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

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

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

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

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

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

config dhcp ‘lan’

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

config dhcp ‘wan’

      option interface 'wan'
      option ignore '1'

config odhcpd ‘odhcpd’

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

config host

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

config host

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

config host

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

This is network:
cat etc config network
config interface ‘loopback’

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

config globals ‘globals’

      option ula_prefix 'fd05:6cbe:d307::/48'

config interface ‘lan’

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

config switch

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

config switch_vlan

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

config interface ‘wwan’

      option proto 'dhcp'

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

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

config wifi-device ‘radio1’

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

config wifi-iface

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


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

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

i.imgur.comqpycapq.jpg

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

27.06.2017872Base systemBug ReportVery LowCriticalRelease image will brick Archer C7 v1.1 lede-17.01Unconfirmed Task Description

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

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

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

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

Ubiquiti AirGateway and Bullet M2
LEDE 17.01.2
Lighttpd
PHP7

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

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

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

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

root@BlueWave:~# free

           total       used       free     shared    buffers     cached

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

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


01.11.20171136KernelBug ReportVery LowCriticalHFSC kernel warnings with QoS / SQMlede-17.01Unconfirmed Task Description

- Device problem occurs on
x86_64 - PC Engines APU2

- Software versions of LEDE release, packages, etc.
LEDE 17.01.4 vanilla source compiled with no additional patches.

- Steps to reproduce
Enable QoS/SQM. Load with traffic hitting the bandwidth limit configured in QOS/SQM configuration.

Warning is shown in kernel and traffic by-passes the limit set in QOS/SQM resulting in a peak and then falls much below the available bandwidth. It again tries to stabilise until next crash. This results in peaks beyond 8Mbps and goes down to 2Mbps after crash when limits configured are @90% of 6Mbps. Users complain of slow Internet access.

[79569.780046] ------------[ cut here ]------------                                                                                                   [9/1922]
[79569.784788] WARNING: CPU: 1 PID: 11 at net/sched/sch_hfsc.c:1426 0xffffffffa082f7ad()
[79569.792697] Modules linked in: ifb qcserial option ipw iptable_nat ip6table_nat cdc_mbim usb_wwan usb_serial_simple ti_usb_3410_5052 sr9700 smsc95xx sierra
_net sierra rndis_host qmi_wwan pppoe ppp_async pl2303 oti6858 nft_chain_nat_ipv6 nft_chain_nat_ipv4 nf_tables_inet nf_nat_pptp nf_nat_ipv6 nf_nat_ipv4 nf_nat
_amanda nf_conntrack_pptp nf_conntrack_ipv6 nf_conntrack_ipv4 nf_conntrack_amanda mos7720 mct_u232 mcs7830 keyspan kalmia ipt_REJECT ipt_MASQUERADE huawei_cdc
_ncm garmin_gps ftdi_sio ebtable_nat ebtable_filter ebtable_broute dm9601 cypress_m8 cp210x ch341 cdc_subset cdc_ncm cdc_ether cdc_eem belkin_sa ax88179_178a
asix ark3116 xt_u32 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_socket xt_recent xt_quota2 xt_quota xt_psd xt_pkttype xt_physdev xt_owner x
t_nat xt_multiport xt_mark
[79569.865507]  xt_mac xt_lscan xt_limit xt_length2 xt_length xt_ipv4options xt_iprange xt_ipp2p xt_iface xt_hl xt_helper xt_hashlimit xt_geoip xt_fuzzy xt_es
p xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_condition xt_comment xt_cluster xt_addrtype xt_TRACE xt_TPROXY xt_TEE xt_TCPMSS xt_TARP
IT xt_SYSRQ xt_REDIRECT xt_NFQUEUE xt_NFLOG xt_NETMAP xt_LUA xt_LOGMARK xt_LOG xt_LED xt_IPMARK xt_HL xt_DSCP xt_DNETMAP xt_DHCPMAC xt_DELUDE xt_CT xt_CLASSIF
Y xt_CHAOS xt_ACCOUNT w83793 visor vhci_hcd usbserial usbnet usbmon usbip_host usbip_core ts_kmp ts_fsm ts_bm tmp103 tmp102 sht21 rtl8150 r8169 r8152 pppox pp
p_generic pegasus nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir_ipv6 nft_redir_ipv4 nft_redir nft_rbtree nft_nat nft_meta nft_masq_ipv6
 nft_masq_ipv4 nft_masq
[79569.936919]  nft_log nft_limit nft_hash nft_exthdr nft_ct nft_counter nft_chain_route_ipv6 nft_chain_route_ipv4 nfnetlink_queue nfnetlink_log nf_tables_ipv
6 nf_tables_ipv4 nf_tables nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_rtsp nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_
irc nf_nat_h323 nf_nat_ftp nf_log_ipv4 nf_dup_ipv6 nf_dup_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack
_rtsp nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast macvlan ltc4
151 lm95241 lm92 lm90 lm85 lm77 lm75 lm63 kaweth iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ipt_CLUSTERIP ipheth ip6table_raw ip_tables ina2xx i
na209 hso ezusb ebtables
[79570.007956]  ebt_vlan ebt_stp ebt_snat ebt_redirect ebt_pkttype ebt_nflog ebt_mark_m ebt_mark ebt_log ebt_limit ebt_ip6 ebt_ip ebt_dnat ebt_arpreply ebt_ar
p ebt_among ebt_802_3 e1000e e100 crc_ccitt compat_xtables cdc_wdm cdc_acm br_netfilter arptable_filter arpt_mangle arp_tables adt7475 sch_cake em_cmp sch_teq
l em_nbyte sch_dsmark sch_pie act_ipt sch_gred cls_basic sch_prio em_text sch_codel sch_fq sch_sfq em_meta act_police sch_red act_connmark act_skbedit act_mir
red em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress sg tmp421 k10temp gpio_fan adt7410 adt7x10 i2c_tiny_usb i2c_piix
4 i2c_gpio i2c_algo_pcf i2c_algo_pca i2c_mux_pca954x i2c_mux_pca9541 i2c_mux_gpio i2c_mux i2c_dev ledtrig_usbport trelay ledtrig_oneshot ledtrig_heartbeat led
trig_gpio hwmon xt_set
[79570.079289]  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
sr_mod cdrom ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 nf_nat nf_conntrack ip6t_rt ip6t_frag ip6t_hbh ip6t_eui64 ip6t_mh ip6t_ah ip6t_ipv6header ip6t_RE
JECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables hwmon_vid msdos bonding ip6_gre ip_gre gre igb i2c_algo_bit
e1000 sit sctp libcrc32c ip6_tunnel tunnel6 tunnel4 ip_tunnel veth tun slip slhc mpls_gso mpls_iptunnel mpls_router vfat fat cifs nls_utf8 nls_iso8859_1 nls_c
p437 regmap_spi regmap_mmio
[79570.150751]  regmap_i2c regmap_core vxlan udp_tunnel ip6_udp_tunnel sha256_ssse3 sha256_generic md5 md4 hmac ecb des_generic leds_pca963x i2c_core xhci_pla
t_hcd ledtrig_transient button_hotplug ptp pps_core mii libphy zram zsmalloc lzo_decompress lzo_compress lz4_decompress lz4_compress [last unloaded: ifb]
[79570.177398] CPU: 1 PID: 11 Comm: ksoftirqd/1 Tainted: G        W       4.4.92 #0
[79570.184812] Hardware name: PC Engines APU, BIOS SageBios_PCEngines_APU-45 04/05/2014
[79570.192578]  0000000000000000 ffffffff812094a2 0000000000000000 ffffffffa0830a77
[79570.200096]  ffffffff81071bc3 ffff88003cfa8948 00000121854b6980 ffff88003cfa8800
[79570.207609]  ffff88003cfa8c90 0000000000000001 ffffffffa082f7ad ffff88003cfa8800
[79570.215125] Call Trace:
[79570.217600]  [<ffffffff812094a2>] ? dump_stack+0x5c/0x7a
[79570.222933]  [<ffffffff81071bc3>] ? warn_slowpath_common+0x73/0xa0
[79570.229125]  [<ffffffffa082f7ad>] ? 0xffffffffa082f7ad
[79570.234285]  [<ffffffff81422c80>] ? __qdisc_run+0x60/0x190
[79570.239789]  [<ffffffff8140a0a6>] ? __dev_queue_xmit+0x266/0x4c0
[79570.245808]  [<ffffffffa0974606>] ? 0xffffffffa0974606
[79570.250965]  [<ffffffff81428100>] ? tcf_action_exec+0x40/0x70
[79570.256729]  [<ffffffffa092b9af>] ? 0xffffffffa092b9af
[79570.261888]  [<ffffffff81098730>] ? load_balance+0x150/0x7e0
[79570.267560]  [<ffffffff814042ae>] ? get_rps_cpu+0x12e/0x300
[79570.273149]  [<ffffffff8142415b>] ? tc_classify+0x5b/0x120
[79570.278654]  [<ffffffff81405726>] ? __netif_receive_skb_core+0x486/0x870
[79570.285372]  [<ffffffff814088f6>] ? process_backlog+0x96/0x130
[79570.291221]  [<ffffffff8140877b>] ? net_rx_action+0x19b/0x280
[79570.296985]  [<ffffffff81074ee6>] ? __do_softirq+0xc6/0x1d0
[79570.302574]  [<ffffffff81075010>] ? run_ksoftirqd+0x20/0x40
[79570.308165]  [<ffffffff8108abf4>] ? smpboot_thread_fn+0xf4/0x150
[79570.314187]  [<ffffffff8108ab00>] ? sort_range+0x20/0x20
[79570.319518]  [<ffffffff81088858>] ? kthread+0xb8/0xd0
[79570.324587]  [<ffffffff810887a0>] ? kthread_worker_fn+0x170/0x170
[79570.330700]  [<ffffffff814d974f>] ? ret_from_fork+0x3f/0x70
[79570.336286]  [<ffffffff810887a0>] ? kthread_worker_fn+0x170/0x170
[79570.342406] ---[ end trace b5df2c2f1911307f ]---


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

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

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

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

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

   OR

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

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

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

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

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

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

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

04.11.20171146Base systemBug ReportVery LowCriticalConstant wireless disconnects due to excessive missing ...lede-17.01Unconfirmed Task Description

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

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

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

16.11.20171173PackagesBug ReportVery LowCriticalustream-ssl Bug ON IPQ806Xlede-17.01Unconfirmed Task Description

LEDE 17.01.4
Kernel 4.9.60
Router: Netgear R7500V2(ARM :IPQ806X)
Packages: Up to Date (2017-11-15)
LuCI works great if Luci-ssl or Luci-openssl is not installed.Once Luci-ssl or Luci-openssl installed with https configuration ,LuCI gets stuck every now and then ,and you`ll have to refresh .When using Firefox ,web crashes and come up with SSL Error: ssl_error_bad_mac_read. Dont know if there is bug in ustream-ssl.


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.

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


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.

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

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

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.

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.

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.

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

 


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.

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.

16.08.2017963KernelBug ReportVery LowHighchips is qca9531, pc ping device ip fail or timeout wit...lede-17.01Waiting on reporter 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.


12.09.20171007Base systemBuild FailureVery LowHighbuild failure on musl. missing <sys/sysmacros.h>lede-17.01Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
lantiq w8970
- Software versions of LEDE release, packages, etc.
17.01 branch
- Steps to reproduce
1) try to build image
2) fails to build e2fsprogs and more.

I have this problem on other packages that require this include <sys/sysmacros.h>. package builds if I manually add the include.

I’m using musl, the source should include sysmacros.h : https://github.com/davidlazar/musl/blob/master/include/sys/types.h macro _GNU_SOURCE is not defined an so sys/sysmacros.h is not included and packages don’t build. should it be?

look at the log for build errors.

22.09.20171014KernelBug ReportVery LowHighMany kernel warning with ieee80211_probereq_getlede-17.01Unconfirmed Task Description

Happening on ZBT-WE1326.
Both trunk and lede-17.01 are affected.
Not knowing how to reproduce the problem, just connect/disconnect the device with wireless again and again.

[ 5465.187660] ————[ cut here ]———— [ 5465.187851] WARNING: CPU: 0 PID: 2299 at compat-wireless-2017-01-31/net/mac80211/tx.c:946 ieee80211_probereq_get+0x2d4/0x16c4 [mac80211]()
[ 5465.187861] Modules linked in: pppoe ppp_async shortcut_fe_cm pppox ppp_generic nf_nat_pptp nf_conntrack_pptp iptable_nat ipt_MASQUERADE xt_u32 xt_time xt_tcpmss xt_string xt_statistic xt_state xt_socket xt_recent xt_quota2 xt_quota xt_psd xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_lscan xt_limit xt_length2 xt_length xt_ipv4options xt_iprange xt_ipp2p xt_iface xt_hl xt_helper xt_hashlimit xt_geoip xt_fuzzy xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_condition xt_comment xt_cluster xt_addrtype xt_TPROXY xt_TEE xt_TCPMSS xt_SYSRQ xt_REDIRECT xt_NFQUEUE xt_NFLOG xt_NETMAP xt_LUA xt_LOGMARK xt_LOG xt_LED xt_IPMARK xt_HL xt_DSCP xt_DNETMAP xt_DHCPMAC xt_CLASSIFY xt_DELUDE xt_TARPIT ipt_REJECT xt_tcpudp xt_CHAOS xt_ACCOUNT ts_fsm ts_bm slhc shortcut_fe_ipv6 shortcut_fe 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_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_log_ipv4 nf_dup_ipv6 nf_dup_ipv4 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 ts_kmp nf_conntrack_amanda iptable_mangle iptable_filter ipt_ah ipt_ECN ipt_CLUSTERIP ip_tables crc_ccitt compat_xtables br_netfilter sg mt76x2e mt7603e 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_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nf_nat nf_conntrack ip6t_rt ip6t_frag ip6t_hbh ip6t_eui64 ip6t_mh ip6t_ah ip6t_ipv6header ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos tun vfat fat nls_utf8 nls_iso8859_1 nls_cp936 nls_cp437 zram lz4_decompress lz4_compress zsmalloc sha1_generic mmc_block usb_storage sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic
[ 5465.188476] CPU: 0 PID: 2299 Comm: kworker/u8:0 Not tainted 4.4.86 #0
[ 5465.188525] Workqueue: phy0 ieee80211_ibss_leave [mac80211]
[ 5465.188534] Stack : 00000002 00000000 804bdadc 8f199f80 80550000 00000009 8ef5a99c 8ef9e4e0
[ 5465.188534] 8f46bc64 8f46bc60 8fa061c0 8005d998 000008fb 805b96dc 8f46bc64 00000000
[ 5465.188534] 804df664 8f46bb1c 804bdadc 8005a734 00000002 00000000 804c30ec 8f46bb34
[ 5465.188534] 8f46bb1c 8005a734 804bdadc 80048b8c 8f46bc64 00000000 00000447 00006600
[ 5465.188534] 00000000 00000000 00000000 00000000 00000000 00000000 30796870 00000000
[ 5465.188534] ...
[ 5465.188654] Call Trace:
[ 5465.188670] [<800186e4>] show_stack+0x70/0x8c
[ 5465.188710] [<801f333c>] dump_stack+0x94/0xcc
[ 5465.188734] [<8002fe60>] warn_slowpath_common+0x94/0xdc
[ 5465.188748] [<8002ff2c>] warn_slowpath_null+0x18/0x24
[ 5465.188793] [<8ef282e0>] ieee80211_probereq_get+0x2d4/0x16c4 [mac80211]
[ 5465.188826]
[ 5465.188836] —[ end trace fef47880028bdeda ]— [ 5465.188852] ————[ cut here ]———— [ 5465.188892] WARNING: CPU: 0 PID: 2299 at compat-wireless-2017-01-31/net/mac80211/tx.c:946 ieee80211_probereq_get+0x2d4/0x16c4 [mac80211]()
[ 5465.188900] Modules linked in: pppoe ppp_async shortcut_fe_cm pppox ppp_generic nf_nat_pptp nf_conntrack_pptp iptable_nat ipt_MASQUERADE xt_u32 xt_time xt_tcpmss xt_string xt_statistic xt_state xt_socket xt_recent xt_quota2 xt_quota xt_psd xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_lscan xt_limit xt_length2 xt_length xt_ipv4options xt_iprange xt_ipp2p xt_iface xt_hl xt_helper xt_hashlimit xt_geoip xt_fuzzy xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_condition xt_comment xt_cluster xt_addrtype xt_TPROXY xt_TEE xt_TCPMSS xt_SYSRQ xt_REDIRECT xt_NFQUEUE xt_NFLOG xt_NETMAP xt_LUA xt_LOGMARK xt_LOG xt_LED xt_IPMARK xt_HL xt_DSCP xt_DNETMAP xt_DHCPMAC xt_CLASSIFY xt_DELUDE xt_TARPIT ipt_REJECT xt_tcpudp xt_CHAOS xt_ACCOUNT ts_fsm ts_bm slhc shortcut_fe_ipv6 shortcut_fe 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_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_log_ipv4 nf_dup_ipv6 nf_dup_ipv4 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 ts_kmp nf_conntrack_amanda iptable_mangle iptable_filter ipt_ah ipt_ECN ipt_CLUSTERIP ip_tables crc_ccitt compat_xtables br_netfilter sg mt76x2e mt7603e 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_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nf_nat nf_conntrack ip6t_rt ip6t_frag ip6t_hbh ip6t_eui64 ip6t_mh ip6t_ah ip6t_ipv6header ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos tun vfat fat nls_utf8 nls_iso8859_1 nls_cp936 nls_cp437 zram lz4_decompress lz4_compress zsmalloc sha1_generic mmc_block usb_storage sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic
[ 5465.189452] CPU: 0 PID: 2299 Comm: kworker/u8:0 Tainted: G W 4.4.86 #0
[ 5465.189496] Workqueue: phy0 ieee80211_ibss_leave [mac80211]
[ 5465.189504] Stack : 00000002 00000000 804bdadc 8f199f80 80550000 00000009 8ef5a99c 8ef9e4e0
[ 5465.189504] 8f46bc64 8f46bc60 8fa04f00 8005d998 000008fb 805b96dc 8f46bc64 00000000
[ 5465.189504] 804df664 8f46bb1c 804bdadc 8005a734 00000002 00000000 804c30ec 8f46bb34
[ 5465.189504] 8f46bb1c 8005a734 804bdadc 80048b8c 00000657 00000000 0000065b 00007430
[ 5465.189504] 00000000 00000000 00000000 00000000 00000000 00000000 30796870 00000000
[ 5465.189504] ...
[ 5465.189622] Call Trace:
[ 5465.189633] [<800186e4>] show_stack+0x70/0x8c
[ 5465.189651] [<801f333c>] dump_stack+0x94/0xcc
[ 5465.189665] [<8002fe60>] warn_slowpath_common+0x94/0xdc
[ 5465.189678] [<8002ff2c>] warn_slowpath_null+0x18/0x24
[ 5465.189722] [<8ef282e0>] ieee80211_probereq_get+0x2d4/0x16c4 [mac80211]
[ 5465.189754]
[ 5465.189763] —[ end trace fef47880028bdedb ]— [ 5657.680148] ————[ cut here ]———— [ 5657.680337] WARNING: CPU: 2 PID: 2297 at compat-wireless-2017-01-31/net/mac80211/tx.c:946 ieee80211_probereq_get+0x2d4/0x16c4 [mac80211]()
[ 5657.680348] Modules linked in: pppoe ppp_async shortcut_fe_cm pppox ppp_generic nf_nat_pptp nf_conntrack_pptp iptable_nat ipt_MASQUERADE xt_u32 xt_time xt_tcpmss xt_string xt_statistic xt_state xt_socket xt_recent xt_quota2 xt_quota xt_psd xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_lscan xt_limit xt_length2 xt_length xt_ipv4options xt_iprange xt_ipp2p xt_iface xt_hl xt_helper xt_hashlimit xt_geoip xt_fuzzy xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_condition xt_comment xt_cluster xt_addrtype xt_TPROXY xt_TEE xt_TCPMSS xt_SYSRQ xt_REDIRECT xt_NFQUEUE xt_NFLOG xt_NETMAP xt_LUA xt_LOGMARK xt_LOG xt_LED xt_IPMARK xt_HL xt_DSCP xt_DNETMAP xt_DHCPMAC xt_CLASSIFY xt_DELUDE xt_TARPIT ipt_REJECT xt_tcpudp xt_CHAOS xt_ACCOUNT ts_fsm ts_bm slhc shortcut_fe_ipv6 shortcut_fe 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_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_log_ipv4 nf_dup_ipv6 nf_dup_ipv4 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 ts_kmp nf_conntrack_amanda iptable_mangle iptable_filter ipt_ah ipt_ECN ipt_CLUSTERIP ip_tables crc_ccitt compat_xtables br_netfilter sg mt76x2e mt7603e 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_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nf_nat nf_conntrack ip6t_rt ip6t_frag ip6t_hbh ip6t_eui64 ip6t_mh ip6t_ah ip6t_ipv6header ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos tun vfat fat nls_utf8 nls_iso8859_1 nls_cp936 nls_cp437 zram lz4_decompress lz4_compress zsmalloc sha1_generic mmc_block usb_storage sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic
[ 5657.680963] CPU: 2 PID: 2297 Comm: kworker/u8:1 Tainted: G W 4.4.86 #0
[ 5657.681011] Workqueue: phy0 ieee80211_ibss_leave [mac80211]
[ 5657.681020] Stack : 00000002 00000000 804bdadc 8f08ce00 80550000 00000009 8ef5a99c 8efa2c08
[ 5657.681020] 8efd7c64 8efd7c60 8fa06880 8005d998 000008f9 805b96dc 8efd7c64 00000000
[ 5657.681020] 804df664 8efd7b1c 804bdadc 8005a734 00000002 00000000 804c30ec 8efd7b34
[ 5657.681020] 8efd7b1c 8005a734 804bdadc 80048b8c 0000086b 00000000 0000086f 00008260
[ 5657.681020] 00000000 00000000 00000000 00000000 00000000 00000000 30796870 00000000
[ 5657.681020] ...
[ 5657.681140] Call Trace:
[ 5657.681157] [<800186e4>] show_stack+0x70/0x8c
[ 5657.681196] [<801f333c>] dump_stack+0x94/0xcc
[ 5657.681221] [<8002fe60>] warn_slowpath_common+0x94/0xdc
[ 5657.681235] [<8002ff2c>] warn_slowpath_null+0x18/0x24
[ 5657.681279] [<8ef282e0>] ieee80211_probereq_get+0x2d4/0x16c4 [mac80211]
[ 5657.681312]
[ 5657.681323] —[ end trace fef47880028bdedc ]— [ 5657.681338] ————[ cut here ]———— [ 5657.681379] WARNING: CPU: 2 PID: 2297 at compat-wireless-2017-01-31/net/mac80211/tx.c:946 ieee80211_probereq_get+0x2d4/0x16c4 [mac80211]()
[ 5657.681387] Modules linked in: pppoe ppp_async shortcut_fe_cm pppox ppp_generic nf_nat_pptp nf_conntrack_pptp iptable_nat ipt_MASQUERADE xt_u32 xt_time xt_tcpmss xt_string xt_statistic xt_state xt_socket xt_recent xt_quota2 xt_quota xt_psd xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_lscan xt_limit xt_length2 xt_length xt_ipv4options xt_iprange xt_ipp2p xt_iface xt_hl xt_helper xt_hashlimit xt_geoip xt_fuzzy xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_condition xt_comment xt_cluster xt_addrtype xt_TPROXY xt_TEE xt_TCPMSS xt_SYSRQ xt_REDIRECT xt_NFQUEUE xt_NFLOG xt_NETMAP xt_LUA xt_LOGMARK xt_LOG xt_LED xt_IPMARK xt_HL xt_DSCP xt_DNETMAP xt_DHCPMAC xt_CLASSIFY xt_DELUDE xt_TARPIT ipt_REJECT xt_tcpudp xt_CHAOS xt_ACCOUNT ts_fsm ts_bm slhc shortcut_fe_ipv6 shortcut_fe 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_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_log_ipv4 nf_dup_ipv6 nf_dup_ipv4 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 ts_kmp nf_conntrack_amanda iptable_mangle iptable_filter ipt_ah ipt_ECN ipt_CLUSTERIP ip_tables crc_ccitt compat_xtables br_netfilter sg mt76x2e mt7603e 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_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nf_nat nf_conntrack ip6t_rt ip6t_frag ip6t_hbh ip6t_eui64 ip6t_mh ip6t_ah ip6t_ipv6header ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos tun vfat fat nls_utf8 nls_iso8859_1 nls_cp936 nls_cp437 zram lz4_decompress lz4_compress zsmalloc sha1_generic mmc_block usb_storage sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic
[ 5657.681939] CPU: 2 PID: 2297 Comm: kworker/u8:1 Tainted: G W 4.4.86 #0
[ 5657.681983] Workqueue: phy0 ieee80211_ibss_leave [mac80211]
[ 5657.681991] Stack : 00000002 00000000 804bdadc 8f08ce00 80550000 00000009 8ef5a99c 8efa2c08
[ 5657.681991] 8efd7c64 8efd7c60 8fa06580 8005d998 000008f9 805b96dc 8efd7c64 00000000
[ 5657.681991] 804df664 8efd7b1c 804bdadc 8005a734 00000002 00000000 804c30ec 8efd7b34
[ 5657.681991] 8efd7b1c 8005a734 804bdadc 80048b8c 00000a7f 00000000 00000a83 00009090
[ 5657.681991] 00000000 00000000 00000000 00000000 00000000 00000000 30796870 00000000
[ 5657.681991] ...
[ 5657.682109] Call Trace:
[ 5657.682120] [<800186e4>] show_stack+0x70/0x8c
[ 5657.682137] [<801f333c>] dump_stack+0x94/0xcc
[ 5657.682152] [<8002fe60>] warn_slowpath_common+0x94/0xdc
[ 5657.682165] [<8002ff2c>] warn_slowpath_null+0x18/0x24
[ 5657.682208] [<8ef282e0>] ieee80211_probereq_get+0x2d4/0x16c4 [mac80211]
[ 5657.682240]
[ 5657.682249] —[ end trace fef47880028bdedd ]—

Might be a duplicate of FS#961.

13.10.20171059Base systemBug ReportVery LowHighHigh CPU loadlede-17.01Unconfirmed Task Description

Greetings to all,

For some reason, both LEDE and OpenWRT are frying the CPU of my tp-link tl-wr740n v4.27. I was wondering does anyone else experience similar issue and could this be a bug?

//imgur.com/a/5m3YF

- Device problem occurs on: TP-LINK TL-WR740N v4
- LEDE Reboot 17.01.3 r3533-d0bf257c46 / LuCI lede-17.01 branch (git-17.232.21093-079f65a)
- Steps to reproduce: Just flashed and waited for an hour.

 


24.10.20171111Base systemBug ReportVery LowHighI have fresh install on WR740N and I discovered ip6tabl...lede-17.01Waiting on reporter Task Description

Supply the following if possible:
- Device problem occurs on — is TP-link WR740N
- Software versions of LEDE release, packages, etc. — base image no additional packages
- Steps to reproduce:

 

I have fresh install on WR740N and I discovered ip6tables setup is empty (”ip6tables –list -nv” shows everything is ACCEPTed), while ink-local fe80::... address is active on wan interface and web-interface listens on it since

$ netstat -apn
...
tcp 0 0 :::80 :::* LISTEN 754/uhttpd
...

26.10.20171118PackagesBug ReportVery LowHighbad argument #1 to 'tonumber' (string expected, got nil...lede-17.01Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

Any device without iptables

- Software versions of LEDE release, packages, etc.

17.01.04

- Steps to reproduce

 

Build a firmware with luci and without iptables, flash it and then go to the router’s status page:
http://dir-615/cgi-bin/luci/?status=1

You will get:

/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute function dispatcher target for entry '/'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute firstchild dispatcher target for entry '/admin'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute function dispatcher target for entry '/admin/status'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute template dispatcher target for entry '/admin/status/overview'.
The called action terminated with an exception:
/usr/lib/lua/luci/template.lua:97: Failed to execute template 'admin_status/index'.
A runtime error occured: [string "/usr/lib/lua/luci/view/admin_status/index.h..."]:34: bad argument #1 to 'tonumber' (string expected, got nil)
stack traceback:
	[C]: in function 'assert'
	/usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch'
	/usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>

From IRC:

(11:03:42 AM) jow: Shred00: but anyhow, try something along the lines of `local conn_count = tonumber(s.readfile(”/proc/sys/net/netfilter/nf_conntrack_count”) or ““) or 0`
(11:05:05 AM) Shred00: jow: yeah, that fixes it.
(11:05:17 AM) jow: Shred00: can you tell me the version of Lua installed on your system?
(11:05:38 AM) Shred00: lua - 5.1.5-1
(11:05:42 AM) jow: Shred00: and provide the output of lua -e ‘print(tonumber(nil))` ?
(11:06:02 AM) Shred00: # lua -e ‘print(tonumber(nil))’ (11:06:02 AM) Shred00: nil
(11:06:20 AM) jow: I don’t get it
(11:07:06 AM) jow: well anyhow, will add the fix to the repo later
(11:07:15 AM) jow: defensive programmis is never wrong
(11:07:18 AM) jow: *programming

30.10.20171128Base systemBug ReportVery LowHighMake is segfaulting with SDK lede-sdk-17.01.4-ar71xx-ge...lede-17.01Unconfirmed Task Description

On an ubuntu 16.04 docker container with all the host tools installed via “apt-get install build-essential subversion libncurses5-dev zlib1g-dev gawk gcc-multilib flex git-core gettext libssl-dev unzip”, I installed this SDK:

lede-sdk-17.01.4-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64.tar.xz

When I untar it and go into:

$ cd lede-sdk-17.01.4-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64
$ make
Segmentation fault (core dumped)
                                /mnt/ar71xx/lede-sdk-17.01.4-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64/include/toplevel.mk:127: recipe for target 'menuconfig' failed
                                                    make[2]: *** [menuconfig] Error 139
                                                                                       make[2]: Leaving directory '/mnt/ar71xx/lede-sdk-17.01.4-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64'
                                                                         /mnt/ar71xx/lede-sdk-17.01.4-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64/include/toplevel.mk:94: recipe for target '.config' failed
                                                                                         make[1]: *** [.config] Error 2
                                                                                                                       /mnt/ar71xx/lede-sdk-17.01.4-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64/include/toplevel.mk:191: recipe for target 'world' failed
             make: *** [world] Error 2

Can you reproduce it?

06.11.20171152Base systemBug ReportVery LowHighWDR3600: Wifi randomly turns off and get disabledlede-17.01Unconfirmed Task Description

Running LEDE 17.01.4

I’m not sure how do I reproduce this problem, it just happen randomly at random time.

This never happened back when I used OpenWRT, were there some regression somewhere?

So with LEDE, my router’s wifi randomly disconnect and disable itself. I have read the logs (provided below) yet I can’t see anything suspicious. I only see these:

Mon Nov  6 13:54:45 2017 daemon.notice procd: /etc/init.d/network: 'radio0' is disabled
Mon Nov  6 13:54:45 2017 daemon.notice procd: /etc/init.d/network: 'radio1' is disabled
Mon Nov  6 13:54:45 2017 daemon.notice procd: /etc/init.d/network: 'radio0' is disabled
Mon Nov  6 13:54:45 2017 daemon.notice procd: /etc/init.d/network: 'radio1' is disabled

This was around the time people in my home messaged me that they cannot find the access point from their devices

It bugs me because I usually go to the office in the afternoon and people in my house complains to me that Wifi stops working without anything being done to the router, I have not set up VPN access to my home network so I cannot do anything until I go home in the evening.

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

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


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)

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

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.

 


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


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


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

26.03.2017656Base systemBug ReportVery LowMediumIPv6 relay mode does not worklede-17.01Waiting on reporter 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'
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.

 


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

 


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.

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

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

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

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

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.

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

Showing tasks 1 - 50 of 375 Page 1 of 81 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing