### Describe the bug
Realtek RTL8221B detected as "Generic Clause 45 PHY" whe…n booting kernel 6.6 and does not work (no link).
````
[ 2.411591] mt7530-mdio mdio-bus:00: configuring for fixed/2500base-x link mode
[ 2.420570] mt7530-mdio mdio-bus:00: Link is Up - 2.5Gbps/Full - flow control rx/tx
[ 2.430087] mt7530-mdio mdio-bus:00 lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7531 PHY] (irq=133)
[ 2.450659] mt7530-mdio mdio-bus:00 lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7531 PHY] (irq=134)
[ 2.470869] mt7530-mdio mdio-bus:00 lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7531 PHY] (irq=135)
[ 2.491066] mt7530-mdio mdio-bus:00 lan4 (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7531 PHY] (irq=136)
[ 2.736934] mt7530-mdio mdio-bus:00 wan (uninitialized): PHY [mdio-bus:07] driver [Generic Clause 45 PHY] (irq=POLL)
[ 2.748442] mtk_soc_eth 1b100000.ethernet eth0: entered promiscuous mode
````
When booting kernel 6.1 it is detected as "RTL8221B-VB-CG 2.5Gbps PHY" and works without issue.
````
[ 2.527082] mt7530-mdio mdio-bus:00: configuring for fixed/2500base-x link mode
[ 2.536093] mt7530-mdio mdio-bus:00: Link is Up - 2.5Gbps/Full - flow control rx/tx
[ 2.545596] mt7530-mdio mdio-bus:00 lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7531 PHY] (irq=133)
[ 2.566339] mt7530-mdio mdio-bus:00 lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7531 PHY] (irq=134)
[ 2.586594] mt7530-mdio mdio-bus:00 lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7531 PHY] (irq=135)
[ 2.606760] mt7530-mdio mdio-bus:00 lan4 (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7531 PHY] (irq=136)
[ 2.848736] mt7530-mdio mdio-bus:00 wan (uninitialized): PHY [mdio-bus:07] driver [RTL8221B-VB-CG 2.5Gbps PHY] (irq=POLL)
[ 2.860882] device eth0 entered promiscuous mode
````
6.6 full log
<details>
```[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.6.23 (@) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.2.0 r25803-b906a9c78e) 13.2.0, GNU ld (GNU Binutils) 2.42) #0 SMP Thu Apr 4 20:39:27 2024
[ 0.000000] Machine model: Netgear WAX206
[ 0.000000] earlycon: uart8250 at MMIO32 0x0000000011002000 (options '')
[ 0.000000] printk: bootconsole [uart8250] enabled
[ 0.000000] OF: reserved mem: 0x0000000042ff0000..0x0000000042ffffff (64 KiB) map non-reusable ramoops@42ff0000
[ 0.000000] OF: reserved mem: 0x0000000043000000..0x000000004302ffff (192 KiB) nomap non-reusable secmon@43000000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x000000005fffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x0000000042ffffff]
[ 0.000000] node 0: [mem 0x0000000043000000-0x000000004302ffff]
[ 0.000000] node 0: [mem 0x0000000043030000-0x000000005fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv0.2 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: Trusted OS migration not required
[ 0.000000] percpu: Embedded 18 pages/cpu s34536 r8192 d31000 u73728
[ 0.000000] pcpu-alloc: s34536 r8192 d31000 u73728 alloc=18*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[ 0.000000] CPU features: detected: ARM erratum 843419
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Kernel command line: earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n8 swiotlb=512
[ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129024
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: area num 2.
[ 0.000000] software IO TLB: mapped [mem 0x000000005f4c0000-0x000000005f5c0000] (1MB)
[ 0.000000] Memory: 499780K/524288K available (8640K kernel code, 904K rwdata, 2496K rodata, 384K init, 294K bss, 24508K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] workqueue: name exceeds WQ_NAME_LEN. Truncating to: events_freezable_power_efficien
[ 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: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 12.50MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049cda, max_idle_ns: 440795202628 ns
[ 0.000000] sched_clock: 56 bits at 13MHz, resolution 80ns, wraps every 4398046511080ns
[ 0.008281] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)
[ 0.018680] pid_max: default: 32768 minimum: 301
[ 0.026113] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.033459] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.043876] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
[ 0.051623] rcu: Hierarchical SRCU implementation.
[ 0.056433] rcu: Max phase no-delay instances is 1000.
[ 0.062091] smp: Bringing up secondary CPUs ...
[ 0.067049] Detected VIPT I-cache on CPU1
[ 0.067123] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.067191] smp: Brought up 1 node, 2 CPUs
[ 0.081873] SMP: Total of 2 processors activated.
[ 0.086589] CPU features: detected: 32-bit EL0 Support
[ 0.091746] CPU features: detected: CRC32 instructions
[ 0.096925] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 0.105310] CPU: All CPU(s) started at EL2
[ 0.109415] alternatives: applying system-wide alternatives
[ 0.119267] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.129159] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.137206] pinctrl core: initialized pinctrl subsystem
[ 0.143380] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.149599] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.156703] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.164498] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.172880] thermal_sys: Registered thermal governor 'fair_share'
[ 0.172884] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.178996] thermal_sys: Registered thermal governor 'step_wise'
[ 0.185030] thermal_sys: Registered thermal governor 'user_space'
[ 0.191108] ASID allocator initialised with 65536 entries
[ 0.203307] pstore: Using crash dump compression: deflate
[ 0.208729] pstore: Registered ramoops as persistent store backend
[ 0.214928] ramoops: using 0x10000@0x42ff0000, ecc: 0
[ 0.229608] Modules: 29552 pages in range for non-PLT usage
[ 0.229621] Modules: 521072 pages in range for PLT usage
[ 0.236145] cryptd: max_cpu_qlen set to 1000
[ 0.247738] SCSI subsystem initialized
[ 0.251583] libata version 3.00 loaded.
[ 0.256759] clocksource: Switched to clocksource arch_sys_counter
[ 0.265076] NET: Registered PF_INET protocol family
[ 0.270096] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.278638] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.287040] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.294816] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.302616] TCP bind hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 0.309966] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.316412] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.322979] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.330160] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.335860] PCI: CLS 0 bytes, default 64
[ 0.341032] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[ 0.352098] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.357967] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.394823] jitterentropy: Initialization failed with host not compliant with requirements: 9
[ 0.404159] mt7622-pinctrl 10211000.pinctrl: invalid group "pwm_ch7_2" for function "pwm"
[ 0.421573] mt-pmic-pwrap 10001000.pwrap: unexpected interrupt int=0x1
[ 0.434828] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 0.442365] printk: console [ttyS0] disabled
[ 0.467080] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 118, base_baud = 1562500) is a ST16650V2
[ 0.476396] printk: console [ttyS0] enabled
[ 0.484781] printk: bootconsole [uart8250] disabled
[ 0.515569] 11004000.serial: ttyS1 at MMIO 0x11004000 (irq = 119, base_baud = 1562500) is a ST16650V2
[ 0.526138] mtk_rng 1020f000.rng: registered RNG driver
[ 0.526332] random: crng init done
[ 0.537332] loop: module loaded
[ 0.540949] mtk-ecc 1100e000.ecc: probed
[ 0.547785] spi-nand spi2.0: Toshiba SPI NAND was found.
[ 0.553105] spi-nand spi2.0: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
[ 0.561332] mtk-snand 1100d000.spi: ECC strength: 12 bits per 512 bytes
[ 0.569134] [BBT] BMT.v2 is found at 0x7ff
[ 0.573489] 17 fixed-partitions partitions found on MTD device spi2.0
[ 0.579957] OF: Bad cell count for /spi@1100d000/flash@0/partitions
[ 0.586229] OF: Bad cell count for /spi@1100d000/flash@0/partitions
[ 0.592705] Creating 17 MTD partitions on "spi2.0":
[ 0.597584] 0x000000000000-0x000000080000 : "Preloader"
[ 0.603822] 0x000000080000-0x0000000c0000 : "ATF"
[ 0.609157] 0x0000000c0000-0x000000140000 : "Bootloader"
[ 0.615404] 0x000000140000-0x0000001c0000 : "Config"
[ 0.621312] 0x0000001c0000-0x0000002c0000 : "Factory"
[ 0.628023] OF: Bad cell count for /spi@1100d000/flash@0/partitions
[ 0.634467] 0x0000002c0000-0x0000028c0000 : "firmware"
[ 0.690407] 2 fixed-partitions partitions found on MTD device firmware
[ 0.696942] Creating 2 MTD partitions on "firmware":
[ 0.701899] 0x000000000000-0x000000600000 : "kernel"
[ 0.707147] 0x000000600000-0x000002600000 : "ubi"
[ 0.712179] 0x0000028c0000-0x000004ec0000 : "firmware_backup"
[ 0.767602] 0x000004ec0000-0x0000056c0000 : "CFG"
[ 0.782884] 0x0000056c0000-0x000005ac0000 : "RAE"
[ 0.793056] 0x000005ac0000-0x000005bc0000 : "POT"
[ 0.799361] 0x000005bc0000-0x000005fc0000 : "Language"
[ 0.809942] 0x000005fc0000-0x0000061c0000 : "Traffic"
[ 0.817843] 0x0000061c0000-0x0000062c0000 : "Cert"
[ 0.824180] 0x0000062c0000-0x0000063c0000 : "NTGRcryptK"
[ 0.831072] 0x0000063c0000-0x0000068c0000 : "NTGRcryptD"
[ 0.843096] 0x0000068c0000-0x0000069c0000 : "LOG"
[ 0.849413] 0x0000069c0000-0x000007000000 : "User_data"
[ 1.238136] mtk_soc_eth 1b100000.ethernet eth0: mediatek frame engine at 0xffffffc0812c0000, irq 126
[ 1.247949] i2c_dev: i2c /dev entries driver
[ 1.253583] mtk-wdt 10212000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[ 1.263279] NET: Registered PF_INET6 protocol family
[ 1.269429] Segment Routing with IPv6
[ 1.273111] In-situ OAM (IOAM) with IPv6
[ 1.277089] NET: Registered PF_PACKET protocol family
[ 1.282234] 8021q: 802.1Q VLAN Support v1.8
[ 1.307432] mtk-pcie 1a143000.pcie: host bridge /pcie@1a143000 ranges:
[ 1.313986] mtk-pcie 1a143000.pcie: Parsing ranges property...
[ 1.319835] mtk-pcie 1a143000.pcie: MEM 0x0020000000..0x0027ffffff -> 0x0020000000
[ 1.593315] mtk-pcie 1a143000.pcie: PCI host bridge to bus 0000:00
[ 1.599527] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.605011] pci_bus 0000:00: root bus resource [mem 0x20000000-0x27ffffff]
[ 1.611899] pci_bus 0000:00: scanning bus
[ 1.616089] pci 0000:00:00.0: [14c3:3258] type 01 class 0x060400
[ 1.622279] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x1ffffffff 64bit pref]
[ 1.632579] pci_bus 0000:00: fixups for bus
[ 1.636782] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 0
[ 1.643478] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 1.651554] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 1
[ 1.658652] pci_bus 0000:01: scanning bus
[ 1.662815] pci 0000:01:00.0: [14c3:7915] type 00 class 0x000280
[ 1.669003] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[ 1.676329] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[ 1.683658] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[ 1.691634] pci 0000:01:00.0: supports D1 D2
[ 1.695900] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1.702539] pci 0000:01:00.0: PME# disabled
[ 1.707072] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[ 1.746979] pci_bus 0000:01: fixups for bus
[ 1.751170] pci_bus 0000:01: bus scan returning with max=01
[ 1.756776] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 1.763412] pci_bus 0000:00: bus scan returning with max=01
[ 1.769037] pci 0000:00:00.0: BAR 0: no space for [mem size 0x200000000 64bit pref]
[ 1.776702] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x200000000 64bit pref]
[ 1.784705] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff]
[ 1.791497] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit pref]
[ 1.799322] pci 0000:01:00.0: BAR 2: assigned [mem 0x20100000-0x20103fff 64bit pref]
[ 1.807149] pci 0000:01:00.0: BAR 4: assigned [mem 0x20104000-0x20104fff 64bit pref]
[ 1.814968] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 1.819935] pci 0000:00:00.0: bridge window [mem 0x20000000-0x201fffff]
[ 1.826854] pcieport 0000:00:00.0: assign IRQ: got 130
[ 1.831993] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[ 1.838102] pcieport 0000:00:00.0: enabling bus mastering
[ 1.843554] mtk-pcie 1a143000.pcie: msi#0 address_hi 0x0 address_lo 0x44f150c0
[ 1.850939] pcieport 0000:00:00.0: PME: Signaling with IRQ 130
[ 1.856840] pcieport 0000:00:00.0: save config 0x00: 0x325814c3
[ 1.862755] pcieport 0000:00:00.0: save config 0x04: 0x00100006
[ 1.868678] pcieport 0000:00:00.0: save config 0x08: 0x06040000
[ 1.874592] pcieport 0000:00:00.0: save config 0x0c: 0x00010000
[ 1.880510] pcieport 0000:00:00.0: save config 0x10: 0x0000000c
[ 1.886423] pcieport 0000:00:00.0: save config 0x14: 0x00000000
[ 1.892340] pcieport 0000:00:00.0: save config 0x18: 0x40010100
[ 1.898257] pcieport 0000:00:00.0: save config 0x1c: 0x04200000
[ 1.904171] pcieport 0000:00:00.0: save config 0x20: 0x20102000
[ 1.910088] pcieport 0000:00:00.0: save config 0x24: 0x00000000
[ 1.916001] pcieport 0000:00:00.0: save config 0x28: 0x00000000
[ 1.921918] pcieport 0000:00:00.0: save config 0x2c: 0x00000000
[ 1.927838] pcieport 0000:00:00.0: save config 0x30: 0x00000000
[ 1.933751] pcieport 0000:00:00.0: save config 0x34: 0x00000050
[ 1.939668] pcieport 0000:00:00.0: save config 0x38: 0x00000000
[ 1.945581] pcieport 0000:00:00.0: save config 0x3c: 0x00020182
[ 1.951939] mtk-pcie 1a145000.pcie: host bridge /pcie@1a145000 ranges:
[ 1.958483] mtk-pcie 1a145000.pcie: Parsing ranges property...
[ 1.964313] mtk-pcie 1a145000.pcie: MEM 0x0028000000..0x002fffffff -> 0x0028000000
[ 2.306802] mtk-pcie 1a145000.pcie: Port1 link down
[ 2.311848] mtk-pcie 1a145000.pcie: PCI host bridge to bus 0001:00
[ 2.318042] pci_bus 0001:00: root bus resource [bus 00-ff]
[ 2.323526] pci_bus 0001:00: root bus resource [mem 0x28000000-0x2fffffff]
[ 2.330403] pci_bus 0001:00: scanning bus
[ 2.336009] pci_bus 0001:00: fixups for bus
[ 2.340191] pci_bus 0001:00: bus scan returning with max=00
[ 2.346378] mtk_hsdma 1b007000.dma-controller: MediaTek HSDMA driver registered
[ 2.411591] mt7530-mdio mdio-bus:00: configuring for fixed/2500base-x link mode
[ 2.420570] mt7530-mdio mdio-bus:00: Link is Up - 2.5Gbps/Full - flow control rx/tx
[ 2.430087] mt7530-mdio mdio-bus:00 lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7531 PHY] (irq=133)
[ 2.450659] mt7530-mdio mdio-bus:00 lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7531 PHY] (irq=134)
[ 2.470869] mt7530-mdio mdio-bus:00 lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7531 PHY] (irq=135)
[ 2.491066] mt7530-mdio mdio-bus:00 lan4 (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7531 PHY] (irq=136)
[ 2.736934] mt7530-mdio mdio-bus:00 wan (uninitialized): PHY [mdio-bus:07] driver [Generic Clause 45 PHY] (irq=POLL)
[ 2.748442] mtk_soc_eth 1b100000.ethernet eth0: entered promiscuous mode
[ 2.755200] DSA: tree 0 setup
[ 2.759092] UBI: auto-attach mtd7
[ 2.762418] ubi0: default fastmap pool size: 10
[ 2.766981] ubi0: default fastmap WL pool size: 5
[ 2.771682] ubi0: attaching mtd7
[ 2.855819] ubi0: scanning is finished
[ 2.863473] ubi0: attached mtd7 (name "ubi", size 32 MiB)
[ 2.868897] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 2.875771] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 2.882560] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 2.889518] ubi0: good PEBs: 256, bad PEBs: 0, corrupted PEBs: 0
[ 2.895518] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 2.902742] ubi0: max/mean erase counter: 7/4, WL threshold: 4096, image sequence number: 1690890236
[ 2.911876] ubi0: available PEBs: 0, total reserved PEBs: 256, PEBs reserved for bad PEB handling: 39
[ 2.921101] ubi0: background thread "ubi_bgt0d" started, PID 640
[ 2.921850] block ubiblock0_0: created from ubi0:0(rootfs)
[ 2.932591] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[ 2.939646] clk: Disabling unused clocks
[ 2.947995] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 2.955294] Freeing unused kernel memory: 384K
[ 2.959818] Run /sbin/init as init process
[ 2.963906] with arguments:
[ 2.966871] /sbin/init
[ 2.969569] with environment:
[ 2.972699] HOME=/
[ 2.975049] TERM=linux
[ 3.167879] init: Console is alive
[ 3.171387] init: - watchdog -
[ 3.509758] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.524596] gpio_button_hotplug: loading out-of-tree module taints kernel.
[ 3.535138] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.547786] init: - preinit -
[ 3.863510] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/2500base-x link mode
[ 3.871985] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[ 3.879292] mt7530-mdio mdio-bus:00 lan1: configuring for phy/gmii link mode
[ 5.190085] mt7530-mdio mdio-bus:00 lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 6.045961] UBIFS (ubi0:1): Mounting in unauthenticated mode
[ 6.051737] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 733
[ 6.074376] UBIFS (ubi0:1): recovery needed
[ 6.154309] UBIFS (ubi0:1): recovery completed
[ 6.158860] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[ 6.166689] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 6.176618] UBIFS (ubi0:1): FS size: 17649664 bytes (16 MiB, 139 LEBs), max 149 LEBs, journal size 1015809 bytes (0 MiB, 7 LEBs)
[ 6.188191] UBIFS (ubi0:1): reserved for root: 833637 bytes (814 KiB)
[ 6.194628] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID B57872D5-3F67-48ED-AA24-1771C77A01D6, small LPT model
[ 6.208874] mount_root: switching to ubifs overlay
[ 6.218548] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[ 6.233310] urandom-seed: Seeding with /etc/urandom.seed
[ 6.287374] mt7530-mdio mdio-bus:00 lan1: Link is Down
[ 6.299133] procd: - early -
[ 6.302098] procd: - watchdog -
[ 6.879268] procd: - watchdog -
[ 6.884094] procd: - ubus -
[ 7.043801] procd: - init -
[ 7.562056] kmodloader: loading kernel modules from /etc/modules.d/*
[ 7.600000] GACT probability on
[ 7.603575] Mirror/redirect action on
[ 7.619043] u32 classifier
[ 7.621757] input device check on
[ 7.625408] Actions configured
[ 7.640278] Loading modules backported from Linux version v6.6.15-0-g51f354b815c4
[ 7.647781] Backport generated by backports.git 193becf2
[ 7.697479] urngd: v1.0.2 started.
[ 7.757154] mt7622-wmac 18000000.wmac: registering led 'mt76-phy0'
[ 7.763944] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 7.788664] mt7915e 0000:01:00.0: assign IRQ: got 130
[ 7.793767] mt7915e 0000:01:00.0: enabling device (0000 -> 0002)
[ 7.799884] mt7915e 0000:01:00.0: enabling bus mastering
[ 7.897362] mt7622-wmac 18000000.wmac: HW/SW Version: 0x8a108a10, Build Time: 20190801210006a
[ 7.897362]
[ 7.917051] mtk-pcie 1a143000.pcie: msi#0 address_hi 0x0 address_lo 0x44f150c0
[ 8.028491] mt7915e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220929104113a
[ 8.028491]
[ 8.053064] mt7622-wmac 18000000.wmac: N9 Firmware Version: _reserved_, Build Time: 20220630094834
[ 8.160958] mt7915e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20220929104145
[ 8.223212] mt7915e 0000:01:00.0: WA Firmware Version: DEV_000000, Build Time: 20220929104205
[ 8.339689] mt7915e 0000:01:00.0: registering led 'mt76-phy1'
[ 8.383862] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 12.810841] mtk_soc_eth 1b100000.ethernet eth0: Link is Down
[ 13.167026] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/2500base-x link mode
[ 13.179306] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[ 13.182048] mt7530-mdio mdio-bus:00 lan2: configuring for phy/gmii link mode
[ 13.208346] br-lan: port 1(lan2) entered blocking state
[ 13.213592] br-lan: port 1(lan2) entered disabled state
[ 13.218928] mt7530-mdio mdio-bus:00 lan2: entered allmulticast mode
[ 13.225201] mtk_soc_eth 1b100000.ethernet eth0: entered allmulticast mode
[ 13.236238] mt7530-mdio mdio-bus:00 lan2: entered promiscuous mode
[ 13.260985] mt7530-mdio mdio-bus:00 lan3: configuring for phy/gmii link mode
[ 13.274924] br-lan: port 2(lan3) entered blocking state
[ 13.280255] br-lan: port 2(lan3) entered disabled state
[ 13.285519] mt7530-mdio mdio-bus:00 lan3: entered allmulticast mode
[ 13.294409] mt7530-mdio mdio-bus:00 lan3: entered promiscuous mode
[ 13.321277] mt7530-mdio mdio-bus:00 lan4: configuring for phy/gmii link mode
[ 13.332378] br-lan: port 3(lan4) entered blocking state
[ 13.337673] br-lan: port 3(lan4) entered disabled state
[ 13.342933] mt7530-mdio mdio-bus:00 lan4: entered allmulticast mode
[ 13.351921] mt7530-mdio mdio-bus:00 lan4: entered promiscuous mode
[ 13.369427] mt7530-mdio mdio-bus:00 lan1: configuring for phy/gmii link mode
[ 15.309826] br-lan: port 4(wl0-ap0) entered blocking state
[ 15.315323] br-lan: port 4(wl0-ap0) entered disabled state
[ 15.320904] mt7622-wmac 18000000.wmac wl0-ap0: entered allmulticast mode
[ 15.327811] mt7622-wmac 18000000.wmac wl0-ap0: entered promiscuous mode
[ 15.334533] br-lan: port 4(wl0-ap0) entered blocking state
[ 15.340032] br-lan: port 4(wl0-ap0) entered forwarding state
[ 15.347871] br-lan: port 4(wl0-ap0) entered disabled state
[ 15.438572] br-lan: port 5(wl1-ap0) entered blocking state
[ 15.444084] br-lan: port 5(wl1-ap0) entered disabled state
[ 15.449662] mt7915e 0000:01:00.0 wl1-ap0: entered allmulticast mode
[ 15.456160] mt7915e 0000:01:00.0 wl1-ap0: entered promiscuous mode
[ 15.462658] br-lan: port 5(wl1-ap0) entered blocking state
[ 15.468161] br-lan: port 5(wl1-ap0) entered forwarding state
[ 16.162514] mt7530-mdio mdio-bus:00 lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 16.346940] br-lan: port 5(wl1-ap0) entered disabled state
[ 24.854407] br-lan: port 4(wl0-ap0) entered blocking state
[ 24.859950] br-lan: port 4(wl0-ap0) entered forwarding state
[ 96.293150] br-lan: port 5(wl1-ap0) entered blocking state
[ 96.298706] br-lan: port 5(wl1-ap0) entered forwarding state
```
</details>
6.1 full log
<details>
```[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.1.82 (@) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.2.0 r25829-e6f7e9dca9) 13.2.0, GNU ld (GNU Binutils) 2.42) #0 SMP Fri Apr 5 19:36:27 2024
[ 0.000000] Machine model: Netgear WAX206
[ 0.000000] earlycon: uart8250 at MMIO32 0x0000000011002000 (options '')
[ 0.000000] printk: bootconsole [uart8250] enabled
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x000000005fffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x0000000042ffffff]
[ 0.000000] node 0: [mem 0x0000000043000000-0x000000004302ffff]
[ 0.000000] node 0: [mem 0x0000000043030000-0x000000005fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv0.2 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: Trusted OS migration not required
[ 0.000000] percpu: Embedded 18 pages/cpu s33384 r8192 d32152 u73728
[ 0.000000] pcpu-alloc: s33384 r8192 d32152 u73728 alloc=18*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[ 0.000000] CPU features: detected: ARM erratum 843419
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129024
[ 0.000000] Kernel command line: earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n8 swiotlb=512
[ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 501076K/524288K available (8448K kernel code, 894K rwdata, 2408K rodata, 448K init, 295K bss, 23212K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 12.50MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049cda, max_idle_ns: 440795202628 ns
[ 0.000000] sched_clock: 56 bits at 13MHz, resolution 80ns, wraps every 4398046511080ns
[ 0.008278] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)
[ 0.018675] pid_max: default: 32768 minimum: 301
[ 0.023573] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.030919] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.039917] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.047182] cblist_init_generic: Setting shift to 1 and lim to 1.
[ 0.053418] rcu: Hierarchical SRCU implementation.
[ 0.058227] rcu: Max phase no-delay instances is 1000.
[ 0.063851] smp: Bringing up secondary CPUs ...
[ 0.068768] Detected VIPT I-cache on CPU1
[ 0.068859] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.068918] smp: Brought up 1 node, 2 CPUs
[ 0.083592] SMP: Total of 2 processors activated.
[ 0.088308] CPU features: detected: 32-bit EL0 Support
[ 0.093464] CPU features: detected: CRC32 instructions
[ 0.098641] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 0.107028] CPU: All CPU(s) started at EL2
[ 0.111132] alternatives: applying system-wide alternatives
[ 0.121438] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.131332] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.138282] pinctrl core: initialized pinctrl subsystem
[ 0.144235] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.150461] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.157564] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.165355] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.173716] thermal_sys: Registered thermal governor 'fair_share'
[ 0.173720] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.179831] thermal_sys: Registered thermal governor 'step_wise'
[ 0.185865] thermal_sys: Registered thermal governor 'user_space'
[ 0.191940] ASID allocator initialised with 65536 entries
[ 0.203837] pstore: Registered ramoops as persistent store backend
[ 0.210043] ramoops: using 0x10000@0x42ff0000, ecc: 0
[ 0.234698] cryptd: max_cpu_qlen set to 1000
[ 0.239805] SCSI subsystem initialized
[ 0.243674] libata version 3.00 loaded.
[ 0.248667] clocksource: Switched to clocksource arch_sys_counter
[ 0.255510] NET: Registered PF_INET protocol family
[ 0.260527] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.268319] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.276718] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.284498] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.292304] TCP bind hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 0.299656] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.306100] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.312667] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.319769] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.325467] PCI: CLS 0 bytes, default 64
[ 0.330368] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[ 0.340511] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.346371] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.389881] mt7622-pinctrl 10211000.pinctrl: invalid group "pwm_ch7_2" for function "pwm"
[ 0.401599] mt-pmic-pwrap 10001000.pwrap: unexpected interrupt int=0x1
[ 0.416680] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 0.423989] printk: console [ttyS0] disabled
[ 0.448433] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 118, base_baud = 1562500) is a ST16650V2
[ 0.457743] printk: console [ttyS0] enabled
[ 0.466114] printk: bootconsole [uart8250] disabled
[ 0.496590] 11004000.serial: ttyS1 at MMIO 0x11004000 (irq = 119, base_baud = 1562500) is a ST16650V2
[ 0.506785] mtk_rng 1020f000.rng: registered RNG driver
[ 0.512425] random: crng init done
[ 0.518930] loop: module loaded
[ 0.522500] mtk-ecc 1100e000.ecc: probed
[ 0.529012] spi-nand spi2.0: Toshiba SPI NAND was found.
[ 0.534333] spi-nand spi2.0: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
[ 0.542574] mtk-snand 1100d000.spi: ECC strength: 12 bits per 512 bytes
[ 0.550371] [BBT] BMT.v2 is found at 0x7ff
[ 0.554647] 17 fixed-partitions partitions found on MTD device spi2.0
[ 0.561109] OF: Bad cell count for /spi@1100d000/flash@0/partitions
[ 0.567378] OF: Bad cell count for /spi@1100d000/flash@0/partitions
[ 0.573838] Creating 17 MTD partitions on "spi2.0":
[ 0.578716] 0x000000000000-0x000000080000 : "Preloader"
[ 0.584950] 0x000000080000-0x0000000c0000 : "ATF"
[ 0.590258] 0x0000000c0000-0x000000140000 : "Bootloader"
[ 0.596511] 0x000000140000-0x0000001c0000 : "Config"
[ 0.602481] 0x0000001c0000-0x0000002c0000 : "Factory"
[ 0.609209] OF: Bad cell count for /spi@1100d000/flash@0/partitions
[ 0.615646] 0x0000002c0000-0x0000028c0000 : "firmware"
[ 0.672438] 2 fixed-partitions partitions found on MTD device firmware
[ 0.678976] Creating 2 MTD partitions on "firmware":
[ 0.683932] 0x000000000000-0x000000600000 : "kernel"
[ 0.689169] 0x000000600000-0x000002600000 : "ubi"
[ 0.694175] 0x0000028c0000-0x000004ec0000 : "firmware_backup"
[ 0.750544] 0x000004ec0000-0x0000056c0000 : "CFG"
[ 0.765849] 0x0000056c0000-0x000005ac0000 : "RAE"
[ 0.776284] 0x000005ac0000-0x000005bc0000 : "POT"
[ 0.782613] 0x000005bc0000-0x000005fc0000 : "Language"
[ 0.793432] 0x000005fc0000-0x0000061c0000 : "Traffic"
[ 0.801488] 0x0000061c0000-0x0000062c0000 : "Cert"
[ 0.807879] 0x0000062c0000-0x0000063c0000 : "NTGRcryptK"
[ 0.814880] 0x0000063c0000-0x0000068c0000 : "NTGRcryptD"
[ 0.827218] 0x0000068c0000-0x0000069c0000 : "LOG"
[ 0.833547] 0x0000069c0000-0x000007000000 : "User_data"
[ 1.340347] mtk_soc_eth 1b100000.ethernet eth0: mediatek frame engine at 0xffffffc0092a0000, irq 126
[ 1.350166] i2c_dev: i2c /dev entries driver
[ 1.355728] mtk-wdt 10212000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[ 1.365497] NET: Registered PF_INET6 protocol family
[ 1.371128] Segment Routing with IPv6
[ 1.374804] In-situ OAM (IOAM) with IPv6
[ 1.378804] NET: Registered PF_PACKET protocol family
[ 1.383960] 8021q: 802.1Q VLAN Support v1.8
[ 1.389743] pstore: Using crash dump compression: deflate
[ 1.408376] mtk-pcie 1a143000.pcie: host bridge /pcie@1a143000 ranges:
[ 1.414991] mtk-pcie 1a143000.pcie: Parsing ranges property...
[ 1.420830] mtk-pcie 1a143000.pcie: MEM 0x0020000000..0x0027ffffff -> 0x0020000000
[ 1.695086] mtk-pcie 1a143000.pcie: PCI host bridge to bus 0000:00
[ 1.701295] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.706781] pci_bus 0000:00: root bus resource [mem 0x20000000-0x27ffffff]
[ 1.713662] pci_bus 0000:00: scanning bus
[ 1.717715] pci 0000:00:00.0: [14c3:3258] type 01 class 0x060400
[ 1.723751] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x1ffffffff 64bit pref]
[ 1.732604] pci_bus 0000:00: fixups for bus
[ 1.736785] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 0
[ 1.743487] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 1.751499] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 1
[ 1.758288] pci_bus 0000:01: scanning bus
[ 1.762442] pci 0000:01:00.0: [14c3:7915] type 00 class 0x000280
[ 1.768620] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[ 1.775947] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[ 1.783274] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[ 1.791230] pci 0000:01:00.0: supports D1 D2
[ 1.795492] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1.802128] pci 0000:01:00.0: PME# disabled
[ 1.806629] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[ 1.848913] pci_bus 0000:01: fixups for bus
[ 1.853106] pci_bus 0000:01: bus scan returning with max=01
[ 1.858715] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 1.865348] pci_bus 0000:00: bus scan returning with max=01
[ 1.870966] pci 0000:00:00.0: BAR 0: no space for [mem size 0x200000000 64bit pref]
[ 1.878631] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x200000000 64bit pref]
[ 1.886633] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff]
[ 1.893424] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit pref]
[ 1.901249] pci 0000:01:00.0: BAR 2: assigned [mem 0x20100000-0x20103fff 64bit pref]
[ 1.909076] pci 0000:01:00.0: BAR 4: assigned [mem 0x20104000-0x20104fff 64bit pref]
[ 1.916896] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 1.921863] pci 0000:00:00.0: bridge window [mem 0x20000000-0x201fffff]
[ 1.928770] pcieport 0000:00:00.0: assign IRQ: got 130
[ 1.933909] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[ 1.940019] pcieport 0000:00:00.0: enabling bus mastering
[ 1.945461] mtk-pcie 1a143000.pcie: msi#0 address_hi 0x0 address_lo 0x44e150c0
[ 1.952841] pcieport 0000:00:00.0: PME: Signaling with IRQ 130
[ 1.958742] pcieport 0000:00:00.0: saving config space at offset 0x0 (reading 0x325814c3)
[ 1.966913] pcieport 0000:00:00.0: saving config space at offset 0x4 (reading 0x100006)
[ 1.974919] pcieport 0000:00:00.0: saving config space at offset 0x8 (reading 0x6040000)
[ 1.983008] pcieport 0000:00:00.0: saving config space at offset 0xc (reading 0x10000)
[ 1.990922] pcieport 0000:00:00.0: saving config space at offset 0x10 (reading 0xc)
[ 1.998570] pcieport 0000:00:00.0: saving config space at offset 0x14 (reading 0x0)
[ 2.006223] pcieport 0000:00:00.0: saving config space at offset 0x18 (reading 0x40010100)
[ 2.014484] pcieport 0000:00:00.0: saving config space at offset 0x1c (reading 0x4200000)
[ 2.022658] pcieport 0000:00:00.0: saving config space at offset 0x20 (reading 0x20102000)
[ 2.030923] pcieport 0000:00:00.0: saving config space at offset 0x24 (reading 0x0)
[ 2.038572] pcieport 0000:00:00.0: saving config space at offset 0x28 (reading 0x0)
[ 2.046224] pcieport 0000:00:00.0: saving config space at offset 0x2c (reading 0x0)
[ 2.053877] pcieport 0000:00:00.0: saving config space at offset 0x30 (reading 0x0)
[ 2.061530] pcieport 0000:00:00.0: saving config space at offset 0x34 (reading 0x50)
[ 2.069269] pcieport 0000:00:00.0: saving config space at offset 0x38 (reading 0x0)
[ 2.076917] pcieport 0000:00:00.0: saving config space at offset 0x3c (reading 0x20182)
[ 2.085357] mtk-pcie 1a145000.pcie: host bridge /pcie@1a145000 ranges:
[ 2.091906] mtk-pcie 1a145000.pcie: Parsing ranges property...
[ 2.097735] mtk-pcie 1a145000.pcie: MEM 0x0028000000..0x002fffffff -> 0x0028000000
[ 2.438733] mtk-pcie 1a145000.pcie: Port1 link down
[ 2.443763] mtk-pcie 1a145000.pcie: PCI host bridge to bus 0001:00
[ 2.449956] pci_bus 0001:00: root bus resource [bus 00-ff]
[ 2.455439] pci_bus 0001:00: root bus resource [mem 0x28000000-0x2fffffff]
[ 2.462316] pci_bus 0001:00: scanning bus
[ 2.467917] pci_bus 0001:00: fixups for bus
[ 2.472102] pci_bus 0001:00: bus scan returning with max=00
[ 2.478254] mtk_hsdma 1b007000.dma-controller: MediaTek HSDMA driver registered
[ 2.527082] mt7530-mdio mdio-bus:00: configuring for fixed/2500base-x link mode
[ 2.536093] mt7530-mdio mdio-bus:00: Link is Up - 2.5Gbps/Full - flow control rx/tx
[ 2.545596] mt7530-mdio mdio-bus:00 lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7531 PHY] (irq=133)
[ 2.566339] mt7530-mdio mdio-bus:00 lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7531 PHY] (irq=134)
[ 2.586594] mt7530-mdio mdio-bus:00 lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7531 PHY] (irq=135)
[ 2.606760] mt7530-mdio mdio-bus:00 lan4 (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7531 PHY] (irq=136)
[ 2.848736] mt7530-mdio mdio-bus:00 wan (uninitialized): PHY [mdio-bus:07] driver [RTL8221B-VB-CG 2.5Gbps PHY] (irq=POLL)
[ 2.860882] device eth0 entered promiscuous mode
[ 2.865564] DSA: tree 0 setup
[ 2.869545] UBI: auto-attach mtd7
[ 2.872875] ubi0: default fastmap pool size: 10
[ 2.877397] ubi0: default fastmap WL pool size: 5
[ 2.882101] ubi0: attaching mtd7
[ 2.964902] ubi0: scanning is finished
[ 2.972672] ubi0: attached mtd7 (name "ubi", size 32 MiB)
[ 2.978077] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 2.984963] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 2.991751] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 2.998711] ubi0: good PEBs: 256, bad PEBs: 0, corrupted PEBs: 0
[ 3.004710] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 3.011929] ubi0: max/mean erase counter: 7/4, WL threshold: 4096, image sequence number: 1690890236
[ 3.021056] ubi0: available PEBs: 0, total reserved PEBs: 256, PEBs reserved for bad PEB handling: 39
[ 3.030277] ubi0: background thread "ubi_bgt0d" started, PID 514
[ 3.036800] block ubiblock0_0: created from ubi0:0(rootfs)
[ 3.042296] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[ 3.053970] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 3.061319] Freeing unused kernel memory: 448K
[ 3.088873] Run /sbin/init as init process
[ 3.092970] with arguments:
[ 3.095932] /sbin/init
[ 3.098632] with environment:
[ 3.101795] HOME=/
[ 3.104151] TERM=linux
[ 3.302518] init: Console is alive
[ 3.306041] init: - watchdog -
[ 3.646498] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.664049] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.672457] init: - preinit -
[ 3.959113] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/2500base-x link mode
[ 3.967571] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[ 3.975154] mt7530-mdio mdio-bus:00 lan1: configuring for phy/gmii link mode
[ 3.983813] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 5.274470] mt7530-mdio mdio-bus:00 lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 5.282489] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
[ 6.113773] UBIFS (ubi0:1): Mounting in unauthenticated mode
[ 6.119544] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 605
[ 6.168273] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[ 6.176136] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 6.186057] UBIFS (ubi0:1): FS size: 17649664 bytes (16 MiB, 139 LEBs), max 149 LEBs, journal size 1015809 bytes (0 MiB, 7 LEBs)
[ 6.197633] UBIFS (ubi0:1): reserved for root: 833637 bytes (814 KiB)
[ 6.204078] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 3FBB18DA-7B29-4B49-A63C-97B1FE7001BF, small LPT model
[ 6.216412] mount_root: overlay filesystem has not been fully initialized yet
[ 6.224171] mount_root: switching to ubifs overlay
[ 6.231534] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[ 6.412702] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 6.466562] mt7530-mdio mdio-bus:00 lan1: Link is Down
[ 6.477403] procd: - early -
[ 6.480612] procd: - watchdog -
[ 7.044909] procd: - watchdog -
[ 7.048433] procd: - ubus -
[ 7.204649] procd: - init -
[ 7.737185] kmodloader: loading kernel modules from /etc/modules.d/*
[ 7.764467] urngd: v1.0.2 started.
[ 7.810217] GACT probability on
[ 7.813767] Mirror/redirect action on
[ 7.822186] u32 classifier
[ 7.824900] input device check on
[ 7.828551] Actions configured
[ 7.843551] Loading modules backported from Linux version v6.6.15-0-g51f354b815c4
[ 7.851072] Backport generated by backports.git 193becf2
[ 7.939239] mt7622-wmac 18000000.wmac: registering led 'mt76-phy0'
[ 7.946055] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 7.970481] mt7915e 0000:01:00.0: assign IRQ: got 130
[ 7.975592] mt7915e 0000:01:00.0: enabling device (0000 -> 0002)
[ 7.981737] mt7915e 0000:01:00.0: enabling bus mastering
[ 8.025108] mt7622-wmac 18000000.wmac: HW/SW Version: 0x8a108a10, Build Time: 20190801210006a
[ 8.025108]
[ 8.109652] mtk-pcie 1a143000.pcie: msi#0 address_hi 0x0 address_lo 0x44e150c0
[ 8.127482] mt7622-wmac 18000000.wmac: N9 Firmware Version: _reserved_, Build Time: 20220630094834
[ 8.174512] mt7915e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220929104113a
[ 8.174512]
[ 8.315238] mt7915e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20220929104145
[ 8.362476] mt7915e 0000:01:00.0: WA Firmware Version: DEV_000000, Build Time: 20220929104205
[ 8.478854] mt7915e 0000:01:00.0: registering led 'mt76-phy1'
[ 8.526334] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 13.788998] mtk_soc_eth 1b100000.ethernet eth0: Link is Down
[ 14.090023] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/2500base-x link mode
[ 14.098723] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[ 14.108786] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 14.121177] mt7530-mdio mdio-bus:00 lan2: configuring for phy/gmii link mode
[ 14.131546] br-lan: port 1(lan2) entered blocking state
[ 14.136788] br-lan: port 1(lan2) entered disabled state
[ 14.145920] device lan2 entered promiscuous mode
[ 14.163795] mt7530-mdio mdio-bus:00 lan3: configuring for phy/gmii link mode
[ 14.173957] br-lan: port 2(lan3) entered blocking state
[ 14.179236] br-lan: port 2(lan3) entered disabled state
[ 14.187823] device lan3 entered promiscuous mode
[ 14.199822] mt7530-mdio mdio-bus:00 lan4: configuring for phy/gmii link mode
[ 14.210364] br-lan: port 3(lan4) entered blocking state
[ 14.215601] br-lan: port 3(lan4) entered disabled state
[ 14.223075] device lan4 entered promiscuous mode
[ 14.237684] mt7530-mdio mdio-bus:00 lan1: configuring for phy/gmii link mode
[ 16.120555] br-lan: port 4(wl0-ap0) entered blocking state
[ 16.126052] br-lan: port 4(wl0-ap0) entered disabled state
[ 16.131787] device wl0-ap0 entered promiscuous mode
[ 16.218202] br-lan: port 5(wl1-ap0) entered blocking state
[ 16.223748] br-lan: port 5(wl1-ap0) entered disabled state
[ 16.229476] device wl1-ap0 entered promiscuous mode
[ 16.234491] br-lan: port 5(wl1-ap0) entered blocking state
[ 16.240010] br-lan: port 5(wl1-ap0) entered forwarding state
[ 16.245997] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 16.867860] mt7530-mdio mdio-bus:00 lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 16.875867] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
[ 17.118859] br-lan: port 5(wl1-ap0) entered disabled state
[ 25.554380] IPv6: ADDRCONF(NETDEV_CHANGE): wl0-ap0: link becomes ready
[ 25.561086] br-lan: port 4(wl0-ap0) entered blocking state
[ 25.566572] br-lan: port 4(wl0-ap0) entered forwarding state
[ 96.290638] IPv6: ADDRCONF(NETDEV_CHANGE): wl1-ap0: link becomes ready
[ 96.297562] br-lan: port 5(wl1-ap0) entered blocking state
[ 96.303109] br-lan: port 5(wl1-ap0) entered forwarding state
```
</details>
### OpenWrt version
r25803-b906a9c78e
### OpenWrt release
SNAPSHOT
### OpenWrt target/subtarget
mediatek/mt7622
### Device
Netgear WAX206
### Image kind
Self-built image
### Steps to reproduce
Build with testing kernel.
### Actual behaviour
No link. Port inoperable.
### Expected behaviour
_No response_
### Additional info
https://forum.openwrt.org/t/kernel-6-6-mediatek-mt7622-wan-issue/191108
### Diffconfig
```
CONFIG_TARGET_mediatek=y
CONFIG_TARGET_mediatek_mt7622=y
CONFIG_TARGET_mediatek_mt7622_DEVICE_netgear_wax206=y
CONFIG_DEVEL=y
CONFIG_TOOLCHAINOPTS=y
# CONFIG_BINUTILS_USE_VERSION_2_40 is not set
CONFIG_BINUTILS_USE_VERSION_2_42=y
CONFIG_BINUTILS_VERSION="2.42"
CONFIG_BINUTILS_VERSION_2_42=y
CONFIG_BPF_TOOLCHAIN_BUILD_LLVM=y
# CONFIG_BPF_TOOLCHAIN_NONE is not set
# CONFIG_GDB is not set
CONFIG_HAS_BPF_TOOLCHAIN=y
CONFIG_LIBCURL_COOKIES=y
CONFIG_LIBCURL_FILE=y
CONFIG_LIBCURL_FTP=y
CONFIG_LIBCURL_HTTP=y
CONFIG_LIBCURL_MBEDTLS=y
CONFIG_LIBCURL_NGHTTP2=y
CONFIG_LIBCURL_NO_SMB="!"
CONFIG_LIBCURL_PROXY=y
CONFIG_LIBCURL_UNIX_SOCKETS=y
CONFIG_LINUX_6_6=y
CONFIG_OPENSSL_ENGINE=y
CONFIG_OPENSSL_WITH_ASM=y
CONFIG_OPENSSL_WITH_CHACHA_POLY1305=y
CONFIG_OPENSSL_WITH_CMS=y
CONFIG_OPENSSL_WITH_DEPRECATED=y
CONFIG_OPENSSL_WITH_ERROR_MESSAGES=y
CONFIG_OPENSSL_WITH_IDEA=y
CONFIG_OPENSSL_WITH_MDC2=y
CONFIG_OPENSSL_WITH_PSK=y
CONFIG_OPENSSL_WITH_SEED=y
CONFIG_OPENSSL_WITH_SRP=y
CONFIG_OPENSSL_WITH_TLS13=y
CONFIG_OPENSSL_WITH_WHIRLPOOL=y
CONFIG_PACKAGE_adblock=y
CONFIG_PACKAGE_banip=y
CONFIG_PACKAGE_bcp38=y
CONFIG_PACKAGE_bridger=y
CONFIG_PACKAGE_cgi-io=y
CONFIG_PACKAGE_coreutils=y
CONFIG_PACKAGE_coreutils-sort=y
CONFIG_PACKAGE_curl=y
CONFIG_PACKAGE_haveged=y
CONFIG_PACKAGE_https-dns-proxy=y
CONFIG_PACKAGE_irqbalance=y
CONFIG_PACKAGE_kmod-crypto-geniv=y
CONFIG_PACKAGE_kmod-crypto-sha3=y
CONFIG_PACKAGE_kmod-ifb=y
# CONFIG_PACKAGE_kmod-lib-crc-ccitt is not set
# CONFIG_PACKAGE_kmod-ppp is not set
CONFIG_PACKAGE_kmod-sched-act-vlan=y
CONFIG_PACKAGE_kmod-sched-bpf=y
CONFIG_PACKAGE_kmod-sched-cake=y
CONFIG_PACKAGE_kmod-sched-core=y
CONFIG_PACKAGE_kmod-sched-flower=y
# CONFIG_PACKAGE_knot-resolver_dnstap is not set
CONFIG_PACKAGE_libbpf=y
CONFIG_PACKAGE_libcares=y
CONFIG_PACKAGE_libcurl=y
CONFIG_PACKAGE_libelf=y
CONFIG_PACKAGE_libev=y
CONFIG_PACKAGE_libhavege=y
CONFIG_PACKAGE_liblucihttp=y
CONFIG_PACKAGE_liblucihttp-ucode=y
CONFIG_PACKAGE_libnghttp2=y
CONFIG_PACKAGE_libnghttp3=y
CONFIG_PACKAGE_libngtcp2=y
CONFIG_PACKAGE_libopenssl=y
CONFIG_PACKAGE_luci-app-adblock=y
CONFIG_PACKAGE_luci-app-banip=y
CONFIG_PACKAGE_luci-app-bcp38=y
CONFIG_PACKAGE_luci-app-firewall=y
CONFIG_PACKAGE_luci-app-https-dns-proxy=y
CONFIG_PACKAGE_luci-app-irqbalance=y
CONFIG_PACKAGE_luci-app-usteer=y
CONFIG_PACKAGE_luci-base=y
CONFIG_PACKAGE_luci-light=y
CONFIG_PACKAGE_luci-mod-admin-full=y
CONFIG_PACKAGE_luci-mod-network=y
CONFIG_PACKAGE_luci-mod-status=y
CONFIG_PACKAGE_luci-mod-system=y
CONFIG_PACKAGE_luci-proto-ipv6=y
CONFIG_PACKAGE_luci-proto-ppp=y
CONFIG_PACKAGE_luci-ssl=y
CONFIG_PACKAGE_luci-theme-bootstrap=y
CONFIG_PACKAGE_luci-theme-material=y
# CONFIG_PACKAGE_ppp is not set
CONFIG_PACKAGE_px5g-mbedtls=y
CONFIG_PACKAGE_qosify=y
CONFIG_PACKAGE_resolveip=y
CONFIG_PACKAGE_rpcd=y
CONFIG_PACKAGE_rpcd-mod-file=y
CONFIG_PACKAGE_rpcd-mod-iwinfo=y
CONFIG_PACKAGE_rpcd-mod-luci=y
CONFIG_PACKAGE_rpcd-mod-rpcsys=y
CONFIG_PACKAGE_rpcd-mod-rrdns=y
CONFIG_PACKAGE_rpcd-mod-ucode=y
CONFIG_PACKAGE_tc-tiny=y
CONFIG_PACKAGE_ucode-mod-html=y
CONFIG_PACKAGE_ucode-mod-math=y
CONFIG_PACKAGE_uhttpd=y
CONFIG_PACKAGE_uhttpd-mod-ubus=y
CONFIG_PACKAGE_usteer=y
# CONFIG_PACKAGE_wpad-basic-mbedtls is not set
CONFIG_PACKAGE_wpad-mbedtls=y
CONFIG_PACKAGE_zlib=y
CONFIG_TARGET_OPTIMIZATION="-O2 -pipe -mcpu=cortex-a53"
CONFIG_TARGET_OPTIONS=y
CONFIG_TESTING_KERNEL=y
CONFIG_USE_LLVM_BUILD=y
```
### Terms
- [X] I am reporting an issue for OpenWrt, not an unsupported fork.