Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[WIP] mediatek: add testing Kernel v6.6 #14772

Merged
merged 10 commits into from Mar 11, 2024
Merged

Conversation

dangowrt
Copy link
Member

@dangowrt dangowrt commented Mar 2, 2024

This PR is based on #14751 and adds support for Linux 6.6 to the mediatek target. Only tested on a couple of MT7622, MT7986 and MT7988 devices for now, mt7623 and mt7629 subtargets are not even build-tested.

@github-actions github-actions bot added build/scripts/tools pull request/issues for build, scripts and tools related changes kernel pull request/issue with Linux kernel related changes core packages pull request/issue for core (in-tree) packages target/mediatek pull request/issue for mediatek target labels Mar 2, 2024
@mrkiko
Copy link
Contributor

mrkiko commented Mar 2, 2024

Thank you @dangowrt for your work.
I would take the occasion to disable completely cpufreq support for mt7622, also considering what happened with the E8450.
Furthermore, it would be great to include this change in the installer to reduce to the minimum the potential of having problems.

@openips
Copy link

openips commented Mar 2, 2024

nice

@JiaY-shi
Copy link

JiaY-shi commented Mar 3, 2024

Tested on gl-mt6000, it works fine, except for the wireless wed.

@Gingernut1978
Copy link
Contributor

Gingernut1978 commented Mar 3, 2024

Totolink A8000RU mt7622 built and flashed successfully. Everything seems to be working but only using it as a dumb AP.

Bootlog:
https://pastebin.com/YCycFL15

Really apreciate all your work and time.

Thanks

@danpawlik
Copy link

I was trying to build few times, (basic config from snapshot - + add CONFIG_TESTING_KERNEL=y ) and it stops on kernel compilation:

(...)
IDT CLOCKMATRIX as PTP clock (PTP_1588_CLOCK_IDTCM) [N/m/?] n
Mock-up PTP clock (PTP_1588_CLOCK_MOCK) [N/m/?] (NEW)

(...)
  ASoC support for Mediatek MT8186 chip (SND_SOC_MT8186) [N/m/?] n
  ALSA BT SCO CVSD/MSBC Driver (SND_SOC_MTK_BTCVSD) [N/m/?] n
  ASoC support for MediaTek MT8188 chip (SND_SOC_MT8188) [N/m/?] (NEW)

@dangowrt dangowrt force-pushed the mediatek-6.6 branch 2 times, most recently from 6a7bc06 to 3a2e336 Compare March 3, 2024 21:58
@dangowrt
Copy link
Member Author

dangowrt commented Mar 3, 2024

@danpawlik Thank you testing. I've completed the kernel configs for all subtargets now.

@CharlesMengCA
Copy link
Contributor

Hi,

Could you help me on this one? tried to build for ASUS AX-4200 with USB support.

package/feeds/packages/dmx_usb_module failed to build.

 CC [M]  /home/cm/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/dmx_usb_module-19.12.1/dmx_usb.o
/home/cm/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/dmx_usb_module-19.12.1/dmx_usb.c:100:47: error: macro "DEFINE_SEMAPHORE" requires 2 arguments, but only 1 given
  100 |         static DEFINE_SEMAPHORE(disconnect_sem);
      |                                               ^
In file included from ./include/linux/fs.h:25,
                 from ./arch/arm64/include/asm/elf.h:141,
                 from ./include/linux/elf.h:6,
                 from ./include/linux/module.h:19,
                 from /home/cm/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/dmx_usb_module-19.12.1/dmx_usb.c:20:
./include/linux/semaphore.h:34: note: macro "DEFINE_SEMAPHORE" defined here
   34 | #define DEFINE_SEMAPHORE(_name, _n)     \
      | 
/home/cm/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/dmx_usb_module-19.12.1/dmx_usb.c:100:16: error: type defaults to 'int' in declaration of 'DEFINE_SEMAPHORE' [-Werror=implicit-int]
  100 |         static DEFINE_SEMAPHORE(disconnect_sem);
      |                ^~~~~~~~~~~~~~~~
/home/cm/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/dmx_usb_module-19.12.1/dmx_usb.c: In function 'dmx_usb_open':
/home/cm/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/dmx_usb_module-19.12.1/dmx_usb.c:277:16: error: 'disconnect_sem' undeclared (first use in this function)
  277 |         down (&disconnect_sem);
      |                ^~~~~~~~~~~~~~
/home/cm/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/dmx_usb_module-19.12.1/dmx_usb.c:277:16: note: each undeclared identifier is reported only once for each function it appears in
/home/cm/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/dmx_usb_module-19.12.1/dmx_usb.c: In function 'dmx_usb_disconnect':
/home/cm/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/dmx_usb_module-19.12.1/dmx_usb.c:677:16: error: 'disconnect_sem' undeclared (first use in this function)
  677 |         down (&disconnect_sem);
      |                ^~~~~~~~~~~~~~
/home/cm/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/dmx_usb_module-19.12.1/dmx_usb.c: At top level:
/home/cm/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/dmx_usb_module-19.12.1/dmx_usb.c:100:16: error: 'DEFINE_SEMAPHORE' defined but not used [-Werror=unused-variable]
  100 |         static DEFINE_SEMAPHORE(disconnect_sem);
      |                ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[7]: *** [scripts/Makefile.build:243: /home/cm/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/dmx_usb_module-19.12.1/dmx_usb.o] Error 1
make[6]: *** [/home/cm/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/linux-6.6.18/Makefile:1913: /home/cm/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/dmx_usb_module-19.12.1] Error 2
make[5]: *** [Makefile:234: __sub-make] Error 2
make[5]: Leaving directory '/home/cm/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/linux-6.6.18'
make[4]: *** [Makefile:15: default] Error 2
make[4]: Leaving directory '/home/cm/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/dmx_usb_module-19.12.1'
make[3]: *** [Makefile:58: /home/cm/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/dmx_usb_module-19.12.1/.built] Error 2
make[3]: Leaving directory '/home/cm/openwrt/feeds/packages/libs/dmx_usb_module'
time: package/feeds/packages/dmx_usb_module/compile#0.74#0.14#0.86
    ERROR: package/feeds/packages/dmx_usb_module failed to build.

@dangowrt
Copy link
Member Author

dangowrt commented Mar 4, 2024

@CharlesMengCA This very much looks like dmx_usb_module is not fit for Linux 6.6 yet. You should probably rather report this issue to https://github.com/lowlander/dmx_usb_module and hope that the authors will fix build problems for newer kernels. Or somehow get other people to fix this, or look around if other distributions may have already done this (typically OpenWrt lacks behind a bit with Kernel version bumps compared to most other distributions due to the fact that we support a high number of different hardware platforms rather than just 2 or 3...).

@nasbdh9
Copy link
Contributor

nasbdh9 commented Mar 4, 2024

#14751 (comment)
It is also confirmed that dmx_usb_module cannot be build in 6.6

@tkso1997
Copy link

tkso1997 commented Mar 4, 2024

Runs fine on my Asus RT-AX59U. All I have tested so far works as expected.

Edit: in addition the issue I reported here (crashing WAN/eth0 connection) seems to be gone when using kernel 6.6. Overall the system and network connection seems to be much snappier.

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.18 (tks0@364668d) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r25424-43dc993f0a) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Sat Mar  2 17:44:26 2024
[    0.000000] Machine model: ASUS RT-AX59U
[    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] OF: reserved mem: 0x000000004fc00000..0x000000004fcfffff (1024 KiB) nomap non-reusable wmcpu-reserved@4fc00000
[    0.000000] OF: reserved mem: 0x000000004fd00000..0x000000004fd3ffff (256 KiB) nomap non-reusable wo-emi@4fd00000
[    0.000000] OF: reserved mem: 0x000000004fd40000..0x000000004fd7ffff (256 KiB) nomap non-reusable wo-emi@4fd40000
[    0.000000] OF: reserved mem: 0x000000004fd80000..0x000000004ffbffff (2304 KiB) nomap non-reusable wo-data@4fd80000
[    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-0x000000004fbfffff]
[    0.000000]   node   0: [mem 0x000000004fc00000-0x000000004ffbffff]
[    0.000000]   node   0: [mem 0x000000004ffc0000-0x000000005fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    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] 2 [0] 3 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: 
[    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 4.
[    0.000000] software IO TLB: mapped [mem 0x000000005ae00000-0x000000005ee00000] (64MB)
[    0.000000] Memory: 430672K/524288K available (8576K kernel code, 894K rwdata, 2512K rodata, 384K init, 287K bss, 93616K reserved, 0K cma-reserved)
[    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: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 640 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[    0.000000] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.000120] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.000126] pid_max: default: 32768 minimum: 301
[    0.002148] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.002154] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.003726] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.004113] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.004214] rcu: Hierarchical SRCU implementation.
[    0.004216] rcu: 	Max phase no-delay instances is 1000.
[    0.004518] smp: Bringing up secondary CPUs ...
[    0.004778] Detected VIPT I-cache on CPU1
[    0.004812] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[    0.004839] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.005124] Detected VIPT I-cache on CPU2
[    0.005143] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[    0.005156] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.005410] Detected VIPT I-cache on CPU3
[    0.005428] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[    0.005437] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.005465] smp: Brought up 1 node, 4 CPUs
[    0.005469] SMP: Total of 4 processors activated.
[    0.005471] CPU features: detected: 32-bit EL0 Support
[    0.005473] CPU features: detected: CRC32 instructions
[    0.005498] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.005500] CPU: All CPU(s) started at EL2
[    0.005502] alternatives: applying system-wide alternatives
[    0.007742] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.007755] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.008634] pinctrl core: initialized pinctrl subsystem
[    0.009372] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.009613] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.009631] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.009646] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.009924] thermal_sys: Registered thermal governor 'fair_share'
[    0.009927] thermal_sys: Registered thermal governor 'bang_bang'
[    0.009929] thermal_sys: Registered thermal governor 'step_wise'
[    0.009931] thermal_sys: Registered thermal governor 'user_space'
[    0.009957] ASID allocator initialised with 65536 entries
[    0.010690] pstore: Using crash dump compression: deflate
[    0.010694] pstore: Registered ramoops as persistent store backend
[    0.010695] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.015864] Modules: 29568 pages in range for non-PLT usage
[    0.015872] Modules: 521088 pages in range for PLT usage
[    0.016651] cryptd: max_cpu_qlen set to 1000
[    0.018050] SCSI subsystem initialized
[    0.018113] libata version 3.00 loaded.
[    0.019076] clocksource: Switched to clocksource arch_sys_counter
[    0.020759] NET: Registered PF_INET protocol family
[    0.020840] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.021661] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.021669] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.021675] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.021695] TCP bind hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.021782] TCP: Hash tables configured (established 4096 bind 4096)
[    0.021838] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.021849] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.021988] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.022008] PCI: CLS 0 bytes, default 64
[    0.023015] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[    0.026204] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.026208] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.047844] gpio-export gpio-export: 1 gpio(s) exported
[    0.050867] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.051825] printk: console [ttyS0] disabled
[    0.072140] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 116, base_baud = 2500000) is a ST16650V2
[    0.072176] printk: console [ttyS0] enabled
[    0.828001] mtk_rng 1020f000.rng: registered RNG driver
[    0.836045] loop: module loaded
[    0.840624] spi-nand spi0.0: Winbond SPI NAND was found.
[    0.845932] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    0.854286] 2 fixed-partitions partitions found on MTD device spi0.0
[    0.860851] Creating 2 MTD partitions on "spi0.0":
[    0.865630] 0x000000000000-0x000000400000 : "u-boot"
[    0.873522] 0x000000400000-0x000010000000 : "UBI_DEV"
[    0.878563] mtd: partition "UBI_DEV" extends beyond the end of device "spi0.0" -- size truncated to 0x7c00000
[    0.967201] ubi0: default fastmap pool size: 45
[    0.971747] ubi0: default fastmap WL pool size: 22
[    0.976520] ubi0: attaching mtd1
[    1.638382] ubi0: scanning is finished
[    1.650631] ubi0: attached mtd1 (name "UBI_DEV", size 124 MiB)
[    1.656460] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    1.663327] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    1.670097] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    1.677037] ubi0: good PEBs: 992, bad PEBs: 0, corrupted PEBs: 0
[    1.683025] ubi0: user volume: 7, internal volumes: 1, max. volumes count: 128
[    1.690226] ubi0: max/mean erase counter: 41/33, WL threshold: 4096, image sequence number: 1515229699
[    1.699509] ubi0: available PEBs: 0, total reserved PEBs: 992, PEBs reserved for bad PEB handling: 20
[    1.708705] ubi0: background thread "ubi_bgt0d" started, PID 195
[    1.710358] block ubiblock0_5: created from ubi0:5(rootfs)
[    1.720173] ubiblock: device ubiblock0_5 (rootfs) set to be root filesystem
[    1.862680] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc081480000, irq 120
[    1.872311] i2c_dev: i2c /dev entries driver
[    1.877819] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    1.886198] NET: Registered PF_INET6 protocol family
[    1.891765] Segment Routing with IPv6
[    1.895434] In-situ OAM (IOAM) with IPv6
[    1.899390] NET: Registered PF_PACKET protocol family
[    1.904488] 8021q: 802.1Q VLAN Support v1.8
[    1.954047] mt7530-mdio mdio-bus:1f: no interrupt support
[    1.969558] mt7530-mdio mdio-bus:1f: configuring for fixed/2500base-x link mode
[    1.978524] mt7530-mdio mdio-bus:1f: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    1.987997] mt7530-mdio mdio-bus:1f wan (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7531 PHY] (irq=POLL)
[    2.008331] mt7530-mdio mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7531 PHY] (irq=POLL)
[    2.028431] mt7530-mdio mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7531 PHY] (irq=POLL)
[    2.048475] mt7530-mdio mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7531 PHY] (irq=POLL)
[    2.059732] mtk_soc_eth 15100000.ethernet eth0: entered promiscuous mode
[    2.066447] DSA: tree 0 setup
[    2.069678] clk: Disabling unused clocks
[    2.079495] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    2.086753] Freeing unused kernel memory: 384K
[    2.139143] Run /sbin/init as init process
[    2.143226]   with arguments:
[    2.146177]     /sbin/init
[    2.148868]   with environment:
[    2.151997]     HOME=/
[    2.154342]     TERM=linux
[    2.336558] init: Console is alive
[    2.340092] init: - watchdog -
[    2.729115] random: crng init done
[    2.805951] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.866818] usbcore: registered new interface driver usbfs
[    2.872365] usbcore: registered new interface driver hub
[    2.877686] usbcore: registered new device driver usb
[    2.883496] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    2.894453] xhci-mtk 11200000.usb: supply vbus not found, using dummy regulator
[    2.901867] xhci-mtk 11200000.usb: supply vusb33 not found, using dummy regulator
[    2.910176] xhci-mtk 11200000.usb: xHCI Host Controller
[    2.915401] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 1
[    2.925859] xhci-mtk 11200000.usb: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000200010
[    2.935026] xhci-mtk 11200000.usb: irq 124, io mem 0x11200000
[    2.940839] xhci-mtk 11200000.usb: xHCI Host Controller
[    2.946050] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 2
[    2.953432] xhci-mtk 11200000.usb: Host supports USB 3.2 Enhanced SuperSpeed
[    2.960865] hub 1-0:1.0: USB hub found
[    2.964618] hub 1-0:1.0: 2 ports detected
[    2.968890] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.977253] hub 2-0:1.0: USB hub found
[    2.981051] hub 2-0:1.0: 1 port detected
[    2.989467] usbcore: registered new interface driver usb-storage
[    2.996261] usbcore: registered new interface driver uas
[    3.001912] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.011333] init: - preinit -
[    3.299319] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[    3.307759] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    3.317177] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[    3.519122] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
[    3.552055] scsi host0: uas
[    3.555631] scsi 0:0:0:0: Direct-Access     ASMT     ASM1352R-Safe    0    PQ: 0 ANSI: 6
[    3.566135] sd 0:0:0:0: [sda] 1953497089 512-byte logical blocks: (1.00 TB/932 GiB)
[    3.573938] sd 0:0:0:0: [sda] Write Protect is off
[    3.578713] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[    3.583992] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.593145] xhci-mtk 11200000.usb: ERROR Transfer event for unknown stream ring slot 1 ep 2
[    3.601474] xhci-mtk 11200000.usb: @000000004135a6e0 42598100 00000000 1a00000a 01038001
[    3.609577] sd 0:0:0:0: [sda] Preferred minimum I/O size 512 bytes
[    3.615739] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes
[    3.622423] xhci-mtk 11200000.usb: ERROR Transfer event for unknown stream ring slot 1 ep 2
[    3.630754] xhci-mtk 11200000.usb: @000000004135a780 42598100 00000000 1a000004 01038001
[    3.639822]  sda: sda1
[    3.642364] sd 0:0:0:0: [sda] Attached SCSI disk
[    5.458516] mount_root: loading kmods from internal overlay
[    5.469880] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    5.477428] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[    5.712851] block: attempting to load /tmp/overlay/upper/etc/config/fstab
[    5.719738] block: unable to load configuration (fstab: Entry not found)
[    5.726447] block: attempting to load /tmp/overlay/etc/config/fstab
[    5.732738] block: unable to load configuration (fstab: Entry not found)
[    5.739451] block: attempting to load /etc/config/fstab
[    5.748064] block: unable to load configuration (fstab: Entry not found)
[    5.754820] block: no usable configuration
[    5.762051] UBIFS (ubi0:6): Mounting in unauthenticated mode
[    5.767770] UBIFS (ubi0:6): background thread "ubifs_bgt0_6" started, PID 712
[    5.809814] UBIFS (ubi0:6): recovery needed
[    5.955993] UBIFS (ubi0:6): recovery completed
[    5.960492] UBIFS (ubi0:6): UBIFS: mounted UBI device 0, volume 6, name "rootfs_data"
[    5.968303] UBIFS (ubi0:6): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    5.978196] UBIFS (ubi0:6): FS size: 60440576 bytes (57 MiB, 476 LEBs), max 486 LEBs, journal size 3047424 bytes (2 MiB, 24 LEBs)
[    5.989823] UBIFS (ubi0:6): reserved for root: 2854757 bytes (2787 KiB)
[    5.996418] UBIFS (ubi0:6): media format: w5/r0 (latest is w5/r0), UUID 7236E3F0-DD12-4063-82F8-EBCF0A464C7B, small LPT model
[    6.009259] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[    6.023304] block: extroot: not configured
[    6.032698] UBIFS (ubi0:6): un-mount UBI device 0
[    6.037399] UBIFS (ubi0:6): background thread "ubifs_bgt0_6" stops
[    6.046734] UBIFS (ubi0:6): Mounting in unauthenticated mode
[    6.052468] UBIFS (ubi0:6): background thread "ubifs_bgt0_6" started, PID 715
[    6.143087] UBIFS (ubi0:6): UBIFS: mounted UBI device 0, volume 6, name "rootfs_data"
[    6.150913] UBIFS (ubi0:6): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    6.160808] UBIFS (ubi0:6): FS size: 60440576 bytes (57 MiB, 476 LEBs), max 486 LEBs, journal size 3047424 bytes (2 MiB, 24 LEBs)
[    6.172433] UBIFS (ubi0:6): reserved for root: 2854757 bytes (2787 KiB)
[    6.179026] UBIFS (ubi0:6): media format: w5/r0 (latest is w5/r0), UUID 7236E3F0-DD12-4063-82F8-EBCF0A464C7B, small LPT model
[    6.351265] block: attempting to load /tmp/overlay/upper/etc/config/fstab
[    6.364078] block: extroot: not configured
[    6.370167] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[    6.377265] block: extroot: not configured
[    6.383515] mount_root: switching to ubifs overlay
[    6.394305] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[    6.410952] urandom-seed: Seeding with /etc/urandom.seed
[    6.450640] procd: - early -
[    6.453571] procd: - watchdog -
[    6.993851] procd: - watchdog -
[    7.000416] procd: - ubus -
[    7.157717] procd: - init -
[    7.554729] kmodloader: loading kernel modules from /etc/modules.d/*
[    7.621832] GACT probability on
[    7.625523] Mirror/redirect action on
[    7.632616] u32 classifier
[    7.635328]     input device check on
[    7.638971]     Actions configured
[    7.646910] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0
[    7.662288] Loading modules backported from Linux version v6.6.15-0-g51f354b815c4
[    7.669777] Backport generated by backports.git 193becf2
[    7.686934] xt_time: kernel timezone is -0000
[    7.706435] urngd: v1.0.2 started.
[    8.029514] mt798x-wmac 18000000.wifi: HW/SW Version: 0x8a108a10, Build Time: 20221012174648a
[    8.029514] 
[    8.201739] mt798x-wmac 18000000.wifi: WM Firmware Version: ____000000, Build Time: 20221012174725
[    8.296952] mt798x-wmac 18000000.wifi: WA Firmware Version: DEV_000000, Build Time: 20221012174937
[    8.403584] mt798x-wmac 18000000.wifi: registering led 'mt76-phy0'
[    8.411278] mt798x-wmac 18000000.wifi: registering led 'mt76-phy1'
[   10.508372] EXT4-fs (sda1): recovery complete
[   10.513052] EXT4-fs (sda1): mounted filesystem fa0ab61c-0b36-44bd-aabf-185aeee3fb2f r/w with ordered data mode. Quota mode: disabled.
[   11.323934] PPP generic driver version 2.4.2
[   11.328992] NET: Registered PF_PPPOX protocol family
[   11.336325] kmodloader: done loading kernel modules from /etc/modules.d/*
[   13.948040] mtk_soc_eth 15100000.ethernet eth0: Link is Down
[   13.961265] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[   13.969781] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[   13.974226] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[   13.988514] br-lan: port 1(lan1) entered blocking state
[   13.993751] br-lan: port 1(lan1) entered disabled state
[   13.998975] mt7530-mdio mdio-bus:1f lan1: entered allmulticast mode
[   14.005242] mtk_soc_eth 15100000.ethernet eth0: entered allmulticast mode
[   14.014679] mt7530-mdio mdio-bus:1f lan1: entered promiscuous mode
[   14.031482] mt7530-mdio mdio-bus:1f lan2: configuring for phy/gmii link mode
[   14.041563] br-lan: port 2(lan2) entered blocking state
[   14.046801] br-lan: port 2(lan2) entered disabled state
[   14.052112] mt7530-mdio mdio-bus:1f lan2: entered allmulticast mode
[   14.060065] mt7530-mdio mdio-bus:1f lan2: entered promiscuous mode
[   14.073616] mt7530-mdio mdio-bus:1f lan3: configuring for phy/gmii link mode
[   14.083479] br-lan: port 3(lan3) entered blocking state
[   14.088709] br-lan: port 3(lan3) entered disabled state
[   14.093967] mt7530-mdio mdio-bus:1f lan3: entered allmulticast mode
[   14.102039] mt7530-mdio mdio-bus:1f lan3: entered promiscuous mode
[   14.116272] mt7530-mdio mdio-bus:1f wan: configuring for phy/gmii link mode
[   15.699887] br-lan: port 4(phy0-ap0) entered blocking state
[   15.705491] br-lan: port 4(phy0-ap0) entered disabled state
[   15.711128] mt798x-wmac 18000000.wifi phy0-ap0: entered allmulticast mode
[   15.718090] mt798x-wmac 18000000.wifi phy0-ap0: entered promiscuous mode
[   15.778036] br-lan: port 4(phy0-ap0) entered blocking state
[   15.783651] br-lan: port 4(phy0-ap0) entered forwarding state
[   15.917398] br-lan: port 5(phy1-ap0) entered blocking state
[   15.923008] br-lan: port 5(phy1-ap0) entered disabled state
[   15.928611] mt798x-wmac 18000000.wifi phy1-ap0: entered allmulticast mode
[   15.935626] mt798x-wmac 18000000.wifi phy1-ap0: entered promiscuous mode
[   15.942535] br-lan: port 5(phy1-ap0) entered blocking state
[   15.948109] br-lan: port 5(phy1-ap0) entered forwarding state
[   17.132152] mt7530-mdio mdio-bus:1f lan2: Link is Up - 100Mbps/Full - flow control off
[   17.140141] br-lan: port 2(lan2) entered blocking state
[   17.145366] br-lan: port 2(lan2) entered forwarding state
[   20.332156] mt7530-mdio mdio-bus:1f lan3: Link is Up - 100Mbps/Full - flow control rx/tx
[   20.340322] br-lan: port 3(lan3) entered blocking state
[   20.345557] br-lan: port 3(lan3) entered forwarding state
[   56.731412] mt7530-mdio mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control off
[  127.450802] mt7530-mdio mdio-bus:1f wan: Link is Down
[  130.571331] mt7530-mdio mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control off
root@OpenWrt:~# 

@danpawlik
Copy link

danpawlik commented Mar 4, 2024

Thanks @dangowrt - you have done amazing job! Your change works well on BPI-R4 and AX3200 (with resized kernel partition).
I pushed my builds https://github.com/danpawlik/openwrt/releases (for BPI-R4 and AX3200) if someone want to test.

@dangowrt dangowrt changed the title [RFC] mediatek: add testing Kernel v6.6 [WIP] mediatek: add testing Kernel v6.6 Mar 4, 2024
@CharlesMengCA
Copy link
Contributor

CharlesMengCA commented Mar 7, 2024

@CharlesMengCA This very much looks like dmx_usb_module is not fit for Linux 6.6 yet. You should probably rather report this issue to https://github.com/lowlander/dmx_usb_module and hope that the authors will fix build problems for newer kernels. Or somehow get other people to fix this, or look around if other distributions may have already done this (typically OpenWrt lacks behind a bit with Kernel version bumps compared to most other distributions due to the fact that we support a high number of different hardware platforms rather than just 2 or 3...).

After disabled some non-required modules. succeeded to build for ASUS TUF-AX4200 and everything is working so far.

Boot Log
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    0.000000] Linux version 6.6.18 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r25423-677c3f1ef8) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Sun Mar  3 22:42:58 2024
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] Machine model: ASUS TUF-AX4200
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] OF: reserved mem: 0x0000000042ff0000..0x0000000042ffffff (64 KiB) map non-reusable ramoops@42ff0000
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] OF: reserved mem: 0x0000000043000000..0x000000004302ffff (192 KiB) nomap non-reusable secmon@43000000
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] OF: reserved mem: 0x000000004fc00000..0x000000004fcfffff (1024 KiB) nomap non-reusable wmcpu-reserved@4fc00000
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] OF: reserved mem: 0x000000004fd00000..0x000000004fd3ffff (256 KiB) nomap non-reusable wo-emi@4fd00000
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] OF: reserved mem: 0x000000004fd40000..0x000000004fd7ffff (256 KiB) nomap non-reusable wo-emi@4fd40000
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] OF: reserved mem: 0x000000004fd80000..0x000000004ffbffff (2304 KiB) nomap non-reusable wo-data@4fd80000
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] Zone ranges:
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000]   DMA      [mem 0x0000000040000000-0x000000005fffffff]
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000]   DMA32    empty
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000]   Normal   empty
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] Movable zone start for each node
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] Early memory node ranges
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000]   node   0: [mem 0x0000000040000000-0x0000000042ffffff]
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000]   node   0: [mem 0x0000000043000000-0x000000004302ffff]
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000]   node   0: [mem 0x0000000043030000-0x000000004fbfffff]
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000]   node   0: [mem 0x000000004fc00000-0x000000004ffbffff]
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000]   node   0: [mem 0x000000004ffc0000-0x000000005fffffff]
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff]
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] psci: probing for conduit method from DT.
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] psci: PSCIv1.1 detected in firmware.
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] psci: Using standard PSCI v0.2 function IDs
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] psci: MIGRATE_INFO_TYPE not supported.
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] psci: SMC Calling Convention v1.2
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] percpu: Embedded 18 pages/cpu s35048 r8192 d30488 u73728
Wed Mar  6 18:30:00 2024 kern.debug kernel: [    0.000000] pcpu-alloc: s35048 r8192 d30488 u73728 alloc=18*4096
Wed Mar  6 18:30:00 2024 kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] Detected VIPT I-cache on CPU0
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] CPU features: detected: GIC system register CPU interface
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] alternatives: applying boot alternatives
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    0.000000] Kernel command line:
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129024
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] software IO TLB: area num 4.
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] software IO TLB: mapped [mem 0x000000005ae00000-0x000000005ee00000] (64MB)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] Memory: 430412K/524288K available (8768K kernel code, 900K rwdata, 2560K rodata, 384K init, 304K bss, 93876K reserved, 0K cma-reserved)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] rcu: Hierarchical RCU implementation.
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] 	Tracing variant of Tasks RCU enabled.
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] GICv3: 640 SPIs implemented
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] GICv3: 0 Extended SPIs implemented
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] Root IRQ handler: gic_handle_irq
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] GICv3: GICv3 features: 16 PPIs
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000000] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000126] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.000133] pid_max: default: 32768 minimum: 301
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.002124] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.002131] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
Wed Mar  6 18:30:00 2024 kern.warn kernel: [    0.003685] cacheinfo: Unable to detect cache hierarchy for CPU 0
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.004081] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.004185] rcu: Hierarchical SRCU implementation.
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.004187] rcu: 	Max phase no-delay instances is 1000.
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.004500] smp: Bringing up secondary CPUs ...
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.004760] Detected VIPT I-cache on CPU1
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.004794] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.004820] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.005108] Detected VIPT I-cache on CPU2
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.005126] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.005137] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.005397] Detected VIPT I-cache on CPU3
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.005413] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.005423] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.005449] smp: Brought up 1 node, 4 CPUs
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.005453] SMP: Total of 4 processors activated.
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.005455] CPU features: detected: 32-bit EL0 Support
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.005456] CPU features: detected: CRC32 instructions
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.005480] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.005483] CPU: All CPU(s) started at EL2
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.005484] alternatives: applying system-wide alternatives
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.007745] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.007758] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.008625] pinctrl core: initialized pinctrl subsystem
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.009370] NET: Registered PF_NETLINK/PF_ROUTE protocol family
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.009851] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.009870] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.009884] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.010189] thermal_sys: Registered thermal governor 'fair_share'
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.010191] thermal_sys: Registered thermal governor 'bang_bang'
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.010193] thermal_sys: Registered thermal governor 'step_wise'
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.010195] thermal_sys: Registered thermal governor 'user_space'
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.010237] ASID allocator initialised with 65536 entries
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.011006] pstore: Using crash dump compression: deflate
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.011009] pstore: Registered ramoops as persistent store backend
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.011011] ramoops: using 0x10000@0x42ff0000, ecc: 0
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.016261] Modules: 29504 pages in range for non-PLT usage
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.016269] Modules: 521024 pages in range for PLT usage
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.017075] cryptd: max_cpu_qlen set to 1000
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    0.017922] SCSI subsystem initialized
Wed Mar  6 18:30:00 2024 kern.debug kernel: [    0.018069] libata version 3.00 loaded.
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.019014] clocksource: Switched to clocksource arch_sys_counter
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.020608] NET: Registered PF_INET protocol family
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.020691] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.021709] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.021718] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.021724] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.021744] TCP bind hash table entries: 4096 (order: 5, 131072 bytes, linear)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.021836] TCP: Hash tables configured (established 4096 bind 4096)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.021899] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.021910] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.022147] NET: Registered PF_UNIX/PF_LOCAL protocol family
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.022168] PCI: CLS 0 bytes, default 64
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.023062] workingset: timestamp_bits=46 max_order=17 bucket_order=0
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.026349] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.026352] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.047054] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.050995] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.054028] printk: console [ttyS0] disabled
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.074385] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 116, base_baud = 2500000) is a ST16650V2
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.074421] printk: console [ttyS0] enabled
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.832773] mtk_rng 1020f000.rng: registered RNG driver
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    0.833022] random: crng init done
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.843616] loop: module loaded
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.848252] spi-nand spi0.0: Winbond SPI NAND was found.
Wed Mar  6 18:30:00 2024 kern.info kernel: [    0.853575] spi-nand spi0.0: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    0.861930] 2 fixed-partitions partitions found on MTD device spi0.0
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    0.868451] Creating 2 MTD partitions on "spi0.0":
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    0.873256] 0x000000000000-0x000000400000 : "bootloader"
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    0.881276] 0x000000400000-0x000010000000 : "UBI_DEV"
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    1.027067] ubi0: default fastmap pool size: 100
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    1.031693] ubi0: default fastmap WL pool size: 50
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    1.036466] ubi0: attaching mtd1
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    2.323887] ubi0: scanning is finished
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    2.336392] ubi0: attached mtd1 (name "UBI_DEV", size 252 MiB)
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    2.342233] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    2.349090] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    2.355856] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    2.362798] ubi0: good PEBs: 2016, bad PEBs: 0, corrupted PEBs: 0
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    2.368871] ubi0: user volume: 8, internal volumes: 1, max. volumes count: 128
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    2.376073] ubi0: max/mean erase counter: 5/3, WL threshold: 4096, image sequence number: 276719436
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    2.385095] ubi0: available PEBs: 0, total reserved PEBs: 2016, PEBs reserved for bad PEB handling: 40
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    2.394382] ubi0: background thread "ubi_bgt0d" started, PID 260
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.396071] block ubiblock0_6: created from ubi0:6(rootfs)
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    2.405867] ubiblock: device ubiblock0_6 (rootfs) set to be root filesystem
Wed Mar  6 18:30:00 2024 kern.err kernel: [    2.540628] mtk_soc_eth 15100000.ethernet: generated random MAC address 65:74:68:25:64:00
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.609093] Maxlinear Ethernet GPY211C mdio-bus:06: Firmware Version: 8.111 (0x886F)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.619181] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc081780000, irq 120
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.628973] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc081780000, irq 120
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.638641] i2c_dev: i2c /dev entries driver
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.644195] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.652559] NET: Registered PF_INET6 protocol family
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.658126] Segment Routing with IPv6
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.661802] In-situ OAM (IOAM) with IPv6
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.665744] NET: Registered PF_PACKET protocol family
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.670798] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.683827] 8021q: 802.1Q VLAN Support v1.8
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.733479] mt7530-mdio mdio-bus:1f: no interrupt support
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.749086] mt7530-mdio mdio-bus:1f: configuring for fixed/2500base-x link mode
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.758037] mt7530-mdio mdio-bus:1f: Link is Up - 2.5Gbps/Full - flow control rx/tx
Wed Mar  6 18:30:00 2024 kern.warn kernel: [    2.767219] MediaTek MT7531 PHY mt7530-0:01: Configure LED registers (num=14)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.781955] mt7530-mdio mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7531 PHY] (irq=POLL)
Wed Mar  6 18:30:00 2024 kern.warn kernel: [    2.802108] MediaTek MT7531 PHY mt7530-0:02: Configure LED registers (num=14)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.816646] mt7530-mdio mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7531 PHY] (irq=POLL)
Wed Mar  6 18:30:00 2024 kern.warn kernel: [    2.836435] MediaTek MT7531 PHY mt7530-0:03: Configure LED registers (num=14)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.850969] mt7530-mdio mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7531 PHY] (irq=POLL)
Wed Mar  6 18:30:00 2024 kern.warn kernel: [    2.870747] MediaTek MT7531 PHY mt7530-0:04: Configure LED registers (num=14)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.885285] mt7530-mdio mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7531 PHY] (irq=POLL)
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.896491] mtk_soc_eth 15100000.ethernet eth0: entered promiscuous mode
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.903207] DSA: tree 0 setup
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.906435] clk: Disabling unused clocks
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.915931] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
Wed Mar  6 18:30:00 2024 kern.info kernel: [    2.923242] Freeing unused kernel memory: 384K
Wed Mar  6 18:30:00 2024 kern.info kernel: [    3.019048] Run /sbin/init as init process
Wed Mar  6 18:30:00 2024 kern.debug kernel: [    3.023129]   with arguments:
Wed Mar  6 18:30:00 2024 kern.debug kernel: [    3.026080]     /sbin/init
Wed Mar  6 18:30:00 2024 kern.debug kernel: [    3.028771]   with environment:
Wed Mar  6 18:30:00 2024 kern.debug kernel: [    3.031905]     HOME=/
Wed Mar  6 18:30:00 2024 kern.debug kernel: [    3.034250]     TERM=linux
Wed Mar  6 18:30:00 2024 user.info kernel: [    3.202310] init: Console is alive
Wed Mar  6 18:30:00 2024 user.info kernel: [    3.205791] init: - watchdog -
Wed Mar  6 18:30:00 2024 user.info kernel: [    3.662960] kmodloader: loading kernel modules from /etc/modules-boot.d/*
Wed Mar  6 18:30:00 2024 kern.info kernel: [    3.691049] usbcore: registered new interface driver usbfs
Wed Mar  6 18:30:00 2024 kern.info kernel: [    3.696560] usbcore: registered new interface driver hub
Wed Mar  6 18:30:00 2024 kern.info kernel: [    3.701901] usbcore: registered new device driver usb
Wed Mar  6 18:30:00 2024 kern.warn kernel: [    3.710725] gpio_button_hotplug: loading out-of-tree module taints kernel.
Wed Mar  6 18:30:00 2024 kern.info kernel: [    3.722709] xhci-mtk 11200000.usb: xHCI Host Controller
Wed Mar  6 18:30:00 2024 kern.info kernel: [    3.727940] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 1
Wed Mar  6 18:30:00 2024 kern.info kernel: [    3.738394] xhci-mtk 11200000.usb: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000200010
Wed Mar  6 18:30:00 2024 kern.info kernel: [    3.747546] xhci-mtk 11200000.usb: irq 124, io mem 0x11200000
Wed Mar  6 18:30:00 2024 kern.info kernel: [    3.753428] xhci-mtk 11200000.usb: xHCI Host Controller
Wed Mar  6 18:30:00 2024 kern.info kernel: [    3.758639] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 2
Wed Mar  6 18:30:00 2024 kern.info kernel: [    3.766023] xhci-mtk 11200000.usb: Host supports USB 3.2 Enhanced SuperSpeed
Wed Mar  6 18:30:00 2024 kern.info kernel: [    3.773404] hub 1-0:1.0: USB hub found
Wed Mar  6 18:30:00 2024 kern.info kernel: [    3.777161] hub 1-0:1.0: 2 ports detected
Wed Mar  6 18:30:00 2024 kern.info kernel: [    3.781451] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
Wed Mar  6 18:30:00 2024 kern.info kernel: [    3.789838] hub 2-0:1.0: USB hub found
Wed Mar  6 18:30:00 2024 kern.info kernel: [    3.793599] hub 2-0:1.0: 1 port detected
Wed Mar  6 18:30:00 2024 kern.info kernel: [    3.801867] usbcore: registered new interface driver usb-storage
Wed Mar  6 18:30:00 2024 user.info kernel: [    3.808049] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Wed Mar  6 18:30:00 2024 user.info kernel: [    3.823963] init: - preinit -
Wed Mar  6 18:30:00 2024 kern.info kernel: [    4.096703] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
Wed Mar  6 18:30:00 2024 kern.info kernel: [    4.105174] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
Wed Mar  6 18:30:00 2024 kern.info kernel: [    4.249033] usb 1-2: new high-speed USB device number 2 using xhci-mtk
Wed Mar  6 18:30:00 2024 kern.info kernel: [    4.302643] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
Wed Mar  6 18:30:00 2024 kern.info kernel: [    4.429909] usb-storage 1-2:1.0: USB Mass Storage device detected
Wed Mar  6 18:30:00 2024 kern.info kernel: [    4.436239] scsi host0: usb-storage 1-2:1.0
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    5.449325] scsi 0:0:0:0: Direct-Access     General  UDisk            5.00 PQ: 0 ANSI: 2
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    5.457984] sd 0:0:0:0: [sda] 1968128 512-byte logical blocks: (1.01 GB/961 MiB)
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    5.465497] sd 0:0:0:0: [sda] Write Protect is off
Wed Mar  6 18:30:00 2024 kern.debug kernel: [    5.470279] sd 0:0:0:0: [sda] Mode Sense: 0b 00 00 08
Wed Mar  6 18:30:00 2024 kern.warn kernel: [    5.475423] sd 0:0:0:0: [sda] No Caching mode page found
Wed Mar  6 18:30:00 2024 kern.warn kernel: [    5.480723] sd 0:0:0:0: [sda] Assuming drive cache: write through
Wed Mar  6 18:30:00 2024 kern.info kernel: [    5.538074]  sda: sda1
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    5.540648] sd 0:0:0:0: [sda] Attached SCSI removable disk
Wed Mar  6 18:30:00 2024 user.info kernel: [    6.437495] mount_root: loading kmods from internal overlay
Wed Mar  6 18:30:00 2024 user.info kernel: [    6.447530] kmodloader: loading kernel modules from //etc/modules-boot.d/*
Wed Mar  6 18:30:00 2024 user.info kernel: [    6.455052] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
Wed Mar  6 18:30:00 2024 user.info kernel: [    6.653343] block: attempting to load /tmp/overlay/upper/etc/config/fstab
Wed Mar  6 18:30:00 2024 user.err kernel: [    6.660208] block: unable to load configuration (fstab: Entry not found)
Wed Mar  6 18:30:00 2024 user.info kernel: [    6.666918] block: attempting to load /tmp/overlay/etc/config/fstab
Wed Mar  6 18:30:00 2024 user.err kernel: [    6.673209] block: unable to load configuration (fstab: Entry not found)
Wed Mar  6 18:30:00 2024 user.info kernel: [    6.679920] block: attempting to load /etc/config/fstab
Wed Mar  6 18:30:00 2024 user.err kernel: [    6.685891] block: unable to load configuration (fstab: Entry not found)
Wed Mar  6 18:30:00 2024 user.err kernel: [    6.692622] block: no usable configuration
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    6.699915] UBIFS (ubi0:7): Mounting in unauthenticated mode
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    6.705635] UBIFS (ubi0:7): background thread "ubifs_bgt0_7" started, PID 815
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    6.745291] UBIFS (ubi0:7): recovery needed
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    6.861355] UBIFS (ubi0:7): recovery completed
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    6.865837] UBIFS (ubi0:7): UBIFS: mounted UBI device 0, volume 7, name "rootfs_data"
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    6.873653] UBIFS (ubi0:7): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    6.883546] UBIFS (ubi0:7): FS size: 162783232 bytes (155 MiB, 1282 LEBs), max 1294 LEBs, journal size 8126464 bytes (7 MiB, 64 LEBs)
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    6.895520] UBIFS (ubi0:7): reserved for root: 4952683 bytes (4836 KiB)
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    6.902118] UBIFS (ubi0:7): media format: w5/r0 (latest is w5/r0), UUID 5D3CBEEE-8457-4ADD-A884-0641BF2DEFE6, small LPT model
Wed Mar  6 18:30:00 2024 user.info kernel: [    6.915227] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
Wed Mar  6 18:30:00 2024 user.info kernel: [    6.928560] block: extroot: not configured
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    6.932748] UBIFS (ubi0:7): un-mount UBI device 0
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    6.937446] UBIFS (ubi0:7): background thread "ubifs_bgt0_7" stops
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    6.946731] UBIFS (ubi0:7): Mounting in unauthenticated mode
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    6.952456] UBIFS (ubi0:7): background thread "ubifs_bgt0_7" started, PID 818
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    7.035521] UBIFS (ubi0:7): UBIFS: mounted UBI device 0, volume 7, name "rootfs_data"
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    7.043344] UBIFS (ubi0:7): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    7.053243] UBIFS (ubi0:7): FS size: 162783232 bytes (155 MiB, 1282 LEBs), max 1294 LEBs, journal size 8126464 bytes (7 MiB, 64 LEBs)
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    7.065214] UBIFS (ubi0:7): reserved for root: 4952683 bytes (4836 KiB)
Wed Mar  6 18:30:00 2024 kern.notice kernel: [    7.071811] UBIFS (ubi0:7): media format: w5/r0 (latest is w5/r0), UUID 5D3CBEEE-8457-4ADD-A884-0641BF2DEFE6, small LPT model
Wed Mar  6 18:30:00 2024 user.info kernel: [    7.232571] block: attempting to load /tmp/overlay/upper/etc/config/fstab
Wed Mar  6 18:30:00 2024 user.info kernel: [    7.244793] block: extroot: not configured
Wed Mar  6 18:30:00 2024 user.info kernel: [    7.251043] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
Wed Mar  6 18:30:00 2024 user.info kernel: [    7.258135] block: extroot: not configured
Wed Mar  6 18:30:00 2024 user.info kernel: [    7.264285] mount_root: switching to ubifs overlay
Wed Mar  6 18:30:00 2024 kern.warn kernel: [    7.277400] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
Wed Mar  6 18:30:00 2024 user.debug kernel: [    7.292290] urandom-seed: Seeding with /etc/urandom.seed
Wed Mar  6 18:30:00 2024 user.info kernel: [    7.329842] procd: - early -
Wed Mar  6 18:30:00 2024 user.info kernel: [    7.332771] procd: - watchdog -
Wed Mar  6 18:30:00 2024 user.info kernel: [    7.873169] procd: - watchdog -
Wed Mar  6 18:30:00 2024 user.info kernel: [    7.879788] procd: - ubus -
Wed Mar  6 18:30:00 2024 user.info kernel: [    8.034026] procd: - init -
Wed Mar  6 18:30:00 2024 user.info kernel: [    8.417081] kmodloader: loading kernel modules from /etc/modules.d/*
Wed Mar  6 18:30:00 2024 kern.info kernel: [    8.441088] ntfs3: Max link count 4000
Wed Mar  6 18:30:00 2024 kern.info kernel: [    8.444839] ntfs3: Enabled Linux POSIX ACLs support
Wed Mar  6 18:30:00 2024 kern.info kernel: [    8.451900] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0
Wed Mar  6 18:30:00 2024 kern.info kernel: [    8.466409] Loading modules backported from Linux version v6.6.15-0-g51f354b815c4
Wed Mar  6 18:30:00 2024 kern.info kernel: [    8.473965] Backport generated by backports.git 193becf2
Wed Mar  6 18:30:00 2024 user.info kernel: [    8.551437] urngd: v1.0.2 started.
Wed Mar  6 18:30:00 2024 kern.warn kernel: [    8.815270] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Wed Mar  6 18:30:00 2024 kern.info kernel: [    8.877131] mt798x-wmac 18000000.wifi: HW/SW Version: 0x8a108a10, Build Time: 20221012174648a
Wed Mar  6 18:30:00 2024 kern.info kernel: [    8.877131]
Wed Mar  6 18:30:00 2024 kern.info kernel: [    9.060618] mt798x-wmac 18000000.wifi: WM Firmware Version: ____000000, Build Time: 20221012174725
Wed Mar  6 18:30:00 2024 kern.info kernel: [    9.159056] mt798x-wmac 18000000.wifi: WA Firmware Version: DEV_000000, Build Time: 20221012174937
Wed Mar  6 18:30:00 2024 kern.info kernel: [    9.264528] mt798x-wmac 18000000.wifi: registering led 'mt76-phy0'
Wed Mar  6 18:30:00 2024 kern.info kernel: [    9.272216] mt798x-wmac 18000000.wifi: registering led 'mt76-phy1'
Wed Mar  6 18:30:00 2024 user.info kernel: [   12.188834] kmodloader: done loading kernel modules from /etc/modules.d/*
Wed Mar  6 18:30:01 2024 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Wed Mar  6 18:30:01 2024 user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Wed Mar  6 18:30:01 2024 daemon.info dnsmasq[1]: started, version 2.89 cachesize 1000
Wed Mar  6 18:30:01 2024 daemon.info dnsmasq[1]: DNS service limited to local subnets
Wed Mar  6 18:30:01 2024 daemon.info dnsmasq[1]: compile time options: IPv6 GNU-getopt no-DBus UBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-nftset no-auth no-cryptohash no-DNSSEC no-ID loop-detect inotify dumpfile
Wed Mar  6 18:30:01 2024 daemon.info dnsmasq[1]: UBus support enabled: connected to system bus
Wed Mar  6 18:30:01 2024 daemon.info dnsmasq[1]: using nameserver 8.8.8.8#53
Wed Mar  6 18:30:01 2024 daemon.info dnsmasq[1]: using only locally-known addresses for test
Wed Mar  6 18:30:01 2024 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Wed Mar  6 18:30:01 2024 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Wed Mar  6 18:30:01 2024 daemon.info dnsmasq[1]: using only locally-known addresses for local
Wed Mar  6 18:30:01 2024 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Wed Mar  6 18:30:01 2024 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Wed Mar  6 18:30:01 2024 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Wed Mar  6 18:30:01 2024 daemon.warn dnsmasq[1]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Wed Mar  6 18:30:01 2024 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Wed Mar  6 18:30:01 2024 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 0 names
Wed Mar  6 18:30:01 2024 authpriv.info dropbear[1663]: Not backgrounding
Wed Mar  6 18:30:01 2024 user.notice : Added device handler type: bonding
Wed Mar  6 18:30:01 2024 user.notice : Added device handler type: 8021ad
Wed Mar  6 18:30:01 2024 user.notice : Added device handler type: 8021q
Wed Mar  6 18:30:01 2024 user.notice : Added device handler type: macvlan
Wed Mar  6 18:30:01 2024 user.notice : Added device handler type: veth
Wed Mar  6 18:30:01 2024 user.notice : Added device handler type: bridge
Wed Mar  6 18:30:01 2024 user.notice : Added device handler type: Network device
Wed Mar  6 18:30:01 2024 user.notice : Added device handler type: tunnel
Wed Mar  6 18:30:02 2024 daemon.notice procd: /etc/rc.d/S50uhttpd: 4+0 records in
Wed Mar  6 18:30:02 2024 daemon.notice procd: /etc/rc.d/S50uhttpd: 4+0 records out
Wed Mar  6 18:30:02 2024 user.notice ucitrack: Setting up /etc/config/dhcp reload dependency on /etc/config/network
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.499435] mtk_soc_eth 15100000.ethernet eth1: PHY [mdio-bus:06] driver [Maxlinear Ethernet GPY211C] (irq=POLL)
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.509647] mtk_soc_eth 15100000.ethernet eth1: configuring for phy/2500base-x link mode
Wed Mar  6 18:30:02 2024 user.notice ucitrack: Setting up /etc/config/network reload dependency on /etc/config/wireless
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.521023] br-lan: port 1(eth1) entered blocking state
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.526253] br-lan: port 1(eth1) entered disabled state
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.531628] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
Wed Mar  6 18:30:02 2024 daemon.notice wpa_supplicant[1822]: Successfully initialized wpa_supplicant
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.538610] mtk_soc_eth 15100000.ethernet eth1: entered promiscuous mode
Wed Mar  6 18:30:02 2024 daemon.notice netifd: Interface 'lan' is enabled
Wed Mar  6 18:30:02 2024 daemon.notice netifd: Interface 'lan' is setting up now
Wed Mar  6 18:30:02 2024 daemon.notice netifd: Interface 'lan' is now up
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.552036] mtk_soc_eth 15100000.ethernet eth0: Link is Down
Wed Mar  6 18:30:02 2024 user.notice ucitrack: Setting up /etc/config/luci-splash reload dependency on /etc/config/firewall
Wed Mar  6 18:30:02 2024 user.notice ucitrack: Setting up /etc/config/qos reload dependency on /etc/config/firewall
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.560543] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.568980] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
Wed Mar  6 18:30:02 2024 user.notice ucitrack: Setting up /etc/config/miniupnpd reload dependency on /etc/config/firewall
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.574222] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.588013] br-lan: port 2(lan1) entered blocking state
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.593302] br-lan: port 2(lan1) entered disabled state
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.598558] mt7530-mdio mdio-bus:1f lan1: entered allmulticast mode
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.604881] mtk_soc_eth 15100000.ethernet eth0: entered allmulticast mode
Wed Mar  6 18:30:02 2024 user.notice ucitrack: Setting up /etc/config/odhcpd reload dependency on /etc/config/dhcp
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.614721] mt7530-mdio mdio-bus:1f lan1: entered promiscuous mode
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.628290] mt7530-mdio mdio-bus:1f lan2: configuring for phy/gmii link mode
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.636126] br-lan: port 3(lan2) entered blocking state
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.641407] br-lan: port 3(lan2) entered disabled state
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.646655] mt7530-mdio mdio-bus:1f lan2: entered allmulticast mode
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.654778] mt7530-mdio mdio-bus:1f lan2: entered promiscuous mode
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.667954] mt7530-mdio mdio-bus:1f lan3: configuring for phy/gmii link mode
Wed Mar  6 18:30:02 2024 user.notice ucitrack: Setting up non-init /etc/config/fstab reload handler: /sbin/block mount
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.675968] br-lan: port 4(lan3) entered blocking state
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.681245] br-lan: port 4(lan3) entered disabled state
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.686494] mt7530-mdio mdio-bus:1f lan3: entered allmulticast mode
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.694842] mt7530-mdio mdio-bus:1f lan3: entered promiscuous mode
Wed Mar  6 18:30:02 2024 user.notice ucitrack: Setting up /etc/config/system reload trigger for non-procd /etc/init.d/led
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.707875] mt7530-mdio mdio-bus:1f lan4: configuring for phy/gmii link mode
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.717777] br-lan: port 5(lan4) entered blocking state
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.723058] br-lan: port 5(lan4) entered disabled state
Wed Mar  6 18:30:02 2024 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.728309] mt7530-mdio mdio-bus:1f lan4: entered allmulticast mode
Wed Mar  6 18:30:02 2024 user.notice ucitrack: Setting up /etc/config/luci_statistics reload dependency on /etc/config/system
Wed Mar  6 18:30:02 2024 kern.info kernel: [   14.736668] mt7530-mdio mdio-bus:1f lan4: entered promiscuous mode
Wed Mar  6 18:30:02 2024 user.notice ucitrack: Setting up /etc/config/dhcp reload dependency on /etc/config/system
Wed Mar  6 18:30:02 2024 daemon.notice netifd: Interface 'loopback' is enabled
Wed Mar  6 18:30:02 2024 daemon.notice netifd: Interface 'loopback' is setting up now
Wed Mar  6 18:30:02 2024 daemon.notice netifd: Interface 'loopback' is now up
Wed Mar  6 18:30:02 2024 daemon.notice netifd: Network device 'eth0' link is up
Wed Mar  6 18:30:02 2024 daemon.notice netifd: Network device 'lo' link is up
Wed Mar  6 18:30:02 2024 daemon.notice netifd: Interface 'loopback' has link connectivity
Wed Mar  6 18:30:02 2024 daemon.notice netifd: radio1 (2421): WARNING: Variable 'data' does not exist or is not an array/object
Wed Mar  6 18:30:02 2024 daemon.notice netifd: radio0 (2420): WARNING: Variable 'data' does not exist or is not an array/object
Wed Mar  6 18:30:02 2024 daemon.notice ksmbd: Stopping Ksmbd userspace service.
Wed Mar  6 18:30:03 2024 daemon.notice ksmbd: Starting Ksmbd userspace service.
Wed Mar  6 18:30:03 2024 daemon.info dnsmasq[1]: exiting on receipt of SIGTERM
Wed Mar  6 18:30:03 2024 daemon.err procd: Got unexpected signal 1
Wed Mar  6 18:30:03 2024 daemon.info dnsmasq[1]: started, version 2.89 cachesize 1000
Wed Mar  6 18:30:03 2024 daemon.info dnsmasq[1]: DNS service limited to local subnets
Wed Mar  6 18:30:03 2024 daemon.info dnsmasq[1]: compile time options: IPv6 GNU-getopt no-DBus UBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-nftset no-auth no-cryptohash no-DNSSEC no-ID loop-detect inotify dumpfile
Wed Mar  6 18:30:03 2024 daemon.info dnsmasq[1]: UBus support enabled: connected to system bus
Wed Mar  6 18:30:03 2024 daemon.info dnsmasq[1]: using nameserver 8.8.8.8#53
Wed Mar  6 18:30:03 2024 daemon.info dnsmasq[1]: using only locally-known addresses for test
Wed Mar  6 18:30:03 2024 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Wed Mar  6 18:30:03 2024 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Wed Mar  6 18:30:03 2024 daemon.info dnsmasq[1]: using only locally-known addresses for local
Wed Mar  6 18:30:03 2024 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Wed Mar  6 18:30:03 2024 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Wed Mar  6 18:30:03 2024 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Wed Mar  6 18:30:03 2024 daemon.warn dnsmasq[1]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Wed Mar  6 18:30:03 2024 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Wed Mar  6 18:30:03 2024 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 0 names
Wed Mar  6 18:30:03 2024 daemon.notice hostapd: Set new config for phy phy0:
Wed Mar  6 18:30:03 2024 daemon.notice wpa_supplicant[1822]: Set new config for phy phy0
Wed Mar  6 18:30:03 2024 daemon.notice hostapd: Set new config for phy phy1:
Wed Mar  6 18:30:03 2024 daemon.notice wpa_supplicant[1822]: Set new config for phy phy1
Wed Mar  6 18:30:03 2024 daemon.notice wpa_supplicant[1822]: Set new config for phy phy0
Wed Mar  6 18:30:03 2024 daemon.notice wpa_supplicant[1822]: Set new config for phy phy1
Wed Mar  6 18:30:03 2024 daemon.notice hostapd: Set new config for phy phy0: /var/run/hostapd-phy0.conf
Wed Mar  6 18:30:03 2024 daemon.notice hostapd: Restart interface for phy phy0
Wed Mar  6 18:30:03 2024 daemon.notice hostapd: Set new config for phy phy1: /var/run/hostapd-phy1.conf
Wed Mar  6 18:30:03 2024 daemon.notice hostapd: Restart interface for phy phy1
Wed Mar  6 18:30:04 2024 daemon.notice hostapd: Configuration file: data: driver=nl80211 logger_syslog=127 logger_syslog_level=2 logger_stdout=127 logger_stdout_level=2 country_code=CA ieee80211d=1 hw_mode=g supported_rates=60 90 120 180 240 360 480 540 basic_rates=60 120 240 beacon_int=100 chanlist=6 #num_global_macaddr=1 ieee80211n=1 ht_coex=0 ht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][MAX-AMSDU-7935] ieee80211ax=1 he_su_beamformer=1 he_su_beamformee=1 he_mu_beamformer=1 he_bss_color=128 he_spr_sr_control=3 he_default_pe_duration=4 he_rts_threshold=1023 he_mu_edca_qos_info_param_count=0 he_mu_edca_qos_info_q_ack=0 he_mu_edca_qos_info_queue_request=0 he_mu_edca_qos_info_txop_request=0 he_mu_edca_ac_be_aifsn=8 he_mu_edca_ac_be_aci=0 he_mu_edca_ac_be_ecwmin=9 he_mu_edca_ac_be_ecwmax=10 he_mu_edca_ac_be_timer=255 he_mu_edca_ac_bk_aifsn=15 he_mu_edca_ac_bk_aci=1 he_mu_edca_ac_bk_ecwmin=9 he_mu_edca_ac_bk_ecwmax=10 he_mu_edca_ac_bk_timer=255 he_mu_edca_ac_vi_ecwmin=5 he_mu_edca_ac_vi_ecwmax=7 he_mu_edca_ac
Wed Mar  6 18:30:04 2024 daemon.notice netifd: Wireless device 'radio0' is now up
Wed Mar  6 18:30:04 2024 kern.info kernel: [   16.299924] br-lan: port 6(phy0-ap0) entered blocking state
Wed Mar  6 18:30:04 2024 kern.info kernel: [   16.305519] br-lan: port 6(phy0-ap0) entered disabled state
Wed Mar  6 18:30:04 2024 kern.info kernel: [   16.311171] mt798x-wmac 18000000.wifi phy0-ap0: entered allmulticast mode
Wed Mar  6 18:30:04 2024 kern.info kernel: [   16.318119] mt798x-wmac 18000000.wifi phy0-ap0: entered promiscuous mode
Wed Mar  6 18:30:04 2024 kern.info kernel: [   16.324961] br-lan: port 6(phy0-ap0) entered blocking state
Wed Mar  6 18:30:04 2024 kern.info kernel: [   16.330531] br-lan: port 6(phy0-ap0) entered forwarding state
Wed Mar  6 18:30:04 2024 kern.info kernel: [   16.336424] br-lan: port 6(phy0-ap0) entered disabled state
Wed Mar  6 18:30:04 2024 daemon.notice hostapd: phy0-ap0: interface state UNINITIALIZED->COUNTRY_UPDATE
Wed Mar  6 18:30:04 2024 daemon.notice hostapd: phy0-ap0: interface state COUNTRY_UPDATE->HT_SCAN
Wed Mar  6 18:30:04 2024 daemon.notice hostapd: Configuration file: data: driver=nl80211 logger_syslog=127 logger_syslog_level=2 logger_stdout=127 logger_stdout_level=2 country_code=CA ieee80211d=1 ieee80211h=1 hw_mode=a beacon_int=100 chanlist=36 tx_queue_data2_burst=2.0 #num_global_macaddr=1 ieee80211n=1 ht_coex=0 ht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][MAX-AMSDU-7935] ieee80211ac=1 vht_oper_chwidth=2 vht_oper_centr_freq_seg0_idx=50 vht_capab=[RXLDPC][SHORT-GI-80][SHORT-GI-160][TX-STBC-2BY1][SU-BEAMFORMER][SU-BEAMFORMEE][MU-BEAMFORMER][MU-BEAMFORMEE][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][SOUNDING-DIMENSION-3][BF-ANTENNA-3][VHT160][MAX-MPDU-11454][MAX-A-MPDU-LEN-EXP7] ieee80211ax=1 he_oper_chwidth=2 he_oper_centr_freq_seg0_idx=50 he_su_beamformer=1 he_su_beamformee=1 he_mu_beamformer=1 he_bss_color=128 he_spr_sr_control=3 he_default_pe_duration=4 he_rts_threshold=1023 he_mu_edca_qos_info_param_count=0 he_mu_edca_qos_info_q_ack=0 he_mu_edca_qos_info_queue_request=0 he_mu_edca_qos_info_t
Wed Mar  6 18:30:04 2024 daemon.notice netifd: Wireless device 'radio1' is now up
Wed Mar  6 18:30:04 2024 kern.info kernel: [   16.419981] br-lan: port 7(phy1-ap0) entered blocking state
Wed Mar  6 18:30:04 2024 kern.info kernel: [   16.425564] br-lan: port 7(phy1-ap0) entered disabled state
Wed Mar  6 18:30:04 2024 kern.info kernel: [   16.431180] mt798x-wmac 18000000.wifi phy1-ap0: entered allmulticast mode
Wed Mar  6 18:30:04 2024 kern.info kernel: [   16.438115] mt798x-wmac 18000000.wifi phy1-ap0: entered promiscuous mode
Wed Mar  6 18:30:04 2024 kern.info kernel: [   16.444928] br-lan: port 7(phy1-ap0) entered blocking state
Wed Mar  6 18:30:04 2024 kern.info kernel: [   16.450494] br-lan: port 7(phy1-ap0) entered forwarding state
Wed Mar  6 18:30:04 2024 daemon.notice hostapd: phy1-ap0: interface state UNINITIALIZED->COUNTRY_UPDATE
Wed Mar  6 18:30:04 2024 daemon.notice netifd: bridge 'br-lan' link is up
Wed Mar  6 18:30:04 2024 daemon.notice netifd: Interface 'lan' has link connectivity
Wed Mar  6 18:30:04 2024 daemon.notice hostapd: phy1-ap0: interface state COUNTRY_UPDATE->HT_SCAN
Wed Mar  6 18:30:04 2024 daemon.notice hostapd: phy1-ap0: interface state HT_SCAN->DFS
Wed Mar  6 18:30:04 2024 daemon.notice hostapd: phy1-ap0: DFS-CAC-START freq=5180 chan=36 sec_chan=1, width=2, seg0=50, seg1=0, cac_time=60s
Wed Mar  6 18:30:05 2024 kern.info kernel: [   17.369069] br-lan: port 7(phy1-ap0) entered disabled state
Wed Mar  6 18:30:05 2024 kern.info kernel: [   17.609993] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 1Gbps/Full - flow control rx/tx
Wed Mar  6 18:30:05 2024 kern.info kernel: [   17.618473] br-lan: port 1(eth1) entered blocking state
Wed Mar  6 18:30:05 2024 kern.info kernel: [   17.623742] br-lan: port 1(eth1) entered forwarding state
Wed Mar  6 18:30:05 2024 daemon.notice ksmbd: Stopping Ksmbd userspace service.
Wed Mar  6 18:30:05 2024 daemon.notice netifd: Network device 'eth1' link is up
Wed Mar  6 18:30:05 2024 daemon.notice ksmbd: Starting Ksmbd userspace service.
Wed Mar  6 18:30:05 2024 daemon.notice hostapd: 20/40 MHz operation not permitted on channel pri=6 sec=10 based on overlapping BSSes
Wed Mar  6 18:30:05 2024 daemon.notice hostapd: Fallback to 20 MHz
Wed Mar  6 18:30:05 2024 kern.info kernel: [   18.208558] br-lan: port 6(phy0-ap0) entered blocking state
Wed Mar  6 18:30:05 2024 kern.info kernel: [   18.214157] br-lan: port 6(phy0-ap0) entered forwarding state
Wed Mar  6 18:30:05 2024 daemon.notice netifd: Network device 'phy0-ap0' link is up
Wed Mar  6 18:30:06 2024 daemon.notice hostapd: phy0-ap0: interface state HT_SCAN->ENABLED
Wed Mar  6 18:30:06 2024 daemon.notice hostapd: phy0-ap0: AP-ENABLED
Wed Mar  6 19:37:30 2024 kern.info kernel: [   19.852027] mt7530-mdio mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
Wed Mar  6 19:37:30 2024 kern.info kernel: [   19.859983] br-lan: port 3(lan2) entered blocking state
Wed Mar  6 19:37:30 2024 kern.info kernel: [   19.865195] br-lan: port 3(lan2) entered forwarding state
Wed Mar  6 19:37:30 2024 daemon.notice netifd: Network device 'lan2' link is up
Wed Mar  6 19:37:31 2024 daemon.info procd: - init complete -
Wed Mar  6 19:38:14 2024 daemon.err uhttpd[2188]: [info] luci: accepted login on / for root from 192.168.1.218
Wed Mar  6 19:38:14 2024 daemon.info hostapd: phy0-ap0: STA a8:7e:ea:f6:f8:6f IEEE 802.11: authenticated
Wed Mar  6 19:38:14 2024 daemon.info hostapd: phy0-ap0: STA a8:7e:ea:f6:f8:6f IEEE 802.11: associated (aid 1)
Wed Mar  6 19:38:14 2024 daemon.notice hostapd: phy0-ap0: AP-STA-CONNECTED a8:7e:ea:f6:f8:6f auth_alg=open
Wed Mar  6 19:38:14 2024 daemon.info hostapd: phy0-ap0: STA a8:7e:ea:f6:f8:6f RADIUS: starting accounting session DCB289695E1CCA9F
Wed Mar  6 19:38:14 2024 daemon.info hostapd: phy0-ap0: STA a8:7e:ea:f6:f8:6f WPA: pairwise key handshake completed (RSN)
Wed Mar  6 19:38:14 2024 daemon.notice hostapd: phy0-ap0: EAPOL-4WAY-HS-COMPLETED a8:7e:ea:f6:f8:6f
Wed Mar  6 19:38:30 2024 daemon.notice hostapd: phy1-ap0: DFS-CAC-COMPLETED success=1 freq=5180 ht_enabled=0 chan_offset=0 chan_width=5 cf1=5250 cf2=0
Wed Mar  6 19:38:30 2024 daemon.warn hostapd: Can't set DFS state for freq 5180 MHz
Wed Mar  6 19:38:30 2024 daemon.warn hostapd: Can't set DFS state for freq 5200 MHz
Wed Mar  6 19:38:30 2024 daemon.warn hostapd: Can't set DFS state for freq 5220 MHz
Wed Mar  6 19:38:30 2024 daemon.warn hostapd: Can't set DFS state for freq 5240 MHz
Wed Mar  6 19:38:31 2024 kern.info kernel: [   80.208653] br-lan: port 7(phy1-ap0) entered blocking state
Wed Mar  6 19:38:31 2024 kern.info kernel: [   80.214235] br-lan: port 7(phy1-ap0) entered forwarding state
Wed Mar  6 19:38:31 2024 daemon.notice netifd: Network device 'phy1-ap0' link is up
Wed Mar  6 19:38:31 2024 daemon.notice hostapd: phy1-ap0: interface state DFS->ENABLED
Wed Mar  6 19:38:31 2024 daemon.notice hostapd: phy1-ap0: AP-ENABLED
Wed Mar  6 19:38:31 2024 daemon.info hostapd: phy0-ap0: STA 9a:21:d8:53:c1:34 IEEE 802.11: associated (aid 2)
Wed Mar  6 19:38:31 2024 daemon.notice hostapd: phy0-ap0: AP-STA-CONNECTED 9a:21:d8:53:c1:34 auth_alg=sae
Wed Mar  6 19:38:31 2024 daemon.info hostapd: phy0-ap0: STA 9a:21:d8:53:c1:34 RADIUS: starting accounting session 5D2D55EF7D682037
Wed Mar  6 19:38:31 2024 daemon.info hostapd: phy0-ap0: STA 9a:21:d8:53:c1:34 WPA: pairwise key handshake completed (RSN)
Wed Mar  6 19:38:31 2024 daemon.notice hostapd: phy0-ap0: EAPOL-4WAY-HS-COMPLETED 9a:21:d8:53:c1:34
Wed Mar  6 19:38:37 2024 daemon.notice hostapd: phy0-ap0: AP-STA-DISCONNECTED 9a:21:d8:53:c1:34
Wed Mar  6 19:38:37 2024 daemon.info hostapd: phy0-ap0: STA 9a:21:d8:53:c1:34 IEEE 802.11: disassociated
Wed Mar  6 19:38:37 2024 daemon.info hostapd: phy1-ap0: STA fa:5f:5f:f2:00:b5 IEEE 802.11: associated (aid 1)
Wed Mar  6 19:38:37 2024 daemon.notice hostapd: phy1-ap0: AP-STA-CONNECTED fa:5f:5f:f2:00:b5 auth_alg=sae
Wed Mar  6 19:38:37 2024 daemon.info hostapd: phy1-ap0: STA fa:5f:5f:f2:00:b5 RADIUS: starting accounting session 82A1F9EB97AFB5B1
Wed Mar  6 19:38:37 2024 daemon.info hostapd: phy1-ap0: STA fa:5f:5f:f2:00:b5 WPA: pairwise key handshake completed (RSN)
Wed Mar  6 19:38:37 2024 daemon.notice hostapd: phy1-ap0: EAPOL-4WAY-HS-COMPLETED fa:5f:5f:f2:00:b5
Wed Mar  6 19:38:38 2024 daemon.info hostapd: phy0-ap0: STA 9a:21:d8:53:c1:34 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Wed Mar  6 19:38:54 2024 daemon.info hostapd: phy1-ap0: STA 30:a2:c2:ea:59:92 IEEE 802.11: authenticated
Wed Mar  6 19:38:54 2024 daemon.notice hostapd: phy1-ap0: STA-OPMODE-N_SS-CHANGED 30:a2:c2:ea:59:92 2
Wed Mar  6 19:38:54 2024 daemon.info hostapd: phy1-ap0: STA 30:a2:c2:ea:59:92 IEEE 802.11: associated (aid 2)
Wed Mar  6 19:38:55 2024 daemon.notice hostapd: phy1-ap0: AP-STA-CONNECTED 30:a2:c2:ea:59:92 auth_alg=open
Wed Mar  6 19:38:55 2024 daemon.info hostapd: phy1-ap0: STA 30:a2:c2:ea:59:92 RADIUS: starting accounting session 58636D86E51653CD
Wed Mar  6 19:38:55 2024 daemon.info hostapd: phy1-ap0: STA 30:a2:c2:ea:59:92 WPA: pairwise key handshake completed (RSN)
Wed Mar  6 19:38:55 2024 daemon.notice hostapd: phy1-ap0: EAPOL-4WAY-HS-COMPLETED 30:a2:c2:ea:59:92
Wed Mar  6 19:39:28 2024 kern.info kernel: [  137.315588] mt7530-mdio mdio-bus:1f lan2: Link is Down
Wed Mar  6 19:39:28 2024 kern.info kernel: [  137.320782] br-lan: port 3(lan2) entered disabled state
Wed Mar  6 19:39:28 2024 daemon.notice netifd: Network device 'lan2' link is down
Wed Mar  6 19:39:30 2024 kern.info kernel: [  139.394510] mt7530-mdio mdio-bus:1f lan2: Link is Up - 10Mbps/Full - flow control off
Wed Mar  6 19:39:30 2024 kern.info kernel: [  139.402361] br-lan: port 3(lan2) entered blocking state
Wed Mar  6 19:39:30 2024 kern.info kernel: [  139.407583] br-lan: port 3(lan2) entered forwarding state
Wed Mar  6 19:39:30 2024 daemon.notice netifd: Network device 'lan2' link is up
Wed Mar  6 19:41:32 2024 daemon.info hostapd: phy1-ap0: STA d8:13:99:7b:a8:7a IEEE 802.11: authenticated
Wed Mar  6 19:41:32 2024 daemon.notice hostapd: phy1-ap0: STA-OPMODE-N_SS-CHANGED d8:13:99:7b:a8:7a 2
Wed Mar  6 19:41:32 2024 daemon.info hostapd: phy1-ap0: STA d8:13:99:7b:a8:7a IEEE 802.11: associated (aid 3)
Wed Mar  6 19:41:32 2024 daemon.notice hostapd: phy1-ap0: AP-STA-CONNECTED d8:13:99:7b:a8:7a auth_alg=open
Wed Mar  6 19:41:32 2024 daemon.info hostapd: phy1-ap0: STA d8:13:99:7b:a8:7a RADIUS: starting accounting session E9049B4B6F4A4B55
Wed Mar  6 19:41:32 2024 daemon.info hostapd: phy1-ap0: STA d8:13:99:7b:a8:7a WPA: pairwise key handshake completed (RSN)
Wed Mar  6 19:41:32 2024 daemon.notice hostapd: phy1-ap0: EAPOL-4WAY-HS-COMPLETED d8:13:99:7b:a8:7a
Wed Mar  6 19:43:23 2024 daemon.info hostapd: phy0-ap0: STA 4a:9c:a5:85:0a:02 IEEE 802.11: associated (aid 2)
Wed Mar  6 19:43:23 2024 daemon.notice hostapd: phy0-ap0: AP-STA-CONNECTED 4a:9c:a5:85:0a:02 auth_alg=sae
Wed Mar  6 19:43:23 2024 daemon.info hostapd: phy0-ap0: STA 4a:9c:a5:85:0a:02 RADIUS: starting accounting session 8097D7634E14C0C4
Wed Mar  6 19:43:23 2024 daemon.info hostapd: phy0-ap0: STA 4a:9c:a5:85:0a:02 WPA: pairwise key handshake completed (RSN)
Wed Mar  6 19:43:23 2024 daemon.notice hostapd: phy0-ap0: EAPOL-4WAY-HS-COMPLETED 4a:9c:a5:85:0a:02
Wed Mar  6 22:15:41 2024 kern.info kernel: [ 9500.851754] mt7530-mdio mdio-bus:1f lan2: Link is Down
Wed Mar  6 22:15:41 2024 kern.info kernel: [ 9500.857037] br-lan: port 3(lan2) entered disabled state
Wed Mar  6 22:15:41 2024 daemon.notice netifd: Network device 'lan2' link is down
Wed Mar  6 22:15:44 2024 kern.info kernel: [ 9503.958691] mt7530-mdio mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
Wed Mar  6 22:15:44 2024 kern.info kernel: [ 9503.966664] br-lan: port 3(lan2) entered blocking state
Wed Mar  6 22:15:44 2024 kern.info kernel: [ 9503.971887] br-lan: port 3(lan2) entered forwarding state
Wed Mar  6 22:15:44 2024 daemon.notice netifd: Network device 'lan2' link is up
Wed Mar  6 22:16:02 2024 daemon.err uhttpd[2188]: [info] luci: accepted login on / for root from 192.168.1.218
Wed Mar  6 22:16:53 2024 daemon.notice hostapd: phy1-ap0: AP-STA-DISCONNECTED d8:13:99:7b:a8:7a
Wed Mar  6 22:16:53 2024 daemon.info hostapd: phy1-ap0: STA d8:13:99:7b:a8:7a IEEE 802.11: disassociated due to inactivity
Wed Mar  6 22:16:54 2024 daemon.info hostapd: phy1-ap0: STA d8:13:99:7b:a8:7a IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Wed Mar  6 22:17:41 2024 daemon.notice hostapd: phy1-ap0: STA-OPMODE-N_SS-CHANGED be:ea:b9:83:b8:c2 2
Wed Mar  6 22:17:41 2024 daemon.info hostapd: phy1-ap0: STA be:ea:b9:83:b8:c2 IEEE 802.11: associated (aid 3)
Wed Mar  6 22:17:41 2024 daemon.notice hostapd: phy1-ap0: AP-STA-CONNECTED be:ea:b9:83:b8:c2 auth_alg=sae
Wed Mar  6 22:17:41 2024 daemon.info hostapd: phy1-ap0: STA be:ea:b9:83:b8:c2 RADIUS: starting accounting session BDD2303E1688CEAC
Wed Mar  6 22:17:41 2024 daemon.info hostapd: phy1-ap0: STA be:ea:b9:83:b8:c2 WPA: pairwise key handshake completed (RSN)
Wed Mar  6 22:17:41 2024 daemon.notice hostapd: phy1-ap0: EAPOL-4WAY-HS-COMPLETED be:ea:b9:83:b8:c2

@HZFrodo
Copy link
Contributor

HZFrodo commented Mar 7, 2024

I clone a clean main branch and apply this PR, patch apply failed when try to build.
Should I report this to #14751 ?

Applying /home/work/openwrt/target/linux/generic/backport-6.6/020-v6.3-01-UPSTREAM-mm-multi-gen-LRU-rename-lru_gen_struct-to-l.patch using plaintext: 
patching file include/linux/mm_inline.h
Hunk #1 FAILED at 178.
Hunk #2 FAILED at 224.
2 out of 2 hunks FAILED -- saving rejects to file include/linux/mm_inline.h.rej
patching file include/linux/mmzone.h
Hunk #1 FAILED at 404.
Hunk #2 FAILED at 461.
Hunk #3 FAILED at 524.
3 out of 3 hunks FAILED -- saving rejects to file include/linux/mmzone.h.rej
patching file mm/vmscan.c
Hunk #1 FAILED at 3190.
Hunk #2 FAILED at 3596.
Hunk #3 FAILED at 3611.
Hunk #4 FAILED at 3688.
Hunk #5 FAILED at 3733.
Hunk #6 FAILED at 4250.
Hunk #7 FAILED at 4286.
Hunk #8 FAILED at 4307.
Hunk #9 FAILED at 4329.
Hunk #10 FAILED at 4389.
Hunk #11 FAILED at 4454.
Hunk #12 FAILED at 4740.
Hunk #13 FAILED at 4848.
Hunk #14 FAILED at 5249.
Hunk #15 FAILED at 5531.
Hunk #16 FAILED at 5581.
Hunk #17 FAILED at 5835.
17 out of 17 hunks FAILED -- saving rejects to file mm/vmscan.c.rej
patching file mm/workingset.c
Hunk #1 FAILED at 223.
Hunk #2 FAILED at 252.
2 out of 2 hunks FAILED -- saving rejects to file mm/workingset.c.rej
Patch failed!  Please fix /home/work/openwrt/target/linux/generic/backport-6.6/020-v6.3-01-UPSTREAM-mm-multi-gen-LRU-rename-lru_gen_struct-to-l.patch!
make[3]: *** [Makefile:125: /home/work/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/linux-6.6.20/.prepared] Error 1
make[3]: Leaving directory '/home/work/openwrt/toolchain/kernel-headers'
time: toolchain/kernel-headers/compile#9.45#4.35#89.65
    ERROR: toolchain/kernel-headers failed to build.
make[2]: *** [toolchain/Makefile:93: toolchain/kernel-headers/compile] Error 1
make[2]: Leaving directory '/home/work/openwrt'

@richardkendikaku
Copy link

Has anyone created some firmware for the mt6000? I can test it here if you need it.

@HZFrodo
Copy link
Contributor

HZFrodo commented Mar 8, 2024

I clone a clean main branch and apply this PR, patch apply failed when try to build. Should I report this to #14751 ?

Applying /home/work/openwrt/target/linux/generic/backport-6.6/020-v6.3-01-UPSTREAM-mm-multi-gen-LRU-rename-lru_gen_struct-to-l.patch using plaintext: 
patching file include/linux/mm_inline.h
Hunk #1 FAILED at 178.
Hunk #2 FAILED at 224.
2 out of 2 hunks FAILED -- saving rejects to file include/linux/mm_inline.h.rej
patching file include/linux/mmzone.h
Hunk #1 FAILED at 404.
Hunk #2 FAILED at 461.
Hunk #3 FAILED at 524.
3 out of 3 hunks FAILED -- saving rejects to file include/linux/mmzone.h.rej
patching file mm/vmscan.c
Hunk #1 FAILED at 3190.
Hunk #2 FAILED at 3596.
Hunk #3 FAILED at 3611.
Hunk #4 FAILED at 3688.
Hunk #5 FAILED at 3733.
Hunk #6 FAILED at 4250.
Hunk #7 FAILED at 4286.
Hunk #8 FAILED at 4307.
Hunk #9 FAILED at 4329.
Hunk #10 FAILED at 4389.
Hunk #11 FAILED at 4454.
Hunk #12 FAILED at 4740.
Hunk #13 FAILED at 4848.
Hunk #14 FAILED at 5249.
Hunk #15 FAILED at 5531.
Hunk #16 FAILED at 5581.
Hunk #17 FAILED at 5835.
17 out of 17 hunks FAILED -- saving rejects to file mm/vmscan.c.rej
patching file mm/workingset.c
Hunk #1 FAILED at 223.
Hunk #2 FAILED at 252.
2 out of 2 hunks FAILED -- saving rejects to file mm/workingset.c.rej
Patch failed!  Please fix /home/work/openwrt/target/linux/generic/backport-6.6/020-v6.3-01-UPSTREAM-mm-multi-gen-LRU-rename-lru_gen_struct-to-l.patch!
make[3]: *** [Makefile:125: /home/work/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/linux-6.6.20/.prepared] Error 1
make[3]: Leaving directory '/home/work/openwrt/toolchain/kernel-headers'
time: toolchain/kernel-headers/compile#9.45#4.35#89.65
    ERROR: toolchain/kernel-headers failed to build.
make[2]: *** [toolchain/Makefile:93: toolchain/kernel-headers/compile] Error 1
make[2]: Leaving directory '/home/work/openwrt'

Clone Daniel's fork then build, all good.
Download this PR via https://github.com/openwrt/openwrt/pull/14772.patch goes wrong.
Never mind, my device is fine with kernel v6.6 now.

Build-tested: filogic/mt7986a-xiaomi-redmi-router-ax6000-ubootmod
Run-tested: filogic/mt7986a-xiaomi-redmi-router-ax6000-ubootmod

Tested-by: Furong Xu <xfr@outlook.com> # Xiaomi Redmi AX6000
Boot log
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.20 (xxx@xxx-xxx) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r25443-8722f48bda) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Thu Mar  7 03:32:34 2024
[    0.000000] Machine model: Xiaomi Redmi Router AX6000 (OpenWrt U-Boot layout)
[    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] OF: reserved mem: 0x000000004fc00000..0x000000004fcfffff (1024 KiB) nomap non-reusable wmcpu-reserved@4fc00000
[    0.000000] OF: reserved mem: 0x000000004fd00000..0x000000004fd3ffff (256 KiB) nomap non-reusable wo-emi@4fd00000
[    0.000000] OF: reserved mem: 0x000000004fd40000..0x000000004fd7ffff (256 KiB) nomap non-reusable wo-emi@4fd40000
[    0.000000] OF: reserved mem: 0x000000004fd80000..0x000000004ffbffff (2304 KiB) nomap non-reusable wo-data@4fd80000
[    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-0x000000004fbfffff]
[    0.000000]   node   0: [mem 0x000000004fc00000-0x000000004ffbffff]
[    0.000000]   node   0: [mem 0x000000004ffc0000-0x000000005fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.4
[    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] 2 [0] 3 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyS0,115200n8 console_msg_format=syslog
[    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 4.
[    0.000000] software IO TLB: mapped [mem 0x000000005ae00000-0x000000005ee00000] (64MB)
[    0.000000] Memory: 430736K/524288K available (8512K kernel code, 892K rwdata, 2500K rodata, 384K init, 289K bss, 93552K reserved, 0K cma-reserved)
[    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: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 640 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[    0.000000] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.000120] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.000128] pid_max: default: 32768 minimum: 301
[    0.002180] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.002186] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.003779] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.004168] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.004270] rcu: Hierarchical SRCU implementation.
[    0.004272] rcu:     Max phase no-delay instances is 1000.
[    0.004576] smp: Bringing up secondary CPUs ...
[    0.004834] Detected VIPT I-cache on CPU1
[    0.004867] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[    0.004896] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.005183] Detected VIPT I-cache on CPU2
[    0.005202] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[    0.005214] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.005472] Detected VIPT I-cache on CPU3
[    0.005488] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[    0.005498] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.005527] smp: Brought up 1 node, 4 CPUs
[    0.005530] SMP: Total of 4 processors activated.
[    0.005533] CPU features: detected: 32-bit EL0 Support
[    0.005534] CPU features: detected: CRC32 instructions
[    0.005560] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.005563] CPU: All CPU(s) started at EL2
[    0.005564] alternatives: applying system-wide alternatives
[    0.007763] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.007777] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.008652] pinctrl core: initialized pinctrl subsystem
[    0.009328] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.009840] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.009860] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.009880] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.010183] thermal_sys: Registered thermal governor 'fair_share'
[    0.010186] thermal_sys: Registered thermal governor 'bang_bang'
[    0.010188] thermal_sys: Registered thermal governor 'step_wise'
[    0.010190] thermal_sys: Registered thermal governor 'user_space'
[    0.010241] ASID allocator initialised with 65536 entries
[    0.011021] pstore: Using crash dump compression: deflate
[    0.011024] pstore: Registered ramoops as persistent store backend
[    0.011027] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.015980] Modules: 29584 pages in range for non-PLT usage
[    0.015988] Modules: 521104 pages in range for PLT usage
[    0.016796] cryptd: max_cpu_qlen set to 1000
[    0.018275] SCSI subsystem initialized
[    0.018359] libata version 3.00 loaded.
[    0.019328] clocksource: Switched to clocksource arch_sys_counter
[    0.020997] NET: Registered PF_INET protocol family
[    0.021076] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.021890] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.021899] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.021906] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.021931] TCP bind hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.022019] TCP: Hash tables configured (established 4096 bind 4096)
[    0.022074] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.022089] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.022238] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.022264] PCI: CLS 0 bytes, default 64
[    0.023171] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[    0.026429] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.026432] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.050555] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.051520] printk: console [ttyS0] disabled
[    0.071866] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 116, base_baud = 2500000) is a ST16650V2
[    0.071903] printk: console [ttyS0] enabled
[    0.862976] mtk_rng 1020f000.rng: registered RNG driver
[    0.871199] loop: module loaded
[    0.876172] spi-nand spi0.0: ESMT SPI NAND was found.
[    0.881501] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    0.890095] 6 fixed-partitions partitions found on MTD device spi0.0
[    0.896893] Creating 6 MTD partitions on "spi0.0":
[    0.901946] 0x000000000000-0x000000100000 : "BL2"
[    0.907933] 0x000000100000-0x000000140000 : "Nvram"
[    0.913636] 0x000000140000-0x000000180000 : "Bdata"
[    0.919208] 0x000000180000-0x000000380000 : "Factory"
[    0.926367] 0x000000380000-0x000000580000 : "FIP"
[    0.933072] 0x000000580000-0x000008000000 : "ubi"
[    1.018648] ubi0: default fastmap pool size: 45
[    1.023452] ubi0: default fastmap WL pool size: 22
[    1.028486] ubi0: attaching mtd5
[    1.719579] ubi0: scanning is finished
[    1.732283] ubi0: attached mtd5 (name "ubi", size 122 MiB)
[    1.738026] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    1.745152] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    1.752182] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    1.759384] ubi0: good PEBs: 980, bad PEBs: 0, corrupted PEBs: 0
[    1.765629] ubi0: user volume: 4, internal volumes: 1, max. volumes count: 128
[    1.773090] ubi0: max/mean erase counter: 7/3, WL threshold: 4096, image sequence number: 1157858698
[    1.782460] ubi0: available PEBs: 0, total reserved PEBs: 980, PEBs reserved for bad PEB handling: 20
[    1.791921] ubi0: background thread "ubi_bgt0d" started, PID 200
[    1.793599] block ubiblock0_2: created from ubi0:2(fit)
[    1.932886] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc081500000, irq 121
[    1.942789] i2c_dev: i2c /dev entries driver
[    1.948555] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    1.957182] NET: Registered PF_INET6 protocol family
[    1.962998] Segment Routing with IPv6
[    1.966927] In-situ OAM (IOAM) with IPv6
[    1.971151] NET: Registered PF_PACKET protocol family
[    1.976552] 8021q: 802.1Q VLAN Support v1.8
[    1.993653] FIT: Detected U-Boot 2024.01-OpenWrt-r25383-fbb924abff
[    2.000128] FIT: Selected configuration: "config-1" (OpenWrt xiaomi_redmi-router-ax6000-ubootmod)
[    2.009245] FIT:           kernel sub-image 0x00001000..0x0055aa92 "kernel-1" (ARM64 OpenWrt Linux-6.6.20) 
[    2.019240] FIT:          flat_dt sub-image 0x0055b000..0x0056007d "fdt-1" (ARM64 OpenWrt xiaomi_redmi-router-ax6000-ubootmod device tree blob) 
[    2.032436] FIT:       filesystem sub-image 0x00561000..0x00a1dfff "rootfs-1" (ARM64 OpenWrt xiaomi_redmi-router-ax6000-ubootmod rootfs) 
[    2.045395] block ubiblock0_2: mapped 1 uImage.FIT filesystem sub-image as /dev/fit0
[    2.096954] mt7530-mdio mdio-bus:1f: configuring for fixed/2500base-x link mode
[    2.106185] mt7530-mdio mdio-bus:1f: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    2.115627] mt7530-mdio mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7531 PHY] (irq=125)
[    2.136235] mt7530-mdio mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7531 PHY] (irq=126)
[    2.156602] mt7530-mdio mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7531 PHY] (irq=127)
[    2.176969] mt7530-mdio mdio-bus:1f wan (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7531 PHY] (irq=128)
[    2.188370] mtk_soc_eth 15100000.ethernet eth0: entered promiscuous mode
[    2.195351] DSA: tree 0 setup
[    2.199177] UBI: auto-attach mtd5
[    2.202750] ubi: mtd5 is already attached to ubi0
[    2.207696] UBI error: cannot attach mtd5
[    2.212038] clk: Disabling unused clocks
[    2.221792] VFS: Mounted root (squashfs filesystem) readonly on device 259:0.
[    2.229309] Freeing unused kernel memory: 384K
[    2.309361] Run /sbin/init as init process
[    2.313701]   with arguments:
[    2.316912]     /sbin/init
[    2.319872]   with environment:
[    2.323257]     HOME=/
[    2.325861]     TERM=linux
[    2.512060] init: Console is alive
[    2.515889] init: - watchdog -
[    2.759353] random: crng init done
[    2.849826] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.875811] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    2.885588] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.902355] init: - preinit -
[    3.232791] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[    3.241605] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    3.251175] mt7530-mdio mdio-bus:1f lan4: configuring for phy/gmii link mode
[    5.253810] mt7530-mdio mdio-bus:1f lan4: Link is Up - 1Gbps/Full - flow control rx/tx
[    5.362875] UBIFS (ubi0:3): Mounting in unauthenticated mode
[    5.368852] UBIFS (ubi0:3): background thread "ubifs_bgt0_3" started, PID 671
[    5.480765] UBIFS (ubi0:3): UBIFS: mounted UBI device 0, volume 3, name "rootfs_data"
[    5.488847] UBIFS (ubi0:3): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    5.499003] UBIFS (ubi0:3): FS size: 108564480 bytes (103 MiB, 855 LEBs), max 866 LEBs, journal size 5459968 bytes (5 MiB, 43 LEBs)
[    5.511069] UBIFS (ubi0:3): reserved for root: 4952683 bytes (4836 KiB)
[    5.517922] UBIFS (ubi0:3): media format: w5/r0 (latest is w5/r0), UUID 6399F1AD-23E5-40BE-9AB5-E50C117D38C4, small LPT model
[    5.530615] mount_root: overlay filesystem has not been fully initialized yet
[    5.539013] mount_root: switching to ubifs overlay
[    5.548203] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[    5.731506] urandom-seed: Seed file not found (/etc/urandom.seed)
[    5.770385] mt7530-mdio mdio-bus:1f lan4: Link is Down
[    5.780836] procd: - early -
[    5.784116] procd: - watchdog -
[    6.318235] procd: - watchdog -
[    6.321877] procd: - ubus -
[    6.396371] procd: - init -
[    6.604336] kmodloader: loading kernel modules from /etc/modules.d/*
[    6.635164] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0
[    6.649722] Loading modules backported from Linux version v6.6.15-0-g51f354b815c4
[    6.657458] Backport generated by backports.git 193becf2
[    6.754754] urngd: v1.0.2 started.
[    7.070684] mt798x-wmac 18000000.wifi: HW/SW Version: 0x8a108a10, Build Time: 20221012174648a
[    7.070684] 
[    7.247333] mt798x-wmac 18000000.wifi: WM Firmware Version: ____000000, Build Time: 20221012174725
[    7.343146] mt798x-wmac 18000000.wifi: WA Firmware Version: DEV_000000, Build Time: 20221012174937
[    7.449716] mt798x-wmac 18000000.wifi: registering led 'mt76-phy0'
[    7.457617] mt798x-wmac 18000000.wifi: registering led 'mt76-phy1'
[   11.277304] PPP generic driver version 2.4.2
[   11.282495] NET: Registered PF_PPPOX protocol family
[   11.289611] kmodloader: done loading kernel modules from /etc/modules.d/*
[   11.404607] mtdblock: MTD device 'Bdata' is NAND, please consider using UBI block devices instead.
[   14.264738] mtk_soc_eth 15100000.ethernet eth0: Link is Down
[   14.275898] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[   14.284616] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[   14.289075] mt7530-mdio mdio-bus:1f lan2: configuring for phy/gmii link mode
[   14.301890] br-lan: port 1(lan2) entered blocking state
[   14.307390] br-lan: port 1(lan2) entered disabled state
[   14.312934] mt7530-mdio mdio-bus:1f lan2: entered allmulticast mode
[   14.319482] mtk_soc_eth 15100000.ethernet eth0: entered allmulticast mode
[   14.329354] mt7530-mdio mdio-bus:1f lan2: entered promiscuous mode
[   14.346079] mt7530-mdio mdio-bus:1f lan3: configuring for phy/gmii link mode
[   14.356239] br-lan: port 2(lan3) entered blocking state
[   14.361765] br-lan: port 2(lan3) entered disabled state
[   14.367275] mt7530-mdio mdio-bus:1f lan3: entered allmulticast mode
[   14.375526] mt7530-mdio mdio-bus:1f lan3: entered promiscuous mode
[   14.389201] mt7530-mdio mdio-bus:1f lan4: configuring for phy/gmii link mode
[   14.397552] br-lan: port 3(lan4) entered blocking state
[   14.403081] br-lan: port 3(lan4) entered disabled state
[   14.408591] mt7530-mdio mdio-bus:1f lan4: entered allmulticast mode
[   14.417068] mt7530-mdio mdio-bus:1f lan4: entered promiscuous mode
[   14.432174] mt7530-mdio mdio-bus:1f wan: configuring for phy/gmii link mode
[   15.960622] br-lan: port 4(phy1-ap0) entered blocking state
[   15.966459] br-lan: port 4(phy1-ap0) entered disabled state
[   15.972356] mt798x-wmac 18000000.wifi phy1-ap0: entered allmulticast mode
[   15.979562] mt798x-wmac 18000000.wifi phy1-ap0: entered promiscuous mode
[   17.216992] mt7530-mdio mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control off
[   17.513700] mt7530-mdio mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
[   17.521911] br-lan: port 1(lan2) entered blocking state
[   17.527381] br-lan: port 1(lan2) entered forwarding state
[   17.831652] mt7530-mdio mdio-bus:1f lan4: Link is Up - 1Gbps/Full - flow control rx/tx
[   17.839862] br-lan: port 3(lan4) entered blocking state
[   17.845331] br-lan: port 3(lan4) entered forwarding state
[   18.197620] mt7530-mdio mdio-bus:1f lan3: Link is Up - 1Gbps/Full - flow control off
[   18.205691] br-lan: port 2(lan3) entered blocking state
[   18.211190] br-lan: port 2(lan3) entered forwarding state
[   80.712558] br-lan: port 4(phy1-ap0) entered blocking state
[   80.718400] br-lan: port 4(phy1-ap0) entered forwarding state

@everything411
Copy link

tested filogic/mt7986a-xiaomi-redmi-router-ax6000-ubootmod

everything works fine so far. WED is ok.

note that i also applied patches from #14813 and #14785

dmesg boot log
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.20 (everything411@DESKTOP-3UD078L) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r0+25443-8722f48bda) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Thu Mar  7 03:32:34 2024
[    0.000000] Machine model: Xiaomi Redmi Router AX6000 (OpenWrt U-Boot layout)
[    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] OF: reserved mem: 0x000000004fc00000..0x000000004fcfffff (1024 KiB) nomap non-reusable wmcpu-reserved@4fc00000
[    0.000000] OF: reserved mem: 0x000000004fd00000..0x000000004fd3ffff (256 KiB) nomap non-reusable wo-emi@4fd00000
[    0.000000] OF: reserved mem: 0x000000004fd40000..0x000000004fd7ffff (256 KiB) nomap non-reusable wo-emi@4fd40000
[    0.000000] OF: reserved mem: 0x000000004fd80000..0x000000004ffbffff (2304 KiB) nomap non-reusable wo-data@4fd80000
[    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-0x000000004fbfffff]
[    0.000000]   node   0: [mem 0x000000004fc00000-0x000000004ffbffff]
[    0.000000]   node   0: [mem 0x000000004ffc0000-0x000000005fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.4
[    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] 2 [0] 3
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyS0,115200n8 console_msg_format=syslog
[    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 4.
[    0.000000] software IO TLB: mapped [mem 0x000000005ae00000-0x000000005ee00000] (64MB)
[    0.000000] Memory: 430672K/524288K available (8576K kernel code, 894K rwdata, 2512K rodata, 384K init, 287K bss, 93616K reserved, 0K cma-reserved)
[    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: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 640 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[    0.000000] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.000116] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.000123] pid_max: default: 32768 minimum: 301
[    0.002145] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.002151] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.003729] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.004117] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.004218] rcu: Hierarchical SRCU implementation.
[    0.004221] rcu:     Max phase no-delay instances is 1000.
[    0.004522] smp: Bringing up secondary CPUs ...
[    0.004785] Detected VIPT I-cache on CPU1
[    0.004819] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[    0.004847] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.005133] Detected VIPT I-cache on CPU2
[    0.005155] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[    0.005166] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.005426] Detected VIPT I-cache on CPU3
[    0.005443] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[    0.005453] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.005481] smp: Brought up 1 node, 4 CPUs
[    0.005484] SMP: Total of 4 processors activated.
[    0.005487] CPU features: detected: 32-bit EL0 Support
[    0.005490] CPU features: detected: CRC32 instructions
[    0.005515] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.005518] CPU: All CPU(s) started at EL2
[    0.005519] alternatives: applying system-wide alternatives
[    0.007758] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.007771] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.008638] pinctrl core: initialized pinctrl subsystem
[    0.009306] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.009817] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.009837] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.009857] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.010162] thermal_sys: Registered thermal governor 'fair_share'
[    0.010164] thermal_sys: Registered thermal governor 'bang_bang'
[    0.010166] thermal_sys: Registered thermal governor 'step_wise'
[    0.010168] thermal_sys: Registered thermal governor 'user_space'
[    0.010217] ASID allocator initialised with 65536 entries
[    0.010995] pstore: Using crash dump compression: deflate
[    0.010998] pstore: Registered ramoops as persistent store backend
[    0.011001] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.015988] Modules: 29568 pages in range for non-PLT usage
[    0.015997] Modules: 521088 pages in range for PLT usage
[    0.016800] cryptd: max_cpu_qlen set to 1000
[    0.018258] SCSI subsystem initialized
[    0.018341] libata version 3.00 loaded.
[    0.019326] clocksource: Switched to clocksource arch_sys_counter
[    0.020981] NET: Registered PF_INET protocol family
[    0.021062] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.021882] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.021893] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.021899] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.021919] TCP bind hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.022005] TCP: Hash tables configured (established 4096 bind 4096)
[    0.022063] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.022082] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.022229] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.022250] PCI: CLS 0 bytes, default 64
[    0.023162] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[    0.026362] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.026366] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.050111] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.051263] printk: console [ttyS0] disabled
[    0.071647] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 116, base_baud = 2500000) is a ST16650V2
[    0.071685] printk: console [ttyS0] enabled
[    0.862273] mtk_rng 1020f000.rng: registered RNG driver
[    0.870505] loop: module loaded
[    0.875446] spi-nand spi0.0: ESMT SPI NAND was found.
[    0.880779] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    0.889368] 6 fixed-partitions partitions found on MTD device spi0.0
[    0.896186] Creating 6 MTD partitions on "spi0.0":
[    0.901268] 0x000000000000-0x000000100000 : "BL2"
[    0.907274] 0x000000100000-0x000000140000 : "Nvram"
[    0.912942] 0x000000140000-0x000000180000 : "Bdata"
[    0.918507] 0x000000180000-0x000000380000 : "Factory"
[    0.925668] 0x000000380000-0x000000580000 : "FIP"
[    0.932425] 0x000000580000-0x000008000000 : "ubi"
[    1.016541] ubi0: default fastmap pool size: 45
[    1.021340] ubi0: default fastmap WL pool size: 22
[    1.026374] ubi0: attaching mtd5
[    1.720290] ubi0: scanning is finished
[    1.733097] ubi0: attached mtd5 (name "ubi", size 122 MiB)
[    1.738840] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    1.745962] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    1.752991] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    1.760193] ubi0: good PEBs: 980, bad PEBs: 0, corrupted PEBs: 0
[    1.766439] ubi0: user volume: 5, internal volumes: 1, max. volumes count: 128
[    1.773900] ubi0: max/mean erase counter: 4/2, WL threshold: 4096, image sequence number: 917538234
[    1.783182] ubi0: available PEBs: 0, total reserved PEBs: 980, PEBs reserved for bad PEB handling: 20
[    1.792645] ubi0: background thread "ubi_bgt0d" started, PID 201
[    1.794313] block ubiblock0_2: created from ubi0:2(fit)
[    1.932928] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc081580000, irq 121
[    1.942826] i2c_dev: i2c /dev entries driver
[    1.948587] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    1.957306] NET: Registered PF_INET6 protocol family
[    1.963081] Segment Routing with IPv6
[    1.967010] In-situ OAM (IOAM) with IPv6
[    1.971239] NET: Registered PF_PACKET protocol family
[    1.976626] 8021q: 802.1Q VLAN Support v1.8
[    1.994456] FIT: Detected U-Boot 2024.01-ImmortalWrt-r29141-ee914a4af6
[    2.001254] FIT: Selected configuration: "config-1" (OpenWrt xiaomi_redmi-router-ax6000-ubootmod)
[    2.010374] FIT:           kernel sub-image 0x00001000..0x00562759 "kernel-1" (ARM64 OpenWrt Linux-6.6.20)
[    2.020362] FIT:          flat_dt sub-image 0x00563000..0x0056807d "fdt-1" (ARM64 OpenWrt xiaomi_redmi-router-ax6000-ubootmod device tree blob)
[    2.033553] FIT:       filesystem sub-image 0x00569000..0x01197fff "rootfs-1" (ARM64 OpenWrt xiaomi_redmi-router-ax6000-ubootmod rootfs)
[    2.046521] block ubiblock0_2: mapped 1 uImage.FIT filesystem sub-image as /dev/fit0
[    2.098148] mt7530-mdio mdio-bus:1f: configuring for fixed/2500base-x link mode
[    2.107380] mt7530-mdio mdio-bus:1f: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    2.116891] mt7530-mdio mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7531 PHY] (irq=125)
[    2.137544] mt7530-mdio mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7531 PHY] (irq=126)
[    2.157989] mt7530-mdio mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7531 PHY] (irq=127)
[    2.178354] mt7530-mdio mdio-bus:1f wan (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7531 PHY] (irq=128)
[    2.189747] mtk_soc_eth 15100000.ethernet eth0: entered promiscuous mode
[    2.196723] DSA: tree 0 setup
[    2.200551] UBI: auto-attach mtd5
[    2.204117] ubi: mtd5 is already attached to ubi0
[    2.209063] UBI error: cannot attach mtd5
[    2.213410] clk: Disabling unused clocks
[    2.222882] VFS: Mounted root (squashfs filesystem) readonly on device 259:0.
[    2.230416] Freeing unused kernel memory: 384K
[    2.319358] Run /sbin/init as init process
[    2.323700]   with arguments:
[    2.326911]     /sbin/init
[    2.329869]   with environment:
[    2.333254]     HOME=/
[    2.335858]     TERM=linux
[    2.524684] init: Console is alive
[    2.528513] init: - watchdog -
[    2.759350] random: crng init done
[    2.921363] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.947449] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    2.957240] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.965415] init: - preinit -
[    3.436204] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[    3.444938] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    3.455050] mt7530-mdio mdio-bus:1f lan4: configuring for phy/gmii link mode
[    5.592737] UBIFS (ubi0:4): Mounting in unauthenticated mode
[    5.598717] UBIFS (ubi0:4): background thread "ubifs_bgt0_4" started, PID 673
[    5.644058] UBIFS (ubi0:4): recovery needed
[    5.795565] UBIFS (ubi0:4): recovery completed
[    5.800329] UBIFS (ubi0:4): UBIFS: mounted UBI device 0, volume 4, name "rootfs_data"
[    5.808400] UBIFS (ubi0:4): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    5.818553] UBIFS (ubi0:4): FS size: 85200896 bytes (81 MiB, 671 LEBs), max 682 LEBs, journal size 4317184 bytes (4 MiB, 34 LEBs)
[    5.830441] UBIFS (ubi0:4): reserved for root: 4024248 bytes (3929 KiB)
[    5.837297] UBIFS (ubi0:4): media format: w5/r0 (latest is w5/r0), UUID 0731C597-B46F-413F-A81F-8BD8426C19FC, small LPT model
[    5.856277] mount_root: switching to ubifs overlay
[    5.872004] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[    5.889018] urandom-seed: Seeding with /etc/urandom.seed
[    5.953511] procd: - early -
[    5.956788] procd: - watchdog -
[    6.492034] procd: - watchdog -
[    6.497951] procd: - ubus -
[    6.567143] procd: - init -
[    6.889696] kmodloader: loading kernel modules from /etc/modules.d/*
[    6.920448] tun: Universal TUN/TAP device driver, 1.6
[    6.929795] GACT probability on
[    6.933812] Mirror/redirect action on
[    6.940731] u32 classifier
[    6.943700]     input device check on
[    6.947605]     Actions configured
[    6.956423] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0
[    6.972943] Loading modules backported from Linux version v6.6.15-0-g51f354b815c4
[    6.980689] Backport generated by backports.git 193becf2
[    7.014505] mt798x-wmac 18000000.wifi: attaching wed device 0 version 2
[    7.037345] urngd: v1.0.2 started.
[    7.306819] platform 15010000.wed: MTK WED WO Firmware Version: DEV_000000, Build Time: 20231228200534
[    7.316388] platform 15010000.wed: MTK WED WO Chip ID 00 Region 3
[    7.905783] mt798x-wmac 18000000.wifi: HW/SW Version: 0x8a108a10, Build Time: 20231228200344a
[    7.905783]
[    8.267830] mt798x-wmac 18000000.wifi: WM Firmware Version: ____000000, Build Time: 20231228200402
[    8.403810] mt798x-wmac 18000000.wifi: WA Firmware Version: DEV_000000, Build Time: 20231228200519
[    8.509780] mt798x-wmac 18000000.wifi: registering led 'mt76-phy0'
[    8.517690] mt798x-wmac 18000000.wifi: registering led 'mt76-phy1'
[   12.345599] PPP generic driver version 2.4.2
[   12.350851] NET: Registered PF_PPPOX protocol family
[   12.357648] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   12.365743] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   12.377598] kmodloader: done loading kernel modules from /etc/modules.d/*
[   15.262188] mtk_soc_eth 15100000.ethernet eth0: Link is Down
[   15.275340] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[   15.284084] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[   15.288482] mt7530-mdio mdio-bus:1f lan2: configuring for phy/gmii link mode
[   15.303317] br-lan: port 1(lan2) entered blocking state
[   15.308809] br-lan: port 1(lan2) entered disabled state
[   15.314351] mt7530-mdio mdio-bus:1f lan2: entered allmulticast mode
[   15.320924] mtk_soc_eth 15100000.ethernet eth0: entered allmulticast mode
[   15.331035] mt7530-mdio mdio-bus:1f lan2: entered promiscuous mode
[   15.348226] mt7530-mdio mdio-bus:1f lan3: configuring for phy/gmii link mode
[   15.358851] br-lan: port 2(lan3) entered blocking state
[   15.364384] br-lan: port 2(lan3) entered disabled state
[   15.369962] mt7530-mdio mdio-bus:1f lan3: entered allmulticast mode
[   15.378217] mt7530-mdio mdio-bus:1f lan3: entered promiscuous mode
[   15.392973] mt7530-mdio mdio-bus:1f lan4: configuring for phy/gmii link mode
[   15.403272] br-lan: port 3(lan4) entered blocking state
[   15.408767] br-lan: port 3(lan4) entered disabled state
[   15.414378] mt7530-mdio mdio-bus:1f lan4: entered allmulticast mode
[   15.422977] mt7530-mdio mdio-bus:1f lan4: entered promiscuous mode
[   15.438618] mt7530-mdio mdio-bus:1f wan: configuring for phy/gmii link mode
[   17.150350] br-lan: port 4(phy0-ap0) entered blocking state
[   17.156189] br-lan: port 4(phy0-ap0) entered disabled state
[   17.162100] mt798x-wmac 18000000.wifi phy0-ap0: entered allmulticast mode
[   17.169347] mt798x-wmac 18000000.wifi phy0-ap0: entered promiscuous mode
[   17.176490] br-lan: port 4(phy0-ap0) entered blocking state
[   17.182340] br-lan: port 4(phy0-ap0) entered forwarding state
[   17.188519] br-lan: port 4(phy0-ap0) entered disabled state
[   17.646848] br-lan: port 4(phy0-ap0) entered blocking state
[   17.652704] br-lan: port 4(phy0-ap0) entered forwarding state
[   17.972459] br-lan: port 5(phy1-ap0) entered blocking state
[   17.978289] br-lan: port 5(phy1-ap0) entered disabled state
[   17.984167] mt798x-wmac 18000000.wifi phy1-ap0: entered allmulticast mode
[   17.991395] mt798x-wmac 18000000.wifi phy1-ap0: entered promiscuous mode
[   17.998481] br-lan: port 5(phy1-ap0) entered blocking state
[   18.004337] br-lan: port 5(phy1-ap0) entered forwarding state
[   18.189692] br-lan: port 5(phy1-ap0) entered disabled state
[   18.866530] mt7530-mdio mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control off
[   19.282465] br-lan: port 5(phy1-ap0) entered blocking state
[   19.288308] br-lan: port 5(phy1-ap0) entered forwarding state

@K900
Copy link
Contributor

K900 commented Mar 8, 2024

For some reason, my AX6S with GD5F1GQ5xExxG flash considers all blocks to be bad on kernel 6.6. 6.1 works fine.

@RafalB82
Copy link

RafalB82 commented Mar 8, 2024

After compiling with kernel 6.6, I noticed a problem recognizing copper 2.5G SFP

root@OpenWrt:/# [ 256.102756] sfp sfp1: module OEM SFP-2G5 rev 1.0 sn 2G522112324218 dc 220801 [ 256.112176] mtk_soc_eth 15100000.ethernet eth2: unsupported SFP module: no common interface modes

flow offloading still not working but performance of eth 10gb is a bit higher ~ 4.7gbps

@dangowrt
Copy link
Member Author

dangowrt commented Mar 8, 2024

@RafalB82

[ 256.102756] sfp sfp1: module OEM SFP-2G5 rev 1.0 sn 2G522112324218 dc 220801
[ 256.112176] mtk_soc_eth 15100000.ethernet eth2: unsupported SFP module: no common interface modes

I assume this is on the BPi-R4, right?
Does flow-offloading work for you when using Linux 6.1?

@RafalB82
Copy link

RafalB82 commented Mar 9, 2024

I assume this is on the BPi-R4, right?
Does flow-offloading work for you when using Linux 6.1?

Yes, I meant bpi-r4, on 6.1 it didn't work on 4gb ram setting either

Copy files from files-6.1 to files-6.6. No changes.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Copy patches from patches-6.1 to patches-6.6. No changes.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Drop all backport patches that are now included in kernel 6.6.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Drop patches backported as fixes in later kernel version.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Refresh patches and fix changed path for 32-bit mediatek boards
'arch/arm/dts' -> 'arch/arm/dts/mediatek'

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Adapt to changed function pointer prototypes.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
As shared remove functions now returns void instead of int we need to
use .remove_new instead of .remove.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Add config-6.6 for all mediatek subtargets.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Add KERNEL_TESTING_PATCHVER for Linux 6.6.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
@openwrt-bot openwrt-bot merged commit 448b48c into openwrt:main Mar 11, 2024
4 checks passed
@dangowrt
Copy link
Member Author

For some reason, my AX6S with GD5F1GQ5xExxG flash considers all blocks to be bad on kernel 6.6. 6.1 works fine.

@981213 you got this hardware?

@dangowrt dangowrt deleted the mediatek-6.6 branch March 11, 2024 21:47
@K900
Copy link
Contributor

K900 commented Mar 11, 2024

I have no idea what happened there, but I retried it with the latest master and @981213's uboot PR and it works now. I guess something got messed up in my previous uboot build that made the flash freak out?

@github-actions github-actions bot removed build/scripts/tools pull request/issues for build, scripts and tools related changes core packages pull request/issue for core (in-tree) packages target/ramips pull request/issue for ramips target labels Mar 11, 2024
@dangowrt
Copy link
Member Author

I guess something got messed up in my previous uboot build that made the flash freak out?

The flash or the NAND controller of the flash chip, or the SPI-NAND controller of the SoC or the BCH/ECC engine of the SoC, ...
Still feels like something we should not just pretend it didn't happen.

@981213
Copy link
Member

981213 commented Mar 12, 2024

you got this hardware?

I have this flash and will put it on my dev board for a test.

@K900
Copy link
Contributor

K900 commented Mar 12, 2024

I guess something got messed up in my previous uboot build that made the flash freak out?

The flash or the NAND controller of the flash chip, or the SPI-NAND controller of the SoC or the BCH/ECC engine of the SoC, ... Still feels like something we should not just pretend it didn't happen.

I've rebooted the whole thing way too many times both on a bad build and on a working one. At this point I'm starting to believe in cosmic rays or something.

@namiltd namiltd mentioned this pull request Mar 12, 2024
42 tasks
@taylorkline
Copy link

@CharlesMengCA This very much looks like dmx_usb_module is not fit for Linux 6.6 yet. You should probably rather report this issue to https://github.com/lowlander/dmx_usb_module and hope that the authors will fix build problems for newer kernels. Or somehow get other people to fix this, or look around if other distributions may have already done this (typically OpenWrt lacks behind a bit with Kernel version bumps compared to most other distributions due to the fact that we support a high number of different hardware platforms rather than just 2 or 3...).

Noob question, but why does my build try to make dmx_usb_module? I followed the step from the docs and initialized my config with:

wget https://downloads.openwrt.org/snapshots/targets/mediatek/mt7622/config.buildinfo -O .config

And would think that would mean I would create a build exactly like the build action, but apparently it does not, since the build action succeeded but my local build fails due to this package.

How is it that my config ends up different than the buildbot's?

@dangowrt
Copy link
Member Author

First of all, there is no such a thing as a stupid question. Only stupid answers ;)

why does my build try to make dmx_usb_module?

Because this module is present in the packages feed, and you are selecting CONFIG_ALL_KMODS=y so all available modules will be built.

And would think that would mean I would create a build exactly like the build action, but apparently it does not, since the build action succeeded but my local build fails due to this package.

It succeeds with the buildbots because they are building the image with Linux kernel v6.1, and you are building Linux kernel v6.6.

How is it that my config ends up different than the buildbot's?

It doesn't. But that dmx_usb_module is incompatible with Linux 6.6 and needs fixing.

@taylorkline
Copy link

taylorkline commented Mar 20, 2024

First of all, there is no such a thing as a stupid question. Only stupid answers ;)

Thank you very much!

Because this module is present in the packages feed, and you are selecting CONFIG_ALL_KMODS=y so all available modules will be built.

How do I know what kmods I don't actually "use" and can safely drop from my build?

And would think that would mean I would create a build exactly like the build action, but apparently it does not, since the build action succeeded but my local build fails due to this package.

It succeeds with the buildbots because they are building the image with Linux kernel v6.1, and you are building Linux kernel v6.6.

Interesting, when I look at a build action, https://github.com/openwrt/openwrt/actions/runs/8239918438/job/22538183732, it looks like it is also using using all kmods and kernel 6.6:

image

image

There must be something I am missing?

@namiltd namiltd mentioned this pull request Apr 17, 2024
42 tasks
@PalebloodSky
Copy link

30-day uptime now on my GL-MT6000 (MT7986) with kernel 6.6. Great all around performance. At least with this target it feels ready for default.

@dangowrt
Copy link
Member Author

dangowrt commented May 2, 2024

it looks like it is also using using all kmods and kernel 6.6:

Yes, but it doesn't have all the packages from feeds installed, and you run scripts/feeds install -a probably...

@dangowrt
Copy link
Member Author

dangowrt commented May 2, 2024

At least with this target it feels ready for default.

Thanks a lot for the continuous testing and feedback. I can't wait to get rid of Linux 6.1, so now that problems on ramips seems to be resolved as well, I believe we are ready for the switch.

@K900
Copy link
Contributor

K900 commented May 2, 2024

If you want more data, I've been running this on redmi-ax6s for a while now with no issues as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernel pull request/issue with Linux kernel related changes target/mediatek pull request/issue for mediatek target
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet