OpenWrt/LEDE Project

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

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

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

OpenedIDCategoryTask TypePrioritySeveritySummaryReported InStatus
29.05.20192298PackagesBug ReportVery LowLowigmpproxy should restart on WAN ifup instead of using a...openwrt-18.06Unconfirmed Task Description

I’m using igmpproxy for IPTV on openwrt-18.06.2-ar71xx-generic-tl-wr1043nd-v1-squashfs-sysupgrade.bin

In the past I’ve been bitten by a version of this bug:

https://dev.archive.openwrt.org/ticket/20443#

Basically igmpproxy will not always start or continue to work when the wan network does ifup/ifdown.

I solved it with the solution listed there:

““” /etc/hotplug.d/iface/40-igmpproxy with this content

#!/bin/sh
[ “$INTERFACE” = wan ] && [ “$ACTION” = ifup ] && /etc/init.d/igmpproxy restart

and run

/etc/init.d/igmpproxy disable
““”

That seems like a better default, maybe even restarting on any ifup and not just wan, to make it fullproof against weirder setups with interfaces named differently.

26.05.20192295Base systemBug ReportVery LowMediumWebsite interface not accessible via port 80openwrt-18.06Unconfirmed Task Description

Model Buffalo WZR-HP-G300NH
Architecture Atheros AR9132 rev 2
Firmware Version OpenWrt 18.06.2 r7676-cddd7b4c77 / LuCI openwrt-18.06 branch (git-19.020.41695-6f6641d)
Kernel Version 4.9.152

After boot, I cannot access the configuration interface via port 80.
Investigation reveals the following:

- netstat: uhttpd is not listening on port 80

# netstat -anp | grep uhttpd
tcp 0 0 0.0.0.0:9443 0.0.0.0:* LISTEN 921/uhttpd
tcp 0 0 0.0.0.0:9080 0.0.0.0:* LISTEN 921/uhttpd

- ps: uhttpd _should_ be listening on port 80

# ps | grep uhttpd

921 root      1328 S    /usr/sbin/uhttpd -f -h /www -r skynet -x /cgi-bin -t 60 -T 30 -A 1 -n 3 -R -p 0.0.0.0:9080 -p <br-lan IP>:80 -p 0.0.0.0:9443

- logread: Something went screwy at startup

# logread | grep httpd
Sun May 26 11:51:26 2019 daemon.err uhttpd[921]: bind(): Address not available

If I run `/etc/init.d/uhttpd restart`, the service comes up properly, listening on port 80; this suggests that something is interfering during early startup, though I have no idea what it could possibly be.

24.05.20192292KernelFeature RequestVery LowLowSupport AWS ENA NICTrunkUnconfirmed Task Description

Hi,

it’s possible to provide the ena kernel driver as separat module/package? The latest generation of EC2 requires the usage of ENA and this driver is inside the official linux long time ago.

Kernel Module: https://github.com/torvalds/linux/tree/master/drivers/net/ethernet/amazon/ena

ENA documentation: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking-ena.html

16.05.20192287Base systemBug ReportVery LowLowJumbo frames not working on MT7530TrunkUnconfirmed Task Description
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r9992-86fd8cb'
DISTRIB_TARGET='ramips/mt7620'
DISTRIB_ARCH='mipsel_24kc'
DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT r9992-86fd8cb'
DISTRIB_TAINTS=''
system type		: MediaTek MT7620A ver:2 eco:6
machine			: Edimax BR-6478AC v2
processor		: 0
cpu model		: MIPS 24KEc V5.0
BogoMIPS		: 385.84
wait instruction	: yes
microsecond timers	: yes
tlb_entries		: 32
extra interrupt vector	: yes
hardware watchpoint	: yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa			: mips1 mips2 mips32r1 mips32r2
ASEs implemented	: mips16 dsp
Options implemented	: tlb 4kex 4k_cache prefetch mcheck ejtag llsc pindexed_dcache userlocal vint perf_cntr_intr_bit nan_legacy nan_2008 perf
shadow register sets	: 1
kscratch registers	: 0
package			: 0
core			: 0
VCED exceptions		: not available
VCEI exceptions		: not available
root@ap-02:~# ifconfig eth0 mtu 1500
root@ap-02:~# ifconfig eth0 mtu 1501
ifconfig: SIOCSIFMTU: Invalid argument
root@ap-02:~# ifconfig eth0 mtu 9000
ifconfig: SIOCSIFMTU: Invalid argument
root@ap-02:~# ifconfig eth0 mtu 1400
root@ap-02:~# 

Should support 9k frames (https://files.iczoom.com/hjiczoom/images/public/basicproduct/1478829119360_MT7530W.pdf)

15.05.20192285Base systemBug ReportVery LowLowKERNEL_IN_UBI=0 is ineffective in image-commands.mkopenwrt-18.06Assigned Task Description

device: marvell kirkwood 88f6281
system: openwrt 18.06.2

I want to get a *.factory.bin without kernel, but it is ineffective to set KERNEL_IN_UBI=0 in openwrt-18.06.2/target/linux/kirkwood/image/Makefile.

I got the wrong place in openwrt-18.06.2/include/image-commands.mk, line:177, it should be

$(if $(filter $(KERNEL_IN_UBI), 1), –kernel $(IMAGE_KERNEL))

Maybe it is the same wrong in line 176, but i’m not sure, because i don’t find where UBOOTENV_IN_UBI is used.

13.05.20192280PackagesBug ReportVery LowHighbridge iface with NO-CARRIER unreachable over ipv6openwrt-18.06Unconfirmed Task Description

Supply the following if possible:

- Device problem occurs on

ubus -S call system board

{”kernel”:”4.14.113”,”hostname”:”to”,”system”:”ARMv7 Processor rev 1 (v7l)”,”model”:”Turris Omnia”,”board_name”:”armada-385-turris-omnia”,”release”:{”distribution”:”TurrisOS”,”version”:”4.0-beta1”,”revision”:”0663455801”,”target”:”mvebu\/cortexa9”,”description”:”TurrisOS 4.0-beta1 0663455801”}}


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


- Steps to reproduce

With no client (NO-CARRIER) connected to the br-iface its ipv6 is not accessible whilst ipv4 is. Connecting a client to the br-iface and its ipv6 becomes accessible.

It would be expected that the br-iface is accessible not only via ipv4 but also ipv6 regardless of the Carrier state as long as the br-iface is up.

config globals 'globals'
	option ula_prefix 'fd30:d64c:1eed::/48'

config interface 'mgt'
	option type 'bridge'
	option bridge_empty '1'
	option proto 'static'
	option ipaddr '192.168.112.12'
	option netmask '255.255.255.0'
	list ip6addr 'fd30:d64c:1eed:4c3a::12'
	option ip6assign '64'
	option ip6hint '4c3a'
	option ip6ifaceid 'random'
	option ifname 'lan3'
ifstatus mgt
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "uptime": 44703,
        "l3_device": "br-mgt",
        "proto": "static",
        "device": "br-mgt",
        "updated": [
                "addresses"
        ],
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [
                {
                        "address": "192.168.112.12",
                        "mask": 24
                }
        ],
        "ipv6-address": [
                {
                        "address": "fd30:d64c:1eed:4c3a::12",
                        "mask": 128
                }
        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [
                {
                        "address": "fd30:d64c:1eed:4c3a::",
                        "mask": 64,
                        "local-address": {
                                "address": "fd30:d64c:1eed:4c3a:17c8:d407:23a0:d524",
                                "mask": 64
                        }
                }
        ],
        "route": [

        ],
        "dns-server": [

        ],
        "dns-search": [

        ],
        "inactive": {
                "ipv4-address": [

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ]
        },
        "data": {

        }
}
ip l show up | grep mgt
8: lan3@eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-mgt state LOWERLAYERDOWN mode DEFAULT group default qlen 1000
18: br-mgt: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
ip -o a show br-mgt
18: br-mgt    inet 192.168.112.12/24 brd 192.168.112.255 scope global br-mgt\       valid_lft forever preferred_lft forever
18: br-mgt    inet6 fd30:d64c:1eed:4c3a:17c8:d407:23a0:d524/64 scope global tentative noprefixroute \       valid_lft forever preferred_lft forever
18: br-mgt    inet6 fd30:d64c:1eed:4c3a::12/128 scope global tentative \       valid_lft forever preferred_lft forever
  • ip routing tables of the br-iface with NO-CARRIER
ip route show table all dev br-mgt
192.168.112.0/24 proto kernel scope link src 192.168.112.12 linkdown
broadcast 192.168.112.0 table local proto kernel scope link src 192.168.112.12 linkdown
local 192.168.112.12 table local proto kernel scope host src 192.168.112.12
broadcast 192.168.112.255 table local proto kernel scope link src 192.168.112.12 linkdown
fd30:d64c:1eed:4c3a::12 proto kernel metric 256 linkdown pref medium
fd30:d64c:1eed:4c3a::/64 proto static metric 1024 linkdown pref medium
ff00::/8 table local metric 256 linkdown pref medium
 
  • ip routing tables of the br-iface with CARRIER
ip route show table all dev br-mgt
192.168.112.0/24 proto kernel scope link src 192.168.112.12
broadcast 192.168.112.0 table local proto kernel scope link src 192.168.112.12
local 192.168.112.12 table local proto kernel scope host src 192.168.112.12
broadcast 192.168.112.255 table local proto kernel scope link src 192.168.112.12
fd30:d64c:1eed:4c3a::12 proto kernel metric 256 pref medium
fd30:d64c:1eed:4c3a::/64 proto static metric 1024 pref medium
fe80::/64 proto kernel metric 256 pref medium
anycast fd30:d64c:1eed:4c3a:: table local proto kernel metric 0 pref medium
local fd30:d64c:1eed:4c3a::12 table local proto kernel metric 0 pref medium
local fd30:d64c:1eed:4c3a:17c8:d407:23a0:d524 table local proto kernel metric 0 pref medium
anycast fe80:: table local proto kernel metric 0 pref medium
local fe80::da58:d7ff:fe00:797a table local proto kernel metric 0 pref medium
ff00::/8 table local metric 256 pref medium

Comparing the ip routing tables of the different Carrier states it is apparent that NO-CARRIER state is short of a few routing entries pertaining to ipv6.

11.05.20192278Base systemFeature RequestVery LowVery LowRFE: Replace iptables(legacy) with iptables(nf_tables)TrunkUnconfirmed Task Description

Supported since iptables 1.8: https://marc.info/?l=netfilter-devel&m=153086953903487

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`

06.05.20192272Base systemBug ReportVery LowLowSlow throughput from LAN to WANTrunkUnconfirmed Task Description

Supply the following if possible:
- TP-Link Archer A7
- Snapshot
- Connect via Wireless. Place WAN port in VLAN 1 (LAN) and connect WAN port to internet router LAN side. Throughput is fine. Move WAN port to VLAN 2 (WAN) with the same configuration and throughput drops to ~150mbps.

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


06.05.20192268PackagesBug ReportVery LowLow[dnsmasq/odhcpd] uninstalling dnsmasq is deleting setti...openwrt-18.06Unconfirmed Task Description

utilising odhcpd for ipv4/6 queries led to uninstalling dnsmsaq from the system and in due course the file /etc/config/dhcp got wiped. Said file however holds the settings for odhcpd as well and thus is expected to be retained.

Since the /etc/config/dhcp holds the settings for both, dnsmasq and odhcpd, it should not be wiped if either packages gets uninstalled.

 


04.05.20192267WebsiteFeature RequestVery LowLowdownloads.openwrt.org: Upgrade from Debian 8 to 9, offe...TrunkUnconfirmed Task Description

The webserver on downloads.openwrt.org currently only offers AES, Camellia and 3DES ciphersuites for HTTPS connections, since the server is running Debian 8, nginx 1.6.2 and OpenSSL 1.0.1t.

An upgrade to Debian 9 with nginx 1.10.3 and OpenSSL 1.1.0j would be appreciated since this would enable the webserver to offer ChaCha20 ciphersuites, which offer a huge performance increase for embedded devices without AES-NI or similar hardware acceleration for AES.

02.05.20192264Base systemBug ReportVery LowHighlibc.so kernel error: do_page_fault(): sending SIGSEGV ...TrunkWaiting on reporter Task Description

newest trunk: OpenWrt SNAPSHOT r9915-d6643ac

Thu May  2 03:19:52 2019 kern.info kernel: [ 1729.225129] do_page_fault(): sending SIGSEGV to exec read for invalid write access to 00000000
Thu May  2 03:19:52 2019 kern.info kernel: [ 1729.225143] do_page_fault(): sending SIGSEGV to exec read for invalid write access to 00000000
Thu May  2 03:19:52 2019 kern.info kernel: [ 1729.225166] epc = 77f271a0 in
Thu May  2 03:19:52 2019 kern.info kernel: [ 1729.233799] epc = 77f271a0 in
Thu May  2 03:19:52 2019 kern.warn kernel: [ 1729.242495]  libc.so[77efe000+95000]
Thu May  2 03:19:52 2019 kern.warn kernel: [ 1729.245440]  libc.so[77efe000+95000]
Thu May  2 03:19:52 2019 kern.info kernel: [ 1729.248402] ra  = 77f1b4b4 in libc.so[77efe000+95000]
Thu May  2 03:19:52 2019 kern.info kernel: [ 1729.252079] ra  = 77f1b4b4 in
Thu May  2 03:19:52 2019 kern.warn kernel: [ 1729.263788]  libc.so[77efe000+95000]
29.04.20192262Base systemBug ReportVery LowMedium“Reset to defaults” does not remove all files/directori...TrunkUnconfirmed Task Description

In the GUI, if you wipe your router with “Reset to defaults”, it does not correctly remove “hidden” directories such as .ssh/

The file and directory walking in jffs2reset.c, when done from the GUI, is not including the “hidden” subdirectories (and possibly hidden files).

When I do “umount /overlay && jffs2reset && reboot” from the command line, the .ssh/ directory is fully removed as expected.

Full discussion can be found at https://forum.openwrt.org/t/reset-to-defaults-does-not-remove-root-ssh-directory/34804

28.04.20192261Base systemBug ReportVery LowMediumcommit baaf38c5e540b23ba086d94743de860b60c37161 prevent...TrunkUnconfirmed Task Description

This commit: https://git.openwrt.org/?p=project/procd.git;a=commit;h=baaf38c5e540b23ba086d94743de860b60c37161 deletes the PROCD instance on exit, however it is being used in the simple-adblock package https://github.com/openwrt/packages/blob/master/net/simple-adblock/files/simple-adblock.init#L141-L154 to store runtime info.

On snapshots this information now gets deleted.

Could the powers that be either:
1. Offer an option to not automatically delete PROCD info on instance exit
2. Rule that a misuse of PROCD so that I can then store runtime info on tmpfs instead

Don’t know how to tag Kristian Evensen kristian.evensen@gmail.com and Hans Dedecker dedeckeh@gmail.com in the bug.

26.04.20192260Base systemBug ReportVery LowMediumArcher c2 v3 (AC900) 802.11nac memory leakTrunkUnconfirmed Task Description

Hi, I have a Archer C2 v3 (AC900) that I flashed the latest snapshot on and I noticed that it would crash (and freeze up) constantly if any 5 GHz WiFi device is connected - due to what I suspected is a kernel memory leak (though I’m no kernel hacker).

I observed that memory was being eaten up but not by any process I could see.
The AP has been running fine for the last few days with 802.11nac disabled, so that’s my where I’ve drawn my conclusion.

  • Model: TP-Link Archer C2 v3
  • Architecture: Qualcomm Atheros QCA956X ver 1 rev 0
  • Firmware Version: OpenWrt SNAPSHOT r9886-399aa0b / LuCI Master (f138fc93)
  • Kernel Version: 4.14.111
[  304.013122] oom_reaper: reaped process 1699 (hostapd), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
[  303.026613] Killed process 1699 (hostapd) total-vm:1752kB, anon-rss:132kB, file-rss:4kB, shmem-rss:0kB
[  303.018847] Out of memory: Kill process 1699 (hostapd) score 2 or sacrifice child
[  303.009704] [ 1699]     0  1699      438       34       3       0        0             0 hostapd
[  303.000819] [ 1463]     0  1463      300       13       4       0        0             0 ntpd
[  302.991816] [ 1203]     0  1203      331       28       5       0        0             0 uhttpd
[  302.982774] [ 1145]     0  1145      358       28       4       0        0             0 odhcpd
[  302.973572] [ 1054]     0  1054      266       10       3       0        0             0 dropbear
[  302.964440] [ 1021]   453  1021      332       24       3       0        0             0 dnsmasq
[  302.955614] [  969]     0   969      384       25       5       0        0             0 rpcd
[  302.946522] [  950]     0   950      338       23       4       0        0             0 logread
[  302.937699] [  949]     0   949      308       25       4       0        0             0 logd
[  302.928444] [  531]     0   531      227       10       3       0        0             0 askfirst
[  302.919413] [  530]     0   530      300       18       5       0        0             0 ubusd
[  302.910394] [ pid ]   uid  tgid total_vm      rss nr_ptes nr_pmds swapents oom_score_adj name
[  302.907154] 1592 pages reserved
[  302.903136] 0 pages HighMem/MovableOnly
[  302.900257] 16384 pages RAM
[  302.897232] Total swap = 0kB
[  302.894262] Free swap  = 0kB
[  302.888857] Swap cache stats: add 0, delete 0, find 0/0
[  302.885429] 0 pages in swap cache
[  302.881639] 391 total pagecache pages
[  302.866462] Normal: 251*4kB (UE) 160*8kB (UME) 75*16kB (UME) 28*32kB (UME) 14*64kB (ME) 7*128kB (UME) 4*256kB (ME) 2*512kB (ME) 0*1024kB 0*2048kB 0*4096kB = 8220kB
[  302.863015] lowmem_reserve[]: 0 0
[  302.834854] Normal free:8220kB min:8192kB low:10240kB high:12288kB active_anon:1360kB inactive_anon:96kB active_file:400kB inactive_file:720kB unevictable:0kB writepending:0kB present:65536kB managed:59168kB mlocked:0kB kernel_stack:344kB pagetables:188kB bounce:0kB free_pcp:16kB local_pcp:16kB free_cma:0kB
[  302.811800] Node 0 active_anon:1360kB inactive_anon:96kB active_file:400kB inactive_file:720kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:16kB dirty:0kB writeback:0kB shmem:444kB writeback_tmp:0kB unstable:0kB all_unreclaimable? yes
[  302.778976]  free:2055 free_pcp:4 free_cma:0
[  302.778976]  mapped:4 shmem:111 pagetables:47 bounce:0
[  302.778976]  slab_reclaimable:188 slab_unreclaimable:1255
[  302.778976]  unevictable:0 dirty:0 writeback:0 unstable:0
[  302.778976]  active_file:100 inactive_file:180 isolated_file:0
[  302.778976] active_anon:340 inactive_anon:24 isolated_anon:0
[  302.776610] Mem-Info:
[  302.771058] [<8007742c>] tlb_do_page_fault_0+0x10c/0x114
[  302.765924] [<80071ad0>] __do_page_fault+0x120/0x468
[  302.760774] [<8011d704>] handle_mm_fault+0x6f8/0xb3c
[  302.756079] [<8011917c>] __do_fault+0x114/0x190
[  302.751107] [<800f2f5c>] filemap_fault+0x3ec/0x5d8
[  302.745271] [<800fa3d8>] __alloc_pages_nodemask+0x83c/0xbc4
[  302.740293] [<800f603c>] out_of_memory+0x3bc/0x430
[  302.735161] [<800f53a8>] oom_kill_process+0xa8/0x4f8
[  302.729752] [<800f619c>] dump_header.isra.6+0x8c/0x1d0
[  302.725162] [<8006a90c>] show_stack+0x58/0x100
[  302.722589] Call Trace:
[  302.720041]         ...
[  302.711271]         00000002 00200000 ffffffff 00000024 00000001 8027a424 00000000 80690000
[  302.702561]         00000159 e6e9317e 00000158 00000000 80000000 839bec00 830afd40 804e9bf0
[  302.693851]         00000000 00000000 80690000 00007380 00000000 00000000 00000007 00000000
[  302.685185]         804e1dc0 000003b5 80693670 00200000 ffffffff 00000001 830afb58 fa6978f3
[  302.676485] Stack : 80560000 80510e3c 00000000 00000000 804e5be8 830afba4 83a2d35c 8053d9c7
[  302.670432] CPU: 0 PID: 949 Comm: logd Not tainted 4.14.111 #0
[  302.657882] logd invoked oom-killer: gfp_mask=0x14201ca(GFP_HIGHUSER_MOVABLE|__GFP_COLD), nodemask=(null),  order=0, oom_score_adj=0
[  302.309890] oom_reaper: reaped process 1685 (hostapd), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
[  302.095352] Killed process 1685 (hostapd) total-vm:1752kB, anon-rss:132kB, file-rss:4kB, shmem-rss:0kB
[  302.087575] Out of memory: Kill process 1685 (hostapd) score 2 or sacrifice child
[  302.078410] [ 1699]     0  1699      438       34       3       0        0             0 hostapd
[  302.069324] [ 1685]     0  1685      438       34       4       0        0             0 hostapd
[  302.060439] [ 1463]     0  1463      300       12       4       0        0             0 ntpd
[  302.051384] [ 1203]     0  1203      331       28       5       0        0             0 uhttpd
[  302.042372] [ 1145]     0  1145      358       27       4       0        0             0 odhcpd
[  302.033206] [ 1054]     0  1054      266       10       3       0        0             0 dropbear
[  302.024095] [ 1021]   453  1021      332       24       3       0        0             0 dnsmasq
[  302.015217] [  969]     0   969      384       25       5       0        0             0 rpcd
[  302.006119] [  950]     0   950      338       23       4       0        0             0 logread
[  301.997186] [  949]     0   949      308       25       4       0        0             0 logd
[  301.987960] [  531]     0   531      227       10       3       0        0             0 askfirst
[  301.979026] [  530]     0   530      300       18       5       0        0             0 ubusd
[  301.970123] [ pid ]   uid  tgid total_vm      rss nr_ptes nr_pmds swapents oom_score_adj name
[  301.966881] 1592 pages reserved
[  301.962886] 0 pages HighMem/MovableOnly
[  301.959979] 16384 pages RAM
[  301.957011] Total swap = 0kB
[  301.954002] Free swap  = 0kB
[  301.948530] Swap cache stats: add 0, delete 0, find 0/0
[  301.945105] 0 pages in swap cache
[  301.941248] 268 total pagecache pages
[  301.925785] Normal: 216*4kB (UME) 116*8kB (UME) 100*16kB (UME) 28*32kB (UME) 15*64kB (UME) 7*128kB (UME) 4*256kB (ME) 2*512kB (ME) 0*1024kB 0*2048kB 0*4096kB = 8192kB
[  301.922333] lowmem_reserve[]: 0 0
[  301.894133] Normal free:8160kB min:8192kB low:10240kB high:12288kB active_anon:1492kB inactive_anon:96kB active_file:100kB inactive_file:528kB unevictable:0kB writepending:0kB present:65536kB managed:59168kB mlocked:0kB kernel_stack:344kB pagetables:204kB bounce:0kB free_pcp:64kB local_pcp:64kB free_cma:0kB
[  301.871130] Node 0 active_anon:1492kB inactive_anon:96kB active_file:100kB inactive_file:528kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:12kB dirty:0kB writeback:0kB shmem:444kB writeback_tmp:0kB unstable:0kB all_unreclaimable? yes
[  301.838184]  free:2040 free_pcp:16 free_cma:0
[  301.838184]  mapped:3 shmem:111 pagetables:51 bounce:0
[  301.838184]  slab_reclaimable:187 slab_unreclaimable:1293
[  301.838184]  unevictable:0 dirty:0 writeback:0 unstable:0
[  301.838184]  active_file:25 inactive_file:132 isolated_file:0
[  301.838184] active_anon:373 inactive_anon:24 isolated_anon:0
[  301.835814] Mem-Info:
[  301.830313] [<8007742c>] tlb_do_page_fault_0+0x10c/0x114
[  301.825184] [<80071ad0>] __do_page_fault+0x120/0x468
[  301.820007] [<8011d704>] handle_mm_fault+0x6f8/0xb3c
[  301.815322] [<8011917c>] __do_fault+0x114/0x190
[  301.810224] [<800f2f5c>] filemap_fault+0x3ec/0x5d8
[  301.804444] [<800fa3d8>] __alloc_pages_nodemask+0x83c/0xbc4
[  301.799458] [<800f603c>] out_of_memory+0x3bc/0x430
[  301.794191] [<800f53a8>] oom_kill_process+0xa8/0x4f8
[  301.788859] [<800f619c>] dump_header.isra.6+0x8c/0x1d0
[  301.784209] [<8006a90c>] show_stack+0x58/0x100
[  301.781640] Call Trace:
[  301.779107]         ...
[  301.770374]         00000002 00200000 ffffffff 00000024 00000001 8027a424 00000000 80690000
[  301.761722]         00000128 909bf38e 00000127 00000000 80000000 839be100 830afd40 804e9bf0
[  301.753035]         00000000 00000000 80690000 00006230 00000000 00000000 00000007 00000000
[  301.744324]         804e1dc0 000003b5 80693670 00200000 ffffffff 00000001 830afb58 fa6978f3
[  301.735678] Stack : 80560000 80510e3c 00000000 00000000 804e5be8 830afba4 83a2d35c 8053d9c7
[  301.729640] CPU: 0 PID: 949 Comm: logd Not tainted 4.14.111 #0
[  301.717281] logd invoked oom-killer: gfp_mask=0x14201ca(GFP_HIGHUSER_MOVABLE|__GFP_COLD), nodemask=(null),  order=0, oom_score_adj=0
[  300.068287] oom_reaper: reaped process 1111 (netifd), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
[  298.840190] Killed process 1111 (netifd) total-vm:1660kB, anon-rss:144kB, file-rss:4kB, shmem-rss:0kB
[  298.832509] Out of memory: Kill process 1111 (netifd) score 2 or sacrifice child
[  298.823358] [ 1699]     0  1699      438       34       3       0        0             0 hostapd
[  298.814195] [ 1685]     0  1685      438       34       4       0        0             0 hostapd
[  298.805300] [ 1463]     0  1463      300       12       4       0        0             0 ntpd
[  298.796187] [ 1203]     0  1203      331       28       5       0        0             0 uhttpd
[  298.787006] [ 1145]     0  1145      358       27       4       0        0             0 odhcpd
[  298.777948] [ 1111]     0  1111      415       37       5       0        0             0 netifd
[  298.768710] [ 1054]     0  1054      266       10       3       0        0             0 dropbear
[  298.759616] [ 1021]   453  1021      332       24       3       0        0             0 dnsmasq
[  298.750771] [  969]     0   969      384       25       5       0        0             0 rpcd
[  298.741676] [  950]     0   950      338       23       4       0        0             0 logread
[  298.732782] [  949]     0   949      308       25       4       0        0             0 logd
[  298.723521] [  531]     0   531      227       10       3       0        0             0 askfirst
[  298.714515] [  530]     0   530      300       17       5       0        0             0 ubusd
[  298.705469] [ pid ]   uid  tgid total_vm      rss nr_ptes nr_pmds swapents oom_score_adj name
[  298.702198] 1592 pages reserved
[  298.698173] 0 pages HighMem/MovableOnly
[  298.695288] 16384 pages RAM
[  298.692294] Total swap = 0kB
[  298.689327] Free swap  = 0kB
[  298.683886] Swap cache stats: add 0, delete 0, find 0/0
[  298.680426] 0 pages in swap cache
[  298.676600] 346 total pagecache pages
[  298.661855] Normal: 152*4kB (UM) 89*8kB (UM) 99*16kB (UM) 27*32kB (UM) 14*64kB (M) 7*128kB (UM) 4*256kB (M) 3*512kB (UM) 0*1024kB 0*2048kB 0*4096kB = 8120kB
[  298.658414] lowmem_reserve[]: 0 0
[  298.630423] Normal free:8152kB min:8192kB low:10240kB high:12288kB active_anon:1636kB inactive_anon:96kB active_file:344kB inactive_file:596kB unevictable:0kB writepending:0kB present:65536kB managed:59168kB mlocked:0kB kernel_stack:344kB pagetables:224kB bounce:0kB free_pcp:8kB local_pcp:8kB free_cma:0kB
[  298.607453] Node 0 active_anon:1636kB inactive_anon:96kB active_file:344kB inactive_file:596kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:8kB dirty:0kB writeback:0kB shmem:444kB writeback_tmp:0kB unstable:0kB all_unreclaimable? yes
[  298.574765]  free:2038 free_pcp:2 free_cma:0
[  298.574765]  mapped:2 shmem:111 pagetables:56 bounce:0
[  298.574765]  slab_reclaimable:192 slab_unreclaimable:1293
[  298.574765]  unevictable:0 dirty:0 writeback:0 unstable:0
[  298.574765]  active_file:86 inactive_file:149 isolated_file:0
[  298.574765] active_anon:409 inactive_anon:24 isolated_anon:0
[  298.572370] Mem-Info:
[  298.566889] [<8007742c>] tlb_do_page_fault_0+0x10c/0x114
[  298.561745] [<80071ad0>] __do_page_fault+0x120/0x468
[  298.556600] [<8011d704>] handle_mm_fault+0x6f8/0xb3c
[  298.551902] [<8011917c>] __do_fault+0x114/0x190
[  298.546945] [<800f2d34>] filemap_fault+0x1c4/0x5d8
[  298.540878] [<800fefec>] __do_page_cache_readahead+0x1cc/0x270
[  298.535557] [<801a7540>] squashfs_readpage+0x538/0x6e8
[  298.529715] [<801a972c>] squashfs_readpage_block+0xcc/0x530
[  298.525194] [<801355f0>] __kmalloc+0xfc/0x1cc
[  298.518532] [<80134f30>] __slab_alloc.isra.21.constprop.24+0x20/0x44
[  298.511643] [<80134e4c>] ___slab_alloc.isra.20.constprop.25+0x16c/0x230
[  298.507066] [<80133b00>] new_slab+0x2fc/0x340
[  298.501242] [<800fa3d8>] __alloc_pages_nodemask+0x83c/0xbc4
[  298.496196] [<800f603c>] out_of_memory+0x3bc/0x430
[  298.491012] [<800f53a8>] oom_kill_process+0xa8/0x4f8
[  298.485709] [<800f619c>] dump_header.isra.6+0x8c/0x1d0
[  298.481099] [<8006a90c>] show_stack+0x58/0x100
[  298.478554] Call Trace:
[  298.476025]         ...
[  298.467370]         00000002 00200000 ffffffff 00000024 00000000 8027a424 00000000 80690000
[  298.458721]         000000ef b37ee26c 000000ee 00000000 80000000 8392e680 82d31b28 804e9bf0
[  298.450056]         00000000 00000000 80690000 00004eb8 00000000 00000000 00000007 00000000
[  298.441383]         804e1dc0 00000479 80693670 00200000 ffffffff 00000001 82d31940 bcfe301c
[  298.432709] Stack : 80560000 80510e3c 00000000 00000000 804e5be8 82d3198c 839563dc 8053d9c7
[  298.426371] CPU: 0 PID: 1145 Comm: odhcpd Not tainted 4.14.111 #0
[  298.415616] odhcpd invoked oom-killer: gfp_mask=0x14000c0(GFP_KERNEL), nodemask=(null),  order=0, oom_score_adj=0
[   63.167540] random: crng init done
24.04.20192257KernelBug ReportVery LowMediumKernel (eventually) fails to load modules on Netgear R7...TrunkUnconfirmed Task Description

Per the subject, I have built myself a reasonably fat image with a bunch of kernel modules (since the device has a lot of memory and flash)

However, it was failing since the reserved memory area for kernel modules was quickly exhausted.

I would suggest either defaulting CONFIG_ARM_MODULE_PLTS to y or at least making it a configurable option.

23.04.20192250Base systemBug ReportVery LowLowNo wireless interface on D-Link DSL-2740B F1TrunkUnconfirmed Task Description

- Device problem occurs on D-Link DSL-2740B F1
- Software versions of OpenWrt/LEDE: OpenWrt 18.06.3 and Trunk

After flashing openwrt there are no wireless interfaces.
More info at:
https://forum.openwrt.org/t/openwrt-18-06-1-dont-show-wifi-wireless-network-and-dont-work/23482/31 https://forum.openwrt.org/t/lost-wireless-option-in-network-panel-after-reset-of-dsl-2740b/27618

[    0.000000] Linux version 4.14.111 (massy@massy-linux) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r9885-524810ce6d)) #0 Thu Apr 18 20:34:19 2019
[    0.000000] Detected Broadcom 0x6328 CPU revision b0
[    0.000000] CPU frequency is 320 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: 1.0.37-106.5
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0002a075 (Broadcom BMIPS4350)
[    0.000000] board: board name: AW4339U
[    0.000000] MIPS: machine is D-Link DSL-2740B/DSL-2741B rev F1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 16 bytes.
[    0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Zone ranges:
[    0.000000]  Normal  [mem 0x0000000000000000-0x0000000003ffffff]
[    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 804e6f20, node_mem_map 81005720
[    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] random: get_random_bytes called from start_kernel+0x80/0x480 with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc:
[li]0[/li]
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: rootfstype=squashfs,jffs2 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] Memory: 58348K/65536K available (3856K kernel code, 184K rwdata, 920K rodata, 1304K init, 207K bss, 7188K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11945377789 ns
[    0.000018] sched_clock: 32 bits at 160MHz, resolution 6ns, wraps every 13421772796ns
[    0.008126] Calibrating delay loop... 319.74 BogoMIPS (lpj=639488)
[    0.050493] pid_max: default: 32768 minimum: 301
[    0.055750] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.062606] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.078151] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.088199] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.094661] pinctrl core: initialized pinctrl subsystem
[    0.101164] NET: Registered protocol family 16
[    0.352138] registering PCI controller with io_map_base unset
[    0.397311] PCI host bridge to bus 0000:00
[    0.401573] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x10ffffff]
[    0.408636] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.415622] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.422610] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.430822] pci 0000:00:00.0: [14e4:6328] type 01 class 0x060400
[    0.430966] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.431429] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.440015] pci 0000:01:00.0: [168c:ff1c] type 00 class 0x020000
[    0.440110] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    0.440312] pci 0000:01:00.0: supports D1
[    0.440331] pci 0000:01:00.0: PME# supported from D0 D1 D3hot
[    0.440765] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.440802] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[    0.440868] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[    0.447901] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f0ffff 64bit]
[    0.455441] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.460538] pci 0000:00:00.0:  bridge window [mem 0x10f00000-0x10ffffff]
[    0.468904] clocksource: Switched to clocksource MIPS
[    0.476851] NET: Registered protocol family 2
[    0.483129] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.490419] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.497017] TCP: Hash tables configured (established 1024 bind 1024)
[    0.504119] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.510235] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.517260] NET: Registered protocol family 1
[    0.521862] pci 0000:01:00.0: invalid calibration data
[    0.527166] PCI: CLS 0 bytes, default 16
[    0.541917] Crashlog allocated RAM at address 0x3f00000
[    0.551270] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.570122] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.576154] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.614846] io scheduler noop registered
[    0.618908] io scheduler deadline registered (default)
[    0.625678] bcm6328-pinctrl 10000080.pin-controller: registered at mmio b0000080
[    0.634782] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    0.641659] 10000100.serial: ttyS0 at MMIO 0x10000100 (irq = 36, base_baud = 1562500) is a bcm63xx_uart
[    0.651409] console [ttyS0] enabled
[    0.658560] bootconsole [early0] disabled
[    0.684650] m25p80 spi1.0: mx25l6405d (8192 Kbytes)
[    0.690467] 4 fixed-partitions partitions found on MTD device spi1.0
[    0.697027] Creating 4 MTD partitions on "spi1.0":
[    0.701962] 0x000000000000-0x000000010000 : "cfe"
[    0.708498] 0x000000010000-0x0000007d0000 : "linux"
[    0.719371] parser_imagetag: rootfs: CFE image tag found at 0x0 with version 6, board type AW4339U
[    0.728645] parser_imagetag: Partition 0 is kernel offset 100 and length 1948a4
[    0.736161] parser_imagetag: Partition 1 is rootfs offset 1949a4 and length 62b65c
[    0.743949] parser_imagetag: Spare partition is offset 560004 and length 25fffc
[    0.751546] 2 bcm963xx-imagetag partitions found on MTD device linux
[    0.758100] Creating 2 MTD partitions on "linux":
[    0.762943] 0x000000000100-0x0000001949a4 : "kernel"
[    0.769911] 0x0000001949a4-0x0000007c0000 : "rootfs"
[    0.776600] mtd: device 3 (rootfs) set to be root filesystem
[    0.786344] 1 squashfs-split partitions found on MTD device rootfs
[    0.792769] 0x000000560000-0x0000007c0000 : "rootfs_data"
[    0.800013] 0x0000007d0000-0x0000007e0000 : "cal_data"
[    0.806986] 0x0000007e0000-0x000000800000 : "nvram"
[    0.815813] libphy: Fixed MDIO Bus: probed
[    0.861967] b53_common: found switch: BCM63xx, rev 0
[    0.867705] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.879137] NET: Registered protocol family 10
[    0.898611] Segment Routing with IPv6
[    0.902586] NET: Registered protocol family 17
[    0.907252] 8021q: 802.1Q VLAN Support v1.8
[    0.921452] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    0.946284] Freeing unused kernel memory: 1304K
[    0.950952] This architecture does not have kernel memory protection.
[    0.968954] random: fast init done
[    2.161318] init: Console is alive
[    2.165205] init: - watchdog -
[    4.118171] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.300774] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.310078] init: - preinit -
[    5.753281] random: jshn: uninitialized urandom read (4 bytes read)
[    5.853839] random: jshn: uninitialized urandom read (4 bytes read)
[    6.104203] random: jshn: uninitialized urandom read (4 bytes read)
[    7.158715] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.164974] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[    7.171876] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[    7.180372] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[    7.313446] urandom_read: 2 callbacks suppressed
[    7.313460] random: procd: uninitialized urandom read (4 bytes read)
[    8.161072] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  10.778473] jffs2: notice: (364) jffs2_build_xattr_subsystem: complete building xattr subsystem, 3 of xdatum (2 unchecked, 1 orphan) and 3 of xref (1 dead, 0 orphan) found.
[  10.798238] mount_root: switching to jffs2 overlay
[  10.870423] overlayfs: upper fs does not support tmpfile.
[  10.892702] urandom-seed: Seeding with /etc/urandom.seed
[  11.134674] procd: - early -
[  11.137979] procd: - watchdog -
[  11.893798] procd: - watchdog -
[  11.897578] procd: - ubus -
[  12.039719] random: ubusd: uninitialized urandom read (4 bytes read)
[  12.153115] random: ubusd: uninitialized urandom read (4 bytes read)
[  12.160660] random: ubusd: uninitialized urandom read (4 bytes read)
[  12.170116] procd: - init -
[  12.762559] kmodloader: loading kernel modules from /etc/modules.d/*
[  12.783453] tun: Universal TUN/TAP device driver, 1.6
[  12.920841] gre: GRE over IPv4 demultiplexor driver
[  12.931260] ip_gre: GRE over IPv4 tunneling driver
[  12.960508] ip6_tables: (C) 2000-2006 Netfilter Core Team
[  12.981808] Mirror/redirect action on
[  13.010683] u32 classifier
[  13.013531]    input device check on
[  13.017267]    Actions configured
[  13.055615] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[  13.099776] Loading modules backported from Linux version v4.19.32-0-g3a2156c839c7
[  13.107613] Backport generated by backports.git v4.19.32-1-0-g1c4f7569
[  13.137507] ip_tables: (C) 2000-2006 Netfilter Core Team
[  13.621957] xt_time: kernel timezone is -0000
[  13.928446] PPP generic driver version 2.4.2
[  13.951839] PPP MPPE Compression module registered
[  13.965547] NET: Registered protocol family 24
[  14.252600] kmodloader: done loading kernel modules from /etc/modules.d/*
[  17.533085] random: crng init done
[  17.536535] random: 1 urandom warning(s) missed due to ratelimiting
[  33.485194] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 4, 100Mbps, full-duplex
[  33.509892] br-lan: port 1(eth0.1) entered blocking state
[  33.515487] br-lan: port 1(eth0.1) entered disabled state
[  33.521654] device eth0.1 entered promiscuous mode
[  33.526610] device eth0 entered promiscuous mode
[  33.583926] br-lan: port 1(eth0.1) entered blocking state
[  33.589518] br-lan: port 1(eth0.1) entered forwarding state
[  33.595584] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[  34.498177] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
21.04.20192248PackagesFeature RequestVery LowLowuhttpd: implement ubus event listener via Server-Sent E...TrunkWaiting on reporter Task Description

Usecase:
As a web developer I would benefit from having the possibility to send events from the server to the browser so the browser can react to it dynamically.

The proposed implementation is the leanest possible.

A SSE (Server-Sent Event) is a simple protocol on top of basic http polling to send messages from the http server to the browser for the purpose of instant notifications.
It comes implemented in all major browsers, including mobile.

If paired with `ubus listen` or `ubus monitor`, a seamless integration with the ubus pipeline could be implemented.

We tried to implement it by adding an option in this line of code but got stuck in our lack of corutine mechanisms and how uhttpd works.

The difference with the call and list options is that this one should be long-lived and progressive, preventing the dreaded polling from the web (also, better us of resources, more elegant implementation, etc).

As an example, a very basic implementation of a SSE server in php:

<?php
header('Content-Type: text/event-stream');
header('Cache-Control: no-cache');

echo "data: \"hello world\"" . PHP_EOL;
echo PHP_EOL;
echo "data: \"goodbye world\"" . PHP_EOL;
echo PHP_EOL;
ob_flush();
flush();

An example of a very basic implementation of a SSE client in HTML:

<html>
	<body></body>
	<script>
	var source = new EventSource("demo_sse.php");
	source.onmessage = function(event) {
		document.getElementById("result").innerHTML += event.data + "<br>";
	}; 
	</script>
</html>
21.04.20192247KernelFeature RequestVery LowHighAllwinner H+ Enable wifi xradio-xr819 and soc-audio.AllUnconfirmed Task Description

Openwrt-master and openwrt-18.06.02, lede-18.06.02
Included support for wifi xradio-xr819 and soc-audio - Allwinner H + Xunlong Orange Pi Zero.

Patches are created. It is better if someone from the experts adds to the source code.

Patch openwrt-18.06.02

Patch Openwrt-master

Copy patch dts-add-usb2-usb3-soc_codec-opi_zero-wifi_xradio_xr819_openwrt-18.06.02.patch to <buld-dir Openwrt-master>

patch -p1 < dts-add-usb2-usb3-soc_codec-opi_zero-wifi_xradio_xr819_openwrt-18.06.02.patch

Copy patch dts-add-usb2-usb3-soc_codec-opi_zero-wifi_xradio_xr819_openwrt-master.patch>

patch -p1 < dts-add-usb2-usb3-soc_codec-opi_zero-wifi_xradio_xr819_openwrt-master.patch
20.04.20192246Base systemBug ReportVery LowMediumLatency is over 360ms for game PUBG for ath10k-ct firmw...TrunkUnconfirmed Task Description

We are developing a router based on IPQ4019.

In trunk, file target/linux/ipq40xx/Makefile, it uses ath10k-firmware-qca4019-ct, which is firmware provided by Candela Technologies.

In branch openwrt-18.06, file target/linux/ipq40xx/Makefile, it uses ath10k-firmware-qca4019.

We are experiencing the issue that when connect Android phone to our IPQ4019 router and start game PUBG, latency is over 360ms, this makess this game not playable. Screen capture is here (please see upper right corner of below screen capture):
https://xbing6.tumblr.com/post/184241270647/router-firmware-bug-pubc-latency-is-over-360ms

Replace ipq4019 firmware with version 3.6 from kvalo (link as below), this issue is gone.
https://github.com/kvalo/ath10k-firmware/tree/master/QCA4019/hw1.0/3.6 - This confirms that this is an issue with ath10k firmware provided by Candela Technologies.
- ct-firmware is enabled by default in trunk.

Connect another PC to our IPQ4019 router, go to speedtest.net in browser to test, there is no latency issue.

(My theory is that PUBG (running in Android phone) does not *constantly* generate enough internet traffic and IPQ4019 sleeps. IPQ4019 waking up causes this 360ms latency in PUGB game.)

Steps to reproduce:
- Power on ipq4019 router as AP.
- Connect Android phone to this AP and try to play PUBG.
- Latency is over 360ms and makes this game un-playable.
- Connect another PC to this IPQ4019 router, go to speedtest.net in browser to test, there is no latency issue.

19.04.20192245KernelBug ReportVery LowHighProblem with downloading firmware to the deviceopenwrt-18.06Unconfirmed Task Description

/code>Supply the following if possible:
- An error occurs when downloading the firmware
-Work on Openwrt 18.06, MT7621 processor
-No devices were connected
Worried about the error with NAND and CPU0, unless of course, I correctly determined that they are the cause

 


18.04.20192241Base systemBug ReportVery LowLowRegression for dnsmasq config option add_wan_fqdnTrunkUnconfirmed Task Description

When dnsmasq’s init script is invoked via the boot process, the UCI config option add_wan_fqdn is no longer effective. The content of /tmp/hosts/dhcp.<sect> only contains:

# auto-generated config file from /etc/config/dhcp

If dnsmasq is restarted after the network is up, it works as expected.

This is caused by commit ecd954d5302b2d135005ca68c206bb2d544b0bde, which adds some conditions to the service triggers, one being the ignore option must be disabled.
The add_wan_fqdn option only takes effect when the ignore option is enabled.

The commit message suggests the condition was added in reverse:

if the value of the ignore option is set to 0, then the corresponding interface trigger is not installed. Otherwise, if the ignore option value is 1, then procd_add_interface_trigger is called which adds the interface trigger.

I’ve confirmed that reversing the condition fixes the problem, and have attached a patch for this.

17.04.20192240Base systemBug ReportVery LowHighLantiq: AVM FRITZ!Box 7320 only one ETH port is workingAllUnconfirmed Task Description

Router has 2 ethernet ports, but the only first one is working.

14.04.20192238Base systemBug ReportVery LowMedium6in4 endpoint does not update with libustream-wolfsslopenwrt-18.06Unconfirmed Task Description

Device: GL-MT750 / Software: OpenWRT 18.06.2, new install.
Additional packages: 6in4, libustream-wolfssl, curl, ca-bundle

  • Fully configure an IPV6 tunnel with he.net, using the configuration generated by their control panel.
  • Manually update the endpoint, to confirm tunnel is working (TX and RX counters above 0, ping ipv6.google.com works)
  • Force a change in the WAN IPv4, for example “ifup wan”
  • Observe the RX packet counter of the tunnel stays at 0
  • Remove libustream-wolfssl and replace it with libustream-mbedtls
  • Force another IPV4 change
  • Observe that the tunnel endpoint is automatically updated and traffic is flowing

Unrelated changes: /lib/netifd/proto/6in4.sh : max, 3→10
(unrelated in the sense that it doesn’t change the results of the tests but I am documenting it out of completeness)

14.04.20192237PackagesBug ReportVery LowMediumSamba4 and Samba 36 - Speed capped at 50Mbit/sec when u...openwrt-18.06Unconfirmed Task Description

Device : Mi router pro R3P
https://openwrt.org/toh/xiaomi/xiaomi_r3p_pro Snapshot firmware because stable firmware isn’t available yet for that specific device.
Seagate 4TB HDD/EXT4/USB3 as source device.

Samba transfer speeds are somehow capped at 50Mbit/sec for wifi transfers. I have tried both samba versions with the same result. I checked the transfer speeds on my oneplus 3 ( which is 1×1 AC, supports max 433Mbit/sec). I checked them on different android phones through wifi, with no change. FTP works fine wirelessly at full speeds on all the devices.

I have firewall, odhcpd and dnsmasq disabled as i use this router as access point. I have the device wired to Archer c7 v4 and the speeds end up being the same 50Mbit/sec wirelessly while wired transfer works fine.

13.04.20192235Base systemBug ReportVery LowLowWhen filtering the packages list in LuCI then adding or...openwrt-18.06Unconfirmed Task Description

Observed the issue on Archer C7 v2 running 18.06.01

When filtering the package list in LuCI then adding or removing a packages, the filter is reset, and the user has to filter again if they want to add or remove more packages.

Let’s say that you want to add ddns support. So you filter by “ddns” and you get a lit of the packages that match the filter. When you install one of them, the filter is reset and the full list of the packages is displayed, so you have to apply the filter again if you want to ad more packages.

The same happens when you remove packages.

Ideal situation is that the filter doesn’t reset, and that the scroll position through the list isn’t maintained as well.


09.04.20192231Base systemBug ReportVery LowLowfstools: PREINIT calling of block extroot doesn't ackno...TrunkUnconfirmed Task Description

Extroot overlay mount fails on my ZyXEL NBG6817.

I can confirm this bug on both the latest stable 18.06.2, and the snapshot from the 4th of April.

 

When PREINIT calls ‘block extroot’, block fails to load the custom fstab from the eMMC ext4 overlay mounted at /tmp/overlay:

[...]
Thu Apr  4 12:01:51 2019 user.info kernel: [    3.508150] init: - preinit -
Thu Apr  4 12:01:51 2019 kern.info kernel: [    8.592387] EXT4-fs (loop0): recovery complete
Thu Apr  4 12:01:51 2019 kern.info kernel: [    8.595484] EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null)
Thu Apr  4 12:01:51 2019 user.info kernel: [    8.598875] mount_root: loading kmods from internal overlay
Thu Apr  4 12:01:51 2019 user.info kernel: [    8.649260] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
Thu Apr  4 12:01:51 2019 user.info kernel: [    8.663223] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
Thu Apr  4 12:01:51 2019 user.info kernel: [   10.119972] block: attempting to load /etc/config/fstab
Thu Apr  4 12:01:51 2019 user.err kernel: [   10.120211] block: unable to load configuration (fstab: Entry not found)
Thu Apr  4 12:01:51 2019 user.err kernel: [   10.124238] block: no usable configuration
Thu Apr  4 12:01:51 2019 user.info kernel: [   10.132103] mount_root: switching to ext4 overlay
Thu Apr  4 12:01:51 2019 user.info kernel: [   10.292110] procd: - early -
Thu Apr  4 12:01:51 2019 user.info kernel: [   10.292264] procd: - watchdog -
Thu Apr  4 12:01:51 2019 user.info kernel: [   10.988093] procd: - watchdog -
Thu Apr  4 12:01:51 2019 user.info kernel: [   10.988475] procd: - ubus -
Thu Apr  4 12:01:51 2019 user.info kernel: [   11.046160] procd: - init -
[...]

Unrelated dmesg entries omitted, full log here:
https://gist.github.com/knuddelknoedel/2985ce7777a0263fbc22a02f8ef5307c

Custom modules are loaded with the correct overlay /tmp/overlay/upper prefix by libfstools, however the forked ‘block extroot’ process behaves differently when searching for /etc/config/fstab configuration.

Steps to reproduce:

  1. Flash any current openwrt sysupgrade image on a device where the rootfs+overlay don’t reside on MTD storage
  2. Configure an appropriate /overlay uci fstab extroot entry as specified in the respective wiki documentation
  3. Reboot

Further notes: adding /etc/config/fstab with the desired /overlay entry to the sysupgrade squashfs image before flashing allows block to successfully find the uci fstab config, however the mounting of the therein configured /overlay mount still fails.

06.04.20192226Base systemBug ReportVery LowHighzyxel P-2812HNU-F1 initramfs has been broken with LZMA:...AllUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

zyxel P-2812HNU-F1

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

since r47026 up to the latest trunk

- Steps to reproduce
boot with serial connection stop autoboot, load initramfs, boot from ram get error

- Reason it is important

initramfs is needed for a first install.

- Posible solution
include/configs/p2812hnufx.h
probably needs:
#define CONFIG_SYS_BOOTM_LEN 0×1000000 /* 16 MB */

like in this commit for a similar modem
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=ea12a80276c0aca680d67515e7f651e2cef3f3ee

- error logs
“recent” trunk snapshot(I threw away the last compiled version for it still gave the same error)

ROM VER: 1.0.5
CFG 06
NAND
NAND Read OK

U-Boot SPL 2013.10-openwrt5 (Nov 18 2014 - 19:54:01)
SPL: initializing NAND flash
SPL: checking U-Boot image
SPL: loading U-Boot to RAM
SPL: decompressing U-Boot with LZO
SPL: jumping to U-Boot


U-Boot 2013.10-openwrt5 (Nov 18 2014 - 19:54:01) P-2812HNU-Fx

Board: ZyXEL P-2812HNU-Fx
SoC:   Lantiq VRX288 v1.1
CPU:   500 MHz
IO:    250 MHz
BUS:   250 MHz
BOOT:  NAND
DRAM:  128 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   ltq-eth
Hit any key to stop autoboot:  0
P-2812HNU-Fx # tftpboot openwrt-lantiq-xrx200-zyxel_p-2812hnu-f1-initramfs-kernel.bin
ltq_phy: addr 0, link 1, speed 1000, duplex 1
ltq_phy: addr 1, link 0, speed 10, duplex 0
ltq_phy: addr 17, link 0, speed 10, duplex 0
ltq_phy: addr 19, link 0, speed 10, duplex 0
ltq_phy: addr 5, link 0, speed 10, duplex 0
Using ltq-eth device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'openwrt-lantiq-xrx200-zyxel_p-2812hnu-f1-initramfs-kernel.bin'.
Load address: 0x81000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ######################################
done
Bytes transferred = 6183929 (5e5bf9 hex)
P-2812HNU-Fx # bootm $fileaddr
## Booting kernel from Legacy Image at 81000000 ...
   Image Name:   MIPS OpenWrt Linux-4.14.103
   Created:      2019-02-27  11:12:48 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    6183865 Bytes = 5.9 MiB
   Load Address: 80002000
   Entry Point:  80002000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... LZMA: uncompress or overwrite error 7 - must RESET b
ROM VER: 1.0.5
CFG 06
NAND
NAND Read OK

U-Boot SPL 2013.10-openwrt5 (Nov 18 2014 - 19:54:01)

last known working version

ROM VER: 1.0.5
CFG 06
NAND
NAND Read OK

U-Boot SPL 2013.10-openwrt5 (Nov 18 2014 - 19:54:01)
SPL: initializing NAND flash
SPL: checking U-Boot image
SPL: loading U-Boot to RAM
SPL: decompressing U-Boot with LZO
SPL: jumping to U-Boot


U-Boot 2013.10-openwrt5 (Nov 18 2014 - 19:54:01) P-2812HNU-Fx

Board: ZyXEL P-2812HNU-Fx
SoC:   Lantiq VRX288 v1.1
CPU:   500 MHz
IO:    250 MHz
BUS:   250 MHz
BOOT:  NAND
DRAM:  128 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   ltq-eth
Hit any key to stop autoboot:  0
P-2812HNU-Fx # tftpboot openwrt-lantiq-xrx200-P2812HNUF1-uImage-initramfs
ltq_phy: addr 0, link 0, speed 10, duplex 0
ltq_phy: addr 1, link 0, speed 10, duplex 0
ltq_phy: addr 17, link 0, speed 10, duplex 0
ltq_phy: addr 19, link 0, speed 10, duplex 0
ltq_phy: addr 5, link 0, speed 10, duplex 0
Using ltq-eth device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'openwrt-lantiq-xrx200-P2812HNUF1-uImage-initramfs'.
Load address: 0x81000000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
ltq_phy: addr 0, link 1, speed 1000, duplex 1
ltq_phy: addr 1, link 0, speed 10, duplex 0
ltq_phy: addr 17, link 0, speed 10, duplex 0
ltq_phy: addr 19, link 0, speed 10, duplex 0
ltq_phy: addr 5, link 0, speed 10, duplex 0
Using ltq-eth device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'openwrt-lantiq-xrx200-P2812HNUF1-uImage-initramfs'.
Load address: 0x81000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##########
         1.6 MiB/s
done
Bytes transferred = 4707233 (47d3a1 hex)
P-2812HNU-Fx # bootm $fileaddr
## Booting kernel from Legacy Image at 81000000 ...
   Image Name:   MIPS OpenWrt Linux-3.18.11
   Created:      2015-04-25   1:54:58 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    4707169 Bytes = 4.5 MiB
   Load Address: 80002000
   Entry Point:  80002000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.18.11 (sylwek@WRT) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44945) ) #2 Sat Apr 25 03:54:35 CEST 2015
[    0.000000] SoC: VR9 rev 1.1
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019555 (MIPS 34Kc)
[    0.000000] MIPS: machine is P2812HNUF1 - ZyXEL P-2812HNU-F1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x07ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
[    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] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyLTQ0,115200 init=/etc/preinit
[    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=00021000
[    0.000000] Readback ErrCtl register=00021000
[    0.000000] Memory: 121772K/131072K available (3506K kernel code, 149K rwdata, 1036K rodata, 3160K init, 206K bss, 9300K reserved)
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 500MHz
[    0.000000] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[    0.032000] pid_max: default: 32768 minimum: 301
[    0.036000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.040000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.044000] pinctrl core: initialized pinctrl subsystem
[    0.048000] NET: Registered protocol family 16
[    0.056000] pinctrl-xway 1e100b10.pinmux: Init done
[    0.060000] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[    0.164000] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[    0.168000] PCI host bridge /fpi@10000000/pci@E105400 ranges:
[    0.172000]  MEM 0x0000000018000000..0x0000000019ffffff
[    0.176000]   IO 0x000000001ae00000..0x000000001affffff
[    0.188000] gpio-stp-xway 1e100bb0.stp: Init done
[    0.192000] usbcore: registered new interface driver usbfs
[    0.196000] usbcore: registered new interface driver hub
[    0.200000] usbcore: registered new device driver usb
[    0.204000] PCI host bridge to bus 0000:00
[    0.208000] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    0.212000] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    0.216000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.220000] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[    0.224000] Switched to clocksource MIPS
[    0.228000] NET: Registered protocol family 2
[    0.232000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.240000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.248000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.252000] TCP: reno registered
[    0.256000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.260000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.268000] NET: Registered protocol family 1
[    5.124000] gptu: totally 6 16-bit timers/counters
[    5.132000] gptu: misc_register on minor 63
[    5.136000] gptu: succeeded to request irq 126
[    5.140000] gptu: succeeded to request irq 127
[    5.144000] gptu: succeeded to request irq 128
[    5.148000] gptu: succeeded to request irq 129
[    5.152000] gptu: succeeded to request irq 130
[    5.156000] gptu: succeeded to request irq 131
[    5.164000] ralink,eeprom ralink_eep: using RT3062.eeprom as eeprom
[    5.168000] phy-xrx200 gphy-xrx200: requesting lantiq/vr9_phy11g_a1x.bin
[    5.176000] phy-xrx200 gphy-xrx200: booting GPHY0 firmware at 6A60000
[    5.184000] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 6A60000
[    5.288000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    5.296000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    5.304000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    5.312000] msgmni has been set to 237
[    5.316000] io scheduler noop registered
[    5.320000] io scheduler deadline registered (default)
[    5.328000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[    5.336000] console [ttyLTQ0] enabled
[    5.336000] console [ttyLTQ0] enabled
[    5.344000] bootconsole [early0] disabled
[    5.344000] bootconsole [early0] disabled
[    5.352000] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    5.352000] nand: Samsung NAND 128MiB 3,3V 8-bit
[    5.352000] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[    5.368000] Scanning device for bad blocks
[    5.424000] Bad eraseblock 591 at 0x0000049e0000
[    5.428000] Bad eraseblock 616 at 0x000004d00000
[    5.464000] 4 ofpart partitions found on MTD device 10000000.nand-parts
[    5.468000] Creating 4 MTD partitions on "10000000.nand-parts":
[    5.476000] 0x000000000000-0x000000040000 : "uboot"
[    5.480000] 0x000000040000-0x000000060000 : "uboot-env"
[    5.488000] 0x000000060000-0x000000260000 : "kernel"
[    5.492000] 0x000000260000-0x000008000000 : "ubi"
[    5.600000] libphy: lantiq,xrx200-mdio: probed
[    5.620000] net-xrx200: invalid MAC, using random
[    5.688000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:00, irq=-1)
[    5.756000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:01, irq=-1)
[    5.824000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1)
[    5.892000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1)
[    5.960000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:05, irq=-1)
[    5.968000] wdt 1f8803f0.watchdog: Init done
[    5.972000] TCP: cubic registered
[    5.976000] NET: Registered protocol family 17
[    5.980000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    5.992000] Bridge firewalling registered
[    5.996000] 8021q: 802.1Q VLAN Support v1.8
[    6.004000] UBI error: ubi_auto_attach: no valid UBI magic found [    6.016000] Freeing unused kernel memory: 3160K (8049a000 - 807b0000)
[    6.036000] init: failed to symlink /tmp -> /var
[    6.040000] init: Console is alive
[    6.048000] init: - watchdog -
[    6.076000] dwc2 1e101000.ifxhcd: requested GPIO 489
[    6.936000] dwc2 1e101000.ifxhcd: DWC OTG Controller
[    6.936000] dwc2 1e101000.ifxhcd: new USB bus registered, assigned bus number 1
[    6.944000] dwc2 1e101000.ifxhcd: irq 62, io mem 0x00000000
[    6.952000] dwc2 1e101000.ifxhcd: Hardware does not support descriptor DMA mode -
[    6.952000] dwc2 1e101000.ifxhcd: falling back to buffer DMA mode.
[    6.964000] hub 1-0:1.0: USB hub found
[    6.968000] hub 1-0:1.0: 1 port detected
[    7.832000] dwc2 1e106000.ifxhcd: DWC OTG Controller
[    7.832000] dwc2 1e106000.ifxhcd: new USB bus registered, assigned bus number 2
[    7.840000] dwc2 1e106000.ifxhcd: irq 91, io mem 0x00000000
[    7.848000] dwc2 1e106000.ifxhcd: Hardware does not support descriptor DMA mode -
[    7.848000] dwc2 1e106000.ifxhcd: falling back to buffer DMA mode.
[    7.860000] hub 2-0:1.0: USB hub found
[    7.864000] hub 2-0:1.0: 1 port detected
[    8.048000] init: - preinit -
[    8.160000] random: procd urandom read with 31 bits of entropy available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    9.688000] eth0: port 0 got link
[   11.280000] procd: - early -
[   11.280000] procd: - watchdog -
[   11.852000] procd: - ubus -
[   12.864000] procd: - init -
Please press Enter to activate this console.
[   13.884000] IFXOS, Version 1.5.14 (c) Copyright 2009, Lantiq Deutschland GmbH

[   13.908000] NET: Registered protocol family 10
[   13.916000] NET: Registered protocol family 8
[   13.920000] NET: Registered protocol family 20
[   13.932000] PPP generic driver version 2.4.2
[   13.940000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   13.964000] MEI CPE Driver, Version 1.2.0

[   13.964000] (c) Copyright 2009, Infineon Technologies AG
### MEI CPE - MEI CPE - MEI CPE - MEI CPE ###


Lantiq CPE API Driver version: DSL CPE API V4.11.4
[   13.988000]
[   13.988000] Predefined debug level: 2
[   14.000000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
[   14.004000] Backport generated by backports.git backports-20150129-0-gdd4a670
[   14.016000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.028000] Infineon Technologies DEU driver version 2.0.0
[   14.032000] IFX DEU DES initialized (multiblock).
[   14.036000] IFX DEU AES initialized (multiblock).
[   14.040000] IFX DEU ARC4 initialized (multiblock).
[   14.044000] IFX DEU SHA1 initialized.
[   14.048000] IFX DEU MD5 initialized.
[   14.052000] IFX DEU SHA1_HMAC initialized.
[   14.056000] IFX DEU MD5_HMAC initialized.
[   14.068000] nf_conntrack version 0.5.0 (1952 buckets, 7808 max)
[   14.092000] NET: Registered protocol family 24
[   14.116000] xt_time: kernel timezone is -0000
[   14.140000] cfg80211: Calling CRDA to update world regulatory domain
[   14.164000] cfg80211: World regulatory domain updated:
[   14.168000] cfg80211:  DFS Master region: unset
[   14.172000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   14.180000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   14.188000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   14.196000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   14.204000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   14.212000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   14.220000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   14.232000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   14.240000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   14.328000] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[   14.332000] rt2800pci 0000:00:0e.0: failed to load eeprom property
[   14.336000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'.
[   14.348000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected
[   14.356000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
ioctl ATM_SETESI: No such device
[   20.824000] PTM 1.0.27    PTM (E1) firmware version 0.30
[   20.828000] ifxmips_ptm: PTM init succeed
[   22.760000] device eth0.1 entered promiscuous mode
[   22.764000] device eth0 entered promiscuous mode
[   22.776000] br-lan: port 1(eth0.1) entered forwarding state
[   22.780000] br-lan: port 1(eth0.1) entered forwarding state
[   24.784000] br-lan: port 1(eth0.1) entered forwarding state
[   31.808000] random: nonblocking pool is initialized



BusyBox v1.23.2 (2015-04-25 03:40:56 CEST) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 CHAOS CALMER (Bleeding Edge, r45578)
 -----------------------------------------------------
  * 1 1/2 oz Gin            Shake with a glassful
  * 1/4 oz Triple Sec       of broken ice and pour
  * 3/4 oz Lime Juice       unstrained into a goblet.
  * 1 1/2 oz Orange Juice
  * 1 tsp. Grenadine Syrup
 -----------------------------------------------------
root@OpenWrt:/#
05.04.20192225KernelFeature RequestVery LowMediumabandon wireless backportsAllUnconfirmed Task Description

since the kernel is now updated regularly it would be convenient to switch to it’s in-tree wireless drivers, and abandon backports for good. mixing new wireless drivers with older kernels is generally a bad idea.

i have witnessed at least one situation (on a 64bit PC) where backports driver performed worse than the one built into kernel

05.04.20192224Base systemBug ReportVery LowLowIf all WiFi networks are disabled, their names are not ...openwrt-18.06Unconfirmed Task Description

On the web interface, if no wireless network is enabled, only “Wireless is disabled” is shown for all wireless networks on the “Wireless” page, in the “Wireless overview” list. No network names and/or modes are shown.

If there is only a single wireless network configured, there is no problem to identify it to enable. But if there are more than a single network (for example, two APs and one client), and you need to selectively enable just one of them, you need to enter “Edit” step by step to find the appropriate network.

If at least one network is enabled, “Wireless is disabled” is shown for each disabled network as well as their names/modes.

Please modify the code to show all network names/modes even if all of them are disabled. It makes sense to always use the same list format, regardless of wireless adapter is enabled or disabled.

04.04.20192221PackagesBuild FailureVery LowLowbuilding grub on 32 bit host failsTrunkUnconfirmed Task Description

The build for x86 stops at the following step:

make[8]: Entering directory '/home/lars/opennet/git/firmware/openwrt/build_dir/hostpkg/grub-2.02/grub-core'
i486-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..  -Wall -W  -DGRUB_MACHINE_PCBIOS=1 -DGRUB_MACHINE=I386_PC -m32 -nostdinc -isystem /home/lars/opennet/git/firmware/openwrt/staging_dir/toolchain-i386_pentium4_gcc-7.4.0_musl/lib/gcc/i486-openwrt-linux-musl/7.4.0/include -I../include -I../include -DGRUB_FILE=\"lib/i386/relocator64.S\" -I. -I. -I.. -I.. -I../include -I../include -I../grub-core/lib/libgcrypt-grub/src/    -I/home/lars/opennet/git/firmware/openwrt/staging_dir/host/include -I/home/lars/opennet/git/firmware/openwrt/staging_dir/hostpkg/include -I/home/lars/opennet/git/firmware/openwrt/staging_dir/target-i386_pentium4_musl/host/include -D_FILE_OFFSET_BITS=64 -g  -m32 -msoft-float -DGRUB_FILE=\"lib/i386/relocator64.S\" -I. -I. -I.. -I.. -I../include -I../include -I../grub-core/lib/libgcrypt-grub/src/ -DASM_FILE=1    -O2 -I/home/lars/opennet/git/firmware/openwrt/staging_dir/host/include -I/home/lars/opennet/git/firmware/openwrt/staging_dir/hostpkg/include -I/home/lars/opennet/git/firmware/openwrt/staging_dir/target-i386_pentium4_musl/host/include -MT lib/i386/relocator_module-relocator64.o -MD -MP -MF lib/i386/.deps-core/relocator_module-relocator64.Tpo -c -o lib/i386/relocator_module-relocator64.o `test -f 'lib/i386/relocator64.S' || echo './'`lib/i386/relocator64.S
lib/i386/relocator64.S: Assembler messages:
lib/i386/relocator64.S:66: Error: unknown pseudo-op: `.code64'
lib/i386/relocator64.S:74: Error: bad register name `%rax'
lib/i386/relocator64.S:98: Error: bad register name `%rax'
lib/i386/relocator64.S:132: Error: bad register name `%rip)'
make[8]: *** [Makefile:28991: lib/i386/relocator_module-relocator64.o] Error 1
make[8]: Leaving directory '/home/lars/opennet/git/firmware/openwrt/build_dir/hostpkg/grub-2.02/grub-core'

The build host is a 32 bit Linux system.
This does not seem to happen on a 64 bit build host.

03.04.20192220Base systemBug ReportVery LowHighath10k NEW kernel thread crash in CT htt firmware - ath...TrunkUnconfirmed Task Description

OpenWrt SNAPSHOT, r9754-fbe2e7d15e
Trunk Pulled April 1st.
Archer C7v2

Unclear how to reproduce, just happens.

Supplying init logs and kernel trace logs:

[ 31.099086] ath10k 4.19 driver, optimized for CT firmware, probing pci device: 0x3c.
[ 31.108127] PCI: Enabling device 0000:00:00.0 (0000 → 0002)
[ 31.116173] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 31.389333] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/fwcfg-pci-0000:00:00.0.txt failed with error -2
[ 31.400044] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 31.491602] firmware ath10k!fwcfg-pci-0000:00:00.0.txt: firmware_loading_store: map pages failed
[ 31.500774] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[ 31.511656] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 31.687486] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[ 31.696848] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/cal-pci-0000:00:00.0.bin failed with error -2
[ 31.707378] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 31.949406] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-5.bin failed with error -2
[ 31.960559] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 32.095183] firmware ath10k!QCA988X!hw2.0!ct-firmware-5.bin: firmware_loading_store: map pages failed
[ 32.104800] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-2.bin failed with error -2
[ 32.115944] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 32.291783] firmware ath10k!QCA988X!hw2.0!ct-firmware-2.bin: firmware_loading_store: map pages failed
[ 32.301402] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[ 32.312279] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 32.487841] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[ 32.497209] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-5.bin failed with error -2
[ 32.508092] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 32.684408] firmware ath10k!QCA988X!hw2.0!firmware-5.bin: firmware_loading_store: map pages failed
[ 32.693770] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-4.bin failed with error -2
[ 32.704646] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 32.879819] firmware ath10k!QCA988X!hw2.0!firmware-4.bin: firmware_loading_store: map pages failed
[ 32.889172] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-3.bin failed with error -2
[ 32.900050] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 33.076143] firmware ath10k!QCA988X!hw2.0!firmware-3.bin: firmware_loading_store: map pages failed
[ 33.089091] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[ 33.098473] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 33.110860] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-fW-022-883e26a8 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT crc32 7a67ce60
[ 33.219987] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[ 33.230599] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 33.382851] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[ 33.392104] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 34.332647] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[ 34.350100] ath10k_pci 0000:00:00.0: wmi print ‘P 128 V 8 T 410’ [ 34.356422] ath10k_pci 0000:00:00.0: wmi print ‘msdu-desc: 1424 sw-crypt: 0 ct-sta: 0’ [ 34.364543] ath10k_pci 0000:00:00.0: wmi print ‘alloc rem: 24680 iram: 26872’ [ 34.432688] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[ 34.445504] ath10k_pci 0000:00:00.0: NOTE: Firmware DBGLOG output disabled in debug_mask: 0×10000000 [ 34.579131] ath: EEPROM regdomain: 0×0 [ 34.579137] ath: EEPROM indicates default country code should be used
[ 34.579140] ath: doing EEPROM country→regdmn map search
[ 34.579152] ath: country maps to regdmn code: 0x3a
[ 34.579158] ath: Country alpha2 being used: US
[ 34.579161] ath: Regpair used: 0x3a
[ 34.652355] ath: EEPROM regdomain: 0×0 [ 34.652362] ath: EEPROM indicates default country code should be used
[ 34.652365] ath: doing EEPROM country→regdmn map search
[ 34.652378] ath: country maps to regdmn code: 0x3a
[ 34.652383] ath: Country alpha2 being used: US
[ 34.652386] ath: Regpair used: 0x3a
[ 34.669837] ieee80211 phy1: Selected rate control algorithm ‘minstrel_ht’ [ 34.671315] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=12 50893 seconds later: [50893.910674] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50893.961879] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.015322] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.064267] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.115474] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.166670] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.217864] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.269072] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.320275] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.371474] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.422686] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.473885] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.525096] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.576362] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.627495] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.678696] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.732123] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.781096] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.834596] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.883493] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.934705] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.985904] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
...repeats...
[50896.978515] ath10k_pci 0000:00:00.0: wmi command 36954 timeout, restarting hardware
[50896.986336] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50897.033922] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
...repeats...
[50900.018475] ath10k_pci 0000:00:00.0: wmi command 40859 timeout, restarting hardware
[50900.026455] ath10k_pci 0000:00:00.0: failed to send wmi nop: -11
[50900.032989] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request: -143
[50900.048476] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 87385a00 vdev: 0 addr: 50:f5:da:36:35:2c
[50900.059639] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 85914a00 vdev: 0 addr: ac:bc:32:b4:c4:d7
[50900.070766] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 86c43400 vdev: 1 addr: 32:b5:c2:96:62:fd
[50900.081883] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 86e1f000 vdev: 0 addr: 30:b5:c2:96:62:fd
[50900.093145] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50900.355684] ieee80211 phy0: Hardware restart was requested
[50900.361749] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 1: -143
[50900.369442] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 1: -143
[50901.941908] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[50901.959432] ath10k_pci 0000:00:00.0: wmi print ‘P 128 V 8 T 410’ [50901.965928] ath10k_pci 0000:00:00.0: wmi print ‘msdu-desc: 1424 sw-crypt: 0 ct-sta: 0’ [50901.974101] ath10k_pci 0000:00:00.0: wmi print ‘alloc rem: 24680 iram: 26872’ [50902.043511] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[50902.058893] ath10k_pci 0000:00:00.0: set-coverage-class, phyclk: 88 value: 0
[50902.079716] ath10k_pci 0000:00:00.0: device successfully recovered
[50902.086147] ath10k_pci 0000:00:00.0: Invalid state: 3 in ath10k_htt_tx_32, warning will not be repeated.
[50902.086152] ————[ cut here ]———— [50902.086232] WARNING: CPU: 0 PID: 4533 at /home/vagrant/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/ath10k-ct-2019-03-25-2e917efb/ath10k-4.19/htt_tx.c:1253 ath10k_convert_hw_rate_to_rate_info+0×190/0xae4 [ath10k_core]
[50902.086235] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_ipv6 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_TRACE xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY 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_netlink iptable_raw iptable_mangle iptable_filter ipt_ECN ip6table_raw ip_tables crc_ccitt compat sch_cake nf_conntrack
[50902.086394] 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 ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ifb tun ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[50902.086515] CPU: 0 PID: 4533 Comm: kworker/0:1 Not tainted 4.14.109 #0
[50902.086640] Workqueue: events_freezable ieee80211_alloc_hw_nm [mac80211]
[50902.086644] Stack : 00000009 000004e5 87d58468 800b2878 804aeb00 87c07cb4 85da4ddc 80501947
[50902.086665] 804aac3c 87c07c8c 80500000 800b36d4 87d58468 00000000 87c07c68 dabdb416
[50902.086684] 00000000 00000000 00000000 00000000 00000004 8040f32c 00000001 68775f6e
[50902.086702] 735f6672 80500000 000001be 65657a61 00000000 00000000 87154274 87124968
[50902.086721] 00000009 000004e5 87d58468 8723cbf0 00000000 00000000 00000000 80650000
[50902.086739] ...
[50902.086745] Call Trace:
[50902.086767] [<8006a90c>] show_stack+0×58/0×100 [50902.086791] [<80084fa0>]
warn+0xe4/0×118 [50902.086802] [<80085064>] warn_slowpath_null+0x1c/0×28 [50902.086866] [<87124968>] ath10k_convert_hw_rate_to_rate_info+0×190/0xae4 [ath10k_core]
[50902.086896] [<87103d04>] 0x87103d04
[50902.086913] —[ end trace db720eb818c982c2 ]— [50902.086925] ath10k_pci 0000:00:00.0: failed to transmit packet, dropping: -19
[50902.086938] ath10k_pci 0000:00:00.0: failed to submit frame: -19
[50902.086945] ath10k_pci 0000:00:00.0: failed to push frame: -19
[50902.086967] ath10k_pci 0000:00:00.0: failed to transmit packet, dropping: -19
[50902.086977] ath10k_pci 0000:00:00.0: failed to submit frame: -19
[50902.086984] ath10k_pci 0000:00:00.0: failed to push frame: -19
[50902.097084] ath10k_pci 0000:00:00.0: failed to transmit packet, dropping: -19
...repeats...
[55789.947757] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55789.998968] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
55792.860153] ath10k_pci 0000:00:00.0: wmi command 36893 timeout, restarting hardware
[55792.867970] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55792.875741] ath10k_pci 0000:00:00.0: failed to delete peer b0:19:c6:64:f9:69 for vdev 0: -11
[55792.884453] ath10k_pci 0000:00:00.0: found sta peer b0:19:c6:64:f9:69 (ptr 86e1f600 id 33) entry on vdev 0 after it was supposedly removed
[55792.897563] ————[ cut here ]———— [55792.902662] WARNING: CPU: 0 PID: 2420 at backports-4.19.23-1/net/mac80211/sta_info.c:1004 sta_set_sinfo+0xbac/0xc58 [mac80211]
[55792.914415] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_ipv6 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_TRACE xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY 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_netlink iptable_raw iptable_mangle iptable_filter ipt_ECN ip6table_raw ip_tables crc_ccitt compat sch_cake nf_conntrack
[55792.986359] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55792.986485] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55793.003634] 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 ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ifb tun ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[55793.062374] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55793.070938] CPU: 0 PID: 2420 Comm: hostapd Tainted: G W 4.14.109 #0
[55793.078506] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55793.086883] Stack : 80520000 804d84a4 00000000 00000000 804aeb00 85da1b04 87dd02dc 80501947
[55793.095767] 804aacd0 00000974 80653670 000003ec 85da1cb4 00000001 85da1ab8 b78f71e9
[55793.104653] 00000000 00000000 80650000 00012a38 00000000 00000000 00000008 00000000
[55793.114085] 000002ce 861a1102 000002cc 00000000 80000000 00000000 87064a04 87007c2c
[55793.123006] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55793.131158] 00000009 000003ec 85da1cb4 87ff8800 00000002 802697c4 00000000 80650000
[55793.139658] ...
[55793.142953] Call Trace:
[55793.145468] [<8006a90c>] show_stack+0×58/0×100 [55793.149997] [<80084fa0>] warn+0xe4/0×118 [55793.154512] [<80085064>] warn_slowpath_null+0x1c/0×28 [55793.160292] [<87007c2c>] sta_set_sinfo+0xbac/0xc58 [mac80211]
[55793.166181] [<87007db8>] sta_info_destroy_addr_bss+0×38/0×60 [mac80211]
[55793.173452] [<8778f17c>] cfg80211_check_station_change+0x1be0/0x2c54 [cfg80211]
[55793.180959] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55793.188700] —[ end trace db720eb818c982c3 ]— [55793.224635] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55793.275831] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
...
[55796.220118] ath10k_pci 0000:00:00.0: wmi command 36954 timeout, restarting hardware
[55796.245481] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55796.296663] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55796.317807] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 8561b600 vdev: 0 addr: 50:f5:da:36:35:2c
[55796.328987] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 85322c00 vdev: 0 addr: ac:bc:32:b4:c4:d7
[55796.340121] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 834fb200 vdev: 1 addr: 32:b5:c2:96:62:fd
[55796.351253] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 834fb000 vdev: 0 addr: 30:b5:c2:96:62:fd
[55796.860635] irq 15: nobody cared (try booting with the “irqpoll” option)
[55796.867447] CPU: 0 PID: 15620 Comm: kworker/u2:0 Tainted: G W 4.14.109 #0
[55796.875540] Workqueue: ath10k_wq ath10k_core_create [ath10k_core]
[55796.881718] Stack : ffffffff 00000003 80653ae0 800b2878 804aeb00 87c07cc4 86e123dc 80501947
[55796.890201] 804aac3c 87c07c9c 80500000 800b36d4 80653ae0 00000000 87c07c78 86c8eb6e
[55796.898683] 00000000 00000000 00000000 000151c0 00000000 00000000 00000008 00000000
[55796.907167] 00000323 80500000 00000322 00000000 00000000 8050b6a4 0000000f 00011000
[55796.915650] ffffffff 00000003 80653ae0 80506ae8 00000000 802697c4 00000000 80650000
[55796.924134] ...
[55796.926615] Call Trace:
[55796.929112] [<8006a90c>] show_stack+0×58/0×100 [55796.933620] [<800b6f6c>]
report_bad_irq.isra.0+0×54/0xf0
[55796.939179] [<800b72f4>] note_interrupt+0×284/0×330 [55796.944142] [<800b488c>] handle_irq_event_percpu+0x4c/0×64 [55796.949706] [<800b48e0>] handle_irq_event+0x3c/0x6c
[55796.954650] [<800b7ca4>] handle_level_irq+0×110/0×154 [55796.959772] [<800b3d90>] generic_handle_irq+0×38/0×50 [55796.964903] [<802d4750>] ar724x_pci_irq_handler+0xa4/0xdc
[55796.970376] [<800b3d90>] generic_handle_irq+0×38/0×50 [55796.975502] [<80219354>] ath79_intc_irq_handler+0×94/0xec
[55796.980981] [<800b3d90>] generic_handle_irq+0×38/0×50 [55796.986117] [<804144d4>] do_IRQ+0x1c/0x2c
[55796.990185] [<80219260>] plat_irq_dispatch+0xc0/0×120 [55796.995306] [<800658d8>] handle_int+0×138/0×144 [55796.999900] [<80219260>] plat_irq_dispatch+0xc0/0×120 [55797.005018] handlers:
[55797.007333] [<877134a0>] ath10k_pci_irq_msi_fw_mask [ath10k_pci]
[55797.013420] Disabling IRQ #15
[55797.285000] ieee80211 phy0: Hardware restart was requested
[55800.300248] ath10k_pci 0000:00:00.0: bss channel survey timed out
[55801.740207] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[55801.850097] ath10k_pci 0000:00:00.0: wmi print ‘P 128 V 8 T 410’ [55801.856213] ath10k_pci 0000:00:00.0: wmi print ‘msdu-desc: 1424 sw-crypt: 0 ct-sta: 0’ [55801.864353] ath10k_pci 0000:00:00.0: wmi print ‘alloc rem: 24680 iram: 26872’ [55802.950176] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[55808.120391] ath10k_pci 0000:00:00.0: device successfully recovered
[55808.126726] net_ratelimit: 79 callbacks suppressed
[55808.126736] ath10k_pci 0000:00:00.0: failed to transmit packet, dropping: -19
[55808.126748] ath10k_pci 0000:00:00.0: failed to submit frame: -19
[55808.126756] ath10k_pci 0000:00:00.0: failed to push frame: -19
[55808.126771] ath10k_pci 0000:00:00.0: failed to transmit packet, dropping: -19
[55808.126780] ath10k_pci 0000:00:00.0: failed to submit frame: -19
[55808.126787] ath10k_pci 0000:00:00.0: failed to push frame: -19
[55808.560031] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55808.567607] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55808.575152] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55808.670084] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55808.677616] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55808.790161] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55808.797700] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55808.890070] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55808.897614] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.000079] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.007588] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.110035] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.117559] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.125363] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.220094] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.227789] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.330097] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.337638] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.440112] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.447645] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.550389] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.557931] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.660388] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon


02.04.20192218Base systemBug ReportVery LowCriticalLinksys EA4500 suffers endless reboots: Radio1 (5GHz) c...TrunkUnconfirmed Task Description

One of 5 EA3500’s, each at a different site, keeps crashing and restarting. Both 18.06.2 and Snapshot r9614-b614954 are suffering it at this particular site. I could finally keep it booting up after disabling radio1 (5 GHz). Other 4 sites have no trouble with the same system and wireless configuration.

I can pretty much rule out hardware problems. Just boot up Snapshot r9614-b614954 on an EA4500, whose radio1 (5G) worked on another site. It suffers the same infinite crash/restart sequence. At least 3 different devices worked at different locations, but crash only at this one.

From the serial console: A crash at backports-4.19.23-1/net/mac80211/rx.c:4516 ieee80211_rx_napi+0x1fc/0xa54 [mac80211]

[   22.960919] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   23.010664] br-lan: port 1(eth0.1) entered blocking state
[   23.016172] br-lan: port 1(eth0.1) entered disabled state
[   23.021848] device eth0.1 entered promiscuous mode
[   23.026687] device eth0 entered promiscuous mode
[   23.110502] br-lan: port 1(eth0.1) entered blocking state
[   23.115976] br-lan: port 1(eth0.1) entered forwarding state
[   23.121730] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   23.191580] mv643xx_eth_port mv643xx_eth_port.1 eth1: link up, 1000 Mb/s, full duplex, flow control disabled
[   23.202650] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   24.009012] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   24.015903] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   24.022546] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   25.052979] 0000:01:00.0: unable to load firmware helper image
[   25.058872] ieee80211 phy0: Cannot start firmware
[   25.063675] ieee80211 phy0: Trying to reload the firmware again
[   25.987785] ieee80211 phy0: 88w8366 v7, 20aa4b891bf2, AP firmware 5.2.8.17
[   26.047574] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   26.113947] 0000:02:00.0: unable to load firmware helper image
[   26.119821] ieee80211 phy1: Cannot start firmware
[   26.124636] ieee80211 phy1: Trying to reload the firmware again
[   26.511780] ieee80211 phy1: 88w8366 v7, 20aa4b891bf4, AP firmware 5.2.8.17
[   26.565994] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   26.577344] br-lan: port 2(wlan0) entered blocking state
[   26.582745] br-lan: port 2(wlan0) entered disabled state
[   26.588309] device wlan0 entered promiscuous mode
[   26.614795] br-lan: port 3(wlan1) entered blocking state
[   26.620186] br-lan: port 3(wlan1) entered disabled state
[   26.625800] device wlan1 entered promiscuous mode
[   27.137261] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   27.143826] br-lan: port 2(wlan0) entered blocking state
[   27.149170] br-lan: port 2(wlan0) entered forwarding state
[   27.179154] ------------[ cut here ]------------
[   27.183961] WARNING: CPU: 0 PID: 0 at backports-4.19.23-1/net/mac80211/rx.c:4516 ieee80211_rx_napi+0x1fc/0xa54 [mac80211]
[   27.194991] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mwl8k 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 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 tun gpio_button_hotplug
[   27.254721] CPU: 0 PID: 0 Comm: swapper Not tainted 4.14.105 #0
[   27.260669] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   27.266969] Backtrace: 
[   27.269438] [<c010530c>] (dump_backtrace) from [<c01055f4>] (show_stack+0x18/0x1c)
[   27.277057]  r7:bf1f012c r6:00000000 r5:bf227600 r4:00000000
[   27.282772] [<c01055dc>] (show_stack) from [<c058b880>] (dump_stack+0x20/0x28)
[   27.290036] [<c058b860>] (dump_stack) from [<c01196b0>] (__warn+0xdc/0x108)
[   27.297048] [<c01195d4>] (__warn) from [<c0119794>] (warn_slowpath_null+0x28/0x30)
[   27.304665]  r9:c7104ff0 r8:bf226390 r7:bf226318 r6:c71058a0 r5:c7104bc0 r4:c72be9c0
[   27.312535] [<c011976c>] (warn_slowpath_null) from [<bf1f012c>] (ieee80211_rx_napi+0x1fc/0xa54 [mac80211])
[   27.322376] [<bf1eff30>] (ieee80211_rx_napi [mac80211]) from [<bf1cb68c>] (ieee80211_tasklet_handler+0x64/0xc0 [mac80211])
[   27.333486]  r10:00000000 r9:c7104ff0 r8:bf226390 r7:bf226318 r6:c7104bc0 r5:c7104fe4
[   27.341359]  r4:c72be9c0
[   27.343976] [<bf1cb628>] (ieee80211_tasklet_handler [mac80211]) from [<c011c5dc>] (tasklet_action+0x88/0xd8)
[   27.353865]  r9:00000100 r8:ffffe000 r7:00000000 r6:c082a000 r5:c08085fc r4:00000000
[   27.361664] [<c011c554>] (tasklet_action) from [<c0101464>] (__do_softirq+0xac/0x25c)
[   27.369534]  r7:c082a020 r6:40000006 r5:c082a038 r4:00000006
[   27.375236] [<c01013b8>] (__do_softirq) from [<c011c940>] (irq_exit+0xc8/0x110)
[   27.382594]  r10:00000000 r9:c0801f00 r8:c7805200 r7:00000001 r6:00000000 r5:c0829178
[   27.390458]  r4:00000000
[   27.393022] [<c011c878>] (irq_exit) from [<c01465e4>] (__handle_domain_irq+0x8c/0xa8)
[   27.400893] [<c0146558>] (__handle_domain_irq) from [<c010138c>] (orion_handle_irq+0x74/0xa0)
[   27.409469]  r9:c0801f00 r8:00000001 r7:c085564c r6:c780801c r5:00000400 r4:0000000a
[   27.417263] [<c0101318>] (orion_handle_irq) from [<c01060c8>] (__irq_svc+0x68/0x84)
[   27.424968] Exception stack(0xc0801f00 to 0xc0801f48)
[   27.430044] 1f00: 00000000 00000000 00000000 60000013 00000000 ffffe000 c0803094 c08206e0
[   27.438271] 1f20: c080a852 c065e3e0 00000000 c0801f5c c0801f50 c0801f50 c0102ec0 c05a6814
[   27.446494] 1f40: 60000013 ffffffff
[   27.450004]  r10:00000000 r9:c0800000 r8:c080a852 r7:c0801f34 r6:ffffffff r5:60000013
[   27.457875]  r4:c05a6814
[   27.460441] [<c05a67dc>] (default_idle_call) from [<c013fdb8>] (do_idle+0x84/0x144)
[   27.468154] [<c013fd34>] (do_idle) from [<c01400d8>] (cpu_startup_entry+0x14/0x18)
[   27.475774]  r10:00721c14 r9:c0723a20 r8:c7ffcc80 r7:00000000 r6:c0803020 r5:ffffffff
[   27.483654]  r4:c0809c4c r3:40000013
[   27.487258] [<c01400c4>] (cpu_startup_entry) from [<c05a1660>] (rest_init+0x74/0x94)
[   27.495063] [<c05a15ec>] (rest_init) from [<c0700d3c>] (start_kernel+0x3a0/0x424)
[   27.502595]  r5:ffffffff r4:c08299a0
[   27.506188] [<c070099c>] (start_kernel) from [<00008048>] (0x8048)
[   27.512404] ---[ end trace 351d5fe97981d9fa ]---
02.04.20192217Base systemBug ReportVery LowLowGet all zero Mac address when tagged port VLAN between ...TrunkUnconfirmed Task Description
 
I have two routers running the latest OpenWrt master trunk version. The first works as router(with dhcp/dns) and another works as pure AP(without dns/dhcp). So far it works fine.

Because I need a guest wifi network, so I added one vlan setting between router and AP with port tagged(VLAN-ID=17), after that, the AP device can not get correct routers’s MAC address(it’s all ZERO!)

The arp command shows output as following:


root@OpenWrt:/tmp# arp
IP address       HW type     Flags       HW address            Mask     Device
192.168.10.1     0x1         0x0         00:00:00:00:00:00     *        eth0.1
192.168.10.206   0x1         0x2         3c:xx:xx:xx:xx:e3     *        eth0.1
root@OpenWrt:/tmp# uname -a
Linux OpenWrt 4.14.107 #0 SMP Mon Mar 25 10:09:12 2019 mips GNU/Linux`

After I give it the corrct MAC address with ‘ip neigh’ command, it also fails when ping to gateway.

root@OpenWrt:/tmp# ip neigh change   192.168.10.1 lladdr 1C:xx:xx:xx:9B:xx nud permanent dev eth0.1
root@OpenWrt:/tmp# arp
IP address       HW type     Flags       HW address            Mask     Device
192.168.10.1     0x1         0x6         1c:xx:xx:xx:9b:xx     *        eth0.1
192.168.10.206   0x1         0x2         3c:xx:xx:xx:xx:e3     *        eth0.1

root@OpenWrt:/tmp# ping 192.168.10.1
PING 192.168.10.1 (192.168.10.1): 56 data bytes
^C
--- 192.168.10.1 ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss

My router type is newifi d2 and TL-WR2041n.
I am sure that it works fine with vlan-guest-network setting in previous version of OpenWrt.


01.04.20192216Base systemBug ReportVery LowHighath79 - eth0 Spasmodic Link Speed After Driver Changes?...TrunkUnconfirmed Task Description

I've built the latest version of OpenWRT with stock packages and configuration, however, after random amounts of time, all clients lose connectivity because the eth0 link speed drops from the regular 100 Mbps Full Duplex to 10 Mbps Half Duplex, only to reconnect again after a couple of minutes (seconds to mintes, it depends), and do it again at another random time.

[18580.106696] eth0: link up (100Mbps/Full duplex)
[19014.825937] eth0: link up (10Mbps/Half duplex)
[19055.384105] eth0: link up (100Mbps/Full duplex)
[21927.853366] eth0: link up (10Mbps/Half duplex)
[22003.771999] eth0: link up (100Mbps/Full duplex)
[23743.685216] eth0: link down
[23744.723679] eth0: link up (100Mbps/Full duplex)
[23756.242265] eth0: link down
[23757.283590] eth0: link up (100Mbps/Full duplex)
[24075.522397] eth0: link up (10Mbps/Half duplex)
[24090.081802] eth0: link up (100Mbps/Full duplex)
[24100.481809] eth0: link up (10Mbps/Half duplex)
[24166.001178] eth0: link up (100Mbps/Full duplex)
[24500.880989] eth0: link up (10Mbps/Half duplex)

The logs aren't very useful, it seems. Both syslog and dmesg show the same.

I suspect this started happening after this series of commits (ending with this one) where there were driver changes to the switch, as it didn't happen before I recompiled a new build with all those newer changes:
https://github.com/openwrt/openwrt/commit/3d93b35f039de86830565420968715b300066475

31.03.20192213Base systemBug ReportVery LowLowLow 2.4 GHz throughput and TX level on XD3200TrunkUnconfirmed Task Description

Device: Yuncore XD3200
Version: OpenWrt 18.06.2
Steps to reproduce: Turn on 2.4 GHz radio and measure the TX signal level and data transfer speed.

Linkt to forum post with more info

“While I’m only getting 18-22MBit (TCP, AP>Client) with the XD3200, the UAP-AC-LITE is stable at 38-45MBit, with the ‘stock’ XD3200 QSDK firmware and proprietary atheros driver I’m getting stable 39-41MBit.

Client readings (AP SNR):
XD3200: -53 dBm
XD3200 QSDK: -41dBm
UAP-AC-LITE: -37dBm

AP readings (Client SNR):
XD3200: -48 dBm / -95 dBm (SNR 47)
XD3200 QSDK: -34 dBm / -95 dBm (SNR 61)
UAP-AC-LITE: -37 dBm / -95 dBm (SNR 58)”

30.03.20192211Base systemBug ReportVery LowLowIncrease UniElec U7621-06-256M-16M SPI frequency to 50M...TrunkUnconfirmed Task Description

According to the datasheet, the flash chip on the UniElec U7621-06-256M-16M board, MX25L12805D, is rated to support 33MHz for READ instructions and 50MHz for FAST_READ instructions.

29.03.20192210Base systemBug ReportVery LowMediumEA3500, hostapd: WPA: group key handshake failed (RSN) ...TrunkUnconfirmed Task Description

SNAPSHOT r9614-b614954, mwlwifi version 2018-12-18 c2c8244, hostapd-common - 2018-12-02-c2c6c01b-2

Run an EA3500 as AP, serving around 15 devices in a small open office. The signal level is good, SNR -ge 30. When using the default wpa_group_rekey value 600s, there were a lot of disconnections. More than 50% of App requests ended up with a timeout on some devices, such as an iPad. Trying different wpa_group_rekey in values wireless and leasetime in dhcp relieved the problem somewhat. But still many random connections and disconnections. The following log focuses on one device during a period of quiet time, with wpa_group_rekey being 3600s and leasetime 3600s as well. The problem/log is at least 15 times bigger/longer.

Fri Mar 29 05:02:36 2019 daemon.info dnsmasq-dhcp[2946]: DHCPREQUEST(br-lan) 192.168.1.52 11:22:33:44:55:66
Fri Mar 29 05:02:36 2019 daemon.info dnsmasq-dhcp[2946]: DHCPACK(br-lan) 192.168.1.52 11:22:33:44:55:66 iPad
Fri Mar 29 05:03:30 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 WPA: group key handshake failed (RSN) after 4 tries
Fri Mar 29 05:03:30 2019 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED 11:22:33:44:55:66
Fri Mar 29 05:03:35 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: deauthenticated due to local deauth request
Fri Mar 29 05:08:14 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: authenticated
Fri Mar 29 05:08:14 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: associated (aid 7)
Fri Mar 29 05:08:14 2019 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 11:22:33:44:55:66
Fri Mar 29 05:08:14 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 WPA: pairwise key handshake completed (RSN)
Fri Mar 29 05:08:14 2019 daemon.info dnsmasq-dhcp[2946]: DHCPREQUEST(br-lan) 192.168.1.52 11:22:33:44:55:66
Fri Mar 29 05:08:14 2019 daemon.info dnsmasq-dhcp[2946]: DHCPACK(br-lan) 192.168.1.52 11:22:33:44:55:66 iPad
Fri Mar 29 05:38:14 2019 daemon.info dnsmasq-dhcp[2946]: DHCPREQUEST(br-lan) 192.168.1.52 11:22:33:44:55:66
Fri Mar 29 05:38:14 2019 daemon.info dnsmasq-dhcp[2946]: DHCPACK(br-lan) 192.168.1.52 11:22:33:44:55:66 iPad
Fri Mar 29 06:03:30 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 WPA: group key handshake failed (RSN) after 4 tries
Fri Mar 29 06:03:30 2019 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED 11:22:33:44:55:66
Fri Mar 29 06:03:35 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: deauthenticated due to local deauth request
Fri Mar 29 06:04:21 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: authenticated
Fri Mar 29 06:04:21 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: associated (aid 2)
Fri Mar 29 06:04:21 2019 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 11:22:33:44:55:66
Fri Mar 29 06:04:21 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 WPA: pairwise key handshake completed (RSN)
Fri Mar 29 06:04:21 2019 daemon.info dnsmasq-dhcp[2946]: DHCPREQUEST(br-lan) 192.168.1.52 11:22:33:44:55:66
Fri Mar 29 06:04:21 2019 daemon.info dnsmasq-dhcp[2946]: DHCPACK(br-lan) 192.168.1.52 11:22:33:44:55:66 iPad
Fri Mar 29 06:34:21 2019 daemon.info dnsmasq-dhcp[2946]: DHCPREQUEST(br-lan) 192.168.1.52 11:22:33:44:55:66
Fri Mar 29 06:34:21 2019 daemon.info dnsmasq-dhcp[2946]: DHCPACK(br-lan) 192.168.1.52 11:22:33:44:55:66 iPad
Fri Mar 29 07:02:21 2019 daemon.info dnsmasq-dhcp[2946]: DHCPREQUEST(br-lan) 192.168.1.52 11:22:33:44:55:66
Fri Mar 29 07:02:21 2019 daemon.info dnsmasq-dhcp[2946]: DHCPACK(br-lan) 192.168.1.52 11:22:33:44:55:66 iPad
Fri Mar 29 07:03:30 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 WPA: group key handshake failed (RSN) after 4 tries
Fri Mar 29 07:03:30 2019 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED 11:22:33:44:55:66
Fri Mar 29 07:03:35 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: deauthenticated due to local deauth request
Fri Mar 29 07:06:37 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: authenticated
Fri Mar 29 07:06:37 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: associated (aid 7)
Fri Mar 29 07:06:37 2019 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 11:22:33:44:55:66
Fri Mar 29 07:06:37 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 WPA: pairwise key handshake completed (RSN)
Fri Mar 29 07:06:37 2019 daemon.info dnsmasq-dhcp[2946]: DHCPREQUEST(br-lan) 192.168.1.52 11:22:33:44:55:66
Fri Mar 29 07:06:37 2019 daemon.info dnsmasq-dhcp[2946]: DHCPACK(br-lan) 192.168.1.52 11:22:33:44:55:66 iPad
Fri Mar 29 07:36:37 2019 daemon.info dnsmasq-dhcp[2946]: DHCPREQUEST(br-lan) 192.168.1.52 11:22:33:44:55:66
Fri Mar 29 07:36:37 2019 daemon.info dnsmasq-dhcp[2946]: DHCPACK(br-lan) 192.168.1.52 11:22:33:44:55:66 iPad
Fri Mar 29 08:03:30 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 WPA: group key handshake failed (RSN) after 4 tries
Fri Mar 29 08:03:30 2019 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED 11:22:33:44:55:66
Fri Mar 29 08:03:35 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: deauthenticated due to local deauth request
Fri Mar 29 08:04:16 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: authenticated
Fri Mar 29 08:04:16 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 IEEE 802.11: associated (aid 3)
Fri Mar 29 08:04:16 2019 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 11:22:33:44:55:66
Fri Mar 29 08:04:16 2019 daemon.info hostapd: wlan1: STA 11:22:33:44:55:66 WPA: pairwise key handshake completed (RSN)
Fri Mar 29 08:04:16 2019 daemon.info dnsmasq-dhcp[2946]: DHCPREQUEST(br-lan) 192.168.1.52 11:22:33:44:55:66
Fri Mar 29 08:04:16 2019 daemon.info dnsmasq-dhcp[2946]: DHCPACK(br-lan) 192.168.1.52 11:22:33:44:55:66 iPad
29.03.20192209Base systemBug ReportVery LowHighInconsistent behaviour of HOST_CONFIGURE_CMD vs CONFIGU...TrunkUnconfirmed Task Description

Target checks via:

if [ -x $(CONFIGURE_CMD) ]; then

yet host does:

if [ -x configure ]; then

So trying to use this, will fail for the target, but not for the host.

CONFIGURE_CMD = ./buildtools/bin/waf configure
HOST_CONFIGURE_CMD = ./buildtools/bin/waf configure

This results in

./buildtools/bin/waf: binary operator expected

for the target.

The check is flawed in both cases, the host does not check for the custom configure command and the target is doing a file check only, so you have to ensure the actual “configure” argument is first in the CONFIGURE_ARGS.

CONFIGURE_ARGS:=configure $(CONFIGURE_ARGS)

This is confusing and both cases should work similar and check for CONFIGURE_CMD and maybe we should add a CONFIGURE_CMD_ARGS variable, that can hold custom arguments.

28.03.20192208KernelBug ReportVery LowMediumUAS support for USB3.0 drivesopenwrt-18.06Unconfirmed Task Description

UAS module is loaded fine on Linksys WRT3200ACM with openwrt 18.06 but when plugging a USB 3.0 drive (for example a USB 3.0 external HDD) it does not load in the right way and device ends using driver usb-storage, which prevents of using device at full speed.

Steps to reproduce: Plug a USB 3.0 external HDD to USB 3.0 port of any openwrt 18.06 device and check speed when copying a file to the external HDD, it should be around 100+ MBps

Any needed additional info can be found at this forum question: https://forum.openwrt.org/t/usb3-0-hdd-issues/34031/13


27.03.20192207Base systemBug ReportVery LowLowath79: Ubiquiti Nanostation M5 HP XM fails to initializ...TrunkUnconfirmed Task Description
  • Device: Ubiquiti Nanostation M5 HP XM
  • OpenWrt: master branch (commit ae9d3a25c2cb165912904dc8b57dbc5da24c61e1)
  • Symptoms of the Problem
    • “iwinfo” shows no output

Failed initialization:

[   11.643912] ath9k 0000:00:00.0: Direct firmware load for ath9k-eeprom-pci-0000:00:00.0.bin failed with error -2
[   11.654117] ath9k 0000:00:00.0: Falling back to user helper
[   11.867085] firmware ath9k-eeprom-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[   11.876934] ath: phy0: Unable to load EEPROM file ath9k-eeprom-pci-0000:00:00.0.bin
[   11.884709] ath9k 0000:00:00.0: Failed to initialize device
[   11.890396] ath9k: probe of 0000:00:00.0 failed with error -22

A working initialization (same device, same commit, with ar711xx image):

Wed Mar 27 11:10:57 2019 kern.info kernel: [   16.709837] pci 0000:00:00.0: using irq 40 for pin 1
Wed Mar 27 11:10:57 2019 kern.warn kernel: [   16.714854] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
Wed Mar 27 11:10:57 2019 kern.info kernel: [   16.725987] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
Wed Mar 27 11:10:57 2019 kern.debug kernel: [   16.734629] ath: EEPROM regdomain: 0x0
Wed Mar 27 11:10:57 2019 kern.debug kernel: [   16.734637] ath: EEPROM indicates default country code should be used
Wed Mar 27 11:10:57 2019 kern.debug kernel: [   16.734642] ath: doing EEPROM country->regdmn map search
Wed Mar 27 11:10:57 2019 kern.debug kernel: [   16.734662] ath: country maps to regdmn code: 0x3a
Wed Mar 27 11:10:57 2019 kern.debug kernel: [   16.734670] ath: Country alpha2 being used: US
Wed Mar 27 11:10:57 2019 kern.debug kernel: [   16.734676] ath: Regpair used: 0x3a
Wed Mar 27 11:10:57 2019 kern.debug kernel: [   16.755563] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Wed Mar 27 11:10:57 2019 kern.info kernel: [   16.758624] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
  • an ar71xx image based on the same commit works as expected
  • Ubiquiti Nanostation M5 loco XW also works
26.03.20192205Base systemBug ReportVery LowLowLinksys E2000 loses networksopenwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs random
- Software versions of OpenWrt 18.06.2, no additional packages installed, vanilla OpenWRT
- Steps to reproduce - none.

The router is a converted unit from WRT320N.

On seemingly random intervals from several days to several weeks it loses all networking ability: no ping to outside or from outside to the device but it gives out IP to the devices (DHCP seems to work) but no internet. I haven’t checked if other devices in the network are visible to one another. The devices connected through wire (Windows boxes) show yellow triangles on the network status (DNS server not found or sth like this). The wireless devices connected show “Connected but not internet” or alike. Restarting the router does not fix the problem. The only way to overcome it is to press “Reset” button at the back of the router. Several times I had to do it at least twice after the reboot: reset then reboot then reset again and reboot again.

I configure the device through SSH (dropbear and keys) and copy the config files in place (/overlay/...). Every time I use all the same files.

I’ve diff’d the configs when the router is out of order and my backup where I restore the configs from and they are the same to the last bit. In that state if I connect the computer to the WLAN cable directly there is internet connection. It is not the provider (I’ve cursed them enough but as it seems is my routers fault). It is like this since I use OpenWRT - v15.05.1 Chaos Calmer.

Frankly, I have limited to none network knowledge and don’t know how to diagnose the problem so I can help myself or others further.

25.03.20192203KernelBug ReportVery LowLowmtk_eth_soc: cannot build without nf_conntrackTrunkUnconfirmed Task Description
  CC      drivers/net/ethernet/mediatek/mtk_eth_soc.o
In file included from drivers/net/ethernet/mediatek/mtk_eth_soc.c:34:0:
./include/net/netfilter/nf_flow_table.h:19:2: error: unknown type name 'nf_hookfn'
  nf_hookfn   *hook;
  ^~~~~~~~~
./include/net/netfilter/nf_flow_table.h:149:23: warning: 'struct nf_hook_state' declared inside parameter list will not be visible outside of this definition or declaration
          const struct nf_hook_state *state);
                       ^~~~~~~~~~~~~
./include/net/netfilter/nf_flow_table.h:151:25: warning: 'struct nf_hook_state' declared inside parameter list will not be visible outside of this definition or declaration
            const struct nf_hook_state *state);
                         ^~~~~~~~~~~~~
scripts/Makefile.build:326: recipe for target 'drivers/net/ethernet/mediatek/mtk_eth_soc.o' failed
23.03.20192202Base systemBug ReportVery LowCriticalbrcm63xx: Hg556a: kernel boot stuck at "random: crng in...TrunkUnconfirmed Task Description

The kernel 4.14.107 is unable to boot on the Hg556a (BCM6358).

Steps to reproduce:

  Intall the latest trunk version kernel 4.14.107

Sympthoms:

  No Boot
  It stucks at “random: fast init done”, and apparently no more kernel messages
  But after a minute it spits the last message random: crng init done

Boot Log:

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
boot kernel from be020100
Code Address: 0x80A00000, Entry Address: 0x80a00000
Decompression OK!
Entry at 0x80a00000
Closing network.
Starting program at 0x80a00000
[    0.000000] Linux version 4.14.107 (hg556a@localhost.localdomain) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r9015-34696ce25e)) #0 Thu Mar 10 15:47:43 2019
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: d081.5003
[    0.000000] bcm63xx_nvram: nvram checksum failed, contents may be invalid (expected 33313330, got 3c502ae7)
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board: board name: HW556_B
[    0.000000] MIPS: machine is Huawei EchoLife HG556a (version B)
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    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] random: get_random_bytes called from start_kernel+0x80/0x488 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: rootfstype=squashfs,jffs2 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] Memory: 54392K/65536K available (6369K kernel code, 343K rwdata, 2132K rodata, 1324K init, 256K bss, 11144K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[    0.000026] sched_clock: 32 bits at 150MHz, resolution 6ns, wraps every 14316557820ns
[    1.034043] random: fast init done
[   53.820705] random: crng init done


22.03.20192201KernelBug ReportVery LowLowkernel error: do_page_fault(): sending SIGSEGV to reade...TrunkWaiting on reporter Task Description

current trunk from 22.3.2019
git-19.079.18950-11e64f8) / OpenWrt SNAPSHOT r9672-d78e229903

i see in the logs that having more often kernel error:

Fri Mar 22 15:14:27 2019 kern.info kernel: [11750.766284] do_page_fault(): sending SIGSEGV to reader#1 for invalid read access from 77a87d90
Fri Mar 22 15:14:27 2019 kern.info kernel: [11750.774984] epc = 77f55944 in libc.so[77edb000+94000]
Fri Mar 22 15:14:27 2019 kern.info kernel: [11750.780320] ra  = 77f558e0 in libc.so[77edb000+94000]

any idea about what can be the reason for it ? or how i can give you more infos ?

22.03.20192199KernelBug ReportVery LowLowBananapi R2, Kernel command line problemTrunkUnconfirmed Task Description

Can not configure root variable in kernel command line with U-Boot. Please clean
CONFIG_CMDLINE for linux kernel.

thanks.

 


21.03.20192198ToolchainBug ReportVery LowLowTow entangled problems involving boost and package inte...openwrt-18.06Unconfirmed Task Description

This involves an x86 generic full build of 18.02.
This seems less to be a problem directly involving packages, and more a
problem involving the integration of packages.

The builds were finishing up to this point.
In make menuconfig, I added in a few packages to replace the weaker
binutils version of these utilities, e.g., the less package, because I
wanted the search capability.
Apparently these additions got tangled up with boost, which was not at
this point selected:

cp -fpR -v /home/stuff/code/openwrt/repo/build_dir/target-i386_pentium4_musl/boost_1_68_0/ipkg-install/lib/*.{a,so*} /home/stuff/code/openwrt/repo/tmp/stage-boost/usr/lib/
‘/home/stuff/code/openwrt/repo/build_dir/target-i386_pentium4_musl/boost_1_68_0/ipkg-install/lib/libboost_exception.a’ → ‘/home/stuff/code/openwrt/repo/tmp/stage-boost/usr/lib/libboost_exception.a’ cp: cannot stat ‘/home/stuff/code/openwrt/repo/build_dir/target-i386_pentium4_musl/boost_1_68_0/ipkg-install/lib/*.so*’: No such file or directory

I searched for the unusual string {a,so*} and found it in feeds/packages/libs/boost/Makefile
line 473.
Apparently boost was being pulled in, but not creating any .so* files, even though boost was not yet selected.

So I went into make menuconfig and selected boost. Same problem.

Then I split line 473 to this form:

$(CP) -v $(PKG_INSTALL_DIR)/lib/*.a $(1)/usr/lib/
-$(CP) -v $(PKG_INSTALL_DIR)/lib/*.so* $(1)/usr/lib/

(It had been {a,so*}).
This (I think) will execute the same if boost is creating any .so files,
but will otherwise get past this step if no .so files are being created.

It seemed to work at first. But then (using make -j1) I started getting
complaints about the newly selected packages overwriting busybox versions of
files.
If you look more closely you will see that these errors wrote in the middle
of the string “Configuring boost.”
CoCollected errors:
* check_data_file_clashes: Package logger wants to install file /home/stuff/code/openwrt/repo/build_dir/target-i386_pentium4_musl/root-x86/usr/bin/logger

      But that file is already provided by package  * busybox

* opkg_install_cmd: Cannot install package logger.
* check_data_file_clashes: Package findutils-find wants to install file /home/stuff/code/openwrt/repo/build_dir/target-i386_pentium4_musl/root-x86/usr/bin/find

      But that file is already provided by package  * busybox

* opkg_install_cmd: Cannot install package findutils-find.
* check_data_file_clashes: Package findutils-xargs wants to install file /home/stuff/code/openwrt/repo/build_dir/target-i386_pentium4_musl/root-x86/usr/bin/xargs

      But that file is already provided by package  * busybox

* opkg_install_cmd: Cannot install package findutils-xargs.
* check_data_file_clashes: Package less-wide wants to install file /home/stuff/code/openwrt/repo/build_dir/target-i386_pentium4_musl/root-x86/bin/less

      But that file is already provided by package  * less

* opkg_install_cmd: Cannot install package less-wide.
nfiguring boost.

Note that busybox doesn’t like having logger, find, and xargs overwritten,
but I also selected find and less, which should have overwritten busybox
versions of the files. But that didn’t generate any complaints.

Here is where my memory gets a little hazy... I found out about this time that
menuconfig/boost was set to not install any libraries, so I selected ‘all
libraries’, and that may have gotten rid of the boost .so problem, because the
boost build was now creating .so files.

But I was still getting the file overwrite problem, so I yanked out the
offending package selections. At that point the make process completed.

Anyway, that’s what happened.

 


21.03.20192197KernelBug ReportVery LowMediumdefault kernel option CONFIG_BPF_JIT=y breaking bpf fil...TrunkUnconfirmed Task Description

Between 18.06.2 and the Trunk the kernel option CONFIG_BPF_JIT=y was added.

With JIT enabled, a simple beacon filter shows no traffic.
With JIT disabled, the filter works normally.

Device: ar71xx generic device (gl-mifi):

Test:
put the radio card in monitor mode:
iw wlan0 set type monitor
ifconfig wlan0 up
iw wlan0 set channel 1 # some channel with an AP

tcpdump -i wlan0
see lots of traffic and beacons

tcpdump -i wlan0 wlan type mgt subtype beacon
no traffic

Fix:
echo 0 > /proc/sys/net/core/bpf_jit_enable

tcpdump -i wlan0 wlan type mgt subtype beacon
see lots of beacons

More detail:
Testing on my side, with JIT enabled, it seems to be computing the offset to the start of the wlan packet incorrectly. In my case, the offset was off by +16 bytes. A filter of “wlan[0] == 0×80” should show beacons, because the type/subtype field is the first byte of the wlan packet. With JIT enabled, wlan[0] was equal to the first byte of the addr3/bssid field (the first byte of my AP’s MAC address), which is 16 bytes later in the packet.


21.03.20192196Base systemBug ReportVery LowMediumblock info confuses mount pointsAllWaiting on reporter Task Description

I’ve encountered a bug in /sbin/block.

If multiple block devices paths share the same prefix e.g. /dev/mmcblk0p1 and /dev/mmcblk0p10 the commands block info confuses them.
In my case /dev/mmcblk0p1 is a boot partition and /dev/mmcblk0p10 is a data partition.
There are a bunch of other partitions, which I’ll omit for the sake clarity in the following example.

/etc/config/fstab:

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

config 'mount'
        option  target  '/data'
        option  device  '/dev/mmcblk0p10'
        option  fstype  'ext4'
        option  enabled '1'

config 'mount'
        option  device  '/dev/mmcblk0p1'
        option  target  '/uboot'
        option  fstype  'vfat'
        option  options 'rw,sync'
        option  enabled '1'
...

After boot the output of mount looks like this:

root@foobar:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
/dev/mmcblk0p10 on /data type ext4 (rw,relatime,data=ordered)
/dev/mmcblk0p1 on /uboot type vfat (rw,sync,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
...

At least everything is mounted in the right place.
If I do a block info I get:

root@foobar:~# block info
/dev/mmcblk0p1: UUID="0037-0032" LABEL="" VERSION="FAT16" MOUNT="/data" TYPE="vfat"
/dev/mmcblk0p10: UUID="d8dff841-edc4-4094-ae68-f6f0596c2277" VERSION="1.0" MOUNT="/data" TYPE="ext4"
...

Which is a little bit odd, as /dev/mmcblk0p1 is clearly not mounted under /data.

I did some digging in the sources and found the culprit in block.c:find_mount_point.
In line 646 in block.c:

*pos = '\0';
devname = tmp;
if (!strncmp(block, devname, len)) { // <- problem
	point = strdup(cpoint);
	break;
}

block is the parameter passed to find_mount_point, len is the string length of block and devname is a block device name read from /proc/self/mountinfo.
If the string in block is a prefix of the string in devname, !strncmp will always be true as, therefore the mount point in this line will be returned to caller.
In my case the line for /dev/mmcblk0p10 is encountered first, therefore /data is returned as mountpoint for both /dev/mmcblk0p10 and /dev/mmcblk0p1.

Since the idea here is to look for an exactly equal string I would suggest to compare the string length as well as calling strncmp.
See the attached patch for my temporary solution.

As a last remark: I could not determine if this affects other functionalities of /sbin/block as well,
but since find_mount_point is also called during umounting this might be more than just a display bug.

Showing tasks 201 - 250 of 901 Page 5 of 19<<First - 3 - 4 - 5 - 6 - 7 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing