OpenWrt/LEDE Project

Welcome to the OpenWrt Project bug reporting and issue tracking system

Problems to be reported here are for the current OpenWrt and legacy LEDE Project’s targets, sources, toolchain, core packages, build procedures, distribution and infrastructure. Guidelines for submitting a good bug report can be found at the OpenWrt 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 openwrt-bugs@infradead.org.

OpenedIDCategoryTask TypePrioritySeveritySummaryReported In  ascStatus
25.01.20224239Base systemBug ReportVery LowMediumflow_offloading_hw doesn't work with nftables (mt7621)TrunkUnconfirmed Task Description

When enabling flow_offloading_hw on mt7621 device (Xiaomi Redmi Router AC2100 and Mikrotik RB760iGS) like this:

root@route2:~# grep flow_offload /etc/config/firewall 
	option flow_offloading '1'
	option flow_offloading_hw '1'

firewall4 fails to start:

root@route2:~# /etc/init.d/firewall start
/proc/self/fd/0:9:12-13: Error: Could not process rule: Not supported

/proc/self/fd/0:51:29-44: Error: Could not process rule: No such file or directory

nftables rules generated looks good:

root@route2:~# fw4 print > /tmp/fw4 
root@route2:~# cat /tmp/fw4 
table inet fw4
flush table inet fw4

table inet fw4 {
	#
	# Flowtable
	#

	flowtable ft {
		hook ingress priority 0;
		devices = { "br-lan" };
		flags offload;
	}

	#
	# Set definitions
	#


	#
	# Defines
	#

	define lan_devices = { "br-lan" }
	define lan_subnets = { 192.168.1.0/24, 302:f543:22c1:2921::/64 }

	#
	# User includes
	#

	include "/etc/nftables.d/*.nft"


	#
	# Filter rules
	#

	chain input {
		type filter hook input priority filter; policy accept;

		iifname "lo" accept comment "!fw4: Accept traffic from loopback"

		ct state established,related accept comment "!fw4: Allow inbound established and related flows"
		tcp flags & (fin | syn | rst | ack) == syn jump syn_flood comment "!fw4: Rate limit TCP syn packets"
		iifname "br-lan" jump input_lan comment "!fw4: Handle lan IPv4/IPv6 input traffic"
	}

	chain forward {
		type filter hook forward priority filter; policy drop;

		meta l4proto { tcp, udp } flow offload @ft;
		ct state established,related accept comment "!fw4: Allow forwarded established and related flows"
		iifname "br-lan" jump forward_lan comment "!fw4: Handle lan IPv4/IPv6 forward traffic"
		jump handle_reject
	}

	chain output {
		type filter hook output priority filter; policy accept;

		oifname "lo" accept comment "!fw4: Accept traffic towards loopback"

		ct state established,related accept comment "!fw4: Allow outbound established and related flows"
		oifname "br-lan" jump output_lan comment "!fw4: Handle lan IPv4/IPv6 output traffic"
	}

	chain handle_reject {
		meta l4proto tcp reject with tcp reset comment "!fw4: Reject TCP traffic"
		reject with icmpx type port-unreachable comment "!fw4: Reject any other traffic"
	}

	chain syn_flood {
		tcp flags & (fin | syn | rst | ack) == syn limit rate 25/second burst 50 packets return comment "!fw4: Accept SYN packets below rate-limit"
		drop comment "!fw4: Drop excess packets"
	}

	chain input_lan {
		jump accept_from_lan
	}

	chain output_lan {
		jump accept_to_lan
	}

	chain forward_lan {
		jump accept_to_wan comment "!fw4: Accept lan to wan forwarding"
		jump accept_to_lan
	}

	chain accept_from_lan {
		iifname "br-lan" counter accept comment "!fw4: accept lan IPv4/IPv6 traffic"
	}

	chain accept_to_lan {
		oifname "br-lan" counter accept comment "!fw4: accept lan IPv4/IPv6 traffic"
	}

	chain input_wan {
		meta nfproto ipv4 udp dport 68 counter accept comment "!fw4: Allow-DHCP-Renew"
		meta nfproto ipv4 icmp type 8 counter accept comment "!fw4: Allow-Ping"
		meta nfproto ipv4 meta l4proto igmp counter accept comment "!fw4: Allow-IGMP"
		ip6 saddr fc00::/6 ip6 daddr fc00::/6 udp dport 546 counter accept comment "!fw4: Allow-DHCPv6"
		ip6 saddr fe80::/10 icmpv6 type . icmpv6 code { 130 . 0, 131 . 0, 132 . 0, 143 . 0 } counter accept comment "!fw4: Allow-MLD"
		meta nfproto ipv6 icmpv6 type { 128, 129, 1, 3, 133, 134 } limit rate 1000/second counter accept comment "!fw4: Allow-ICMPv6-Input"
		meta nfproto ipv6 icmpv6 type . icmpv6 code { 2 . 0, 4 . 0, 4 . 1, 135 . 0, 136 . 0 } limit rate 1000/second counter accept comment "!fw4: Allow-ICMPv6-Input"
		jump reject_from_wan
	}

	chain output_wan {
		jump accept_to_wan
	}

	chain forward_wan {
		meta nfproto ipv6 icmpv6 type { 128, 129, 1, 3 } limit rate 1000/second counter accept comment "!fw4: Allow-ICMPv6-Forward"
		meta nfproto ipv6 icmpv6 type . icmpv6 code { 2 . 0, 4 . 0, 4 . 1 } limit rate 1000/second counter accept comment "!fw4: Allow-ICMPv6-Forward"
		meta l4proto esp counter jump accept_to_lan comment "!fw4: Allow-IPSec-ESP"
		udp dport 500 counter jump accept_to_lan comment "!fw4: Allow-ISAKMP"
		jump reject_to_wan
	}

	chain accept_to_wan {
	}

	chain reject_from_wan {
	}

	chain reject_to_wan {
	}


	#
	# NAT rules
	#

	chain dstnat {
		type nat hook prerouting priority dstnat; policy accept;
	}

	chain srcnat {
		type nat hook postrouting priority srcnat; policy accept;
	}

	chain srcnat_wan {
		meta nfproto ipv4 masquerade comment "!fw4: Masquerade IPv4 wan traffic"
	}


	#
	# Raw rules (notrack & helper)
	#

	chain raw_prerouting {
		type filter hook prerouting priority raw; policy accept;
		iifname "br-lan" jump helper_lan comment "!fw4: lan IPv4/IPv6 CT helper assignment"
	}

	chain raw_output {
		type filter hook output priority raw; policy accept;
	}

	chain helper_lan {
	}


	#
	# Mangle rules
	#

	chain mangle_prerouting {
		type filter hook prerouting priority mangle; policy accept;
	}

	chain mangle_output {
		type filter hook output priority mangle; policy accept;
	}

	chain mangle_forward {
		type filter hook forward priority mangle; policy accept;
	}
}

But for some reason nftables cannot process the rules:

root@route2:~# nft -f /tmp/fw4 -c
/tmp/fw4:9:12-13: Error: Could not process rule: Not supported
	flowtable ft {
	          ^^
/tmp/fw4:51:29-44: Error: Could not process rule: No such file or directory
		meta l4proto { tcp, udp } flow offload @ft;
		                          ^^^^^^^^^^^^^^^^

This has been tested on latest trunk version:

root@route2:~# cat /etc/openwrt_version 
r18638-ebc36ebb23

When only software flow offloading is enabled (option flow_offloading ‘1’) everything works fine (verified in /proc/net/nf_conntrack)

22.01.20224235Base systemBug ReportVery LowHighlantiq FB7362SL missing "urlader" partition .wifi unusa...TrunkUnconfirmed Task Description

FritzBox 7262SL
OpenWrt SNAPSHOT, r18621-af8a059bb4
Tested custom build and default trunk image

root@OpenWrt:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00400000 00020000 “kernel” mtd1: 07c00000 00020000 “ubi” mtd2: 00060000 00010000 “tffs (1)” mtd3: 00060000 00010000 “tffs (2)”

root@OpenWrt:~# ls -l /lib/firmware/ath9k-eeprom-pci-0000:01:00.0.bin
-rw-r–r– 1 root root 0 Jan 22 00:19 /lib/firmware/ath9k-eeprom-pci-0000:01:00.0.bin

After restoring eeprom bin from previous build radio was back

20.01.20224233Base systemBug ReportVery LowCriticalawk from busybox-v1.35.0 doesn't work.TrunkUnconfirmed Task Description

Form data handler ‘<form action=”/examples/awk-scripts.cgi” method=”post“>’ is not executed.
awk problem with busybox-v1.35.0-1.

Reverting awk itself to busybox-v1.33.1 and rebuilding.
And the awk scripting engine works.

The patch is needed in: /openwrt-master/package/utils/busybox/patches/521-revert_awk_busybox-1.33.1.patch

20.01.20224232PackagesBug ReportVery LowMediumdnsmasq-full fails to resolve randomly domains if DNSSE...TrunkUnconfirmed Task Description

dnsmasq-full fails to resolve randomly domains if DNSSEC is enabled and DNS forwarders are Cloudfare servers e.g. 1.1.1.1, 1.0.0.1
Device problem occurs on TP-Link Archer C2 and Archer C7.
OpenWRT 19.07.8, dnsmasq-full 2.80-16.3.

 


20.01.20224231Base systemBug ReportVery LowHighIssue with the autotool macroTrunkUnconfirmed Task Description

Hi,

I’m trying to add a kernel package that needs it’s modules loaded at boot, but in a certain order. Yet, when I make the following:

JOOL_AUTOLOAD:= \
jool_common \
jool_nat64 \
jool_siit

AUTOLOAD:=$(call AutoLoad,48,$(JOOL_AUTOLOAD))

The output of the file is always:

jool
jool_common
jool_siit

After some research it seems that the macro sorts the items alphabetically breaking the makefile configuration. Is it possible to fix this behaviour? Is there any alternative that should be used?

Thanks!

20.01.20224230PackagesBug ReportVery LowLowI didn't find a wifidog or wifidog app package in toolc...TrunkUnconfirmed Task Description

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

 


18.01.20224228ToolchainBug ReportVery LowMediumtools: update libtoolTrunkUnconfirmed Task Description

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

I am trying to add a package which requires libtool 2.4.6 and I was wondering if it is possible for it to be updated, since the most recent version was released 7 years ago I believe we should already be there.

Thanks!

16.01.20224226Base systemBug ReportVery LowHighPackage kmod-phy-ath79-usb missing kernel modules.TrunkUnconfirmed Task Description

Hi!

I upgraded my DIR-505 to 21.02.1 using openwrt-21.02.1-ath79-generic-dlink_dir-505-squashfs-sysupgrade.bin and found that the USB port wasn’t working.

I then reset the device(long pressed the reset button) and the USB port still doesn’t work.

Upon investigation I found that the `kmod-phy-ath79-usb` package doesn’t contain any kernel modules.(Only 2 text files.)

Supply the following if possible:
- Device problem occurs on

D-Link DIR-505

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

BUILD_ID=”r16325-88151b8303” OPENWRT_BOARD=”ath79/generic” OPENWRT_ARCH=”mips_24kc” OPENWRT_TAINTS=”” OPENWRT_DEVICE_MANUFACTURER=”OpenWrt” OPENWRT_DEVICE_MANUFACTURER_URL=”https://openwrt.org/” OPENWRT_DEVICE_PRODUCT=”Generic” OPENWRT_DEVICE_REVISION=”v0” OPENWRT_RELEASE=”OpenWrt 21.02.1 r16325-88151b8303”

root@OpenWrt:~# opkg info kmod-phy-ath79-usb
Package: kmod-phy-ath79-usb
Version: 5.4.154-1
Depends: kernel (= 5.4.154-1-79c5dc6db69102eb2943a96b9bec8b63), kmod-usb-core
Status: install ok installed
Architecture: mips_24kc
Installed-Time: 1635066095

- Steps to reproduce

 root@OpenWrt:~# opkg files kmod-phy-ath79-usb

Package kmod-phy-ath79-usb (5.4.154-1) is installed on root and has the following files:
/etc/modules.d/21-phy-ath79-usb
/etc/modules-boot.d/21-phy-ath79-usb
root@OpenWrt:~#


13.01.20224225Base systemBug ReportVery LowLowlogread starts before interface is upTrunkUnconfirmed Task Description

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

 

openwrt 21.02.1 on x86_64 (virtualbox)
interfaces are all Intel Pro/1000 T Server 82543GC
logread is configured to forward messages to a syslog server

It seems as if logread forwarding starts before it is able to actually send messages to the syslog server, resulting in lost messages. This is important as the syslog server generates monitoring information, including status of all interfaces on the router. The loss of early interface messages means that the monitoring does not get a full picture of the status of these devices.

I have attached a log of the console output from the router bootup.
I have also attached a log of the messages received by the syslog server.

Interestingly, other routers forward their messages to the same syslog server and yet none of those routers’ messages are dropped. These routers have nearly identical configuations too.

Incidentally, a google search reveals that this was previously logged on the old openwrt bug tracker at External Link.
Additionally, a similar bug was logged against logread at External Link.


09.01.20224222Base systemBug ReportVery LowLowvalgrind: does not detect memory leaks depite unstrippe...TrunkUnconfirmed Task Description

I am using valgrind 3.18.1-1 on x86_64 r18400-f9782f5bcd. This build uses musl 1.2.2-3. My libraries, to include libc, are not stripped.

According to the upstream bug at https://bugs.kde.org/show_bug.cgi?id=435441, changes to musl left valgrind unable to detect memory leaks. The workaround proposed in that bug report, namely passing “–soname-synonyms=somalloc=NONE” to valgrind, seems to fix the problem on OpenWrt.

Here is an example program:

#include <stdio.h>
#include <stdlib.h>
                   
int f(void) {
        char *buf = malloc(BUFSIZ);
        if (buf == NULL) {         
                return -1;
        }                 
        return 0;
}                           
                            
int main(void)   
{             
        f();  
}

I compiled this with “gcc -O0 -o test test.c”, and I ran the following to demonstrate the problem and workaround:

$ valgrind --leak-check=full ./test
==31728== Memcheck, a memory error detector
==31728== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==31728== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==31728== Command: ./test
==31728== 
==31728== 
==31728== HEAP SUMMARY:
==31728==     in use at exit: 0 bytes in 0 blocks
==31728==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==31728== 
==31728== All heap blocks were freed -- no leaks are possible
==31728== 
==31728== For lists of detected and suppressed errors, rerun with: -s
==31728== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
$ valgrind --leak-check=full  --soname-synonyms=somalloc=NONE ./test
==31732== Memcheck, a memory error detector
==31732== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==31732== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==31732== Command: ./test
==31732== 
==31732== 
==31732== HEAP SUMMARY:
==31732==     in use at exit: 1,024 bytes in 1 blocks
==31732==   total heap usage: 1 allocs, 0 frees, 1,024 bytes allocated
==31732== 
==31732== 1,024 bytes in 1 blocks are definitely lost in loss record 1 of 1
==31732==    at 0x48806B6: malloc (vg_replace_malloc.c:381)
==31732==    by 0x40111B: f (in /home/mike@flyn.org/valgrindC/test)
==31732==    by 0x40113D: main (in /home/mike@flyn.org/valgrindC/test)
==31732== 
==31732== LEAK SUMMARY:
==31732==    definitely lost: 1,024 bytes in 1 blocks
==31732==    indirectly lost: 0 bytes in 0 blocks
==31732==      possibly lost: 0 bytes in 0 blocks
==31732==    still reachable: 0 bytes in 0 blocks
==31732==         suppressed: 0 bytes in 0 blocks
==31732== 
==31732== For lists of detected and suppressed errors, rerun with: -s
==31732== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
09.01.20224221Base systemBug ReportVery LowLowR7800 poor download rate when client connects with 100F...TrunkUnconfirmed Task Description

Netgear Nighthawk X4S R7800 with OpenWrt 21.02.1 freshly installed

ISP line is 250/25. Wan port is 1G (auto).

Steps to reproduce:
Laptop connected on LAN-side with 1G (auto): Ookla speedtest is 250/25.
Laptop connected on LAN-side with 100FD: Ookla speedtest is only 30/25.

This performance degration only occurs, when the R7800 is routing and natting the traffic.
“Switched only” traffic inside the LAN is not affected.

With stock ROM the download rate is as expected:
Laptop connected on LAN-side with 100FD: Ookla speedtest is 80/25.


07.01.20224220Base systemBug ReportVery LowLowMTU > 1500 settings are missing for WAN and LANx mt7621TrunkUnconfirmed Task Description

Dir878 /882 /882-r1 (mt7530)
OpenWrt SNAPSHOT, r18502-53b87a7a28 but seems linux 5.10 builds are afected as 5.4 kernel it’s fine.

There is issue with setting MTU to 1508 for DSA driver to be rfc4638 compatibile

root@OpenWrt:~# ifconfig br-lan mtu 1508
root@OpenWrt:~# ifconfig eth0 mtu 1508
root@OpenWrt:~# ifconfig LAN2 mtu 1508
ifconfig: SIOCSIFMTU: Invalid argument

But even then MTU > 1500 seem to work for lan side.

root@OpenWrt:~# fping -s -M -b 1473 192.168.1.3
192.168.1.3 is alive

But to be able to use rfc4638 pppoe WAN must be set to 1508
root@OpenWrt:~# ifconfig wan mtu 1508
ifconfig: SIOCSIFMTU: Invalid argument

PPPoE session is always connecting with MTU 1492

06.01.20224219Base systemBug ReportVery LowLowConsider enabling crontab special time extensionTrunkUnconfirmed Task Description

Please consider enabling cron special time extensions by default. Having them enabled improves crontab UX.
Grepping openwrt/openwrt suggest that enabling BUSYBOX_DEFAULT_FEATURE_CROND_SPECIAL_TIMES under openwrt/package/utils/busybox/Config-defaults.in should do the trick.

- Software versions of OpenWrt/LEDE release, packages, etc.
Busybox 1.34.1-1, OpenWrt SNAPSHOT r18125-b764cb9e5b
- Steps to reproduce
1. Add a scheduled task via LuCI or crontab -e
Example:

@weekly foo.sh

2. Log:

cron.err crond[25439]: user root: parse error at @weekly
31.12.20214215Base systemBug ReportVery LowMediumTP-Link Archer C6 loses internet connectivity after a w...TrunkUnconfirmed Task Description

Problem device: Tp-Link Archer C6 v2 EU version
Software:
- LuCI openwrt-21.02 branch (git-21.231.26241-422c175)
- OpenWrt 21.02.0 r16279-5cc0535800

I installed the open wrt binary using this guide: https://radix007.github.io/OpenWrt-Tp-Link-C6/#installing-openwrt-using-tftpd-method-b-

No custom setup was done, I only turned 5Ghz radio on. Both wifi and ethernet worked out of the box, WAN connected without issues however in the morning internet connection was down. It fixed after restarting WAN interface from GUI. According to my script that was pinging google connection lasted for about 7 hours before going down. There were no logs from around the time connection was lost.

28.12.20214213Base systemBug ReportVery LowLowInternet Doesn't Work At All. Needs Investigation. TrunkUnconfirmed Task Description

I have been experimenting with OpenWRT using a Raspberry Pi, however the PI cannot connect to the internet. After wasting many hours google-ing and trying every suggestion I can find I have reached the conclusion that something is critically wrong with OpenWRT. I have seen that a lot of people are having this problem, so I would like to start a discussion on how to resolve these internet connectivity issues once and for all.

Set-Up
I am in my office, I just have a single ethernet port for my suite. So the office ethernet port is connected to a TP-Link (TL-GS1016S). My MacBook is connected to one port and the Pi running OpenWRT is connected using another port.

My MacBook pro is connected to the same switch as the Pi and the internet is working fine. I have Wi-fi disabled on my Mac. I can ping the Raspberry pi from my MacBook (ping 192.168.1.200) with no issues and vice-versa. Although I cannot access Luci via the IP address.

Process
Download OpenWRT for Pi 4 from here: https://openwrt.org/toh/raspberry_pi_foundation/raspberry_pi Image: https://downloads.openwrt.org/releases/21.02.1/targets/bcm27xx/bcm2711/openwrt-21.02.1-bcm27xx-bcm2711-rpi-4-squashfs-factory.img.gz

Flash to SD Card using etcher

Add IP Address using the following commands. Source: https://openwrt.org/docs/guide-quick-start/ssh_connect_to_the_internet_and_install_luci uci set network.lan.ipaddr=”192.168.1.200” uci set network.lan.gateway=”192.168.1.1” uci set network.lan.dns=”192.168.1.1” uci commit
/etc/init.d/network restart

However i still can not run
ping google.com
ping: bad address ‘google.com’ ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
does nothing

WHY?!?!?!?!

Solutions I have tried.
Add default gateway as there was no default when I ran $> route. Source: https://superuser.com/questions/854166/openwrt-software-update-wget-returns-network-is-unreachable

route add default gw 192.168.1.1 br-lan

Also tried:

route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.1

I tried adding 2 dns items to /etc/config/network

list dns ‘192.168.1.2’ list dns ‘8.8.8.8’

26.12.20214209Base systemBug ReportVery LowLowopkg invalid SSL certificate issue on FriendlyARM NanoP...TrunkUnconfirmed Task Description

opkg will not update or install packages after installing FriendlyARM NanoPi R4S 4GB EXT4 snapshot r18404-236c3ea730. The included SSL certificate is invalid. See output below:

root@OpenWrt:~# opkg update
Downloading https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/packages/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_generic/base/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_generic/base/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/kmods/5.10.87-1-78061f7b1147755d248e0158e056315e/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/kmods/5.10.87-1-78061f7b1147755d248e0158e056315e/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_generic/luci/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_generic/luci/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_generic/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_generic/packages/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_generic/routing/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_generic/routing/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_generic/telephony/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_generic/telephony/Packages.gz

Collected errors:
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/packages/Packages.gz, wget returned 5.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_generic/base/Packages.gz, wget returned 5.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/kmods/5.10.87-1-78061f7b1147755d248e0158e056315e/Packages.gz, wget returned 5.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_generic/luci/Packages.gz, wget returned 5.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_generic/packages/Packages.gz, wget returned 5.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_generic/routing/Packages.gz, wget returned 5.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_generic/telephony/Packages.gz, wget returned 5.
root@OpenWrt:~# wget https://downloads.openwrt.org/snapshots/packages/aarch64_generic/routing/Packages.gz
Downloading 'https://downloads.openwrt.org/snapshots/packages/aarch64_generic/routing/Packages.gz'
Connecting to 168.119.138.211:443
Connection error: Invalid SSL certificate
25.12.20214205Base systemBug ReportVery LowLowflash不能正确识别 & USB不能正常工作TrunkUnconfirmed Task Description

我手上有一台mw151,CPU为ar9331,16M/64M 一端口百兆网口,一个USB,配置如附件:

由于没有相应用固件,一直使用ts-d084的固件,用得也相当好,从BB一直用到19.08版本。

最近刷到21.02版本,看到FLASH只识别到8M;
另安装好USB驱动,如:
opkg install block-mount
opkg install kmod-usb-core
opkg install kmod-usb-storage
opkg install kmod-usb-uhci
opkg install kmod-fs-vfat
opkg install kmod-usb2

但在21.02版本不能识别USB,如附件。


25.12.20214202Base systemBug ReportVery LowLowReboot on NanoPi R4S brokenTrunkUnconfirmed Task Description

Hello there,

I’m testing the latest snapshot build on the NanoPi R4S (4gb) and have noticed that the reboot command is broken. The system doesn’t come back up after issuing the command via SSH. Just as a sanity check, I’ve flashed a fresh card and attempted the reboot as the first command with the same result.

Image version:
OpenWrt SNAPSHOT, r18400-f9782f5bcd
from: (root) / snapshots / targets / rockchip / armv8 / friendlyarm_nanopi-r4s-ext4-sysupgrade.img.gz

Please let me know if there’s any additional info that might be helpful.

19.12.20214195Base systemBug ReportVery LowLowprocd does not generate parse syscall list on ARM/GLIBCTrunkUnconfirmed Task Description

Compiling master with GLIBC on arm fails in procd trying to compile the list of syscall names (see below) when SECCOMP is enabled. The list of syscall names is generated in procd by the make_syscall_h.sh script using the following sed expression:

sed -r -n -e ‘s/^\#define[ \t]+NR_([a-z0-9_]+)[ \t]+([ ()+0-9a-zNR_Linux]+)(.*)/ [\2] = “\1”,/p’ However, the list of syscalls generated in the arm kernel takes the following form: user_headers/include/asm/unistd-common.h:#define NR_exit (NR_SYSCALL_BASE + 1) which does not match the sed expression, as it does not accept all capital letters. The resulting lines become: [(NR_] = “waitid”,

I am not very familiar with the context, but SECCOMP is a new option which is enabled by default, as per https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=b118efa0d25f5b60226a9d316eb838dd6be22f78. Previously, in my builds at least, procd was not compiled with seccomp and no syscall list was generated. I could not find any suspicious recent changes and can’t see a way how the sed script could work, unless I’m missing something obvious. I am also not sure what “NR_Linux” is supposed to do in the sed pattern.

Please note that this is a glibc build.

My configuration is almost the default one, with the following added:

CONFIG_TARGET_sunxi=y
CONFIG_TARGET_sunxi_cortexa7=y
CONFIG_TARGET_sunxi_cortexa7_Default=y
CONFIG_LIBC_USE_GLIBC=y

The compilation errors look like this:

/home/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-8.4.0_glibc_eabi/bin/arm-openwrt-linux-gnueabi-gcc -DEARLY_PATH=\”/usr/sbin:/usr/bin:/sbin:/bin\” -DSECCOMP_SUPPORT -Dpreload_seccomp_EXPORTS -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/home/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/procd-default/procd-2021-11-23-01ac2c45=procd-2021-11-23-01ac2c45 -Wformat -Werror=format-security -DPIC -fpic -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -flto -DNDEBUG -fPIC -Os -ggdb -Wall -Werror –std=gnu99 -Wmissing-declarations -MD -MT CMakeFiles/preload-seccomp.dir/jail/seccomp-oci.c.o -MF CMakeFiles/preload-seccomp.dir/jail/seccomp-oci.c.o.d -o CMakeFiles/preload-seccomp.dir/jail/seccomp-oci.c.o -c /home/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/procd-default/procd-2021-11-23-01ac2c45/jail/seccomp-oci.c
In file included from /home/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/procd-default/procd-2021-11-23-01ac2c45/jail/seccomp-oci.c:36:
/home/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/procd-default/procd-2021-11-23-01ac2c45/jail/../syscall-names.h:3:4: error: ‘NR_’ undeclared here (not in a function)
[(
NR_] = “waitid”,

  ^~~~~

/m/vm/a-dev/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/procd-default/procd-2021-11-23-01ac2c45/jail/../syscall-names.h:3:9: error: expected ‘)’ before ‘]’ token

[(__NR_] = "waitid",
 ~     ^
       )
 


19.12.20214194Base systemBug ReportVery LowLowprocd fails to compile with SECCOMP on armTrunkUnconfirmed Task Description

Compiling master with GLIBC on arm fails in procd trying to compile the list of syscall names (see below) when SECCOMP is enabled. The list of syscall names is generated in procd by the make_syscall_h.sh script using the following sed expression:

sed -r -n -e 's/^\#define[ \t]+NR_([a-z0-9_]+)[ \t]+([ ()+0-9a-zNR_Linux]+)(.*)/ [\2] = "\1",/p' However, the list of syscalls generated in the arm kernel takes the following form: user_headers/include/asm/unistd-common.h:#define NR_exit (NR_SYSCALL_BASE + 1) which does not match the sed expression, as it does not accept all capital letters. The resulting lines become: [(NR_] = "waitid",

I am not very familiar with the context, but SECCOMP is a new option which is enabled by default, as per https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=b118efa0d25f5b60226a9d316eb838dd6be22f78. Previously, in my builds at least, procd was not compiled with seccomp and no syscall list was generated. I could not find any suspicious recent changes and can't see a way how the sed script could work, unless I'm missing something obvious. I am also not sure what "NR_Linux" is supposed to do in the sed pattern.

Please note that this is a glibc build.

My configuration is almost the default one, with the following added:

CONFIG_TARGET_sunxi=y
CONFIG_TARGET_sunxi_cortexa7=y
CONFIG_TARGET_sunxi_cortexa7_Default=y
CONFIG_LIBC_USE_GLIBC=y

The compilation errors look like this:

/home/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-8.4.0_glibc_eabi/bin/arm-openwrt-linux-gnueabi-gcc -DEARLY_PATH=\"/usr/sbin:/usr/bin:/sbin:/bin\" -DSECCOMP_SUPPORT -Dpreload_seccomp_EXPORTS -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/home/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/procd-default/procd-2021-11-23-01ac2c45=procd-2021-11-23-01ac2c45 -Wformat -Werror=format-security -DPIC -fpic -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -flto -DNDEBUG -fPIC -Os -ggdb -Wall -Werror –std=gnu99 -Wmissing-declarations -MD -MT CMakeFiles/preload-seccomp.dir/jail/seccomp-oci.c.o -MF CMakeFiles/preload-seccomp.dir/jail/seccomp-oci.c.o.d -o CMakeFiles/preload-seccomp.dir/jail/seccomp-oci.c.o -c /home/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/procd-default/procd-2021-11-23-01ac2c45/jail/seccomp-oci.c
In file included from /home/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/procd-default/procd-2021-11-23-01ac2c45/jail/seccomp-oci.c:36:
/home/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/procd-default/procd-2021-11-23-01ac2c45/jail/../syscall-names.h:3:4: error: 'NR_' undeclared here (not in a function)
[(
NR_] = "waitid",

  ^~~~~

/m/vm/a-dev/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_glibc_eabi/procd-default/procd-2021-11-23-01ac2c45/jail/../syscall-names.h:3:9: error: expected ')' before ']' token

[(__NR_] = "waitid",
 ~     ^
       )
 


19.12.20214193KernelBug ReportVery LowMediumsunxi-h5 kernel defconfigs missing CONFIG_RTC_DRV_SUN6I...TrunkUnconfirmed Task Description

The dtb that ships with openwrt contains for orangepi-pc2 contains the rtc device, i2c devices like the sy8106a voltage regulator, but they cannot be used in the kernel because this CONFIG_RTC_DRV_SUN6I=n so the i2c clock cannot be initialized.
I assume this is an oversight because it was not known that the RTC driver is required for i2c to work ? If i2c was not supposed to work, then drivers for sy8106a and also CPU_FREQ should also be =n to not waste space as they cannot be used.
Setting CONFIG_RTC_DRV_SUN6I=y in kernel_menuconfig allows i2c to be used, so cat /sys/kernel/debug/regulator/regulator_summary shows all the voltage regulators in the dtb, and with a small dtb patch (just adding the operational settings include to all h5 device dtbs that use sy8016a, like here https://github.com/armbian/build/blob/master/patch/kernel/archive/sunxi-5.10/sun50i-h5-add-cpu-opp-refs.patch), full DVFS can be enabled via cpufreq governors (which are already baked in) and it works perfectly.

19.12.20214192KernelBug ReportVery LowMediumsunxi-h5 kernel defconfigs missing CONFIG_RTC_DRV_SUN6I...TrunkUnconfirmed Task Description

The dtb that ships with openwrt contains for orangepi-pc2 contains the rtc device, i2c devices like the sy8106a voltage regulator, but they cannot be used in the kernel because this CONFIG_RTC_DRV_SUN6I=n so the i2c clock cannot be initialized.
I assume this is an oversight because it was not known that the RTC driver is required for i2c to work ? If i2c was not supposed to work, then drivers for sy8106a and also CPU_FREQ should also be =n to not waste space as they cannot be used.
Setting CONFIG_RTC_DRV_SUN6I=y in kernel_menuconfig allows i2c to be used, so cat /sys/kernel/debug/regulator/regulator_summary shows all the voltage regulators in the dtb, and with a small dtb patch (just adding the operational settings include to all h5 device dtbs that use sy8016a, like here https://github.com/armbian/build/blob/master/patch/kernel/archive/sunxi-5.10/sun50i-h5-add-cpu-opp-refs.patch), full DVFS can be enabled via cpufreq governors (which are already baked in) and it works perfectly.

19.12.20214191KernelBug ReportVery LowMediumsunxi-h5 kernel defconfigs missing CONFIG_RTC_DRV_SUN6I...TrunkUnconfirmed Task Description

The dtb that ships with openwrt contains for orangepi-pc2 contains the rtc device, i2c devices like the sy8106a voltage regulator, but they cannot be used in the kernel because this CONFIG_RTC_DRV_SUN6I=n so the i2c clock cannot be initialized.
I assume this is an oversight because it was not known that the RTC driver is required for i2c to work ? If i2c was not supposed to work, then drivers for sy8106a and also CPU_FREQ should also be =n to not waste space as they cannot be used.
Setting CONFIG_RTC_DRV_SUN6I=y in kernel_menuconfig allows i2c to be used, so cat /sys/kernel/debug/regulator/regulator_summary shows all the voltage regulators in the dtb, and with a small dtb patch (just adding the operational settings include to all h5 device dtbs that use sy8016a, like here https://github.com/armbian/build/blob/master/patch/kernel/archive/sunxi-5.10/sun50i-h5-add-cpu-opp-refs.patch), full DVFS can be enabled via cpufreq governors (which are already baked in) and it works perfectly.

19.12.20214190KernelBug ReportVery LowMediumsunxi-h5 kernel defconfigs missing CONFIG_RTC_DRV_SUN6I...TrunkUnconfirmed Task Description

The dtb that ships with openwrt contains for orangepi-pc2 contains the rtc device, i2c devices like the sy8106a voltage regulator, but they cannot be used in the kernel because this CONFIG_RTC_DRV_SUN6I=n so the i2c clock cannot be initialized.
I assume this is an oversight because it was not known that the RTC driver is required for i2c to work ? If i2c was not supposed to work, then drivers for sy8106a and also CPU_FREQ should also be =n to not waste space as they cannot be used.
Setting CONFIG_RTC_DRV_SUN6I=y in kernel_menuconfig allows i2c to be used, so cat /sys/kernel/debug/regulator/regulator_summary shows all the voltage regulators in the dtb, and with a small dtb patch (just adding the operational settings include to all h5 device dtbs that use sy8016a, like here https://github.com/armbian/build/blob/master/patch/kernel/archive/sunxi-5.10/sun50i-h5-add-cpu-opp-refs.patch), full DVFS can be enabled via cpufreq governors (which are already baked in) and it works perfectly.

13.12.20214185Base systemBug ReportVery LowLowDeauthentication of clients due to inactivity TrunkUnconfirmed Task Description

I have followed the instructions here, however, this still does not fix my issue. I have updated all packages to the latest version in hopes that would fix the problem somehow but to no avail. I have also taken a look at this bug report and removed the country option, that still didnt fix the issue.

DEVICE INFO

Device: Linksys WRT1900ACS
OpenWRT Version: 21.02.1 r16325-88151b8303
Architecture: arm_cortex-a9_vfpv3-d16

SYSTEM LOGS

Mon Dec 13 14:04:52 2021 kern.debug kernel: [163686.092909] ieee80211 phy0: Mac80211 start BA [REDACTED MAC ADDRESS]
Mon Dec 13 14:12:15 2021 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED [REDACTED MAC ADDRESS]
Mon Dec 13 14:12:15 2021 daemon.info hostapd: wlan0: STA [REDACTED MAC ADDRESS] IEEE 802.11: disassociated
Mon Dec 13 14:12:16 2021 daemon.info hostapd: wlan0: STA [REDACTED MAC ADDRESS] IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Mon Dec 13 14:12:20 2021 daemon.info hostapd: wlan0: STA [REDACTED MAC ADDRESS] IEEE 802.11: authenticated
Mon Dec 13 14:12:20 2021 daemon.info hostapd: wlan0: STA [REDACTED MAC ADDRESS] IEEE 802.11: associated (aid 6)
Mon Dec 13 14:12:20 2021 daemon.notice hostapd: wlan0: AP-STA-CONNECTED [REDACTED MAC ADDRESS]
Mon Dec 13 14:12:20 2021 daemon.info hostapd: wlan0: STA [REDACTED MAC ADDRESS] WPA: pairwise key handshake completed (RSN)
Mon Dec 13 14:12:22 2021 kern.debug kernel: [164136.819439] ieee80211 phy0: Mac80211 start BA [REDACTED MAC ADDRESS]
Mon Dec 13 14:14:29 2021 kern.debug kernel: [164263.124592] ieee80211 phy0: Mac80211 start BA d2:a8:7e:c1:97:0b
Mon Dec 13 14:15:04 2021 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED [REDACTED MAC ADDRESS]
Mon Dec 13 14:15:04 2021 daemon.info hostapd: wlan0: STA [REDACTED MAC ADDRESS] IEEE 802.11: disassociated
Mon Dec 13 14:15:05 2021 daemon.info hostapd: wlan0: STA [REDACTED MAC ADDRESS] IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Mon Dec 13 14:15:08 2021 daemon.info hostapd: wlan0: STA [REDACTED MAC ADDRESS] IEEE 802.11: authenticated
Mon Dec 13 14:15:08 2021 daemon.info hostapd: wlan0: STA [REDACTED MAC ADDRESS] IEEE 802.11: associated (aid 6)
Mon Dec 13 14:15:08 2021 daemon.notice hostapd: wlan0: AP-STA-CONNECTED [REDACTED MAC ADDRESS]
Mon Dec 13 14:15:08 2021 daemon.info hostapd: wlan0: STA [REDACTED MAC ADDRESS] WPA: pairwise key handshake completed (RSN)
Mon Dec 13 14:15:09 2021 kern.debug kernel: [164303.439120] ieee80211 phy0: Mac80211 start BA 
[REDACTED MAC ADDRESS]
 
07.12.20214179Base systemBug ReportVery LowLowwpa3 not stable on a Linksys WRT3200ACM in "dumb AP"-mo...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Linksys WRT3200 ACM
- Software versions of OpenWrt 21.02.1
- Steps to reproduce
Device is configured as dumb AP.
When wireless-security is configured as wpa3 the device is not stable.
Sometimes I can connect over wifi. Sometimes not. From same wifi station (PC running W10 Pro). Tried 2 different pcs (different hw) – same behavior.
Sometimes the wifi AP running openwrt 21.02.1 hangs – the connection thru wired ethernet dies. I am forced to power-cycle the device.

Super-stable when using wpa2. I have been using openwrt since 19.07.7

I believe I can quite easily recreate the problem although I cannot provide a script (defined steps).

 


02.12.20214171Base systemBug ReportVery LowLowMultiple bridged, non-VLAN networks do not work on WRT1...TrunkUnconfirmed Task Description

Configuring Multiple bridges on Linksys WRT1200AC/mvebu with DSA config does not work with the latest 21.02.1. One of the bridges does not bring up interfaces/links:

- Device problem occurs on: Linksys WRT1200AC v2 caiman
- Software versions of OpenWrt/LEDE release: 21.02.1 / mvebu / cortexa9. 21.02 installed by flashing the firmware and recreating the config from scratch (no sysupgrade)
- Steps to reproduce (find the full config below):

Follow the official doc https://openwrt.org/docs/guide-user/network/dsa/dsa-mini-tutorial#multiple_bridged_networks

1. Fresh installation with the original `br-lan` device bridge with `lan[1234]` switch ports and no VLAN filtering enabled.
2. Detach 2 `lan` switch ports from br-lan (e.g. lan3, lan4)
3. Create a new `br-dmz` bridge device from the removed `lan3` & `lan4` ports
4. Create a new interface `dmz` using the `br-dmz` device, disable ipv6, assign static IP address, add to `dmz` firewall zone, enable DHCP server on the device, do not enable VLAN filtering.
5. Configure firewall
6. Save, apply, Reboot the device
7. `lan1` & `lan2` switch ports from `br-lan` bridge device are not brought up at all on boot, neither shown in the bridge.

root@gw:~# brctl show
bridge name	bridge id		STP enabled	interfaces
br-dmz		7fff.58ef6811a966	no		lan4
							lan3
							wlan1-1
br-lan		7fff.58ef6811a967	no		wlan0
							wlan1

root@gw:~# ifconfig -a
br-dmz    Link encap:Ethernet  HWaddr 58:EF:68:AA:BB:CC  
          inet addr:192.168.123.1  Bcast:192.168.123.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:551 errors:0 dropped:0 overruns:0 frame:0
          TX packets:506 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:39420 (38.4 KiB)  TX bytes:52781 (51.5 KiB)

br-lan    Link encap:Ethernet  HWaddr 58:EF:68:11:A9:67  
          inet addr:192.168.222.1  Bcast:192.168.222.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:108008 errors:0 dropped:0 overruns:0 frame:0
          TX packets:390508 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:14872807 (14.1 MiB)  TX bytes:545334161 (520.0 MiB)

eth0      Link encap:Ethernet  HWaddr 58:EF:68:AA:BB:CC  
          inet6 addr: fe80::5aef:68ff:fe11:a966/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1508  Metric:1
          RX packets:387500 errors:0 dropped:0 overruns:0 frame:0
          TX packets:104792 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1024 
          RX bytes:545261950 (520.0 MiB)  TX bytes:16762090 (15.9 MiB)
          Interrupt:37 

lan1      Link encap:Ethernet  HWaddr 58:EF:68:AA:BB:CC  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:426 (426.0 B)

lan2      Link encap:Ethernet  HWaddr 58:EF:68:AA:BB:CC  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan3      Link encap:Ethernet  HWaddr 58:EF:68:AA:BB:CC  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan4      Link encap:Ethernet  HWaddr 58:EF:68:AA:BB:CC  
          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:4436 (4.3 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:2562 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2562 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:209868 (204.9 KiB)  TX bytes:209868 (204.9 KiB)

wan       Link encap:Ethernet  HWaddr 5A:EF:68:AA:BB:CC  
          inet addr:192.168.100.2  Bcast:192.168.100.255  Mask:255.255.255.0
          inet6 addr: fe80::58ef:68ff:fe11:a966/64 Scope:Link
          inet6 addr: 2a01:c846:1100:3500::2/128 Scope:Global
          inet6 addr: 2a01:c846:1100:3500:58ef:68ff:fe11:a966/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:387500 errors:0 dropped:13 overruns:0 frame:0
          TX packets:104737 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:536736950 (511.8 MiB)  TX bytes:15917308 (15.1 MiB)

wlan0     Link encap:Ethernet  HWaddr 58:EF:68:AA:BB:CD
          inet6 addr: fe80::5aef:68ff:fe11:a968/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:108011 errors:0 dropped:0 overruns:0 frame:0
          TX packets:390603 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:16385621 (15.6 MiB)  TX bytes:553157130 (527.5 MiB)

wlan1     Link encap:Ethernet  HWaddr 58:EF:68:AA:BB:CE
          inet6 addr: fe80::5aef:68ff:fe11:a967/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:89 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:11679 (11.4 KiB)

wlan1-1   Link encap:Ethernet  HWaddr 00:25:9C:11:22:33
          inet6 addr: fe80::225:9cff:fe14:53bd/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:553 errors:0 dropped:0 overruns:0 frame:0
          TX packets:518 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:47590 (46.4 KiB)  TX bytes:64499 (62.9 KiB)

root@gw:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1508 qdisc mq state UP qlen 1024
    link/ether 58:ef:68:11:a9:66 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::5aef:68ff:fe11:a966/64 scope link 
       valid_lft forever preferred_lft forever
3: lan4@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-dmz state UP qlen 1000
    link/ether 58:ef:68:11:a9:66 brd ff:ff:ff:ff:ff:ff
4: lan3@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-dmz state LOWERLAYERDOWN qlen 1000
    link/ether 58:ef:68:11:a9:66 brd ff:ff:ff:ff:ff:ff
5: lan2@eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN qlen 1000
    link/ether 58:ef:68:11:a9:66 brd ff:ff:ff:ff:ff:ff
6: lan1@eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN qlen 1000
    link/ether 58:ef:68:11:a9:66 brd ff:ff:ff:ff:ff:ff
7: wan@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
    link/ether 5a:ef:68:11:a9:66 brd ff:ff:ff:ff:ff:ff
    inet 192.168.100.2/24 brd 192.168.100.255 scope global wan
       valid_lft forever preferred_lft forever
    inet6 2a01:c846:1100:3500:58ef:68ff:fe11:a966/64 scope global dynamic noprefixroute 
       valid_lft 14231sec preferred_lft 10631sec
    inet6 2a01:c846:1100:3500::2/128 scope global dynamic noprefixroute 
       valid_lft 12885sec preferred_lft 9285sec
    inet6 fe80::58ef:68ff:fe11:a966/64 scope link 
       valid_lft forever preferred_lft forever
10: br-dmz: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
    link/ether 58:ef:68:11:a9:66 brd ff:ff:ff:ff:ff:ff
    inet 192.168.123.1/24 brd 192.168.123.255 scope global br-dmz
       valid_lft forever preferred_lft forever
13: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
    link/ether 58:ef:68:11:a9:67 brd ff:ff:ff:ff:ff:ff
    inet 192.168.222.1/24 brd 192.168.222.255 scope global br-lan
       valid_lft forever preferred_lft forever
14: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-lan state UP qlen 1000
    link/ether 58:ef:68:aa:bb:cd brd ff:ff:ff:ff:ff:ff
    inet6 fe80::5aef:68ff:fe11:a968/64 scope link 
       valid_lft forever preferred_lft forever
15: wlan1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-lan state UP qlen 1000
    link/ether 58:ef:68:aa:bb:ce brd ff:ff:ff:ff:ff:ff
    inet6 fe80::5aef:68ff:fe11:a967/64 scope link 
       valid_lft forever preferred_lft forever
16: wlan1-1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-dmz state UP qlen 1000
    link/ether 00:25:9c:11:22:33 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::225:9cff:fe14:53bd/64 scope link 
       valid_lft forever preferred_lft forever

root@gw:~# cat /proc/net/vlan/config 
VLAN Dev name	 | VLAN ID
Name-Type: VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD



```/etc/config/network

config interface 'loopback'
	option device 'lo'
	option proto 'static'
	option ipaddr '127.0.0.1'
	option netmask '255.0.0.0'

config globals 'globals'
	option ula_prefix 'fda7:9b0f:7764::/48'

config device
	option name 'br-lan'
	option type 'bridge'
	option ipv6 '0'
	list ports 'lan1'
	list ports 'lan2'

config interface 'lan'
	option device 'br-lan'
	option proto 'static'
	option ipaddr '192.168.11.1'
	option netmask '255.255.255.0'
	list dns '1.1.1.2'
	list dns '1.0.0.2'
	option delegate '0'
	list dns_search 'home.arpa'

config device
	option name 'wan'
	option macaddr '5a:ef:68:aa:bb:cc'

config interface 'wan'
	option device 'wan'
	option proto 'dhcp'

config interface 'wan6'
	option device 'wan'
	option proto 'dhcpv6'

config device
	option type 'bridge'
	option name 'br-dmz'
	option ipv6 '0'
	list ports 'lan3'
	list ports 'lan4'

config interface 'dmz'
	option device 'br-dmz'
	option proto 'static'
	option ipaddr '192.168.111.1'
	option netmask '255.255.255.0'
	list dns '1.1.1.3'
	list dns '1.0.0.3'
	option delegate '0'
```

```/etc/config/firewall
root@gw:~# cat /etc/config/firewall 

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

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

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

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

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

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

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

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

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

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

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

config rule
	option name 'Allow-IPSec-ESP'
	option src 'wan'
	option dest 'lan'
	option proto 'esp'
	option target 'ACCEPT'

config rule
	option name 'Allow-ISAKMP'
	option src 'wan'
	option dest 'lan'
	option dest_port '500'
	option proto 'udp'
	option target 'ACCEPT'

config rule
	option name 'Support-UDP-Traceroute'
	option src 'wan'
	option dest_port '33434:33689'
	option proto 'udp'
	option family 'ipv4'
	option target 'REJECT'
	option enabled '0'

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

config zone
	option name 'dmz'
	option output 'ACCEPT'
	option forward 'REJECT'
	list network 'dmz'
	option input 'REJECT'

config forwarding
	option src 'dmz'
	option dest 'wan'

config rule
	option name 'DMZ-Allow DNS'
	option src 'dmz'
	option dest 'wan'
	option dest_port '53'
	option target 'ACCEPT'

config rule
	option name 'DMZ-Allow DHCP'
	list proto 'udp'
	option src 'dmz'
	option src_port '67-68'
	option dest_port '67-68'
	option target 'ACCEPT'

config rule
	option name 'DMZ-Allow HTTP'
	list proto 'tcp'
	option src 'dmz'
	option dest 'wan'
	option dest_port '80'
	option target 'ACCEPT'

config rule
	option name 'DMZ-Allow HTTPS'
	list proto 'tcp'
	option src 'dmz'
	option dest 'wan'
	option dest_port '443'
	option target 'ACCEPT'

config rule
	option name 'DMZ-Deny LAN access'
	list proto 'all'
	option src 'dmz'
	option dest 'lan'
	option target 'DROP'

config rule
	option name 'DMZ-Deny All'
	list proto 'all'
	option src 'dmz'
	option dest 'wan'
	option target 'REJECT'
```

```/etc/config/dhcp
config dnsmasq
	option domainneeded '1'
	option localise_queries '1'
	option rebind_protection '1'
	option rebind_localhost '1'
	option expandhosts '1'
	option authoritative '1'
	option readethers '1'
	option leasefile '/tmp/dhcp.leases'
	option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
	option localservice '1'
	option ednspacket_max '1232'
	option local '/home.arpa/'
	option domain 'home.arpa'

config dhcp 'lan'
	option interface 'lan'
	option leasetime '12h'
	option start '50'
	option limit '20'
	option force '1'
	list dhcp_option '6,1.1.1.2,1.0.0.2'
	list ra_flags 'none'

config dhcp 'wan'
	option interface 'wan'
	option ignore '1'
	list ra_flags 'none'

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

config dhcp 'dmz'
	option interface 'dmz'
	option leasetime '12h'
	option start '10'
	option limit '20'
	option force '1'
	list dhcp_option '6,1.1.1.3,1.0.0.3'
	list ra_flags 'none'

I also don’t understand, why there are VLANs being created (according to `dmesg` output):

[   16.440913] br-dmz: port 2(lan4) entered disabled state
[   16.454033] device lan4 entered promiscuous mode
[   16.477529] mv88e6085 f1072004.mdio-mii:00: p6: already a member of VLAN 1
[   16.505510] mv88e6085 f1072004.mdio-mii:00 lan1: configuring for phy/gmii link mode
[   16.526123] 8021q: adding VLAN 0 to HW filter on device lan1
[   16.532063] br-lan: port 1(lan1) entered blocking state
[   16.537364] br-lan: port 1(lan1) entered disabled state
[   16.548420] device lan1 entered promiscuous mode
[   16.557588] mv88e6085 f1072004.mdio-mii:00: p3: hw VLAN 1 already used by port 0 in br-dmz
[   16.576445] mv88e6085 f1072004.mdio-mii:00 lan1: failed to initialize vlan filtering on this port
[   16.603016] br-lan: port 1(lan1) entered blocking state
[   16.608328] br-lan: port 1(lan1) entered disabled state
[   16.637730] mv88e6085 f1072004.mdio-mii:00: p3: hw VLAN 1 already used by port 0 in br-dmz
[   16.678547] mv88e6085 f1072004.mdio-mii:00 lan1: failed to initialize vlan filtering on this port
[   16.728750] br-lan: port 1(lan1) entered blocking state
[   16.734011] br-lan: port 1(lan1) entered disabled state
[   16.741382] mv88e6085 f1072004.mdio-mii:00: p3: hw VLAN 1 already used by port 0 in br-dmz
[   16.765961] mv88e6085 f1072004.mdio-mii:00 lan1: failed to initialize vlan filtering on this port
[   16.787735] br-lan: port 1(lan1) entered blocking state
[   16.792999] br-lan: port 1(lan1) entered disabled state
[   16.800201] mv88e6085 f1072004.mdio-mii:00: p3: hw VLAN 1 already used by port 0 in br-dmz
[   16.835936] mv88e6085 f1072004.mdio-mii:00 lan1: failed to initialize vlan filtering on this port
[   16.984561] mv88e6085 f1072004.mdio-mii:00 lan2: configuring for phy/gmii link mode
[   16.995676] 8021q: adding VLAN 0 to HW filter on device lan2

Here is a full `dmesg` output:

root@gw:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.154 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16325-88151b8303)) #0 SMP Sun Oct 24 09:01:35 2021
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Linksys WRT1200AC
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 131072
[    0.000000]   Normal zone: 1152 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] percpu: Embedded 11 pages/cpu s15628 r8192 d21236 u45056
[    0.000000] pcpu-alloc: s15628 r8192 d21236 u45056 alloc=11*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock5 ro rootdelay=1 rootfstype=jffs2 earlyprintk mtdparts=armada-nand:2048K(uboot)ro,256K(u_env),256K(s_env),1m@9m(devinfo),40m@10m(kernel),34m@16m(rootfs),40m@50m(alt_kernel),34m@56m(alt_rootfs),80m@10m(ubifs),-@90m(syscfg)
[    0.000000] Bootloader command line (ignored): console=ttyS0,115200 root=/dev/mtdblock5 ro rootdelay=1 rootfstype=jffs2 earlyprintk mtdparts=armada-nand:2048K(uboot)ro,256K(u_env),256K(s_env),1m@9m(devinfo),40m@10m(kernel),34m@16m(rootfs),40m@50m(alt_kernel),34m@56m(alt_rootfs),80m@10m(ubifs),-@90m(syscfg)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 508360K/524288K available (7168K kernel code, 234K rwdata, 996K rodata, 1024K init, 239K bss, 15928K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: DT/platform modifies aux control register: 0x06070000 -> 0x16070000
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] random: get_random_bytes called from 0xc0a00c78 with crng_init=0
[    0.000007] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns
[    0.000018] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
[    0.000032] Switching to timer-based delay loop, resolution 1ns
[    0.000179] Ignoring duplicate/late registration of read_current_timer delay
[    0.000187] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000333] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
[    0.000341] pid_max: default: 32768 minimum: 301
[    0.000418] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000424] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000806] CPU: Testing write buffer coherency: ok
[    0.000819] CPU0: Spectre v2: using BPIALL workaround
[    0.000939] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001142] Setting up static identity map for 0x100000 - 0x100060
[    0.001228] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.001315] mvebu-pmsu: Initializing Power Management Service Unit
[    0.001377] rcu: Hierarchical SRCU implementation.
[    0.001494] smp: Bringing up secondary CPUs ...
[    0.001647] Booting CPU 1
[    0.001815] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.001819] CPU1: Spectre v2: using BPIALL workaround
[    0.001879] smp: Brought up 1 node, 2 CPUs
[    0.001884] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.001887] CPU: All CPU(s) started in SVC mode.
[    0.003790] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.003855] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.003864] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.003929] pinctrl core: initialized pinctrl subsystem
[    0.004348] NET: Registered protocol family 16
[    0.004965] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.005626] cpuidle: using governor ladder
[    0.005820] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.005827] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.013883] cryptd: max_cpu_qlen set to 1000
[    0.014808] SCSI subsystem initialized
[    0.014924] libata version 3.00 loaded.
[    0.015040] usbcore: registered new interface driver usbfs
[    0.015065] usbcore: registered new interface driver hub
[    0.015090] usbcore: registered new device driver usb
[    0.015317] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.015884] clocksource: Switched to clocksource arm_global_timer
[    0.016208] thermal_sys: Registered thermal governor 'step_wise'
[    0.016365] NET: Registered protocol family 2
[    0.016444] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.016839] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.016856] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.016881] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.016921] TCP: Hash tables configured (established 4096 bind 4096)
[    0.016961] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.016978] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.017071] NET: Registered protocol family 1
[    0.017086] PCI: CLS 0 bytes, default 64
[    0.018316] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.021223] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.021233] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.021879] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.023102] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    0.024219] mvebu-pcie soc:pcie: PCI host bridge to bus 0000:00
[    0.024230] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.024237] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    0.024242] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    0.024320] pci 0000:00:01.0: [11ab:6820] type 01 class 0x060400
[    0.024338] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    0.024476] pci 0000:00:02.0: [11ab:6820] type 01 class 0x060400
[    0.024489] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    0.025412] PCI: bus0: Fast back to back transfers disabled
[    0.025419] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.025427] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.025484] pci 0000:01:00.0: [11ab:2a55] type 00 class 0x020000
[    0.025511] pci 0000:01:00.0: reg 0x10: [mem 0x40000000-0x400fffff 64bit pref]
[    0.025524] pci 0000:01:00.0: reg 0x18: [mem 0x40100000-0x401fffff 64bit pref]
[    0.025593] pci 0000:01:00.0: supports D1 D2
[    0.025598] pci 0000:01:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.026589] PCI: bus1: Fast back to back transfers disabled
[    0.026598] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.026666] pci 0000:02:00.0: [11ab:2a55] type 00 class 0x020000
[    0.026699] pci 0000:02:00.0: reg 0x10: [mem 0x42000000-0x420fffff 64bit pref]
[    0.026713] pci 0000:02:00.0: reg 0x18: [mem 0x42100000-0x421fffff 64bit pref]
[    0.026804] pci 0000:02:00.0: supports D1 D2
[    0.026809] pci 0000:02:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.026832] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:02.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    0.027790] PCI: bus2: Fast back to back transfers disabled
[    0.027798] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    0.027831] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe01fffff]
[    0.027838] pci 0000:00:02.0: BAR 8: assigned [mem 0xe0200000-0xe03fffff]
[    0.027845] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0400000-0xe04007ff pref]
[    0.027851] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0500000-0xe05007ff pref]
[    0.027859] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit pref]
[    0.027870] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0100000-0xe01fffff 64bit pref]
[    0.027880] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.027886] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe01fffff]
[    0.027895] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0200000-0xe02fffff 64bit pref]
[    0.027906] pci 0000:02:00.0: BAR 2: assigned [mem 0xe0300000-0xe03fffff 64bit pref]
[    0.027916] pci 0000:00:02.0: PCI bridge to [bus 02]
[    0.027922] pci 0000:00:02.0:   bridge window [mem 0xe0200000-0xe03fffff]
[    0.028179] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.106357] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.106486] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.166351] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.166527] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.167316] printk: console [ttyS0] disabled
[    0.187407] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[    1.071915] printk: console [ttyS0] enabled
[    1.078064] loop: module loaded
[    1.081224] Loading iSCSI transport class v2.0-870.
[    1.086622] ahci-mvebu f10a8000.sata: f10a8000.sata supply ahci not found, using dummy regulator
[    1.095499] ahci-mvebu f10a8000.sata: f10a8000.sata supply phy not found, using dummy regulator
[    1.104280] ahci-mvebu f10a8000.sata: f10a8000.sata supply target not found, using dummy regulator
[    1.113366] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.122469] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.131651] scsi host0: ahci-mvebu
[    1.135300] scsi host1: ahci-mvebu
[    1.138831] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 41
[    1.146814] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 41
[    1.155348] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[    1.161746] nand: AMD/Spansion S34ML01G2
[    1.165690] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.173658] Bad block table found at page 65472, version 0x01
[    1.180086] Bad block table found at page 65408, version 0x01
[    1.186298] 10 fixed-partitions partitions found on MTD device pxa3xx_nand-0
[    1.193383] Creating 10 MTD partitions on "pxa3xx_nand-0":
[    1.198908] 0x000000000000-0x000000200000 : "u-boot"
[    1.204253] 0x000000200000-0x000000240000 : "u_env"
[    1.209478] 0x000000240000-0x000000280000 : "s_env"
[    1.214663] 0x000000900000-0x000000a00000 : "devinfo"
[    1.220040] 0x000000a00000-0x000003200000 : "kernel1"
[    1.225479] 0x000001000000-0x000003200000 : "ubi"
[    1.230562] 0x000003200000-0x000005a00000 : "kernel2"
[    1.236004] 0x000003800000-0x000005a00000 : "rootfs2"
[    1.241438] 0x000005a00000-0x000008000000 : "syscfg"
[    1.246813] 0x000000280000-0x000000900000 : "unused_area"
[    1.252902] libphy: Fixed MDIO Bus: probed
[    1.257379] libphy: orion_mdio_bus: probed
[    1.261644] mv88e6085 f1072004.mdio-mii:00: switch 0x1760 detected: Marvell 88E6176, revision 1
[    1.438300] libphy: mv88e6xxx SMI: probed
[    1.444293] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.453328] mvneta f1070000.ethernet eth0: Using hardware mac address 58:ef:68:11:a9:66
[    1.461465] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.468033] ehci-pci: EHCI PCI platform driver
[    1.472527] ehci-platform: EHCI generic platform driver
[    1.477864] ehci-orion: EHCI orion driver
[    1.481981] orion-ehci f1058000.usb: EHCI Host Controller
[    1.487152] ata1: SATA link down (SStatus 0 SControl 300)
[    1.487423] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.492864] ata2: SATA link down (SStatus 0 SControl 300)
[    1.500487] orion-ehci f1058000.usb: irq 38, io mem 0xf1058000
[    1.545974] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.552172] hub 1-0:1.0: USB hub found
[    1.555965] hub 1-0:1.0: 1 port detected
[    1.560397] usbcore: registered new interface driver usb-storage
[    1.566616] i2c /dev entries driver
[    1.572740] watchdog: f1020300.watchdog: driver supplied timeout (4294967295) out of range
[    1.581059] watchdog: f1020300.watchdog: falling back to default timeout (171)
[    1.588428] orion_wdt: Initial timeout 171 sec
[    1.593172] sdhci: Secure Digital Host Controller Interface driver
[    1.599391] sdhci: Copyright(c) Pierre Ossman
[    1.603871] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.613443] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.621208] NET: Registered protocol family 10
[    1.626163] Segment Routing with IPv6
[    1.629880] NET: Registered protocol family 17
[    1.634363] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.647444] 8021q: 802.1Q VLAN Support v1.8
[    1.651714] Registering SWP/SWPB emulation handler
[    1.658811] mv88e6085 f1072004.mdio-mii:00: switch 0x1760 detected: Marvell 88E6176, revision 1
[    1.839787] libphy: mv88e6xxx SMI: probed
[    2.016009] mv88e6085 f1072004.mdio-mii:00 lan4 (uninitialized): PHY [mv88e6xxx-1:00] driver [Marvell 88E1540]
[    2.033604] mv88e6085 f1072004.mdio-mii:00 lan3 (uninitialized): PHY [mv88e6xxx-1:01] driver [Marvell 88E1540]
[    2.050911] mv88e6085 f1072004.mdio-mii:00 lan2 (uninitialized): PHY [mv88e6xxx-1:02] driver [Marvell 88E1540]
[    2.068301] mv88e6085 f1072004.mdio-mii:00 lan1 (uninitialized): PHY [mv88e6xxx-1:03] driver [Marvell 88E1540]
[    2.085671] mv88e6085 f1072004.mdio-mii:00 wan (uninitialized): PHY [mv88e6xxx-1:04] driver [Marvell 88E1540]
[    2.116027] mv88e6085 f1072004.mdio-mii:00: configuring for fixed/ link mode
[    2.124597] DSA: tree 0 setup
[    2.127776] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    2.133127] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 2
[    2.140731] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    2.150036] xhci-hcd f10f8000.usb3: irq 43, io mem 0xf10f8000
[    2.155905] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    2.161251] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    2.168789] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[    2.175455] hub 2-0:1.0: USB hub found
[    2.179252] hub 2-0:1.0: 1 port detected
[    2.183376] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.191720] hub 3-0:1.0: USB hub found
[    2.195509] hub 3-0:1.0: 1 port detected
[    2.200032] UBI: auto-attach mtd5
[    2.203366] ubi0: attaching mtd5
[    2.207030] mv88e6085 f1072004.mdio-mii:00: Link is Up - 1Gbps/Full - flow control off
[    2.393201] ubi0: scanning is finished
[    2.404885] ubi0: attached mtd5 (name "ubi", size 34 MiB)
[    2.410321] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.417239] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.424061] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.431062] ubi0: good PEBs: 272, bad PEBs: 0, corrupted PEBs: 0
[    2.437101] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    2.444360] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1635066095
[    2.453542] ubi0: available PEBs: 0, total reserved PEBs: 272, PEBs reserved for bad PEB handling: 20
[    2.462816] ubi0: background thread "ubi_bgt0d" started, PID 855
[    2.463417] block ubiblock0_0: created from ubi0:0(rootfs)
[    2.474373] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    2.481376] hctosys: unable to open rtc device (rtc0)
[    2.486817] Waiting 1 sec before mounting root device...
[    2.715903] usb 3-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[    2.844479] usb-storage 3-1:1.0: USB Mass Storage device detected
[    2.850763] scsi host2: usb-storage 3-1:1.0
[    3.538496] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    3.546207] Freeing unused kernel memory: 1024K
[    3.576033] Run /sbin/init as init process
[    3.818161] init: Console is alive
[    3.821658] init: - watchdog -
[    3.991494] scsi 2:0:0:0: Direct-Access     Kingston DT microDuo 3.0  PMAP PQ: 0 ANSI: 6
[    4.099446] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.160655] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.178107] init: - preinit -
[    4.528886] random: jshn: uninitialized urandom read (4 bytes read)
[    4.552587] random: jshn: uninitialized urandom read (4 bytes read)
[    4.791833] random: jshn: uninitialized urandom read (4 bytes read)
[    4.866672] mvneta f1070000.ethernet eth0: configuring for fixed/rgmii-id link mode
[    4.874847] mvneta f1070000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    4.882765] mv88e6085 f1072004.mdio-mii:00 lan1: configuring for phy/gmii link mode
[    4.892860] 8021q: adding VLAN 0 to HW filter on device lan1
[    4.898583] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    5.611482] sd 2:0:0:0: [sda] 61457664 512-byte logical blocks: (31.5 GB/29.3 GiB)
[    5.619229] sd 2:0:0:0: [sda] Write Protect is off
[    5.624046] sd 2:0:0:0: [sda] Mode Sense: 23 00 00 00
[    5.624162] sd 2:0:0:0: [sda] No Caching mode page found
[    5.629511] sd 2:0:0:0: [sda] Assuming drive cache: write through
[    5.660747]  sda: sda1
[    5.664056] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    7.749930] mv88e6085 f1072004.mdio-mii:00 lan1: Link is Up - 100Mbps/Full - flow control off
[    7.758521] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
[    8.972591] UBIFS (ubi0:1): Mounting in unauthenticated mode
[    8.978357] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 983
[    9.019819] UBIFS (ubi0:1): recovery needed
[    9.118602] UBIFS (ubi0:1): recovery completed
[    9.123106] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[    9.130988] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    9.140959] UBIFS (ubi0:1): FS size: 27172864 bytes (25 MiB, 214 LEBs), journal size 1396736 bytes (1 MiB, 11 LEBs)
[    9.151454] UBIFS (ubi0:1): reserved for root: 1283441 bytes (1253 KiB)
[    9.158109] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 0F8273C7-1811-4EA8-8407-C28C35497ADA, small LPT model
[    9.177228] mount_root: loading kmods from internal overlay
[    9.194058] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[    9.224992] ehci-fsl: Freescale EHCI Host controller driver
[    9.231603] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[    9.379671] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[    9.390471] block: extroot: not configured
[    9.395900] mount_root: switching to ubifs overlay
[    9.456646] ubi1: attaching mtd8
[    9.654753] ubi1: scanning is finished
[    9.666556] ubi1: attached mtd8 (name "syscfg", size 38 MiB)
[    9.672246] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    9.679169] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    9.686006] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
[    9.693002] ubi1: good PEBs: 296, bad PEBs: 8, corrupted PEBs: 0
[    9.699044] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
[    9.706308] ubi1: max/mean erase counter: 48/31, WL threshold: 4096, image sequence number: 209510122
[    9.715574] ubi1: available PEBs: 0, total reserved PEBs: 296, PEBs reserved for bad PEB handling: 12
[    9.724851] ubi1: background thread "ubi_bgt1d" started, PID 998
[    9.737938] UBIFS (ubi1:0): Mounting in unauthenticated mode
[    9.765539] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 1002
[    9.857266] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "syscfg"
[    9.864702] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    9.874677] UBIFS (ubi1:0): FS size: 34283520 bytes (32 MiB, 270 LEBs), journal size 1777664 bytes (1 MiB, 14 LEBs)
[    9.885170] UBIFS (ubi1:0): reserved for root: 1619295 bytes (1581 KiB)
[    9.891828] UBIFS (ubi1:0): media format: w4/r0 (latest is w5/r0), UUID 5CEBAA57-C68D-4F49-B8FB-90A8EA53A5E2, small LPT model
[    9.905426] urandom-seed: Seeding with /etc/urandom.seed
[    9.948579] mv88e6085 f1072004.mdio-mii:00 lan1: Link is Down
[    9.965867] procd: - early -
[    9.968824] procd: - watchdog -
[   10.084383] random: fast init done
[   10.511803] procd: - watchdog -
[   10.516747] procd: - ubus -
[   10.543309] urandom_read: 5 callbacks suppressed
[   10.543312] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.551381] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: 
[   10.561767] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.570349] procd: - init -
[   10.865131] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.904113] urngd: v1.0.2 started.
[   10.908517] Loading modules backported from Linux version v5.10.68-0-g4d8524048a35
[   10.916167] Backport generated by backports.git v5.10.68-1-0-ga4f9ba32
[   10.933662] <<Marvell Mac80211 Wireless PCIE Network Driver version 10.3.8.0-20181210>>
[   10.941753] pci 0000:00:01.0: enabling device (0140 -> 0142)
[   10.947552] ieee80211 phy0: priv->pcmd_buf = (ptrval)  priv->pphys_cmd_buf = (ptrval)
[   10.949975] random: crng init done
[   10.954090] ieee80211 phy0: fw download start
[   11.096226] ieee80211 phy0: FwSize = 118776 downloaded Size = 118776 curr_iteration 65496
[   12.055884] ieee80211 phy0: fw download complete
[   12.055899] ieee80211 phy0: device node: pcie@1,0
[   12.061205] ieee80211 phy0: pcmd = 7e29d249
[   12.079250] ieee80211 phy0: firmware version: 0x702091a
[   12.430888] ieee80211 phy0: firmware region code: 30
[   12.469804] ieee80211 phy0: 2G disabled, 5G enabled
[   12.474718] ieee80211 phy0: 2 TX antennas, 2 RX antennas
[   12.480302] pci 0000:00:02.0: enabling device (0140 -> 0142)
[   12.486107] ieee80211 phy1: priv->pcmd_buf = 73229917  priv->pphys_cmd_buf = 6853a201
[   12.492533] ieee80211 phy1: fw download start
[   12.611225] ieee80211 phy1: FwSize = 118776 downloaded Size = 118776 curr_iteration 65510
[   13.565893] ieee80211 phy1: fw download complete
[   13.565923] ieee80211 phy1: device node: pcie@2,0
[   13.571234] ieee80211 phy1: pcmd = 73229917
[   13.589276] ieee80211 phy1: firmware version: 0x702091a
[   13.940888] ieee80211 phy1: firmware region code: 30
[   13.976721] ieee80211 phy1: 2G enabled, 5G disabled
[   13.981633] ieee80211 phy1: 2 TX antennas, 2 RX antennas
[   13.992435] xt_time: kernel timezone is -0000
[   14.005039] PPP generic driver version 2.4.2
[   14.010298] NET: Registered protocol family 24
[   14.020520] kmodloader: done loading kernel modules from /etc/modules.d/*
[   16.118125] mvneta f1070000.ethernet eth0: Link is Down
[   16.132037] mvneta f1070000.ethernet eth0: configuring for fixed/rgmii-id link mode
[   16.140065] mvneta f1070000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   16.149302] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   16.158267] mv88e6085 f1072004.mdio-mii:00 lan3: configuring for phy/gmii link mode
[   16.168601] 8021q: adding VLAN 0 to HW filter on device lan3
[   16.174498] br-dmz: port 1(lan3) entered blocking state
[   16.179806] br-dmz: port 1(lan3) entered disabled state
[   16.190370] device lan3 entered promiscuous mode
[   16.195017] device eth0 entered promiscuous mode
[   16.417234] mv88e6085 f1072004.mdio-mii:00 lan4: configuring for phy/gmii link mode
[   16.429826] 8021q: adding VLAN 0 to HW filter on device lan4
[   16.435623] br-dmz: port 2(lan4) entered blocking state
[   16.440913] br-dmz: port 2(lan4) entered disabled state
[   16.454033] device lan4 entered promiscuous mode
[   16.477529] mv88e6085 f1072004.mdio-mii:00: p6: already a member of VLAN 1
[   16.505510] mv88e6085 f1072004.mdio-mii:00 lan1: configuring for phy/gmii link mode
[   16.526123] 8021q: adding VLAN 0 to HW filter on device lan1
[   16.532063] br-lan: port 1(lan1) entered blocking state
[   16.537364] br-lan: port 1(lan1) entered disabled state
[   16.548420] device lan1 entered promiscuous mode
[   16.557588] mv88e6085 f1072004.mdio-mii:00: p3: hw VLAN 1 already used by port 0 in br-dmz
[   16.576445] mv88e6085 f1072004.mdio-mii:00 lan1: failed to initialize vlan filtering on this port
[   16.603016] br-lan: port 1(lan1) entered blocking state
[   16.608328] br-lan: port 1(lan1) entered disabled state
[   16.637730] mv88e6085 f1072004.mdio-mii:00: p3: hw VLAN 1 already used by port 0 in br-dmz
[   16.678547] mv88e6085 f1072004.mdio-mii:00 lan1: failed to initialize vlan filtering on this port
[   16.728750] br-lan: port 1(lan1) entered blocking state
[   16.734011] br-lan: port 1(lan1) entered disabled state
[   16.741382] mv88e6085 f1072004.mdio-mii:00: p3: hw VLAN 1 already used by port 0 in br-dmz
[   16.765961] mv88e6085 f1072004.mdio-mii:00 lan1: failed to initialize vlan filtering on this port
[   16.787735] br-lan: port 1(lan1) entered blocking state
[   16.792999] br-lan: port 1(lan1) entered disabled state
[   16.800201] mv88e6085 f1072004.mdio-mii:00: p3: hw VLAN 1 already used by port 0 in br-dmz
[   16.835936] mv88e6085 f1072004.mdio-mii:00 lan1: failed to initialize vlan filtering on this port
[   16.984561] mv88e6085 f1072004.mdio-mii:00 lan2: configuring for phy/gmii link mode
[   16.995676] 8021q: adding VLAN 0 to HW filter on device lan2
[   17.001799] br-lan: port 1(lan2) entered blocking state
[   17.007121] br-lan: port 1(lan2) entered disabled state
[   17.018145] device lan2 entered promiscuous mode
[   17.027690] mv88e6085 f1072004.mdio-mii:00: p2: hw VLAN 1 already used by port 0 in br-dmz
[   17.085974] mv88e6085 f1072004.mdio-mii:00 lan2: failed to initialize vlan filtering on this port
[   17.114252] br-lan: port 1(lan2) entered blocking state
[   17.119542] br-lan: port 1(lan2) entered disabled state
[   17.127219] mv88e6085 f1072004.mdio-mii:00: p2: hw VLAN 1 already used by port 0 in br-dmz
[   17.166175] mv88e6085 f1072004.mdio-mii:00 lan2: failed to initialize vlan filtering on this port
[   17.190046] br-lan: port 1(lan2) entered blocking state
[   17.195313] br-lan: port 1(lan2) entered disabled state
[   17.203902] mv88e6085 f1072004.mdio-mii:00: p2: hw VLAN 1 already used by port 0 in br-dmz
[   17.225941] mv88e6085 f1072004.mdio-mii:00 lan2: failed to initialize vlan filtering on this port
[   17.246677] br-lan: port 1(lan2) entered blocking state
[   17.251934] br-lan: port 1(lan2) entered disabled state
[   17.259039] mv88e6085 f1072004.mdio-mii:00: p2: hw VLAN 1 already used by port 0 in br-dmz
[   17.305925] mv88e6085 f1072004.mdio-mii:00 lan2: failed to initialize vlan filtering on this port
[   17.473942] mv88e6085 f1072004.mdio-mii:00 wan: configuring for phy/gmii link mode
[   17.481896] 8021q: adding VLAN 0 to HW filter on device wan
[   17.572531] mv88e6085 f1072004.mdio-mii:00 lan1: configuring for phy/gmii link mode
[   17.597388] 8021q: adding VLAN 0 to HW filter on device lan1
[   17.603214] br-lan: port 1(lan1) entered blocking state
[   17.608496] br-lan: port 1(lan1) entered disabled state
[   17.636431] mv88e6085 f1072004.mdio-mii:00: p3: hw VLAN 1 already used by port 0 in br-dmz
[   17.666300] mv88e6085 f1072004.mdio-mii:00 lan1: failed to initialize vlan filtering on this port
[   17.750989] br-lan: port 1(lan1) entered blocking state
[   17.756277] br-lan: port 1(lan1) entered disabled state
[   17.763362] mv88e6085 f1072004.mdio-mii:00: p3: hw VLAN 1 already used by port 0 in br-dmz
[   17.825934] mv88e6085 f1072004.mdio-mii:00 lan1: failed to initialize vlan filtering on this port
[   17.860682] br-lan: port 1(lan1) entered blocking state
[   17.865977] br-lan: port 1(lan1) entered disabled state
[   17.878259] mv88e6085 f1072004.mdio-mii:00: p3: hw VLAN 1 already used by port 0 in br-dmz
[   17.915967] mv88e6085 f1072004.mdio-mii:00 lan1: failed to initialize vlan filtering on this port
[   17.925738] br-lan: port 1(lan1) entered blocking state
[   17.931031] br-lan: port 1(lan1) entered disabled state
[   17.944617] mv88e6085 f1072004.mdio-mii:00: p3: hw VLAN 1 already used by port 0 in br-dmz
[   17.999227] mv88e6085 f1072004.mdio-mii:00 lan1: failed to initialize vlan filtering on this port
[   18.029212] mv88e6085 f1072004.mdio-mii:00 lan2: configuring for phy/gmii link mode
[   18.041660] 8021q: adding VLAN 0 to HW filter on device lan2
[   18.073885] br-lan: port 1(lan2) entered blocking state
[   18.079178] br-lan: port 1(lan2) entered disabled state
[   18.096052] mv88e6085 f1072004.mdio-mii:00: p2: hw VLAN 1 already used by port 0 in br-dmz
[   18.135925] mv88e6085 f1072004.mdio-mii:00 lan2: failed to initialize vlan filtering on this port
[   18.158835] br-lan: port 1(lan2) entered blocking state
[   18.164092] br-lan: port 1(lan2) entered disabled state
[   18.172805] mv88e6085 f1072004.mdio-mii:00: p2: hw VLAN 1 already used by port 0 in br-dmz
[   18.215925] mv88e6085 f1072004.mdio-mii:00 lan2: failed to initialize vlan filtering on this port
[   18.240018] mv88e6085 f1072004.mdio-mii:00 lan4: Link is Up - 100Mbps/Full - flow control off
[   18.263213] br-lan: port 1(lan2) entered blocking state
[   18.268506] br-lan: port 1(lan2) entered disabled state
[   18.287735] mv88e6085 f1072004.mdio-mii:00: p2: hw VLAN 1 already used by port 0 in br-dmz
[   18.335934] mv88e6085 f1072004.mdio-mii:00 lan2: failed to initialize vlan filtering on this port
[   18.345449] br-dmz: port 2(lan4) entered blocking state
[   18.350717] br-dmz: port 2(lan4) entered forwarding state
[   18.368006] br-lan: port 1(lan2) entered blocking state
[   18.373261] br-lan: port 1(lan2) entered disabled state
[   18.380265] mv88e6085 f1072004.mdio-mii:00: p2: hw VLAN 1 already used by port 0 in br-dmz
[   18.425890] mv88e6085 f1072004.mdio-mii:00 lan2: failed to initialize vlan filtering on this port
[   20.035895] ieee80211 phy0: change: 0xffffffff
[   20.115943] br-lan: port 1(wlan0) entered blocking state
[   20.121287] br-lan: port 1(wlan0) entered disabled state
[   20.126762] device wlan0 entered promiscuous mode
[   20.249913] ieee80211 phy1: change: 0xffffffff
[   20.314677] br-lan: port 2(wlan1) entered blocking state
[   20.320059] br-lan: port 2(wlan1) entered disabled state
[   20.325527] device wlan1 entered promiscuous mode
[   20.330325] br-lan: port 2(wlan1) entered blocking state
[   20.335670] br-lan: port 2(wlan1) entered forwarding state
[   20.757883] mv88e6085 f1072004.mdio-mii:00 wan: Link is Up - 1Gbps/Full - flow control off
[   20.766232] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
[   21.116291] br-lan: port 2(wlan1) entered disabled state
[   25.132417] ieee80211 phy0: change: 0x100
[   25.145498] ieee80211 phy0: change: 0x40
[   25.325893] ieee80211 phy0: change: 0x40
[   25.373057] ieee80211 phy1: change: 0x100
[   25.385892] ieee80211 phy1: change: 0x42
[   25.504926] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   25.505893] ieee80211 phy0: change: 0x40
[   25.511404] br-lan: port 2(wlan1) entered blocking state
[   25.520603] br-lan: port 2(wlan1) entered forwarding state
[   25.561582] br-dmz: port 3(wlan1-1) entered blocking state
[   25.567154] br-dmz: port 3(wlan1-1) entered disabled state
[   25.572868] device wlan1-1 entered promiscuous mode
[   25.594343] ieee80211 phy0: change: 0x100
[   25.641211] br-dmz: port 3(wlan1-1) entered blocking state
[   25.646750] br-dmz: port 3(wlan1-1) entered forwarding state
[   25.752930] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-1: link becomes ready
[   25.866264] ieee80211 phy0: change: 0x100
[   25.879452] ieee80211 phy0: change: 0x42
[   26.030096] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   26.036615] br-lan: port 1(wlan0) entered blocking state
[   26.041961] br-lan: port 1(wlan0) entered forwarding state

It appears, there is a bug using multiple bridge devices on DSA switch on this HW with the latest OpenWRT version and the only solution is to use VLANs instead of bridges, as also discussed here https://forum.openwrt.org/t/solved-dsa-multiple-networks-on-21-02-not-bridging-to-lan-ports/108963

Or is there any undocumented config to make it working?

Thanks in advance for anyone looking into this issue!

01.12.20214168Base systemBug ReportVery LowLowunknown configuration item 'iapp_interface'TrunkUnconfirmed Task Description

Hostapd refuses start when the option ‘iapp_interface ‘br-lan’ is set.
It fails with the following error:

Wed Dec  1 13:18:39 2021 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy0.conf (phy wlan0) --> new PHY
Wed Dec  1 13:18:39 2021 daemon.err hostapd: Line 48: unknown configuration item 'iapp_interface'
Wed Dec  1 13:18:39 2021 daemon.err hostapd: 1 errors found in configuration file '/var/run/hostapd-phy0.conf'
Wed Dec  1 13:18:39 2021 daemon.err hostapd: Failed to set up interface with /var/run/hostapd-phy0.conf
Wed Dec  1 13:18:39 2021 daemon.notice netifd: radio0 (2867): Command failed: Invalid argument
Wed Dec  1 13:18:39 2021 daemon.notice netifd: radio0 (2867): Device setup failed: HOSTAPD_START_FAILED

My system is a TP-Link re200v1. And the installed software is:
OpenWrt SNAPSHOT, r18164-8f45849876
hostapd - 2021-05-22-b102f19b-51

30.11.20214165Base systemBug ReportVery LowMediumLamobo R1 network/switch broken with v21.02.1TrunkUnconfirmed Task Description

OpenWrt v21.02.1 seems to have serious issues with the network/switch configuration while it is/was fine with 19.07.

Image tested is: openwrt-21.02.1-sunxi-cortexa7-lamobo_lamobo-r1-squashfs-sdcard.img.gz

Please find attached the corresponding part of the bootlog.

Kind regards, Joerg.


27.11.20214158KernelBug ReportVery LowCriticalMaster regression - boot loop due to kernel panic (mt76...TrunkUnconfirmed Task Description

I just did a build yesterday for the Archer C6 v3.2 from master, and now it is not booting anymore due to a boot loop issue (kernel panic).

Running OpenWRT SNAPSHOT custom build from master (r18195-d1c7df9c4b)

To reproduce, just install the build and reboot the device.

Attaching a UART I can see the kernel panic error below:

(...)
[    0.797651] CPU 1 Unable to handle kernel paging request at virtual address 5050404, epc == 80588ef8, ra == 801fe360
[    0.808162] Oops[#1]:
[    0.810387] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.4.159 #0
[    0.816345] $ 0   : 00000000 00000001 8fc304a4 00000108
[    0.821525] $ 4   : 05050404 80621000 8064d18f 00000061
[    0.826712] $ 8   : fffffffc 80594b3c 00000045 006d6873
[    0.831893] $12   : 015ede76 08fca8f3 9715a5ed 5c2e1039
[    0.837079] $16   : 8ff9cc00 8fc2523c 05050404 8064d184
[    0.842261] $20   : 0000000b 8fc06e00 8ff9cc8c 806ebd24
[    0.847448] $24   : 00000010 76ec2f43
[    0.852629] $28   : 8fc40000 8fc41d50 38e38e39 801fe360
[    0.857816] Hi    : 00000000
[    0.860665] Lo    : 006c0400
[    0.863546] epc   : 80588ef8 strlen+0x0/0x2c
[    0.867771] ra    : 801fe360 insert_header+0x140/0x4f8
[    0.872847] Status: 11007c03 KERNEL EXL IE
[    0.876997] Cause : 40800008 (ExcCode 02)
[    0.880969] BadVA : 05050404
[    0.883821] PrId  : 0001992f (MIPS 1004Kc)
[    0.887882] Modules linked in:
[    0.890910] Process swapper/0 (pid: 1, threadinfo=(ptrval), task=(ptrval), ts=00000000)
[    0.898940] Stack : 08fca8f3 00000000 2ab4a599 00000dc0 00000000 8fc06e30 8f06e00 801fc880
[    0.907235]         80862190 00000000 00000000 8fe57007 00000000 8ff9cc00 8f06e00 80860000
[    0.915528]         8fc06e00 00000001 00000000 801feaec 806f0000 80830000 8024aec 00000000
[    0.923822]         8064d008 8fd64a00 806eb18c 8fc06e00 8063ab2c 8063ab50 0000001 8fc06e00
[    0.932118]         8fe57007 806ebc4c 8fe57000 806ebc04 00000001 806eb18c 8030000 80830000
[    0.940412]         ...
[    0.942832] Call Trace:
[    0.945261] [<80588ef8>] strlen+0x0/0x2c
[    0.949146] [<801fe360>] insert_header+0x140/0x4f8
[    0.953897] [<801feaec>] __register_sysctl_table+0x30c/0x630
[    0.959516] [<801ff154>] __register_sysctl_paths+0xf4/0x1e8
[    0.965067] [<8070de10>] ipc_sysctl_init+0x14/0x24
[    0.969793] [<800015c8>] do_one_initcall+0x50/0x1a8
[    0.974641] [<806fbeec>] kernel_init_freeable+0x1ec/0x2d0
[    0.979997] [<80594e78>] kernel_init+0x10/0xf8
[    0.984398] [<80006478>] ret_from_kernel_thread+0x14/0x1c
[    0.989755] Code: a066ffff  1000fff7  00000000 <80820000> 10400007  00000000 00801025  80430001  1460fffe
[    0.999424]
[    1.000995] ---[ end trace d1818afedd9795ac ]---
```

Reverting to a build I did a couple of weeks ago (also from master) solves the problem.

I believe I have already identified the root cause.

It seems that the amount of RAM memory sometimes is not correctly identified. When the boot fails, the boot loader seems to be identifying a “HighMem” memory that does not exist in this device:

Wrong HighMem Memory Detected causes Kernel Panic during boot:

(...)
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000]   HighMem  [mem 0x0000000010000000-0x0000000023ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000001bffffff]
[    0.000000]   node   0: [mem 0x0000000020000000-0x0000000023ffffff]
(...)
[    0.000000] Memory: 510004K/524288K available (5739K kernel code, 200K rwdata, 1196K rodata, 1236K init, 226K bss, 14284K reserved, 0K cma-reserved, 262144K highmem)

Per log above the identified amount of RAM memory is 512MB, when in fact this device has only 128MB of RAM. When the above situation happens the boot fails with kernel panic.

After a couple of power cycles, the memory is correctly identified as 128MB (no HighMem) per below and the device boots OK:

Correct Memory Size Detected boots OK:

(...)
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
(...)
[    0.000000] Memory: 120916K/131072K available (5739K kernel code, 200K rwdata, 1196K rodata, 1236K init, 226K bss, 10156K reserved, 0K cma-reserved, 0K highmem)
(...)

Full log is attached.

25.11.20214156KernelBug ReportVery LowLowenable CONFIG_NF_CT_NETLINK_* in kernelTrunkUnconfirmed Task Description

The following options seems to be missing in trunk kernels of OpenWRT:
CONFIG_NF_CT_NETLINK_HELPER = m
CONFIG_NF_CT_NETLINK_TIMEOUT = m

There are no drawback (that I’m aware of) of adding them to OpenWRT builds. Can they be added using this ticket or a PR must must be created in order to do so?

Best regards,
Adam

25.11.20214155PackagesBug ReportVery LowMedium<dnsmasq_2.86-10_aarch64_cortex-a53.ipk>: unable to sta...TrunkUnconfirmed Task Description

Linksys e8450 on OpenWrt SNAPSHOT, r18161-00ce13490a

A bug in dnsmasq 2.86-10 would render the whole DHCP system down. Once you modify the /etc/dnsmasq.conf with additional line:

conf-dir=/etc/dnsmasq.d/

Your dnsmasq will refuse to start

Workaround: Add following lines to /etc/config/dhcp to bypass this bug:
option confdir ‘/etc/dnsmasq.d/’

This workaround will change the default behavior which dnsmasq was including the conf files in the /tmp/dnsmasq.d
And I’m not sure if the option confdir ‘/etc/dnsmasq.d/’ actually works.

The dnsmasq 2.85-8 package shipped with 21.02.1 has no such bug.

24.11.20214154Base systemBug ReportVery LowLowprocd-ujail: makes dnsmasq refuse to answer dns queriesTrunkUnconfirmed Task Description

22/11/2021 compile for ramips device Ubiquiti EdgeRouter X sfp ; snapshot: r18166-e2c4998f6d
Choosing TARGET_ramips_mt7621_DEVICE_ubnt_edgerouter-x-sfp selects default the inclusion of procd-ujail .
This has the effect of dnsmasq being put in a jail.
The device can still make dns queries to upstream. But, depite dnsmasq listening on all interfaces, any incoming queries get the reply ‘REFUSED’. Easily tested on the device itself e.g. with the command ‘nslookup <some fqdn> localhost’ This leaves any devices downstream in the dark that via dhcp got the news to fetch their dns information from this jailed dnsmasq.
Exactly same configuration compile, but with procd-ujail manually removed, restores complete functionality of dnsmasq.


23.11.20214153Base systemBug ReportVery LowLowap + sta wpa_supplicant fail to connect if wrong configTrunkUnconfirmed Task Description

1. setup wireless AP + STA, and STA connect ok
2. change /etc/config/wireless and set the STA password key to ‘’ then /etc/init.d/network reload
3. again change /etc/config/wireless and set STA password key to the correct password
4. /etc/init.d/network reload, STA would never works again.

logread:

Tue Nov 23 19:53:49 2021 daemon.notice wpa_supplicant[1876]: wlan0: CTRL-EVENT-DISCONNECTED bssid=bc:1a:e4:3f:77:74 reason=3 locally_generated=1
Tue Nov 23 19:53:49 2021 daemon.err wpa_supplicant[1876]:  Failed to stop hostapd AP interfaces
Tue Nov 23 19:53:49 2021 daemon.err wpa_supplicant[1876]:  Failed to stop hostapd AP interfaces
Tue Nov 23 19:53:49 2021 daemon.notice wpa_supplicant[1876]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Tue Nov 23 19:53:54 2021 daemon.err wpa_supplicant[1876]: Line 8: Invalid passphrase length 0 (expected: 8..63) '"'.
Tue Nov 23 19:53:54 2021 daemon.err wpa_supplicant[1876]: Line 8: failed to parse psk '""'.
Tue Nov 23 19:53:54 2021 daemon.err wpa_supplicant[1876]: Line 11: failed to parse network block.
Tue Nov 23 19:53:54 2021 daemon.err wpa_supplicant[1876]: Failed to read or parse configuration '/var/run/wpa_supplicant-wlan0.conf'.
Tue Nov 23 19:53:54 2021 daemon.notice netifd: radio0 (7740): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process  path (/proc/exe)
Tue Nov 23 19:54:44 2021 daemon.notice wpa_supplicant[1876]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
Tue Nov 23 19:54:45 2021 daemon.notice wpa_supplicant[1876]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
Tue Nov 23 19:54:46 2021 daemon.notice wpa_supplicant[1876]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
Tue Nov 23 19:54:48 2021 daemon.notice wpa_supplicant[1876]: wlan0: SME: Trying to authenticate with bc:1a:e4:3f:77:74 (SSID='HUAWEI-E101QX' freq=2462 MHz)
Tue Nov 23 19:54:48 2021 daemon.notice wpa_supplicant[1876]: wlan0: SME: Authentication request to the driver failed
Tue Nov 23 19:54:49 2021 daemon.notice wpa_supplicant[1876]: wlan0: SME: Trying to authenticate with bc:1a:e4:3f:77:74 (SSID='HUAWEI-E101QX' freq=2462 MHz)
Tue Nov 23 19:54:49 2021 daemon.notice wpa_supplicant[1876]: wlan0: Trying to associate with bc:1a:e4:3f:77:74 (SSID='HUAWEI-E101QX' freq=2462 MHz)
Tue Nov 23 19:54:50 2021 daemon.notice wpa_supplicant[1876]: wlan0: Associated with bc:1a:e4:3f:77:74
Tue Nov 23 19:54:50 2021 daemon.notice wpa_supplicant[1876]: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Tue Nov 23 19:54:50 2021 daemon.notice wpa_supplicant[1876]: wlan0: Unknown event 37
Tue Nov 23 19:54:50 2021 daemon.notice wpa_supplicant[1876]: wlan0: WPA: Key negotiation completed with bc:1a:e4:3f:77:74 [PTK=CCMP GTK=CCMP]
Tue Nov 23 19:54:50 2021 daemon.notice wpa_supplicant[1876]: wlan0: CTRL-EVENT-CONNECTED - Connection to bc:1a:e4:3f:77:74 completed [id=0 id_str=]
Tue Nov 23 19:54:51 2021 daemon.notice wpa_supplicant[1876]: wlan0: Unknown event 37
Tue Nov 23 20:00:58 2021 daemon.notice wpa_supplicant[1876]: CTRL_IFACE: Detach monitor that cannot receive messages: /var/run/iwinfo-wlan0-1581\x00
Tue Nov 23 20:03:17 2021 daemon.notice wpa_supplicant[1876]: CTRL_IFACE: Detach monitor that cannot receive messages: /var/run/iwinfo-wlan0-1581\x00
Tue Nov 23 20:06:48 2021 daemon.notice wpa_supplicant[1876]: CTRL_IFACE: Detach monitor that cannot receive messages: /var/run/iwinfo-wlan0-10082\x00
23.11.20214152Base systemBug ReportVery LowLowap + sta wpa_supplicant fail to connect if wrong configTrunkUnconfirmed Task Description

1. setup wireless AP + STA, and STA connect ok
2. change /etc/config/wireless and set the STA password key to '' then /etc/init.d/network reload
3. again change /etc/config/wireless and set STA password key to the correct password
4. /etc/init.d/network reload, STA would never works again.

logread:

Tue Nov 23 19:53:49 2021 daemon.notice wpa_supplicant[1876]: wlan0: CTRL-EVENT-DISCONNECTED bssid=bc:1a:e4:3f:77:74 reason=3 locally_generated=1
Tue Nov 23 19:53:49 2021 daemon.err wpa_supplicant[1876]:  Failed to stop hostapd AP interfaces
Tue Nov 23 19:53:49 2021 daemon.err wpa_supplicant[1876]:  Failed to stop hostapd AP interfaces
Tue Nov 23 19:53:49 2021 daemon.notice wpa_supplicant[1876]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Tue Nov 23 19:53:54 2021 daemon.err wpa_supplicant[1876]: Line 8: Invalid passphrase length 0 (expected: 8..63) '"'.
Tue Nov 23 19:53:54 2021 daemon.err wpa_supplicant[1876]: Line 8: failed to parse psk '""'.
Tue Nov 23 19:53:54 2021 daemon.err wpa_supplicant[1876]: Line 11: failed to parse network block.
Tue Nov 23 19:53:54 2021 daemon.err wpa_supplicant[1876]: Failed to read or parse configuration '/var/run/wpa_supplicant-wlan0.conf'.
Tue Nov 23 19:53:54 2021 daemon.notice netifd: radio0 (7740): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process  path (/proc/exe)
Tue Nov 23 19:54:44 2021 daemon.notice wpa_supplicant[1876]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
Tue Nov 23 19:54:45 2021 daemon.notice wpa_supplicant[1876]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
Tue Nov 23 19:54:46 2021 daemon.notice wpa_supplicant[1876]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
Tue Nov 23 19:54:48 2021 daemon.notice wpa_supplicant[1876]: wlan0: SME: Trying to authenticate with bc:1a:e4:3f:77:74 (SSID='HUAWEI-E101QX' freq=2462 MHz)
Tue Nov 23 19:54:48 2021 daemon.notice wpa_supplicant[1876]: wlan0: SME: Authentication request to the driver failed
Tue Nov 23 19:54:49 2021 daemon.notice wpa_supplicant[1876]: wlan0: SME: Trying to authenticate with bc:1a:e4:3f:77:74 (SSID='HUAWEI-E101QX' freq=2462 MHz)
Tue Nov 23 19:54:49 2021 daemon.notice wpa_supplicant[1876]: wlan0: Trying to associate with bc:1a:e4:3f:77:74 (SSID='HUAWEI-E101QX' freq=2462 MHz)
Tue Nov 23 19:54:50 2021 daemon.notice wpa_supplicant[1876]: wlan0: Associated with bc:1a:e4:3f:77:74
Tue Nov 23 19:54:50 2021 daemon.notice wpa_supplicant[1876]: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Tue Nov 23 19:54:50 2021 daemon.notice wpa_supplicant[1876]: wlan0: Unknown event 37
Tue Nov 23 19:54:50 2021 daemon.notice wpa_supplicant[1876]: wlan0: WPA: Key negotiation completed with bc:1a:e4:3f:77:74 [PTK=CCMP GTK=CCMP]
Tue Nov 23 19:54:50 2021 daemon.notice wpa_supplicant[1876]: wlan0: CTRL-EVENT-CONNECTED - Connection to bc:1a:e4:3f:77:74 completed [id=0 id_str=]
Tue Nov 23 19:54:51 2021 daemon.notice wpa_supplicant[1876]: wlan0: Unknown event 37
Tue Nov 23 20:00:58 2021 daemon.notice wpa_supplicant[1876]: CTRL_IFACE: Detach monitor that cannot receive messages: /var/run/iwinfo-wlan0-1581\x00
Tue Nov 23 20:03:17 2021 daemon.notice wpa_supplicant[1876]: CTRL_IFACE: Detach monitor that cannot receive messages: /var/run/iwinfo-wlan0-1581\x00
Tue Nov 23 20:06:48 2021 daemon.notice wpa_supplicant[1876]: CTRL_IFACE: Detach monitor that cannot receive messages: /var/run/iwinfo-wlan0-10082\x00
22.11.20214150Base systemBug ReportVery LowLow./script/feeds does not return error on failureTrunkUnconfirmed Task Description

Hello,

Script feeds always returns 0, no matter if it did what it was asked to or not

$ ./scripts/feeds install foobar && echo ok || echo err
WARNING: No feed for package 'foobar' found
ok


22.11.20214149ToolchainBug ReportVery LowHighbinutils: unable to build toolchain with v2.37TrunkUnconfirmed Task Description

Summary: Building from master for ipq806x or for ramips targets on Arch Linux results getting a fatal error building the toolchain occurring on binutils. The bug has been reported and confirmed by other users. Additionally, it has been reported against binutils upstream.

Here is a sample output trying to build on my machine.

Proposed action: Revert this commit to binutils updating it from 2.35.2 to 2.37 until the issue is fixed. Doing this restores functionality.

21.11.20214145PackagesBug ReportVery LowLowopkg full disk corrupts installed package listTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: x86 ext4-combined compiled with glib2
- opkg version 2021-06-13-1bf042dd-1
- Steps to reproduce

 1. Boot a fresh install of x86 without growing the image to a reasonable size.
 2. Attempt to run `opkg update && opkg install gst1-plugins-{bad,good,ugly}`
 3. Run `opkg list-installed | grep kernel` and note the empty result.

Any future attempts to install kmods will cause dependency errors because the kernel package will no longer show up in the installed package list.

I assume this is because opkg attempts to re-write the package list to disk and fails midway through due to a full disk.

21.11.20214144Base systemBug ReportVery LowLowRaspberry Pi Zero W | wifi adhoc not working with HT20 ...TrunkUnconfirmed Task Description

Just for documenting the issue for others:

tested with r18155 (2021-nov-21) the wifi interface
does not come up in adhoc mode when HT20 is enabled.

uci set wireless.radio0.htmode=HT20
wifi
⇒ not working

uci del wireless.radio0.htmode
wifi
⇒ OK/working

The relevent log collected with /lib/netifd/wireless/mac80211.sh
is here, it fails at the last ‘iw’ call:

rc:244 | iw dev wlan0 del
command failed: No error information (-524)
rc:0 | iw phy0 info
rc:0 | iw reg get
rc:0 | iw reg set US
rc:161 | iw phy phy0 set antenna 0xffffffff 0xffffffff
command failed: Not supported (-95)
rc:161 | iw phy phy0 set antenna_gain 0
command failed: Not supported (-95)
rc:251 | iw phy phy0 set distance 0
command failed: I/O error (-5)
rc:251 | iw phy phy0 set txpower fixed 2300
command failed: I/O error (-5)
rc:233 | iw phy phy0 interface add wlan0 type adhoc
command failed: Too many open files in system (-23)
rc:233 | iw phy phy0 interface add wlan0 type adhoc
command failed: Too many open files in system (-23)
rc:0 | iw dev wlan0 info
rc:244 | iw dev wlan0 del
command failed: No error information (-524)
rc:0 | iw dev wlan0 set type ibss
rc:234 | iw dev wlan0 ibss join ffintern.2GHz 2432 HT20 fixed-freq 02:ca:ff:ee:ba:be beacon-interval 250 mcast-rate 6
command failed: Invalid argument (-22)

without HT20 mode enabled:

[...]
rc:0 | iw dev wlan0 set type ibss
rc:0 | iw dev wlan0 ibss join ffintern.2GHz 2432 fixed-freq 02:ca:ff:ee:ba:be beacon-interval 250 mcast-rate 6

removing mcast-rate or beacon-interval does not change the behavior.

17.11.20214140PackagesBug ReportVery LowMediumumdns does not respect legacy queries (not from port 53...TrunkUnconfirmed Task Description

According to Section 6.7 of the RFC, if the query was sent not from port 5353, the responder MUST respond over unicast and, most importantly, to the same port that the query was sent from.

This is what currently prevents

dig -p 5353 @224.0.0.251 <hostname>

from working, since dig is expecting the response on the random port it sent its query from, but umdns, contrary to the specifiation, always sends to port 5353.

17.11.20214139PackagesBug ReportVery LowLowiwlwifi: Microcode SW error detected.TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

X64 Proxmox (qemu) VM

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

Linux OpenWrt 5.4.154 #0 SMP Sun Oct 24 09:01:35 2021 x86_64 GNU/Linux
OpenWrt 21.02.1, r16325-88151b8303
kmod-iwlwifi - 5.4.154+5.10.68-1-1
iwlwifi-firmware-iwl8260c - 20201118-3

- Steps to reproduce

Have configured both AP and STA yesterday. This worked for several hours since, but crashed overnight.

[18211.488837] iwlwifi 0000:00:10.0: Queue 10 is active on fifo 1 and stuck for 10000 ms. SW [119, 54] HW [119, 54] FH TRB=0x0c011107a
[18211.493968] iwlwifi 0000:00:10.0: Microcode SW error detected.  Restarting 0x2000000.
[18211.496629] iwlwifi 0000:00:10.0: Start IWL Error Log Dump:
[18211.498455] iwlwifi 0000:00:10.0: Status: 0x00000040, count: 6
[18211.500301] iwlwifi 0000:00:10.0: Loaded firmware version: 36.ad812ee0.0 8000C-36.ucode
[18211.502497] iwlwifi 0000:00:10.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN
[18211.504528] iwlwifi 0000:00:10.0: 0x000000E3 | trm_hw_status0
[18211.507031] iwlwifi 0000:00:10.0: 0x00000000 | trm_hw_status1
[18211.509576] iwlwifi 0000:00:10.0: 0x0002438C | branchlink2
[18211.511743] iwlwifi 0000:00:10.0: 0x00039C06 | interruptlink1
[18211.514053] iwlwifi 0000:00:10.0: 0x00004B86 | interruptlink2
[18211.516209] iwlwifi 0000:00:10.0: 0x00000000 | data1
[18211.518231] iwlwifi 0000:00:10.0: 0x00000080 | data2
[18211.519939] iwlwifi 0000:00:10.0: 0x07830000 | data3
[18211.521507] iwlwifi 0000:00:10.0: 0x26404625 | beacon time
[18211.523079] iwlwifi 0000:00:10.0: 0xE8E669DE | tsf low
[18211.524473] iwlwifi 0000:00:10.0: 0x0000000C | tsf hi
[18211.525970] iwlwifi 0000:00:10.0: 0x00000000 | time gp1
[18211.527540] iwlwifi 0000:00:10.0: 0xEF89D2A4 | time gp2
[18211.528932] iwlwifi 0000:00:10.0: 0x00000001 | uCode revision type
[18211.530420] iwlwifi 0000:00:10.0: 0x00000024 | uCode version major
[18211.532032] iwlwifi 0000:00:10.0: 0xAD812EE0 | uCode version minor
[18211.533568] iwlwifi 0000:00:10.0: 0x00000201 | hw version
[18211.534925] iwlwifi 0000:00:10.0: 0x00489008 | board version
[18211.536486] iwlwifi 0000:00:10.0: 0x116B001C | hcmd
[18211.537928] iwlwifi 0000:00:10.0: 0x02E62002 | isr0
[18211.539310] iwlwifi 0000:00:10.0: 0x01800000 | isr1
[18211.540638] iwlwifi 0000:00:10.0: 0x08001812 | isr2
[18211.541981] iwlwifi 0000:00:10.0: 0x0041F480 | isr3
[18211.543396] iwlwifi 0000:00:10.0: 0x00000000 | isr4
[18211.544817] iwlwifi 0000:00:10.0: 0x116A001C | last cmd Id
[18211.546303] iwlwifi 0000:00:10.0: 0x00000000 | wait_event
[18211.547699] iwlwifi 0000:00:10.0: 0x00004988 | l2p_control
[18211.549094] iwlwifi 0000:00:10.0: 0x00009C20 | l2p_duration
[18211.550572] iwlwifi 0000:00:10.0: 0x000003BF | l2p_mhvalid
[18211.552072] iwlwifi 0000:00:10.0: 0x00009110 | l2p_addr_match
[18211.553549] iwlwifi 0000:00:10.0: 0x0000001D | lmpm_pmg_sel
[18211.554872] iwlwifi 0000:00:10.0: 0x14100651 | timestamp
[18211.556213] iwlwifi 0000:00:10.0: 0x00340828 | flow_handler
[18211.557650] iwlwifi 0000:00:10.0: Start IWL Error Log Dump:
[18211.558952] iwlwifi 0000:00:10.0: Status: 0x00000040, count: 7
[18211.560317] iwlwifi 0000:00:10.0: 0x00000070 | NMI_INTERRUPT_LMAC_FATAL
[18211.561882] iwlwifi 0000:00:10.0: 0x00000000 | umac branchlink1
[18211.563291] iwlwifi 0000:00:10.0: 0xC0086B3C | umac branchlink2
[18211.564775] iwlwifi 0000:00:10.0: 0xC0083D08 | umac interruptlink1
[18211.566262] iwlwifi 0000:00:10.0: 0xC0083D08 | umac interruptlink2
[18211.567754] iwlwifi 0000:00:10.0: 0x00000800 | umac data1
[18211.569116] iwlwifi 0000:00:10.0: 0xC0083D08 | umac data2
[18211.570374] iwlwifi 0000:00:10.0: 0xDEADBEEF | umac data3
[18211.571608] iwlwifi 0000:00:10.0: 0x00000024 | umac major
[18211.572920] iwlwifi 0000:00:10.0: 0xAD812EE0 | umac minor
[18211.574126] iwlwifi 0000:00:10.0: 0xC088628C | frame pointer
[18211.575451] iwlwifi 0000:00:10.0: 0xC088628C | stack pointer
[18211.576629] iwlwifi 0000:00:10.0: 0x00CD014E | last host cmd
[18211.577767] iwlwifi 0000:00:10.0: 0x00000000 | isr status reg
[18211.578979] iwlwifi 0000:00:10.0: Fseq Registers:
[18211.580105] iwlwifi 0000:00:10.0: 0xA349E85B | FSEQ_ERROR_CODE
[18211.581237] iwlwifi 0000:00:10.0: 0xE1EAA921 | FSEQ_TOP_INIT_VERSION
[18211.582405] iwlwifi 0000:00:10.0: 0x6F978347 | FSEQ_CNVIO_INIT_VERSION
[18211.583702] iwlwifi 0000:00:10.0: 0x0000A056 | FSEQ_OTP_VERSION
[18211.585072] iwlwifi 0000:00:10.0: 0x2602412E | FSEQ_TOP_CONTENT_VERSION
[18211.586554] iwlwifi 0000:00:10.0: 0x7660E6DE | FSEQ_ALIVE_TOKEN
[18211.588094] iwlwifi 0000:00:10.0: 0xC1001788 | FSEQ_CNVI_ID
[18211.589535] iwlwifi 0000:00:10.0: 0xBEB2DE9C | FSEQ_CNVR_ID
[18211.590793] iwlwifi 0000:00:10.0: 0x03000000 | CNVI_AUX_MISC_CHIP
[18211.592088] iwlwifi 0000:00:10.0: 0x0BADCAFE | CNVR_AUX_MISC_CHIP
[18211.593408] iwlwifi 0000:00:10.0: 0x0BADCAFE | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[18211.595082] iwlwifi 0000:00:10.0: 0x0BADCAFE | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[18211.596946] iwlwifi 0000:00:10.0: Collecting data: trigger 2 fired.
[18211.598413] ieee80211 phy0: Hardware restart was requested
[18212.159886] iwlwifi 0000:00:10.0: Failed updating beacon data
[18212.161346] iwlwifi 0000:00:10.0: Failed to send MAC context (action:2): -5
[18212.162815] iwlwifi 0000:00:10.0: failed to update MAC f4:8c:50:93:28:4a
 


14.11.20214137Base systemBug ReportVery LowLowOpenWRT 21.02.1 doesn't completely boot on RaidSonic IB...TrunkUnconfirmed Task Description

Device: RaidSonic IB-NAS4220-B
OpenWRT version: 21.02.1

Problem:

When OpenWRT 21.02.1 is flashed to the RaidSonic IB-NAS4220-B by using the following file...
https://downloads.openwrt.org/releases/21.02.1/targets/gemini/generic/openwrt-21.02.1-gemini-raidsonic_ib-4220-b-squashfs-factory.bin

It results in a system which will not boot and hangs on...

[    7.047812] Waiting for root device /dev/mtdblock3...

Steps to reproduce:

Once you’ve extracted the .bin file (linked to above... which is actually a .tar.gz in disguise)... you’ll have files zImage, rd.gz and hddapp.tgz which you can put on a TFTP server so that the boot loader can access them.

e.g. on my Linux desktop, I might download, extract and host those files via a temporary TFTP server (using dnsmasq)...

mkdir ~/owrt-tftp
cd ~/owrt-tftp
wget -O- https://downloads.openwrt.org/releases/21.02.1/targets/gemini/generic/openwrt-21.02.1-gemini-raidsonic_ib-4220-b-squashfs-factory.bin | tar -zx
sudo dnsmasq -i enx001060b1d868 –enable-tftp –tftp-root=”$(pwd)” -d -p0

Then via serial this is how flashing it and booting it went...

Storlink SL351x Boot Loader [Linux], version 1.0.9
Built by linux, 17:27:04, Dec 19 2007

Processor: SL3516c2
CPU Rate: 300000000
AHB Bus Clock:150MHz    Ratio:2/1
MAC 1 Address: 00:01:D2:07:0D:BD
MAC 2 Address: 00:50:C2:2B:D0:02
inet addr: 192.168.0.200/255.255.255.0
==> enter ^C to abort booting within 3 seconds ...... 
PHY 0 Addr 1 Vendor ID: 0x01410e11
mii_write: phy_addr=0x1 reg_addr=0x4 value=0x5e1 
mii_write: phy_addr=0x1 reg_addr=0x9 value=0x300 
mii_write: phy_addr=0x1 reg_addr=0x0 value=0x1200 
mii_write: phy_addr=0x1 reg_addr=0x0 value=0x9200 
mii_write: phy_addr=0x1 reg_addr=0x0 value=0x1200 

                              Boot Menu
==============================================================================
0: Reboot                                   1: Start the Kernel Code
2: List Image                               3: Delete Image
4: Create New Image                         5: Enter Command Line Interface
6: Set IP Address                           7: Set MAC Address
8: Show Configuration                       F: Create Default FIS
X: Upgrade Boot                             Y: Upgrade Kernel
Z: Upgrade Firmware                         A: Upgrade Application
R: Upgrade RAM Disk                         

=> Select: 8

Processor: SL3516c2
CPU Rate: 300000000
AHB Bus Clock:150MHz    Ratio:2/1
MAC 1 Address: 00:01:D2:07:0D:BD
MAC 2 Address: 00:50:C2:2B:D0:02
inet addr: 192.168.0.200/255.255.255.0

                              Boot Menu
==============================================================================
0: Reboot                                   1: Start the Kernel Code
2: List Image                               3: Delete Image
4: Create New Image                         5: Enter Command Line Interface
6: Set IP Address                           7: Set MAC Address
8: Show Configuration                       F: Create Default FIS
X: Upgrade Boot                             Y: Upgrade Kernel
Z: Upgrade Firmware                         A: Upgrade Application
R: Upgrade RAM Disk                         

=> Select: Y



1  : Download by X-modem
2  : Download by TFTP
ESC: Return 
==> 2
TFTP Server IP Address: 192.168.0.66
Image Path and name(e.g. /images/zImage): zImage
TFTP Download zImage from 192.168.0.66 .....................

Successful to download by TFTP! Size=2097152

Do not power-off this device while flash programming is proceeding!!
==> enter ^C to abort program flash 0x30020000 within 3 seconds ...... 

Erase flash (0x30020000): Size=3145728 ........................ OK!
Program flash (0x30020000): Size=2097152 ................ OK!

Start Update FIS data......
Erase flash (0x30fe0000): Size=131072 . OK!
Program flash (0x30fe0000): Size=5120 . OK!
Successful to upgrade (0x30020000)!

                              Boot Menu
==============================================================================
0: Reboot                                   1: Start the Kernel Code
2: List Image                               3: Delete Image
4: Create New Image                         5: Enter Command Line Interface
6: Set IP Address                           7: Set MAC Address
8: Show Configuration                       F: Create Default FIS
X: Upgrade Boot                             Y: Upgrade Kernel
Z: Upgrade Firmware                         A: Upgrade Application
R: Upgrade RAM Disk                         

=> Select: A



1  : Download by X-modem
2  : Download by TFTP
ESC: Return 
==> 2
TFTP Server IP Address: 192.168.0.66
Image Path and name(e.g. /hddapp.tgz): hddapp.tgz
TFTP Download hddapp.tgz from 192.168.0.66 .......................................................

Successful to download by TFTP! Size=6291456

Do not power-off this device while flash programming is proceeding!!
==> enter ^C to abort program flash 0x30920000 within 3 seconds ...... 

Erase flash (0x30920000): Size=6291456 ................................................ OK!
Program flash (0x30920000): Size=6291456 ................................................ OK!

Start Update FIS data......
Erase flash (0x30fe0000): Size=131072 . OK!
Program flash (0x30fe0000): Size=5120 . OK!
Successful to upgrade (0x30920000)!

                              Boot Menu
==============================================================================
0: Reboot                                   1: Start the Kernel Code
2: List Image                               3: Delete Image
4: Create New Image                         5: Enter Command Line Interface
6: Set IP Address                           7: Set MAC Address
8: Show Configuration                       F: Create Default FIS
X: Upgrade Boot                             Y: Upgrade Kernel
Z: Upgrade Firmware                         A: Upgrade Application
R: Upgrade RAM Disk                         

=> Select: R



1  : Download by X-modem
2  : Download by TFTP
ESC: Return 
==> 2
TFTP Server IP Address: 192.168.0.66
Image Path and name(e.g. /images/zImage): rd.gz
TFTP Download rd.gz from 192.168.0.66 ...........

Successful to download by TFTP! Size=955102

Do not power-off this device while flash programming is proceeding!!
==> enter ^C to abort program flash 0x30320000 within 3 seconds ...... 

Erase flash (0x30320000): Size=6291456 ................................................ OK!
Program flash (0x30320000): Size=955102 ........ OK!

Start Update FIS data......
Erase flash (0x30fe0000): Size=131072 . OK!
Program flash (0x30fe0000): Size=5120 . OK!
Successful to upgrade (0x30320000)!

                              Boot Menu
==============================================================================
0: Reboot                                   1: Start the Kernel Code
2: List Image                               3: Delete Image
4: Create New Image                         5: Enter Command Line Interface
6: Set IP Address                           7: Set MAC Address
8: Show Configuration                       F: Create Default FIS
X: Upgrade Boot                             Y: Upgrade Kernel
Z: Upgrade Firmware                         A: Upgrade Application
R: Upgrade RAM Disk                         

=> Select: 0

Reboot system...

Failed to change IP address due to illegal value
Failed to change IP Gateway due to illegal value




Storlink SL351x Boot Loader [Linux], version 1.0.9
Built by linux, 17:27:04, Dec 19 2007

Processor: SL3516c2
CPU Rate: 300000000
AHB Bus Clock:150MHz    Ratio:2/1
MAC 1 Address: 00:01:D2:07:0D:BD
MAC 2 Address: 00:50:C2:2B:D0:02
inet addr: 192.168.0.200/255.255.255.0
==> enter ^C to abort booting within 3 seconds ...... 
Load Kern image from 0x30020000 to 0x1600000 size 2097152
Load Ramdisk image from 0x30320000 to 0x800000 size 955102
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.154 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16325-88151b8303)) #0 PREEMPT Sun Oct 24 09:01:35 2021
[    0.000000] CPU: FA526 [66015261] revision 1 (ARMv4), cr=0000397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Raidsonic NAS IB-4220-B
[    0.000000] Memory policy: Data cache writeback
[    0.000000] cma: Reserved 16 MiB at 0x07000000
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,19200n8 root=/dev/mtdblock3 rw rootfstype=squashfs,jffs2 rootwait
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 103620K/131072K available (6060K kernel code, 217K rwdata, 1644K rodata, 1024K init, 238K bss, 11068K reserved, 16384K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x29c/0x498 with crng_init=0
[    0.000000] clocksource: FTTMR010-TIMER2: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000029] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.000127] Switching to timer-based delay loop, resolution 40ns
[    0.000761] Console: colour dummy device 80x30
[    0.000918] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.000981] pid_max: default: 32768 minimum: 301
[    0.001859] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001950] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.005045] CPU: Testing write buffer coherency: ok
[    0.009061] Setting up static identity map for 0x100000 - 0x100048
[    0.009648] rcu: Hierarchical SRCU implementation.
[    0.022636] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.022712] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.026641] pinctrl core: initialized pinctrl subsystem
[    0.033627] NET: Registered protocol family 16
[    0.041654] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.053778] No ATAGs?
[    0.064247] pinctrl-gemini 40000000.syscon:pinctrl: detected 3516 chip variant
[    0.064320] pinctrl-gemini 40000000.syscon:pinctrl: GLOBAL MISC CTRL at boot: 0x83c22037
[    0.064367] pinctrl-gemini 40000000.syscon:pinctrl: flash pin is set
[    0.065952] pinctrl-gemini 40000000.syscon:pinctrl: initialized Gemini pin control driver
[    0.257678] pl08xdmac 67000000.dma-controller: FTDMAC020 1.16 rel 1
[    0.257740] pl08xdmac 67000000.dma-controller: FTDMAC020 4 channels, has built-in bridge, AHB0 and AHB1, supports linked lists
[    0.258001] pl08xdmac 67000000.dma-controller: initialized 4 virtual memcpy channels
[    0.259615] pl08xdmac 67000000.dma-controller: DMA: PL080 rev0 at 0x67000000 irq 28
[    0.260081] Gemini SoC 3516 revision c2, set arbitration 00200030
[    0.268005] vgaarb: loaded
[    0.271989] SCSI subsystem initialized
[    0.287129] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.293429] clocksource: Switched to clocksource FTTMR010-TIMER2
[    0.384678] thermal_sys: Registered thermal governor 'step_wise'
[    0.385986] NET: Registered protocol family 2
[    0.386509] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.389778] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.389942] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.390045] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.390127] TCP: Hash tables configured (established 1024 bind 1024)
[    0.390624] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.390738] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.391643] NET: Registered protocol family 1
[    0.391784] PCI: CLS 0 bytes, default 32
[    0.400259] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.513343] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.513390] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.699187] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.699929] io scheduler mq-deadline registered
[    0.699976] io scheduler kyber registered
[    0.706151] ftgpio010-gpio 4d000000.gpio: FTGPIO010 @(ptrval) registered
[    0.711817] ftgpio010-gpio 4e000000.gpio: FTGPIO010 @(ptrval) registered
[    0.714713] ftgpio010-gpio 4f000000.gpio: FTGPIO010 @(ptrval) registered
[    0.724974] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.753268] printk: console [ttyS0] disabled
[    0.754208] 42000000.serial: ttyS0 at MMIO 0x42000000 (irq = 18, base_baud = 3000000) is a 16550A
[    3.632841] printk: console [ttyS0] enabled
[    3.665802] Loading iSCSI transport class v2.0-870.
[    3.704501] gemini_sata_bridge 46000000.sata: SATA ID 00000e00, PHY ID: 01000100
[    3.750173] gemini_sata_bridge 46000000.sata: set up the Gemini IDE/SATA nexus
[    3.795569] pata_ftide010 63000000.ide: set up Gemini PATA0
[    3.830157] pata_ftide010 63000000.ide: device ID 00000500, irq 26, reg [mem 0x63000000-0x63000fff]
[    3.885078] pata_ftide010 63000000.ide: SATA0 (master) start
[    4.093523] gemini_sata_bridge 46000000.sata: SATA0 PHY ready
[    4.128025] pata_ftide010 63000000.ide: brought 1 bridges online
[    4.170153] scsi host0: pata_ftide010
[    4.195220] ata1: SATA max UDMA/133 irq 26
[    4.222317] pata_ftide010 63400000.ide: set up Gemini PATA1
[    4.256481] pata_ftide010 63400000.ide: device ID 00000500, irq 27, reg [mem 0x63400000-0x63400fff]
[    4.311250] pata_ftide010 63400000.ide: SATA1 (master) start
[    4.429812] ata1.00: HPA detected: current 976771055, native 976773168
[    4.469031] ata1.00: ATA-8: WDC WD5000AAJS-22YFA0, 12.01C02, max UDMA/133
[    4.509766] ata1.00: 976771055 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    4.549510] gemini_sata_bridge 46000000.sata: SATA1 PHY ready
[    4.584596] pata_ftide010 63400000.ide: brought 1 bridges online
[    4.623998] scsi 0:0:0:0: Direct-Access     ATA      WDC WD5000AAJS-2 1C02 PQ: 0 ANSI: 5
[    4.677790] scsi host1: pata_ftide010
[    4.701723] ata2: SATA max UDMA/133 irq 27
[    4.733205] sd 0:0:0:0: [sda] 976771055 512-byte logical blocks: (500 GB/466 GiB)
[    4.782402] physmap-flash 30000000.flash: no enabled pin control state
[    4.825925] physmap-flash 30000000.flash: no disabled pin control state
[    4.866174] sd 0:0:0:0: [sda] Write Protect is off
[    4.895772] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.950469] physmap-flash 30000000.flash: initialized Gemini-specific physmap control
[    5.022102] physmap-flash 30000000.flash: physmap platform flash device: [mem 0x30000000-0x30ffffff]
[    5.079830] ata2.00: HPA detected: current 976771055, native 976773168
[    5.121754] 30000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
[    5.183973] sd 0:0:0:0: [sda] Attached SCSI disk
[    5.213017] ata2.00: ATA-7: SAMSUNG HD502IJ, 1AA01113, max UDMA7
[    5.249280] Amd/Fujitsu Extended Query Table at 0x0040
[    5.280265] ata2.00: 976771055 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    5.320148]   Amd/Fujitsu Extended Query version 1.3.
[    5.351156] number of CFI chips: 1
[    5.373939] scsi 1:0:0:0: Direct-Access     ATA      SAMSUNG HD502IJ  1113 PQ: 0 ANSI: 5
[    5.427677] Searching for RedBoot partition table in 30000000.flash at offset 0x0
[    5.479262] sd 1:0:0:0: [sdb] 976771055 512-byte logical blocks: (500 GB/466 GiB)
[    5.548038] No RedBoot partition table detected in 30000000.flash
[    5.585180] sd 1:0:0:0: [sdb] Write Protect is off
[    5.618553] Searching for RedBoot partition table in 30000000.flash at offset 0x0
[    5.664307] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.739093] No RedBoot partition table detected in 30000000.flash
[    5.800769] sd 1:0:0:0: [sdb] Attached SCSI disk
[    5.831336] mdio-gpio mdio: failed to get alias id
[    5.862316] libphy: GPIO Bitbanged MDIO: probed
[    5.889523] random: fast init done
[    5.916359] libphy: Fixed MDIO Bus: probed
[    5.988044] gmac-gemini 60000000.ethernet: Ethernet device ID: 0x000, revision 0x1
[    6.035869] gemini-ethernet-port 60008000.ethernet-port: probe 60008000.ethernet-port ID 0
[    6.087301] gemini-ethernet-port 60008000.ethernet-port: using a random ethernet address
[    6.139202] gemini-ethernet-port 60008000.ethernet-port eth0: irq 31, DMA @ 0x0x60008000, GMAC @ 0x0x6000a000
[    6.293890] Marvell 88E1118 gpio-0:01: attached PHY driver [Marvell 88E1118] (mii_bus:phy_addr=gpio-0:01, irq=POLL)
[    6.358786] gemini-ethernet-port 6000c000.ethernet-port: probe 6000c000.ethernet-port ID 1
[    6.410065] gemini-ethernet-port 6000c000.ethernet-port: using a random ethernet address
[    6.461878] gemini-ethernet-port 6000c000.ethernet-port eth1: irq 32, DMA @ 0x0x6000c000, GMAC @ 0x0x6000e000
[    6.522095] gemini-ethernet-port 6000c000.ethernet-port eth1: PHY init failed, deferring to ifup time
[    6.582733] rtc-ftrtc010 45000000.rtc: registered as rtc0
[    6.619257] gemini-poweroff 4b000000.power-controller: Gemini poweroff driver registered
[    6.731823] ftwdt010-wdt 41000000.watchdog: FTWDT010 watchdog driver enabled
[    6.785919] NET: Registered protocol family 10
[    6.818572] Segment Routing with IPv6
[    6.841325] NET: Registered protocol family 17
[    6.868323] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    6.946599] 8021q: 802.1Q VLAN Support v1.8
[    6.983395] rtc-ftrtc010 45000000.rtc: setting system clock to 2019-11-08T09:18:18 UTC (1573204698)
[    7.039504] Waiting for root device /dev/mtdblock3...

Some seconds later you’ll also get...

[  124.733643] random: crng init done

But ultimately I think it’s still waiting on that ‘Waiting for root device’ message.

Additionally I also went back to the original firmware that this device came with (flashing it via the same method as above)... this worked (I also made a RAID 1 from the two disks this NAS has, formatted them... just to see if it would make a difference). Then I tried to flash the 21.02.1 .bin file again, but this time via the original firmware’s own upgrade web page... which flashed it perfectly fine. But I could see via serial that booting up got stuck at the same point.

I’m about to try the ext4 version of that .bin file (which is oddly named .bin.gz... lovely consistency!) and see if I get the same problem.

Any tips most welcome... but this file just doesn’t work.

09.11.20214134Base systemBug ReportVery LowLowKernel warning in mac80211/rate.cTrunkUnconfirmed Task Description

- Device problem occurs on
Netgear WNDR3800

- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt 21.02.1 r16325-88151b8303

- Steps to reproduce
Unknown

[687920.680709] ------------[ cut here ]------------
[687920.685494] WARNING: CPU: 0 PID: 0 at backports-5.10.68-1/net/mac80211/rate.c:677 0x8769e700 [mac80211@1c74b09d+0x7cdb0]
[687920.696451] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath xt_state xt_nat xt_conntrack xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT pppox ppp_generic nf_nat nf_flow_table_hw nf_flow_table nf_conntrack mac80211 ipt_REJECT cfg80211 ath9k_pci_owl_loader xt_time xt_tcpudp xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG slhc nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 sit tunnel4 ip_tunnel ohci_platform ohci_hcd fsl_mph_dr_of ehci_platform ehci_fsl ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[687920.761828] CPU: 0 PID: 0 Comm: swapper Not tainted 5.4.154 #0
[687920.767735] Stack : 87700000 800b98ec 80660000 805fa498 00000000 00000000 00000000 00000000
[687920.776172]         00000000 00000000 00000000 00000000 00000000 00000001 87c0bc30 08119e6b
[687920.784607]         87c0bcc8 00000000 00000000 000000ff 00000038 8057ac04 352e342e 31353420
[687920.793048]         000000ff 9a3bffbc 00000000 73776170 00000000 87c0bc10 00000000 8769e700
[687920.801490]         00000009 876f6760 870501fc 80630000 00000002 8032041c 00000000 80790000
[687920.809926]         ...
[687920.812459] Call Trace:
[687920.812473] [<87700000>] 0x87700000 [ath9k_hw@e11bb2b5+0x55560]
[687920.820987] [<800b98ec>] 0x800b98ec
[687920.824561] [<80660000>] 0x80660000
[687920.828150] [<8057ac04>] 0x8057ac04
[687920.831738] [<8769e700>] 0x8769e700 [mac80211@1c74b09d+0x7cdb0]
[687920.837755] [<8032041c>] 0x8032041c
[687920.841339] [<87700000>] 0x87700000 [ath9k_hw@e11bb2b5+0x55560]
[687920.847337] [<80069364>] 0x80069364
[687920.850904] [<8006936c>] 0x8006936c
[687920.854482] [<800824f4>] 0x800824f4
[687920.858064] [<8769e700>] 0x8769e700 [mac80211@1c74b09d+0x7cdb0]
[687920.864058] [<8008259c>] 0x8008259c
[687920.867638] [<800bb0cc>] 0x800bb0cc
[687920.871216] [<8769e700>] 0x8769e700 [mac80211@1c74b09d+0x7cdb0]
[687920.877208] [<800bb120>] 0x800bb120
[687920.880776] [<800c3f10>] 0x800c3f10
[687920.884357] [<8766991c>] 0x8766991c [ath9k@c64b0025+0x19450]
[687920.890113] [<8766cc84>] 0x8766cc84 [ath9k@c64b0025+0x19450]
[687920.895853] [<800ba7e4>] 0x800ba7e4
[687920.899444] [<87664664>] 0x87664664 [ath9k@c64b0025+0x19450]
[687920.905177] [<802bfc1c>] 0x802bfc1c
[687920.908773] [<876b0d9c>] 0x876b0d9c [mac80211@1c74b09d+0x7cdb0]
[687920.914799] [<876b0ef0>] 0x876b0ef0 [mac80211@1c74b09d+0x7cdb0]
[687920.920811] [<876b8bf0>] 0x876b8bf0 [mac80211@1c74b09d+0x7cdb0]
[687920.926833] [<876ba838>] 0x876ba838 [mac80211@1c74b09d+0x7cdb0]
[687920.932836] [<803e1450>] 0x803e1450
[687920.936414] [<87664eb8>] 0x87664eb8 [ath9k@c64b0025+0x19450]
[687920.942149] [<80660000>] 0x80660000
[687920.945715] [<80660000>] 0x80660000
[687920.949284] [<80085380>] 0x80085380
[687920.952853] [<80580170>] 0x80580170
[687920.956419] [<800bf374>] 0x800bf374
[687920.959989] [<802bfc1c>] 0x802bfc1c
[687920.963564] [<80064f78>] 0x80064f78
[687920.967140] 
[687920.968707] ---[ end trace 297acf7eefa0c6ff ]---
09.11.20214131Base systemBug ReportVery LowLow21.02.1 squashfs overlay retained rpi4TrunkUnconfirmed Task Description

Upgrading from 21.02.0 to 21.02.1 leads to whacky opkg state where previous packages are listed

see:
https://forum.openwrt.org/t/rpi-4-sysupgrade-21-02-1-squashfs-overlay-retained/110586?u=wulfy23 for further information

 


08.11.20214129ToolchainBug ReportVery LowLowscripts/env: not working with differnet defaultBranch n...TrunkUnconfirmed Task Description

the tool scripts/env uses git to manage multiple configs and environments. unfortunately, it was created with the default branch name “master” in mind. this name is configurable for some time now, and the default also changed with newer versions now. The new default is “main”. this breaks the env script, which assumes master as first branch.

05.11.20214125Base systemBug ReportVery LowLowdnsmasq(-dhcpv6)TrunkUnconfirmed Task Description

dnsmasq can’t read the “Additional servers file” (from the “DHCP and DNS” “Advanced Settings” tab; dhcp.@dnsmasq[0].serversfile) because it isn’t added to jail mounts in the init script.

04.11.20214121Base systemBug ReportVery LowLowuhttpd: checked and used certificate are different in u...TrunkUnconfirmed Task Description

uhttpd init script checks different certificate files then it finally uses in some situations. This causes uhttpd fail to start.

In the init script, there are lines

config_get UHTTPD_KEY  "$cfg" key  /etc/uhttpd.key
config_get UHTTPD_CERT "$cfg" cert /etc/uhttpd.crt

Some checks are performed on UHTTPD_KEY and UHTTPD_CERT and later, there is

append_arg "$cfg" cert "-C"
append_arg "$cfg" key  "-K"

This can cause problem if key or cert option is missing. In the first place, defalt value is used and in the second place, empty string is used.

Deleting key and cert option and restarting uhttpd will pass all checks, new certificate and key will be generated in default location and later, empty certificate and key paths are passed to uhttpd which will fail.

I would like to send PR to fix this but I would like to ask for the best solution. Naive approach would be to just do

append_arg "$cfg" cert "-C" "$UHTTPD_CERT"
append_arg "$cfg" key  "-K" "$UHTTPD_KEY"

So it will fallback to already resolved values and at least don’t fail, if key and cert are both missing.

Unfortunately, this can cause other problems comes with LuCI, where there is easily possible to screw up the upload completely and for example delete the certificate option and keeping the key option.

In this example UHTTPD_KEY will contain new key and UHTTPD_CERT will contain unrelated old certificate, which is wrong and again uhttpd fail to start completely.

After reading the source code of the init script, it seems, that the default fallback values never worked, so it would be safe to do solution like this

config_get UHTTPD_KEY  "$cfg" key
config_get UHTTPD_CERT "$cfg" cert

This is also more robust to wrong configurations from LuCI because at least pure HTTP will be available in most cases.

Default values /etc/uhttpd.key and /etc/uhttpd.crt are still present in default uci config, so nothing should change for anybody and it will just be more robust to wrong configuration from LuCI.

04.11.20214120Base systemBuild FailureVery LowLowProblems compiling starting from trunk (or from openwr...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on Tp-link Archer C2600
- Software versions of OpenWrt from Trunk
- Steps to reproduce:

Download “master” from Git:
#git clone https://git.openwrt.org/openwrt/openwrt.git master
#cd master
#git pull
#./scripts/feeds update -a
#./scripts/feeds install -a
#make menuconfig
#make -j 1 V=s

- compilation stops very early with errors about Ninja and Meson

Tryed make clean, make dirclean, make distclean → same results.

ALL REPEATED 3 times!

then:

#git checkout v21.02.0
#git pull
#./scripts/feeds update -a
#./scripts/feeds install -a
#make menuconfig
#make -j 1 V=s

- I can see logs about ninja and meson compiling right
- compilation stops after long time with error about libcap

then:

#git checkout master
#git pull
#./scripts/feeds update -a
#./scripts/feeds install -a
#make menuconfig
#make -j 1 V=s

- compiling goes right

It seems impossible to compile master or 21.02 at fist time: may be something wrong in master make file about compiling ninja and meson packages so for 21.02 compiling libcap package?

 


03.11.20214119OtherBuild FailureVery LowLowring.gr.jp kernel mirror has an unexpected folder struc...TrunkUnconfirmed Task Description

For example the btrfs-progs package from the packages feed:

PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/linux/kernel/people/kdave/btrfs-progs

according to this rule in scripts/download.pl:

push @mirrors, "http://www.ring.gr.jp/archives/linux/kernel.org/$dir";

it gets modified to

http://www.ring.gr.jp/archives/linux/kernel.org/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v5.14.2.tar.xz

but it should be:

http://www.ring.gr.jp/archives/linux/kernel.org/kernel/people/kdave/btrfs-progs/btrfs-progs-v5.14.2.tar.xz

(without /linux) All other mirrors succeed in downloading the file, so we should either strip /linux from start of $dir for this mirror or just remove it.

02.11.20214118Base systemBug ReportVery LowLowlogread crashes sometimesTrunkUnconfirmed Task Description

logread is dying several times a day here.
This is with r17950 and at least ath79 and mpc85xx and ramips.

Tue Nov  2 17:12:05 2021 kern.info kernel: [ 3745.330244] do_page_fault(): sending SIGSEGV to logread for invalid write access to 00000000
Tue Nov  2 17:12:05 2021 kern.info kernel: [ 3745.338789] epc = 77de87ac in libc.so[77d60000+a5000]
Tue Nov  2 17:12:05 2021 kern.info kernel: [ 3745.343833] ra  = 004017b3 in logread[400000+3000]

for checking if the log-service is healthy, we do regularly:

ubus call network.device status
ubus call log read
logread >/dev/null

The last call has (when failing) always RC = 139 with above message in log.

Showing tasks 1 - 50 of 1427 Page 1 of 291 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing