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
15.03.20202903Base systemBug ReportVery LowLow/dispatcher.lua:315 after enable DNS lookup in realtime...openwrt-19.07Unconfirmed Task Description

hello.

asus ac-56u
OpenWrt 19.07.2 r10947

Trying to enable “DNS lookup” in /status/realtime/connections
and get this until device reboot

/usr/lib/lua/luci/dispatcher.lua:315: /etc/config/luci seems to be corrupt, unable to find section ‘main’ stack traceback:

[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:315: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:208: in function </usr/lib/lua/luci/dispatcher.lua:207>
 


13.03.20202902Base systemBug ReportVery LowLowWRT32X WiFi on radio1 drops every couple of daysTrunkUnconfirmed Task Description

I’m having a problem where all my wireless clients are dropped on a wifi that is running on radio1 of my WRT32X. This used to happen once every week or so, but it seems to have gotten more frequent with it happening once every couple of days.

Versions: OpenWrt 19.07.2 r10947-65030d81f3 / LuCI openwrt-19.07 branch git-20.067.35699-cf18bdd
All packages have been recently upgraded. This used to happen on 19.06 too but it’s become more frequent recently.

Here are some things I’ve noticed:

1. Memory usage keeps steadily increasing as soon as this happens. If I don’t reboot the router, the router will eventually crash and reboot itself due to it running out of memory.
2. top doesn’t show me any processes using too much memory, so I don’t know exactly who is leaking memory when it happens (the memory leak is more likely to be a symptom than the root cause).
3. As soon as this happens, dmesg becomes flooded with messages such as “[ 1983.388642] ieee80211 phy0: staid 13 deleted” (with different “staid numbers”)
4. A router restart is sufficient to make things go back to normal.
5. This only happens for my 2.4GHz network for IoT on radio1. It does not happen for my 5GHz network on radio0, which stays stable.

FWIW, this is my current /etc/config/wireless: https://gist.github.com/luizribeiro/d15e3598747c126c0728696f5ebe8960

Any thoughts on what else I could be looking at to pinpoint where the bug is?

13.03.20202901Base systemBug ReportVery LowHighFlow offload not working properly in case of IPv6 (NAT6...openwrt-19.07Unconfirmed Task Description

Linksys WRT32X with NAT6 configuration.

On latest 19.07 branch r10959

With the flow_offload feature turned on, nat6 is not working properly.
The first (or several) TCP packets seemed to be fine but later packets were not properly transmitted. The connection was soon closed.

(In case of accessing ipv6.google.com, the browser would freeze. And the curl would freeze after receiving a portion of the HTML content.)

In the meantime, ICMPv6 worked normally.

After removing the FLOWOFFLOAD ip6tables record, everything is fine.
After inserting the `-m conntrack –cstate RELATED,ESTABLISHED -j ACCEPT` before the FLOWOFFLOAD everything is also fine.

IPv4 part looked normal even if flow_offload is on.

NAT6 worked on older versions like 18.04 branch with flow_offload enabled.

12.03.20202900KernelBug ReportVery LowLowath79 nand trunk bootloopTrunkUnconfirmed Task Description

1) WNDR3700v4 (likely wndr4300v1 too)
2) trunk build, compiles fine for 4.19 and 5.4
3) build, try to boot, will bootloop on 4.19 or 5.4 testing kernel

commit: ath79: add support for kernel 5.4 this commit edits: target/linux/ath79/nand/config-default diff this is causing the bootloop to happen. however, if:

CONFIG_MTD_NAND=y
CONFIG_MTD_NAND_AR934X=y
CONFIG_MTD_NAND_ECC=y

is readded, the bootloop won’t happen and the build will load.
i don’t know if all three of these are needed or just CONFIG_MTD_NAND i also tested with this on 5.4 but i still have the bootloop however, that’s probably expected i know it’s currently a work in progress.
so, this change will only fix 4.19

after i patched this locally: OpenWrt SNAPSHOT r12586+5-3b45a3b388 also i should note, as of this version exFAT (specifically, kmod-fs-exfat0) won’t compile at 4.19 but that’s another issue that i’m sure will be resolved in no time.

12.03.20202899KernelBug ReportVery LowCriticalath79 : Kernel 5.4 bootloop crash on TP Link 3420-V2TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on –> TP Link 3420-V2
- Software versions of OpenWrt/LEDE release, packages, etc. –> master branch
- Steps to reproduce –> Compile & Flash Kernel 5.4

Serial Log.

U-Boot 1.1.4 (Sep 12 2014 - 09:54:01)

U-boot AP123


DRAM:  32 MB
id read 0x100000ff
Flash:  4 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
wasp reset mask:c03300
WASP ----> S27 PHY
file: ag934x.c,line: 180==: set LAN&WAN SWAP. --debug by HouXB
GMAC: cfg1 0x5 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
s27 reg init 
athrs27_phy_setup ATHR_PHY_CONTROL 4: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4: 0x10
eth0 up
WASP ----> S27 PHY
file: ag934x.c,line: 180==: set LAN&WAN SWAP. --debug by HouXB
GMAC: cfg1 0xf cfg2 0x7214
eth1: ba:be:fa:ce:08:41
s27 reg init lan 
ATHRS27: resetting s27
ATHRS27: s27 reset done
athrs27_phy_setup ATHR_PHY_CONTROL 0: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0: 0x10
athrs27_phy_setup ATHR_PHY_CONTROL 1: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1: 0x50
athrs27_phy_setup ATHR_PHY_CONTROL 2: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2: 0x10
athrs27_phy_setup ATHR_PHY_CONTROL 3: 0x1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3: 0x10
eth1 up
eth0, eth1
is_auto_upload_firmware=0
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 5.4.24 (openwrt@) (gcc version 9.2.0 (OpenWrt GCC 9.2.0 r12514-659ae99e9b)) #0 Wed Mar 11 18:40:03 2020
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] MIPS: machine is TP-Link TL-MR3420 v2
[    0.000000] SoC: Atheros AR9341 rev 3
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 26408K/32768K available (3926K kernel code, 131K rwdata, 548K rodata, 1212K init, 181K bss, 6360K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] random: get_random_bytes called from 0x804e1a04 with crng_init=0
[    0.000000] CPU clock: 535.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7144898866 ns
[    0.000011] sched_clock: 32 bits at 267MHz, resolution 3ns, wraps every 8027976190ns
[    0.008248] Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248)
[    0.094816] pid_max: default: 32768 minimum: 301
[    0.099872] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.107593] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.116625] Kernel panic - not syncing: Unexpected DSP exception
[    0.122965] Rebooting in 1 seconds..
 


12.03.20202898Base systemBug ReportVery LowLowAdd support for git reference repositoriesTrunkUnconfirmed Task Description

If OpenWRT added support for git reference repositories when fetching feeds, builds can be conducted with less bandwidth usage.

https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---reference-if-ableltrepositorygt

For example, I’ve modified the feeds script to allow this, but the modification is pretty rough.

From 44b08ccb6abbcffc8566312b8d92d729e9b09e15 Mon Sep 17 00:00:00 2001
From: Michael Jones <mike@meshplusplus.com>
Date: Tue, 10 Mar 2020 20:09:15 -0500
Subject: [PATCH] Make git clones happen via a reference repository to save
 bandwidth

---
 scripts/feeds | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/scripts/feeds b/scripts/feeds
index 304ef6cbaf..31a61b230c 100755
--- a/scripts/feeds
+++ b/scripts/feeds
@@ -133,18 +133,18 @@ my %update_method = (
 	        'update'	=> "",
 	        'revision'	=> "echo -n 'dummy'"},
 	'src-git' => {
-	        'init'          => "git clone --depth 1 '%s' '%s'",
-	        'init_branch'   => "git clone --depth 1 --branch '%s' '%s' '%s'",
-	        'init_commit'   => "git clone '%s' '%s' && cd '%s' && git checkout -b '%s' '%s' && cd -",
+	        'init'          => "(export URL='%s' ; export NAME='%s' ; GIT_DIR=../../../../../../.gitcache git remote add -f `echo \$NAME | md5sum | cut -d' ' -f 1` \$URL ; git clone --reference ../../../../../../.gitcache --depth 1 \$URL \$NAME)",
+	        'init_branch'   => "(export BRANCH='%s' ; export URL='%s' ; export NAME='%s' ; GIT_DIR=../../../../../../.gitcache git remote add -t \$BRANCH -f `echo \$NAME-\$BRANCH | md5sum | cut -d' ' -f 1` \$URL ; git clone --reference ../../../../../../.gitcache --depth 1 --branch \$BRANCH \$URL \$NAME)",
+	        'init_commit'   => "(export URL='%s' ; export NAME='%s' ; GIT_DIR=../../../../../../.gitcache git remote add -f `echo \$NAME | md5sum | cut -d' ' -f 1` \$URL ; git clone --reference ../../../../../../.gitcache \$URL \$NAME && cd '%s' && git checkout -b '%s' '%s' && cd -)",
 	        'update'	=> "git pull --ff",
 	        'update_force'	=> "git pull --ff || (git reset --hard HEAD; git pull --ff; exit 1)",
 	        'post_update'	=> "git submodule update --init --recursive",
 	        'controldir'	=> ".git",
 	        'revision'	=> "git rev-parse --short HEAD | tr -d '\n'"},
 	'src-git-full' => {
-	        'init'          => "git clone '%s' '%s'",
-	        'init_branch'   => "git clone --branch '%s' '%s' '%s'",
-	        'init_commit'   => "git clone '%s' '%s' && cd '%s' && git checkout -b '%s' '%s' && cd -",
+	        'init'          => "(export URL='%s' ; export NAME='%s' ; GIT_DIR=../../../../../../.gitcache git remote add -f `echo \$NAME | md5sum | cut -d' ' -f 1` \$URL ; git clone --reference ../../../../../../.gitcache \$URL \$NAME)",
+	        'init_branch'   => "(export BRANCH='%s' ; export URL='%s' ; export NAME='%s' ; GIT_DIR=../../../../../../.gitcache git remote add -t \$BRANCH -f `echo \$NAME-\$BRANCH | md5sum | cut -d' ' -f 1` \$URL ; git clone --reference ../../../../../../.gitcache --branch \$BRANCH \$URL \$NAME)",
+	        'init_commit'   => "(export URL='%s' ; export NAME='%s' ; GIT_DIR=../../../../../../.gitcache git remote add -f `echo \$NAME | md5sum | cut -d' ' -f 1` \$URL ; git clone --reference ../../../../../../.gitcache \$URL \$NAME && cd '%s' && git checkout -b '%s' '%s' && cd -)",
 	        'update'	=> "git pull --ff",
 	        'update_force'	=> "git pull --ff || (git reset --hard HEAD; git pull --ff; exit 1)",
 	        'post_update'	=> "git submodule update --init --recursive",
--
2.24.1

11.03.20202897Base systemBug ReportVery LowLow6in4: pinging with -I 6in4-foo results in extra encapsu...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
WNDR4300
- Software versions of OpenWrt/LEDE release, packages, etc.
19.07.2
- Steps to reproduce
1. Create a 6in4 tunnel
2. ping -I 6in4-interface-name 2001:4860:4860::8844

Observe you get no responses. Analyse the packets being sent to the tunnel broker endpoint and notice that there is an extra layer of IPv4 enapsuation.

So rather than an IPv6 packet in an IPv4 packet you get an IPv6 packet in an IPv4 packet which itself is in an IPv4 packet. As such:

Frame 1088: 158 bytes on wire (1264 bits), 158 bytes captured (1264 bits)
Ethernet II, Src: Netgear_f5:1e:4b (6c:b0:ce:f5:1e:4b), Dst: Cisco_60:a4:19 (00:c1:b1:60:a4:19)
Internet Protocol Version 4, Src: my.internet.connection.example.com (7.3.7.1), Dst: tunnelbroker.net (22.3.43.21)
    0100 .... = Version: 4
    .... 0101 = Header Length: 20 bytes (5)
    Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT)
    Total Length: 144
    Identification: 0x2248 (8776)
    Flags: 0x4000, Don't fragment
    ...0 0000 0000 0000 = Fragment offset: 0
    Time to live: 64
    Protocol: IPIP (4)
    Header checksum: 0x5ed3 [correct]
    [Header checksum status: Good]
    [Calculated Checksum: 0x5ed3]
    Source: my.internet.connection.example.com (7.3.7.1)
    Destination: tunnelbroker.net (22.3.43.21)
Internet Protocol Version 4, Src: my.internet.connection.example.com (7.3.7.1), Dst: tunnelbroker.net (22.3.43.21)
    0100 .... = Version: 4
    .... 0101 = Header Length: 20 bytes (5)
    Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT)
    Total Length: 124
    Identification: 0x7185 (29061)
    Flags: 0x4000, Don't fragment
    ...0 0000 0000 0000 = Fragment offset: 0
    Time to live: 64
    Protocol: IPv6 (41)
    Header checksum: 0x0f85 [correct]
    [Header checksum status: Good]
    [Calculated Checksum: 0x0f85]
    Source: my.internet.connection.example.com (7.3.7.1)
    Destination: tunnelbroker.net (22.3.43.21)
Internet Protocol Version 6, Src: 2001:123:ab:123::1 (2001:123:ab:123::1), Dst: dns.google (2001:4860:4860::8844)
    0110 .... = Version: 6
    .... 0000 0000 .... .... .... .... .... = Traffic Class: 0x00 (DSCP: CS0, ECN: Not-ECT)
    .... .... .... 0010 1010 0100 1101 0111 = Flow Label: 0x2a4d7
    Payload Length: 64
    Next Header: ICMPv6 (58)
    Hop Limit: 64
    Source: 2001:123:ab:123::1 (2001:123:ab:123::1)
    Destination: dns.google (2001:4860:4860::8844)
    [Source GeoIP: Moscow, RU]
    [Destination GeoIP: US]
Internet Control Message Protocol v6
 
10.03.20202893Base systemBug ReportVery LowHighEthernet port not receiving data on Ubiquiti LiteAP ac ...TrunkUnconfirmed Task Description

Hi,

The Ubiquiti LiteAP ac (LAP-120) does not receive incoming packets via eth0 with the latest snapshot (OpenWrt SNAPSHOT, r12498-2a18840cc7):

root@OpenWrt:/# ifconfig 
br-lan    Link encap:Ethernet  HWaddr B4:FB:E4:FA:FA:FA
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fdaa:a708:e003::1/60 Scope:Global
          inet6 addr: fe80::b6fb:e4ff:fefa:fafa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:4420 (4.3 KiB)

eth0      Link encap:Ethernet  HWaddr B4:FB:E4:FA:FA:FA  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:6622 (6.4 KiB)
          Interrupt:4

It works correctly with latest stable, 19.07.2.

Using tcpdump on the connected computer I see outgoing traffic from the device, but incoming traffic does not reach the device.

The device correctly detects link changes, but different link speeds make no difference:

[ 1536.519019] eth0: link down
[ 1536.522824] br-lan: port 1(eth0) entered disabled state
[ 1537.561807] eth0: link up (1000Mbps/Full duplex)
[ 1537.566554] br-lan: port 1(eth0) entered blocking state
[ 1537.571932] br-lan: port 1(eth0) entered forwarding state
[ 1541.719009] eth0: link down
[ 1541.722824] br-lan: port 1(eth0) entered disabled state
[ 1542.761703] eth0: link up (100Mbps/Half duplex)
[ 1542.766359] br-lan: port 1(eth0) entered blocking state
[ 1542.771738] br-lan: port 1(eth0) entered forwarding state
[ 1545.879008] eth0: link down
[ 1545.882820] br-lan: port 1(eth0) entered disabled state
[ 1546.921800] eth0: link up (10Mbps/Half duplex)
[ 1546.926365] br-lan: port 1(eth0) entered blocking state
[ 1546.931744] br-lan: port 1(eth0) entered forwarding state

Please find attached dmesg outputs for both snapshot (snap) and 19.07.2 (19072).

08.03.20202890Base systemBug ReportVery LowLow802.11w bad mwlwifi and mt76 supportTrunkUnconfirmed Task Description

http://openwrt/cgi-bin/luci/admin/network/wireless → `Interface Configuration` → `Wireless Security` says:

802.11w Management Frame Protection Requires ... support from the wifi driver
(as of Jan 2019: ath9k, ath10k, mwlwifi and mt76)

1. 802.11w is not usable with mwlwifi due to this issue: https://github.com/kaloz/mwlwifi/issues/362

2. trying to set `option ieee80211w ‘2’` for mt76 2.4GHZ (miwifi-mini mt7620) cause `hostapd -dd: Interface initialization failed`

08.03.20202889KernelBug ReportVery LowMediumTP-Link TL-WR841 snpshot ath79 kernel 5.4 error : ag71x...TrunkUnconfirmed Task Description

problem is : Failed to connect to the switch !
only happen with kernel 5.4, kernel 4.19 is fine

U-Boot 1.1.4 (Nov 16 2009 - 09:06:24)

AP93 (ar7240) U-boot
DRAM:
sri
#### TAP VALUE 1 = 8, 2 = 8
32 MB
id read 0x100000ff
flash size 4194304, sector count = 64
Flash:  4 MB
Using default environment

Hn:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7014
dth0: 00:03:7f:09:0b:ad
eth0 up
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... @K

Starting kernel ...



OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Looking for OpenWrt image... found at 0xbf022000
Decompressing kernel... done!
Ptarting kernel at 80060000...

Linux version 5.4.22 (huhu@bikom) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r11816-d5ede68f8b)) #0 Thu Mar 5 11:53:50 2020
printk: bootconsole [early0] enabled
CPU0 revision is: 00019374 (MIPS 24Kc)
LIPS: machine is TP-Link TL-WR841N/ND v5/v6
SoC: Atheros AR7240 rev 2
Initrd not found or empty - disabling initrd
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Zone ranges:
  Normal   [mem 0x0000000000000000-0x0000000001ffffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000000000000-0x0000000001ffffff]
Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
Built 1 zonelists, mobility grouping on.  Total pages: 8128
Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
Writing ErrCtl register=00000000
Readback ErrCtl regist"er=00000000
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 27372K/32768K available (3175K kernel code, 134K rwdata, 372K rodata, 1176K init, 182K bss, 5396K reserved, 0K cma-reserved)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS: 51
random: get_random_bytes called from 0x803fa9ac with crng_init=0
CPU clock: 400.000 MHz
clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: -1, 3072 bytes, linear)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
PCI host bridge /ahb/apb/pcie-controller@180c0000 ranges:
 MEM 0x0000000010000000..0x0000000013ffffff
  IO 0x0000000000000000..0x0000000000000000
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
pci_bus 0000:00: root bus resource [io  0x0000]
pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:00.0: [168c:002a] type 00 class 0x028000
pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
pci 0000:00:00.0: supports D1
pci 0000:00:00.0: PME# supported from D0 D1 D3hot
pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
clocksource: Switched to clocksource MIPS
NET: Registered protocol family 2
tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 32
workingset: timestamp_bits=30 max_order=13 bucket_order=0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
pinctrl-single 18040028.pinmux: 64 pins, size 8
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
printk: console [ttyS0] disabled
18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 12500000) is a 16550A
printk: console [ttyS0] enabled
printk: console [ttyS0] enabled
printk: bootconsole [early0] disabled
printk: bootconsole [early0] disabled
spi-nor spi0.0: s25sl032p (4096 Kbytes)
3 fixed-partitions partitions found on MTD device spi0.0
Creating 3 MTD partitions on "spi0.0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x0000003f0000 : "firmware"
2 tplink-fw partitions found on MTD device firmware
Creating 2 MTD partitions on "firmware":
0x000000000000-0x000000136bf2 : "kernel"
0x000000136bf4-0x0000003d0000 : "rootfs"
mtd: device 3 (rootfs) set to be root filesystem
0 squashfs-split partitions found on MTD device rootfs
0x000000370000-0x0000003d0000 : "rootfs_data"
0x0000003f0000-0x000000400000 : "art"
libphy: Fixed MDIO Bus: probed
ag71xx: probe of 19000000.eth failed with error -2
ag71xx: probe of 1a000000.eth failed with error -2
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
Freeing unused kernel memory: 1176K
This architecture does not have kernel memory protection.
Run /sbin/init as init process
random: fast init done
init: Console is alive
init: - watchdog -
hmodloader: loading kernel modules from /etc/modules-boot.d/*
kmodloader: done loading kernel modules from /etc/modules-boot.d/*
init: - preinit -
random: jshn: uninitialized urandom read (4 bytes read)
random: jshn: uninitialized urandom read (4 bytes read)
random: jshn: uninitialized urandom read (4 bytes read)
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are 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
trandom_read: 2 callbacks suppressed
random: procd: uninitialized urandom read (4 bytes read)
jffs2: notice: (362) jffs2_build_xattr_subsystem: complete building xattr subsystem, 15 of xdatum (0 unchecked, 8 orphan) and 17 of xref (8 dead, 0 orphan) found.
mount_root: switching to jffs2 overlay
`verlayfs: upper fs does not support tmpfile.
urandom-seed: Seeding with /etc/urandom.seed
procd: - early -
procd: - watchdog -
procd: - watchdog -
procd: - ubus -
random: ubusd: uninitialized urandom read (4 bytes read)
random: ubusd: uninitialized urandom read (4 bytes read)
random: ubusd: uninitialized urandom read (4 bytes read)
procd: - init -
Please press Enter to activate this console.
kmodloader: loading kernel modules from /etc/modules.d/*
tun: Universal TUN/TAP device driver, 1.6
Loading modules backported from Linux version v5.4-rc8-0-gaf42d3466bdc
Backport generated by backports.git v5.4-rc8-1-0-g368e8c51
xt_time: kernel timezone is -0000
ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=14
kmodloader: done loading kernel modules from /etc/modules.d/*
urngd: v1.0.2 started.
random: crng init done
random: 1 urandom warning(s) missed due to ratelimiting


07.03.20202888KernelBug ReportVery LowHighkomd-ipsec4 missing files in latest snapshotTrunkUnconfirmed Task Description

xfrm4_mode_tunnel ,xfrm4_mode_transport and xfrm4_mode_beet are missing in package kmod-ipsec4, it results strongswan failed to add SAD entry, and return netlink error.
It seems that it’s because of https://github.com/openwrt/openwrt/commit/1556ed155a9aff8636733d27076107b3354c4c3e

06.03.20202887Base systemBug ReportVery LowLowath79 port for TP-Link TL-WA830RE v1 doesn't detect LAN...TrunkUnconfirmed Task Description

I ported the TP-Link WL-WA83RE v1 from ar71xx to ath79 and noticed that the LAN LED doesn’t turn off if the network cable is removed. The kernel doesn’t detect the link status, the interface is always up.

AR7240 seems to be built like this, I don’t understand what MAC/PHY is connected to what but ethernet works if eth1 is enabled. I think the port status is only readable through the GE1 MDIO bus, but it isn’t initialized. On ar71xx the switch gets initialized, on ath79 I could only see it if I add eth0 to the DTS, but that creates a second, unusable network interface and still doesn’t connect the switch port’s link status to the kernel’s eth interface.

This probably also affects TP-Link TL-WA701ND v1, TL-WA730RE v1, TL-WA801ND v1 and TL-WA901ND v1.

06.03.20202886Base systemBug ReportVery LowLowNetgear R6260: mtd partition "factory" seem wrongTrunkUnconfirmed Task Description

* Board: R6260

* Problems:
After building OpenWrt from git and flash my new R6260 board, wireless
is unusable.
There no data at the start of factory partition (/dev/mtd5).

* Workaround:
Moving forward the factory partition at the first useful byte
(from 0×4600000 to 0×4620000) make wireless work. (defined here)

06.03.20202885Base systemBug ReportVery LowMediumx86/x64 musl crash in 19.07.01openwrt-19.07Unconfirmed Task Description

Any program built statically with SDK 19.07.01 for x86/64 coredumps at musl init stage

Program received signal SIGSEGV, Segmentation fault.
static_init_tls (aux=0xffffd408) at src/env/__init_tls.c:92
92      src/env/__init_tls.c: No such file or directory.
(gdb) bt
#0  static_init_tls (aux=0xffffd408) at src/env/__init_tls.c:92
#1  0x08083ed2 in __init_libc (envp=0xffffd53c, pn=0xffffd69d "/home/k/openwrt/sdk-x86/build_dir/target-i386_pentium4_musl/ntfs-3g-2017.3.23-2-fuseint/src/ntfs-3g") at src/env/__libc_start_main.c:39
#2  0x08083fe0 in __libc_start_main (main=0x80490e8 <main>, argc=1, argv=0xffffd534) at src/env/__libc_start_main.c:79
#3  0x08049f19 in _start_c (p=0xffffd530) at crt/crt1.c:18
#4  0x08049ef0 in _start ()
05.03.20202884KernelBug ReportVery LowLowR7800 hangs and restarts after few daysopenwrt-19.07Unconfirmed Task Description

Supply the following if possible:
- NetGear r7800
- Openwrt 19.07.1 (But same on 18.06.X)

- Steps to reproduce.

 Just run for several days and it hangs. Yes this router is working hard (OpenVPN, Transmission, 3Proxy, external disk attached) 

Mar 5 11:09:19 OpenWrt kernel: [174516.662874] Unable to handle kernel NULL pointer dereference at virtual address 00000001
Mar 5 11:09:19 OpenWrt kernel: [174516.662886] pgd = c0204000
Mar 5 11:09:19 OpenWrt kernel: [174516.662897] [00000001] *pgd=00000000
Mar 5 11:09:19 OpenWrt kernel: [174516.662924] Internal error: Oops: 17 [#1] SMP ARM
Mar 5 11:09:19 OpenWrt kernel: [174516.662955] Modules linked in: pppoe ppp_async 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_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY vhci_hcd usblp usbip_host usbip_core 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 iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat sch_cake nf_conntrack sch_teql sch_sfq sch_red sch_prio
Mar 5 11:09:19 OpenWrt kernel: [174516.715123] sch_pie sch_multiq sch_gred sch_fq sch_dsmark sch_codel em_text em_nbyte em_meta em_cmp act_simple act_police act_pedit act_ipt act_gact act_csum libcrc32c 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 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ifb nat46 ip6_tunnel tunnel6 tun uas usb_storage uhci_hcd ext4 mbcache jbd2 crc32c_generic leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug
Mar 5 11:09:19 OpenWrt kernel: [174516.778498] CPU: 0 PID: 5329 Comm: kworker/0:1 Not tainted 4.14.167 #0
Mar 5 11:09:19 OpenWrt kernel: [174516.800724] Hardware name: Generic DT based system
Mar 5 11:09:19 OpenWrt kernel: [174516.807255] Workqueue: events 0xc06542e8
Mar 5 11:09:19 OpenWrt kernel: [174516.812094] task: dcffd900 task.stack: d955e000
Mar 5 11:09:19 OpenWrt kernel: [174516.816261] pc : [<c07bdbf0>] lr : [<c0679b9c>] psr: 80000013
Mar 5 11:09:19 OpenWrt kernel: [174516.820953] sp : d955fd50 ip : 00000000 fp : dd769c28
Mar 5 11:09:19 OpenWrt kernel: [174516.827287] r10: 00000000 r9 : ffffffff r8 : 00000002
Mar 5 11:09:19 OpenWrt kernel: [174516.832584] r7 : d955fdd4 r6 : 20000013 r5 : 00000001 r4 : dd6406d8
Mar 5 11:09:19 OpenWrt kernel: [174516.837879] r3 : de806024 r2 : 1fffa6f0 r1 : 00000000 r0 : 00000001
Mar 5 11:09:19 OpenWrt kernel: [174516.844219] Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
Mar 5 11:09:19 OpenWrt kernel: [174516.850815] Control: 10c5787d Table: 5ba0806a DAC: 00000051
Mar 5 11:09:19 OpenWrt kernel: [174516.858107] Process kworker/0:1 (pid: 5329, stack limit = 0xd955e210)
Mar 5 11:09:19 OpenWrt kernel: [174516.863920] Stack: (0xd955fd50 to 0xd9560000)
Mar 5 11:09:19 OpenWrt kernel: [174516.870445] fd40: dd6406d8 00000001 20000013 c056ec00
Mar 5 11:09:19 OpenWrt kernel: [174516.874893] fd60: dd6406e4 fffffffe 00000000 c056fdd4 00000000 fffffffe 00000000 c033e164
Mar 5 11:09:19 OpenWrt kernel: [174516.883140] fd80: dd68f418 dd68f404 00000000 00000002 d955fdd4 c033e460 00000000 c0a158a8
Mar 5 11:09:19 OpenWrt kernel: [174516.891385] fda0: dd68f400 c0a13178 dd640780 00000002 2faf0800 2faf0800 23c34600 c033e4a8
Mar 5 11:09:19 OpenWrt kernel: [174516.899632] fdc0: 00000000 00003208 dd54c200 c0563e50 dd54c200 dd641400 2faf0800 23c34600
Mar 5 11:09:19 OpenWrt kernel: [174516.907879] fde0: dd54c200 dd640780 00000000 23c34600 dd4dac80 c0565674 dd4dac80 dd6404d8
Mar 5 11:09:19 OpenWrt kernel: [174516.916126] fe00: 23c34600 dd4cf900 2faf0800 2faf0800 23c34600 c05656a4 dd640780 23c34600
Mar 5 11:09:19 OpenWrt kernel: [174516.924371] fe20: 00000000 dd4dac80 dd7ad000 2faf0800 23c34600 c0565a6c dd769bc0 23c34600
Mar 5 11:09:19 OpenWrt kernel: [174516.932618] fe40: dd769c00 dda01010 dd7ad000 c0565ac8 dd78a200 dd769bc0 dd769c00 c05ad744
Mar 5 11:09:19 OpenWrt kernel: [174516.940865] fe60: c0a61004 00000000 dcc25140 dd7ad028 23c34600 2faf0800 00009c40 23c34600
Mar 5 11:09:19 OpenWrt kernel: [174516.949113] fe80: dcc25240 dcc2525c 00000000 dcc25280 000927c0 dcc3a200 dda07540 c0655234
Mar 5 11:09:19 OpenWrt kernel: [174516.957359] fea0: 00000000 c0654c74 00009c40 dcc3a200 00000000 c0a61004 00000000 00000001
Mar 5 11:09:19 OpenWrt kernel: [174516.965604] fec0: 000927c0 00000000 dda07540 c0651364 00000002 000c3500 000927c0 00000021
Mar 5 11:09:19 OpenWrt kernel: [174516.973851] fee0: dcc24380 dcc3a200 dcc24380 dcc24400 dcc24400 dcc25300 00000000 c065377c
Mar 5 11:09:19 OpenWrt kernel: [174516.982097] ff00: dcc243b8 00000000 dcc24384 dcc3a200 c0a1f104 00000000 00000000 c0654320
Mar 5 11:09:19 OpenWrt kernel: [174516.990343] ff20: dcc243b8 d750c280 dda07540 dda0a400 00000000 c03371d0 dda07558 ffffe000
Mar 5 11:09:19 OpenWrt kernel: [174516.998591] ff40: d750c280 dda07540 d750c298 dda07558 ffffe000 c0a02d00 00000008 c03376cc

 


04.03.20202881Base systemBug ReportVery LowMediumhostapd doesn't start - ubus wait_for hostapd.phy0TrunkUnconfirmed Task Description

hostapd doesn’t go up when started by ‘wifi up’ or LuCI.
Instead a process shows up for 30secs:

$ ps aux |grep hostapd
root     27196  0.0  0.0    956   548 ?        S    21:26   0:00 ubus wait_for hostapd.phy0

The wifi adapter can be started manually though:

$ nohup hostapd /var/run/hostapd-phy0.conf &>/dev/null &

The bug started around some months ago. It did work properly before.

Tested on:
x86_64 trunk
OpenWrt SNAPSHOT, r12425-d83150e3fb
kernel 4.19 + 5.4.22
Ralink RT2870 USB Wireless Adapter (148f:2870)
rt2x00usb
mac80211

04.03.20202880KernelBug ReportVery LowLowwireless-regdb is outdated and faulty for at least "CH"...openwrt-19.07Unconfirmed Task Description

The wireless-regdb Version 2019.06.03 has faulty Entries for at least “CH” and “LI”.
Some Ranges described for “CH” are even overlapping, which should not be the case AFAIK.

The Entries should actually be about the same as “DE”, fixed in commit 5dd4dbf709d38aab21cba0183cf26510054449f0 (git.kernel.org)

Source: See Link

03.03.20202875PackagesBug ReportVery LowLowppp-mod-pptp ipk install error on k2p routerTrunkUnconfirmed Task Description

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

 

I want to setup pptp site-to-site vpn on k2p router which install openwrt. when i instlall ppp-mode-pptp ipk,the error occur below.

root@Router:~# opkg install ppp-mod-pptp
Installing ppp-mod-pptp (2.4.7-13) to root...
Downloading http://mirrors.tuna.tsinghua.edu.cn/lede/releases/18.06.7/packages/mipsel_24kc/base/ppp-mod-pptp_2.4.7-13_mipsel_24kc.ipk Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for ppp-mod-pptp:
* kernel (= 4.14.167-1-16b77c6fbb9d9192d39ab642ba67d11a)
* opkg_install_cmd: Cannot install package ppp-mod-pptp.

my version
root@Router:~# cat /proc/version
Linux version 4.14.167 (runner@fv-az50) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7976-ca47026b7d)) #0 SMP Wed Jan 29 16:06:05 2020

03.03.20202874Base systemBug ReportVery LowLowNo squashfs image for tplink tinyTrunkUnconfirmed Task Description

Check http://downloads.openwrt.org/snapshots/targets/ath79/tiny/ here. All tplink models only have initramfs images, while other models have the right images.

pqi_air-pen-initramfs-kernel.bin
pqi_air-pen-squashfs-sysupgrade.bin
pqi_air-pen.json
tplink_tl-mr10u-initramfs-kernel.bin
tplink_tl-mr3020-v1-initramfs-kernel.bin
tplink_tl-mr3040-v2-initramfs-kernel.bin
tplink_tl-mr3220-v1-initramfs-kernel.bin

02.03.20202872Base systemBug ReportVery LowLowfritz avm450e boots into failsafe mode after flashing w...TrunkUnconfirmed Task Description

- AVM Fritz Repeater 450e
- OpenWrt 19.07.02 from https://downloads.openwrt.org/releases/19.07.2/targets/ar71xx/generic/openwrt-19.07.2-ar71xx-generic-fritz450e-squashfs-sysupgrade.bin - scp fritz450e-squashfs-sysupgrade.bin root@192.168.1.1:/tmp/sysup.bin
- sysupgrade -n /tmp/sysup.bin

 

After flashing the device reboots into failsafe mode.

01.03.20202871KernelBug ReportVery LowCriticalBuffalo WHR-600D fails to initialise RT5592.TrunkUnconfirmed Task Description

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

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

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

But... no dice

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

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

Boot shows:

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

then - for phy1

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

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

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

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

 


01.03.20202870Base systemBug ReportVery LowMediumDevice keeping settings on ZBT-WG3526 (16M) and OpenWrt...TrunkWaiting on reporter Task Description

Supply the following if possible:
- Device problem occurs on
ZBT-WG3526 (16M)
https://openwrt.org/toh/hwdata/zbt/zbt_wg3526_16m

- Software versions of OpenWrt/LEDE release, packages, etc.
Firmware
https://downloads.openwrt.org/releases/19.07.1/targets/ramips/mt7621/openwrt-19.07.1-ramips-mt7621-zbt-wg3526-16M-squashfs-sysupgrade.bin

- Steps to reproduce
Flash trunk, boot, set password. Reboot.

First boot works, then when rebooting the router doesn’t come back up. After cutting the power, it will eventually boot first boot again (no settings kept, no password). This occurs both with the binary downloaded from downloads.openwrt.org as well as with a self-built firmware.

 


01.03.20202869PackagesBug ReportVery LowMediumusbmuxd wants /var/libopenwrt-19.07Unconfirmed Task Description

# usbmuxd -v -f
[05:28:41.669][3] usbmuxd v1.1.1 starting up
[05:28:41.671][4] Creating socket
[05:28:41.673][0] Failed to create required directory ‘/var/lib/lockdown’: No such file or directory

usbmuxd 2019-03-04-b1b0bf39-1
OpenWrt 19.07.1 r10911-c155900f66 ramips/mt7620 miwifi-mini

28.02.20202868PackagesBug ReportVery LowCriticalCLAT/464XLAT stopped working in 19.07.1openwrt-19.07Unconfirmed Task Description

I was using CLAT in an Archer C7 v5 for some testing. Everything worked fine.

I decided then to upgrade to 19.07.1 and everything works fine from the backup that I did from the config, but not the CLAT (464XLAT).

I decided to reflash the unit from scratch and configure everything manually. Same problem, CLAT is not working. I tried even setting the tunnel link to the WAN interface manually in the CLAT interface (advanced settings), instead of the default “unspecified”, played with the firewall settings as well, etc. Nothing resulted.

By the way, even in 18.06.7, which I’m using right now with the CLAT, the CLAT interface doesn’t report any RX/TX or packets. In the same router I’ve installed Collectd and I can see there the traffic being graphed correctly.

So I’m guessing there is some bug there. I’m going to report it as a bug, but just in case someone discovered an easy solution.

I’ve observed that at some point, across numerous tests, a Virtual dynamic interface 464XLAT was created, but it doesn’t allow to edit it, so not sure if this is related. I believe this interface is only created when I’m using PPPoE for the WAN link (I’ve tested 2 scenarios, PPPoE done in the OpenWRT box and PPPoE done in the GPON ONT).

28.02.20202867Base systemBug ReportVery LowMediumproto_add_host_dependency inject wrong route to wrong g...AllUnconfirmed Task Description

Every time when any interface that using proto_add_host_dependency function (PPTP, L2TP, 6in4) comes up the system automatically adds route for VPN server. That's nice, but the problem is that the function does not realy alalyze the routing table. It uses first default gateway. This causes serious errors in configurations with a complex routing table or multi-wan configurations. it is necessary to refine this function so that it analyzes the routing table and all routes and also the metrics and adds a route to the real gateway for this host, not only first defalt gateway.

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

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

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

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

After removing the modules with:

rmmod ath9k
rmmod ath9k_common
rmmod ath9k_hw

And trying to load them back with:

insmod ath9k_common
insmod ath9k_hw
insmod ath9k

This messages show up:

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

Attempting to produce a factory.bin for the hardware identical devices D-Link DIR-810L and Trendnet TEW-810DR. In order to flash over the factory image, a short tag needs to be appended to firmware image. See the device pages:
]https://openwrt.org/toh/d-link/dir-810l?s[]=810l] [[https://openwrt.org/toh/trendnet/trendnet_tew-810dr_1.0_1.1?s[]=tew&s[]=810dr

Both pages use a tool that is provided in both the D-Link and Trendnet GPL source download for the respective device.
I can confirm that one cannot flash over the factory image on the Trendnet without appended tag.

I found a prior mailing of someone needing to accomplish the same task and the respondent complained about the lack of documentation. The submitter wrote his own.
https://jmomo.net/files/lede/patch_sets/v16-0002-ipq806x-Add-support-for-new-device-tew827dru.patch

I attempted to use mkcameofw/cameofw in a git pull versioned to 19.07.1 and the build error out, unable to find tool mkcameofw/cameofw.

A couple of points:

1. mkcameofw seems to be broken and unused. Both the device pages
describe the use of GPL‘d ncc_att_hwid after the build for the initial
install.

2. I’ve searched for the documentation for ncc_att_hwid and cameo
signature and only came up with it being applied in OpenWRT/DD-wrt.

3. Users are working around the broken code manually.

4. ncc_att_hwid is GPL‘d and could be included in the build tree.

5. The respective cameo signatures can be seen in the hex output of the D-Link and Trendnet firmware.

6. If the project could either adapt ncc_att_hwid or the previously submitted tool, factory flash bins could be produced for several devices.

25.02.20202858Base systemBug ReportVery LowLowkmod-cfg80211 dependencies [iw] missing in repositoryTrunkUnconfirmed Task Description

Supply the following if possible:

- Device problem occurs on
generic x86/64

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

- Steps to reproduce
try installing kmod-cfg80211
(see also attached screenshot)

 
25.02.20202856Base systemBug ReportVery LowHighWifi "dies" (hostapd drops all clients) on some ar71xx ...openwrt-19.07New Task Description

This issue is very strange, i don’t even know if it’s just faulty hardware but i have it happening on multiple devices now

Most affected hardware

  • Nanobridge M5 , in this case transmitting enough data can trigger it almost instantly
  • TL-WR841ND , in this case i had it happen like 3-4 times a year
  • CPE 210 v3 , in this case it happens like each week

For the last one, which is running 19.07 i found on the system log

Tue Feb 25 07:38:58 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED [redacted mac1]
Tue Feb 25 07:38:58 2020 daemon.info hostapd: wlan0: STA [redacted mac1] IEEE 802.11: disassociated due to inactivity
Tue Feb 25 07:38:59 2020 daemon.info hostapd: wlan0: STA [redacted mac1] IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Feb 25 07:41:32 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED [redacted mac2]
Tue Feb 25 07:41:32 2020 daemon.info hostapd: wlan0: STA [redacted mac2] IEEE 802.11: disassociated due to inactivity
Tue Feb 25 07:41:33 2020 daemon.info hostapd: wlan0: STA [redacted mac2] IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Feb 25 07:42:49 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3]
Tue Feb 25 07:49:55 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3]
Tue Feb 25 07:55:02 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3]
Tue Feb 25 08:00:15 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3]
Tue Feb 25 08:05:25 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3]
Tue Feb 25 08:10:44 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3]
Tue Feb 25 08:16:00 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3]
24.02.20202854Base systemBug ReportVery LowLowTP-Link Archer C6 v2 (US) WAN LED amber/green switchedTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: TP-Link Archer C6 v2 US
- Software versions of OpenWrt/LEDE release, packages, etc: OpenWrt SNAPSHOT r12297-7e9c7e7b2d
- Steps to reproduce:

- Install OpenWrt snapshot on Archer C6 v2 US
- Connect to the router using a LAN cable
- Login into the shell (ssh root@<ip>)
- Unplug any cables from WAN - execute and check the color of the led in the device, should be amber but it’s green:

echo 0 | tee /sys/class/leds/tp-link\:amber\:wan/brightness
echo 0 | tee /sys/class/leds/tp-link\:green\:wan/brightness
echo 255 | tee /sys/class/leds/tp-link\:amber\:wan/brightness

- if we do the opposite, it should be green but it’s amber:

echo 0 | tee /sys/class/leds/tp-link\:amber\:wan/brightness
echo 0 | tee /sys/class/leds/tp-link\:green\:wan/brightness
echo 255 | tee /sys/class/leds/tp-link\:green\:wan/brightness
24.02.20202853Base systemBug ReportVery LowLowThe netifd is unable to find correct network interfaceTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
RouterBoard RB912UAG-5HPnD + R11e-LTE PCIe LTE card
- Software versions of OpenWrt/LEDE release, packages, etc.
NAME=”OpenWrt” VERSION=”19.07.1” Configuration of network device:
config interface ‘wwan’

      option proto 'ncm'
      option ifname 'wwan0'
      option device '/dev/ttyACM1'
      option apn 'internet.eplus.de'
      option mode 'preferlte'
      option delay '5'

- Steps to reproduce

The netifd is unable to find which logical ethXXX interface is bound with serial port /dev/ttyACM1 for NCM - both handled by the R11e-LTE card.
In logread following messages appear:
Mon Feb 24 17:19:42 2020 daemon.notice netifd: wwan (3952): ls: /sys/devices/platform/ehci-platform/usb1/1-1/1-1:1.4/../../*/net: No such file or directory

The only net directory in the tree /sys/devices/platform/ehci-platform/usb1 is /sys/devices/platform/ehci-platform/usb1/1-1/1-1:1.0/net - the content of the directory is a directory eth1. Really eth1 is correct network interface name bound, so the problem looks like listing with ls not assuming the partigular directory tree depth.

24.02.20202852Base systemBug ReportVery LowLowuclient-fetch (wget) buggy with http-authTrunkUnconfirmed Task Description

When doing a wget (via uclient-fetch) including user/password (http-auth), on my server I see following log from apache2:

172.16.0.1 - - [24/Feb/2020:09:44:51 +0100] “GET xxxxxx.php?mac=AA:BB:CC:DD:EE:FF HTTP/1.1” 401 596 “-” “uclient-fetch” 172.16.0.1 - username [24/Feb/2020:09:44:52 +0100] “GET xxxxxx.php?mac=AA:BB:CC:DD:EE:FF HTTP/1.1” 200 212 “-” “uclient-fetch”

This is reproducable; looks like first a GET without auth, and then a retry incl. auth.

wget from busybox works flawlessly.

24.02.20202851Base systemBug ReportVery LowLowLLDP is part of base package, but apparently not docume...AllUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
Documentation

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

- Steps to reproduce
Go to documentation site.
Look for LLDP on the index page – Nothing.
Search for LLDP – Only bug reports are found, no documentation

 


22.02.20202849KernelBug ReportVery LowHighAR8327 can't work on hybid VLAN tagging mode.AllUnconfirmed Task Description

I have 2 vlan channel in family network for IPTV STB with VLAN 51 & 85. My router is WZR-HP-G302H which have the same hardware with WZR-HP-G300NH2.

With the default vlans1&2, I set the switch has 4 vlan channels:
vlan1 goes cpu(port0) tagged, lan(port1-4) untagged, wan(port5) off,
vlan2 goes cpu(port0) tagged, lan(port1-4) off, wan(port5) untagged,
vlan51(for multicast) goes cpu(port0) untagged, IPTV(port1) tagged, PC(port2-4) off, wan(port5) tagged,
vlan85(IPTV stream) goes cpu(port0) untagged, IPTV(port1) tagged, PC(port2-4) off, wan(port5) tagged.
And I use TTL to logon my IPTV STB, with ifconfig eth0&eht0.85, I can see the STB got both internet routing ip(192.168.2.x) & IPTV intranet ip(217.xxx.xxx.xxx), but when I’m trying to ping 192.168.2.1, it failed.
When I set wan(port5) with vlan51&85 off, the internet was back, and got acks from ping 192.168.1.1.
So I tried to replace wan to port1-4 ,IPTV port to port2-5 with all the possibility, it shows the same problem.

Then I try to use the route with AP mode:
vlan1 goes cpu(port0) tagged, lan(port1-5) untagged,
vlan51 goes cpu(port0) off, lan(port1-5) tagged,
vlan85 goes cpu(port0) off, lan(port1-5) tagged.
The STB still got 2 IPs , which 192.168.1.x & 217.xxx.xxx.xxx both offerd by Modem’s DHCP.
And the same problem appears: only port with both vlan51&85 turned off can got internet access, others not.

I tried firmwares openwrt-19.07.1-ath79-generic-buffalo_wzr-hp-g302h-a1a0-squashfs-sysupgrade.bin, openwrt-19.07.1-ar71xx-generic-wzr-hp-g300nh2-squashfs-sysupgrade.bin and openwrt-18.06.7-ar71xx-generic-wzr-hp-g300nh2-squashfs-sysupgrade, they shows the same problem while the port sets in hybird mode with vlan tagged & untagged.

So I have to seeks documents and troubleshoots for help. Finally I found the ticket:(https://dev.archive.openwrt.org/ticket/12181.html) told the same problem.
But the ticket is 5 yeas ago, and the ar8216.c no in 19.07.1 and 18.06.7 is definitely different, the “k”‘s path is no longer available with new ar8216.c, so I have to report the bug here again.
Is there any patch or a new fixed version of ar8216.c work with hybird mode which inculde tagged & untagged frame on the same port? Thank you very much.

22.02.20202848Base systemBug ReportVery LowHighmulticast ff02::2 not responding since 19.07openwrt-19.07Unconfirmed Task Description

cannot do multicast in nanostation m5 xw (and maybe applies for other devices with eth0.1 and eth0.2 simulating eth0 and eth1)

multicast is a core feature for running some routing protocols as bmx6 per cable)

  iface="my ethernet"
  ping6 ff02::2%$iface

did tests with several platforms

- 18.06.4 ar71xx custom firmware → works
- 18.06.7 ar71xx openwrt.org → works
- 19.07.1 ar71xx custom firmware → does not work
- 19.07.1 ar71xx openwrt.org → does not work
- 19.07.1 ath79 openwrt.org → does not work
- snapshot ar71xx openwrt.org → does not work

  1. 0a21d2eb80787083852d92f1519f268df4873c07873ea6e4c1ba17af791fd801 3904.0 KB Mon Jun 17 14:08:48 2019

- snapshot ath79 openwrt.org → does not work

  1. e6831b128017c83082110191a4cbdf37994beb7e2dae651b5b36b854b4674805 4096.3 KB Thu Feb 20 09:43:23 2020
  2. OpenWrt SNAPSHOT, r12252-060b58fd6e

when I was figuring out what was happening, I did bmx6 routing (multicast) through br-lan in 3 devices, and I looked results with `tcpdump -i br-lan`. From the other devices I see that the multicast traffic from the affected device arrives (multicast packets go out), but when I see `tcpdump -i br-lan` in the affected device I only see his own multicast traffic (it’s not entering anything else)

hence, looks like 19.07.1 introduced something that it does not allow this

21.02.20202847Base systemBug ReportVery LowHighbetween ath79-master-r12157-a1cfe0dcbb and ath79-master...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
Netgear WNDR3700v2

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

between ath79-master-r12157-a1cfe0dcbb and ath79-master-r12259 including the rename from wndr3700v2 to wndr3700-v2 OpenWrt lost its capability to detect the two radios.

- Steps to reproduce

 


root@router:/tmp# cat /etc/banner

_______                     ________        __

| |.—–.—–.—–.| | | |.—-.| |_
| - || _ | -| || | | || _|| _|
|
_|| |_||||||| ||

        |__| W I R E L E S S   F R E E D O M

—————————————————– OpenWrt SNAPSHOT, r12157-a1cfe0dcbb


root@router:/tmp# dmesg
[ 0.000000] Linux version 4.19.98 (moeller@work-horse) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r12053-9e799f3eee)) #0 Fri Jan 31 22:29:40 2020
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] MIPS: machine is Netgear WNDR3700v2
[ 0.000000] SoC: Atheros AR7161 rev 2
[ 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 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] Normal zone: 144 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+0×98/0x4a8 with crng_init=0
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 57516K/65536K available (4327K kernel code, 176K rwdata, 1020K rodata, 1188K init, 206K bss, 8020K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 51
[ 0.000000] CPU clock: 680.000 MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5621354254 ns
[ 0.000008] sched_clock: 32 bits at 340MHz, resolution 2ns, wraps every 6316128254ns
[ 0.007800] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
[ 0.074071] pid_max: default: 32768 minimum: 301
[ 0.078916] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.085519] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.096880] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.106751] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.112960] pinctrl core: initialized pinctrl subsystem
[ 0.119019] NET: Registered protocol family 16
[ 0.428745] PCI host bridge /ahb/apb/pcie-controller@17010000 ranges:
[ 0.435198] MEM 0×0000000010000000..0x0000000016ffffff
[ 0.440426] IO 0×0000000000000000..0×0000000000000000 [ 0.463018] PCI host bridge to bus 0000:00
[ 0.467126] pci_bus 0000:00: root bus resource [mem 0×10000000-0x16ffffff]
[ 0.474044] pci_bus 0000:00: root bus resource [io 0×0000]
[ 0.479604] pci_bus 0000:00: root bus resource [??? 0×00000000 flags 0×0]
[ 0.486385] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.494769] pci 0000:00:11.0: [168c:ff1d] type 00 class 0×020000 [ 0.494800] pci 0000:00:11.0: reg 0×10: [mem 0×00000000-0x0000ffff]
[ 0.495095] pci 0000:00:12.0: [168c:ff1d] type 00 class 0×020000 [ 0.495122] pci 0000:00:12.0: reg 0×10: [mem 0×00000000-0x0000ffff]
[ 0.495679] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.495708] pci 0000:00:11.0: BAR 0: assigned [mem 0×10000000-0x1000ffff]
[ 0.502528] pci 0000:00:12.0: BAR 0: assigned [mem 0×10010000-0x1001ffff]
[ 0.512297] clocksource: Switched to clocksource MIPS
[ 0.518346] NET: Registered protocol family 2
[ 0.523491] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[ 0.531183] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.538204] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.544573] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.551058] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.556944] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.563492] NET: Registered protocol family 1
[ 0.567890] PCI: CLS 0 bytes, default 32
[ 0.570473] Crashlog allocated RAM at address 0x3f00000
[ 0.576987] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[ 0.589206] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.595083] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.615469] io scheduler noop registered
[ 0.619388] io scheduler deadline registered (default)
[ 0.625206] ar7100-usb-phy 18030000.usb-phy: phy reset is missing
[ 0.632106] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.639111] console [ttyS0] disabled
[ 0.642766] 18020000.uart: ttyS0 at MMIO 0×18020000 (irq = 10, base_baud = 10625000) is a 16550A
[ 0.651550] console [ttyS0] enabled
[ 0.658520] bootconsole [early0] disabled
[ 0.672685] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[ 0.677766] 4 fixed-partitions partitions found on MTD device spi0.0
[ 0.684156] Creating 4 MTD partitions on “spi0.0”:
[ 0.688944] 0×000000000000-0×000000050000 : “u-boot” [ 0.694662] 0×000000050000-0×000000070000 : “u-boot-env” [ 0.700642] 0×000000070000-0x000000ff0000 : “firmware” [ 0.709051] 2 netgear-fw partitions found on MTD device firmware
[ 0.715111] Creating 2 MTD partitions on “firmware”:
[ 0.720073] 0×000000000000-0x0000001c4440 : “kernel” [ 0.725799] 0x0000001c4440-0x000000f80000 : “rootfs” [ 0.731378] mtd: device 4 (rootfs) set to be root filesystem
[ 0.738413] 1 squashfs-split partitions found on MTD device rootfs
[ 0.744648] 0x0000007b0000-0x000000f80000 : “rootfs_data” [ 0.750780] 0x000000ff0000-0×000001000000 : “art” [ 0.756658] Realtek RTL8366S ethernet switch driver version 0.2.2
[ 0.762862] rtl8366s rtl8366s: cannot find mdio node phandle
[ 0.768528] rtl8366s rtl8366s: using GPIO pins 5 (SDA) and 7 (SCK)
[ 0.774813] rtl8366s rtl8366s: RTL8366 ver. 1 chip found
[ 0.826529] libphy: rtl8366s: probed
[ 0.831545] libphy: Fixed MDIO Bus: probed
[ 1.184018] ag71xx 19000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[ 1.193617] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
[ 1.533893] ag71xx 1a000000.eth: connected to PHY at rtl8366s:04 [uid=001cc960, driver=Generic PHY]
[ 1.543585] eth1: Atheros AG71xx at 0xba000000, irq 5, mode: rgmii
[ 1.552067] NET: Registered protocol family 10
[ 1.561269] Segment Routing with IPv6
[ 1.565090] NET: Registered protocol family 17
[ 1.569586] 8021q: 802.1Q VLAN Support v1.8
[ 1.585516] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 1.596158] Freeing unused kernel memory: 1188K
[ 1.600682] This architecture does not have kernel memory protection.
[ 1.607138] Run /sbin/init as init process
[ 2.582308] random: fast init done
[ 2.807119] init: Console is alive
[ 2.810741] init: - watchdog -
[ 6.241610] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 6.383455] usbcore: registered new interface driver usbfs
[ 6.389022] usbcore: registered new interface driver hub
[ 6.394453] usbcore: registered new device driver usb
[ 6.430284] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 6.445010] SCSI subsystem initialized
[ 6.453749] ehci-platform: EHCI generic platform driver
[ 7.058167] ehci-platform 1b000000.usb: EHCI Host Controller
[ 7.063869] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1
[ 7.071783] ehci-platform 1b000000.usb: irq 3, io mem 0x1b000000
[ 7.102319] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00
[ 7.109300] hub 1-0:1.0: USB hub found
[ 7.113454] hub 1-0:1.0: 2 ports detected
[ 7.120810] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
[ 7.128705] ohci-platform: OHCI generic platform driver
[ 7.134182] ohci-platform 1c000000.usb: Generic Platform OHCI controller
[ 7.140911] ohci-platform 1c000000.usb: new USB bus registered, assigned bus number 2
[ 7.148855] ohci-platform 1c000000.usb: irq 14, io mem 0x1c000000
[ 7.227154] hub 2-0:1.0: USB hub found
[ 7.231244] hub 2-0:1.0: 2 ports detected
[ 7.239911] usbcore: registered new interface driver usb-storage
[ 7.246968] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 7.257068] init: - preinit -
[ 7.952485] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 8.224006] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 8.239044] scsi host0: usb-storage 1-1:1.0
[ 8.607425] random: procd: uninitialized urandom read (4 bytes read)
[ 9.217736] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.313323] scsi 0:0:0:0: Direct-Access SanDisk Ultra 1.01 PQ: 0 ANSI: 2
[ 9.324268] sd 0:0:0:0: [sda] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB)
[ 9.435234] sd 0:0:0:0: [sda] Write Protect is off
[ 9.440027] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[ 9.441159] sd 0:0:0:0: [sda] No Caching mode page found
[ 9.446536] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 9.467635] sda: sda1 sda2
[ 9.485172] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 9.512732] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.803851] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.855143] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.937787] random: jshn: uninitialized urandom read (4 bytes read)
[ 10.734464] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 11.792658] eth0: link up (1000Mbps/Full duplex)
[ 11.797336] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 21.002121] mount_root: loading kmods from internal overlay
[ 21.065763] kmodloader: loading kernel modules from etc/modules-boot.d/*
[ 21.074086] kmodloader: done loading kernel modules from
etc/modules-boot.d/*
[ 22.067245] jffs2: notice: (573) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (3 unchecked, 1 orphan) and 38 of xref (1 dead, 0 orphan) found.
[ 22.083539] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 22.104478] block: extroot: not configured
[ 22.493615] jffs2: notice: (571) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (3 unchecked, 1 orphan) and 38 of xref (1 dead, 0 orphan) found.
[ 22.512972] mount_root: loading kmods from internal overlay
[ 22.571532] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[ 22.586940] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[ 23.297496] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 23.311711] block: extroot: not configured
[ 23.317033] mount_root: switching to jffs2 overlay
[ 23.391179] overlayfs: upper fs does not support tmpfile.
[ 23.402971] urandom-seed: Seeding with /etc/urandom.seed
[ 23.506382] eth0: link down
[ 23.522968] procd: - early -
[ 23.525956] procd: - watchdog -
[ 24.224357] procd: - watchdog -
[ 24.227866] procd: - ubus -
[ 24.305816] urandom_read: 2 callbacks suppressed
[ 24.305823] random: ubusd: uninitialized urandom read (4 bytes read)
[ 24.321238] random: ubusd: uninitialized urandom read (4 bytes read)
[ 24.330097] procd: - init -
[ 25.653767] kmodloader: loading kernel modules from /etc/modules.d/*
[ 25.815614] ntfs: driver 2.1.32 [Flags: R/O MODULE].
[ 25.855111] tun: Universal TUN/TAP device driver, 1.6
[ 25.878662] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 25.922686] gre: GRE over IPv4 demultiplexor driver
[ 25.944224] ip_gre: GRE over IPv4 tunneling driver
[ 26.291706] Mirror/redirect action on
[ 26.325462] u32 classifier
[ 26.328171] input device check on
[ 26.331822] Actions configured
[ 26.380723] Loading modules backported from Linux version v5.4-rc8-0-gaf42d3466bdc
[ 26.388336] Backport generated by backports.git v5.4-rc8-1-0-g368e8c51
[ 26.401462] urngd: v1.0.2 started.
[ 26.492389] usbcore: registered new interface driver usbserial_generic
[ 26.498978] usbserial: USB Serial support registered for generic
[ 26.558787] wireguard: WireGuard 0.0.20200128 loaded. See www.wireguard.com for information.
[ 26.567273] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld Jason@zx2c4.com. All Rights Reserved.
[ 26.778103] xt_time: kernel timezone is -0000
[ 26.798642] ath9k_pci_owl_loader 0000:00:11.0: enabling device (0000 → 0002)
[ 26.806040] ath9k_pci_owl_loader 0000:00:12.0: enabling device (0000 → 0002)
[ 26.824088] ath9k_pci_owl_loader 0000:00:12.0: fixup device configuration
[ 26.832789] ath9k_pci_owl_loader 0000:00:11.0: fixup device configuration
[ 26.861449] pci 0000:00:12.0: [168c:0029] type 00 class 0×028000 [ 26.861487] pci 0000:00:12.0: reg 0×10: [mem 0×10010000-0x1001ffff]
[ 26.861542] pci 0000:00:12.0: PME# supported from D0 D3hot
[ 26.862141] pci 0000:00:12.0: BAR 0: assigned [mem 0×10010000-0x1001ffff]
[ 26.877545] pci 0000:00:11.0: [168c:0029] type 00 class 0×028000 [ 26.877582] pci 0000:00:11.0: reg 0×10: [mem 0×10000000-0x1000ffff]
[ 26.877638] pci 0000:00:11.0: PME# supported from D0 D3hot
[ 26.878247] pci 0000:00:11.0: BAR 0: assigned [mem 0×10000000-0x1000ffff]
[ 27.066477] random: crng init done
[ 27.156340] PPP generic driver version 2.4.2
[ 27.183974] PPP MPPE Compression module registered
[ 27.199611] NET: Registered protocol family 24
[ 27.218213] PPTP driver version 0.8.5
[ 27.368426] ath9k 0000:00:12.0: enabling device (0000 → 0002)
[ 27.408317] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[ 27.416965] ath: EEPROM regdomain: 0×0 [ 27.416971] ath: EEPROM indicates default country code should be used
[ 27.416974] ath: doing EEPROM country→regdmn map search
[ 27.416984] ath: country maps to regdmn code: 0x3a
[ 27.416989] ath: Country alpha2 being used: US
[ 27.416992] ath: Regpair used: 0x3a
[ 27.433820] ieee80211 phy0: Selected rate control algorithm ‘minstrel_ht’ [ 27.435348] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0010000, irq=19
[ 27.442114] ath9k 0000:00:11.0: enabling device (0000 → 0002)
[ 27.584297] ath: phy1: Ignoring endianness difference in EEPROM magic bytes.
[ 27.592914] ath: EEPROM regdomain: 0×0 [ 27.592920] ath: EEPROM indicates default country code should be used
[ 27.592923] ath: doing EEPROM country→regdmn map search
[ 27.592933] ath: country maps to regdmn code: 0x3a
[ 27.592938] ath: Country alpha2 being used: US
[ 27.592940] ath: Regpair used: 0x3a
[ 27.607441] ieee80211 phy1: Selected rate control algorithm ‘minstrel_ht’ [ 27.608985] ieee80211 phy1: Atheros AR9280 Rev:2 mem=0xb0000000, irq=18
[ 27.702755] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 44.364371] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts:
[ 44.414576] Adding 976560k swap on /dev/sda1. Priority:-2 extents:1 across:976560k
[ 48.643400] eth0: link up (1000Mbps/Full duplex)
[ 48.648969] br-lan: port 1(eth0) entered blocking state
[ 48.654275] br-lan: port 1(eth0) entered disabled state
[ 48.659807] device eth0 entered promiscuous mode
[ 48.692372] br-lan: port 1(eth0) entered blocking state
[ 48.697596] br-lan: port 1(eth0) entered forwarding state
[ 48.703176] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 48.790578] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 48.835679] IPv6: ADDRCONF(NETDEV_UP): eth1.2: link is not ready
[ 48.951180] IPv6: ADDRCONF(NETDEV_UP): eth1.7: link is not ready
[ 49.712398] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 51.437743] eth1: link up (1000Mbps/Full duplex)
[ 51.513573] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 51.582425] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.2: link becomes ready
[ 51.589118] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.7: link becomes ready
[ 54.282504] ath: EEPROM regdomain: 0×8114 [ 54.286516] ath: EEPROM indicates we should expect a country code
[ 54.292634] ath: doing EEPROM country→regdmn map search
[ 54.297928] ath: country maps to regdmn code: 0×37 [ 54.302722] ath: Country alpha2 being used: DE
[ 54.307157] ath: Regpair used: 0×37 [ 54.310630] ath: regdomain 0×8114 dynamically updated by user
[ 54.316523] ath: EEPROM regdomain: 0×8114 [ 54.320516] ath: EEPROM indicates we should expect a country code
[ 54.326609] ath: doing EEPROM country→regdmn map search
[ 54.331904] ath: country maps to regdmn code: 0×37 [ 54.336698] ath: Country alpha2 being used: DE
[ 54.341125] ath: Regpair used: 0×37 [ 54.344620] ath: regdomain 0×8114 dynamically updated by user
[ 54.836482] pppoe-wan: renamed from ppp0
[ 57.427192] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 57.492852] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 57.616731] br-lan: port 2(wlan0) entered blocking state
[ 57.622045] br-lan: port 2(wlan0) entered disabled state
[ 57.627773] device wlan0 entered promiscuous mode
[ 57.632654] br-lan: port 2(wlan0) entered blocking state
[ 57.637986] br-lan: port 2(wlan0) entered forwarding state
[ 57.693619] br-lan: port 3(wlan1) entered blocking state
[ 57.698935] br-lan: port 3(wlan1) entered disabled state
[ 57.704667] device wlan1 entered promiscuous mode
[ 58.525536] br-lan: port 2(wlan0) entered disabled state
[ 58.531209] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 58.537780] br-lan: port 3(wlan1) entered blocking state
[ 58.543145] br-lan: port 3(wlan1) entered forwarding state
[ 58.750884] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 58.757483] br-lan: port 2(wlan0) entered blocking state
[ 58.762856] br-lan: port 2(wlan0) entered forwarding state
[84181.737818] pppoe-wan: renamed from ppp0
[144550.658055] pppoe-wan: renamed from ppp0
[159913.299297] eth1: link down
[159918.352853] IPv6: ADDRCONF(NETDEV_UP): eth1.7: link is not ready
[159919.249344] eth1: link up (1000Mbps/Full duplex)
[159919.251734] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.7: link becomes ready
[159923.807531] eth1: link down
[159924.830488] eth1: link up (1000Mbps/Full duplex)
[159931.219728] eth1: link down
[159936.244722] IPv6: ADDRCONF(NETDEV_UP): eth1.7: link is not ready
[159950.979373] eth1: link up (1000Mbps/Full duplex)
[159950.982129] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.7: link becomes ready
[160110.252218] pppoe-wan: renamed from ppp0
[246512.671046] pppoe-wan: renamed from ppp0
[260793.131776] pppoe-wan: renamed from ppp0
[347195.313169] pppoe-wan: renamed from ppp0
[433596.980231] pppoe-wan: renamed from ppp0
[449177.428433] pppoe-wan: renamed from ppp0
[535580.336441] pppoe-wan: renamed from ppp0
root@router:~#

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

_______                     ________        __

| |.—–.—–.—–.| | | |.—-.| |_
| - || _ | -| || | | || _|| _|
|
_|| |_||||||| ||

        |__| W I R E L E S S   F R E E D O M

—————————————————– OpenWrt SNAPSHOT, r12259-2f1cc5c3d5


root@router:~# dmesg
[ 0.000000] Linux version 4.19.101 (moeller@work-horse) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r12053-9e799f3eee)) #0 Tue Feb 18 15:10:31 2020
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] MIPS: machine is Netgear WNDR3700 v2
[ 0.000000] SoC: Atheros AR7161 rev 2
[ 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 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] Normal zone: 144 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+0×98/0x4a8 with crng_init=0
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 57452K/65536K available (4336K kernel code, 180K rwdata, 1020K rodata, 1240K init, 206K bss, 8084K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 51
[ 0.000000] CPU clock: 680.000 MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5621354254 ns
[ 0.000008] sched_clock: 32 bits at 340MHz, resolution 2ns, wraps every 6316128254ns
[ 0.007802] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
[ 0.074072] pid_max: default: 32768 minimum: 301
[ 0.078916] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.085519] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.096900] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.106767] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.112979] pinctrl core: initialized pinctrl subsystem
[ 0.119049] NET: Registered protocol family 16
[ 0.428873] PCI host bridge /ahb/apb/pcie-controller@17010000 ranges:
[ 0.435329] MEM 0×0000000010000000..0x0000000016ffffff
[ 0.440561] IO 0×0000000000000000..0×0000000000000000 [ 0.463724] PCI host bridge to bus 0000:00
[ 0.467827] pci_bus 0000:00: root bus resource [mem 0×10000000-0x16ffffff]
[ 0.474747] pci_bus 0000:00: root bus resource [io 0×0000]
[ 0.480307] pci_bus 0000:00: root bus resource [??? 0×00000000 flags 0×0]
[ 0.487093] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.495479] pci 0000:00:11.0: [168c:ff1d] type 00 class 0×020000 [ 0.495512] pci 0000:00:11.0: reg 0×10: [mem 0×00000000-0x0000ffff]
[ 0.495815] pci 0000:00:12.0: [168c:ff1d] type 00 class 0×020000 [ 0.495841] pci 0000:00:12.0: reg 0×10: [mem 0×00000000-0x0000ffff]
[ 0.496401] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.496430] pci 0000:00:11.0: BAR 0: assigned [mem 0×10000000-0x1000ffff]
[ 0.503258] pci 0000:00:12.0: BAR 0: assigned [mem 0×10010000-0x1001ffff]
[ 0.513082] clocksource: Switched to clocksource MIPS
[ 0.519172] NET: Registered protocol family 2
[ 0.524330] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[ 0.532014] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.539035] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.545408] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.551886] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.557771] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.564323] NET: Registered protocol family 1
[ 0.568729] PCI: CLS 0 bytes, default 32
[ 0.571378] Crashlog allocated RAM at address 0x3f00000
[ 0.577915] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[ 0.590375] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.596252] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.616936] io scheduler noop registered
[ 0.620852] io scheduler deadline registered (default)
[ 0.626692] ar7100-usb-phy 18030000.usb-phy: phy reset is missing
[ 0.633681] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.640613] console [ttyS0] disabled
[ 0.644274] 18020000.uart: ttyS0 at MMIO 0×18020000 (irq = 10, base_baud = 10625000) is a 16550A
[ 0.653058] console [ttyS0] enabled
[ 0.660028] bootconsole [early0] disabled
[ 0.674536] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[ 0.679618] 4 fixed-partitions partitions found on MTD device spi0.0
[ 0.686021] Creating 4 MTD partitions on “spi0.0”:
[ 0.690808] 0×000000000000-0×000000050000 : “u-boot” [ 0.696550] 0×000000050000-0×000000070000 : “u-boot-env” [ 0.702548] 0×000000070000-0x000000ff0000 : “firmware” [ 0.711065] 2 netgear-fw partitions found on MTD device firmware
[ 0.717127] Creating 2 MTD partitions on “firmware”:
[ 0.722090] 0×000000000000-0x0000001c5440 : “kernel” [ 0.727837] 0x0000001c5440-0x000000f80000 : “rootfs” [ 0.733518] mtd: device 4 (rootfs) set to be root filesystem
[ 0.740540] 1 squashfs-split partitions found on MTD device rootfs
[ 0.746771] 0x0000007e0000-0x000000f80000 : “rootfs_data” [ 0.752926] 0x000000ff0000-0×000001000000 : “art” [ 0.758843] Realtek RTL8366S ethernet switch driver version 0.2.2
[ 0.765052] rtl8366s rtl8366s: cannot find mdio node phandle
[ 0.770719] rtl8366s rtl8366s: using GPIO pins 5 (SDA) and 7 (SCK)
[ 0.777005] rtl8366s rtl8366s: RTL8366 ver. 1 chip found
[ 0.827344] libphy: rtl8366s: probed
[ 0.833038] libphy: Fixed MDIO Bus: probed
[ 1.184827] ag71xx 19000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[ 1.194429] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
[ 1.534679] ag71xx 1a000000.eth: connected to PHY at rtl8366s:04 [uid=001cc960, driver=Generic PHY]
[ 1.544386] eth1: Atheros AG71xx at 0xba000000, irq 5, mode: rgmii
[ 1.552885] NET: Registered protocol family 10
[ 1.562197] Segment Routing with IPv6
[ 1.566017] NET: Registered protocol family 17
[ 1.570511] 8021q: 802.1Q VLAN Support v1.8
[ 1.587431] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 1.598222] Freeing unused kernel memory: 1240K
[ 1.602744] This architecture does not have kernel memory protection.
[ 1.609207] Run /sbin/init as init process
[ 2.583093] random: fast init done
[ 2.802168] init: Console is alive
[ 2.805875] init: - watchdog -
[ 6.090295] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 6.231212] usbcore: registered new interface driver usbfs
[ 6.236831] usbcore: registered new interface driver hub
[ 6.242219] usbcore: registered new device driver usb
[ 6.281739] SCSI subsystem initialized
[ 6.292568] usbcore: registered new interface driver usb-storage
[ 6.299577] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 6.309264] init: - preinit -
[ 8.224350] random: jshn: uninitialized urandom read (4 bytes read)
[ 8.466243] random: jshn: uninitialized urandom read (4 bytes read)
[ 8.754611] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.618495] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 9.752825] urandom_read: 4 callbacks suppressed
[ 9.752833] random: procd: uninitialized urandom read (4 bytes read)
[ 10.673421] eth0: link up (1000Mbps/Full duplex)
[ 10.678056] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 20.006729] mount_root: loading kmods from internal overlay
[ 20.070104] kmodloader: loading kernel modules from etc/modules-boot.d/*
[ 20.078087] kmodloader: done loading kernel modules from
etc/modules-boot.d/*
[ 20.858277] jffs2_scan_eraseblock(): End of filesystem marker found at 0×30000 [ 20.865541] jffs2_build_filesystem(): unlocking the mtd device...
[ 20.865544] done.
[ 20.873637] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 78.939877] done.
[ 78.949323] jffs2: notice: (558) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 78.965200] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 78.972247] block: unable to load configuration (fstab: Entry not found)
[ 78.979108] block: attempting to load /tmp/jffs_cfg/etc/config/fstab
[ 78.985665] block: unable to load configuration (fstab: Entry not found)
[ 78.992448] block: attempting to load /etc/config/fstab
[ 79.062790] block: extroot: not configured
[ 79.566994] jffs2: notice: (556) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 80.268686] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 80.275845] block: unable to load configuration (fstab: Entry not found)
[ 80.282637] block: attempting to load /tmp/jffs_cfg/etc/config/fstab
[ 80.289201] block: unable to load configuration (fstab: Entry not found)
[ 80.296055] block: attempting to load /etc/config/fstab
[ 80.301752] block: extroot: not configured
[ 80.307978] mount_root: overlay filesystem has not been fully initialized yet
[ 80.321266] mount_root: switching to jffs2 overlay
[ 80.389579] overlayfs: upper fs does not support tmpfile.
[ 83.093791] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 83.182093] eth0: link down
[ 83.196988] procd: - early -
[ 83.199968] procd: - watchdog -
[ 83.834517] procd: - watchdog -
[ 83.837950] procd: - ubus -
[ 83.904783] random: ubusd: uninitialized urandom read (4 bytes read)
[ 83.912132] random: ubusd: uninitialized urandom read (4 bytes read)
[ 83.919702] procd: - init -
[ 84.893323] kmodloader: loading kernel modules from /etc/modules.d/*
[ 85.045275] tun: Universal TUN/TAP device driver, 1.6
[ 85.069431] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 85.119219] gre: GRE over IPv4 demultiplexor driver
[ 85.139270] ip_gre: GRE over IPv4 tunneling driver
[ 85.484432] Mirror/redirect action on
[ 85.511393] u32 classifier
[ 85.514167] input device check on
[ 85.517816] Actions configured
[ 85.563375] Loading modules backported from Linux version v5.4-rc8-0-gaf42d3466bdc
[ 85.570932] Backport generated by backports.git v5.4-rc8-1-0-g368e8c51
[ 85.594056] urngd: v1.0.2 started.
[ 85.779351] usbcore: registered new interface driver usbserial_generic
[ 85.786017] usbserial: USB Serial support registered for generic
[ 85.834097] wireguard: WireGuard 0.0.20200215 loaded. See www.wireguard.com for information.
[ 85.842525] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld Jason@zx2c4.com. All Rights Reserved.
[ 86.062495] xt_time: kernel timezone is -0000
[ 86.197742] random: crng init done
[ 86.337283] PPP generic driver version 2.4.2
[ 86.361591] PPP MPPE Compression module registered
[ 86.378734] NET: Registered protocol family 24
[ 86.408191] PPTP driver version 0.8.5
[ 86.566705] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 104.504191] eth0: link up (1000Mbps/Full duplex)
[ 104.509789] br-lan: port 1(eth0) entered blocking state
[ 104.515094] br-lan: port 1(eth0) entered disabled state
[ 104.520630] device eth0 entered promiscuous mode
[ 104.604615] br-lan: port 1(eth0) entered blocking state
[ 104.609845] br-lan: port 1(eth0) entered forwarding state
[ 104.615450] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 104.663301] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 104.708562] IPv6: ADDRCONF(NETDEV_UP): eth1.2: link is not ready
[ 104.808242] IPv6: ADDRCONF(NETDEV_UP): eth1.7: link is not ready
[ 105.553190] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 106.773996] eth1: link up (1000Mbps/Full duplex)
[ 106.851719] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 106.911421] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.2: link becomes ready
[ 106.918175] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.7: link becomes ready
[ 108.903192] pppoe-wan: renamed from ppp0
root@router:~#

Note, the lack of anything related to the ath9K driver in the second dmesg.

Following the instructions on External Linkhttps://openwrt.org/docs/guide-user/network/wifi/basic to regenerate the wireless configuration:
rm -f /etc/config/wireless
wifi config

resulted in an empty /etc/config/wireless:
root@router:~# ls -all /etc/config/wireless
-rw-r–r– 1 root root 0 Feb 21 23:12 /etc/config/wireless
root@ router:~# cat /etc/config/wireless

Due to the rename of the platform from wndr3700v2 to wndr3700-v2 the build config had to be edited (recreated by a new run of menuconfig).

Let me know if I can do anything to help get this debugged.

19.02.20202846Base systemBug ReportVery LowMediumhttp_auth support in opkg AllUnconfirmed Task Description

i need to be able consume openwrt packages from jfrog artifactory/bintray and in general from any url secured using http_auth without adding any credentials to url, which is displayed during opkg update.

Jfrog Opkg Repositories


18.02.20202845Base systemBug ReportVery LowLowiwinfo reports wrong Access Point BSSID when interface ...TrunkUnconfirmed Task Description

- openwrt 19.07 / master
- ath9k-htc card plugged into ar150, configured in client mode
- iwinfo shows the interface hwaddr as “Access point”

root@OpenWrt:~# iwinfo wlan1 i
wlan1     ESSID: "XXXXXXXXXXXXXXX"
          Access Point: 00:C0:XX:XX:XX:C0
          Mode: Client  Channel: 1 (2.412 GHz)
          Tx-Power: 20 dBm  Link Quality: 26/70
          Signal: -84 dBm  Noise: unknown
          Bit Rate: 13.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11bgn
          Hardware: unknown [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy1

root@OpenWrt:~# ip l show wlan1
16: wlan1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:c0:XX:XX:XX:c0 brd ff:ff:ff:ff:ff:ff

root@OpenWrt:~# wpa_cli status
Selected interface 'wlan1'
bssid=62:XX:XX:XX:XX:2b
freq=2412
ssid=XXXXXXXXXXX
id=0
mode=station
pairwise_cipher=NONE
group_cipher=NONE
key_mgmt=NONE
wpa_state=COMPLETED
ip_address=100.XXX.XXX.XXX
address=00:c0:XX:XX:XX:c0

root@OpenWrt:~# iw dev wlan1 info
Interface wlan1
        ifindex 16
        wdev 0x100000009
        addr 00:c0:XX:XX:XX:c0
        ssid XXXXXXXXXXXXXX
        type managed
        wiphy 1
        channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
        txpower 20.00 dBm
18.02.20202844Base systemBug ReportVery LowHighath10k on archer C7 v2: high latencyopenwrt-19.07Unconfirmed Task Description

On my Archer C7 v2, since the upgrade from 18.06 to 19.07, I sometimes get very high latency on my 5 GHz wifi network:

This is when pinging a wireless client from the router itself.

ping 192.168.12.167
PING 192.168.12.167 (192.168.12.167): 56 data bytes
64 bytes from 192.168.12.167: seq=0 ttl=64 time=1.334 ms
64 bytes from 192.168.12.167: seq=1 ttl=64 time=2.002 ms
64 bytes from 192.168.12.167: seq=2 ttl=64 time=1004.448 ms
64 bytes from 192.168.12.167: seq=3 ttl=64 time=4.342 ms
64 bytes from 192.168.12.167: seq=4 ttl=64 time=1.072 ms
64 bytes from 192.168.12.167: seq=5 ttl=64 time=2.074 ms
64 bytes from 192.168.12.167: seq=6 ttl=64 time=2.505 ms
64 bytes from 192.168.12.167: seq=7 ttl=64 time=1.059 ms
64 bytes from 192.168.12.167: seq=8 ttl=64 time=1.746 ms
64 bytes from 192.168.12.167: seq=9 ttl=64 time=1.176 ms
64 bytes from 192.168.12.167: seq=10 ttl=64 time=1.086 ms
64 bytes from 192.168.12.167: seq=11 ttl=64 time=1.072 ms
64 bytes from 192.168.12.167: seq=12 ttl=64 time=815.290 ms
64 bytes from 192.168.12.167: seq=13 ttl=64 time=1004.417 ms
64 bytes from 192.168.12.167: seq=14 ttl=64 time=4.294 ms
64 bytes from 192.168.12.167: seq=15 ttl=64 time=4.520 ms
64 bytes from 192.168.12.167: seq=16 ttl=64 time=1003.250 ms
64 bytes from 192.168.12.167: seq=17 ttl=64 time=3.125 ms
64 bytes from 192.168.12.167: seq=18 ttl=64 time=1.019 ms
64 bytes from 192.168.12.167: seq=19 ttl=64 time=2.066 ms
^C
--- 192.168.12.167 ping statistics ---
20 packets transmitted, 20 packets received, 0% packet loss
round-trip min/avg/max = 1.019/193.094/1004.448 ms

The upgrade to 19.07.1 didn’t solve the issue. What (temporarily) seem to work is to restart the wlan0 interface. After a few hours the problem comes back. The client is very close to the AP (less than 3 meters, although there is a floor between). Signal quality is reported as very good.

Station 54:60:09:d3:e4:d6 (on wlan0)
        inactive time:  540 ms
        rx bytes:       1082546
        rx packets:     6294
        tx bytes:       15523400
        tx packets:     11636
        tx retries:     0
        tx failed:      1
        rx drop misc:   0
        signal:         -66 [-76, -68, -71] dBm
        signal avg:     -62 [-72, -64, -67] dBm
        tx bitrate:     390.0 MBit/s VHT-MCS 8 80MHz short GI VHT-NSS 1
        rx bitrate:     390.0 MBit/s VHT-MCS 8 80MHz short GI VHT-NSS 1
        rx duration:    422088 us
        last ack signal:-95 dBm
        authorized:     yes
        authenticated:  yes
        associated:     yes
        preamble:       long
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no
        DTIM period:    2
        beacon interval:100
        short slot time:yes
        connected time: 447 seconds

I am using stock 19.07.1 firmware. I also tried changing the regulatory domain from CA to US but it didn’t help.
I will now try with the non-ct driver and firmware to see if it helps, as it worked fine on 18.06 which didn’t include the -ct firmware by default.

cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11a'
        option path 'pci0000:00/0000:00:00.0'
        option htmode 'VHT80'
        option noscan '1'
        option country 'US'
        option channel '149'

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

config wifi-device 'radio1'
        option type 'mac80211'
        option channel '11'
        option hwmode '11g'
        option path 'platform/ahb/ahb:apb/18100000.wmac'
        option noscan '1'
#       option country 'CA'
        option htmode 'HT40'
        option require_mode 'g'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'myssid'
        option encryption 'psk2+ccmp'
        option key 'removed'
        option ieee80211w '1'
18.02.20202843Base systemBug ReportVery LowMediumD-Link DIR-810L has wrong Flash size - Flash is not 8Mi...AllUnconfirmed Task Description

The problem was discovered while researching a build for a Trendnet TEW-810DR. Both the D-Link and the Trendnet devices use the same hardware and appear to have the same boards.

I made the device severity medium as it still functions but is being underutilized

OpenWRT Forum Post 55704


18.02.20202842Base systemBuild FailureVery LowLowopenwrt-ramips-mt7621-mqmaker_witi, not build a imageTrunkUnconfirmed Task Description

no task description

16.02.20202836Base systemBug ReportVery LowMediumMT7620 switch VLAN limitationTrunkUnconfirmed Task Description

Device:
D-Link DWR-118 A2

Software versions:
r12203-766e778226

Using the web interface kept adding and deleting VLANs. Ended up with 15 of these lines in /etc/config/network:
option vlan X
where X was: 1, 2, 3, 4, 5, 6, 8, 10, 11, 12, 13, 14, 15, 16, 17
There is no 7 and 9.
The last VLAN did not work (packets arriving on that VLAN were dropped).

I have found a manual at http://download.villagetelco.org/hardware/MT7620/MT7620_ProgrammingGuide.pdf on page 237 it states that 16 VLAN id-s are supported.

Editing the “networks” in /etc/config to change 17 to 7 fixed the issue.


16.02.20202835Base systemBug ReportVery LowHighMT7621: Clients disconnects.openwrt-19.07Unconfirmed Task Description

Hi! I have MT7621 and when to router connected more than 10 peoples router start disconnecting some peoples(have two networks guest and main on 2,4).

There is my settings:
config wifi-iface ‘default_radio0’ option device ‘radio0’ option network ‘lan’ option mode ‘ap’ option wpa_disable_eapol_key_retries ‘1’ option key ‘WIFIPASS’ option ssid ‘WIFINAME’ option encryption ‘psk2+ccmp’ option disassoc_low_ack ‘0’ (guest network have same settings)

Other info:
Newifi-D2
MediaTek MT7621 ver:1 eco:3
OpenWrt 19.07.1 r10911-c155900f66 / LuCI openwrt-19.07 branch git-20.045.27998-49999e9

I also noticed that before the client is disconnected from the network, it will lose the Internet.

 

Issue on github: https://github.com/openwrt/mt76/issues/358

Many peoples with Newifi3 D2 have same problem(in github links and more details).

PLEASE, FIX IT!

15.02.20202834Base systemBug ReportVery LowMediumXiaomi 3G restartsopenwrt-19.07Unconfirmed Task Description

Xiaomi Mi Router 3G
MediaTek MT7621 ver:1 eco:3
OpenWrt 19.07.0 r10860-a3ffeb413b / LuCI openwrt-19.07 branch git-20.006.26738-35aa527
4.14.162

I have script that heavily uses ipset in cron. It runs every hour. Router reboots every 1~2 days with errors.

Sat Feb 15 12:00:00 2020 cron.info crond[1212]: USER root pid 9019 cmd /etc/anti-rkn/update-rkn-ip.sh
Sat Feb 15 12:00:03 2020 kern.alert kernel: [215985.710616] CPU 3 Unable to handle kernel paging request at virtual address 07406000, epc == 8010ef74, ra == 8010ee58
Sat Feb 15 12:00:03 2020 kern.warn kernel: [215985.721315] Oops[#1]:
Sat Feb 15 12:00:03 2020 kern.warn kernel: [215985.723668] CPU: 3 PID: 9028 Comm: ipset Not tainted 4.14.162 #0
Sat Feb 15 12:00:03 2020 kern.warn kernel: [215985.729733] task: 8fcf2ca0 task.stack: 8dc22000
Sat Feb 15 12:00:03 2020 kern.warn kernel: [215985.734325] $ 0   : 00000000 00000001 00000000 81243690
Sat Feb 15 12:00:03 2020 kern.warn kernel: [215985.739624] $ 4   : 8054a1e8 00000001 00000001 07406000
Sat Feb 15 12:00:03 2020 kern.warn kernel: [215985.744920] $ 8   : 000d3937 000d3936 00000000 00000001
Sat Feb 15 12:00:03 2020 kern.warn kernel: [215985.750217] $12   : 000d3923 8df80280 8df80280 00000000
Sat Feb 15 12:00:03 2020 kern.warn kernel: [215985.755514] $16   : 8fc02e00 01088020 8df80000 8d5e3880
Sat Feb 15 12:00:03 2020 kern.warn kernel: [215985.760814] $20   : 00000008 8dcb8e98 00000038 00000000
Sat Feb 15 12:00:03 2020 kern.warn kernel: [215985.766112] $24   : 00000000 77e75860
Sat Feb 15 12:00:03 2020 kern.warn kernel: [215985.771410] $28   : 8dc22000 8dc23a28 8e125800 8010ee58
Sat Feb 15 12:00:03 2020 kern.warn kernel: [215985.776710] Hi    : 00000000
Sat Feb 15 12:00:03 2020 kern.warn kernel: [215985.779660] Lo    : 0000000a
Sat Feb 15 12:00:03 2020 kern.warn kernel: [215985.782611] epc   : 8010ef74 0x8010ef74
packet_write_wait: Connection to 192.168.1.1 port 22: Broken pipe
 

The script

start=`date +%s`

# create temporary sets
ipset create _tmp1 hash:net
ipset create _tmp2 hash:net

# load new content to ipset
curl -s https://antifilter.download/list/subnet.lst | awk '{print "add _tmp1 "$1;} END {print FNR > "/tmp/rkn_nets"}' | ipset -! restore
curl -s https://antifilter.download/list/ipsum.lst| awk '{print "add _tmp2 "$1;} END {print FNR > "/tmp/rkn_ipsum"}' | ipset -! restore

# swap content
ipset swap vpn_subnets _tmp1
ipset swap vpn_ipsum _tmp2

# delete temporary sets
ipset destroy _tmp1
ipset destroy _tmp2

end=`date +%s`


13.02.20202832Base systemBug ReportVery LowCriticalD-link DIR-885L firmware doesn't match due to regional ...openwrt-19.07Unconfirmed Task Description

According to the hardware support list, D-link DIR-885L HW A1 is supported, therefore, I have acquired one in China, it clearly stated the HW revision is A1 but its WIFI is not supported with the original firmware 19.07.1

after I flashed the firmware in discovery mode , the wireless tab is not shown in the system. Checked wifi configuration and the file was empty. I found there’s another driver for A2 hardware in the product page, I downloaded it, put it in the designated directory, restarted the router and my wifi appears.

but the driver doesn’t work well. The 2.4g (radio0) can not be started most of the time, some time I alter the configuration of radio0 might bring it up, but even I’ve managed to find the SSID, I can’t connect it. always prompt wrong password.

the 5g (radio1) is better. if I fix the channel, restart the router every time I change the configuration (even change password), it usually make the router works.

I think the Device sold in China is different from other area, the default firmware (which supports A1) doesn’t support Chinese A1 hardware, the A2 firmware driver (BCM4366c) supports the Chinese A1 hardware but doesn’t work well since the driver was dated 2017.

with this BCM4366C driver provided in A2 firmware, I can only have 5G fix Channel WPA2 security wifi service, it’s usable, but all other function are not working, not even one.

I opened the router, tried to provide the chip information but the chips are covered by metal jacket and fixed to the mother board. I have manufacture’s original latest firmware, I think the proper driver may be extracted from it but I’m not capable to do it. I can provide the file as requested. Can’t post here, the file is too big.


11.02.20202831Base systemBug ReportVery LowHigh2.4Ghz Wifi speed degradation on WNDR3800AllUnconfirmed Task Description

I found that on WNDR3800, ath79 build 2.4Ghz Wifi slower than ar71xx build.
ath79 build only get about 3.5MB/s (2.4Ghz 40Mhz), ar71xx build get about 10MB/s. (2.4Ghz 40Mhz)
Same network, Same wifi channel, test on speedtest.
I think this is a serious performance issue.

- Device problem occurs on
WNDR3800(ath79) latest sources at master branch.

- Steps to reproduce
install ar71xx build
test on speedtest.net (Samsung S6 and Sony xz1 use 2.4G wifi)
install ath79 build
test on speedtest.net (Samsung S6 and Sony xz1 use 2.4G wifi)
download speed only half of ar71xx build.


10.02.20202830Base systemBug ReportVery LowLowMikroTik RB951G-2HnD does not bootTrunkUnconfirmed Task Description

Supply the following if possible:
- MikroTik RB951G-2HnD
- Tried 19.07.1 and 18.06.7

Steps to reproduce
- Network boot from port 1
- Have another device connected to network port 2
- See it sometimes (so far it happened 2 times out of approx 10 tries) ask for a network address after finishing loading the initramfs image
- When it has assigned an IP, it also gives away IP’s to connected clients
- Running ping from a client gives approx 95% packet loss

Note on https://openwrt.org/toh/mikrotik/rb951g_2hnd it mentions the gigabit switch doesn’t work properly without a patch
Note I tried compiling a patch for 19.07.1 (same result), or even loading in the kernel module built into the initram fs image (self built) (https://github.com/fluciotto/openwrt-kmod-rb951g-2hnd-eth-fix)
but neither options seem to have any improvement.

Note the wiki page mentions only rev 3 needs this patch

  The new version (rev 3, requires patch) can apparently be distinguished from the old version (rev 2, works out-of-the-box) by the MAC address:
     The old one starts with D4:CA:6D
     The new one starts with 4C:5E:0C

My Mac Address starts with 74:4D:28. So either this is a newer revision (which might need a different patch?) or they ran out of mac address space, and the same HW revision has added another range...

 


10.02.20202829Base systemBug ReportVery LowLowMikroTik RB951Ui-2HnD has limited functionalityAllUnconfirmed Task Description

Supply the following if possible:
- RB951UI-2HnD
- Tried OpenWRT 19.07.1, 18.07.7 and lede 17.01.07
- Mac Address strts with 74:4D:28 (I include it because maybe it indicates a newer HW revisionthat needs to be supported)

Steps to reproduce
- Boot machine from network
- Flash image (tried 3 different versions, all same result)
- Wait for reboot to complete
- NOTE: LED 5 is red, I expect them to be green if network cable was connected, or off otherwise
- run `iw list` ⇒ Empty response
- Install pciutils (opkg install pciutils)
- run `lspci -nn` ⇒ Nothing is outputted
- run `cat /proc/cpuinfo` ⇒ Note the Mhz of the device is 299, while the device should be running at 600 Mhz

So to summarize
* LEDs aren’t working properly (or indicating its in a failed state, although I can’t find anything obvious in dmesg)
* WiFi isn’t working
* pci listing doesn’t work (maybe this device doesn’t have anything pci related, but I executed that command to debug the wifi issue)
* CPU is limited to 300 Mhz while it should be 600 Mhz (in dmesg I can actually see in the commandline it boots with MHZ=3000000, not sure how/if I can override or why the default would be 300

 


09.02.20202826PackagesBug ReportVery LowLowdnsmasq: neg-ttl, addn-hosts jail supportTrunkUnconfirmed Task Description

Hi!
Is it possible to add neg-ttl config option to dnsmasq, please?
And maybe set it to a default value of 15minutes?

addn-hosts files are not added to the jail, which results in a failure to load them.

Thanks.

09.02.20202825Base systemBug ReportVery LowLow[kmod-sched-cake | kmod-nf-conntrack] module load order...TrunkUnconfirmed Task Description

Having observed in the logs

sch_cake: Unknown symbol nf_conntrack_find_get (err -2)
sch_cake: Unknown symbol nf_ct_get_tuplepr (err -2)

it would appear being caused by the static load order of kernel modules, particularly

/etc/modules.d/nf-conntrack

being loaded after

/etc/modules.d/75-sched-cake

Since dynamic interdependency of modules’ load order would seem unfeasible changing the static load order to

/etc/modules.d/71-nf-conntrack

remedies the issue, i.e. no further errors observed.


Showing tasks 51 - 100 of 1043 Page 2 of 21 - 1 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing