I took a stab at this yesterday. Based it on the staging tree from @svanheule merged onto current master, and added the patch you linked to in the first post in this thread ( https://paste.debian.net/1306759/ ). It can be simplified like @Ansuel said, but that's a lower priority right now. It does the job.
Two small fixes on top of that, and 6.1 mostly works. Don't know how much time I will have to fooow up, so I pushed my current WiP here:
What really broke things for me was
This resulted in
[ 4.097071] net eth0: phylink: error: empty supported_interfaces
Adding workarounds for both the ethernet and DSA driver, whether the latter is a backported fix from mainline, was enough to makes the image boot and mostly work. And the DSA fix should be taken care of already if we end up going directly to 6.6.
There are still issues, though:
- packets from the SoC to untagged ports does not work
- the ethernet driver enables interrupts before it's ready, occasionally crashing on boot
- reboot on panic fails
I haven't verified that an of these are new with 6.1. I suspect the aren't.
Sending traffic from the switch SoC to untagged port isn't something I normally do. My management VLAN is always tagged. And switching between ports works fine, with or without tagging. Receiving untagged traffic also works. It's only packets from the switch to an untagged VLAN never going out. The big problem with that (and why I even noticed) is that it breaks the default OpenWrt configuration, where all ports are untagged in VLAN 1.
Haven't looked closer at the second problem yet. The switch boots fine most of the time, but sometimes it fails with:
[ 1.223021] Found SoC ID: 8380: RTL8380, family 8380
[ 1.228856] CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 00000000, ra == 8052d6c0
[ 1.240860] Oops[#1]:
[ 1.243433] CPU: 0 PID: 1 Comm: swapper Not tainted 6.1.81 #0
[ 1.249862] $ 0 : 00000000 00000001 00000000 8200bf30
[ 1.255738] $ 4 : 824884d8 00000000 80940000 04000040
[ 1.261608] $ 8 : 80930000 78cfa80e a71c5dc7 ffffffea
[ 1.267487] $12 : 00000058 82019b44 00000058 00000000
[ 1.273356] $16 : 824884d8 00000000 0000012c 8200bf2f
[ 1.279225] $20 : 80940000 ffff8b4b 80920000 8200bf38
[ 1.285095] $24 : 808b7900 803de0f8
[ 1.290965] $28 : 82018000 8200bee8 811736f8 8052d6c0
[ 1.296834] Hi : 00005fff
[ 1.300046] Lo : 2e48f657
[ 1.303257] epc : 00000000 0x0
[ 1.306877] ra : 8052d6c0 __napi_poll+0x3c/0x1c0
[ 1.312377] Status: 10107c03 KERNEL EXL IE
[ 1.317074] Cause : 50808008 (ExcCode 02)
[ 1.321554] BadVA : 00000000
[ 1.324765] PrId : 00019070 (MIPS 4KEc)
[ 1.329149] Modules linked in:
[ 1.332563] Process swapper (pid: 1, threadinfo=(ptrval), task=(ptrval), tls=00000000)
[ 1.341417] Stack : 80930bb4 0000001f 8091bd68 00000019 000d48a4 80168250 80a136fc 824884d8
[ 1.350804] 809427c0 0000012c 8200bf30 8052da80 00010000 8016ba3c 00000000 8012505c
[ 1.360194] 00000024 80143f00 8200bf30 8200bf30 8200bf38 8200bf38 811736fc 81173704
[ 1.369584] 00000008 00000003 00000004 0000000c 00000100 00000020 3fffffff 8072a53c
[ 1.378964] a5a5a5a5 82007d80 00000005 00000001 0000001f 811a0000 8091c884 808b66f0
[ 1.388354] ...
[ 1.391104] Call Trace:
[ 1.391115]
[ 1.395495] [<80168250>] handle_irq_event+0x94/0xc4
[ 1.400980] [<8052da80>] net_rx_action+0x12c/0x24c
[ 1.406364] [<8016ba3c>] handle_level_irq+0xb4/0x1bc
[ 1.411943] [<8012505c>] mm_init+0x1dc/0x1fc
[ 1.416747] [<80143f00>] alloc_workqueue+0x27c/0x464
[ 1.422340] [<8072a53c>] __do_softirq+0x10c/0x2ac
[ 1.427624] [<803de328>] plat_irq_dispatch+0x68/0x98
[ 1.433207] [<80101c58>] handle_int+0x138/0x144
[ 1.438300]
[ 1.439967] Code: (Bad address in epc)
[ 1.439967]
[ 1.445828]
[ 1.447616] ---[ end trace 0000000000000000 ]---
[ 1.452911] Kernel panic - not syncing: Fatal exception in interrupt
[ 3.459723] Reboot failed -- System halted
This MIGHT be related to bootloader networking. I've only seen it when tftp booting. If so, then I guess it's a minor issue after all.
And that log also shows the third issue. Which could be a big problem if you can't power cycle easily. I am testing this remotely, but on a GS108Tv3 being powered by a GS1900-10HP. So I can simply use ubus to toggle power. Not everyone will be that lucky, I guess. I believe it's better to have a boot loop than a halt like that.
boot log running OpenWrt with v6.1 kernel on NetGear GS108Tv3
BOOT Loader Version 1.0.0.2 (2018-08-31 17:05:26 UTC)
Board: RTL838x CPU:500MHz LXB:200MHz MEM:300MHz
CPU : 500 MHz
RAM : 128 MB
FLASH: 32 MB
Model: GS108Tv3
MAC : BC:A5:11:9F:E1:23
Hit Esc key to stop autoboot: 1 0
## Booting image from partition ... 0
## Booting kernel from Legacy Image at 81000000 ...
Version: 9.9.9.9
Created: 2024-03-17 8:52:59 UTC
Data Size: 2592783 Bytes = 2.5 MB
Checksum ... OK
Uncompressing ... OK
Starting kernel ...
[ 0.000000] Linux version 6.1.81 (bjorn@canardo) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r25565+14-dea42f67ab06) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 Sun Mar 17 08:52:59 2024
[ 0.000000] RTL838X model is 83806800
[ 0.000000] SoC Type: RTL8380
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019070 (MIPS 4KEc)
[ 0.000000] MIPS: machine is Netgear GS108T v3
[ 0.000000] earlycon: ns16550a0 at MMIO 0x18002000 (options '115200n8')
[ 0.000000] printk: bootconsole [ns16550a0] enabled
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Using appended Device Tree.
[ 0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
[ 0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 0.000000] Kernel command line: earlycon
[ 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: 119804K/131072K available (6317K kernel code, 642K rwdata, 1524K rodata, 1236K init, 210K bss, 11268K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 256
[ 0.000000] rtl83xx-clk: initialized, CPU 500 MHz, MEM 300 MHz (8 Bit DDR3), LXB 200 MHz
[ 0.000000] clocksource: realtek_otto_timer: mask: 0xfffffff max_cycles: 0xfffffff, max_idle_ns: 38225208801 ns
[ 0.000006] sched_clock: 28 bits at 3125kHz, resolution 320ns, wraps every 42949672800ns
[ 0.009310] Calibrating delay loop... 498.89 BogoMIPS (lpj=2494464)
[ 0.136032] pid_max: default: 32768 minimum: 301
[ 0.143608] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.151894] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.169653] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.177696] cblist_init_generic: Setting shift to 0 and lim to 1.
[ 0.197349] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.208418] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.216455] pinctrl core: initialized pinctrl subsystem
[ 0.225365] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.260080] rtl83xx-clk clock-controller: rate setting enabled, CPU 300-625 MHz, MEM 300-300 MHz, LXB 200-200 MHz, OVERCLOCK AT OWN RISK
[ 0.278581] clocksource: Switched to clocksource realtek_otto_timer
[ 0.290068] NET: Registered PF_INET protocol family
[ 0.296175] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.306295] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.315912] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.324680] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.333370] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.341418] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.349242] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.356610] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.365270] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.383953] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.405460] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.412155] jffs2: version 2.2 (NAND) (SUMMARY) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.430041] pinctrl-single 1b001000.pinmux: 32 pins, size 4
[ 0.437378] pinctrl-single 1b00a000.pinmux: 32 pins, size 4
[ 0.446668] Probing RTL8231 GPIOs
[ 0.450533] rtl8231_init called, MDIO bus ID: 31
[ 0.458950] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.468410] printk: console [ttyS0] disabled
[ 0.473475] 18002000.uart: ttyS0 at MMIO 0x18002000 (irq = 31, base_baud = 12500000) is a 16550A
[ 0.483432] printk: console [ttyS0] enabled
[ 0.483432] printk: console [ttyS0] enabled
[ 0.492902] printk: bootconsole [early0] disabled
[ 0.492902] printk: bootconsole [early0] disabled
[ 0.503539] printk: bootconsole [ns16550a0] disabled
[ 0.503539] printk: bootconsole [ns16550a0] disabled
[ 0.646127] brd: module loaded
[ 0.662901] spi-nor spi0.0: mx25l25635e (32768 Kbytes)
[ 0.669139] 7 fixed-partitions partitions found on MTD device spi0.0
[ 0.676346] OF: Bad cell count for /soc/spi@1200/flash@0/partitions
[ 0.683530] OF: Bad cell count for /soc/spi@1200/flash@0/partitions
[ 0.691155] Creating 7 MTD partitions on "spi0.0":
[ 0.696670] 0x000000000000-0x0000000e0000 : "u-boot"
[ 0.711090] 0x0000000e0000-0x0000000f0000 : "u-boot-env"
[ 0.720544] 0x0000000f0000-0x000000100000 : "u-boot-env2"
[ 0.735278] 0x000000100000-0x000000200000 : "jffs"
[ 0.744151] 0x000000200000-0x000000300000 : "jffs2"
[ 0.758360] 0x000000300000-0x000001180000 : "firmware"
[ 0.767907] 2 uimage-fw partitions found on MTD device firmware
[ 0.774723] Creating 2 MTD partitions on "firmware":
[ 0.780534] 0x000000000000-0x000000280000 : "kernel"
[ 0.794685] 0x000000280000-0x000000e80000 : "rootfs"
[ 0.803539] mtd: setting mtd7 (rootfs) as root device
[ 0.809463] 1 squashfs-split partitions found on MTD device rootfs
[ 0.816530] 0x000000490000-0x000000e80000 : "rootfs_data"
[ 0.831053] 0x000001180000-0x000002000000 : "runtime2"
[ 0.865514] Probing RTL838X eth device pdev: 8209a800, dev: 8209a810
[ 0.923115] Found SoC ID: 8380: RTL8380, family 8380
[ 0.928968] rtl8380_init_mac
[ 0.932268] Using MAC 000080002db48084
[ 1.059434] Realtek RTL8218B (internal) mdio-bus:08: Detected internal RTL8218B
[ 1.067658] Firmware loaded. Size 1184, magic: 83808380
[ 1.889641] Realtek RTL8218B (internal) mdio-bus:08: ERROR: Port 8 not ready for patch.
[ 1.898721] Realtek RTL8218B (internal): probe of mdio-bus:08 failed with error -1
[ 1.948068] i2c_dev: i2c /dev entries driver
[ 1.963696] NET: Registered PF_INET6 protocol family
[ 2.006888] Segment Routing with IPv6
[ 2.011391] In-situ OAM (IOAM) with IPv6
[ 2.016225] NET: Registered PF_PACKET protocol family
[ 2.022926] 8021q: 802.1Q VLAN Support v1.8
[ 2.077743] Realtek RTL8218B (internal) rtl838x slave mii-0:08: Detected internal RTL8218B
[ 2.087149] Firmware loaded. Size 1184, magic: 83808380
[ 2.910002] Realtek RTL8218B (internal) rtl838x slave mii-0:08: ERROR: Port 8 not ready for patch.
[ 2.920146] Realtek RTL8218B (internal): probe of rtl838x slave mii-0:08 failed with error -1
[ 2.971491] Realtek RTL8380 SERDES rtl838x slave mii-0:18: Detected internal RTL8380 SERDES
[ 2.981007] Firmware loaded. Size 1184, magic: 83808380
[ 2.986927] SDS power down value: 33
[ 3.015048] PLL control register: efffffff
[ 3.019789] SDS power down value now: 3f
[ 3.024205] Configuration of SERDES done
[ 3.060456] In rtl83xx_vlan_setup
[ 3.064227] UNKNOWN_MC_PMASK: 000000001fffffff
[ 3.069335] VLAN profile 0: L2 learning: 1, UNKN L2MC FLD PMSK 511, UNKN IPMC FLD PMSK 511, UNKN IPv6MC FLD PMSK: 511
[ 4.098616] rtl83xx_enable_phy_polling: ff00
[ 5.138934] rtl83xx-switch switch@1b000000: configuring for fixed/internal link mode
[ 5.148413] rtl83xx-switch switch@1b000000: Link is Up - 1Gbps/Full - flow control off
[ 5.158923] rtl83xx-switch switch@1b000000 lan1 (uninitialized): PHY [mdio-bus:08] driver [Generic PHY] (irq=POLL)
[ 5.177330] rtl83xx-switch switch@1b000000 lan2 (uninitialized): PHY [mdio-bus:09] driver [Realtek RTL8218B (internal)] (irq=POLL)
[ 5.194374] rtl83xx-switch switch@1b000000 lan3 (uninitialized): PHY [mdio-bus:0a] driver [Realtek RTL8218B (internal)] (irq=POLL)
[ 5.215301] rtl83xx-switch switch@1b000000 lan4 (uninitialized): PHY [mdio-bus:0b] driver [Realtek RTL8218B (internal)] (irq=POLL)
[ 5.232543] rtl83xx-switch switch@1b000000 lan5 (uninitialized): PHY [mdio-bus:0c] driver [Realtek RTL8218B (internal)] (irq=POLL)
[ 5.253213] rtl83xx-switch switch@1b000000 lan6 (uninitialized): PHY [mdio-bus:0d] driver [Realtek RTL8218B (internal)] (irq=POLL)
[ 5.271354] rtl83xx-switch switch@1b000000 lan7 (uninitialized): PHY [mdio-bus:0e] driver [Realtek RTL8218B (internal)] (irq=POLL)
[ 5.291272] rtl83xx-switch switch@1b000000 lan8 (uninitialized): PHY [mdio-bus:0f] driver [Realtek RTL8218B (internal)] (irq=POLL)
[ 5.308249] device eth0 entered promiscuous mode
[ 5.313887] DSA: tree 0 setup
[ 5.317350] LINK state irq: 20
[ 5.320973] In rtl83xx_setup_qos
[ 5.324616] Setting up RTL838X QoS
[ 5.328414] RTL838X_PRI_SEL_TBL_CTRL(i): 00033112
[ 5.333770] Current Intprio2queue setting: 00000000
[ 5.339343] QM_PKT2CPU_INTPRI_MAP: 00fac688
[ 5.344369] rtl838x_dbgfs_init called
[ 5.350056] rtl83xx_fib_event_work_do: FIB4 default rule failed
[ 5.356730] rtl83xx_fib_event_work_do: FIB4 default rule failed
[ 5.383062] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[ 5.404773] Freeing unused kernel image (initmem) memory: 1236K
[ 5.411565] This architecture does not have kernel memory protection.
[ 5.418904] Run /sbin/init as init process
[ 5.423518] with arguments:
[ 5.426844] /sbin/init
[ 5.429969] with environment:
[ 5.433515] HOME=/
[ 5.436153] TERM=linux
[ 6.163754] init: Console is alive
[ 6.169006] init: - watchdog -
[ 6.297123] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 6.314173] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 6.333688] init: - preinit -
[ 10.318720] random: crng init done
[ 12.741602] RESETTING 8380, CPU_PORT 28
[ 12.946774] rtl838x-eth 1b00a300.ethernet eth0: configuring for fixed/internal link mode
[ 12.955834] In rtl838x_mac_config, mode 1
[ 12.963248] rtl83xx-switch switch@1b000000 lan1: configuring for phy/internal link mode
[ 12.972554] rtl838x-eth 1b00a300.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 12.982279] 8021q: adding VLAN 0 to HW filter on device lan1
[ 12.989306] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 12.996437] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 13.004058] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 13.028920] rtl83xx-switch switch@1b000000 lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 13.038530] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
[ 13.069040] rtl83xx_fib_event_work_do: FIB4 failed
[ 13.074462] rtl83xx_fib_event_work_do: FIB4 failed
[ 13.098832] rtl83xx_fib_event_work_do: FIB4 failed
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 14.498715] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 15.569174] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[ 15.577359] jffs2_build_filesystem(): unlocking the mtd device...
[ 15.577431] done.
[ 15.586615] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 62.727230] done.
[ 62.737923] jffs2: notice: (549) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 62.759109] mount_root: overlay filesystem has not been fully initialized yet
[ 62.772281] mount_root: switching to jffs2 overlay
[ 62.783048] overlayfs: upper fs does not support tmpfile.
- config restore -
[ 63.556595] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 63.701748] rtl83xx_fib4_del: no such gateway: 0.0.0.0
[ 63.707566] rtl83xx_fib4_del: no such gateway: 0.0.0.0
[ 63.728738] rtl83xx_fib4_del: no such gateway: 0.0.0.0
[ 63.741278] rtl83xx-switch switch@1b000000 lan1: Link is Down
[ 63.758814] RTL8380 Link change: status: 1, ports 100
[ 63.764566] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 63.802847] procd: - early -
[ 63.806975] procd: - watchdog -
[ 64.676598] procd: - watchdog -
[ 64.681570] procd: - ubus -
[ 64.870372] procd: - init -
Please press Enter to activate this console.
[ 66.824608] kmodloader: loading kernel modules from /etc/modules.d/*
[ 66.850794] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 69.235733] urngd: v1.0.2 started.
[ 75.272234] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 82.059593] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 82.218801] in rtl838x_eth_stop
[ 82.222518] rtl838x-eth 1b00a300.ethernet eth0: Link is Down
[ 82.771580] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 82.779142] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 82.786544] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 82.794090] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 84.197103] Using MAC 0000bca5119fe123
[ 84.219054] RESETTING 8380, CPU_PORT 28
[ 84.424229] rtl838x-eth 1b00a300.ethernet eth0: configuring for fixed/internal link mode
[ 84.433289] In rtl838x_mac_config, mode 1
[ 84.438317] rtl838x-eth 1b00a300.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 84.458904] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 84.466067] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 84.473706] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 84.847811] rtl83xx-switch switch@1b000000 lan1: configuring for phy/internal link mode
[ 84.892592] 8021q: adding VLAN 0 to HW filter on device lan1
[ 84.920247] switch: port 1(lan1) entered blocking state
[ 84.926147] switch: port 1(lan1) entered disabled state
[ 84.933106] device lan1 entered promiscuous mode
[ 85.060226] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 85.089625] Not offloading default route for now
[ 85.097926] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 85.629084] rtl83xx-switch switch@1b000000 lan6: configuring for phy/internal link mode
[ 85.663240] 8021q: adding VLAN 0 to HW filter on device lan6
[ 85.741717] switch: port 2(lan6) entered blocking state
[ 85.747628] switch: port 2(lan6) entered disabled state
[ 85.769004] device lan6 entered promiscuous mode
[ 85.779602] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 85.787100] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 86.009645] rtl83xx-switch switch@1b000000 lan7: configuring for phy/internal link mode
[ 86.031151] 8021q: adding VLAN 0 to HW filter on device lan7
[ 86.101515] switch: port 3(lan7) entered blocking state
[ 86.107430] switch: port 3(lan7) entered disabled state
[ 86.135305] device lan7 entered promiscuous mode
[ 86.459074] rtl83xx-switch switch@1b000000 lan8: configuring for phy/internal link mode
[ 86.489104] 8021q: adding VLAN 0 to HW filter on device lan8
[ 86.570949] switch: port 4(lan8) entered blocking state
[ 86.576850] switch: port 4(lan8) entered disabled state
[ 86.606768] device lan8 entered promiscuous mode
[ 87.036224] rtl83xx-switch switch@1b000000 lan2: configuring for phy/internal link mode
[ 87.083424] 8021q: adding VLAN 0 to HW filter on device lan2
[ 87.157448] switch: port 5(lan2) entered blocking state
[ 87.163472] switch: port 5(lan2) entered disabled state
[ 87.203370] device lan2 entered promiscuous mode
[ 87.371177] RTL8380 Link change: status: 1, ports 400
[ 87.399551] RTL8380 Link change: status: 1, ports 100
[ 87.538691] rtl83xx-switch switch@1b000000 lan3: configuring for phy/internal link mode
[ 87.559081] 8021q: adding VLAN 0 to HW filter on device lan3
[ 87.672941] switch: port 6(lan3) entered blocking state
[ 87.678964] switch: port 6(lan3) entered disabled state
[ 87.685743] device lan3 entered promiscuous mode
[ 87.958928] rtl83xx-switch switch@1b000000 lan4: configuring for phy/internal link mode
[ 87.979004] 8021q: adding VLAN 0 to HW filter on device lan4
[ 88.052665] switch: port 7(lan4) entered blocking state
[ 88.058699] switch: port 7(lan4) entered disabled state
[ 88.065535] device lan4 entered promiscuous mode
[ 88.161077] RTL8380 Link change: status: 1, ports 1000
[ 88.201704] rtl83xx-switch switch@1b000000 lan5: configuring for phy/internal link mode
[ 88.214287] 8021q: adding VLAN 0 to HW filter on device lan5
[ 88.230710] rtl83xx-switch switch@1b000000 lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 88.266958] switch: port 8(lan5) entered blocking state
[ 88.272974] switch: port 8(lan5) entered disabled state
[ 88.279982] device lan5 entered promiscuous mode
[ 88.287922] switch: port 1(lan1) entered blocking state
[ 88.293988] switch: port 1(lan1) entered forwarding state
[ 88.305942] IPv6: ADDRCONF(NETDEV_CHANGE): switch: link becomes ready
[ 88.316994] IPv6: ADDRCONF(NETDEV_CHANGE): switch.203: link becomes ready
[ 88.348096] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 90.018833] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 90.026315] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 90.558284] RTL8380 Link change: status: 1, ports 400
[ 90.824384] rtl83xx-switch switch@1b000000 lan3: Link is Up - 1Gbps/Full - flow control rx/tx
[ 90.834278] switch: port 6(lan3) entered blocking state
[ 90.840314] switch: port 6(lan3) entered forwarding state
[ 91.117874] RTL8380 Link change: status: 1, ports 1000
[ 91.388421] rtl83xx-switch switch@1b000000 lan5: Link is Up - 100Mbps/Full - flow control off
[ 91.418806] switch: port 8(lan5) entered blocking state
[ 91.424711] switch: port 8(lan5) entered forwarding state
BusyBox v1.36.1 (2024-03-16 12:39:02 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r25565+16-dea42f67ab06
-----------------------------------------------------
root@gs108tv3:/#
Note that the "ERROR: Port 8 not ready for patch." is normal on this switch, also with a v5.15 kernel. So I'm ignoring it.