AVM FritzBox 4040 loses lan ports after reboot with vlan

Hello,

I've installed OpenWrt 24.10.1 r28597-0425664679 on Fritzbox 4040. The installation went fine and also the configuration works. So I'm happy until i do a reboot. After the reboot the router gets in a state where the all LEDs are off, all lan ports are off and only the wan port is accessible. When I flash the box again and configure it again it works until I reboot. After some close out tests, I figured out I can reproduce it, by configuring a vlan on the lan ports. A vlan on the wan port survives a reboot.
The command 'uci show network' gives the following result:

root@OpenWrt:~# uci show network
network.loopback=interface
network.loopback.device='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='fdaf:d9d9:d625::/48'
network.globals.packet_steering='1'
network.@device[0]=device
network.@device[0].name='br-lan'
network.@device[0].type='bridge'
network.@device[0].stp='1'
network.@device[0].ports='eth0' 'lan1' 'lan2' 'lan3' 'lan4'
network.lan=interface
network.lan.device='br-lan'
network.lan.proto='static'
network.lan.ipaddr='192.168.1.1'
network.lan.netmask='255.255.255.0'
network.lan.ip6assign='60'
network.wan=interface
network.wan.device='wan.10'
network.wan.proto='dhcp'
network.wan6=interface
network.wan6.device='wan.10'
network.wan6.proto='dhcpv6'
network.wan6.reqaddress='try'
network.wan6.reqprefix='auto'
network.wan6.norelease='1'
network.@device[1]=device
network.@device[1].type='8021q'
network.@device[1].ifname='wan'
network.@device[1].vid='10'
network.@device[1].name='wan.10'
network.@bridge-vlan[0]=bridge-vlan
network.@bridge-vlan[0].device='br-lan'
network.@bridge-vlan[0].vlan='40'
network.@bridge-vlan[0].ports='eth0:t' 'lan1:t' 'lan2:t'
network.IOT=interface
network.IOT.proto='static'
network.IOT.device='br-lan.40'
network.IOT.ipaddr='192.168.40.2'
network.IOT.netmask='255.255.255.0'

The dmesg messages are below:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.6.86 (builder@buildhost) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 13.3.0 r28597-0425664679) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Sun Apr 13 16:38:32 2025
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: AVM FRITZ!Box 4040
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] OF: reserved mem: 0x87e00000..0x87e7ffff (512 KiB) nomap non-reusable smem@87e00000
[    0.000000] OF: reserved mem: 0x87e80000..0x87ffffff (1536 KiB) nomap non-reusable tz@87e80000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x000000008fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x0000000087dfffff]
[    0.000000]   node   0: [mem 0x0000000087e00000-0x0000000087ffffff]
[    0.000000]   node   0: [mem 0x0000000088000000-0x000000008fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000008fffffff]
[    0.000000] percpu: Embedded 13 pages/cpu s21524 r8192 d23532 u53248
[    0.000000] pcpu-alloc: s21524 r8192 d23532 u53248 alloc=13*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Kernel command line: 
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 246136K/262144K available (7663K kernel code, 643K rwdata, 1136K rodata, 1024K init, 247K bss, 16008K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] 	Tracing variant of 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] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 48.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb11fd3bfb, max_idle_ns: 440795203732 ns
[    0.000001] sched_clock: 56 bits at 48MHz, resolution 20ns, wraps every 4398046511096ns
[    0.000020] Switching to timer-based delay loop, resolution 20ns
[    0.000325] Calibrating delay loop (skipped), value calculated using timer frequency.. 96.00 BogoMIPS (lpj=480000)
[    0.000348] CPU: Testing write buffer coherency: ok
[    0.000398] pid_max: default: 32768 minimum: 301
[    0.010469] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.010492] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.019204] qcom_scm: convention: smc legacy
[    0.020740] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    0.020925] Setting up static identity map for 0x80300000 - 0x8030003c
[    0.021129] rcu: Hierarchical SRCU implementation.
[    0.021137] rcu: 	Max phase no-delay instances is 1000.
[    0.021837] smp: Bringing up secondary CPUs ...
[    0.025657] smp: Brought up 1 node, 4 CPUs
[    0.025679] SMP: Total of 4 processors activated (384.00 BogoMIPS).
[    0.025691] CPU: All CPU(s) started in SVC mode.
[    0.033795] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.033983] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.034013] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.039313] pinctrl core: initialized pinctrl subsystem
[    0.042820] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.043161] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.044562] thermal_sys: Registered thermal governor 'step_wise'
[    0.044688] cpuidle: using governor ladder
[    0.044732] cpuidle: using governor menu
[    0.061405] cryptd: max_cpu_qlen set to 1000
[    0.066233] usbcore: registered new interface driver usbfs
[    0.066343] usbcore: registered new interface driver hub
[    0.066432] usbcore: registered new device driver usb
[    0.066488] pps_core: LinuxPPS API ver. 1 registered
[    0.066495] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.066521] PTP clock support registered
[    0.069167] clocksource: Switched to clocksource arch_sys_counter
[    0.080127] NET: Registered PF_INET protocol family
[    0.080364] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.082120] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.082162] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.082181] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.082217] TCP bind hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.082297] TCP: Hash tables configured (established 2048 bind 2048)
[    0.083354] MPTCP token hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.083746] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.083791] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.084529] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.084585] PCI: CLS 0 bytes, default 64
[    0.086301] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.087408] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.087423] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.331993] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.337847] tcsr 1949000.tcsr: setting wifi_glb_cfg = 41000000
[    0.337964] tcsr 194b000.tcsr: setting usb hs phy mode select = e700e7
[    0.338058] tcsr 1953000.ess_tcsr: setting ess interface select = 0
[    0.338148] tcsr 1957000.tcsr: setting wifi_noc_memtype_m0_m2 = 2222222
[    0.338544] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.342476] msm_serial 78af000.serial: msm_serial: detected port #0
[    0.342561] msm_serial 78af000.serial: uartclk = 1843200
[    0.342965] 78af000.serial: ttyMSM0 at MMIO 0x78af000 (irq = 31, base_baud = 115200) is a MSM
[    0.343006] msm_serial: console setup on port #0
[    0.343062] printk: console [ttyMSM0] enabled
[    0.925531] msm_serial: driver initialized
[    0.936816] loop: module loaded
[    0.938405] spi_qup 78b5000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    0.938930] flash@0 enforce active low on GPIO handle
[    0.948017] spi-nor spi0.0: mx25l25635e (32768 Kbytes)
[    0.951189] 13 fixed-partitions partitions found on MTD device spi0.0
[    0.956088] OF: Bad cell count for /soc/spi@78b5000/flash@0/partitions
[    0.962595] OF: Bad cell count for /soc/spi@78b5000/flash@0/partitions
[    0.969299] Creating 13 MTD partitions on "spi0.0":
[    0.975502] 0x000000000000-0x000000040000 : "SBL1"
[    0.981042] 0x000000040000-0x000000060000 : "MIBIB"
[    0.985782] 0x000000060000-0x0000000c0000 : "QSEE"
[    0.990592] 0x0000000c0000-0x0000000d0000 : "CDT"
[    0.995342] 0x0000000d0000-0x0000000e0000 : "DDRPARAMS"
[    1.000241] 0x0000000e0000-0x0000000f0000 : "APPSBLENV"
[    1.005192] 0x0000000f0000-0x0000003cc000 : "urlader"
[    1.010510] 0x00000011dc00-0x000000120000 : "urlader_config"
[    1.015625] 0x000000120000-0x0000001a0000 : "tffs1"
[    1.021447] 0x0000001a0000-0x000000220000 : "tffs2"
[    1.025966] 0x000000220000-0x0000002a0000 : "uboot"
[    1.030905] 0x0000002a0000-0x000001f00000 : "firmware"
[    1.036067] 2 fit-fw partitions found on MTD device firmware
[    1.040301] Creating 2 MTD partitions on "firmware":
[    1.046073] 0x000000000000-0x000000350000 : "kernel"
[    1.051746] 0x00000034e130-0x000001c60000 : "rootfs"
[    1.055965] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    1.061615] mtd: setting mtd13 (rootfs) as root device
[    1.070362] 1 squashfs-split partitions found on MTD device rootfs
[    1.075070] 0x000000760000-0x000001c60000 : "rootfs_data"
[    1.081979] 0x000001f00000-0x000002000000 : "jffs2"
[    1.146217] i2c_dev: i2c /dev entries driver
[    1.148372] sdhci: Secure Digital Host Controller Interface driver
[    1.149642] sdhci: Copyright(c) Pierre Ossman
[    1.155557] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.163641] NET: Registered PF_INET6 protocol family
[    1.167991] Segment Routing with IPv6
[    1.170807] In-situ OAM (IOAM) with IPv6
[    1.174339] NET: Registered PF_PACKET protocol family
[    1.178286] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.183691] 8021q: 802.1Q VLAN Support v1.8
[    1.196398] Registering SWP/SWPB emulation handler
[    1.226797] qca8k-ipq4019 c000000.switch: configuring for fixed/internal link mode
[    1.227176] qca8k-ipq4019 c000000.switch: Link is Up - 1Gbps/Full - flow control rx/tx
[    1.431176] qca8k-ipq4019 c000000.switch lan1 (uninitialized): PHY [90000.mdio-1:00] driver [Qualcomm QCA8075] (irq=POLL)
[    1.509998] qca8k-ipq4019 c000000.switch lan2 (uninitialized): PHY [90000.mdio-1:01] driver [Qualcomm QCA8075] (irq=POLL)
[    1.589908] qca8k-ipq4019 c000000.switch lan3 (uninitialized): PHY [90000.mdio-1:02] driver [Qualcomm QCA8075] (irq=POLL)
[    1.669994] qca8k-ipq4019 c000000.switch lan4 (uninitialized): PHY [90000.mdio-1:03] driver [Qualcomm QCA8075] (irq=POLL)
[    1.750066] qca8k-ipq4019 c000000.switch wan (uninitialized): PHY [90000.mdio-1:04] driver [Qualcomm QCA8075] (irq=POLL)
[    1.751304] ipqess-edma c080000.ethernet eth0: entered promiscuous mode
[    1.760170] DSA: tree 0 setup
[    1.767147] clk: Disabling unused clocks
[    1.781266] VFS: Mounted root (squashfs filesystem) readonly on device 31:13.
[    1.783331] Freeing unused kernel image (initmem) memory: 1024K
[    1.787642] Run /sbin/init as init process
[    1.793156]   with arguments:
[    1.793164]     /sbin/init
[    1.793172]   with environment:
[    1.793177]     HOME=/
[    1.793184]     TERM=linux
[    2.661379] init: Console is alive
[    2.661742] init: - watchdog -
[    3.927295] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.957440] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    4.189970] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.190059] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    4.194607] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f665 hci version 0x100 quirks 0x0000008002000010
[    4.202060] xhci-hcd xhci-hcd.0.auto: irq 59, io mem 0x08a00000
[    4.211549] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    4.217222] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    4.222800] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    4.231099] hub 1-0:1.0: USB hub found
[    4.236959] hub 1-0:1.0: 1 port detected
[    4.241239] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.245354] hub 2-0:1.0: USB hub found
[    4.259228] hub 2-0:1.0: 1 port detected
[    4.260107] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.262276] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    4.267782] xhci-hcd xhci-hcd.1.auto: USB3 root hub has no ports
[    4.275129] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f665 hci version 0x100 quirks 0x0000008002000010
[    4.281426] xhci-hcd xhci-hcd.1.auto: irq 60, io mem 0x06000000
[    4.291484] hub 3-0:1.0: USB hub found
[    4.296418] hub 3-0:1.0: 1 port detected
[    4.306683] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.309846] init: - preinit -
[    5.019211] random: crng init done
[    6.510748] ipqess-edma c080000.ethernet eth0: configuring for fixed/internal link mode
[    6.511550] qca8k-ipq4019 c000000.switch lan1: configuring for phy/psgmii link mode
[    6.517592] qca8k-ipq4019 c000000.switch: PSGMII calibration!
[    6.525335] ipqess-edma c080000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   10.809552] qca8k-ipq4019 c000000.switch lan1: Link is Up - 1Gbps/Full - flow control off
[   12.349541] jffs2: notice: (219) jffs2_build_xattr_subsystem: complete building xattr subsystem, 14 of xdatum (11 unchecked, 3 orphan) and 17 of xref (3 dead, 0 orphan) found.
[   12.357233] mount_root: switching to jffs2 overlay
[   12.393067] overlayfs: upper fs does not support tmpfile.
[   12.422590] urandom-seed: Seeding with /etc/urandom.seed
[   12.636802] qca8k-ipq4019 c000000.switch lan1: Link is Down
[   12.645234] procd: - early -
[   12.645464] procd: - watchdog -
[   13.309322] procd: - watchdog -
[   13.311900] procd: - ubus -
[   13.484619] procd: - init -
[   14.273036] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.321917] Loading modules backported from Linux version v6.12.6-0-ge9d65b48ce1a
[   14.321977] Backport generated by backports.git v6.1.110-1-35-g410656ef04d2
[   14.730933] PPP generic driver version 2.4.2
[   14.732213] NET: Registered PF_PPPOX protocol family
[   15.174514] urngd: v1.0.2 started.
[   16.063860] ath10k_ahb a000000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[   16.063932] ath10k_ahb a000000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   16.075787] ath10k_ahb a000000.wifi: firmware ver 10.4b-ct-4019-fW-13-5ae337bb1 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 6b2b5c5b
[   16.240085] ath10k_ahb a000000.wifi: board_file api 2 bmi_id 0:16 crc32 2d972a4b
[   17.528958] ath10k_ahb a000000.wifi: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   17.529027] ath10k_ahb a000000.wifi: msdu-desc: 2500  skid: 32
[   17.564841] ath10k_ahb a000000.wifi: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   17.565782] ath10k_ahb a000000.wifi: wmi print 'free: 53252 iram: 13432 sram: 35752'
[   17.687292] ath10k_ahb a000000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[   17.787416] ath: EEPROM regdomain: 0x0
[   17.787451] ath: EEPROM indicates default country code should be used
[   17.787459] ath: doing EEPROM country->regdmn map search
[   17.787469] ath: country maps to regdmn code: 0x3a
[   17.787478] ath: Country alpha2 being used: US
[   17.787486] ath: Regpair used: 0x3a
[   18.421429] ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[   18.421521] ath10k_ahb a800000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   18.433415] ath10k_ahb a800000.wifi: firmware ver 10.4b-ct-4019-fW-13-5ae337bb1 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 6b2b5c5b
[   18.497376] ath10k_ahb a800000.wifi: board_file api 2 bmi_id 0:17 crc32 2d972a4b
[   19.786476] ath10k_ahb a800000.wifi: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   19.786549] ath10k_ahb a800000.wifi: msdu-desc: 2500  skid: 32
[   19.822120] ath10k_ahb a800000.wifi: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   19.823067] ath10k_ahb a800000.wifi: wmi print 'free: 53252 iram: 13432 sram: 35752'
[   19.944583] ath10k_ahb a800000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[   20.044905] ath: EEPROM regdomain: 0x0
[   20.044938] ath: EEPROM indicates default country code should be used
[   20.044947] ath: doing EEPROM country->regdmn map search
[   20.044956] ath: country maps to regdmn code: 0x3a
[   20.044965] ath: Country alpha2 being used: US
[   20.044975] ath: Regpair used: 0x3a
[   20.053341] kmodloader: done loading kernel modules from /etc/modules.d/*
[   29.086348] ipqess-edma c080000.ethernet eth0: Link is Down
[   29.097684] ipqess-edma c080000.ethernet eth0: configuring for fixed/internal link mode
[   29.098858] ipqess-edma c080000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   29.100698] br-lan: port 1(eth0) entered blocking state
[   29.112935] br-lan: port 1(eth0) entered disabled state
[   29.118153] ipqess-edma c080000.ethernet eth0: entered allmulticast mode
[   29.133950] br-lan: port 1(eth0) entered blocking state
[   29.134028] br-lan: port 1(eth0) entered listening state
[   29.168060] qca8k-ipq4019 c000000.switch lan1: configuring for phy/psgmii link mode
[   29.170232] br-lan: port 2(lan1) entered blocking state
[   29.174585] br-lan: port 2(lan1) entered disabled state
[   29.179957] qca8k-ipq4019 c000000.switch lan1: entered allmulticast mode
[   29.185712] qca8k-ipq4019 c000000.switch lan1: left allmulticast mode
[   29.192689] br-lan: port 2(lan1) entered blocking state
[   29.198281] br-lan: port 2(lan1) entered disabled state
[   29.203535] qca8k-ipq4019 c000000.switch lan1: entered allmulticast mode
[   29.209239] qca8k-ipq4019 c000000.switch lan1: left allmulticast mode
[   29.216042] br-lan: port 2(lan1) entered blocking state
[   29.221989] br-lan: port 2(lan1) entered disabled state
[   29.226942] qca8k-ipq4019 c000000.switch lan1: entered allmulticast mode
[   29.236371] qca8k-ipq4019 c000000.switch lan1: left allmulticast mode
[   29.269682] qca8k-ipq4019 c000000.switch lan2: configuring for phy/psgmii link mode
[   29.271441] br-lan: port 2(lan2) entered blocking state
[   29.276193] br-lan: port 2(lan2) entered disabled state
[   29.281592] qca8k-ipq4019 c000000.switch lan2: entered allmulticast mode
[   29.287323] qca8k-ipq4019 c000000.switch lan2: left allmulticast mode
[   29.294291] br-lan: port 2(lan2) entered blocking state
[   29.299966] br-lan: port 2(lan2) entered disabled state
[   29.305002] qca8k-ipq4019 c000000.switch lan2: entered allmulticast mode
[   29.310755] qca8k-ipq4019 c000000.switch lan2: left allmulticast mode
[   29.317597] br-lan: port 2(lan2) entered blocking state
[   29.323495] br-lan: port 2(lan2) entered disabled state
[   29.328505] qca8k-ipq4019 c000000.switch lan2: entered allmulticast mode
[   29.334263] qca8k-ipq4019 c000000.switch lan2: left allmulticast mode
[   29.357486] qca8k-ipq4019 c000000.switch lan3: configuring for phy/psgmii link mode
[   29.358345] br-lan: port 2(lan3) entered blocking state
[   29.364096] br-lan: port 2(lan3) entered disabled state
[   29.369319] qca8k-ipq4019 c000000.switch lan3: entered allmulticast mode
[   29.374882] qca8k-ipq4019 c000000.switch lan3: left allmulticast mode
[   29.382389] br-lan: port 2(lan3) entered blocking state
[   29.387682] br-lan: port 2(lan3) entered disabled state
[   29.392811] qca8k-ipq4019 c000000.switch lan3: entered allmulticast mode
[   29.398282] qca8k-ipq4019 c000000.switch lan3: left allmulticast mode
[   29.405770] br-lan: port 2(lan3) entered blocking state
[   29.411343] br-lan: port 2(lan3) entered disabled state
[   29.416311] qca8k-ipq4019 c000000.switch lan3: entered allmulticast mode
[   29.422185] qca8k-ipq4019 c000000.switch lan3: left allmulticast mode
[   29.439599] qca8k-ipq4019 c000000.switch lan4: configuring for phy/psgmii link mode
[   29.440633] br-lan: port 2(lan4) entered blocking state
[   29.446111] br-lan: port 2(lan4) entered disabled state
[   29.451504] qca8k-ipq4019 c000000.switch lan4: entered allmulticast mode
[   29.457226] qca8k-ipq4019 c000000.switch lan4: left allmulticast mode
[   29.464598] br-lan: port 2(lan4) entered blocking state
[   29.469863] br-lan: port 2(lan4) entered disabled state
[   29.474887] qca8k-ipq4019 c000000.switch lan4: entered allmulticast mode
[   29.480784] qca8k-ipq4019 c000000.switch lan4: left allmulticast mode
[   29.487590] br-lan: port 2(lan4) entered blocking state
[   29.493407] br-lan: port 2(lan4) entered disabled state
[   29.498447] qca8k-ipq4019 c000000.switch lan4: entered allmulticast mode
[   29.504022] qca8k-ipq4019 c000000.switch lan4: left allmulticast mode
[   29.532173] qca8k-ipq4019 c000000.switch wan: configuring for phy/psgmii link mode
[   29.623948] qca8k-ipq4019 c000000.switch lan1: configuring for phy/psgmii link mode
[   29.625440] br-lan: port 2(lan1) entered blocking state
[   29.630572] br-lan: port 2(lan1) entered disabled state
[   29.635732] qca8k-ipq4019 c000000.switch lan1: entered allmulticast mode
[   29.641392] qca8k-ipq4019 c000000.switch lan1: left allmulticast mode
[   29.648261] br-lan: port 2(lan1) entered blocking state
[   29.654324] br-lan: port 2(lan1) entered disabled state
[   29.659345] qca8k-ipq4019 c000000.switch lan1: entered allmulticast mode
[   29.665028] qca8k-ipq4019 c000000.switch lan1: left allmulticast mode
[   29.671899] br-lan: port 2(lan1) entered blocking state
[   29.677686] br-lan: port 2(lan1) entered disabled state
[   29.682875] qca8k-ipq4019 c000000.switch lan1: entered allmulticast mode
[   29.688333] qca8k-ipq4019 c000000.switch lan1: left allmulticast mode
[   29.713312] qca8k-ipq4019 c000000.switch lan2: configuring for phy/psgmii link mode
[   29.714719] br-lan: port 2(lan2) entered blocking state
[   29.719904] br-lan: port 2(lan2) entered disabled state
[   29.725106] qca8k-ipq4019 c000000.switch lan2: entered allmulticast mode
[   29.730807] qca8k-ipq4019 c000000.switch lan2: left allmulticast mode
[   29.737555] br-lan: port 2(lan2) entered blocking state
[   29.743622] br-lan: port 2(lan2) entered disabled state
[   29.748608] qca8k-ipq4019 c000000.switch lan2: entered allmulticast mode
[   29.754350] qca8k-ipq4019 c000000.switch lan2: left allmulticast mode
[   29.761358] br-lan: port 2(lan2) entered blocking state
[   29.767044] br-lan: port 2(lan2) entered disabled state
[   29.772190] qca8k-ipq4019 c000000.switch lan2: entered allmulticast mode
[   29.777700] qca8k-ipq4019 c000000.switch lan2: left allmulticast mode
[   29.790790] qca8k-ipq4019 c000000.switch lan3: configuring for phy/psgmii link mode
[   29.791751] br-lan: port 2(lan3) entered blocking state
[   29.798032] br-lan: port 2(lan3) entered disabled state
[   29.803386] qca8k-ipq4019 c000000.switch lan3: entered allmulticast mode
[   29.809031] qca8k-ipq4019 c000000.switch lan3: left allmulticast mode
[   29.816516] br-lan: port 2(lan3) entered blocking state
[   29.821847] br-lan: port 2(lan3) entered disabled state
[   29.826845] qca8k-ipq4019 c000000.switch lan3: entered allmulticast mode
[   29.832682] qca8k-ipq4019 c000000.switch lan3: left allmulticast mode
[   29.839488] br-lan: port 2(lan3) entered blocking state
[   29.845254] br-lan: port 2(lan3) entered disabled state
[   29.850472] qca8k-ipq4019 c000000.switch lan3: entered allmulticast mode
[   29.856082] qca8k-ipq4019 c000000.switch lan3: left allmulticast mode
[   29.884657] qca8k-ipq4019 c000000.switch lan4: configuring for phy/psgmii link mode
[   29.886257] br-lan: port 2(lan4) entered blocking state
[   29.891221] br-lan: port 2(lan4) entered disabled state
[   29.896416] qca8k-ipq4019 c000000.switch lan4: entered allmulticast mode
[   29.902023] qca8k-ipq4019 c000000.switch lan4: left allmulticast mode
[   29.908989] br-lan: port 2(lan4) entered blocking state
[   29.914926] br-lan: port 2(lan4) entered disabled state
[   29.920023] qca8k-ipq4019 c000000.switch lan4: entered allmulticast mode
[   29.925546] qca8k-ipq4019 c000000.switch lan4: left allmulticast mode
[   29.932658] br-lan: port 2(lan4) entered blocking state
[   29.938393] br-lan: port 2(lan4) entered disabled state
[   29.943539] qca8k-ipq4019 c000000.switch lan4: entered allmulticast mode
[   29.994804] qca8k-ipq4019 c000000.switch lan4: left allmulticast mode
[   32.649585] qca8k-ipq4019 c000000.switch wan: Link is Up - 1Gbps/Full - flow control off
[   37.609161] br-lan: port 1
[   45.929160] br-lan: port 1(eth0) entered forwarding state
[   45.929243] br-lan: topology change detected, propagating

Has anybody an idea what causes the problem?
Kind regards
Jens

You forgot to assign a VLAN ID + bridge-VLAN and port configuration for your existing lan. Don't forget, you also need to edit the lan interface to use that bridge VLAN.

If you need specific help doing this, please post your config in the standard text config (instead of the UCI config method):

cat /etc/config/network

Thank you for offering help. Here is the config, that lead to the same result:


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 'fd90:13db:ca1::/48'
	option packet_steering '1'

config device
	option name 'br-lan'
	option type 'bridge'
	list ports 'eth0'
	list ports 'lan1'
	list ports 'lan2'
	list ports 'lan3'
	list ports 'lan4'
	option stp '1'

config interface 'lan'
	option device 'br-lan.5'
	option proto 'static'
	option ipaddr '192.168.5.2'
	option netmask '255.255.255.0'
	option ip6assign '60'

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

config interface 'wan6'
	option device 'wan.10'
	option proto 'dhcpv6'
	option reqaddress 'try'
	option reqprefix 'auto'
	option norelease '1'

config device
	option type '8021q'
	option ifname 'wan'
	option vid '10'
	option name 'wan.10'

config bridge-vlan
	option device 'br-lan'
	option vlan '1'
	list ports 'eth0:t'
	list ports 'lan1:t'
	list ports 'lan2:t'

config interface 'NMS'
	option proto 'static'
	option device 'br-lan.1'
	option ipaddr '192.168.1.2'
	option netmask '255.255.255.0'
	option gateway '192.168.1.1'

config bridge-vlan
	option device 'br-lan'
	option vlan '5'
	list ports 'eth0:t'
	list ports 'lan1:t'
	list ports 'lan2:t'

config bridge-vlan
	option device 'br-lan'
	option vlan '20'
	list ports 'eth0:t'
	list ports 'lan1:t'
	list ports 'lan2:t'

config bridge-vlan
	option device 'br-lan'
	option vlan '30'
	list ports 'eth0:t'
	list ports 'lan1:t'
	list ports 'lan2:t'

config bridge-vlan
	option device 'br-lan'
	option vlan '40'
	list ports 'eth0:t'
	list ports 'lan1:t'
	list ports 'lan2:t'

config interface 'DMZ'
	option proto 'static'
	option device 'br-lan.20'
	option ipaddr '192.168.20.2'
	option netmask '255.255.255.0'

config interface 'Gast'
	option proto 'static'
	option device 'br-lan.30'
	option ipaddr '192.168.30.2'
	option netmask '255.255.255.0'

config interface 'IOT'
	option proto 'static'
	option device 'br-lan.40'
	option ipaddr '192.168.40.2'
	option netmask '255.255.255.0'

I'm still wondering, how a network config can interfere that much with the boot process.
Again thanks fro your help.

Is this the main router, or is it just an AP?

I think your problem is here... remove the eth0 port as well as the STP line:

It is also notable that you have ports 1 and 2 tagged on all VLANs and ports 3 and 4 are not defined at all. What is connected to each port?

It is going to be the main router. I've done what you proposed unfortunately it didn't do the trick. After enabling the changes in luci it waits for 90s and than does a roll back. After that it need a power cycle to be accessible via the wan interface. Apart from this there is no change.
To lan 1 & 2 there will be a switch connected. lan 3 & 4 will be for future use.

Is there a switch connected there now? Is it a managed switch?

Now I gave it a second shot. I re-flashed the router and loaded the config file. O wonder, it rebooted. It even survived a power cycle. Even after I took the risk and activated stp, it survived the power cycle. So it seems to be fine. I guess the removal eth0 from the bridge did the trick. I had to add it in the first place, to get the eht0 option in the vlan tab of the br-lan device in luci. The eth0 option is still there, even after the removal from br-lan. I will test in a little more on the week an and mark it as solution then. Thank you very much psherman for taking the time to help. Thanks a lot.

Great. Glad it is working now.

Do not re-add eth0 -- it must not be part of the bridge.

If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.
Thanks! :slight_smile:

Yes, it is connected but it did not get a link at that time. Yes it is a managed switch with all the vlans configured.