Hi all,
I was given a UniFi 6 LR V2 from a local friend. I flashed it with OpenWRT per the Wiki instructions but the unit came up seemingly without Wi-Fi. Even an ifconfig -a simply doesn't list the radios.
I assumed it might be a firmware bug and flashed the current SNAPSHOT build (erasing the old config for good measure), but got the same result.
I've attached the dmesg below. But I'm stumped what could be going on.
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.6.87 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r29332-3c65dc3678) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Wed Apr 23 20:01:06 2025
[ 0.000000] Machine model: Ubiquiti UniFi 6 LR v2
[ 0.000000] Memory limited to 495MB
[ 0.000000] OF: reserved mem: 0x0000000042ff0000..0x0000000042ffffff (64 KiB) map non-reusable ramoops@42ff0000
[ 0.000000] OF: reserved mem: 0x0000000043000000..0x000000004302ffff (192 KiB) nomap non-reusable secmon@43000000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x000000005efdefff]
[ 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-0x000000005efdefff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005efdefff]
[ 0.000000] On node 0, zone DMA: 4129 pages in unavailable ranges
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv0.2 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: Trusted OS migration not required
[ 0.000000] percpu: Embedded 18 pages/cpu s35560 r8192 d29976 u73728
[ 0.000000] pcpu-alloc: s35560 r8192 d29976 u73728 alloc=18*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[ 0.000000] CPU features: detected: ARM erratum 843419
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Kernel command line: ubootver= ramoops.mem_address=0x5efe0000 ramoops.mem_size=131072 ramoops.ecc=1 ramoops.record_size=32768 console=ttyS0,115200n1 mem=507775K ubntbootid=0
[ 0.000000] Unknown kernel command line parameters "ubootver= ubntbootid=0", will be passed to user space.
[ 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: 124959
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 0MB
[ 0.000000] software IO TLB: area num 2.
[ 0.000000] software IO TLB: mapped [mem 0x000000005e540000-0x000000005e5c0000] (0MB)
[ 0.000000] Memory: 483068K/507772K available (9152K kernel code, 950K rwdata, 2608K rodata, 448K init, 310K bss, 24704K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 12.50MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049cda, max_idle_ns: 440795202628 ns
[ 0.000000] sched_clock: 56 bits at 13MHz, resolution 80ns, wraps every 4398046511080ns
[ 0.000196] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)
[ 0.000205] pid_max: default: 32768 minimum: 301
[ 0.002966] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.002976] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.005633] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2.
[ 0.005770] rcu: Hierarchical SRCU implementation.
[ 0.005773] rcu: Max phase no-delay instances is 1000.
[ 0.006145] smp: Bringing up secondary CPUs ...
[ 0.006543] Detected VIPT I-cache on CPU1
[ 0.006620] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.006688] smp: Brought up 1 node, 2 CPUs
[ 0.006693] SMP: Total of 2 processors activated.
[ 0.006696] CPU features: detected: 32-bit EL0 Support
[ 0.006700] CPU features: detected: CRC32 instructions
[ 0.006729] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 0.006734] CPU: All CPU(s) started at EL2
[ 0.006735] alternatives: applying system-wide alternatives
[ 0.011154] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.011174] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.012396] pinctrl core: initialized pinctrl subsystem
[ 0.013516] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.013849] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.013874] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.013896] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.013947] ramoops: using module parameters
[ 0.014082] ramoops: uncorrectable error in header
[ 0.023307] pstore: Using crash dump compression: deflate
[ 0.023313] printk: console [ramoops-1] enabled
[ 0.029203] pstore: Registered ramoops as persistent store backend
[ 0.029258] ramoops: using 0x20000@0x5efe0000, ecc: 16
[ 0.029706] thermal_sys: Registered thermal governor 'fair_share'
[ 0.029710] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.029765] thermal_sys: Registered thermal governor 'step_wise'
[ 0.029862] thermal_sys: Registered thermal governor 'user_space'
[ 0.030015] ASID allocator initialised with 65536 entries
[ 0.030712] ramoops: already initialized
[ 0.030812] ramoops: probe of 42ff0000.ramoops failed with error -22
[ 0.039229] Modules: 29360 pages in range for non-PLT usage
[ 0.039242] Modules: 520880 pages in range for PLT usage
[ 0.040322] cryptd: max_cpu_qlen set to 1000
[ 0.041482] SCSI subsystem initialized
[ 0.041688] libata version 3.00 loaded.
[ 0.043416] clocksource: Switched to clocksource arch_sys_counter
[ 0.045618] NET: Registered PF_INET protocol family
[ 0.045785] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.047246] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.047361] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.047423] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.047548] TCP bind hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 0.047743] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.048100] MPTCP token hash table entries: 512 (order: 1, 12288 bytes, linear)
[ 0.048297] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.048365] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.048724] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.048821] PCI: CLS 0 bytes, default 64
[ 0.050227] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[ 0.054866] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.054972] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.108195] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.119038] mt-pmic-pwrap 10001000.pwrap: unexpected interrupt int=0x1
[ 0.132459] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.135788] printk: console [ttyS0] disabled
[ 0.156240] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 118, base_baud = 1562500) is a ST16650V2
[ 0.156394] printk: console [ttyS0] enabled
[ 0.886636] 11005000.serial: ttyS1 at MMIO 0x11005000 (irq = 119, base_baud = 1562500) is a ST16650V2
[ 0.896995] mtk_rng 1020f000.rng: registered RNG driver
[ 0.902694] random: crng init done
[ 0.908448] loop: module loaded
[ 0.912055] mtk-ecc 1100e000.ecc: probed
[ 0.918857] spi-nor spi0.0: w25q512jvq (65536 Kbytes)
[ 0.924353] 10 fixed-partitions partitions found on MTD device spi0.0
[ 0.930871] OF: Bad cell count for /spi@11014000/flash@0/partitions
[ 0.937268] OF: Bad cell count for /spi@11014000/flash@0/partitions
[ 0.943793] Creating 10 MTD partitions on "spi0.0":
[ 0.948761] 0x000000000000-0x000000040000 : "preloader"
[ 0.954406] 0x000000040000-0x000000060000 : "atf"
[ 0.959448] 0x000000060000-0x0000000c0000 : "u-boot"
[ 0.964739] 0x0000000c0000-0x0000000d0000 : "u-boot-env"
[ 0.970399] 0x0000000d0000-0x000000110000 : "factory"
[ 0.975782] 0x000000110000-0x000000120000 : "eeprom"
[ 0.981090] OF: Bad cell count for /spi@11014000/flash@0/partitions
[ 0.987645] 0x000000120000-0x000000130000 : "bs"
[ 0.992562] 0x000000130000-0x000000230000 : "cfg"
[ 0.997629] 0x000000230000-0x000002110000 : "firmware"
[ 1.003250] 2 fit-fw partitions found on MTD device firmware
[ 1.009017] Creating 2 MTD partitions on "firmware":
[ 1.014032] 0x000000000000-0x000000450000 : "kernel"
[ 1.019500] 0x000000460000-0x000001ee0000 : "rootfs"
[ 1.024798] mtd: setting mtd10 (rootfs) as root device
[ 1.030189] 1 squashfs-split partitions found on MTD device rootfs
[ 1.036429] 0x0000008d0000-0x000001ee0000 : "rootfs_data"
[ 1.042288] 0x000002110000-0x000003ff0000 : "kernel1"
[ 1.050290] mtk-spi-nor 11014000.spi: spi frequency: 46666653 Hz
[ 1.187173] hwmon hwmon0: temp1_input not attached to any thermal zone
[ 1.195981] mtk_soc_eth 1b100000.ethernet eth0: mediatek frame engine at 0xffffffc081660000, irq 124
[ 1.205887] i2c_dev: i2c /dev entries driver
[ 1.211595] mtk-wdt 10212000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[ 1.221569] NET: Registered PF_INET6 protocol family
[ 1.227299] Segment Routing with IPv6
[ 1.231075] In-situ OAM (IOAM) with IPv6
[ 1.235118] NET: Registered PF_PACKET protocol family
[ 1.240288] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.253876] 8021q: 802.1Q VLAN Support v1.8
[ 1.279267] mtk-pcie 1a143000.pcie: host bridge /pcie@1a143000 ranges:
[ 1.285970] mtk-pcie 1a143000.pcie: Parsing ranges property...
[ 1.291851] mtk-pcie 1a143000.pcie: MEM 0x0020000000..0x0027ffffff -> 0x0020000000
[ 1.560306] mtk-pcie 1a143000.pcie: PCI host bridge to bus 0000:00
[ 1.566590] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.572196] pci_bus 0000:00: root bus resource [mem 0x20000000-0x27ffffff]
[ 1.579147] pci_bus 0000:00: scanning bus
[ 1.583465] pci 0000:00:00.0: [14c3:3258] type 01 class 0x060400
[ 1.589709] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x1ffffffff 64bit pref]
[ 1.599839] pci_bus 0000:00: fixups for bus
[ 1.604108] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 0
[ 1.610921] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 1.619113] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 1
[ 1.626268] pci_bus 0000:01: scanning bus
[ 1.630543] pci 0000:01:00.0: [14c3:7915] type 00 class 0x000280
[ 1.636793] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[ 1.644241] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[ 1.651625] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[ 1.659715] pci 0000:01:00.0: supports D1 D2
[ 1.664048] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1.670796] pci 0000:01:00.0: PME# disabled
[ 1.675386] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[ 1.713688] pci_bus 0000:01: fixups for bus
[ 1.718004] pci_bus 0000:01: bus scan returning with max=01
[ 1.723740] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 1.730497] pci_bus 0000:00: bus scan returning with max=01
[ 1.736183] pci 0000:00:00.0: BAR 0: no space for [mem size 0x200000000 64bit pref]
[ 1.743889] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x200000000 64bit pref]
[ 1.751982] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff]
[ 1.758871] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit pref]
[ 1.766747] pci 0000:01:00.0: BAR 2: assigned [mem 0x20100000-0x20103fff 64bit pref]
[ 1.774670] pci 0000:01:00.0: BAR 4: assigned [mem 0x20104000-0x20104fff 64bit pref]
[ 1.782585] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 1.787603] pci 0000:00:00.0: bridge window [mem 0x20000000-0x201fffff]
[ 1.794614] pcieport 0000:00:00.0: assign IRQ: got 128
[ 1.799806] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[ 1.806010] pcieport 0000:00:00.0: enabling bus mastering
[ 1.811524] mtk-pcie 1a143000.pcie: msi#0 address_hi 0x0 address_lo 0x44f450c0
[ 1.819008] pcieport 0000:00:00.0: PME: Signaling with IRQ 128
[ 1.824970] pcieport 0000:00:00.0: save config 0x00: 0x325814c3
[ 1.830981] pcieport 0000:00:00.0: save config 0x04: 0x00100006
[ 1.836954] pcieport 0000:00:00.0: save config 0x08: 0x06040000
[ 1.842962] pcieport 0000:00:00.0: save config 0x0c: 0x00010000
[ 1.848931] pcieport 0000:00:00.0: save config 0x10: 0x0000000c
[ 1.854945] pcieport 0000:00:00.0: save config 0x14: 0x00000000
[ 1.860909] pcieport 0000:00:00.0: save config 0x18: 0x40010100
[ 1.866922] pcieport 0000:00:00.0: save config 0x1c: 0x04200000
[ 1.872887] pcieport 0000:00:00.0: save config 0x20: 0x20102000
[ 1.878899] pcieport 0000:00:00.0: save config 0x24: 0x00000000
[ 1.884911] pcieport 0000:00:00.0: save config 0x28: 0x00000000
[ 1.890875] pcieport 0000:00:00.0: save config 0x2c: 0x00000000
[ 1.896890] pcieport 0000:00:00.0: save config 0x30: 0x00000000
[ 1.902855] pcieport 0000:00:00.0: save config 0x34: 0x00000050
[ 1.908868] pcieport 0000:00:00.0: save config 0x38: 0x00000000
[ 1.914844] pcieport 0000:00:00.0: save config 0x3c: 0x00020180
[ 1.921561] mtk_hsdma 1b007000.dma-controller: MediaTek HSDMA driver registered
[ 1.929480] clk: Disabling unused clocks
[ 1.973285] VFS: Mounted root (squashfs filesystem) readonly on device 31:10.
[ 1.980696] Freeing unused kernel memory: 448K
[ 1.985467] Run /sbin/init as init process
[ 1.989608] with arguments:
[ 1.992616] /sbin/init
[ 1.995375] with environment:
[ 1.998600] HOME=/
[ 2.001001] TERM=linux
[ 2.003755] ubootver=
[ 2.006415] ubntbootid=0
[ 3.569161] init: Console is alive
[ 3.572729] init: - watchdog -
[ 6.575599] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 6.742444] gpio_button_hotplug: loading out-of-tree module taints kernel.
[ 6.752451] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 6.769976] init: - preinit -
[ 9.038458] mtk_soc_eth 1b100000.ethernet eth0: PHY [mdio-bus:08] driver [Aquantia AQR112C] (irq=POLL)
[ 9.050512] mtk_soc_eth 1b100000.ethernet eth0: configuring for phy/2500base-x link mode
[ 13.274174] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 13.328300] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[ 13.335859] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[ 13.347701] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 13.612214] procd: - early -
[ 13.615265] procd: - watchdog -
[ 14.301738] procd: - watchdog -
[ 14.306140] procd: - ubus -
[ 14.471019] procd: - init -
[ 15.406192] kmodloader: loading kernel modules from /etc/modules.d/*
[ 15.581113] Loading modules backported from Linux version v6.12.6-0-ge9d65b48ce1a
[ 15.588736] Backport generated by backports.git v6.1.110-1-35-g410656ef04d2
[ 15.616390] urngd: v1.0.2 started.
[ 15.846664] mt7622-wmac 18000000.wmac: registering led 'mt76-phy0'
[ 15.953877] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 15.971558] mt7915e 0000:01:00.0: assign IRQ: got 128
[ 15.976785] mt7915e 0000:01:00.0: enabling device (0000 -> 0002)
[ 15.982916] mt7915e 0000:01:00.0: enabling bus mastering
[ 16.103613] mtk-pcie 1a143000.pcie: msi#0 address_hi 0x0 address_lo 0x44f450c0
[ 16.373589] mt7622-wmac 18000000.wmac: HW/SW Version: 0x8a108a10, Build Time: 20190801210006a
[ 16.373589]
[ 16.383845] mt7915e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20240429200716a
[ 16.383845]
[ 18.381117] mt7622-wmac 18000000.wmac: N9 Firmware Version: _reserved_, Build Time: 20220630094834
[ 18.537327] mt7915e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20240429200752
[ 18.838721] mt7915e 0000:01:00.0: WA Firmware Version: DEV_000000, Build Time: 20240429200812
[ 19.397358] mt7915e 0000:01:00.0: registering led 'mt76-phy1'
[ 19.469292] PPP generic driver version 2.4.2
[ 19.475124] NET: Registered PF_PPPOX protocol family
[ 19.483254] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 33.281936] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 33.299756] jffs2_build_filesystem(): unlocking the mtd device...
[ 33.299775] done.
[ 33.308068] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 33.352857] mtk_soc_eth 1b100000.ethernet eth0: Link is Down
[ 33.374907] mtk_soc_eth 1b100000.ethernet eth0: PHY [mdio-bus:08] driver [Aquantia AQR112C] (irq=POLL)
[ 33.386738] mtk_soc_eth 1b100000.ethernet eth0: configuring for phy/2500base-x link mode
[ 33.424226] br-lan: port 1(eth0) entered blocking state
[ 33.429587] br-lan: port 1(eth0) entered disabled state
[ 33.434930] mtk_soc_eth 1b100000.ethernet eth0: entered allmulticast mode
[ 33.441993] mtk_soc_eth 1b100000.ethernet eth0: entered promiscuous mode
[ 37.614135] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 37.622727] br-lan: port 1(eth0) entered blocking state
[ 37.628015] br-lan: port 1(eth0) entered forwarding state
[ 199.244127] done.
[ 199.246130] jffs2: notice: (1952) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 199.853835] overlayfs: upper fs does not support tmpfile.
[ 199.877912] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.