Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#4171 - Multiple bridged, non-VLAN networks do not work on WRT1200AC/mvebu with DSA #7077

Open
openwrt-bot opened this issue Dec 2, 2021 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

openwrt-bot commented Dec 2, 2021

xyz:

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


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'
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'
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'
</code>

I also don't understand, why there are VLANs being created (according to `dmesg` output):
<code>
[   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
</code>

Here is a full `dmesg` output:
<code>
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
</code>

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!

@Berbe
Copy link

Berbe commented Jul 25, 2022

This needs to be tagged target/mvebu & release/21.02 for proper triage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants