TP link WPA8631P v4 bricked trying to install 23.05.4 release

Hi community

After successfully flashing 23.05.3 on two WPA8631 devices, I figured I'd upgrade to the latest version. I have some issues with random reboots, in as far as I can tell a OOM error.
I tried to sysupgrade to 23.05.4 from openwrt 23.05.3 with the latest stable sysupgrade version.
Apparently all seemed to go well yet the unit is unaccessible, I can only use failsafe to get into the unit, firstboot doesn't work...

So I loaded the same, newly downloaded version via SCP, after sysupgrade I got into bootloop.....

So that didn't go to well..

I ordered a replacement unit so OEM version, tried flashing factory openwrt 23.05.4, same thing, only failsafe mode possible.

So now I have 2 units not working....

I guess it's time to ask for help on how to proceed.

Unit 1 : in bootloop

I already opened it up and have a working serial connection, uboot seems intact
I have a Screendump available
It fails with 'Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover'

I could use tftp to load a working version ?

Unit 2 : failsafe mode

I can still upload firmware using UTP, unsure on how to proceed, which version ?

So yeah I'd be glad to get some help with this please
Diego

Hi,
Just got one of these devices and see the same issue. It seems that the default image does not have a network setup and is thus unreachable.

Update 23.05.3 seems to work... So, boot to failsafe mode, upload the sysupgrade image for 23.05.3 to /tmp, perform sysupgrade. After a few minutes you can ping 192.168.1.1 and log in as root.

1 Like

Hi Menno

thx for the reply,
I can confirm it works and have successfully flashed stock 23.05.3, followed by uploading backup settings and my (newest) unit is up and running again.

In case of someone else stumbling on this thread :
used rp4 with 192.168.1.2 fixed ip and lan cable to wpa

  1. boot to failsafe fail_safe mode
  2. ssh root@192.168.1.1 (no passwd)
    on failsafe unit :
  3. try to mount_root
    fails as no jiffs2fs not initialized
  4. mtd -r erase rootfs_data
  5. reboot the unit & repeat login
  6. passwd to set any password for root so scp can be used
    on rpi4 (second command window)
  7. scp /path_to_firmware/openwrt-23.05.3... root@192.168.1.1
    back on wpa ssh window
  8. sysupgrade -n /tmp/openwrt...
    I did set up a ping to 192.168.1.1 using the other command window so I could see it come back without entering failsafe mode

I did try to sysupgrade from cli from 23.05.3 to stock 23.05.4 sysupgrade version but this confirmed the initial problem : 23.05.4 can at this time not be flashed on TP-Link WPA8631v4(EU)

So this needs further investigation...
I still have my first unit with serial uboot access only, so after revival to 23.05.3 I'll try to recover that one and try to flash 23.05.4 while watching the serial port, to get some more info

now which version should I pick for that one ? Any suggestions as I really don't want to fry the bootloader
stock 23.05.3 kernel
stock 23.05.3 factory
stock 23.05.3 sysupgrade
fingers crossed

Diego

1 Like

Follow'up reply:

I have succesfully revived the first unit too...
Obviously by opening the case and removing the soc board, soldered a 4 pin header
Hooked it up to rpi4 uart pins + ground
Used a lab psu to provide power to 3.3V pin, common ground with rpi4
note: this little board draws a fair bit of current from about 1,5W in bootloop to 3W and possibly more when up and running. I had a few times where the board freezed up when trying to start wireless, contact resistance definitely matters with these small dupont cables... Impossible to use the rpi4 to provide power to this board!
set up tftpd on rpi4
hit '2' while in bootloop and set it to transfer the openwrt-23.05.3..sysupgrade.bin
board rebooted and I had openwrt 23.05.3 running...

As I was curious to see if the ser ial console gave more insight as to why 23.05.4 won't work i made a sysupgrade from luci (uploaded stock sysupgrade)

That gave this output:

[   27.617506] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Watchdog handover: fd=3
- watchdog -
Watchdog does not have CARDRESET support
Fri Mar 22 22:28:21 UTC 2024 upgrade: Sending TERM to remaining processes ...
Fri Mar 22 22:28:25 UTC 2024 upgrade: Sending KILL to remaining processes ...
[  531.591445] stage2 (2952): drop_caches: 3
Fri Mar 22 22:28:31 UTC 2024 upgrade: Switching to ramdisk...
mount: mounting /dev/mtdblock4 on /overlay failed: Resource busy
[  534.784411] VFS: Busy inodes after unmount of jffs2. Self-destruct in 5 seconds.  Have a nice day...
Fri Mar 22 22:28:34 UTC 2024 upgrade: Performing system upgrade...
[  534.907417] do_stage2 (2952): drop_caches: 3
Unlocking firmware ...

Writing from <stdin> to firmware ...     
Appending jffs2 data from /tmp/sysupgrade.tgz to firmware..
    
Fri Mar 22 22:29:07 UTC 2024 upgrade: Upgrade completed
Fri Mar 22 22:29:08 UTC 2024 upgrade: Rebooting system...
umount: can't unmount /dev: Resource busy
umoun[  568.870143] mt7530-mdio mdio-bus:1f lan1: Link is Down
t: can't unmount[  568.884458] br-lan: port 4(plc0) entered disabled state
 /tmp: Resource [  568.896340] br-lan: port 1(lan1) entered disabled state
busy
[  568.909455] br-lan: port 2(lan2) entered disabled state
[  568.920831] br-lan: port 3(lan3) entered disabled state
[  568.932741] device plc0 left promiscuous mode
[  568.941497] br-lan: port 4(plc0) entered disabled state
[  568.987558] device lan1 left promiscuous mode
[  568.996305] br-lan: port 1(lan1) entered disabled state
[  569.047022] device lan2 left promiscuous mode
[  569.055763] br-lan: port 2(lan2) entered disabled state
[  569.107003] device lan3 left promiscuous mode
[  569.115744] br-lan: port 3(lan3) entered disabled state
[  569.187800] device eth0 left promiscuous mode
[  569.265981] reboot: Restarting system
<snipped uboot loading>
=========TL-WPA8631Pv3 GPIO init in uboot done=========

Please choose the operation: 
   1: Load system code to SDRAM via TFTP. 
   2: Load system code then write to Flash via TFTP. 
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial. 
   9: Load Boot Loader code then write to Flash via TFTP. 
 0 
   
3: System Boot system code via Flash.
(ntohs(targetModel[0]) : 0x0376, ntohs(value[0]) : 0x0376
(ntohs(targetModel[1]) : 0x6376, ntohs(value[1]) : 0x6376
## Booting image at bfc20000 ...
text base: 80001000
entry point: 80001000
   Uncompressing Kernel Image ... OK
No initrd
disable boot_args_len:18 boot_args: test_mode=disable
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 64

Starting kernel ...

[    0.000000] Linux version 5.15.162 (builder@buildhost) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r24012-d8dd03c46f) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Mon Jul 15 22:14:18 2024
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is TP-Link TL-WPA8631P v3
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] percpu: Embedded 12 pages/cpu s17808 r8192 d23152 u49152
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=00000060
[    0.000000] Readback ErrCtl register=00000060
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 54304K/65536K available (7317K kernel code, 628K rwdata, 884K rodata, 1272K init, 225K bss, 11232K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, 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: 256
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000004] sched_clock: 64 bits at 880MHz, resolution 1ns, wraps every 4398046511103ns
[    0.016022] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.088313] pid_max: default: 32768 minimum: 301
[    0.098282] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.112698] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.132029] rcu: Hierarchical SRCU implementation.
[    0.142280] smp: Bringing up secondary CPUs ...
[    0.152069] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.152100] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.152114] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.152163] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.211786] Synchronize counters for CPU 1: done.
[    0.273791] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.273813] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.273825] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.273853] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.332886] Synchronize counters for CPU 2: done.
[    0.393301] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.393323] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.393335] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.393368] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.452469] Synchronize counters for CPU 3: done.
[    0.512071] smp: Brought up 1 node, 4 CPUs
[    0.525394] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.544896] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.558818] pinctrl core: initialized pinctrl subsystem
[    0.570755] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.583210] thermal_sys: Registered thermal governor 'step_wise'
[    0.614567] clocksource: Switched to clocksource GIC
[    0.625814] NET: Registered PF_INET protocol family
[    0.635598] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.650812] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.667360] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.682715] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.697931] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.711922] TCP: Hash tables configured (established 1024 bind 1024)
[    0.724753] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.737660] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.751857] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.763081] PCI: CLS 0 bytes, default 32
[    0.773884] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.792042] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.803589] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.824409] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.843346] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.854873] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.866320] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.877969] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    0.891264] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    0.908730] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0060000000
[    0.924983] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    1.294638] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    1.308412] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    1.318072] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    1.327772] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    1.341917] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    1.354453] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.365325] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.378970] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.391289] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.403178] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.415621] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    1.428121] pci 0000:00:00.0: supports D1
[    1.435995] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.448393] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.460304] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.472703] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    1.485228] pci 0000:00:01.0: supports D1
[    1.493063] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.506491] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.522346] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.538511] pci 0000:01:00.0: [14c3:7603] type 00 class 0x028000
[    1.550396] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    1.562923] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    1.576366] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.586678] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.598747] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    1.612242] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    1.626572] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.640013] pci 0000:02:00.0: [14c3:7663] type 00 class 0x000280
[    1.651904] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.666209] pci 0000:02:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.680542] pci 0000:02:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    1.694997] pci 0000:02:00.0: supports D1 D2
[    1.703331] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.716528] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.747470] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    1.757789] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    1.769851] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff]
[    1.783334] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    1.797695] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.810865] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.823936] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.837762] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    1.850895] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.864733] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    1.878201] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    1.892548] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    1.906019] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x604fffff pref]
[    1.920370] pci 0000:00:00.0: BAR 1: assigned [mem 0x60500000-0x6050ffff]
[    1.933850] pci 0000:00:01.0: BAR 1: assigned [mem 0x60510000-0x6051ffff]
[    1.947320] pci 0000:00:00.0: BAR 7: assigned [io  0x0000-0x0fff]
[    1.959417] pci 0000:00:01.0: BAR 7: assigned [io  0x1000-0x1fff]
[    1.971516] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[    1.985004] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.994845] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    2.006931] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.020418] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    2.034767] pci 0000:02:00.0: BAR 0: assigned [mem 0x60300000-0x603fffff 64bit pref]
[    2.050157] pci 0000:02:00.0: BAR 2: assigned [mem 0x60400000-0x60403fff 64bit pref]
[    2.065531] pci 0000:02:00.0: BAR 4: assigned [mem 0x60404000-0x60404fff 64bit pref]
[    2.080906] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.090740] pci 0000:00:01.0:   bridge window [io  0x1000-0x1fff]
[    2.102844] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    2.116328] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x604fffff pref]
[    2.133493] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    2.151383] printk: console [ttyS0] disabled
[    2.159934] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    2.177869] printk: console [ttyS0] enabled
[    2.177869] printk: console [ttyS0] enabled
[    2.194403] printk: bootconsole [early0] disabled
[    2.194403] printk: bootconsole [early0] disabled
[    2.217268] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    2.229576] spi-nor spi0.0: XM25QH64C (8192 Kbytes)
[    2.239444] 4 fixed-partitions partitions found on MTD device spi0.0
[    2.252185] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    2.266803] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    2.281732] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    2.296398] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    2.311967] Creating 4 MTD partitions on "spi0.0":
[    2.321616] 0x000000000000-0x000000020000 : "u-boot"
[    2.332966] 0x000000020000-0x000000730000 : "firmware"
[    2.344804] 2 tplink-fw partitions found on MTD device firmware
[    2.356658] Creating 2 MTD partitions on "firmware":
[    2.366749] 0x000000000000-0x0000002acf6e : "kernel"
[    2.376663] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[    2.394773] 0x0000002acf6e-0x000000710000 : "rootfs"
[    2.404708] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    2.424042] mtd: setting mtd3 (rootfs) as root device
[    2.434269] 1 squashfs-split partitions found on MTD device rootfs
[    2.446616] 0x0000006a0000-0x000000710000 : "rootfs_data"
[    2.458520] 0x000000730000-0x0000007f0000 : "config"
[    2.469631] 0x0000007f0000-0x000000800000 : "radio"
[    2.617756] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module
[    2.639734] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    2.658352] i2c_dev: i2c /dev entries driver
[    2.670271] NET: Registered PF_INET6 protocol family
[    2.682564] Segment Routing with IPv6
[    2.689993] In-situ OAM (IOAM) with IPv6
[    2.697951] NET: Registered PF_PACKET protocol family
[    2.708137] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.734456] 8021q: 802.1Q VLAN Support v1.8
[    2.749573] gpio-export gpio-export: 1 gpio(s) exported
[    2.760689] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module
[    2.797492] mt7530-mdio mdio-bus:1f: configuring for fixed/rgmii link mode
[    2.812131] mt7530-mdio mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[    2.815416] mt7530-mdio mdio-bus:1f plc0 (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7530 PHY] (irq=23)
[    2.850463] mt7530-mdio mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=24)
[    2.873628] mt7530-mdio mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=26)
[    2.896733] mt7530-mdio mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7530 PHY] (irq=27)
[    2.919585] DSA: tree 0 setup
[    2.926945] clk: Disabling unused clocks
[    2.942217] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    2.960900] Freeing unused kernel image (initmem) memory: 1272K
[    2.972759] This architecture does not have kernel memory protection.
[    2.985613] Run /sbin/init as init process
[    3.504039] init: Console is alive
[    3.511355] init: - watchdog -
[    4.297018] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.366178] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.388244] init: - preinit -
[    5.321298] random: jshn: uninitialized urandom read (4 bytes read)
[    5.453558] random: jshn: uninitialized urandom read (4 bytes read)
[    5.499010] random: jshn: uninitialized urandom read (4 bytes read)
[    5.812592] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    5.833969] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    5.834991] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[    5.865430] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
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
[    8.075685] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[    8.090117] jffs2_build_filesystem(): unlocking the mtd device... 
[    8.090127] done.
[    8.106266] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[    8.564562] random: crng init done
[    8.586243] random: 7 urandom warning(s) missed due to ratelimiting
[    9.298257] done.
[    9.302128] jffs2: notice: (421) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    9.335183] mount_root: overlay filesystem has not been fully initialized yet
[    9.350716] mount_root: switching to jffs2 overlay
[    9.363099] overlayfs: upper fs does not support tmpfile.
- config restore -
[    9.695576] mt7530-mdio mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[    9.711472] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
[    9.816749] urandom-seed: Seed file not found (/etc/urandom.seed)
[    9.924241] mt7530-mdio mdio-bus:1f lan1: Link is Down
[    9.943936] procd: - early -
[    9.950005] procd: - watchdog -
[   10.564720] procd: - watchdog -
[   10.571629] procd: - ubus -
[   10.655705] procd: - init -
Please press Enter to activate this console.
[   11.271463] kmodloader: loading kernel modules from /etc/modules.d/*
[   11.516804] Loading modules backported from Linux version v6.1.97-0-g7753af06eebfb
[   11.531960] Backport generated by backports.git v6.1.97-1-0-g2431d56e
[   11.778320] pci 0000:00:00.0: enabling device (0000 -> 0003)
[   11.789706] mt7603e 0000:01:00.0: can't change power state from D3cold to D0 (config space inaccessible)
[   11.808805] mt7603e 0000:01:00.0: ASIC revision: 0000
[   11.819493] ------------[ cut here ]------------
[   11.828697] WARNING: CPU: 1 PID: 612 at target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2024-04-03-1e336a85/mt7603/eeprom.c:27 0x832e7f00 [mt7603e@572516fd+0x9980]
[   11.857974] Modules linked in: mt7603e(+) mt76_connac_lib mt76 mac80211 cfg80211 slhc nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c hwmon crc_ccitt compat sha512_generic seqiv jitterentropy_rng drbg hmac cmac leds_gpio gpio_button_hotplug crc32c_generic
[   11.911048] CPU: 1 PID: 612 Comm: kmodloader Not tainted 5.15.162 #0
[   11.923696] Stack : 000f0000 832f0000 00000001 80082c6c 00000000 00000000 00000000 00000000
[   11.940353]         00000000 00000000 00000000 00000000 00000000 00000001 83109ad0 80c42ae0
[   11.957006]         83109b68 00000000 00000000 83109978 00000038 803a0384 ffffffea 00000000
[   11.973660]         83109984 000000f5 80820ab0 ffffffff 8073ddf8 83109ab0 00000000 832e7f00
[   11.990311]         00000009 832f0240 000f0000 832f0000 00000018 804127a8 00000004 809e0004
[   12.006966]         ...
[   12.011830] Call Trace:
[   12.011848] [<80082c6c>] 0x80082c6c
[   12.023635] [<803a0384>] 0x803a0384
[   12.030572] [<832e7f00>] 0x832e7f00 [mt7603e@572516fd+0x9980]
[   12.042012] [<804127a8>] 0x804127a8
[   12.048952] [<80007898>] 0x80007898
[   12.055889] [<800078a0>] 0x800078a0
[   12.062823] [<832e7f00>] 0x832e7f00 [mt7603e@572516fd+0x9980]
[   12.074253] [<80384458>] 0x80384458
[   12.081192] [<8002cf34>] 0x8002cf34
[   12.088130] [<832e7f00>] 0x832e7f00 [mt7603e@572516fd+0x9980]
[   12.099567] [<8002d018>] 0x8002d018
[   12.106510] [<832e7f00>] 0x832e7f00 [mt7603e@572516fd+0x9980]
[   12.117957] [<832e1fa8>] 0x832e1fa8 [mt7603e@572516fd+0x9980]
[   12.129398] [<8008b8e4>] 0x8008b8e4
[   12.136335] [<8041ecb4>] 0x8041ecb4
[   12.143275] [<832e0168>] 0x832e0168 [mt7603e@572516fd+0x9980]
[   12.154710] [<803d4f34>] 0x803d4f34
[   12.161656] [<803cbf50>] 0x803cbf50
[   12.168587] [<803cb540>] 0x803cb540
[   12.175526] [<804258e4>] 0x804258e4
[   12.182457] [<8025349c>] 0x8025349c
[   12.189390] [<80425e18>] 0x80425e18
[   12.196335] [<804265a8>] 0x804265a8
[   12.203273] [<804264fc>] 0x804264fc
[   12.210202] [<804232d8>] 0x804232d8
[   12.217143] [<80424ab8>] 0x80424ab8
[   12.224081] [<80426f10>] 0x80426f10
[   12.231010] [<8018cdb4>] 0x8018cdb4
[   12.237951] [<832ef048>] 0x832ef048 [mt7603e@572516fd+0x9980]
[   12.249391] [<832ef000>] 0x832ef000 [mt7603e@572516fd+0x9980]
[   12.260829] [<8000157c>] 0x8000157c
[   12.267770] [<800c4758>] 0x800c4758
[   12.274707] [<802b6f58>] 0x802b6f58
[   12.281646] [<800c25f4>] 0x800c25f4
[   12.288578] [<800c482c>] 0x800c482c
[   12.295526] [<8001356c>] 0x8001356c
[   12.302473] 
[   12.305458] ---[ end trace f169a4467a2ae002 ]---
[   12.498582] urngd: v1.0.2 started.
[   14.360106] mt7603e 0000:01:00.0: Firmware Version: _e1_drv_tv
[   14.371903] mt7603e 0000:01:00.0: Build Time: 20140313215548
[   15.404767] mt7603e 0000:01:00.0: Timeout waiting for ROM code to become ready
[   15.419263] mt7603e: probe of 0000:01:00.0 failed with error -5
[   15.438319] pci 0000:00:01.0: enabling device (0000 -> 0003)
[   15.449691] mt7615e 0000:02:00.0: can't change power state from D3cold to D0 (config space inaccessible)
[   15.468662] mt7615e 0000:02:00.0: disabling ASPM L0s L1
[   15.487652] ------------[ cut here ]------------
[   15.496872] WARNING: CPU: 1 PID: 612 at target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2024-04-03-1e336a85/mt7615/eeprom.c:31 0x838c81d8 [mt7615_common@73f937a8+0x107c0]
[   15.527365] Modules linked in: mt7615e(+) mt7615_common mt7603e mt76_connac_lib mt76 mac80211 cfg80211 slhc nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c hwmon crc_ccitt compat sha512_generic seqiv jitterentropy_rng drbg hmac cmac leds_gpio gpio_button_hotplug crc32c_generic
[   15.584265] CPU: 1 PID: 612 Comm: kmodloader Tainted: G        W         5.15.162 #0
[   15.599678] Stack : 000a1000 00000400 fc00ff3f 80082c6c 00000000 00000000 00000000 00000000
[   15.616331]         00000000 00000000 00000000 00000000 00000000 00000001 83109b18 80c42ae0
[   15.632977]         83109bb0 00000000 00000000 831099c0 00000038 803a0384 ffffffea 00000000
[   15.649624]         831099cc 0000012e 80820ab0 ffffffff 8073ddf8 83109af8 00000000 838c81d8
[   15.666274]         00000009 000a1040 000a1000 00000400 00000018 804127a8 00000004 809e0004
[   15.682919]         ...
[   15.687778] Call Trace:
[   15.687791] [<80082c6c>] 0x80082c6c
[   15.699581] [<803a0384>] 0x803a0384
[   15.706515] [<838c81d8>] 0x838c81d8 [mt7615_common@73f937a8+0x107c0]
[   15.719159] [<804127a8>] 0x804127a8
[   15.726091] [<80007898>] 0x80007898
[   15.733021] [<800078a0>] 0x800078a0
[   15.739949] [<838c81d8>] 0x838c81d8 [mt7615_common@73f937a8+0x107c0]
[   15.752594] [<80384458>] 0x80384458
[   15.759526] [<8002cf34>] 0x8002cf34
[   15.766459] [<838c81d8>] 0x838c81d8 [mt7615_common@73f937a8+0x107c0]
[   15.779100] [<8002d018>] 0x8002d018
[   15.786034] [<838c7ea8>] 0x838c7ea8 [mt7615_common@73f937a8+0x107c0]
[   15.798681] [<838c81d8>] 0x838c81d8 [mt7615_common@73f937a8+0x107c0]
[   15.811324] [<838c3f94>] 0x838c3f94 [mt7615_common@73f937a8+0x107c0]
[   15.823969] [<831d4288>] 0x831d4288 [mt7615e@f2a0121d+0x2680]
[   15.835405] [<831d60e4>] 0x831d60e4 [mt7615e@f2a0121d+0x2680]
[   15.846843] [<831d40f0>] 0x831d40f0 [mt7615e@f2a0121d+0x2680]
[   15.858275] [<803cbf50>] 0x803cbf50
[   15.865205] [<803cb540>] 0x803cb540
[   15.872135] [<804258e4>] 0x804258e4
[   15.879064] [<8025349c>] 0x8025349c
[   15.885995] [<8018a1ec>] 0x8018a1ec
[   15.892929] [<80425e18>] 0x80425e18
[   15.899861] [<804265a8>] 0x804265a8
[   15.906793] [<804264fc>] 0x804264fc
[   15.913721] [<804232d8>] 0x804232d8
[   15.920653] [<80424ab8>] 0x80424ab8
[   15.927584] [<800c42f4>] 0x800c42f4
[   15.934521] [<80426f10>] 0x80426f10
[   15.941460] [<831d7000>] 0x831d7000 [mt7615e@f2a0121d+0x2680]
[   15.952889] [<831d7000>] 0x831d7000 [mt7615e@f2a0121d+0x2680]
[   15.964318] [<8000157c>] 0x8000157c
[   15.971260] [<800c25f4>] 0x800c25f4
[   15.978193] [<800c482c>] 0x800c482c
[   15.985136] [<8001356c>] 0x8001356c
[   15.992084] 
[   15.995067] ---[ end trace f169a4467a2ae003 ]---
[   16.007790] mt7615e 0000:02:00.0: registering led 'mt76-phy1'
[   16.026450] mt7615e 0000:02:00.0: Firmware is not ready for download
[   16.081357] PPP generic driver version 2.4.2
[   16.091833] NET: Registered PF_PPPOX protocol family
[   16.111541] kmodloader: done loading kernel modules from /etc/modules.d/*
[   38.630685] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   39.089016] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   39.105005] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   39.109585] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[   39.137210] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   39.150607] br-lan: port 1(lan1) entered blocking state
[   39.161179] br-lan: port 1(lan1) entered disabled state
[   39.173225] device lan1 entered promiscuous mode
[   39.182600] device eth0 entered promiscuous mode
[   39.219605] mt7530-mdio mdio-bus:1f lan2: configuring for phy/gmii link mode
[   39.237335] br-lan: port 2(lan2) entered blocking state
[   39.247871] br-lan: port 2(lan2) entered disabled state
[   39.261544] device lan2 entered promiscuous mode
[   39.285870] mt7530-mdio mdio-bus:1f lan3: configuring for phy/gmii link mode
[   39.302473] br-lan: port 3(lan3) entered blocking state
[   39.313180] br-lan: port 3(lan3) entered disabled state
[   39.327821] device lan3 entered promiscuous mode
[   39.351074] mt7530-mdio mdio-bus:1f plc0: configuring for phy/gmii link mode
[   39.367407] br-lan: port 4(plc0) entered blocking state
[   39.377944] br-lan: port 4(plc0) entered disabled state
[   39.391574] device plc0 entered promiscuous mode
[   42.187277] mt7530-mdio mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   42.264650] br-lan: port 1(lan1) entered blocking state
[   42.275182] br-lan: port 1(lan1) entered forwarding state
[   42.286778] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   99.038482] mt7530-mdio mdio-bus:1f lan1: Link is Down
[   99.315504] br-lan: port 1(lan1) entered disabled state
[  103.534086] mt7530-mdio mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[  103.549971] br-lan: port 1(lan1) entered blocking state
[  103.560427] br-lan: port 1(lan1) entered forwarding state



The lanport is active but doesn't configure/dhcp seems off. I tried with static 0.2 or 1.2 addresses but couldn't reach the unit.

I'll leave it on the bench if somebody needs more info/wants to try more things. I believe @jwmullally was a dev who has worked on this..

i hope it's possible to get things running on later versions otherwise (security)upgrades won't be available.

Diego

Have you tried 23.05.5 already? I'm getting a new device today, to extend the network and may give that version a go before 23.05.3 again.

Yes, tried it.
Both vanilla sysupgrade from 23.05.3 and custom build..

Same problem, only safe mode accessible...

Bummer

I did post in the release thread that these didn't work.

IDK if there is a dev that has interest in this.. I have no clue what has changed between 23.05.3 and later versions..

OK, thanks... The device arrived today, so I'm sticking with 23.05.3 with that one, too.

Thanks for the boot log. Looks like the same issue as reported recently here.

It might be some change involving ramips mt7621 PCI between v23.05.3 and v23.05.4. We can use git bisect to find the specific change in a few hours, but I wont have access to a test device to try this for a few weeks.

Since v23.05.5 has just been released, it might already fix the problem. @Alien8ions or @Craftsman5360 if it is convenient for either of ye, could ye give v23.05.5 a test? Hopefully the issue is already fixed :crossed_fingers:

Hi Joe
Thx for your reply
I already tried but alas same result...

Posted in 23.05.5 release thread

I have some difficulty getting a proper serial output as these devices are quite a power hog and so they freeze because of voltage drops...

I'll see if I can get some better results next week, work gets in the way

Diego

Joe,

Is there anything I can do to help ?

I'd like to be of assistance but I'm no expert...

I still have a unit that can be used for testing...