OpenWrt/LEDE Project

Welcome to the OpenWrt/LEDE Project bug reporting and issue tracking system

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

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

OpenedIDCategory  descTask TypePrioritySeveritySummaryReported InStatus
10.07.20203221PackagesBug ReportLowLowubox: validate.c: Link-Local IPv6 with interface ID not...AllNew Task Description

validate.c uses inet_pton for identifying IPv6 addresses [1], and this seems to not understand interface identifiers as used for Link-local IPv6 addresses.

Reproduce:

root@FFF-GW-Adrian:~# /sbin/validate_data host fdff::1
host - fdff::1 = true
root@FFF-GW-Adrian:~# /sbin/validate_data host fe80::1
host - fe80::1 = true
root@FFF-GW-Adrian:~# /sbin/validate_data host fe80::1%br-mesh
host - fe80::1%br-mesh = false

This is a problem practically whenever validata_data is used to check uci values.

For example, it is not possible to use a link-local address for specifying an NTP server:

https://github.com/openwrt/openwrt/blob/master/package/utils/busybox/files/sysntpd#L33

If ‘server:list(host)’ is changed to ‘server:list(string)’ there, it obviously works fine, as it’s just the validation.

[1] https://git.openwrt.org/?p=project/ubox.git;a=blob;f=validate/validate.c;h=e72b8117ecd8b680778b0f5c7637ed6546a7736b;hb=HEAD#l402

04.08.20203270PackagesBug ReportVery LowLowgcc: package seems incompatible with linker provided by...TrunkUnconfirmed Task Description

I use the gcc package to compile C code on my OpenWrt installation. Something has broken the toolchain, and it appears to be related to the binutils package that OpenWrt base provides. I receive errors such as these when I compile:

root@OpenWrt # gcc hello.c 
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libssp_nonshared.a(__stack_chk_fail_local.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libssp_nonshared.a(__stack_chk_fail_local.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libgcc.a(_muldi3.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libgcc.a(_muldi3.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libgcc.a(_muldi3.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libgcc.a(_muldi3.o): unable to initialize decompress status for section .debug_info

I was able to overcome this problem by updating binutils. I copied the version information and patches for binutils 2.32 from toolchain/binutils/ into package/devel/binutils/, and I built a newer version of the binutils package. Whereas the toolchain version of binutils provides the option to build a recent release, the package version is still 2.27.

See also https://github.com/openwrt/packages/issues/13019.


17.08.20203290PackagesBug ReportVery LowLowhostapd always sets ap_isolate to 1 no matter what the ...openwrt-19.07Unconfirmed Task Description

I have two devices that show the same problem - both TP-Link, but different models.
The problem is that the devices/clients connected to any of the wlans are always isolated no matter what the config “isolate clients” is set to.
These devices cannot ping and see each other but they can be pinged and they can ping devices from/to devices in lan.

Further more the generated /var/run/hostapd-phy0.conf and /var/run/hostapd-phy1.conf always have the ap_isolate=1

The tested devices are:

root@OpenWrt:~# ubus call system board
{
        "kernel": "4.14.180",
        "hostname": "OpenWrt",
        "system": "Qualcomm Atheros QCA9558 ver 1 rev 0",
        "model": "TP-Link Archer C7 v2",
        "board_name": "tplink,archer-c7-v2",
        "release": {
                "distribution": "OpenWrt",
                "version": "19.07.3",
                "revision": "r11063-85e04e9f46",
                "target": "ath79/generic",
                "description": "OpenWrt 19.07.3 r11063-85e04e9f46"
        }
}
root@OpenWrt:~# ubus call system board
{
        "kernel": "4.14.180",
        "hostname": "OpenWrt",
        "system": "Atheros AR9344 rev 2",
        "model": "TP-Link TL-WDR4300 v1",
        "board_name": "tplink,tl-wdr4300-v1",
        "release": {
                "distribution": "OpenWrt",
                "version": "19.07.3",
                "revision": "r11063-85e04e9f46",
                "target": "ath79/generic",
                "description": "OpenWrt 19.07.3 r11063-85e04e9f46"
        }
}

No packages have been updated manually on both devices.
Both devices has defaults sets coming with the default factory OpenWrt 19.07.3 image.
Both devices were set for their Network → Wireless → wlan0 (and wlan1) → Interface configuration → Advanced settings → Isolate clients UNCHECKED

Here is the config of one of the devices (/etc/config/wireless) and the respective generated /var/run/hostapd-phy0.conf

config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11g'
	option path 'platform/ahb/18100000.wmac'
	option channel 'auto'
	option country 'BG'
	option htmode 'HT20'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option key 'XXXXXX'
	option ssid 'YYYYYYYY'
	option encryption 'psk2'

Even when option isolate ‘0’ is added manually using uci not luci, and restarting the device the respective hostapd-phy0.conf remains with ap_isolate=1

driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
country_code=BG
ieee80211d=1
hw_mode=g
beacon_int=100
channel=acs_survey



ieee80211n=1
ht_coex=0
ht_capab=[LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][DSSS_CCK-40]

interface=wlan0
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
utf8_ssid=1
multi_ap=0
wpa_passphrase=XXXXXX
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=YYYYYYYY
bridge=br-lan
wpa_disable_eapol_key_retries=0
wpa_key_mgmt=WPA-PSK
okc=0
disable_pmksa_caching=1
bssid=xx:xx:xx:xx:xx:xx

My guess is that hostapd/wpad doesn’t set properly the ap_isolate according to the config.

Please let me know if you need further info.

Thanks

 


24.08.20203301PackagesBug ReportVery LowLowCannot satisfy dependency on iptables-mod-tproxyopenwrt-19.07Waiting on reporter Task Description

One example is iptables-mod-tproxy. It is available in 19.07.0, but not in 19.07.1. This causes dependency issue when installing some packages.
How to reproduce:

# opkg install shadowsocks-libev-ss-rules
Installing shadowsocks-libev-ss-rules (3.2.5-5) to root...
Downloading http://downloads.openwrt.org/releases/19.07.1/packages/aarch64_cortex-a53/packages/shadowsocks-libev-ss-rules_3.2.5-5_aarch64_cortex-a53.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for shadowsocks-libev-ss-rules:
 *      iptables-mod-tproxy
 * opkg_install_cmd: Cannot install package shadowsocks-libev-ss-rules.

I reproduced it on aarch64_coretex_a53, but I see it’s missing for other platforms like a72 and x86_64, too.

It was reported here: https://github.com/openwrt/packages/issues/11457 But was closed and the maintainer said it belongs here.

19.09.20203347PackagesBuild FailureVery LowLowlibustream: package/install file conflictsTrunkUnconfirmed Task Description

Reproduce the problem:
selecting `luci-ssl-openssl`

Collected errors:
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package libustream-openssl20200215.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
 *      luci-proto-ppp
 * opkg_install_cmd: Cannot install package luci.
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package luci-ssl-openssl.
pts (1.4.0-9) to root...
make[1]: *** [package/Makefile:68: package/install] Error 255
make[1]: Leaving directory '/media/builds/github-openwrt/openwrt'
make: *** [/media/builds/github-openwrt/openwrt/include/toplevel.mk:236: package/install] Error 2
Command exited with non-zero status 2
19.09.20203348PackagesBuild FailureVery LowLowlibustream: package/install file conflictsTrunkUnconfirmed Task Description

Reproduce the problem:
selecting `luci-ssl-openssl`

Collected errors:
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package libustream-openssl20200215.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
 *      luci-proto-ppp
 * opkg_install_cmd: Cannot install package luci.
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package luci-ssl-openssl.
pts (1.4.0-9) to root...
make[1]: *** [package/Makefile:68: package/install] Error 255
make[1]: Leaving directory '/media/builds/github-openwrt/openwrt'
make: *** [/media/builds/github-openwrt/openwrt/include/toplevel.mk:236: package/install] Error 2
Command exited with non-zero status 2
19.09.20203349PackagesBuild FailureVery LowLowlibustream: package/install file conflictsTrunkUnconfirmed Task Description

Reproduce the problem:
selecting `luci-ssl-openssl`

Collected errors:
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package libustream-openssl20200215.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
 *      luci-proto-ppp
 * opkg_install_cmd: Cannot install package luci.
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package luci-ssl-openssl.
pts (1.4.0-9) to root...
make[1]: *** [package/Makefile:68: package/install] Error 255
make[1]: Leaving directory '/media/builds/github-openwrt/openwrt'
make: *** [/media/builds/github-openwrt/openwrt/include/toplevel.mk:236: package/install] Error 2
Command exited with non-zero status 2
21.09.20203355PackagesBug ReportVery LowLowUMDNS: does not start on master with seccomp TrunkUnconfirmed Task Description

UMDNS does not start on master with seccomp
this has bee tested on ramips (dir878 and redmiac2100)
if i comment out
# procd_set_param seccomp /etc/seccomp/umdns.json
from /etc/init.d/umdns

it works

23.09.20203357PackagesBug ReportVery LowLowcollectd-mod-openvpn: can't enable pluginTrunkUnconfirmed Task Description

See the screenshot. Unlike other plugins, this one is missing “Enable this plugin” checkbox, and therefore, cannot be enabled via UI.

23.10.20203403PackagesBug ReportVery LowLowkmod-ath9k: Please enable "Support chips used in PC OEM...openwrt-19.07Unconfirmed Task Description

- Happens on all x86 targets
- Happens with trunk and 19.07.4
- To reproduce, run ip a in any x86 machine with an ath9k-compatible (mini-)PCIE wifi card installed. You will note that no relevant wireless interface is found.

Although this issue concerns the kmod-ath9k driver, it is not about the code itself; rather, the build system and the packaged modules.

Recently I tried to run OpenWRT on x86_64 machine that has an AR9462 mini-pcie wifi card installed.
Although lspci detected the card, no drivers were loaded for it, and the wireless interface does not show up with the ip command, even with the ath9k drivers installed.

I have found out that this is because support for PC OEM cards are not enabled by default. As a result, I had to build my own copy of OpenWRT from scratch with that option specifically turned on.
And even then, with matching versions (19.07.4), my install of OpenWRT complained that the package built had a different kernel version. I was unsure why, but I wasn’t interested in finding out and I simply forced the install.

I believe that the support for PC OEM cards for ath9k should be turned on by default for the x86 builds of the driver. People running OpenWRT on x86 are unlikely to run into serious space constraints.
Kindly consider my suggestion.

13.11.20203447PackagesBug ReportVery LowLowMissing kmods for mt7621 in repoTrunkUnconfirmed Task Description

*** Failed to download the package list from https://downloads.openwrt.org/snaps hots/targets/ramips/mt7621/kmods/5.4.75-1-878d1c290479417154653dd2ca7e6dbd/Packa ges.gz

30.11.20203483PackagesBug ReportVery LowLowgcc old ABITrunkUnconfirmed Task Description

Package gcc from feeds has wrong option in Makefile

–with-default-libstdcxx-abi=gcc4-compatible

with old abi g++ cant link to existing libs. Without it gcc works as expected
Pls remove this option.

01.12.20203485PackagesBug ReportVery LowLowlogd: log starts up before networking, causing remote l...openwrt-19.07Unconfirmed Task Description

# grep PRETTY_NAME /etc/os-release
PRETTY_NAME=”OpenWrt 19.07.4”

rc.d contains:

K10ddns → ../init.d/ddns
...
K99socat → ../init.d/socat
S00sysfixtime → ../init.d/sysfixtime
S00urngd → ../init.d/urngd
S01haveged → ../init.d/haveged
S10boot → ../init.d/boot
S10system → ../init.d/system
S11sysctl → ../init.d/sysctl
S12log → ../init.d/log
S12rpcd → ../init.d/rpcd
S19dnsmasq → ../init.d/dnsmasq
S19dropbear → ../init.d/dropbear
S19firewall → ../init.d/firewall
S20network → ../init.d/network
...

note log is S12, network is S20

there’s a comment at the top of the log rc script which suggests this is the wrong order:

# cat /etc/init.d/log
#!/bin/sh /etc/rc.common
# Copyright (C) 2013 OpenWrt.org

# start after and stop before networking
START=12
STOP=89
PIDCOUNT=0

note: “start after ... networking”

04.12.20203488PackagesBug ReportVery LowLowmvebu: kexec-tools gcc10 compile fixTrunkUnconfirmed Task Description

kexec-tools fails to compile when building latest master from git and using GCC 10. Multiple definitions and one declaration of a debug variable named my_debug for PPC64 that spills over into arm.

— a/kexec/fs2dt.h
+++ b/kexec/fs2dt.h
@@ -30,7 +30,7 @@ extern struct bootblock bb[1];

/* Used for enabling printing message from purgatory code

  • Only has implemented for PPC64 */

-int my_debug;
+extern int my_debug;
extern int dt_no_old_root;

void reserve(unsigned long long where, unsigned long long length);

 


05.12.20203491PackagesBug ReportVery LowLowumDNS fails to compile with GCC10 possible CVETrunkUnconfirmed Task Description

A warning (treated as error) is emitted from GCC10 when compiling umDNS (object at ‘b’ is out of the bounds). This could also turn into a CVE.

[ 40%] Building C object CMakeFiles/umdns-lib.dir/service.c.o
/home/ByteEnable/temp/openwrt-master/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-10.2.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-gcc   -Os -pipe  -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/home/ByteEnable/temp/openwrt-master/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/umdns-2020-10-26-59e4fc98=umdns-2020-10-26-59e4fc98 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/ByteEnable/temp/openwrt-master/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/usr/include -DNDEBUG   -Os -ggdb -Wall -Werror --std=gnu99 -Wmissing-declarations -o CMakeFiles/umdns-lib.dir/service.c.o -c /home/ByteEnable/temp/openwrt-master/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/umdns-2020-10-26-59e4fc98/service.c
/home/ByteEnable/temp/openwrt-master/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/umdns-2020-10-26-59e4fc98/service.c: In function 'service_load_blob':
/home/ByteEnable/temp/openwrt-master/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/umdns-2020-10-26-59e4fc98/service.c:242:10: error: 'strncpy' offset 6 from the object at 'b' is out of the bounds of referenced subobject 'name' with type 'uint8_t[]' {aka 'unsigned char[]'} at offset 6 [-Werror=array-bounds]
  242 |  s->id = strncpy(d_id, blobmsg_name(b), n);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/ByteEnable/temp/openwrt-master/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/usr/include/libubus.h:23,
                 from /home/ByteEnable/temp/openwrt-master/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/umdns-2020-10-26-59e4fc98/service.c:23:
/home/ByteEnable/temp/openwrt-master/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/usr/include/libubox/blobmsg.h:43:10: note: subobject 'name' declared here
   43 |  uint8_t name[];
      |          ^~~~
cc1: all warnings being treated as errors
make[6]: *** [CMakeFiles/umdns-lib.dir/build.make:121: CMakeFiles/umdns-lib.dir/service.c.o] Error 1
make[6]: Leaving directory '/home/ByteEnable/temp/openwrt-master/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/umdns-2020-10-26-59e4fc98'
make[5]: *** [CMakeFiles/Makefile2:124: CMakeFiles/umdns-lib.dir/all] Error 2
make[5]: Leaving directory '/home/ByteEnable/temp/openwrt-master/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/umdns-2020-10-26-59e4fc98'
make[4]: *** [Makefile:149: all] Error 2
make[4]: Leaving directory '/home/ByteEnable/temp/openwrt-master/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/umdns-2020-10-26-59e4fc98'
make[3]: *** [Makefile:50: /home/ByteEnable/temp/openwrt-master/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/umdns-2020-10-26-59e4fc98/.built] Error 2
make[3]: Leaving directory '/home/ByteEnable/temp/openwrt-master/package/network/services/umdns'
time: package/network/services/umdns/compile#0.64#0.16#0.00
    ERROR: package/network/services/umdns failed to build.
make[2]: *** [package/Makefile:114: package/network/services/umdns/compile] Error 1
make[2]: Leaving directory '/home/ByteEnable/temp/openwrt-master'
make[1]: *** [package/Makefile:108: /home/ByteEnable/temp/openwrt-master/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/ByteEnable/temp/openwrt-master'
make: *** [/home/ByteEnable/temp/openwrt-master/include/toplevel.mk:242: world] Error 2
09.12.20203497PackagesBug ReportVery LowLowipip: restart failed after modifying configAllUnconfirmed Task Description

After modifying config, e.g. change “peeraddr” option, the interface can’t restart. Must delete interface manually.
One solution:
ifdown tunnel
ip link delete ipip-tunnel
ifup tunnel

The problem can be reproduced in OpenWrt 19.07.4, and may be in all version. Because there have been no major updates to “openwrt/package/network/config/ipip/files/ipip.sh” file in 4 years.

02.01.20213554PackagesBug ReportVery LowLowuhttpd non-English directory displays garbled character...TrunkUnconfirmed Task Description

uhttpd non-English directory displays garbled characters。

Modify uh_file_dirlist function

ustream_printf(cl→us, “Content-Type: text/html\r\n\r\n”);

ustream_printf(cl→us, “Content-Type: text/html; charset=utf-8\r\n\r\n”);

This way all languages can be displayed perfectly!

09.05.2017772PackagesFeature RequestVery LowVery LowAllowing Snort to also block possibly using SnortSamTrunkUnconfirmed Task Description

I noticed that Snort is available from the packages. I wanted to inquire if it would be possible to intergrate dynamic blocking through software such as SnortSam (http://www.snortsam.net/).

pfSence implements a blocking feature with Snort, I’m curious if others may be likewise be interested in this feature being added in to a future release of LEDE.

Thanks

06.05.20192269PackagesBug ReportVery LowVery Lowiwinfo_lib.c does not correlate it's list with kernelTrunkUnconfirmed Task Description

The following issue occurs on all devices across all OpenWRT versions as it is partly a problem derived from the Linux Kernel.

It is explained in detail here: https://forum.openwrt.org/t/wifi-regulatory-country-database/35775

Prerequisites:

1) You need to have set up a working Wireless access point.
2) The set country has to not be one of the ones patched out here: https://pastebin.com/M2qTQFT5

Steps to reproduce:

1) Type ‘iw reg get’ in the terminal. This will give you a list of all available channels in the regulatory zone (country).
2) Change country to one of the patched out ones: https://pastebin.com/M2qTQFT5 (Eg. Angola, Antarctica)
3) [opt - Disregard this step if you used the WebUI] Type ‘/etc/init.d/network restart’ 4) Type ‘iw reg get’ in the terminal. You will notice that it has not changed.

Problem:

You can, unknown to you, set up a channel which is prohibited in your country. This is very hard to *check* because there is no way to pre-query whether you can set such a country or not.

More detailed explanation and argumentation can be found here: https://forum.openwrt.org/t/wifi-regulatory-country-database/35775


09.05.20192276OtherBug ReportVery LowCriticalThe path to read temperature in fan_ctrl.sh needs to be...TrunkUnconfirmed Task Description

[openwrt/openwrt.git] / target / linux / mvebu / base-files / sbin / fan_ctrl.sh

CPU_TEMP=`cut -c1-2 /sys/class/hwmon/hwmon2/temp1_input`
DDR_TEMP=`cut -c1-2 /sys/class/hwmon/hwmon1/temp1_input`
WIFI_TEMP=`cut -c1-2 /sys/class/hwmon/hwmon1/temp2_input`

These three paths are wrong, I found these three:
CPU_TEMP=`cut -c1-2 /sys/class/hwmon/hwmon1/temp1_input`
DDR_TEMP=`cut -c1-2 /sys/class/hwmon/hwmon0/temp1_input`
WIFI_TEMP=`cut -c1-2 /sys/class/hwmon/hwmon0/temp2_input`

08.06.20181581OtherBug ReportVery LowHighnetifd:Failed to bring up static 6rd tunnel after we mo...AllUnconfirmed Task Description

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

netifd-0f96606b7040b8e14190ff055d5761744bc15f6d

- Steps to reproduce

Step 1: Create a DHCPv4 + dynamic 6rd wan connection. Below is the /etc/config/network. wan and wan6 go up after “/etc/init.d/network reload”

[CXNK00123457] /lib/netifd/proto # 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 'auto'

config interface 'lan'
	option ifname 'eth0'
	option type 'bridge'
	option proto 'static'
	option ipaddr '192.168.1.1'
	option netmask '255.255.255.0'
	option ip6assign '64'

config interface 'pvtlan'
	option proto 'static'
	option ipaddr '169.254.1.1'
	option netmask '255.255.255.0'

config interface 'wan'
	option ifname 'eth1'
	option proto 'dhcp'
	option peerdns '1'
	option defaultroute '1'
	option vendorid '844Ei.ONT.dslforum.org'
	option reqopts '43 120 121'
	option iface6rd 'wan6'

Step 2: Edit /etc/config/network file, disable dynamic 6rd and provision a static one

[CXNK00123457] /etc/config # cat network.static6rd 

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

config interface 'lan'
	option ifname 'eth0'
	option type 'bridge'
	option proto 'static'
	option ipaddr '192.168.1.1'
	option netmask '255.255.255.0'
	option ip6assign '64'

config interface 'pvtlan'
	option proto 'static'
	option ipaddr '169.254.1.1'
	option netmask '255.255.255.0'

config interface 'wan'
	option ifname 'eth1'
	option proto 'dhcp'
	option peerdns '1'
	option defaultroute '1'
	option vendorid '844Ei.ONT.dslforum.org'
	option reqopts '43 120 121'

config interface 'wan6'
	option ifname 'eth1'
	option proto '6rd'
	option peerdns '0'
	option defaultroute '1'
	list dns '2001:db8:1::a'
	list dns '2001:db8:1::b'
	option tunlink 'wan'
	option peeraddr '10.101.1.1'
	option ip6prefix '2602::'
	option ip6prefixlen '32'
	option ip4prefixlen '24'

Step 3: Run “/etc/init.d/network reload”. However, netifd failed to bring up the static 6rd tunnel wan6.

Here is the log of netifd from /var/log/messages. From the log, it seems that netifd was trying to bring up wan6 before wan (DHCPv4) went up. See “netifd: Interface ‘wan6’ is setting up now”. Does this matter?

[CXNK00123457] /etc/config # /etc/init.d/network reload 
Wed Jun  6 06:26:25 2018 daemon.notice netifd: Interface 'wan6' has lost the connection
Wed Jun  6 06:26:25 2018 daemon.warn dnsmasq[19262]: no servers found in /tmp/resolv.conf.auto, will retry
Wed Jun  6 06:26:25 2018 daemon.notice netifd: tunnel '6rd-wan6' link is down
Wed Jun  6 06:26:26 2018 daemon.notice netifd: Interface 'wan6' is now down
Wed Jun  6 06:26:26 2018 daemon.notice netifd: Interface 'wan6' is setting up now
Wed Jun  6 06:26:26 2018 daemon.notice netifd: wan (2641): Received SIGTERM
Wed Jun  6 06:26:26 2018 daemon.notice netifd: Interface 'wan' is now down
Wed Jun  6 06:26:26 2018 daemon.notice netifd: Interface 'wan' is disabled
Wed Jun  6 06:26:26 2018 daemon.notice netifd: Interface 'wan' has link connectivity loss
Wed Jun  6 06:26:26 2018 kern.info kernel: [119305.628866] 8021q: adding VLAN 0 to HW filter on device eth1
Wed Jun  6 06:26:26 2018 kern.info kernel: [119305.630319] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
Wed Jun  6 06:26:26 2018 daemon.notice netifd: Interface 'wan' is enabled
Wed Jun  6 06:26:27 2018 daemon.notice netifd: Interface 'wan6' is now down
Wed Jun  6 06:26:28 2018 daemon.notice netifd: Network device 'eth1' link is up
Wed Jun  6 06:26:28 2018 daemon.notice netifd: Interface 'wan' has link connectivity 
Wed Jun  6 06:26:28 2018 daemon.notice netifd: Interface 'wan' is setting up now
Wed Jun  6 06:26:28 2018 kern.info kernel: [119307.631409] e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
Wed Jun  6 06:26:28 2018 kern.info kernel: [119307.632184] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Wed Jun  6 06:26:29 2018 daemon.notice netifd: wan (3351): udhcpc (v1.23.2) started
=========== interface wan disconnected ===========
Wed Jun  6 06:26:30 2018 daemon.notice netifd: wan (3351): Sending discover...
Wed Jun  6 06:26:31 2018 daemon.notice netifd: wan (3351): Sending select for 10.101.1.100...
Wed Jun  6 06:26:31 2018 daemon.notice netifd: wan (3351): Lease of 10.101.1.100 obtained, lease time 503
Wed Jun  6 06:26:31 2018 daemon.notice netifd: Interface 'wan' is now up
Wed Jun  6 06:26:31 2018 daemon.info dnsmasq[19262]: reading /tmp/resolv.conf.auto
Wed Jun  6 06:26:31 2018 daemon.info dnsmasq[19262]: using local addresses only for domain lan
Wed Jun  6 06:26:31 2018 daemon.info dnsmasq[19262]: using nameserver 10.101.0.1#53
=========== interface wan connected ===========
Wed Jun  6 06:26:31 2018 daemon.notice netifd: wan (3351): rgcommon>sys update-interface-status wan
Wed Jun  6 06:26:32 2018 user.notice firewall: Reloading firewall due to ifup of wan (eth1)

11.02.20192118OtherFeature RequestVery LowHighRenaming pre-configured firewall-zone names...AllUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
This is a suggestion and is not a model-specific bug report.

- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt 18.06.1, r7258-5eb055306f

- Steps to reproduce
Description below:

This is a decade-old suggestion I’ve held within and I really hope the words will gather enough attention and momentum of the dev team. Streight to the conclusion, two pre-configured firewall-zones IMHO should be renamed from “lan” to “internal” and “wan” to “external” respectively. There are a few reasons for which I confidently feel this should be done. I’d like to argue that this is important if not essential because;
a.)Those who prefer making changes to current configurations by editing /etc/config/*, using stuff like “sed -i ‘s/before/after/g’ ${file}” (and then proceeding to reboot) is powerful and is almost mistake-free. checking for config-mistakes using grep is also powerful (and this applies to folks using uci CUI tool as well). What I do now is rename these two zones from GUI and then proceed to these steps, and it works great but having to take this extra step is rather inconvenient if not annoying.
b.)Current presets for interfaces have IPv4-WAN named as “wan” and IPv6-WAN named as “wan6” where the IPv4-WAN‘s label “wan” is no different from the firewalled-zone labeled as “wan”. This is simply comfusing. In early days when I I had just heard about the OpenWrt and had started messing with releases like Kamikaze,I had hard times understanding which string corresponded to which (sure you may argue this is documented in details but things don’t work like that for newbies).
c.)If needs for either firewall-zones or the interface-labels to be renamed are understood, I’d then have to say I’m against renaming interface-labels because those who’d decide to use VLANs would most likely name the interfaces as “config interface ‘vlan_ID’” and the string lan would stay in there.

I hope the above proposal is powerful enough...

24.05.20203120OtherBuild FailureVery LowMediumbuildbots still build the x86 targets even if the kerne...TrunkUnconfirmed Task Description

The kernel config of x86 target was updated only for x86_64, the x86 legacy, generic and Alix targets were missing some kernel options.

This means that when you go to build them, the system stops and asks you what to do (y/n/number), with an interactive prompt.

The x86 kernel config problem is already fixed by my PR, this bug report is about the build bot problem. They “failed to fail”.

The build bots should have detected this interactive prompt and failed the build.

They were instead “answering” the interactive prompt with an error message, then they could still compile the kernel.

see http://buildbot.openwrt.org/master/images/builders/x86%2Flegacy/builds/319/steps/kmods/logs/stdio

and here is the important part, note how after each kernel config option that is missing it will print
Error in reading or end of file.“, and a new line, and then continue as if nothing was wrong.

*
* Restart config...
*
*
* Misc devices
*
Analog Devices Digital Potentiometers (AD525X_DPOT) [N/m/y/?] n
Dummy IRQ handler (DUMMY_IRQ) [N/m/y/?] n
Device driver for IBM RSA service processor (IBM_ASM) [N/m/y/?] n
Sensable PHANToM (PCI) (PHANTOM) [N/m/y/?] n
TI Flash Media interface support (TIFM_CORE) [N/m/y/?] n
Integrated Circuits ICS932S401 (ICS932S401) [N/m/y/?] n
Enclosure Services (ENCLOSURE_SERVICES) [N/m/y/?] n
Channel interface driver for the HP iLO processor (HP_ILO) [N/m/y/?] n
Medfield Avago APDS9802 ALS Sensor module (APDS9802ALS) [N/m/y/?] n
Intersil ISL29003 ambient light sensor (ISL29003) [N/m/y/?] n
Intersil ISL29020 ambient light sensor (ISL29020) [N/m/y/?] n
Taos TSL2550 ambient light sensor (SENSORS_TSL2550) [N/m/y/?] n
BH1770GLC / SFH7770 combined ALS - Proximity sensor (SENSORS_BH1770) [N/m/y/?] n
APDS990X combined als and proximity sensors (SENSORS_APDS990X) [N/m/y/?] n
Honeywell HMC6352 compass (HMC6352) [N/m/y/?] n
Dallas DS1682 Total Elapsed Time Recorder with Alarm (DS1682) [N/m/y/?] n
Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) PHUB (PCH_PHUB) [N/m/y/?] n
Lattice ECP3 FPGA bitstream configuration via SPI (LATTICE_ECP3_CONFIG) [N/m/y/?] n
Generic on-chip SRAM driver (SRAM) [N/y/?] n
PCI Endpoint Test driver (PCI_ENDPOINT_TEST) [N/m/y/?] n
Xilinx SDFEC 16 (XILINX_SDFEC) [N/m/y/?] n
pvpanic device support (PVPANIC) [N/m/y/?] n
ENE CB710/720 Flash memory card reader support (CB710_CORE) [N/m/y/?] n
STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (I2C) (SENSORS_LIS3_I2C) [N/m/y/?] n
Altera FPGA firmware download module (ALTERA_STAPL) [N/m/y/?] n
Intel Management Engine Interface (INTEL_MEI) [N/m/y/?] n
ME Enabled Intel Chipsets (INTEL_MEI_ME) [N/m/y/?] n
Intel Trusted Execution Environment with ME Interface (INTEL_MEI_TXE) [N/m/y/?] n
Intel HDCP2.2 services of ME Interface (INTEL_MEI_HDCP) [N/m/y/?] (NEW) 
Error in reading or end of file.

VMware VMCI Driver (VMWARE_VMCI) [N/m/y/?] n
Line Echo Canceller support (ECHO) [M/n/y/?] m
Alcor Micro/Alcor Link PCI-E card reader (MISC_ALCOR_PCI) [N/m/y/?] n
Realtek PCI-E card reader (MISC_RTSX_PCI) [N/m/y/?] n
Realtek USB card reader (MISC_RTSX_USB) [N/m/y/?] n
HabanaAI accelerators (habanalabs) (HABANA_AI) [N/m/y/?] n
*
* SCSI low-level drivers
*
SCSI low-level drivers (SCSI_LOWLEVEL) [Y/n/?] y
  iSCSI Initiator over TCP/IP (ISCSI_TCP) [N/m/y/?] n
  iSCSI Boot Sysfs Interface (ISCSI_BOOT_SYSFS) [N/m/y/?] n
  Chelsio T3 iSCSI support (SCSI_CXGB3_ISCSI) [N/m/y/?] n
  Chelsio T4 iSCSI support (SCSI_CXGB4_ISCSI) [N/m/y/?] n
  QLogic NetXtreme II iSCSI support (SCSI_BNX2_ISCSI) [N/m/y/?] n
  Emulex 10Gbps iSCSI - BladeEngine 2 (BE2ISCSI) [N/m/y/?] n
  3ware 5/6/7/8xxx ATA-RAID support (BLK_DEV_3W_XXXX_RAID) [N/m/y/?] n
  HP Smart Array SCSI driver (SCSI_HPSA) [N/m/y/?] n
  3ware 9xxx SATA-RAID support (SCSI_3W_9XXX) [N/m/y/?] n
  3ware 97xx SAS/SATA-RAID support (SCSI_3W_SAS) [N/m/y/?] n
  ACARD SCSI support (SCSI_ACARD) [N/m/y/?] n
  Adaptec AHA152X/2825 support (SCSI_AHA152X) [N/m/y/?] n
  Adaptec AHA1542 support (SCSI_AHA1542) [N/m/y/?] n
  Adaptec AACRAID support (SCSI_AACRAID) [N/m/y/?] n
  Adaptec AIC7xxx Fast -> U160 support (SCSI_AIC7XXX) [N/m/y/?] n
  Adaptec AIC79xx U320 support (SCSI_AIC79XX) [N/m/y/?] n
  Adaptec AIC94xx SAS/SATA support (SCSI_AIC94XX) [N/m/y/?] n
  Marvell 88SE64XX/88SE94XX SAS/SATA support (SCSI_MVSAS) [M/n/y/?] m
    Compile in debug mode (SCSI_MVSAS_DEBUG) [N/y/?] n
    Support for interrupt tasklet (SCSI_MVSAS_TASKLET) [N/y/?] n
  Marvell UMI driver (SCSI_MVUMI) [N/m/y/?] n
  Adaptec I2O RAID support  (SCSI_DPT_I2O) [N/m/y/?] n
  AdvanSys SCSI support (SCSI_ADVANSYS) [N/m/y/?] n
  ARECA (ARC11xx/12xx/13xx/16xx) SATA/SAS RAID Host Adapter (SCSI_ARCMSR) [N/m/y/?] n
  ATTO Technology's ExpressSAS RAID adapter driver (SCSI_ESAS2R) [N/m/y/?] n
  LSI Logic New Generation RAID Device Drivers (MEGARAID_NEWGEN) [N/y/?] n
  LSI Logic Legacy MegaRAID Driver (MEGARAID_LEGACY) [N/m/y/?] n
  LSI Logic MegaRAID SAS RAID Module (MEGARAID_SAS) [N/m/y/?] n
  LSI MPT Fusion SAS 3.0 & SAS 2.0 Device Driver (SCSI_MPT3SAS) [N/m/y/?] n
  Legacy MPT2SAS config option (SCSI_MPT2SAS) [N/m/y/?] n
  Microsemi PQI Driver (SCSI_SMARTPQI) [N/m/y/?] n
  Universal Flash Storage Controller Driver Core (SCSI_UFSHCD) [N/m/y/?] n
  HighPoint RocketRAID 3xxx/4xxx Controller support (SCSI_HPTIOP) [N/m/y/?] n
  BusLogic SCSI support (SCSI_BUSLOGIC) [N/m/y/?] n
  Mylex DAC960/DAC1100 PCI RAID Controller (Block Interface) (SCSI_MYRB) [N/m/y/?] n
  Mylex DAC960/DAC1100 PCI RAID Controller (SCSI Interface) (SCSI_MYRS) [N/m/y/?] n
  VMware PVSCSI driver support (VMWARE_PVSCSI) [N/m/y/?] n
  Cisco SNIC Driver (SCSI_SNIC) [N/m/y/?] n
  DMX3191D SCSI support (SCSI_DMX3191D) [N/m/y/?] n
  Future Domain TMC-3260/AHA-2920A PCI SCSI support (SCSI_FDOMAIN_PCI) [N/m/y/?] n
  Future Domain 16xx ISA SCSI support (SCSI_FDOMAIN_ISA) [N/m/y/?] (NEW) 
Error in reading or end of file.

  Intel/ICP (former GDT SCSI Disk Array) RAID Controller support (SCSI_GDTH) [N/m/y/?] n
  Intel(R) C600 Series Chipset SAS Controller (SCSI_ISCI) [N/m/y/?] n
  Generic NCR5380/53c400 SCSI ISA card support (SCSI_GENERIC_NCR5380) [N/m/y/?] n
  IBM ServeRAID support (SCSI_IPS) [N/m/y/?] n
  Initio 9100U(W) support (SCSI_INITIO) [N/m/y/?] n
  Initio INI-A100U2W support (SCSI_INIA100) [N/m/y/?] n
  IOMEGA parallel port (ppa - older drives) (SCSI_PPA) [N/m/?] n
  IOMEGA parallel port (imm - newer drives) (SCSI_IMM) [N/m/?] n
  Promise SuperTrak EX Series support (SCSI_STEX) [N/m/y/?] n
  SYM53C8XX Version 2 SCSI support (SCSI_SYM53C8XX_2) [N/m/y/?] n
  IBM Power Linux RAID adapter support (SCSI_IPR) [N/m/y/?] n
  Qlogic FAS SCSI support (SCSI_QLOGIC_FAS) [N/m/y/?] n
  Qlogic QLA 1240/1x80/1x160 SCSI support (SCSI_QLOGIC_1280) [N/m/y/?] n
  QLogic ISP4XXX and ISP82XX host adapter family support (SCSI_QLA_ISCSI) [N/m/y/?] n
  Tekram DC395(U/UW/F) and DC315(U) SCSI support (SCSI_DC395x) [N/m/y/?] n
  Tekram DC390(T) and Am53/79C974 SCSI support (new driver) (SCSI_AM53C974) [N/m/y/?] n
  Workbit NinjaSCSI-32Bi/UDE support (SCSI_NSP32) [N/m/y/?] n
  Western Digital WD7193/7197/7296 support (SCSI_WD719X) [N/m/y/?] n
  SCSI debugging host and device simulator (SCSI_DEBUG) [N/m/y/?] n
  PMC SIERRA Linux MaxRAID adapter support (SCSI_PMCRAID) [N/m/y/?] n
  PMC-Sierra SPC 8001 SAS/SATA Based Host Adapter driver (SCSI_PM8001) [N/m/y/?] n
*
* I2C Hardware Bus support
*
*
* PC SMBus host controller drivers
*
ALI 1535 (I2C_ALI1535) [N/m/y/?] n
ALI 1563 (I2C_ALI1563) [N/m/y/?] n
ALI 15x3 (I2C_ALI15X3) [N/m/y/?] n
AMD 756/766/768/8111 and nVidia nForce (I2C_AMD756) [N/m/y/?] n
AMD 8111 (I2C_AMD8111) [N/m/y/?] n
AMD MP2 PCIe (I2C_AMD_MP2) [N/m/y/?] (NEW) 
Error in reading or end of file.

Intel 82801 (ICH/PCH) (I2C_I801) [M/n/y/?] m
Intel SCH SMBus 1.0 (I2C_ISCH) [N/m/y/?] n
Intel iSMT SMBus Controller (I2C_ISMT) [N/m/y/?] n
Intel PIIX4 and compatible (ATI/AMD/Serverworks/Broadcom/SMSC) (I2C_PIIX4) [M/n/y/?] m
Nvidia nForce2, nForce3 and nForce4 (I2C_NFORCE2) [N/m/y/?] n
NVIDIA GPU I2C controller (I2C_NVIDIA_GPU) [N/m/y/?] n
SiS 5595 (I2C_SIS5595) [N/m/y/?] n
SiS 630/730/964 (I2C_SIS630) [N/m/y/?] n
SiS 96x (I2C_SIS96X) [N/m/y/?] n
VIA VT82C586B (I2C_VIA) [N/m/y/?] n
VIA VT82C596/82C686/82xx and CX700/VX8xx/VX900 (I2C_VIAPRO) [N/m/y/?] n
*
* ACPI drivers
*
SMBus Control Method Interface (I2C_SCMI) [N/m/y/?] n
*
* I2C system bus drivers (mostly embedded / system-on-chip)
*
Synopsys DesignWare Platform (I2C_DESIGNWARE_PLATFORM) [N/m/y/?] n
Synopsys DesignWare PCI (I2C_DESIGNWARE_PCI) [N/m/y/?] n
Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) I2C (I2C_EG20T) [N/m/y/?] n
EMMA Mobile series I2C adapter (I2C_EMEV2) [N/m/y/?] n
OpenCores I2C Controller (I2C_OCORES) [N/m/y/?] n
PCA9564/PCA9665 as platform device (I2C_PCA_PLATFORM) [N/m/y/?] n
Simtec Generic I2C interface (I2C_SIMTEC) [N/m/y/?] n
Xilinx I2C Controller (I2C_XILINX) [N/m/y/?] n
*
* External I2C/SMBus adapter drivers
*
Diolan U2C-12 USB adapter (I2C_DIOLAN_U2C) [N/m/y/?] n
Parallel port adapter (I2C_PARPORT) [N/m/?] n
Parallel port adapter (light) (I2C_PARPORT_LIGHT) [N/m/y/?] n
RobotFuzz Open Source InterFace USB adapter (I2C_ROBOTFUZZ_OSIF) [N/m/y/?] n
TAOS evaluation module (I2C_TAOS_EVM) [N/m/y/?] n
Tiny-USB adapter (I2C_TINY_USB) [M/n/y/?] m
*
* Other I2C/SMBus bus drivers
*
Elektor ISA card (I2C_ELEKTOR) [N/m/y/?] n
PCA9564/PCA9665 on an ISA bus (I2C_PCA_ISA) [N/m/y/?] n
Geode ACCESS.bus support (SCx200_ACB) [N/m/y/?] n
*
* Graphics support
*
VGA Arbitration (VGA_ARB) [N/y/?] n
Laptop Hybrid Graphics - GPU switching support (VGA_SWITCHEROO) [N/y/?] n
Enable DisplayPort CEC-Tunneling-over-AUX HDMI support (DRM_DP_CEC) [N/y/?] n
ATI Radeon (DRM_RADEON) [Y/n/m/?] y
  Always enable userptr support (DRM_RADEON_USERPTR) [N/y/?] n
AMD GPU (DRM_AMDGPU) [Y/n/m/?] y
  Enable amdgpu support for SI parts (DRM_AMDGPU_SI) [Y/n/?] y
  Enable amdgpu support for CIK parts (DRM_AMDGPU_CIK) [Y/n/?] y
  Always enable userptr write support (DRM_AMDGPU_USERPTR) [N/y/?] n
  Allow GART access through debugfs (DRM_AMDGPU_GART_DEBUGFS) [N/y/?] n
Nouveau (NVIDIA) cards (DRM_NOUVEAU) [N/m/y/?] n
Intel 8xx/9xx/G3x/G4x/HD Graphics (DRM_I915) [Y/n/m/?] y
  Enable alpha quality support for new Intel hardware by default (DRM_I915_ALPHA_SUPPORT) [N/y/?] n
  Force probe driver for selected new Intel hardware (DRM_I915_FORCE_PROBE) [] (NEW) 
Error in reading or end of file.

  Enable capturing GPU state following a hang (DRM_I915_CAPTURE_ERROR) [Y/n/?] y
    Compress GPU error state (DRM_I915_COMPRESS_ERROR) [Y/n/?] y
  Always enable userptr support (DRM_I915_USERPTR) [Y/n/?] y
  *
  * drm/i915 Debugging
  *
  Force GCC to throw an error instead of a warning when compiling (DRM_I915_WERROR) [N/y/?] n
  Enable additional driver debugging (DRM_I915_DEBUG) [N/y/?] n
  Always insert extra checks around mmio access by default (DRM_I915_DEBUG_MMIO) [N/y/?] (NEW) 
Error in reading or end of file.

  Enable additional driver debugging for fence objects (DRM_I915_SW_FENCE_DEBUG_OBJECTS) [N/y/?] n
  Enable additional driver debugging for detecting dependency cycles (DRM_I915_SW_FENCE_CHECK_DAG) [N/y/?] n
  Enable additional driver debugging for GuC (DRM_I915_DEBUG_GUC) [N/y/?] n
  Enable selftests upon driver load (DRM_I915_SELFTEST) [N/y/?] n
  Enable low level request tracing events (DRM_I915_LOW_LEVEL_TRACEPOINTS) [N/y/?] n
  Enable extra debug warnings for vblank evasion (DRM_I915_DEBUG_VBLANK_EVADE) [N/y/?] n
  Enable extra state checking for runtime PM (DRM_I915_DEBUG_RUNTIME_PM) [N/y/?] (NEW) 
Error in reading or end of file.

  *
  * drm/i915 Profile Guided Optimisation
  *
  Runtime autosuspend delay for userspace GGTT mmaps (ms) (DRM_I915_USERFAULT_AUTOSUSPEND) [250] (NEW) 
Error in reading or end of file.

  Busywait for request completion (us) (DRM_I915_SPIN_REQUEST) [5] (NEW) 
Error in reading or end of file.
02.11.20203431OtherBug ReportVery LowMediumSDK try to recompile the whole KernelTrunkUnconfirmed Task Description

When i try to compile a external kernelmodule (lq-wave300 from Mandrake-Lee github repo) then it trys to recompile the whole kernel and fail because Kconfig is missed.
I compile by the command:
make V=s package/ltq-wave300-mandrake/compile

on SDK from 19.07.4 and before it compiled succes (the module was never tested yet because i have only a working snapshoot device)
> selfbuikded snapshoot from 18.10:
-it fails by missed Kconfig
-when i copy the kernelsource to buildirectory (via “tar -xf -k ..”) then it will try to recompile the whole kernel
-when i copy the Makefile from old 4.14 Kernel to the current 5.4.72 directory first it works (no compilation of kernelsource) but it hangs on Modpost 2 (no reaaction)
> download snapshoot from 02.11: (fakreroot does not work and must be replaced by Slackware specified)
-it fails by missed Kconfig, but then it recompile libnl-3 again and prepare my package again ??? and fails finaly by missed Kconfig

mv -f $depbase.Tpo $depbase.Po
awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/CmdLine.cpp

awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/CmdLine.h

depbase=`echo ../../../../../tools/shared/linux/../Debug.o | sed ‘s|[^/]*$|.deps/&|;s|\.o$||’`;\
/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/support/mtlkfront.sh /opt/build/owrtsdk/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/bin/mips-*linux-g++ -DHAVE_CONFIG_H -I. -I../../../../../tools/shared/linux -I../../.. -DMTLK_SOURCE_VERSION=”\”3.4.99.0.0.exported.pre_git_version.REL_3.4.99\”” -DLOG_LOCAL_OID=MTLKFRONT_WILL_FILL_IT -include /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/config.h -include /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/.config.h -I../../../../../tools/rtlogger/shared -g -I../../../../../tools/shared/linux/../ -I../../../../../wireless/shared -I../../../../../wireless/shared/linux -I../../../../../tools/shared/3rd_party/iniparser -I../../../../../tools/mttools/shared -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/ -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/netlink/genl/ -Wall -Wno-multichar -fno-strict-aliasing -O2 -fno-common -fno-builtin -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/ -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/netlink/genl/ -MT ../../../../../tools/shared/linux/../Debug.o -MD -MP -MF $depbase.Tpo -c -o ../../../../../tools/shared/linux/../Debug.o ../../../../../tools/shared/linux/../Debug.cpp &&\
mv -f $depbase.Tpo $depbase.Po
awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/Debug.cpp

awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/Debug.h

depbase=`echo ../../../../../tools/shared/linux/../ParamInfo.o | sed ‘s|[^/]*$|.deps/&|;s|\.o$||’`;\
/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/support/mtlkfront.sh /opt/build/owrtsdk/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/bin/mips-*linux-g++ -DHAVE_CONFIG_H -I. -I../../../../../tools/shared/linux -I../../.. -DMTLK_SOURCE_VERSION=”\”3.4.99.0.0.exported.pre_git_version.REL_3.4.99\”” -DLOG_LOCAL_OID=MTLKFRONT_WILL_FILL_IT -include /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/config.h -include /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/.config.h -I../../../../../tools/rtlogger/shared -g -I../../../../../tools/shared/linux/../ -I../../../../../wireless/shared -I../../../../../wireless/shared/linux -I../../../../../tools/shared/3rd_party/iniparser -I../../../../../tools/mttools/shared -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/ -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/netlink/genl/ -Wall -Wno-multichar -fno-strict-aliasing -O2 -fno-common -fno-builtin -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/ -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/netlink/genl/ -MT ../../../../../tools/shared/linux/../ParamInfo.o -MD -MP -MF $depbase.Tpo -c -o ../../../../../tools/shared/linux/../ParamInfo.o ../../../../../tools/shared/linux/../ParamInfo.cpp &&\
mv -f $depbase.Tpo $depbase.Po
awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/ParamInfo.cpp

awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/ParamInfo.h

rm -f libmtlkcpp.a
ar cru libmtlkcpp.a ../../../../../tools/shared/linux/../aux_utils.o ../../../../../tools/shared/linux/../CmdLine.o ../../../../../tools/shared/linux/../Debug.o ../../../../../tools/shared/linux/../ParamInfo.o
/opt/build/owrtsdk/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/bin/mips-openwrt-linux-ranlib libmtlkcpp.a
make[7]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared/linux’ make[7]: Nothing to be done for ‘install-exec-am’.
make[7]: Nothing to be done for ‘install-data-am’.
make[7]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared/linux’ make[6]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared/linux’ make[6]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared’ make[7]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared’ make[7]: Nothing to be done for ‘install-exec-am’.
make[7]: Nothing to be done for ‘install-data-am’.
make[7]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared’ make[6]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared’ make[5]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared’ Making install in wireless/shared
make[5]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/wireless/shared’ make[6]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/wireless/shared’ make[6]: Nothing to be done for ‘install-exec-am’.
make[6]: Nothing to be done for ‘install-data-am’.
make[6]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/wireless/shared’ make[5]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/wireless/shared’ Making install in tools
make[5]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools’ Making install in mttools
make[6]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ make[7]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ make[8]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ make[8]: Nothing to be done for ‘install-exec-am’.
make[8]: Nothing to be done for ‘install-data-am’.
make[8]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ make[7]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ make[6]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ Making install in mtlkroot
make[6]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mtlkroot’ make[7]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/linux-5.4.73’ scripts/kconfig/conf –syncconfig Kconfig
can’t find file Kconfig
make[9]: * [scripts/kconfig/Makefile:73: syncconfig] Error 1
make[8]:
* [Makefile:590: syncconfig] Error 2
make[7]: * [Makefile:696: include/config/auto.conf.cmd] Error 2
make[7]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/linux-5.4.73’ make[6]:
* [Makefile:485: mtlkroot.ko] Error 11
make[6]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mtlkroot’ make[5]: * [Makefile:587: install-recursive] Error 1
make[5]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools’ make[4]:
* [Makefile:518: install-recursive] Error 1
make[4]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288’ make[3]: * [Makefile:21: all] Error 2
make[3]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23’ make[2]:
* [Makefile:160: /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/.built] Error 2
make[2]: Leaving directory ‘/mnt/sda2/prog/openwrt_lantiq2/own-feeds/openwrt-feeds-teleltq/kernel/lantiq/ltq-wave300-mandrake’ time: package/feeds/teleltq/ltq-wave300-mandrake/compile#27.44#22.95#53.36
make[1]: * [package/Makefile:114: package/feeds/teleltq/ltq-wave300-mandrake/compile] Error 2
make[1]: Leaving directory ‘/opt/build/owrtsdk’ make:
* [/opt/build/owrtsdk/include/toplevel.mk:229: package/ltq-wave300-mandrake/compile] Error 2
ERROR: make V=s package/ltq-wave300-mandrake/compile

03.03.2017591OtherFeature RequestVery LowLowInclude branch info in subject from 'lede-commits'AllUnconfirmed Task Description

Please include the branch being committed to as part of the subject. As it currently stands emails are received:

[source] ubox: update to the latest version
[source] bcm53xx: include Broadcom PHY driver in the kernel

However there’s no clue in the subject that the ubox commit is for ‘master’ (and of interest to me) whilst the ‘bcm53xx’ is a commit to ‘17.01’ (and of much less interest to me)

It’s driving me (even more) insane :-)

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

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

Here is the verbose log output:

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

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


21.12.20171237OtherBug ReportVery LowLowsnmpd does not report connected clients correctlyTrunkUnconfirmed Task Description

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

 

The commonly used OID 1.3.6.1.2.1.4.22.1.2 does not report a complete list of clients.

Using snmpd 5.7.3-3 on LEDE 17.01.04, ssh in and display a list of connected clients with iwinfo wlan0 assoclist. To query via SNMP from another machine, use snmpwalk -v2c 172.24.32.15 1.3.6.1.2.1.4.22.1.2

mini-snmpd and mini_snmpd both seem to be unavailable as alternatives.

07.04.20181473OtherBug ReportVery LowLowUSB connects then disconnects later in bootTrunkWaiting on reporter Task Description

The Device that this problem occurs on is Netgear WNDR3700v3. I’m using 17.01.04 release of openwrt.
Long story made short, the issue is that USB connects, then later in startup of the router it disconnects and when fully booted it can’t be seen using ‘fdisk -l’ nor can it be mounted (/dev/sda1)...

Installed packages are the ones included in the build + usb-core and its dependencies.

To reproduce this issue:

1.Do standard setup the router ( setup wan, setup lan, switch wifi on).
2.Install packages required for usb functionality.
3.Insert usb and reboot.

You will see during boot that usb light flashes few times and then after boot stops flashing/working. That can be confirmed by dmesg.

[    0.000000] Linux version 4.4.92 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3104-41de9a2) ) #0 Tue Oct 17 17:46:20 2017
[    0.000000] CPU0 revision is: 00019740 (MIPS 74Kc)
[    0.000000] bcm47xx: Using bcma bus
[    0.000000] bcma: bus0: Found chip with id 0x4716, rev 0x01 and package 0x0A
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8034e4c0, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 60940K/65536K available (2979K kernel code, 134K rwdata, 368K rodata, 156K init, 294K bss, 4596K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:128
[    0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x1F, class 0x0)
[    0.000000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x11, class 0x0)
[    0.000000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x00, class 0x0)
[    0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0x01, class 0x0)
[    0.000000] bcma: bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id 0x819, rev 0x04, class 0x0) 
[    0.000000] bcma: bus0: Core 5 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0E, class 0x0)
[    0.000000] bcma: bus0: Core 6 found: DDR1/DDR2 Memory Controller (manuf 0x4BF, id 0x82E, rev 0x01, class 0x0)
[    0.000000] bcma: bus0: Core 7 found: Internal Memory (manuf 0x4BF, id 0x80E, rev 0x07, class 0x0)
[    0.000000] bcma: bus0: Core 8 found: I2S (manuf 0x4BF, id 0x834, rev 0x00, class 0x0)
[    0.000000] bcma: bus0: Found rev 5 PMU (capabilities 0x11242C05)
[    0.000000] bcma: bus0: Found serial flash
[    0.000000] bcma: bus0: Found M25P64 serial flash (size: 8192KiB, blocksize: 0x10000, blocks: 128)
[    0.000000] bcma: bus0: Early bus registered
[    0.000000] MIPS: machine is Unknown Board
[    0.000000] bcm47xx: Setting up vectored interrupts
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7963585194 ns
[    0.000015] sched_clock: 32 bits at 240MHz, resolution 4ns, wraps every 8947848189ns
[    0.000083] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
[    0.070033] pid_max: default: 32768 minimum: 301
[    0.070283] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070311] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.074095] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.074144] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.075341] NET: Registered protocol family 16
[    0.076346] Can't analyze schedule() prologue at 800077c8
[    0.095859] clocksource: Switched to clocksource MIPS
[    0.097957] NET: Registered protocol family 2
[    0.099548] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.099608] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.099647] TCP: Hash tables configured (established 1024 bind 1024)
[    0.099818] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.099865] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.100398] NET: Registered protocol family 1
[    0.100494] PCI: CLS 0 bytes, default 32
[    0.515000] bcma: bus0: Using SPROM revision 8 provided by platform.
[    0.515042] bcma: bus0: PMU resource config unknown or not needed for device 0x4716
[    0.517109] bcma: bus0: Workarounds unknown or not needed for device 0x4716
[    0.517134] bcma: bus0: Initializing MIPS core...
[    0.517163] bcma: bus0: set_irq: core 0x0812, irq 3 => 3
[    0.517186] bcma: bus0: set_irq: core 0x082d, irq 4 => 4
[    0.517207] bcma: bus0: set_irq: core 0x0819, irq 5 => 5
[    0.517229] bcma: bus0: set_irq: core 0x0820, irq 6 => 6
[    0.517249] bcma: bus0: set_irq: core 0x0800, irq 2 => 2
[    0.517269] bcma: bus0: set_irq: core 0x0834, irq 2 => 2
[    0.517284] bcma: bus0: IRQ reconfiguration done
[    0.517300] bcma: core 0x0800, irq : 2(S)* 3  4  5  6  D  I
[    0.517350] bcma: core 0x0812, irq : 2(S)  3* 4  5  6  D  I
[    0.517392] bcma: core 0x082d, irq : 2(S)  3  4* 5  6  D  I
[    0.517433] bcma: core 0x082c, irq : 2(S)  3  4  5  6  D  I*
[    0.517475] bcma: core 0x0819, irq : 2(S)  3  4  5* 6  D  I
[    0.517517] bcma: core 0x0820, irq : 2(S)  3  4  5  6* D  I
[    0.517558] bcma: core 0x082e, irq : 2(S)  3  4  5  6  D* I
[    0.517599] bcma: core 0x080e, irq : 2(S)  3  4  5  6  D  I*
[    0.517639] bcma: core 0x0834, irq : 2(S)* 3  4  5  6  D  I
[    0.517683] bcma: bus0: PCIEcore in host mode found
[    0.701176] PCI host bridge to bus 0000:00
[    0.701231] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0bffffff]
[    0.701260] pci_bus 0000:00: root bus resource [io  0x0100-0x07ff]
[    0.701289] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.701318] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.701400] pci 0000:00:00.0: [14e4:4716] type 00 class 0x060000
[    0.701443] bcma: PCI: Fixing up bridge 0000:00:00.0
[    0.701464] bcma: PCI: Fixing up device 0000:00:00.0
[    0.701528] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    0.701568] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x07ffffff 64bit]
[    0.701674] pci 0000:00:00.0: supports D1 D2
[    0.702056] pci 0000:00:00.1: [14e4:0000] type 00 class 0x060000
[    0.702103] bcma: PCI: Fixing up bridge 0000:00:00.1
[    0.702124] bcma: PCI: Fixing up device 0000:00:00.1
[    0.702187] pci 0000:00:00.1: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    0.702227] pci 0000:00:00.1: reg 0x18: [mem 0x00000000-0x07ffffff 64bit]
[    0.702325] pci 0000:00:00.1: supports D1 D2
[    0.702763] pci 0000:00:01.0: [14e4:4331] type 00 class 0x028000
[    0.702894] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    0.702991] bcma: PCI: Fixing up addresses 0000:00:01.0
[    0.703037] pci 0000:00:01.0: BAR 0: assigned [mem 0x08000000-0x08003fff 64bit]
[    0.703200] pci 0000:00:01.0: supports D1 D2
[    0.703605] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.705142] bcma: bus0: Bus registered
[    0.706323] Crashlog allocated RAM at address 0x3f00000
[    0.737420] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.737451] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.742243] io scheduler noop registered
[    0.742278] io scheduler deadline registered (default)
[    0.742710] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.747752] console [ttyS0] disabled
[    0.767993] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2, base_baud = 1250000) is a U6_16550A
[    1.271345] console [ttyS0] enabled
[    1.383454] 7 bcm47xxpart partitions found on MTD device bcm47xxsflash
[    1.390163] Creating 7 MTD partitions on "bcm47xxsflash":
[    1.395669] 0x000000000000-0x000000040000 : "boot"
[    1.404675] 0x000000040000-0x0000007e0000 : "firmware"
[    1.412942] 0x0000007e0000-0x0000007f0000 : "board_data"
[    1.421384] 0x0000007f0000-0x000000800000 : "nvram"
[    1.429424] 0x00000004001c-0x00000004091c : "loader"
[    1.437592] 0x00000004091c-0x000000166000 : "linux"
[    1.445531] 0x000000166000-0x0000007e0000 : "rootfs"
[    1.453634] mtd: device 6 (rootfs) set to be root filesystem
[    1.459556] 1 squashfs-split partitions found on MTD device rootfs
[    1.465900] 0x0000003a0000-0x0000007e0000 : "rootfs_data"
[    1.477763] libphy: Fixed MDIO Bus: probed
[    1.482172] bgmac_bcma bcma0:2: Found PHY addr: 30 (NOREGS)
[    1.491131] libphy: bcma_mdio mii bus: probed
[    1.495592] bgmac_bcma bcma0:2: Support for Roboswitch not implemented
[    1.656300] b53_common: found switch: BCM53115, rev 8
[    1.662752] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
[    1.669147] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds)
[    1.677188] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[    1.682952] bcma: PCI: Fixing up device 0000:00:01.0
[    1.688087] bcma: change PCIe max read request size from 512 to 128
[    1.694521] bcma: bus1: Found chip with id 0x4331, rev 0x02 and package 0x08
[    1.701786] bcma: bus1: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x25, class 0x0)
[    1.710541] bcma: bus1: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x1D, class 0x0)
[    1.719387] bcma: bus1: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x13, class 0x0)
[    1.727658] bcma: bus1: Found rev 10 PMU (capabilities 0x108C260A)
[    1.727690] bcma: bus1: SPROM offset 0x800
[    1.851848] bcma: bus1: Invalid SPROM read from the PCIe card, trying to use fallback SPROM
[    2.046785] bcma: bus1: Using SPROM revision 9 provided by platform.
[    2.046829] bcma: bus1: PMU resource config unknown or not needed for device 0x4331
[    2.057502] bcma: bus1: Bus registered
[    2.063308] NET: Registered protocol family 10
[    2.072711] NET: Registered protocol family 17
[    2.077480] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.090356] 8021q: 802.1Q VLAN Support v1.8
[    2.104187] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[    2.112500] Freeing unused kernel memory: 156K
[    3.754063] init: Console is alive
[    3.758057] init: - watchdog -
[    4.878998] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.017988] usbcore: registered new interface driver usbfs
[    5.023754] usbcore: registered new interface driver hub
[    5.029472] usbcore: registered new device driver usb
[    5.042546] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.051645] ehci-platform: EHCI generic platform driver
[    5.057233] ehci-platform ehci-platform.0: EHCI Host Controller
[    5.063363] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    5.071819] ehci-platform ehci-platform.0: irq 5, io mem 0x18004000
[    5.095922] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    5.104198] hub 1-0:1.0: USB hub found
[    5.108771] hub 1-0:1.0: 2 ports detected
[    5.117596] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.126043] ohci-platform: OHCI generic platform driver
[    5.131512] ohci-platform ohci-platform.0: Generic Platform OHCI controller
[    5.138753] ohci-platform ohci-platform.0: new USB bus registered, assigned bus number 2
[    5.147160] ohci-platform ohci-platform.0: irq 5, io mem 0x18009000
[    5.211640] hub 2-0:1.0: USB hub found
[    5.216336] hub 2-0:1.0: 2 ports detected
[    5.224214] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.242340] init: - preinit -
[    5.608070] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    5.864264] random: procd: uninitialized urandom read (4 bytes read, 10 bits of entropy available)
[    5.889247] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.865937] bgmac_bcma bcma0:2 eth0: Link is Up - 1Gbps/Full - flow control off
[    7.873468] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   10.273926] jffs2: notice: (342) 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.303649] mount_root: loading kmods from internal overlay
[   10.724352] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   11.373272] SCSI subsystem initialized
[   11.419230] uhci_hcd: USB Universal Host Controller Interface driver
[   11.454632] usb-storage 1-1:1.0: USB Mass Storage device detected
[   11.462745] scsi host0: usb-storage 1-1:1.0
[   11.468012] usbcore: registered new interface driver usb-storage
[   11.475786] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   11.882238] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   11.892225] block: extroot: not configured
[   11.897883] mount_root: switching to jffs2 overlay
[   11.912369] urandom-seed: Seeding with /etc/urandom.seed
[   12.092045] procd: - early -
[   12.095211] procd: - watchdog -
[   12.831439] scsi 0:0:0:0: Direct-Access     FLASH    Drive SM_USB20   3000 PQ: 0 ANSI: 0 CCS
[   12.845660] sd 0:0:0:0: [sda] 3932160 512-byte logical blocks: (2.01 GB/1.88 GiB)
[   12.866047] sd 0:0:0:0: [sda] Write Protect is off
[   12.871009] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[   12.872568] sd 0:0:0:0: [sda] No Caching mode page found
[   12.878114] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   12.900092]  sda: sda1 sda2
[   12.912389] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   13.408590] procd: - watchdog -
[   13.413238] procd: - ubus -
[   13.575271] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.589064] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.599754] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.609582] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.621827] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.631285] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.641747] random: ubusd: uninitialized urandom read (4 bytes read, 51 bits of entropy available)
[   13.652513] random: ubusd: uninitialized urandom read (4 bytes read, 51 bits of entropy available)
[   13.664938] procd: - init -
[   14.978977] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.994949] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.021509] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[   15.029742] Backport generated by backports.git backports-20160324-13-g24da7d3c
[   15.042765] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.063214] nf_conntrack version 0.5.0 (954 buckets, 3816 max)
[   15.125836] xt_time: kernel timezone is -0000
[   15.219516] PPP generic driver version 2.4.2
[   15.229060] NET: Registered protocol family 24
[   15.251342] b43-phy0: Broadcom 4716 WLAN found (core revision 17)
[   15.258525] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 5
[   15.264740] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2056, Revision 7, Version 0
[   15.273031] b43-phy1: Broadcom 4331 WLAN found (core revision 29)
[   15.279362] bcma: bus1: Switched to core: 0x812
[   15.286208] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.306006] b43-phy1: Found PHY: Analog 9, Type 7 (HT), Revision 1
[   15.312319] b43-phy1: Found Radio: Manuf 0x17F, ID 0x2059, Revision 0, Version 1
[   15.319890] b43-phy1 warning: 5 GHz band is unsupported on this PHY
[   15.340847] Broadcom 43xx driver loaded [ Features: NL ]
[   15.350173] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   15.476055] kmodloader: done loading kernel modules from /etc/modules.d/*
[   17.239669] random: jshn: uninitialized urandom read (4 bytes read, 81 bits of entropy available)
[   27.045316] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   27.094907] device eth0.1 entered promiscuous mode
[   27.099903] device eth0 entered promiscuous mode
[   27.140638] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   27.388545] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[   28.346008] bgmac_bcma bcma0:2 eth0: Link is Up - 1Gbps/Full - flow control off
[   28.353541] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   28.530202] br-lan: port 1(eth0.1) entered forwarding state
[   28.536077] br-lan: port 1(eth0.1) entered forwarding state
[   28.541946] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[   28.616063] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   30.535925] br-lan: port 1(eth0.1) entered forwarding state
[   32.126060] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[   32.134511] usb 1-1: USB disconnect, device number 2
[   32.437880] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   32.478559] device wlan0 entered promiscuous mode
[   32.546447] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   32.553223] br-lan: port 2(wlan0) entered forwarding state
[   32.559023] br-lan: port 2(wlan0) entered forwarding state
[   34.555927] br-lan: port 2(wlan0) entered forwarding state
[   37.215918] random: nonblocking pool is initialized
14.06.20192320OtherBug ReportVery LowLowu-Boot OpenWrt 18.06.2 on sama5d31 Unimplemented compre...TrunkUnconfirmed Task Description

Hi,
after building 18.06.2 OpenWrt version and his nand flash u-boot (U-Boot 2017.03-linux4sam_5.8 (Jan 30 2019 - 12:21:02 +0000)) when u-boot try to uncompress lzma kernel image the following error is reached

 

Uncompressing Kernel Image ... Unimplemented compression type 3

the log:

AT91Bootstrap 3.8.10 (Tue Jun 11 17:58:40 UTC 2019)

NAND: ONFI flash detected
NAND: Manufacturer ID: 0x2c Chip ID: 0xda
NAND: Page Bytes: 2048, Spare Bytes: 64
NAND: ECC Correctability Bits: 4, ECC Sector Bytes: 512
NAND: Disable On-Die ECC
NAND: Initialize PMECC params, cap: 4, sector: 512
NAND: Image: Copy 0xa0000 bytes from 0×40000 to 0x26f00000
NAND: Done to load image
<debug_uart>

U-Boot 2017.03-linux4sam_5.8 (Jan 30 2019 - 12:21:02 +0000)

CPU: SAMA5D31
Crystal frequency: 12 MHz CPU clock : 528 MHz Master clock : 132 MHz DRAM: 256 MiB
NAND: 256 MiB
MMC: Atmel mci: 0, Atmel mci: 1
In: serial@ffffee00
Out: serial@ffffee00
Err: serial@ffffee00
Net:
Error: ethernet@f0028000 address not set.
No ethernet found.
Hit any key to stop autoboot: 0

NAND read: device 0 offset 0×180000, size 0×80000 524288 bytes read: OK

NAND read: device 0 offset 0×200000, size 0×600000 6291456 bytes read: OK
## Booting kernel from Legacy Image at 22000000 ...

 Image Name:   ARM OpenWrt Linux-4.9.152
 Image Type:   ARM Linux Kernel Image (lzma compressed)
 Data Size:    3016433 Bytes = 2.9 MiB
 Load Address: 20008000
 Entry Point:  20008000
 Verifying Checksum ... OK

## Flattened Device Tree blob at 21000000

 Booting using the fdt blob at 0x21000000
 Uncompressing Kernel Image ... Unimplemented compression type 3

Checking into u-boot (make menuconfig) seems that lzma cannot be set , only LZ4 is provided.

Also the option to change compression type of the kernel do not work. I try to switch from default (gzip) to LZ4 but kernel uimage is always lzma compressed.

Could you provide some hint to unlock the situation ?

Another strange things is :

Error: ethernet@f0028000 address not set.
No ethernet found.

f0028000 is memory address of GMAC that is not provided in sama5d31 SoC but the curious is the next No ethernet found.

Does it mean that nor EMAC was found ?

Thanks in advance
Best
Fabio


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

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

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

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

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

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

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

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

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

02.11.20171139KernelBug ReportVery LowCriticalKernel crashTrunkUnconfirmed Task Description

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

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

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

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

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

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

 


01.02.20181320KernelBug ReportVery LowCriticalcritical crash and restartTrunkUnconfirmed Task Description

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

I’m using last dev build .

Linksys WRT1900ACS

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

Kernel 4.9.77

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

Latest LEDE on Gateworks Newport GW6300 (octeontx) with Compex WLE900VX ath10k radio. Using 4.14.13 mainline OpenWrt kernel

The syslog is getting spammed with “headroom too small” errors when a monitor wireless interface exists and a station gets connected:

Thu Jan  1 00:52:00 1970 kern.err kernel: [  157.740108] ieee80211_tx_status: headroom too small
Thu Jan  1 00:52:01 1970 kern.err kernel: [  158.764099] ieee80211_tx_status: headroom too small
Thu Jan  1 00:52:02 1970 kern.err kernel: [  159.788129] ieee80211_tx_status: headroom too small

These errors are shown using ath10k and ath10k-ct driver versions (currently using ath10k-ct)

Steps to reproduce:

  1. Create a new monitor wireless interface
    iw phy phy0 interface add mon0 type monitor
    ip l set dev mon0 up
  2. Connect a client to the access point configured radio

Full logread info attached separately

14.11.20181950KernelBug ReportVery LowCriticalXWAY / BT Home Hub 2B - Wifi Random Disconnects Repeate...AllUnconfirmed Task Description

Very annoying wifi disconnects when connected to WDS-Repeater.
The AP works no disconnects but when connected to repeater random disconnects repeatedly.
Affected firmware release both LEDE 17.X.X and Openwrt 18.X.X

Note: Checked, WDS works fine on Previous Openwrt Releases(BarrierBreaker, ChaosCalmer) on same settings
https://openwrt.org/docs/guide-user/network/wifi/atheroswds

Attaching AP and Repeater Logs:

AP Config:

config wifi-device 'radio0'
	option type 'mac80211'
	option channel '5'
	option hwmode '11ng'
	option path 'pci0000:00/0000:00:0e.0'
	option htmode 'HT20'
	option country 'US'
	option txpower '22'
	option log_level '1'
	option macaddr 'be:b5:1b:b5:70:47'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'MyAP'
	option wds '1'
	option encryption 'psk2+ccmp'
	option key 'password'
	option wmm '1'

Repeater WDS 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 'fdd4:7f11:dd9a::/48'

config interface 'lan'
	option type 'bridge'
	option proto 'dhcp'
	option ifname 'eth1'

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

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

Wireless WDS:

config wifi-device 'radio0'
	option type 'mac80211'
	option channel '5'
	option hwmode '11g'
	option path 'platform/ar934x_wmac'
	option htmode 'HT20'
	option country 'US'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'sta'
	option wds '1'
	option ssid 'MyAP'
	option bssid 'be:b5:1b:b5:70:47'
	option encryption 'psk2+ccmp'
	option key 'password'

config wifi-iface
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'MyAP'
	option encryption 'psk2+ccmp'
	option key 'password'
	option wmm '1'

Repeater WDS Log:

Wed Nov 14 12:26:05 2018 daemon.notice netifd: Network device 'wlan0' link is down
Wed Nov 14 12:26:05 2018 kern.info kernel: [ 5805.077610] br-lan: port 3(wlan0) entered disabled state
Wed Nov 14 12:26:05 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:05 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:05 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:05 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:05 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:05 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:05 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:05 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:06 2018 daemon.notice netifd: Network device 'wlan0-1' link is down
Wed Nov 14 12:26:06 2018 kern.info kernel: [ 5806.068825] br-lan: port 2(wlan0-1) entered disabled state
Wed Nov 14 12:26:07 2018 daemon.notice netifd: bridge 'br-lan' link is down
Wed Nov 14 12:26:07 2018 daemon.notice netifd: Interface 'lan' has link connectivity loss
Wed Nov 14 12:26:07 2018 daemon.notice netifd: lan (1163): udhcpc: received SIGTERM
Wed Nov 14 12:26:07 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:09 2018 kern.info kernel: [ 5809.220211] wlan0: authenticate with be:b5:1b:b5:70:47
Wed Nov 14 12:26:09 2018 kern.info kernel: [ 5809.243173] wlan0: send auth to be:b5:1b:b5:70:47 (try 1/3)
Wed Nov 14 12:26:09 2018 kern.info kernel: [ 5809.257141] wlan0: authenticated
Wed Nov 14 12:26:09 2018 kern.info kernel: [ 5809.268771] wlan0: associate with be:b5:1b:b5:70:47 (try 1/3)
Wed Nov 14 12:26:09 2018 daemon.notice netifd: Network device 'wlan0' link is up
Wed Nov 14 12:26:09 2018 kern.info kernel: [ 5809.282394] wlan0: RX AssocResp from be:b5:1b:b5:70:47 (capab=0x431 status=0 aid=5)
Wed Nov 14 12:26:09 2018 kern.info kernel: [ 5809.290756] wlan0: associated
Wed Nov 14 12:26:09 2018 kern.info kernel: [ 5809.309766] br-lan: port 3(wlan0) entered forwarding state
Wed Nov 14 12:26:09 2018 kern.info kernel: [ 5809.315545] br-lan: port 3(wlan0) entered forwarding state
Wed Nov 14 12:26:09 2018 daemon.notice netifd: bridge 'br-lan' link is up
Wed Nov 14 12:26:09 2018 daemon.notice netifd: Interface 'lan' has link connectivity 
Wed Nov 14 12:26:09 2018 daemon.notice netifd: Interface 'lan' is setting up now
Wed Nov 14 12:26:09 2018 daemon.notice hostapd: wlan0-1: AP-STA-DISCONNECTED 00:00:00:00:00:14
Wed Nov 14 12:26:09 2018 daemon.notice netifd: lan (1293): udhcpc: started, v1.25.1
Wed Nov 14 12:26:09 2018 daemon.notice netifd: lan (1293): udhcpc: sending discover
Wed Nov 14 12:26:09 2018 daemon.notice netifd: lan (1293): udhcpc: sending select for 192.168.1.117
Wed Nov 14 12:26:09 2018 daemon.notice netifd: lan (1293): udhcpc: lease of 192.168.1.117 obtained, lease time 43200
Wed Nov 14 12:26:09 2018 daemon.notice netifd: Interface 'lan' is now up
Wed Nov 14 12:26:10 2018 kern.info kernel: [ 5810.201396] br-lan: port 2(wlan0-1) entered forwarding state
Wed Nov 14 12:26:10 2018 kern.info kernel: [ 5810.207348] br-lan: port 2(wlan0-1) entered forwarding state
Wed Nov 14 12:26:10 2018 daemon.notice netifd: Network device 'wlan0-1' link is up
Wed Nov 14 12:26:11 2018 kern.info kernel: [ 5811.308642] br-lan: port 3(wlan0) entered forwarding state
Wed Nov 14 12:26:12 2018 kern.info kernel: [ 5812.198553] br-lan: port 2(wlan0-1) entered forwarding state
Wed Nov 14 12:26:16 2018 daemon.info hostapd: wlan0-1: STA 00:00:00:00:00:14 IEEE 802.11: authenticated
Wed Nov 14 12:26:16 2018 daemon.info hostapd: wlan0-1: STA 00:00:00:00:00:14 IEEE 802.11: associated (aid 1)
Wed Nov 14 12:26:16 2018 daemon.notice hostapd: wlan0-1: AP-STA-CONNECTED 00:00:00:00:00:14
Wed Nov 14 12:26:16 2018 daemon.info hostapd: wlan0-1: STA 00:00:00:00:00:14 WPA: pairwise key handshake completed (RSN)
Wed Nov 14 12:26:25 2018 daemon.notice netifd: Network device 'wlan0' link is down
Wed Nov 14 12:26:25 2018 kern.info kernel: [ 5825.168505] br-lan: port 3(wlan0) entered disabled state
Wed Nov 14 12:26:25 2018 kern.info kernel: [ 5825.949685] wlan0: authenticate with be:b5:1b:b5:70:47
Wed Nov 14 12:26:25 2018 kern.info kernel: [ 5825.972671] wlan0: send auth to be:b5:1b:b5:70:47 (try 1/3)
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 daemon.notice netifd: Network device 'wlan0-1' link is down
Wed Nov 14 12:26:26 2018 kern.info kernel: [ 5826.168126] br-lan: port 2(wlan0-1) entered disabled state
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 kern.info kernel: [ 5826.788061] wlan0: send auth to be:b5:1b:b5:70:47 (try 2/3)
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:26:26 2018 kern.info kernel: [ 5826.988066] wlan0: send auth to be:b5:1b:b5:70:47 (try 3/3)
Wed Nov 14 12:26:27 2018 kern.info kernel: [ 5827.008409] wlan0: authenticated
Wed Nov 14 12:26:27 2018 kern.info kernel: [ 5827.018301] wlan0: associate with be:b5:1b:b5:70:47 (try 1/3)
Wed Nov 14 12:26:27 2018 kern.info kernel: [ 5827.085692] wlan0: RX AssocResp from be:b5:1b:b5:70:47 (capab=0x431 status=0 aid=5)
Wed Nov 14 12:26:27 2018 kern.info kernel: [ 5827.094030] wlan0: associated
Wed Nov 14 12:26:27 2018 daemon.notice netifd: Network device 'wlan0' link is up
Wed Nov 14 12:26:27 2018 kern.info kernel: [ 5827.156807] br-lan: port 3(wlan0) entered forwarding state
Wed Nov 14 12:26:27 2018 kern.info kernel: [ 5827.162628] br-lan: port 3(wlan0) entered forwarding state
Wed Nov 14 12:26:27 2018 daemon.notice hostapd: wlan0-1: AP-STA-DISCONNECTED 00:00:00:00:00:14
Wed Nov 14 12:26:27 2018 kern.info kernel: [ 5827.606090] br-lan: port 2(wlan0-1) entered forwarding state
Wed Nov 14 12:26:27 2018 kern.info kernel: [ 5827.612066] br-lan: port 2(wlan0-1) entered forwarding state
Wed Nov 14 12:26:27 2018 daemon.notice netifd: Network device 'wlan0-1' link is up
Wed Nov 14 12:26:29 2018 kern.info kernel: [ 5829.157978] br-lan: port 3(wlan0) entered forwarding state
Wed Nov 14 12:26:29 2018 kern.info kernel: [ 5829.607947] br-lan: port 2(wlan0-1) entered forwarding state
Wed Nov 14 12:27:02 2018 daemon.notice netifd: Network device 'wlan0' link is down
Wed Nov 14 12:27:02 2018 kern.info kernel: [ 5862.141503] br-lan: port 3(wlan0) entered disabled state
Wed Nov 14 12:27:02 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:27:02 2018 daemon.notice hostapd: handle_probe_req: send failed
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.517323] ------------[ cut here ]------------
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.522138] WARNING: CPU: 0 PID: 980 at compat-wireless-2017-01-31/net/mac80211/ieee80211_i.h:1011 0x80d84e80 [mac80211@80d80000+0x607a0]()
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.535171] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_coWed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.600905] CPU: 0 PID: 980 Comm: hostapd Not tainted 4.4.153 #0
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.607127] Stack : 803938d8 00000000 00000001 803f0000 00000000 00000000 00000000 00000000
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.607127] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.607127] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.607127] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.607127] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.607127] 	  ...
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.644169] Call Trace:[<80071c44>] 0x80071c44
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.648814] [<80071c44>] 0x80071c44
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.652426] [<80081ac8>] 0x80081ac8
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.656035] [<80d84e80>] 0x80d84e80 [mac80211@80d80000+0x607a0]
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.662174] [<80081b80>] 0x80081b80
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.665784] [<80118460>] 0x80118460
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.669414] [<80d84e80>] 0x80d84e80 [mac80211@80d80000+0x607a0]
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.675533] [<80118460>] 0x80118460
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.679174] [<80d9f1cc>] 0x80d9f1cc [mac80211@80d80000+0x607a0]
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.685292] [<80118460>] 0x80118460
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.688933] [<80cda8bc>] 0x80cda8bc [cfg80211@80cc0000+0x36ba0]
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.695047] [<80118460>] 0x80118460
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.698680] [<802a6384>] 0x802a6384
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.702289] [<802a4b94>] 0x802a4b94
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.705911] [<802a60f0>] 0x802a60f0
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.709534] [<802a54d0>] 0x802a54d0
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.713145] [<80400000>] 0x80400000
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.716753] [<802a60d8>] 0x802a60d8
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.720376] [<80268dd0>] 0x80268dd0
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.723986] [<802a4d34>] 0x802a4d34
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.727610] [<802682d4>] 0x802682d4
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.731228] [<802a52ac>] 0x802a52ac
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.734829] [<801bd428>] 0x801bd428
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.738447] [<8026cb54>] 0x8026cb54
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.742065] [<8025e448>] 0x8025e448
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.745677] [<8025f860>] 0x8025f860
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.749308] [<8025e448>] 0x8025e448
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.752914] [<802604a4>] 0x802604a4
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.756538] [<80260790>] 0x80260790
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.760162] [<800b2f2c>] 0x800b2f2c
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.763782] [<80062c6c>] 0x80062c6c
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.767401] 
Wed Nov 14 12:27:03 2018 kern.warn kernel: [ 5862.768949] ---[ end trace 3926c6523a1013c9 ]---
10.02.20192115KernelBug ReportVery LowCriticalkernel panic with Hardware flow offloading on ubnt-x (M...TrunkUnconfirmed Task Description

hardware ubnt-x (edgerouter-x)
openwrt: OpenWrt SNAPSHOT, r9293-e3311cb

I turn on hardware offload and system went south (hangup). Automatic hard
reset (by kernel itself or because of watchcat)
But syslogd logs to other machine and
this is what I found in logs:

Feb 10 21:04:59 thorgal kernel: [ 6300.830740]  (t=6003 jiffies g=60795 c=60794 q=1375)
Feb 10 21:04:59 thorgal kernel: [ 6300.860492] (detected by 1, t=6006 jiffies, g=60795, c=60794, q=1375)
Feb 10 21:04:59 thorgal kernel: [ 6300.863610] rcu_sched       I
Feb 10 21:04:59 thorgal kernel: [ 6300.884363] Sending NMI from CPU 1 to CPUs 3:
Feb 10 21:04:59 thorgal kernel: [ 6300.897157]     0     8      2 0x00100000
Feb 10 21:04:59 thorgal kernel: [ 6300.919637] Stack : 805b0000 8fc42bc0 8fc5fe30 8fc5fe30 81222380 8fc5fe30 805b0000 81222380
Feb 10 21:04:59 thorgal kernel: [ 6300.936268]         00000003 80086ddc 000912c6 81222380 81222380 8fc5fe30 805b0000 81222380
Feb 10 21:04:59 thorgal kernel: [ 6300.952899]         00000003 805ae1b8 805b6550 80491eec 00000001 8fc5fe30 805b0000 000912c6
Feb 10 21:04:59 thorgal kernel: [ 6300.969530]         81222380 80494e14 00000003 80082e28 805b0000 00000000 8fc5febc 00000001
Feb 10 21:04:59 thorgal kernel: [ 6300.986160]         00000000 812223f4 000912c6 8008732c 8fc42bc0 01c00001 00000001 805b6440
Feb 10 21:04:59 thorgal kernel: [ 6301.002793]         ...
Feb 10 21:04:59 thorgal kernel: [ 6301.007654] Call Trace:
Feb 10 21:04:59 thorgal kernel: [ 6301.012531] [<80491dcc>] __schedule+0x7ac/0x860
Feb 10 21:04:59 thorgal kernel: [ 6301.021543] [<80491eec>] schedule+0x6c/0x84
Feb 10 21:04:59 thorgal kernel: [ 6301.029863] [<80494e14>] schedule_timeout+0x17c/0x1b8
Feb 10 21:04:59 thorgal kernel: [ 6301.039912] [<80083444>] rcu_gp_kthread+0x560/0x950
Feb 10 21:04:59 thorgal kernel: [ 6301.049626] [<8004c1b8>] kthread+0x130/0x144
Feb 10 21:04:59 thorgal kernel: [ 6301.058120] [<8000b0d8>] ret_from_kernel_thread+0x14/0x1c
Feb 10 21:04:59 thorgal kernel: [ 6304.380977] NMI backtrace for cpu 3
Feb 10 21:04:59 thorgal kernel: [ 6304.387914] CPU: 3 PID: 2514 Comm: kworker/3:1 Not tainted 4.14.98 #0
Feb 10 21:04:59 thorgal kernel: [ 6304.400742] Workqueue: events rht_deferred_worker
Feb 10 21:04:59 thorgal kernel: [ 6304.410088] Stack : 8053ac44 8fc15d24 805b0000 8e9f3280 8053acd8 00000003 805b6440 805ae0ac
Feb 10 21:04:59 thorgal kernel: [ 6304.426716]         000000e0 800705fc 8ff0af3c 805b0947 805b0000 00000001 8fc15ce8 53261683
Feb 10 21:04:59 thorgal kernel: [ 6304.443343]         00000000 00000000 00000000 00003c40 00000000 000000dd 00000008 00000000
Feb 10 21:04:59 thorgal kernel: [ 6304.459969]         00000000 805b0000 00061d66 00000000 00000000 00000000 805d0000 00000003
Feb 10 21:04:59 thorgal kernel: [ 6304.476595]         805b6440 805ae0ac 000000e0 805b0000 00000000 802a4378 0000000c 8061000c
Feb 10 21:04:59 thorgal kernel: [ 6304.493222]         ...
Feb 10 21:04:59 thorgal kernel: [ 6304.498076] Call Trace:
Feb 10 21:04:59 thorgal kernel: [ 6304.502943] [<800106c0>] show_stack+0x58/0x100
Feb 10 21:04:59 thorgal kernel: [ 6304.511777] [<80478bfc>] dump_stack+0x9c/0xe0
Feb 10 21:04:59 thorgal kernel: [ 6304.520447] [<8047fa94>] nmi_cpu_backtrace+0xe4/0x108
Feb 10 21:04:59 thorgal kernel: [ 6304.530488] [<8047fb80>] nmi_trigger_cpumask_backtrace+0xc8/0x168
Feb 10 21:04:59 thorgal kernel: [ 6304.542606] [<80084dd8>] rcu_dump_cpu_stacks+0xc4/0x13c
Feb 10 21:04:59 thorgal kernel: [ 6304.552993] [<80084228>] rcu_check_callbacks+0x3b4/0x8b8
Feb 10 21:04:59 thorgal kernel: [ 6304.563560] [<800877a8>] update_process_times+0x34/0x7c
Feb 10 21:04:59 thorgal kernel: [ 6304.573963] [<8009838c>] tick_handle_periodic+0x34/0xd0
Feb 10 21:04:59 thorgal kernel: [ 6304.584364] [<803275e0>] gic_compare_interrupt+0x70/0x80
Feb 10 21:04:59 thorgal kernel: [ 6304.594930] [<80077ba0>] handle_percpu_devid_irq+0xbc/0x1a8
Feb 10 21:04:59 thorgal kernel: [ 6304.606024] [<80071ef0>] generic_handle_irq+0x40/0x58
Feb 10 21:04:59 thorgal kernel: [ 6304.616071] [<8025339c>] gic_handle_local_int+0x9c/0xe8
Feb 10 21:04:59 thorgal kernel: [ 6304.626458] [<8025355c>] gic_irq_dispatch+0x10/0x20
Feb 10 21:04:59 thorgal kernel: [ 6304.636153] [<80071ef0>] generic_handle_irq+0x40/0x58
Feb 10 21:04:59 thorgal kernel: [ 6304.646199] [<80495fcc>] do_IRQ+0x1c/0x2c
Feb 10 21:04:59 thorgal kernel: [ 6304.654166] [<8025252c>] plat_irq_dispatch+0xfc/0x138
Feb 10 21:04:59 thorgal kernel: [ 6304.664209] [<8000b5e8>] except_vec_vi_end+0xb8/0xc4
Feb 10 21:04:59 thorgal kernel: [ 6304.674076] [<8006a94c>] queued_spin_lock_slowpath+0x1dc/0x2e0
Feb 10 21:04:59 thorgal kernel: [ 6304.685677] [<802386ac>] rht_deferred_worker+0x20c/0x4f0
Feb 10 21:04:59 thorgal kernel: [ 6304.696236] [<80046230>] process_one_work+0x258/0x400
Feb 10 21:04:59 thorgal kernel: [ 6304.706276] [<80046728>] worker_thread+0x350/0x5b4
Feb 10 21:04:59 thorgal kernel: [ 6304.715806] [<8004c1b8>] kthread+0x130/0x144
Feb 10 21:04:59 thorgal kernel: [ 6304.724291] [<8000b0d8>] ret_from_kernel_thread+0x14/0x1c
19.02.20192133KernelBug ReportVery LowCriticallan rx performance on IPQ806X (R7800) AllUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on R7800
- Software versions of OpenWrt 18.06/Trunk

Firstly ,I found my ps4 download speed only 100mbps,so I’ve run iperf3
The lan rx work in problem ,tx works no problem.
One pair rx only 18mbps ten pair rx only 100mbps but tx can run in 1gbps.

So I change to offical 18.06.2 banch,rx is 400mbps ,tx is 1Gbps. Still in problem.
After I compile trunk banch ,it also WIP as 18.06 banch.

This problem also mentioned in  FS#1598 

22.02.20192140KernelBug ReportVery LowCriticalKernel hang when replace older uboot with uboot 2019 fo...TrunkUnconfirmed Task Description

Below is the log:

U-Boot 2019.01-00079-g3420a6fc6e-dirty (Feb 19 2019 - 17:19:16 +0800)

Qualcomm Atheros QCA9561 ver 1 rev 0
Model: AP152 Reference Board
DRAM:  128 MiB
Loading Environment from SPI Flash... SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB, mapped at 9f000000
*** Warning - bad CRC, using default environment

In:    uart@18020000
Out:   uart@18020000
Err:   uart@18020000
Net:   
Warning: eth@0x19000000 (eth0) using random MAC address - 56:87:3c:61:9b:50
eth0: eth@0x19000000
Hit any key to stop autoboot:  0 
ap152 # bootm 0x1f060000
## Booting kernel from Legacy Image at 1f060000 ...
   Image Name:   MIPS OpenWrt Linux-4.14.101
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1615030 Bytes = 1.5 MiB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
[    0.000000] Linux version 4.14.101 (xxx@xxx-PC) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r8997-488af51f81)) #0 Mon Feb 18 15:11:32 2019
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is ROSINSON WR818
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 123184K/131072K available (3777K kernel code, 150K rwdata, 912K rodata, 1232K init, 204K bss, 7888K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 775.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008841] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.075897] pid_max: default: 32768 minimum: 301
[    0.081292] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.088805] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100195] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.111385] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.118370] pinctrl core: initialized pinctrl subsystem
[    0.125117] NET: Registered protocol family 16
[    0.152720] clocksource: Switched to clocksource MIPS
[    0.159331] NET: Registered protocol family 2
[    0.164932] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.172894] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.180116] TCP: Hash tables configured (established 1024 bind 1024)
[    0.187461] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.194136] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.201461] NET: Registered protocol family 1
[    0.209168] Crashlog allocated RAM at address 0x3f00000
[    0.216385] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.227688] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.234346] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.253234] io scheduler noop registered
[    0.257682] io scheduler deadline registered (default)
[    0.263810] ar7200-usb-phy usb-phy: phy reset is missing
[    0.271331] pinctrl-single 1804002c.pinmux: 544 pins at pa b804002c size 68
[    0.280201] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.288040] console [ttyS0] disabled
[    0.292122] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 8, base_baud = 1562500) is a 16550A
[    0.301943] console [ttyS0] enabled
[    0.301943] console [ttyS0] enabled
[    0.309500] bootconsole [early0] disabled
[    0.309500] bootconsole [early0] disabled
[    0.332542] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.337492] 5 fixed-partitions partitions found on MTD device spi0.0
[    0.344060] Creating 5 MTD partitions on "spi0.0":
[    0.349014] 0x000000000000-0x000000040000 : "u-boot"
[    0.354834] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.360944] 0x000000050000-0x000000060000 : "factory"
[    0.366831] 0x000000060000-0x000000fe0000 : "firmware"
[    0.374973] 2 uimage-fw partitions found on MTD device firmware
[    0.381090] Creating 2 MTD partitions on "firmware":
[    0.386258] 0x000000000000-0x000000190000 : "kernel"
[    0.392027] 0x000000190000-0x000000f80000 : "rootfs"
[    0.397783] mtd: device 5 (rootfs) set to be root filesystem
[    0.403703] 1 squashfs-split partitions found on MTD device rootfs
[    0.410095] 0x000000440000-0x000000f80000 : "rootfs_data"
[    0.416295] 0x000000ff0000-0x000001000000 : "art"
[    0.422691] libphy: Fixed MDIO Bus: probed
[    0.763078] libphy: ag71xx_mdio: probed
[    0.770036] switch0: Atheros AR8337 rev. 2 switch registered on mdio-bus.0
[    1.424526] ag71xx 19000000.eth: invalid MAC address, using random address
[    1.763882] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    1.775479] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:SGMII
[    1.783515] NET: Registered protocol family 10
[    1.791439] Segment Routing with IPv6
[    1.795358] NET: Registered protocol family 17
[    1.799984] 8021q: 802.1Q VLAN Support v1.8
[    1.810014] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.824049] Freeing unused kernel memory: 1232K
[    1.828729] This architecture does not have kernel memory protection.

By the way, for the ath79 target(linux-4.14) after I enable CONFIG_MIPS32R2_IRQ_VI options, it works fine.
But still hang in ar71xx(linux-4.9.158).

11.06.20192316KernelBug ReportVery LowCriticalKernel's iptables crash unexpectedlyTrunkWaiting on reporter Task Description

<Xiaomi Mi Router 3G / OpenWrt SNAPSHOT, r10173-6b762dd>
My router sometimes restart unexpectedly with no reason. Here’s the kernel’s crash log (/sys/kernel/debug/crashlog)

<0>[12930.571103] usercopy: kernel memory overwrite attempt detected to c2651000 (kmalloc-2048) (5408 bytes)
<4>[12930.580437] Kernel bug detected[#1]:
<4>[12930.584007] CPU: 2 PID: 28709 Comm: iptables Not tainted 4.14.123 #0
<4>[12930.590333] task: 8186ddc0 task.stack: 81fe4000
<4>[12930.594840] $ 0   : 00000000 00000001 0000005a 00000000
<4>[12930.600054] $ 4   : 8122d33c 8122d33c 81231e78 00007388
<4>[12930.605266] $ 8   : 00000000 00000194 00000008 00000000
<4>[12930.610476] $12   : 00000000 805c0000 0008b6df 00000000
<4>[12930.615697] $16   : c2651000 00001520 00000000 c2652520
<4>[12930.620906] $20   : 006678e0 00001548 00000000 77fca000
<4>[12930.626115] $24   : 00000001 802ab558
<4>[12930.631326] $28   : 81fe4000 81fe5dc0 00000000 80116360
<4>[12930.636539] Hi    : 00000124
<4>[12930.639403] Lo    : 74e58000
<4>[12930.642286] epc   : 80116360 __check_object_size+0x1b0/0x1e0
<4>[12930.647921] ra    : 80116360 __check_object_size+0x1b0/0x1e0
<4>[12930.653549] Status: 11007c03      KERNEL EXL IE
<4>[12930.657721] Cause : 50800024 (ExcCode 09)
<4>[12930.661707] PrId  : 0001992f (MIPS 1004Kc)
<4>[12930.665796] Modules linked in: pppoe ppp_async pptp pppox ppp_mppe ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp
<4>[12930.736837]  nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat fuse sch_cake nf_conntrack sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net 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 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter
<4>[12930.808159]  ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip_gre gre ifb ip_tunnel tun vfat fat nls_utf8 nls_iso8859_1 nls_cp437 sha1_generic ecb usb_storage sd_mod scsi_mod ext4 mbcache jbd2 crc32c_generic leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
<4>[12930.835248] Process iptables (pid: 28709, threadinfo=81fe4000, task=8186ddc0, tls=77fd8eb8)
<4>[12930.843554] Stack : 818c0040 8055090c 8055e4c8 c2651000 8054f124 00001520 00000000 00001520
<4>[12930.851887]         c2651000 00667908 805d9980 8ead1c3c 818c0000 818c0040 c264e000 805b0000
<4>[12930.860223]         805b0000 805e0000 00000041 8f1b9c98 805d9980 c264e000 0066a000 81fe5e34
<4>[12930.868560]         8adcd004 006663b0 81840040 805d9980 00000000 00000000 746c6966 00007265
<4>[12930.876894]         00000000 00000000 00000000 00000000 00000000 00000000 00000152 00000000
<4>[12930.885244]         ...
<4>[12930.887733] Call Trace:
<4>[12930.890172] [<80116360>] __check_object_size+0x1b0/0x1e0
<4>[12930.895540] [<8ead1c3c>] xt_copy_counters_from_user+0xac/0x158 [x_tables]
<4>[12930.902322] [<8f1b9c98>] ipt_register_table+0x508/0xdf8 [ip_tables]
<4>[12930.908568] Code: 02003825  0c01d530  24840924 <000c000d> 8fb30028  8fb20024  8fb10020  8fb0001c  03e00008
<4>[12930.918296]
<4>[12930.920137] ---[ end trace 0d59c51a87e12512 ]---
28.11.20192638KernelBug ReportVery LowCriticalNot enough host controller resources for new device sta...AllUnconfirmed Task Description

After connecting the usb hub and two identical e3372h modems, receives the following error:

kern.info kernel: [ 4313.927551] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
kern.info kernel: [ 4313.963934] hub 2-1:1.0: USB hub found
kern.info kernel: [ 4313.968328] hub 2-1:1.0: 4 ports detected
kern.info kernel: [ 4314.107232] usb 1-1: new high-speed USB device number 16 using xhci-mtk
kern.info kernel: [ 4314.309707] hub 1-1:1.0: USB hub found
kern.info kernel: [ 4314.314024] hub 1-1:1.0: 4 ports detected
kern.err kernel: [ 4315.449126] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?
kern.info kernel: [ 4323.227134] usb 1-1.1: new high-speed USB device number 19 using xhci-mtk
kern.info kernel: [ 4323.359684] usb-storage 1-1.1:1.0: USB Mass Storage device detected
kern.info kernel: [ 4323.366475] scsi host3: usb-storage 1-1.1:1.0
kern.info kernel: [ 4323.667042] usb 1-1.4: new high-speed USB device number 20 using xhci-mtk
kern.warn kernel: [ 4323.799302] usb 1-1.4: Not enough host controller resources for new device state.
kern.err kernel: [ 4323.806875] usb 1-1.4: can't set config #1, error -12
kern.info kernel: [ 4324.317141] usb 2-1: USB disconnect, device number 2
kern.notice kernel: [ 4324.428273] scsi 3:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
kern.notice kernel: [ 4324.441876] scsi 3:0:0:1: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
kern.notice kernel: [ 4324.469348] sd 3:0:0:1: [sdb] Attached SCSI removable disk
kern.info kernel: [ 4324.667338] usb 2-1: new SuperSpeed USB device number 3 using xhci-mtk
kern.info kernel: [ 4324.703318] hub 2-1:1.0: USB hub found
kern.info kernel: [ 4324.707765] hub 2-1:1.0: 4 ports detected
kern.info kernel: [ 4324.975384] usb 1-1.1: USB disconnect, device number 19
kern.info kernel: [ 4325.377043] usb 1-1.1: new high-speed USB device number 21 using xhci-mtk
kern.warn kernel: [ 4325.508714] usb 1-1.1: Not enough host controller resources for new device state.
kern.err kernel: [ 4325.516294] usb 1-1.1: can't set config #1, error -12
kern.info kernel: [ 4332.655468] usb 1-1.4: USB disconnect, device number 20
kern.info kernel: [ 4333.567032] usb 1-1.4: new high-speed USB device number 22 using xhci-mtk
kern.info kernel: [ 4333.699727] usb-storage 1-1.4:1.0: USB Mass Storage device detected
kern.info kernel: [ 4333.706535] scsi host3: usb-storage 1-1.4:1.0
kern.info kernel: [ 4334.703592] usb 1-1.4: USB disconnect, device number 22
kern.info kernel: [ 4335.106995] usb 1-1.4: new high-speed USB device number 23 using xhci-mtk
kern.warn kernel: [ 4335.238608] usb 1-1.4: Not enough host controller resources for new device state.
kern.err kernel: [ 4335.246174] usb 1-1.4: can't set config #1, error -12
kern.info kernel: [ 4335.254656] usb 1-1.1: USB disconnect, device number 21
kern.info kernel: [ 4335.556999] usb 1-1.1: new high-speed USB device number 24 using xhci-mtk
kern.warn kernel: [ 4335.689333] usb 1-1.1: Not enough host controller resources for new device state.
kern.err kernel: [ 4335.697209] usb 1-1.1: can't set config #1, error -12
kern.info kernel: [ 4338.571247] usb 2-1: USB disconnect, device number 3
kern.info kernel: [ 4338.937429] usb 2-1: new SuperSpeed USB device number 4 using xhci-mtk
kern.info kernel: [ 4338.973068] hub 2-1:1.0: USB hub found
kern.info kernel: [ 4338.977396] hub 2-1:1.0: 4 ports detected
28.11.20192639KernelBug ReportVery LowCriticalkernel oops when visit a invalid virtual addressTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

 youku-l2

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

 snapshot. at 
 Linux OpenWrt 4.14.155 #0 SMP Sun Nov 24 22:17:34 2019 mips GNU/Linux

- Steps to reproduce

 I don't know. but this problem occurs, from the device reboot, after several hours or one or two days, the oops occurs. 
 
BusyBox v1.31.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r11591-c5497ebb1c
 -----------------------------------------------------
root@OpenWrt:~# cat /sys/kernel/debug/crashlog
Time: 1574977671.59411
Modules:        pppoe@8ee64000+22f0     ppp_async@8efa2000+1bc0 pppox@8e8de000+58a       ppp_generic@8e9f8000+5c82        nf_conntrack_ipv6@8f094000+15c0 mt76x2e@8f0ec000+2910    mt76x2_common@8f0f0000+2d88      mt76x02_lib@8f150000+a421       mt7603e@8ef30000+96cc    mt76@8e978000+7f5d       mac80211@8e900000+77c89 iptable_nat@8eff6000+3b0                 ipt_REJECT@8f023000+410  ipt_MASQUERADE@8e80b000+2f0     cfg80211@8ef40000+3f4f9          xt_time@8f0ba000+730     xt_tcpudp@8f0b7000+750  xt_state@8f0b4000+310   xt_nat@8f0b0000+650       xt_multiport@8f0a7000+550       xt_mark@8f0a4000+2f0    xt_mac@8f0a0000+2b0      xt_limit@8f09e000+4f0    xt_conntrack@8f07e000+910       xt_comment@8f067000+230          xt_TCPMSS@8e8d7000+b30   xt_REDIRECT@8f09c000+310        xt_LOG@8e8fb000+350              xt_FLOWOFFLOAD@8e8f8000+c30      xt_CT@8e8f5000+ab0      slhc@8f090000+14bb               nf_reject_ipv4@8ef96000+903      nf_nat_redirect@8ef9a000+63b    nf_nat_masquerade_ipv4@8ef9d000+71c       nf_conntrack_ipv4@8f064000+1450 nf_nat_ipv4@8e8b0000+1031                nf_nat@8f080000+3a7c     nf_log_ipv4@8efd5000+df0        nf_flow_table_hw@8e8e5000+920    nf_flow_table@8efb8000+367f      nf_defrag_ipv6@8efb2000+147e    nf_defrag_ipv4@8e8e8000+4b6       nf_conntrack_rtcache@8e8ea000+b10       nf_conntrack@8ef80000+11bca              iptable_mangle@8e8d8000+470      iptable_filter@8f7ed000+3d0     ip_tables@8e8d4000+2bdd  crc_ccitt@8e80e000+42b   compat@8e8d0000+1de4    ledtrig_usbport@8f7e4000+b00             nf_log_ipv6@8e8c6000+10d0        nf_log_common@8f001000+baf      ip6table_mangle@8f76b000+570      ip6table_filter@8f75e000+3d0    ip6_tables@8e8c0000+2ae1        ip6t_REJECT@8efc7000+450  x_tables@8efdc000+38af  nf_reject_ipv6@8eff7000+ac8     leds_gpio@8f794000+bb0   xhci_plat_hcd@8f790000+1650      xhci_pci@8f72e000+c30   xhci_mtk@8f7f2000+1490           xhci_hcd@8f7a0000+16e09  gpio_button_hotplug@8f78e000+1ad0       usbcore@8f7c0000+21591   nls_base@8f734000+1570   usb_common@8ffe1000+a37
<6>[    2.021026] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
<6>[    2.027787] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
<6>[    2.034511] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref]
<6>[    2.041702] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
<6>[    2.048423] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
<6>[    2.055183] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
<6>[    2.061894] pci 0000:00:00.0: PCI bridge to [bus 01]
<6>[    2.066846] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
<6>[    2.073574] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
<6>[    2.080852] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref]
<6>[    2.087987] pci 0000:00:01.0: PCI bridge to [bus 02]
<6>[    2.092933] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
<6>[    2.099653] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff pref]
<6>[    2.108218] clocksource: Switched to clocksource GIC
<6>[    2.114767] NET: Registered protocol family 2
<6>[    2.119945] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
<6>[    2.126839] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
<6>[    2.133270] TCP: Hash tables configured (established 2048 bind 2048)
<6>[    2.139690] UDP hash table entries: 256 (order: 1, 8192 bytes)
<6>[    2.145452] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
<6>[    2.151946] NET: Registered protocol family 1
<7>[    2.156268] PCI: CLS 0 bytes, default 32
<6>[    2.388167] 4 CPUs re-calibrate udelay(lpj = 2924544)
<4>[    2.394747] Crashlog allocated RAM at address 0x3f00000
<6>[    2.400168] workingset: timestamp_bits=14 max_order=16 bucket_order=2
<6>[    2.414833] squashfs: version 4.0 (2009/01/31) Phillip Lougher
<6>[    2.420603] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
<5>[    2.431036] random: fast init done
<6>[    2.434139] io scheduler noop registered
<6>[    2.438310] io scheduler deadline registered (default)
<6>[    2.444494] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
<6>[    2.454582] console [ttyS0] disabled
<6>[    2.458130] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
<6>[    2.467147] console [ttyS0] enabled
<6>[    2.474027] bootconsole [early0] disabled
<4>[    2.484276] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
<6>[    2.491904] spi-mt7621 1e000b00.spi: sys_freq: 220000000
<6>[    2.498139] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
<5>[    2.503281] 4 fixed-partitions partitions found on MTD device spi0.0
<5>[    2.509651] Creating 4 MTD partitions on "spi0.0":
<5>[    2.514435] 0x000000000000-0x000000030000 : "u-boot"
<5>[    2.520678] 0x000000030000-0x000000040000 : "u-boot-env"
<5>[    2.527090] 0x000000040000-0x000000050000 : "factory"
<5>[    2.533241] 0x000000050000-0x000001000000 : "firmware"
<5>[    2.539665] 2 uimage-fw partitions found on MTD device firmware
<5>[    2.545569] Creating 2 MTD partitions on "firmware":
<5>[    2.550579] 0x000000000000-0x0000001ffad5 : "kernel"
<5>[    2.556604] 0x0000001ffad5-0x000000fb0000 : "rootfs"
<5>[    2.562721] mtd: device 5 (rootfs) set to be root filesystem
<5>[    2.568570] 1 squashfs-split partitions found on MTD device rootfs
<5>[    2.574736] 0x000000430000-0x000000fb0000 : "rootfs_data"
<6>[    2.582044] libphy: Fixed MDIO Bus: probed
<6>[    2.650253] libphy: mdio: probed
<6>[    4.054512] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
<6>[    4.061238] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 22
<6>[    4.072283] NET: Registered protocol family 10
<6>[    4.078487] Segment Routing with IPv6
<6>[    4.082230] NET: Registered protocol family 17
<6>[    4.086730] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
<6>[    4.099677] 8021q: 802.1Q VLAN Support v1.8
<6>[    4.106481] hctosys: unable to open rtc device (rtc0)
<6>[    4.119110] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
<6>[    4.130502] Freeing unused kernel memory: 1260K
<4>[    4.135030] This architecture does not have kernel memory protection.
<14>[    4.872669] init: Console is alive
<14>[    4.876317] init: - watchdog -
<14>[    5.882569] kmodloader: loading kernel modules from /etc/modules-boot.d/*
<6>[    6.029362] usbcore: registered new interface driver usbfs
<6>[    6.034945] usbcore: registered new interface driver hub
<6>[    6.040467] usbcore: registered new device driver usb
<4>[    6.054247] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
<4>[    6.062995] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
<6>[    6.071955] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
<6>[    6.077277] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
<6>[    6.088345] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
<6>[    6.097519] xhci-mtk 1e1c0000.xhci: irq 21, io mem 0x1e1c0000
<6>[    6.104357] hub 1-0:1.0: USB hub found
<6>[    6.108234] hub 1-0:1.0: 2 ports detected
<6>[    6.112875] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
<6>[    6.118241] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
<6>[    6.125705] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0  SuperSpeed
<6>[    6.132341] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
<6>[    6.141347] hub 2-0:1.0: USB hub found
<6>[    6.145168] hub 2-0:1.0: 1 port detected
<14>[    6.154150] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
<14>[    6.178545] init: - preinit -
<6>[    7.177582] mtk_soc_eth 1e100000.ethernet: PPE started
<5>[    7.252645] random: procd: uninitialized urandom read (4 bytes read)
<5>[   10.531863] jffs2: notice: (482) jffs2_build_xattr_subsystem: complete building xattr subsystem, 7 of xdatum (3 unchecked, 4 orphan) and 43 of xref (4 dead, 0 orphan) found.
<14>[   10.553355] mount_root: switching to jffs2 overlay
<4>[   10.576616] overlayfs: upper fs does not support tmpfile.
<12>[   10.592158] urandom-seed: Seeding with /etc/urandom.seed
<6>[   10.695023] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
<14>[   10.716965] procd: - early -
<14>[   10.719988] procd: - watchdog -
<14>[   11.368370] procd: - watchdog -
<14>[   11.371872] procd: - ubus -
<5>[   11.397531] random: ubusd: uninitialized urandom read (4 bytes read)
<5>[   11.430071] random: ubusd: uninitialized urandom read (4 bytes read)
<5>[   11.436790] random: ubusd: uninitialized urandom read (4 bytes read)
<14>[   11.444092] procd: - init -
<14>[   12.071546] kmodloader: loading kernel modules from /etc/modules.d/*
<6>[   12.083773] ip6_tables: (C) 2000-2006 Netfilter Core Team
<6>[   12.097818] Loading modules backported from Linux version v5.4-rc8-0-gaf42d3466bdc
<6>[   12.105474] Backport generated by backports.git v5.4-rc8-1-0-g368e8c51
<6>[   12.114103] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[   12.126620] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
<6>[   12.177575] xt_time: kernel timezone is -0000
<4>[   12.240330] bus=0x1, slot = 0x0, irq=0xff
<6>[   12.244587] mt7603e 0000:01:00.0: ASIC revision: 76030010
<14>[   12.248691] urngd: v1.0.1 started.
<5>[   12.400941] random: crng init done
<5>[   12.404350] random: 6 urandom warning(s) missed due to ratelimiting
<6>[   13.279501] mt7603e 0000:01:00.0: Firmware Version: ap_pcie
<6>[   13.285073] mt7603e 0000:01:00.0: Build Time: 20160107100755
<6>[   13.328226] mt7603e 0000:01:00.0: firmware init done
<7>[   13.500398] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
<4>[   13.513858] bus=0x2, slot = 0x1, irq=0xff
<6>[   13.518248] mt76x2e 0000:02:00.0: ASIC revision: 76120044
<6>[   14.269373] mt76x2e 0000:02:00.0: ROM patch build: 20141115060606a
<6>[   14.279042] mt76x2e 0000:02:00.0: Firmware Version: 0.0.00
<6>[   14.284520] mt76x2e 0000:02:00.0: Build: 1
<6>[   14.288650] mt76x2e 0000:02:00.0: Build Time: 201507311614____
<6>[   14.308213] mt76x2e 0000:02:00.0: Firmware running!
<7>[   14.315892] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
<6>[   14.323384] PPP generic driver version 2.4.2
<6>[   14.329343] NET: Registered protocol family 24
<14>[   14.337138] kmodloader: done loading kernel modules from /etc/modules.d/*
<6>[   18.442839] mtk_soc_eth 1e100000.ethernet eth0: port 4 link up
<6>[   20.695431] mtk_soc_eth 1e100000.ethernet: PPE started
<6>[   20.705271] br-lan: port 1(eth0.1) entered blocking state
<6>[   20.710862] br-lan: port 1(eth0.1) entered disabled state
<6>[   20.716991] device eth0.1 entered promiscuous mode
<6>[   20.721938] device eth0 entered promiscuous mode
<6>[   20.731335] br-lan: port 1(eth0.1) entered blocking state
<6>[   20.736800] br-lan: port 1(eth0.1) entered forwarding state
<6>[   20.743072] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
<6>[   21.504643] pppoe-wan: renamed from ppp0
<6>[   21.759034] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
<6>[   25.485868] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
<6>[   25.499062] br-lan: port 2(wlan1) entered blocking state
<6>[   25.504430] br-lan: port 2(wlan1) entered disabled state
<6>[   25.510505] device wlan1 entered promiscuous mode
<6>[   25.555437] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
<6>[   25.566445] br-lan: port 3(wlan0) entered blocking state
<6>[   25.571826] br-lan: port 3(wlan0) entered disabled state
<6>[   25.577853] device wlan0 entered promiscuous mode
<6>[   25.583186] br-lan: port 3(wlan0) entered blocking state
<6>[   25.588566] br-lan: port 3(wlan0) entered forwarding state
<6>[   26.063776] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
<6>[   26.077173] br-lan: port 4(wlan0-1) entered blocking state
<6>[   26.083073] br-lan: port 4(wlan0-1) entered disabled state
<6>[   26.089464] device wlan0-1 entered promiscuous mode
<6>[   26.099208] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
<6>[   26.105510] br-lan: port 4(wlan0-1) entered blocking state
<6>[   26.111095] br-lan: port 4(wlan0-1) entered forwarding state
<6>[   26.662628] br-lan: port 4(wlan0-1) entered disabled state
<6>[   26.669241] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
<6>[   26.676001] br-lan: port 2(wlan1) entered blocking state
<6>[   26.681401] br-lan: port 2(wlan1) entered forwarding state
<6>[   26.695246] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
<6>[   26.703001] br-lan: port 4(wlan0-1) entered blocking state
<6>[   26.708650] br-lan: port 4(wlan0-1) entered forwarding state
<6>[   26.723751] br-lan: port 5(wlan0-2) entered blocking state
<6>[   26.729417] br-lan: port 5(wlan0-2) entered disabled state
<6>[   26.735733] device wlan0-2 entered promiscuous mode
<6>[   26.742641] IPv6: ADDRCONF(NETDEV_UP): wlan0-2: link is not ready
<6>[   26.748867] br-lan: port 5(wlan0-2) entered blocking state
<6>[   26.754465] br-lan: port 5(wlan0-2) entered forwarding state
<6>[   27.177925] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-2: link becomes ready
<1>[159983.016519] CPU 1 Unable to handle kernel paging request at virtual address 07406000, epc == 801317c0, ra == 80131674
<4>[159983.027206] Oops[#1]:
<4>[159983.029559] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.155 #0
<4>[159983.035718] task: 8fc3c100 task.stack: 8fc5c000
<4>[159983.040314] $ 0   : 00000000 00000001 00000000 81266650
<4>[159983.045615] $ 4   : 806061fc 00000001 00000001 07406000
<4>[159983.050915] $ 8   : 000289b4 000289b3 00000000 00000001
<4>[159983.056211] $12   : 00000002 00000000 c0222b40 00009180
<4>[159983.061507] $16   : 8fc02a00 01090220 807a0000 8ea80000
<4>[159983.066803] $20   : 00000018 00000800 00000000 01080020
<4>[159983.072101] $24   : 3b9aca00 80008e2c
<4>[159983.077399] $28   : 8fc5c000 8fc0b9c8 00000000 80131674
<4>[159983.082697] Hi    : 00002665
<4>[159983.085647] Lo    : 94af5487
<4>[159983.088611] epc   : 801317c0 __kmalloc_track_caller+0x20c/0x290
<4>[159983.094591] ra    : 80131674 __kmalloc_track_caller+0xc0/0x290
<4>[159983.100478] Status: 11007c03     KERNEL EXL IE
<4>[159983.104737] Cause : 40800008 (ExcCode 02)
<4>[159983.108810] BadVA : 07406000
<4>[159983.111762] PrId  : 0001992f (MIPS 1004Kc)
<4>[159983.115920] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
<4>[159983.186680] Process swapper/1 (pid: 0, threadinfo=8fc5c000, task=8fc3c100, tls=00000000)
<4>[159983.194820] Stack : 80666658 8eec1e00 00000000 00000000 0000006c 8ee726c0 00000000 01080020
<4>[159983.203242]         8038772c 80383e60 00000000 00000000 284162c7 b901a8c0 fb0000e0 8ee726c0
<4>[159983.211663]         8ee726c0 00000000 00000740 00000018 8ef3cc00 8038772c 00000000 80600000
<4>[159983.220082]         00000004 00000000 00000000 8ef3cc00 8ee726c0 8ef77ab2 8ee726c0 00000018
<4>[159983.228504]         8ef3cc00 00000000 00000000 8e932214 000000e1 806061fc 8fc0bb44 8fc0bb4c
<4>[159983.236932]         ...
<4>[159983.239455] Call Trace:
<4>[159983.241987] [<801317c0>] __kmalloc_track_caller+0x20c/0x290
<4>[159983.247645] [<80383e60>] __kmalloc_reserve.isra.45+0x44/0xac
<4>[159983.253388] [<8038772c>] pskb_expand_head+0x8c/0x328
<4>[159983.258565] [<8e932214>] ieee80211_skb_resize+0x19c/0xde0 [mac80211]
<4>[159983.265045] [<8e932b44>] ieee80211_skb_resize+0xacc/0xde0 [mac80211]
<4>[159983.271514] [<8f080e1c>] nf_xfrm_me_harder+0x830/0xa90 [nf_nat]
<4>[159983.277497] Code: 00000000  8e020014  00e23821 <8ce20000> 10000012  cc400000  10400005  00000000  8e060010
<4>[159983.287311]
<4>[159983.289013] ---[ end trace de892621f972e570 ]---

===================================
Time: 1574977671.67638
root@OpenWrt:~#
 
26.12.20192695KernelBug ReportVery LowCriticalKernel panic during boot on Gehua ghl-r-001TrunkNew Task Description

See https://github.com/openwrt/openwrt/pull/2483

without this patch the ghl-r-001 cannot be boot.

reproduct in both 19.7-rc2 and git master.

26.02.20202863KernelBug ReportVery LowCriticalNo wireless - ath9k: probe of ar934x_wmac failed with e...TrunkUnconfirmed Task Description

TP-Link TL-WDR4300 v1
Atheros AR9344 rev 2
OpenWrt SNAPSHOT r12324-35890514bb

After firmware update the wireless interface stop working and system log display this errors:

[  775.566457] ath: phy2: Unable to initialize hardware; initialization status: -5
[  775.573947] ath9k ar934x_wmac: failed to initialize device
[  775.579593] ath9k: probe of ar934x_wmac failed with error -5
[  775.585511] pci 0000:00:00.0: using irq 40 for pin 1
[  775.594310] ath: phy3: Unable to initialize hardware; initialization status: -5
[  775.601780] ath9k 0000:00:00.0: Failed to initialize device
[  775.607518] ath9k: probe of 0000:00:00.0 failed with error -5

After removing the modules with:

rmmod ath9k
rmmod ath9k_common
rmmod ath9k_hw

And trying to load them back with:

insmod ath9k_common
insmod ath9k_hw
insmod ath9k

This messages show up:

[  837.091531] ath9k: ath9k: Driver unloaded
[  843.290249] ath9k: Unknown symbol ath9k_hw_stop_dma_queue (err 0)
[  843.296516] ath9k: Unknown symbol ath9k_hw_set_txpowerlimit (err 0)
[  843.303090] ath9k: Unknown symbol ath9k_hw_reset_calvalid (err 0)
[  843.309396] ath9k: Unknown symbol ath9k_hw_intrpend (err 0)
[  843.315144] ath9k: Unknown symbol ath9k_cmn_debug_modal_eeprom (err 0)
[  843.321888] ath9k: Unknown symbol ath9k_hw_enable_interrupts (err 0)
[  843.328450] ath9k: Unknown symbol ar9003_hw_bb_watchdog_check (err 0)
[  843.335112] ath9k: Unknown symbol ath9k_cmn_rx_accept (err 0)
[  843.341067] ath9k: Unknown symbol ath9k_hw_reset (err 0)
[  843.346548] ath9k: Unknown symbol ath9k_hw_abort_tx_dma (err 0)
[  843.352673] ath9k: Unknown symbol ath9k_hw_setuptxqueue (err 0)
[  843.358798] ath9k: Unknown symbol ath9k_hw_setuprxdesc (err 0)
[  843.364792] ath9k: Unknown symbol ath9k_hw_startpcureceive (err 0)
[  843.371183] ath9k: Unknown symbol ar9003_paprd_init_table (err 0)
[  843.377475] ath9k: Unknown symbol ath9k_hw_gpio_request_out (err 0)
[  843.383905] ath9k: Unknown symbol ath9k_hw_putrxbuf (err 0)
[  843.389669] ath9k: Unknown symbol ath9k_hw_check_nav (err 0)
[  843.395508] ath9k: Unknown symbol ath9k_hw_setmcastfilter (err 0)
[  843.401901] ath9k: Unknown symbol ath9k_hw_setpower (err 0)
[  843.407683] ath9k: Unknown symbol ath9k_hw_phy_disable (err 0)
[  843.413677] ath9k: Unknown symbol ath9k_cmn_rx_skb_postprocess (err 0)
[  843.420411] ath9k: Unknown symbol ath_dynack_sample_ack_ts (err 0)
[  843.426782] ath9k: Unknown symbol ath9k_cmn_beacon_config_sta (err 0)
[  843.433408] ath9k: Unknown symbol ath9k_hw_check_alive (err 0)
[  843.439430] ath9k: Unknown symbol ath9k_hw_setrxabort (err 0)
[  843.445338] ath9k: Unknown symbol ath9k_hw_txstart (err 0)
[  843.451017] ath9k: Unknown symbol ath9k_hw_gpio_free (err 0)
[  843.456886] ath9k: Unknown symbol ar9003_get_pll_sqsum_dvc (err 0)
[  843.463255] ath9k: Unknown symbol ar9003_is_paprd_enabled (err 0)
[  843.469560] ath9k: Unknown symbol ath9k_hw_set_rx_bufsize (err 0)
[  843.475828] ath9k: Unknown symbol ath9k_hw_updatetxtriglevel (err 0)
[  843.482398] ath9k: Unknown symbol ath9k_hw_beaconinit (err 0)
[  843.488395] ath9k: Unknown symbol ath9k_hw_set_tx_filter (err 0)
[  843.494565] ath9k: Unknown symbol ath9k_hw_settsf64 (err 0)
[  843.500337] ath9k: Unknown symbol ath9k_hw_init_global_settings (err 0)
[  843.507156] ath9k: Unknown symbol ath9k_hw_abortpcurecv (err 0)
[  843.513239] ath9k: Unknown symbol ath9k_hw_update_diag (err 0)
[  843.519285] ath9k: Unknown symbol ath9k_hw_name (err 0)
[  843.524665] ath9k: Unknown symbol ath9k_hw_beaconq_setup (err 0)
[  843.530862] ath9k: Unknown symbol ath9k_cmn_debug_phy_err (err 0)
[  843.537187] ath9k: Unknown symbol ath9k_hw_puttxbuf (err 0)
[  843.542959] ath9k: Unknown symbol ath9k_hw_write_associd (err 0)
[  843.549176] ath9k: Unknown symbol ath_dynack_sample_tx_ts (err 0)
[  843.555487] ath9k: Unknown symbol ath_dynack_reset (err 0)
[  843.561162] ath9k: Unknown symbol ath9k_cmn_debug_recv (err 0)
[  843.567198] ath9k: Unknown symbol ath9k_hw_setup_statusring (err 0)
[  843.573689] ath9k: Unknown symbol ath9k_hw_addrxbuf_edma (err 0)
[  843.579902] ath9k: Unknown symbol ath9k_cmn_debug_base_eeprom (err 0)
[  843.586513] ath9k: Unknown symbol ath9k_cmn_process_rssi (err 0)
[  843.592717] ath9k: Unknown symbol ath9k_cmn_beacon_config_adhoc (err 0)
[  843.599543] ath9k: Unknown symbol ath9k_hw_ani_monitor (err 0)
[  843.605533] ath9k: Unknown symbol ath9k_hw_getrxfilter (err 0)
[  843.611577] ath9k: Unknown symbol ath9k_cmn_debug_stat_rx (err 0)
[  843.617868] ath9k: Unknown symbol ath_dynack_node_init (err 0)
[  843.623865] ath9k: Unknown symbol ath9k_cmn_beacon_config_ap (err 0)
[  843.630416] ath9k: Unknown symbol ath9k_hw_set_tsfadjust (err 0)
[  843.636591] ath9k: Unknown symbol ar9003_hw_bb_watchdog_dbg_info (err 0)
[  843.643492] ath9k: Unknown symbol ar9003_paprd_create_curve (err 0)
[  843.649957] ath9k: Unknown symbol ath9k_hw_gpio_request_in (err 0)
[  843.656303] ath9k: Unknown symbol ath9k_hw_set_sta_beacon_timers (err 0)
[  843.663272] ath9k: Unknown symbol ath9k_hw_gettsf64 (err 0)
[  843.669035] ath9k: Unknown symbol ath9k_hw_rxprocdesc (err 0)
[  843.674939] ath9k: Unknown symbol ath_gen_timer_isr (err 0)
[  843.680700] ath9k: Unknown symbol ath9k_hw_resettxqueue (err 0)
[  843.686831] ath9k: Unknown symbol ath9k_hw_setopmode (err 0)
[  843.692654] ath9k: Unknown symbol ar9003_paprd_populate_single_table (err 0)
[  843.699911] ath9k: Unknown symbol ath9k_hw_process_rxdesc_edma (err 0)
[  843.706654] ath9k: Unknown symbol ath_dynack_node_deinit (err 0)
[  843.712881] ath9k: Unknown symbol ath9k_cmn_init_channels_rates (err 0)
[  843.719713] ath9k: Unknown symbol ath9k_hw_kill_interrupts (err 0)
[  843.726071] ath9k: Unknown symbol ath9k_cmn_reload_chainmask (err 0)
[  843.732658] ath9k: Unknown symbol ath9k_hw_reset_tsf (err 0)
[  843.738508] ath9k: Unknown symbol ath9k_hw_get_txq_props (err 0)
[  843.744679] ath9k: Unknown symbol ath9k_hw_releasetxqueue (err 0)
[  843.750966] ath9k: Unknown symbol ath9k_hw_setrxfilter (err 0)
[  843.757063] ath9k: Unknown symbol ath9k_hw_loadnf (err 0)
[  843.762627] ath9k: Unknown symbol ath9k_hw_gettxbuf (err 0)
[  843.768411] ath9k: Unknown symbol ath9k_hw_gpio_get (err 0)
[  843.774176] ath9k: Unknown symbol ath9k_hw_bstuck_nfcal (err 0)
[  843.780320] ath9k: Unknown symbol ath9k_hw_disable_interrupts (err 0)
[  843.786961] ath9k: Unknown symbol ath9k_cmn_update_txpow (err 0)
[  843.793132] ath9k: Unknown symbol ath9k_hw_computetxtime (err 0)
[  843.799339] ath9k: Unknown symbol ath9k_hw_getchan_noise (err 0)
[  843.805506] ath9k: Unknown symbol ar9003_paprd_enable (err 0)
[  843.811483] ath9k: Unknown symbol ath9k_hw_stopdmarecv (err 0)
[  843.817515] ath9k: Unknown symbol ath9k_cmn_get_hw_crypto_keytype (err 0)
[  843.824477] ath9k: Unknown symbol ath9k_hw_set_interrupts (err 0)
[  843.830764] ath9k: Unknown symbol ath9k_hw_wait (err 0)
[  843.836148] ath9k: Unknown symbol ar9003_paprd_setup_gain_table (err 0)
[  843.842963] ath9k: Unknown symbol ath9k_hw_numtxpending (err 0)
[  843.849079] ath9k: Unknown symbol ath9k_hw_get_tsf_offset (err 0)
[  843.855363] ath9k: Unknown symbol ath9k_cmn_process_rate (err 0)
[  843.861582] ath9k: Unknown symbol ath9k_cmn_init_crypto (err 0)
[  843.867699] ath9k: Unknown symbol ath9k_hw_set_gpio (err 0)
[  843.873444] ath9k: Unknown symbol ath9k_hw_setantenna (err 0)
[  843.879472] ath9k: Unknown symbol ath9k_hw_resume_interrupts (err 0)
[  843.885998] ath9k: Unknown symbol ath9k_hw_deinit (err 0)
[  843.891585] ath9k: Unknown symbol ath9k_cmn_get_channel (err 0)
[  843.897714] ath9k: Unknown symbol ath9k_hw_init (err 0)
[  843.903104] ath9k: Unknown symbol ath9k_hw_set_txq_props (err 0)
[  843.909307] ath9k: Unknown symbol ar9003_paprd_is_done (err 0)
[  864.457183] ath: phy4: Unable to initialize hardware; initialization status: -5
[  864.464617] ath9k ar934x_wmac: failed to initialize device
[  864.470266] ath9k: probe of ar934x_wmac failed with error -5
[  864.476180] pci 0000:00:00.0: using irq 40 for pin 1
[  864.484980] ath: phy5: Unable to initialize hardware; initialization status: -5
[  864.492449] ath9k 0000:00:00.0: Failed to initialize device
[  864.498181] ath9k: probe of 0000:00:00.0 failed with error -5
01.03.20202871KernelBug ReportVery LowCriticalBuffalo WHR-600D fails to initialise RT5592.TrunkUnconfirmed Task Description

This *might* be the same bug as  bug 691  (https://bugs.openwrt.org/index.php?do=details&task_id=691), or at least related.

Rooting around in the junk box I found a dismantled and bricked WHR-600D, not sure why or how it got into that state but I would have been tinkering with it in the Chaos Calmer era so possibly could not get it working at the time.

However I decided it would be a useful upgrade to a WHR-HP-G300N that I have covering a corner of the house - especially as that only has 4MB flash/32MB ram so is not really suitable for modern versions of OpenWRT

But... no dice

I successfully got half a serial console (I think the 600D’s rx pin is hosed) and got an initramfs image booted and flashed 19.07.1 - subsequent to that I compiled trunk from source but the behaviour is the same.

The RT5592 is not initialized - it is not “mis-detected” as a 2.4GHz only interface (although the unused MT7620A WiFi interface *is* detected as phy1).

Boot shows:

[ 8.984703] rt2800pci 0000:01:00.0: loaded eeprom from mtd device “factory” [ 8.998658] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5592, rev 0222 detected
[ 9.014109] ieee80211 phy0: rt2800_init_eeprom: Error - Invalid RF chipset 0×0000 detected
[ 9.030585] ieee80211 phy0: rt2x00lib_probe_dev: Error - Failed to allocate device

then - for phy1

[ 9.050320] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device “factory” [ 9.064801] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[ 9.080250] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 7620 detected
[ 9.094676] ieee80211 phy1: Selected rate control algorithm ‘minstrel_ht’

iw list only gives phy1 although I think that is unused/unconnected on this router (AFAICS the two antenna connect only into the RT5592) - I can’t try the images that Mathias Kresin posted in the previous bug report as the links are now dead but I see that the two commits that were made to the WHR-600D and RP-N53 dts files don’t seem to have been accidentally reverted.

Also tried 18.06.7 but that just crashes with:
[ 10.951562] rt2800pci 0000:01:00.0: loaded eeprom from mtd device “factory” [ 10.965533] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5592, rev 0222 detected
[ 10.980983] ieee80211 phy0: rt2800_init_eeprom: Error - Invalid RF chipset 0×0000 detected
[ 10.997460] ieee80211 phy0: rt2x00lib_probe_dev: Error - Failed to allocate device
[ 11.012574] ————[ cut here ]———— [ 11.021787] WARNING: CPU: 0 PID: 426 at mm/vmalloc.c:1466 0x801b2480()
[ 11.034795] Trying to vfree() nonexistent vm area (8317e000)

Not sure where to take this but happy to supply extra info or try patches if anyone has any ideas.

 


12.04.20202996KernelBug ReportVery LowCriticalnanopi air cannot start in kernel 5.4.31TrunkUnconfirmed Task Description

device: nanopi air
steps:

1. "git check" to get the last trunk
2. "make menuconfig" select the device "nanopi air"
3. then "make" to get the rom and dd it into TF card
4. power on and you will see stop at "Starting kernel ..."

here is my system log:

U-Boot SPL 2020.01 (Apr 09 2020 - 20:09:21 +0000)
DRAM: 512 MiB
Trying to boot from MMC1


U-Boot 2020.01 (Apr 09 2020 - 20:09:21 +0000) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: FriendlyARM NanoPi NEO
DRAM:  512 MiB
MMC:   mmc@1c0f000: 0
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   phy interface0

Error: ethernet@1c30000 address not set.
No ethernet found.

starting USB...
Bus usb@1c1a000: USB EHCI 1.00
Bus usb@1c1a400: USB OHCI 1.0
Bus usb@1c1d000: USB EHCI 1.00
Bus usb@1c1d400: USB OHCI 1.0
scanning bus usb@1c1a000 for devices... 1 USB Device(s) found
scanning bus usb@1c1a400 for devices... 1 USB Device(s) found
scanning bus usb@1c1d000 for devices... 1 USB Device(s) found
scanning bus usb@1c1d400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
377 bytes read in 2 ms (183.6 KiB/s)
## Executing script at 43100000
3078032 bytes read in 142 ms (20.7 MiB/s)
19497 bytes read in 3 ms (6.2 MiB/s)
## Booting kernel from Legacy Image at 42000000 ...
   Image Name:   ARM OpenWrt Linux-5.4.31
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3077968 Bytes = 2.9 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
EHCI failed to shut down host controller.
   Loading Kernel Image
   Using Device Tree in place at 43000000, end 43007c28

Starting kernel ...
15.05.20203099KernelBug ReportVery LowCriticalTP-Link C2600 Kernel 5.4 crashes while accessing invali...TrunkUnconfirmed Task Description

Linux kernel experiences an oops from time to time
- Device: TP-Link Archer C2600
- Kernel Version: 5.4.40
- OpenWRT Version: OpenWrt SNAPSHOT, r13224+16-2308644b0c
- Steps to reproduce: Simply wait. After an unknown amount of time the kernels crashes leading to a reboot.

 


30.06.20203211KernelBug ReportVery LowCriticalwrt1200ac issue with mvneta driver in 5.4 kernel - inte...TrunkUnconfirmed Task Description

wrt1200ac works OK with 4.19.108 kernel. eth1 is the upstream port, eth0 is the 4 local gigabit ports. dmesg reports:

[ 1.098981] 0×000000280000-0×000000900000 : “unused_area” [ 1.105081] libphy: Fixed MDIO Bus: probed
[ 1.109546] libphy: orion_mdio_bus: probed
[ 1.113853] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[ 1.122882] mvneta f1070000.ethernet eth0: Using hardware mac address c0:56:27:70:5b:65
[ 1.132447] mvneta f1034000.ethernet eth1: Using random mac address 9e:2e:40:0f:3a:63
[ 1.140510] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 1.147081] ehci-pci: EHCI PCI platform driver
[ 1.151575] ehci-platform: EHCI generic platform driver
[ 1.156913] ehci-orion: EHCI orion driver
[ 1.161040] orion-ehci f1058000.usb: EHCI Host Controller

Under the 5.4.48 kernel, eth1 doesn’t show up, so no upstream connectivity.

[ 1.208713] orion-mdio f1072004.mdio: IRQ index 0 not found
[ 1.214360] libphy: orion_mdio_bus: probed
[ 1.218622] mv88e6085 f1072004.mdio-mii:00: switch 0×1760 detected: Marvell 88E6176, revision 1
[ 1.389672] libphy: mv88e6xxx SMI: probed
[ 1.395805] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[ 1.404784] mvneta f1070000.ethernet eth0: Using hardware mac address c0:56:27:70:5b:65
[ 1.412919] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 1.419511] ehci-pci: EHCI PCI platform driver
[ 1.424011] ehci-platform: EHCI generic platform driver
[ 1.429356] ehci-orion: EHCI orion driver
[ 1.433476] orion-ehci f1058000.usb: EHCI Host Controller


01.08.20203262KernelBug ReportVery LowCriticalpcduino(sunxi/cortexa8) kernel panic on openwrt snapsh...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on pcduino [target/linux/sunxi/cortexa8]
- Software versions of OpenWrt/LEDE release, packages, etc.
- Steps to reproduce


U-Boot SPL 2020.04 (Jul 31 2020 - 21:50:38 +0000)
DRAM: 1024 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1 U-Boot 2020.04 (Jul 31 2020 - 21:50:38 +0000) Allwinner Technology CPU: Allwinner A10 (SUN4I)
Model: LinkSprite pcDuino
I2C: ready
DRAM: 1 GiB
MMC: mmc@1c0f000: 0
Loading Environment from FAT...
* Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: eth0: ethernet@1c0b000
starting USB...
Bus usb@1c14000: USB EHCI 1.00
Bus usb@1c14400: USB OHCI 1.0
Bus usb@1c1c000: USB EHCI 1.00
Bus usb@1c1c400: USB OHCI 1.0
scanning bus usb@1c14000 for devices... 1 USB Device(s) found
scanning bus usb@1c14400 for devices... 1 USB Device(s) found
scanning bus usb@1c1c000 for devices... 1 USB Device(s) found
scanning bus usb@1c1c400 for devices... 1 USB Device(s) found

     scanning usb for storage devices... 0 Storage Device(s) found

Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
377 bytes read in 1 ms (368.2 KiB/s)
## Executing script at 43100000
3308120 bytes read in 265 ms (11.9 MiB/s)
22889 bytes read in 5 ms (4.4 MiB/s)
## Booting kernel from Legacy Image at 42000000 ...

 Image Name:   ARM OpenWrt Linux-5.4.52
 Image Type:   ARM Linux Kernel Image (uncompressed)
 Data Size:    3308056 Bytes = 3.2 MiB
 Load Address: 40008000
 Entry Point:  40008000
 Verifying Checksum ... OK

## Flattened Device Tree blob at 43000000

 Booting using the fdt blob at 0x43000000

EHCI failed to shut down host controller.

 Loading Kernel Image
 Using Device Tree in place at 43000000, end 43008968

Starting kernel ...

**

kernel panic

22.08.20203300KernelBug ReportVery LowCriticalQualcomm, MediaTek Wi-Fi Chips Vulnerable to Kr00k-Like...AllUnconfirmed Task Description

I don’t know if openwrt is/was affected
https://www.securityweek.com/qualcomm-mediatek-wi-fi-chips-vulnerable-kr00k-attacks

16.11.20203457KernelBug ReportVery LowCriticalipq40xx: NBG6617/B-1300 using VLANs is incredibly slow ...openwrt-19.07Unconfirmed Task Description

The listed config below is running fine on 19.07 till 19.07.3. From 19.07.4 on the throughput to peers on the tagged VLANs falls below 10Mbit/s. Seems there is some regression introduced on 19.07.4.

Sample config:

config interface 'ff_dhcp'
	option proto 'static'
	option ifname 'eth0.30'
	option ipaddr '10.36.164.65/27'

config interface 'mgmt'
	option proto 'static'
	option ifname 'eth0.42'
	option ipaddr '10.36.190.177/28'

config switch_vlan
	option device 'switch0'
	option vlan '30'
	option ports '0t 3 4'

config switch_vlan
	option device 'switch0'
	option vlan '42'
	option ports '0t 3t 4t'

* Note:
As essedma has some bugs i cannot use switchport, which is hardcoded to VLAN2. But i’m fine with just leaving it as it is.

Showing tasks 101 - 150 of 1029 Page 3 of 21 - 1 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing