Garbage would indicate wrong speed.
I succeded with this one : https://www.amazon.fr/dp/B07CQTC8P2?ref=ppx_yo2ov_dt_b_fed_asin_title
I bought also https://www.amazon.fr/dp/B09B3GRVTM?ref=ppx_yo2ov_dt_b_fed_asin_title to be more precise.GND connection was the most difficult to get stable
I'm now very happy with the router
Hi!
I've got this error on booting the device:
[ 14.909707] mt7915e 0000:01:00.0: assign IRQ: got 126
[ 14.914806] mt7915e 0000:01:00.0: enabling device (0000 -> 0002)
[ 14.920853] mt7915e 0000:01:00.0: enabling bus mastering
[ 15.001879] mtk-pcie-gen3 11280000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11280c00 data 1
[ 15.035395] mt7915e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20240823172725a
[ 15.035395]
[ 15.131629] mt7915e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20240823172741
[ 15.199508] mt7915e 0000:01:00.0: WA Firmware Version: DEV_000000, Build Time: 20240823172837
[ 15.312570] mt7915e 0000:01:00.0: missing precal data, size=403472
[ 15.318837] mt7915e 0000:01:00.0: registering led 'mt76-phy0'
[ 15.374008] mt7915e 0000:01:00.0: registering led 'mt76-phy1'
[ 15.753470] mt798x-wmac 18000000.wifi: HW/SW Version: 0x8a108a10, Build Time: 20240823160656a
[ 15.753470]
[ 15.856106] mt798x-wmac 18000000.wifi: WM Firmware Version: ____000000, Build Time: 20240823160721
[ 15.952689] mt798x-wmac 18000000.wifi: WA Firmware Version: DEV_000000, Build Time: 20240823160840
[ 16.059236] mt798x-wmac 18000000.wifi: missing precal data, size=403472
[ 16.065929] mt798x-wmac 18000000.wifi: registering led 'mt76-phy2'
missing precal data - Could this be a problem or is it a common error on this device?
Thanks!
Hello @avalentin,
as far as I understand, this is not a real error message. The mac80211 driver for MediaTek MT76xx/MT79xx devices informs you (in a very, very brief form) that it cannot read WiFi pre-cal data from mmc or nvram and that it uses the default data from files in /lib/firmware/mediatek.
Perhaps device support could be improved. The driver would read individual calibration data from a “mediatek,mtd-eeprom” device or a “precal” cell in nvram if OpenWrt's configuration for Acer W6 devices would offer a corresponding devide tree entry or nvram cell location.
if OpenWrt's configuration for Acer W6 devices would offer a corresponding devide tree entry or nvram cell location
...which, upon reflection, is not a good idea on a device without mtd or nvram. Using the file system to transfer mmc content is far better than messing around with fake mtd or nvram.
I will try to take a look at this. Unfortunately I do not have a backup of the original system. Does someone have a precal file so I know how it looks like?
Acer Predator W6D - notes January 2025
So nice to see this router supported even though it needs serial. But as we know W6D does not need the case to be opened, very nice
Some notes from my "hacking" of the router this weekend.
All instructions on the main page (https://openwrt.org/toh/acer/predator_w6) work with some notes from this thread:
The most important one being to change the line:
setenv bootmenu_default 7
to
setenv bootmenu_default 9
Otherwise the router will not auto-boot into Openwrt.
As the newest U-Boot seem to have more menu items.
The wifi will not work with the 23.05.5 release that is linked on the main page right now.
The latest snapshot will also not work - it will semi-brick the router so that you need to go serial again. At least for me.
The latest release candidate will however work great! (24.10.0-rc6).
And lastly the horrible LED.
Install the software (/admin/system/package-manager):
i2c-tools
kmod-leds-ktd202x
And add this to Startup (/admin/system/startup - Local Startup tab)
i2cset -f -y 0 0x68 0x2 0x0
Most information from this thread but it took some scrolling around to piece all the info together so here it is
Also if you're tired like me:
RX goes to TX, and TX goes to RX - obviously
One other tip is that you dont have to open the case. I have used long sewing needles to poke serial port holes (they are filled with tin) thru case holes, and attached serial interface wires to needles.
One other tip is that, if your serial interface wont work in any configuration it means its dead and you have to buy a new one Been there too many times...
I am quite puzzled why nobody seems to have the problems I do. I can boot the initramfs via tftp but the kernel oopses reproducibly after less than 60s. I've found a few other reports on this kernel bug but for banana pis... and I am using the version that suposedly works fine for others (https://downloads.openwrt.org/releases/24.10.0-rc6/targets/mediatek/filogic/openwrt-24.10.0-rc6-mediatek-filogic-acer_predator-w6d-initramfs-kernel.bin). The vanilla software seems to work normally (if you want to call it that...). Any ideas what's wrong?
MT7986> setenv serverip 192.168.1.66; setenv ipaddr 192.168.1.1; tftpboot 0x46000000 predator.bin; fdt addr $(fdtcontroladdr); fdt rm /signature; bootm
Using device
TFTP from server 192.168.1.66; our IP address is 192.168.1.1
Filename 'predator.bin'.
Load address: 0x46000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###############################################################
7.6 MiB/s
done
Bytes transferred = 9502720 (910000 hex)
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
## Loading kernel from FIT Image at 46000000 ...
Using 'config-1' configuration
Verifying Hash Integrity ... OK
Trying 'kernel-1' kernel subimage
Description: ARM64 OpenWrt Linux-6.6.65
Type: Kernel Image
Compression: lzma compressed
Data Start: 0x460000e8
Data Size: 4112138 Bytes = 3.9 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x48000000
Entry Point: 0x48000000
Hash algo: crc32
Hash value: be85f819
Hash algo: sha1
Hash value: cd8b6a3242e464b3ef20bc4fc72d1289aa443f84
Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading ramdisk from FIT Image at 46000000 ...
Using 'config-1' configuration
Verifying Hash Integrity ... OK
Trying 'initrd-1' ramdisk subimage
Description: ARM64 OpenWrt acer_predator-w6d initrd
Type: RAMDisk Image
Compression: Unknown Compression
Data Start: 0x463ec130
Data Size: 5300548 Bytes = 5.1 MiB
Architecture: AArch64
OS: Linux
Load Address: unavailable
Entry Point: unavailable
Hash algo: crc32
Hash value: 95023619
Hash algo: sha1
Hash value: 90c41d67422b8b81da4fc370b5baa4a4b2d4e26b
Verifying Hash Integrity ... crc32+ sha1+ OK
WARNING: 'compression' nodes for ramdisks are deprecated, please fix your .its file!
## Loading fdt from FIT Image at 46000000 ...
Using 'config-1' configuration
Verifying Hash Integrity ... OK
Trying 'fdt-1' fdt subimage
Description: ARM64 OpenWrt acer_predator-w6d device tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x468fa384
Data Size: 24844 Bytes = 24.3 KiB
Architecture: AArch64
Load Address: 0x47000000
Hash algo: crc32
Hash value: 18d69c6b
Hash algo: sha1
Hash value: 80954e548a697c411188778be88e78a51da152f7
Verifying Hash Integrity ... crc32+ sha1+ OK
Loading fdt from 0x468fa384 to 0x47000000
Booting using the fdt blob at 0x47000000
Uncompressing Kernel Image
Loading Ramdisk to 7f2ea000, end 7f7f8144 ... OK
Loading Device Tree to 000000007f2e0000, end 000000007f2e910b ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.6.65 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r0+28183-28bde50c1d) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Sun Dec 15 00:46:49 2024
[ 0.000000] Machine model: Acer Predator Connect W6d
[ 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-0x000000007fffffff]
[ 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-0x000000007fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[ 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 s35560 r8192 d29976 u73728
[ 0.000000] pcpu-alloc: s35560 r8192 d29976 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: rootfstype=squashfs,ext4 rootwait root=/dev/mmcblk0p6 fstools_ignore_partname=1 boot_param.boot_image_slot=1 boot_param.upgrade_image_slot=0 boot_param.dual_boot
[ 0.000000] Unknown kernel command line parameters "fstools_ignore_partname=1", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 258048
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 1MB
[ 0.000000] software IO TLB: area num 4.
[ 0.000000] software IO TLB: mapped [mem 0x000000007fb00000-0x000000007fc00000] (1MB)
[ 0.000000] Memory: 1005228K/1048576K available (9024K kernel code, 996K rwdata, 1668K rodata, 448K init, 307K bss, 43348K 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: 0xffffffc080010080
[ 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.000001] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[ 0.000077] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[ 0.000084] pid_max: default: 32768 minimum: 301
[ 0.002059] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.002067] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.003627] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.004011] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[ 0.004114] rcu: Hierarchical SRCU implementation.
[ 0.004116] rcu: Max phase no-delay instances is 1000.
[ 0.004439] smp: Bringing up secondary CPUs ...
[ 0.004697] Detected VIPT I-cache on CPU1
[ 0.004732] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[ 0.004761] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.005054] Detected VIPT I-cache on CPU2
[ 0.005075] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[ 0.005088] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.005346] Detected VIPT I-cache on CPU3
[ 0.005364] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[ 0.005373] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.005401] smp: Brought up 1 node, 4 CPUs
[ 0.005405] SMP: Total of 4 processors activated.
[ 0.005407] CPU features: detected: 32-bit EL0 Support
[ 0.005409] CPU features: detected: CRC32 instructions
[ 0.005436] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 0.005440] CPU: All CPU(s) started at EL2
[ 0.005441] alternatives: applying system-wide alternatives
[ 0.008470] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.008487] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.009363] pinctrl core: initialized pinctrl subsystem
[ 0.010212] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.010770] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.010789] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.010805] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.011119] thermal_sys: Registered thermal governor 'fair_share'
[ 0.011122] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.011123] thermal_sys: Registered thermal governor 'step_wise'
[ 0.011125] thermal_sys: Registered thermal governor 'user_space'
[ 0.011203] ASID allocator initialised with 65536 entries
[ 0.011898] pstore: Using crash dump compression: deflate
[ 0.011901] pstore: Registered ramoops as persistent store backend
[ 0.011904] ramoops: using 0x10000@0x42ff0000, ecc: 0
[ 0.017931] Modules: 29616 pages in range for non-PLT usage
[ 0.017939] Modules: 521136 pages in range for PLT usage
[ 0.018865] cryptd: max_cpu_qlen set to 1000
[ 0.019727] SCSI subsystem initialized
[ 0.019855] libata version 3.00 loaded.
[ 0.020914] clocksource: Switched to clocksource arch_sys_counter
[ 0.022524] NET: Registered PF_INET protocol family
[ 0.022619] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.023820] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 0.023834] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.023840] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.023876] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[ 0.024038] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.024291] MPTCP token hash table entries: 1024 (order: 2, 24576 bytes, linear)
[ 0.024372] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.024388] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.024625] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.024647] PCI: CLS 0 bytes, default 64
[ 0.024785] Unpacking initramfs...
[ 0.025855] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[ 0.029153] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.029165] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.050825] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.052512] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[ 0.052537] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[ 0.052545] mtk-pcie-gen3 11280000.pcie: MEM 0x0020000000..0x002fffffff -> 0x0020000000
[ 0.052652] /soc/pcie@11280000: Failed to get clk index: 0 ret: -517
[ 0.052660] mtk-pcie-gen3 11280000.pcie: failed to get clocks
[ 0.055432] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.058136] printk: console [ttyS0] disabled
[ 0.078474] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 116, base_baud = 2500000) is a ST16650V2
[ 0.078521] printk: console [ttyS0] enabled
[ 0.916353] mtk_rng 1020f000.rng: registered RNG driver
[ 0.924692] loop: module loaded
[ 1.052239] mtk_soc_eth 15100000.ethernet: generated random MAC address 65:74:68:25:64:00
[ 1.060441] mtk_soc_eth 15100000.ethernet: generated random MAC address 65:74:68:25:64:00
[ 1.082587] Freeing initrd memory: 5176K
[ 1.161087] Maxlinear Ethernet GPY211C mdio-bus:06: Firmware Version: 8.111 (0x886F)
[ 1.171355] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc085800000, irq 119
[ 1.181204] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc085800000, irq 119
[ 1.190894] i2c_dev: i2c /dev entries driver
[ 1.197086] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[ 1.205995] NET: Registered PF_INET6 protocol family
[ 1.211780] Segment Routing with IPv6
[ 1.215457] In-situ OAM (IOAM) with IPv6
[ 1.219407] NET: Registered PF_PACKET protocol family
[ 1.224484] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.237536] 8021q: 802.1Q VLAN Support v1.8
[ 1.255651] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[ 1.262974] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[ 1.269226] mtk-pcie-gen3 11280000.pcie: MEM 0x0020000000..0x002fffffff -> 0x0020000000
[ 1.277690] debugfs: File 'type' in directory 'phy-soc:t-phy.0' already present!
[ 1.285073] debugfs: File 'efuse' in directory 'phy-soc:t-phy.0' already present!
[ 1.292536] debugfs: File 'intr' in directory 'phy-soc:t-phy.0' already present!
[ 1.299908] debugfs: File 'tx-imp' in directory 'phy-soc:t-phy.0' already present!
[ 1.307456] debugfs: File 'rx-imp' in directory 'phy-soc:t-phy.0' already present!
[ 1.319314] mtk-msdc 11230000.mmc: Final PAD_DS_TUNE: 0x14414
[ 1.325385] mmc0: new HS400 MMC card at address 0001
[ 1.331306] mmcblk0: mmc0:0001 004GA1 3.69 GiB
[ 1.337175] GPT:Primary header thinks Alt. header is not at the end of the disk.
[ 1.344728] GPT:1 != 7733247
[ 1.347596] GPT:Alternate GPT header not at the end of the disk.
[ 1.353593] GPT:1 != 7733247
[ 1.356459] GPT: Use GNU Parted to correct GPT errors.
[ 1.361616] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12
[ 1.368914] mmcblk0boot0: mmc0:0001 004GA1 2.00 MiB
[ 1.374678] mmcblk0boot1: mmc0:0001 004GA1 2.00 MiB
[ 1.379803] mmcblk0rpmb: mmc0:0001 004GA1 512 KiB, chardev (250:0)
[ 1.650919] mtk-pcie-gen3 11280000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x0)
[ 1.659710] mtk-pcie-gen3: probe of 11280000.pcie failed with error -110
[ 1.709212] mt7530-mdio mdio-bus:1f: no interrupt support
[ 1.759313] mt7530-mdio mdio-bus:1f: configuring for fixed/2500base-x link mode
[ 1.768285] mt7530-mdio mdio-bus:1f: Link is Up - 2.5Gbps/Full - flow control rx/tx
[ 1.778755] MediaTek MT7531 PHY mt7530-0:00: Configure LED registers (num=14)
[ 1.793284] mt7530-mdio mdio-bus:1f game (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7531 PHY] (irq=POLL)
[ 1.815202] MediaTek MT7531 PHY mt7530-0:01: Configure LED registers (num=14)
[ 1.829743] mt7530-mdio mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7531 PHY] (irq=POLL)
[ 1.851400] MediaTek MT7531 PHY mt7530-0:02: Configure LED registers (num=14)
[ 1.865935] mt7530-mdio mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7531 PHY] (irq=POLL)
[ 1.887573] MediaTek MT7531 PHY mt7530-0:03: Configure LED registers (num=14)
[ 1.902109] mt7530-mdio mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7531 PHY] (irq=POLL)
[ 1.913519] mtk_soc_eth 15100000.ethernet eth0: entered promiscuous mode
[ 1.920225] DSA: tree 0 setup
[ 1.923466] clk: Disabling unused clocks
[ 1.927906] Freeing unused kernel memory: 448K
[ 1.932396] Run /init as init process
[ 1.936041] with arguments:
[ 1.938992] /init
[ 1.941254] with environment:
[ 1.944379] HOME=/
[ 1.946723] TERM=linux
[ 1.949414] fstools_ignore_partname=1
[ 2.120208] init: Console is alive
[ 2.123735] init: - watchdog -
[ 2.130459] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 2.142587] usbcore: registered new interface driver usbfs
[ 2.148100] usbcore: registered new interface driver hub
[ 2.153448] usbcore: registered new device driver usb
[ 2.158921] gpio_button_hotplug: loading out-of-tree module taints kernel.
[ 2.170270] xhci-mtk 11200000.usb: xHCI Host Controller
[ 2.175641] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 1
[ 2.186140] xhci-mtk 11200000.usb: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000200010
[ 2.195374] xhci-mtk 11200000.usb: irq 125, io mem 0x11200000
[ 2.201200] xhci-mtk 11200000.usb: xHCI Host Controller
[ 2.206414] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 2
[ 2.213806] xhci-mtk 11200000.usb: Host supports USB 3.2 Enhanced SuperSpeed
[ 2.221267] hub 1-0:1.0: USB hub found
[ 2.225035] hub 1-0:1.0: 2 ports detected
[ 2.229322] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 2.237704] hub 2-0:1.0: USB hub found
[ 2.241470] hub 2-0:1.0: 1 port detected
[ 2.249205] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 2.257739] init: - preinit -
[ 2.343483] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[ 2.352004] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
/etc/preinit: line 7: c0:98:79:b4:7d:13: not found
/etc/preinit: line 8: c0:98:79:b4:7d:14: not found
ip: "" is invalid lladdr
ip: "" is invalid lladdr
ip: "" is invalid lladdr
ip: "" is invalid lladdr
ip: "" is invalid lladdr
[ 2.794582] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 4.874740] mt7530-mdio mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 6.976525] mt7530-mdio mdio-bus:1f lan1: Link is Down
[ 6.982705] random: procd: uninitialized urandom read (4 bytes read)
[ 6.984696] procd: - early -
[ 6.992047] procd: - watchdog -
[ 7.511566] procd: - watchdog -
[ 7.514847] procd: - ubus -
[ 11.351158] random: crng init done
[ 11.353004] procd: - init -
Please press Enter to activate this console.
[ 11.479966] kmodloader: loading kernel modules from /etc/modules.d/*
[ 11.491970] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0
[ 11.504493] Loading modules backported from Linux version v6.11.2-0-g7aa21fec187b
[ 11.512015] Backport generated by backports.git v6.1.110-1-32-gc61f71fe0942
[ 11.661034] urngd: v1.0.2 started.
[ 11.934485] mt798x-wmac 18000000.wifi: HW/SW Version: 0x8a108a10, Build Time: 20240823160739a
[ 11.934485]
[ 11.952254] mt798x-wmac 18000000.wifi: WM Firmware Version: ____000000, Build Time: 20240823160804
[ 11.991566] mt798x-wmac 18000000.wifi: WA Firmware Version: DEV_000000, Build Time: 20240823160840
[ 32.470930] mt798x-wmac 18000000.wifi: Retry message 00000002 (seq 11)
[ 52.950914] mt798x-wmac 18000000.wifi: Message 00000002 (seq 11) timeout
[ 52.957603] mt798x-wmac 18000000.wifi: Failed to start WA firmware
[ 52.957618] Unable to handle kernel write to read-only memory at virtual address 0000000000000008
[ 52.972615] Mem abort info:
[ 52.975393] ESR = 0x0000000096000045
[ 52.979125] EC = 0x25: DABT (current EL), IL = 32 bits
[ 52.984420] SET = 0, FnV = 0
[ 52.987459] EA = 0, S1PTW = 0
[ 52.990583] FSC = 0x05: level 1 translation fault
[ 52.995445] Data abort info:
[ 52.998309] ISV = 0, ISS = 0x00000045, ISS2 = 0x00000000
[ 53.003777] CM = 0, WnR = 1, TnD = 0, TagAccess = 0
[ 53.008809] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[ 53.014104] user pgtable: 4k pages, 39-bit VAs, pgdp=000000004719f000
[ 53.020524] [0000000000000008] pgd=08000000471a4003, p4d=08000000471a4003, pud=08000000471a4003, pmd=0000000000000000
[ 53.031114] Internal error: Oops: 0000000096000045 [#1] SMP
[ 53.036667] Modules linked in: mt7915e(O+) mt76_connac_lib(O) mt76(O) mac80211(O) cfg80211(O) slhc nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c compat(O) crypto_safexcel sha512_arm64 sha1_ce sha1_generic seqiv md5 geniv des_generic libdes authencesn authenc leds_gpio xhci_plat_hcd xhci_pci xhci_mtk_hcd xhci_hcd gpio_button_hotplug(O) usbcore usb_common aquantia
[ 53.072877] CPU: 0 PID: 11 Comm: kworker/u8:0 Tainted: G O 6.6.65 #0
[ 53.080598] Hardware name: Acer Predator Connect W6d (DT)
[ 53.085978] Workqueue: mt76 0xffffffc078ec3e08 [mt7915e@000000000bc268be+0x1b000]
[ 53.093442] pstate: a0400005 (NzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 53.100383] pc : 0xffffffc078e97ab0 [mt76@00000000b089e823+0xc000]
[ 53.106544] lr : 0xffffffc078e98078 [mt76@00000000b089e823+0xc000]
[ 53.112704] sp : ffffffc080cdbc10
[ 53.116002] x29: ffffffc080cdbc10 x28: ffffffc080cdbc80 x27: ffffff8005359fe0
[ 53.123119] x26: ffffffffffff5af8 x25: ffffff8005351ff8 x24: ffffff8005355678
[ 53.130235] x23: ffffff8005352790 x22: ffffff8005351fe0 x21: ffffff8005352008
[ 53.137350] x20: ffffff8005351fe0 x19: ffffff8005351fe0 x18: 000000002e910694
[ 53.144466] x17: ffffffc080cdbc50 x16: ffffffc080cdbbe0 x15: 00000129e9df5000
[ 53.151581] x14: 0000000000000000 x13: 0000000000000020 x12: 0101010101010101
[ 53.158697] x11: 7f7f7f7f7f7f7f7f x10: fefefefefefefeff x9 : 7f7f7f7f7f7f7f7f
[ 53.165812] x8 : 8080808080808080 x7 : ffffff800000ac80 x6 : ffffffffffff2460
[ 53.172928] x5 : ffffffc080cdbc78 x4 : 0000000000000000 x3 : ffffff8005352010
[ 53.180043] x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000
[ 53.187160] Call trace:
[ 53.189592] 0xffffffc078e97ab0 [mt76@00000000b089e823+0xc000]
[ 53.195406] 0xffffffc078e98078 [mt76@00000000b089e823+0xc000]
[ 53.201219] 0xffffffc078ec4a24 [mt7915e@000000000bc268be+0x1b000]
[ 53.207379] 0xffffffc080056fbc
[ 53.210505] 0xffffffc0800573fc
[ 53.213629] 0xffffffc08005ea9c
[ 53.216755] 0xffffffc080013024
[ 53.219883] Code: f94037e3 eb00007f 54000120 a94306c2 (f900045c)
[ 53.225956] ---[ end trace 0000000000000000 ]---
[ 53.232926] pstore: backend (ramoops) writing error (-28)
[ 53.238307] Kernel panic - not syncing: Oops: Fatal exception in interrupt
[ 53.245159] SMP: stopping secondary CPUs
[ 53.249067] Kernel Offset: disabled
[ 53.252538] CPU features: 0x0,00000000,00000000,1000400b
[ 53.257832] Memory Limit: none
[ 53.263141] Rebooting in 1 seconds..
You are using the image for Acer Predator Connect W6d - is that the model you have ?
There is 3 models: Triband Acer Predator W6, Dualband Acer Predator W6d and Triband Acer Vero W6m
Hi @stefanct,
thank you for your report. I agree with @Pulver, for an analysis it's important to know the exact device name. Btw, there is a fourth device "Acer Predator Connect W6x” that is currently not supported by OpenWrt. And please post a boot log of Acer's stock firmware, because:
The error causing the kernel panic seems to begin at second 1.650919 with
[ 1.650919] mtk-pcie-gen3 11280000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x0)
[ 1.659710] mtk-pcie-gen3: probe of 11280000.pcie failed with error -110
Maybe that is the cause for the kernel panic beginning to unfold between seconds 11.991566 and 52.950914.
Booting from MMC (sysupgrade images), boot logs of W6 and W6m devices (I don't have a W6d) instead contain lines like
[ 1.650919] mtk-pcie-gen3 11280000.pcie: set MEM trans window[0]: cpu_addr = 0x20000000, pci_addr = 0x20000000, size = 0x10000000
[ 1.659710] mtk-pcie-gen3 11280000.pcie: PCI host bridge to bus 0000:00
and many mtk-pcie-gen3 driver init log messages.
I think you can ignore all boot log lines between seconds 2.352004 and 2.794582 – they are caused by a second (and as I think: minor) bug in a preinit script. I have submitted a pull request today that hopefully will fix this piece of OpenWrt code.
yes, of course it's a W6d. usually i build firmwares from source but i wanted to avoid any possibility of toolchain or configuration issues. that's why i am so puzzled... this simply should not happen.
it shouldn't really matter (unless they fucked up completely) but i removed the whole LED carrier. apart from that and the uart pins this is straight from the package (although production date is 2023 something so it's not a new revision). the only (albeit unfavorable) explanation would be that I killed something during soldering or (dis)assembly... but I haven't killed any previously working hardware in the 30 or so years I do these things so...
here is the log of booting stock (it's too verbose to include it directly). the down pcie link is in there too (and an unrelated failed assertion - twice for good measure :)
Hello @stefanct,
thank you very much for confirming the device model and for providing the boot logs.
The stock W6d firmware boot log is very similar to the OEM boot log published on the W6 device page and reflects the differences between W6d (MT7975) and W6 (MT7976 + MT7916).
Seeing the probe of 11280000.pcie failing in your 24.10-rc7 boot log made me think you were using the w6d firmware image with a different device. Sorry for that.
The fact that your W6d boots into Acer's proprietary firmware based on OpenWrt 21.02-SNAPSHOT
sucessfully in spite of the PCIe link being down may be a hint that the PCIE state is different between the W6d and the W6 and maybe can be ignored. – If that's true is hard to tell with my incomplete knowledge about Acer's Wifi 6/6E router boards and with a very limited knowledge about the WA firmware and about the structure of Mediatek's MT7986a. (Best information I have found is the “MT7986 Reference Manual For BPI-R3” referenced by the BPI-R3 docs.)
At least it's very unlikely you killed the SOC's PCIE during soldering or (dis)assembly.
You mentioned “other reports on this kernel bug but for banana pis”. Did you mean this one? – Maybe we observe the rare situation in which error messages are not misleading. In this case the WA firmware is loaded from /lib/firmware/mediatek/mt7986_wa.bin
at around second 12 and fails to start, causing the retry message after 20 seconds and the next message 20 seconds later before continuing the boot sequence without a working WA firmware causes a write attempt at address 8 and (thus) a kernel panic.
These Acer routers can be bricked so quickly (but only when writing to eMMC)... If the WA firmware really cannot be used with your W6d, maybe you should generate a initramfs-kernel image not containing the file mt7986_wa.bin
and try to boot?
Maybe other W6d users have better ideas or are willing to post their 24.10-rc* boot logs.
Hello, does anyone know how to turn the Ethernet Port Status LEDs off?
I have already managed doing that, but i've factory reseted the Router, and now i can not remember how to do it.. i thought i've read it on here, but unfortunately i can't find it
@bengts can you please boot the initramfs via uboot again and post the log so that we can compare yours with mine?
I was referring to https://github.com/openwrt/openwrt/issues/16924 and friends. But that would still be no explanation of why other W6d instances are reported to work.
Hello @stefanct,
thank you very much again.
I see. Issue #16924 really seems to be very close to if not the same error as the one you are experiencing. And I agree. It's no explanation why some devices work under certain circumstances and others don't in different settings.
Most interesting comment I read is #1312284560. Mediatek's decision to use UART0_TX as a MT7986a bootstrap pin (see sheet 4 of BPI-R3 schematic diagrams) may lead to different outcome with cold boot or warm boot or with/without different serial adapters.
Another trace leads to PCIE controller init timing issues.
I still think some modified initramfs kernel image variants will make systematic analysis easier. And for the first time, I no longer think that discussions about different serial adapters in this part of the forum are completely pointless.
I've compiled rc6 again myself with DEBUG_KERNEL
enabled. I would have expected it to print the line numbers too but it does only show the function names... still better than nothing but is there a way to do that?
[ 52.957764] mt798x-wmac 18000000.wifi: Failed to start WA firmware
[ 52.957780] Unable to handle kernel write to read-only memory at virtual address 0000000000000008
[ 52.972776] Mem abort info:
[ 52.975555] ESR = 0x0000000096000045
[ 52.979286] EC = 0x25: DABT (current EL), IL = 32 bits
[ 52.984580] SET = 0, FnV = 0
[ 52.987618] EA = 0, S1PTW = 0
[ 52.990743] FSC = 0x05: level 1 translation fault
[ 52.995605] Data abort info:
[ 52.998470] ISV = 0, ISS = 0x00000045, ISS2 = 0x00000000
[ 53.003937] CM = 0, WnR = 1, TnD = 0, TagAccess = 0
[ 53.008970] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[ 53.014264] user pgtable: 4k pages, 39-bit VAs, pgdp=0000000047837000
[ 53.020684] [0000000000000008] pgd=0800000047a71003, p4d=0800000047a71003, pud=0800000047a71003, pmd=0000000000000000
[ 53.031273] Internal error: Oops: 0000000096000045 [#1] SMP
[ 53.036826] Modules linked in: mt7915e(O+) mt76_connac_lib(O) mt76(O) mac80211(O) cfg80211(O) slhc nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c compat(O) crypto_safexcel sha512_arm64 sha1_ce sha1_generic seqiv md5 geniv des_generic libdes authencesn authenc leds_gpio xhci_plat_hcd xhci_pci xhci_mtk_hcd xhci_hcd gpio_button_hotplug(O) usbcore usb_common aquantia
[ 53.073036] CPU: 3 PID: 11 Comm: kworker/u8:0 Tainted: G O 6.6.73 #0
[ 53.080756] Hardware name: Acer Predator Connect W6d (DT)
[ 53.086135] Workqueue: mt76 mt7915_mac_reset_work [mt7915e]
[ 53.091706] pstate: a0400005 (NzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 53.098647] pc : __mt76_tx_complete_skb+0x5b8/0xb48 [mt76]
[ 53.104121] lr : mt76_txq_schedule_all+0x18/0x58 [mt76]
[ 53.109332] sp : ffffffc080e53c00
[ 53.112630] x29: ffffffc080e53c00 x28: ffffffc080e53c70 x27: ffffff8007769fe0
[ 53.119747] x26: ffffffffffff5af8 x25: ffffff8007761ff8 x24: ffffff8007765678
[ 53.126863] x23: ffffff8007762790 x22: ffffff8007761fe0 x21: ffffff8007762008
[ 53.133978] x20: ffffff8007761fe0 x19: ffffff8007761fe0 x18: 0000000000000000
[ 53.141095] x17: 0000000000000000 x16: 0000000000000000 x15: 0000007fc5674bf0
[ 53.148211] x14: 0000000000000000 x13: 0000000000000020 x12: 0101010101010101
[ 53.155326] x11: 7f7f7f7f7f7f7f7f x10: fefefefefefefeff x9 : 7f7f7f7f7f7f7f7f
[ 53.162442] x8 : 8080808080808080 x7 : ffffff800000ac80 x6 : ffffffffffff2460
[ 53.169558] x5 : ffffffc080e53c68 x4 : 0000000000000000 x3 : ffffff8007762010
[ 53.176673] x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000
[ 53.183789] Call trace:
[ 53.186221] __mt76_tx_complete_skb+0x5b8/0xb48 [mt76]
[ 53.191347] mt76_txq_schedule_all+0x18/0x58 [mt76]
[ 53.196212] mt7915_mac_reset_work+0xc1c/0xe28 [mt7915e]
[ 53.201514] process_one_work+0x178/0x2f0
[ 53.205512] worker_thread+0x2e4/0x4cc
[ 53.209246] kthread+0xd8/0xdc
[ 53.212288] ret_from_fork+0x10/0x20
[ 53.215852] Code: f94037e3 eb00007f 54000120 a94306c2 (f900045c)
[ 53.221924] ---[ end trace 0000000000000000 ]---
[ 53.228908] pstore: backend (ramoops) writing error (-28)
[ 53.234288] Kernel panic - not syncing: Oops: Fatal exception in interrupt
[ 53.241140] SMP: stopping secondary CPUs
[ 53.245047] Kernel Offset: disabled
[ 53.248518] CPU features: 0x0,00000000,00000000,1000400b
[ 53.253811] Memory Limit: none
[ 53.259121] Rebooting in 1 seconds..
And I can confirm that it is indeed a UART-related problem. I managed to boot without the UART pins connected to my CP210x-based adapter, connect it in time to stop uboot from booting from flash (although I guess a warm reboot could work even with UART connected... depends on how the reset is implemented).
And with that... it boots just fine:
## Loading kernel from FIT Image at 46000000 ...
Using 'config-1' configuration
Verifying Hash Integrity ... OK
Trying 'kernel-1' kernel subimage
Description: ARM64 OpenWrt Linux-6.6.73
Type: Kernel Image
Compression: lzma compressed
Data Start: 0x460000e8
Data Size: 4396808 Bytes = 4.2 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x48000000
Entry Point: 0x48000000
Hash algo: crc32
Hash value: 2e40b1b0
Hash algo: sha1
Hash value: 3fda016afe2849d820d3d932b8f883caa104415e
Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading ramdisk from FIT Image at 46000000 ...
Using 'config-1' configuration
Verifying Hash Integrity ... OK
Trying 'initrd-1' ramdisk subimage
Description: ARM64 OpenWrt acer_predator-w6d initrd
Type: RAMDisk Image
Compression: Unknown Compression
Data Start: 0x4643192c
Data Size: 5305624 Bytes = 5.1 MiB
Architecture: AArch64
OS: Linux
Load Address: unavailable
Entry Point: unavailable
Hash algo: crc32
Hash value: 0376f0ea
Hash algo: sha1
Hash value: 4f09e0487c7f339b8c1e4c66beef71f2f22a229e
Verifying Hash Integrity ... crc32+ sha1+ OK
WARNING: 'compression' nodes for ramdisks are deprecated, please fix your .its file!
## Loading fdt from FIT Image at 46000000 ...
Using 'config-1' configuration
Verifying Hash Integrity ... OK
Trying 'fdt-1' fdt subimage
Description: ARM64 OpenWrt acer_predator-w6d device tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x46940f54
Data Size: 24844 Bytes = 24.3 KiB
Architecture: AArch64
Load Address: 0x47000000
Hash algo: crc32
Hash value: 18d69c6b
Hash algo: sha1
Hash value: 80954e548a697c411188778be88e78a51da152f7
Verifying Hash Integrity ... crc32+ sha1+ OK
Loading fdt from 0x46940f54 to 0x47000000
Booting using the fdt blob at 0x47000000
Uncompressing Kernel Image
Loading Ramdisk to 7f2e8000, end 7f7f7518 ... OK
Loading Device Tree to 000000007f2de000, end 000000007f2e710b ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.6.73 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r0+28183-28bde50c1d) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Wed Jan 22 19:52:54 2025
[ 0.000000] Machine model: Acer Predator Connect W6d
[ 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-0x000000007fffffff]
[ 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-0x000000007fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[ 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 s35560 r8192 d29976 u73728
[ 0.000000] pcpu-alloc: s35560 r8192 d29976 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: rootfstype=squashfs,ext4 rootwait root=/dev/mmcblk0p6 fstools_ignore_partname=1 boot_param.boot_image_slot=1 boot_param.upgrade_image_slot=0 boot_param.dual_boot
[ 0.000000] Unknown kernel command line parameters "fstools_ignore_partname=1", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 258048
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 1MB
[ 0.000000] software IO TLB: area num 4.
[ 0.000000] software IO TLB: mapped [mem 0x000000007fb00000-0x000000007fc00000] (1MB)
[ 0.000000] Memory: 1004264K/1048576K available (9024K kernel code, 996K rwdata, 2612K rodata, 448K init, 307K bss, 44312K 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.000074] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[ 0.000082] pid_max: default: 32768 minimum: 301
[ 0.002076] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.002084] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.003650] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.004037] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[ 0.004140] rcu: Hierarchical SRCU implementation.
[ 0.004142] rcu: Max phase no-delay instances is 1000.
[ 0.004465] smp: Bringing up secondary CPUs ...
[ 0.004723] Detected VIPT I-cache on CPU1
[ 0.004760] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[ 0.004786] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.005074] Detected VIPT I-cache on CPU2
[ 0.005093] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[ 0.005106] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.005359] Detected VIPT I-cache on CPU3
[ 0.005377] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[ 0.005387] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.005413] smp: Brought up 1 node, 4 CPUs
[ 0.005417] SMP: Total of 4 processors activated.
[ 0.005420] CPU features: detected: 32-bit EL0 Support
[ 0.005422] CPU features: detected: CRC32 instructions
[ 0.005447] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 0.005449] CPU: All CPU(s) started at EL2
[ 0.005451] alternatives: applying system-wide alternatives
[ 0.008520] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.008536] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.009417] pinctrl core: initialized pinctrl subsystem
[ 0.010267] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.010822] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.010841] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.010857] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.011164] thermal_sys: Registered thermal governor 'fair_share'
[ 0.011167] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.011168] thermal_sys: Registered thermal governor 'step_wise'
[ 0.011170] thermal_sys: Registered thermal governor 'user_space'
[ 0.011246] ASID allocator initialised with 65536 entries
[ 0.011938] pstore: Using crash dump compression: deflate
[ 0.011941] pstore: Registered ramoops as persistent store backend
[ 0.011943] ramoops: using 0x10000@0x42ff0000, ecc: 0
[ 0.012956] /soc/interrupt-controller@c000000: Fixed dependency cycle(s) with /soc/interrupt-controller@c000000
[ 0.018049] Modules: 29376 pages in range for non-PLT usage
[ 0.018058] Modules: 520896 pages in range for PLT usage
[ 0.018983] cryptd: max_cpu_qlen set to 1000
[ 0.019853] SCSI subsystem initialized
[ 0.019978] libata version 3.00 loaded.
[ 0.021052] clocksource: Switched to clocksource arch_sys_counter
[ 0.022667] NET: Registered PF_INET protocol family
[ 0.022759] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.023964] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 0.023977] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.023984] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.024020] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[ 0.024187] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.024439] MPTCP token hash table entries: 1024 (order: 2, 24576 bytes, linear)
[ 0.024520] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.024537] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.024776] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.024859] PCI: CLS 0 bytes, default 64
[ 0.024999] Unpacking initramfs...
[ 0.025876] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[ 0.029169] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.029180] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.050872] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.052469] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[ 0.052489] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[ 0.052497] mtk-pcie-gen3 11280000.pcie: MEM 0x0020000000..0x002fffffff -> 0x0020000000
[ 0.052630] /soc/pcie@11280000: Failed to get clk index: 0 ret: -517
[ 0.052639] mtk-pcie-gen3 11280000.pcie: failed to get clocks
[ 0.055368] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.058086] printk: console [ttyS0] disabled
[ 0.078456] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 116, base_baud = 2500000) is a ST16650V2
[ 0.078503] printk: console [ttyS0] enabled
[ 0.925957] mtk_rng 1020f000.rng: registered RNG driver
[ 0.931326] random: crng init done
[ 0.936857] loop: module loaded
[ 1.072360] mtk_soc_eth 15100000.ethernet: generated random MAC address 65:74:68:25:64:00
[ 1.080560] mtk_soc_eth 15100000.ethernet: generated random MAC address 65:74:68:25:64:00
[ 1.084644] Freeing initrd memory: 5180K
[ 1.161199] Maxlinear Ethernet GPY211C mdio-bus:06: Firmware Version: 8.111 (0x886F)
[ 1.171494] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc085900000, irq 119
[ 1.181298] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc085900000, irq 119
[ 1.190992] i2c_dev: i2c /dev entries driver
[ 1.197125] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[ 1.205674] NET: Registered PF_INET6 protocol family
[ 1.211306] Segment Routing with IPv6
[ 1.214977] In-situ OAM (IOAM) with IPv6
[ 1.218921] NET: Registered PF_PACKET protocol family
[ 1.223982] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.237015] 8021q: 802.1Q VLAN Support v1.8
[ 1.254106] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[ 1.261443] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[ 1.267695] mtk-pcie-gen3 11280000.pcie: MEM 0x0020000000..0x002fffffff -> 0x0020000000
[ 1.276172] debugfs: File 'type' in directory 'phy-soc:t-phy.0' already present!
[ 1.283563] debugfs: File 'efuse' in directory 'phy-soc:t-phy.0' already present!
[ 1.291022] debugfs: File 'intr' in directory 'phy-soc:t-phy.0' already present!
[ 1.298409] debugfs: File 'tx-imp' in directory 'phy-soc:t-phy.0' already present!
[ 1.305967] debugfs: File 'rx-imp' in directory 'phy-soc:t-phy.0' already present!
[ 1.319440] mtk-msdc 11230000.mmc: Final PAD_DS_TUNE: 0x14414
[ 1.326045] mmc0: new HS400 MMC card at address 0001
[ 1.332452] mmcblk0: mmc0:0001 004GA1 3.69 GiB
[ 1.338258] GPT:Primary header thinks Alt. header is not at the end of the disk.
[ 1.345716] GPT:1 != 7733247
[ 1.348582] GPT:Alternate GPT header not at the end of the disk.
[ 1.354570] GPT:1 != 7733247
[ 1.357435] GPT: Use GNU Parted to correct GPT errors.
[ 1.362608] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12
[ 1.369726] mmcblk0boot0: mmc0:0001 004GA1 2.00 MiB
[ 1.375462] mmcblk0boot1: mmc0:0001 004GA1 2.00 MiB
[ 1.380579] mmcblk0rpmb: mmc0:0001 004GA1 512 KiB, chardev (250:0)
[ 1.651066] mtk-pcie-gen3 11280000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x0)
[ 1.659863] mtk-pcie-gen3: probe of 11280000.pcie failed with error -110
[ 1.709323] mt7530-mdio mdio-bus:1f: no interrupt support
[ 1.758854] mt7530-mdio mdio-bus:1f: configuring for fixed/2500base-x link mode
[ 1.767569] mt7530-mdio mdio-bus:1f: Link is Up - 2.5Gbps/Full - flow control rx/tx
[ 1.778297] MediaTek MT7531 PHY mt7530-0:00: Configure LED registers (num=14)
[ 1.792827] mt7530-mdio mdio-bus:1f game (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7531 PHY] (irq=POLL)
[ 1.814791] MediaTek MT7531 PHY mt7530-0:01: Configure LED registers (num=14)
[ 1.829334] mt7530-mdio mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7531 PHY] (irq=POLL)
[ 1.850986] MediaTek MT7531 PHY mt7530-0:02: Configure LED registers (num=14)
[ 1.865521] mt7530-mdio mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7531 PHY] (irq=POLL)
[ 1.887105] MediaTek MT7531 PHY mt7530-0:03: Configure LED registers (num=14)
[ 1.901639] mt7530-mdio mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7531 PHY] (irq=POLL)
[ 1.912995] mtk_soc_eth 15100000.ethernet eth0: entered promiscuous mode
[ 1.919703] DSA: tree 0 setup
[ 1.922972] clk: Disabling unused clocks
[ 1.927440] Freeing unused kernel memory: 448K
[ 1.931941] Run /init as init process
[ 1.935586] with arguments:
[ 1.938537] /init
[ 1.940794] with environment:
[ 1.943924] HOME=/
[ 1.946268] TERM=linux
[ 1.948959] fstools_ignore_partname=1
[ 2.112013] init: Console is alive
[ 2.115513] init: - watchdog -
[ 2.122196] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 2.134597] usbcore: registered new interface driver usbfs
[ 2.140114] usbcore: registered new interface driver hub
[ 2.145454] usbcore: registered new device driver usb
[ 2.150927] gpio_button_hotplug: loading out-of-tree module taints kernel.
[ 2.164494] xhci-mtk 11200000.usb: xHCI Host Controller
[ 2.169728] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 1
[ 2.180189] xhci-mtk 11200000.usb: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000200010
[ 2.189375] xhci-mtk 11200000.usb: irq 125, io mem 0x11200000
[ 2.195191] xhci-mtk 11200000.usb: xHCI Host Controller
[ 2.200407] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 2
[ 2.207796] xhci-mtk 11200000.usb: Host supports USB 3.2 Enhanced SuperSpeed
[ 2.215199] hub 1-0:1.0: USB hub found
[ 2.218953] hub 1-0:1.0: 2 ports detected
[ 2.223316] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 2.231714] hub 2-0:1.0: USB hub found
[ 2.235471] hub 2-0:1.0: 1 port detected
[ 2.243303] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 2.260047] init: - preinit -
[ 2.343348] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[ 2.351781] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
/etc/preinit: line 7: c0:98:79:b4:7d:13: not found
/etc/preinit: line 8: c0:98:79:b4:7d:14: not found
ip: "" is invalid lladdr
ip: "" is invalid lladdr
ip: "" is invalid lladdr
ip: "" is invalid lladdr
ip: "" is invalid lladdr
[ 2.754678] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 4.874855] mt7530-mdio mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 7.036660] mt7530-mdio mdio-bus:1f lan1: Link is Down
[ 7.044812] procd: - early -
[ 7.047739] procd: - watchdog -
[ 7.566944] procd: - watchdog -
[ 7.570231] procd: - ubus -
[ 7.624305] procd: - init -
Please press Enter to activate this console.
[ 7.749852] kmodloader: loading kernel modules from /etc/modules.d/*
[ 7.762225] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0
[ 7.774575] Loading modules backported from Linux version v6.12.6-0-ge9d65b48ce1a
[ 7.782077] Backport generated by backports.git v6.1.110-1-35-g410656ef04d2
[ 7.918587] urngd: v1.0.2 started.
[ 8.244623] mt798x-wmac 18000000.wifi: HW/SW Version: 0x8a108a10, Build Time: 20240823160739a
[ 8.244623]
[ 8.262812] mt798x-wmac 18000000.wifi: WM Firmware Version: ____000000, Build Time: 20240823160804
[ 8.301116] mt798x-wmac 18000000.wifi: WA Firmware Version: DEV_000000, Build Time: 20240823160840
[ 8.407291] mt798x-wmac 18000000.wifi: registering led 'mt76-phy0'
[ 8.452515] mt798x-wmac 18000000.wifi: registering led 'mt76-phy1'
[ 8.569978] PPP generic driver version 2.4.2
[ 8.575066] NET: Registered PF_PPPOX protocol family
[ 8.582239] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 13.896478] mtk_soc_eth 15100000.ethernet eth0: Link is Down
[ 13.911899] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[ 13.920356] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[ 13.935222] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[ 13.946308] br-lan: port 1(lan1) entered blocking state
[ 13.951587] br-lan: port 1(lan1) entered disabled state
[ 13.956836] mt7530-mdio mdio-bus:1f lan1: entered allmulticast mode
[ 13.963149] mtk_soc_eth 15100000.ethernet eth0: entered allmulticast mode
[ 13.972787] mt7530-mdio mdio-bus:1f lan1: entered promiscuous mode
[ 13.990029] mt7530-mdio mdio-bus:1f lan2: configuring for phy/gmii link mode
[ 14.000839] br-lan: port 2(lan2) entered blocking state
[ 14.006166] br-lan: port 2(lan2) entered disabled state
[ 14.011478] mt7530-mdio mdio-bus:1f lan2: entered allmulticast mode
[ 14.019747] mt7530-mdio mdio-bus:1f lan2: entered promiscuous mode
[ 14.034464] mt7530-mdio mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 14.045440] br-lan: port 3(lan3) entered blocking state
[ 14.050701] br-lan: port 3(lan3) entered disabled state
[ 14.056028] mt7530-mdio mdio-bus:1f lan3: entered allmulticast mode
[ 14.065110] mt7530-mdio mdio-bus:1f lan3: entered promiscuous mode
[ 14.081209] mt7530-mdio mdio-bus:1f game: configuring for phy/gmii link mode
[ 14.093229] br-lan: port 4(game) entered blocking state
[ 14.098471] br-lan: port 4(game) entered disabled state
[ 14.103819] mt7530-mdio mdio-bus:1f game: entered allmulticast mode
[ 14.112513] mt7530-mdio mdio-bus:1f game: entered promiscuous mode
[ 14.141449] mtk_soc_eth 15100000.ethernet eth1: PHY [mdio-bus:06] driver [Maxlinear Ethernet GPY211C] (irq=POLL)
[ 14.151717] mtk_soc_eth 15100000.ethernet eth1: configuring for phy/2500base-x link mode
[ 19.114833] mt7530-mdio mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 19.114858] br-lan: port 1(lan1) entered blocking state
[ 19.127964] br-lan: port 1(lan1) entered forwarding state
BusyBox v1.36.1 (2025-01-04 21:35:37 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 24.10.0-rc6, r28388-58d0057481
root@OpenWrt:~# uptime
00:07:22 up 7 min, load average: 0.00, 0.00, 0.00
We won't be able to fix the strapping pins (if it's actually that) but we sure could fix the null pointer dereference... I am happy to test - after all, I can reproduce it quite reliably
thank you. GND connection was the cause for the garbage.